Box body foreign matter invasion detection method, system and equipment and storage medium

By setting up infrared sensors with mesh layout in the convenience cabinet box to analyze the ray status information, the problems of low detection accuracy and high cost in the prior art are solved, and high accuracy and low cost detection of foreign matter intrusion in the box are achieved.

CN120220302APending Publication Date: 2025-06-27广州浩安智能科技有限公司
View PDF 17 Cites 0 Cited by

Patent Information

Application Number
CN202510568612.9
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-04-30
Publication Date
2025-06-27

AI Technical Summary

Technical Problem

When the prior art detects whether there is an invasion of animals in the convenience cabinet box, the accuracy is low and the cost is high, so it cannot effectively cover the detection space in the box.

Method used

By setting up an infrared sensor with a mesh layout in the box, the current mesh ray data is generated and the data is analyzed to determine the ray status information. If the status information is complete, it is determined that there are no foreign objects in the box; if it is blocking and cutting, it is determined that there are foreign objects in the box, and several mesh ray data are obtained according to the preset time period, and analysis is made to determine the foreign object type and perform the corresponding operation.

Benefits of technology

It improves detection accuracy, reduces implementation costs, can effectively cover the detection space in the box, and ensures accurate judgment and treatment of foreign objects in the box.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120220302A_ABST
    Figure CN120220302A_ABST
Patent Text Reader

Abstract

The invention discloses a box body foreign matter invasion detection method and system, electronic equipment and a storage medium, and the method comprises the steps: generating current net-shaped ray data through a net-shaped infrared sensor disposed in a box body, carrying out the analysis of the obtained current net-shaped ray data, and determining the ray state information; if the determined ray state information is complete, determining that no foreign matter exists in the box body; if the ray state information is determined to be blocked or cut off, it is determined that foreign matter exists in the box body, a plurality of pieces of net-shaped ray data are obtained according to a preset time period, the obtained net-shaped ray data are analyzed to determine the type of the foreign matter existing in the box body, and corresponding operation is executed; according to the embodiment of the invention, the reticular ray data is acquired by arranging the reticular infrared sensor, the existence and the type of the foreign matter are analyzed and determined based on the reticular ray data, the detection accuracy can be improved, the implementation cost can be reduced, and the method and the device can be widely applied to the technical field of detection.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of detection technologies, and particularly to a detection method, system, device and storage medium for foreign object intrusion. Background Art

[0002] To improve the convenience of residents' lives, more and more convenience cabinets are put into use. Each convenience cabinet is provided with multiple boxes for temporarily storing items. However, in actual applications, there are situations where the box doors of the convenience cabinet boxes are not closed, and there are many animals in the residential area that may get into the boxes, and the box doors are closed accidentally, resulting in the animals being trapped in the boxes. Animals trapped in the boxes may damage the boxes, and even if trapped for too long, it may pose a threat to the lives of the animals, thereby affecting the user experience. The existing technology detects the boxes by setting cameras, or weight sensors or temperature sensors to determine whether there is an animal intrusion into the boxes. However, setting up cameras is too costly, and the sensors cannot detect the entire space inside the box, with low accuracy and high cost for arranging the sensors. Summary of the Invention

[0003] The main purpose of the embodiments of the present invention is to provide a detection method, system, electronic device and storage medium for foreign object intrusion into a box, which can improve the detection accuracy and reduce the implementation cost.

[0004] To achieve the above object, on the one hand, an embodiment of the present invention provides a detection method for foreign object intrusion into a box, the method comprising:

[0005] Obtain current mesh ray data, and analyze the current mesh ray data to determine ray state information; wherein, the current mesh ray data is generated by a mesh layout infrared sensor inside the box.

[0006] If the ray state information is complete, determine that there is no foreign object in the box;

[0007] If the ray state information is blocked and cut off, determine that there is a foreign object in the box, obtain a plurality of mesh ray data according to a preset time period, analyze the plurality of mesh ray data, and perform corresponding operations.

[0008] In some embodiments, the analyzing the plurality of mesh ray data and performing corresponding operations specifically includes:

[0009] Continuously compare the plurality of mesh ray data to determine a data fluctuation value, and determine the foreign object type according to the data fluctuation value and a preset fluctuation threshold;

[0010] If the foreign object type is a non-animal object, perform a polling operation on the current mesh ray data according to a preset period;

[0011] If the foreign object type is an animal object, generate an exception work order according to the animal object and send the exception work order to the responsible person so that the responsible person can process the animal object according to the exception work order.

[0012] In some embodiments, determining the foreign object type according to the data fluctuation value and the preset fluctuation threshold specifically includes:

[0013] Compare the data fluctuation value with the preset fluctuation threshold;

[0014] If the data fluctuation value is less than the preset fluctuation threshold, determine that the foreign object type is a non-animal object;

[0015] If the data fluctuation value is greater than or equal to the preset fluctuation threshold, determine that the foreign object type is an animal object.

[0016] In some embodiments, the method further includes:

[0017] Obtain processing feedback information, analyze the processing feedback information, and determine the processing result;

[0018] If the processing result is not completed, upgrade the exception level of the exception work order, send the upgraded exception work order to the responsible person, and generate a prompt message;

[0019] If the processing result is processing completed, end the current detection cycle.

[0020] In some embodiments, the method further includes:

[0021] Detect the current mesh ray data according to the received box door opening signal to determine the ray status information;

[0022] If the ray status information is occlusion cut-off, perform a time delay according to the preset time, and detect the current mesh ray data to determine the ray status information;

[0023] If the ray status information is complete, detect the current box door switch information and perform corresponding operations according to the current box door switch information.

[0024] In some embodiments, performing corresponding operations according to the current box door switch information specifically includes:

[0025] Analyze the current box door switch information to determine the current box door status;

[0026] If the current box door status is box door closed, end the current service, and return to execute obtaining the current mesh ray data and analyzing the current mesh ray data to determine the ray status information;

[0027] If the current state of the box door is that the box door is open, perform voice broadcast according to the preset voice information, and perform polling operation on the current box door switch information according to the preset period to determine the box door information.

[0028] In some embodiments, the method further includes:

[0029] Analyze the box door information to determine the box door closed state;

[0030] If the box door closed state is not closed, return to execute obtaining a plurality of mesh ray data according to the preset time period, analyzing the plurality of mesh ray data, and performing corresponding operations;

[0031] If the box door closed state is closed, return to execute obtaining the current mesh ray data, and analyzing the current mesh ray data to determine the ray state information.

[0032] To achieve the above object, another aspect of the embodiments of the present invention provides a detection system for foreign object intrusion into a box, including:

[0033] A first module, configured to obtain current mesh ray data, and analyze the current mesh ray data to determine ray state information; wherein, the current mesh ray data is generated by a mesh layout infrared sensor inside the box;

[0034] A second module, configured to determine that there is no foreign object in the box if the ray state information is complete;

[0035] A third module, configured to determine that there is a foreign object in the box if the ray state information is blocked and cut off, obtain a plurality of mesh ray data according to a preset time period, analyze the plurality of mesh ray data, and perform corresponding operations.

[0036] To achieve the above object, another aspect of the embodiments of the present application proposes an electronic device, the electronic device includes a memory and a processor, the memory stores a computer program, and when the processor executes the computer program, the foregoing method is implemented.

[0037] To achieve the above object, another aspect of the embodiments of the present application proposes a computer-readable storage medium, the computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the foregoing method is implemented.

[0038] Implementing the embodiments of the present invention includes the following beneficial effects: The embodiments of the present invention provide a method, system, electronic device, and storage medium for detecting foreign object intrusion into a box. This solution generates current mesh ray data through an infrared sensor with a mesh layout set inside the box, analyzes the obtained current mesh ray data to determine ray status information; if the determined ray status information is complete, it is determined that there is no foreign object inside the box; if the determined ray status information is blocked or cut off, it is determined that there is a foreign object inside the box, and several mesh ray data are obtained according to a preset time period, and by analyzing the obtained several mesh ray data, the type of the foreign object existing inside the box is determined, and corresponding operations are performed; by setting an infrared sensor with a mesh layout inside the box, the implementation cost is reduced, and at the same time, the detection space inside the box is covered, improving the detection accuracy; by analyzing the mesh ray data, it is judged whether there is a foreign object inside the box, and further, several mesh ray data within a certain time period are collected and analyzed, thereby improving the detection accuracy. BRIEF DESCRIPTION OF THE DRAWINGS

[0039] Figure 1 is a schematic flowchart of the steps of a method for detecting foreign object intrusion into a box provided by an embodiment of the present invention;

[0040] Figure 2 is a schematic flowchart of the steps of analyzing several mesh ray data in a method for detecting foreign object intrusion into a box provided by an embodiment of the present invention;

[0041] Figure 3 is a schematic flowchart of the steps of determining the type of foreign object in a method for detecting foreign object intrusion into a box provided by an embodiment of the present invention;

[0042] Figure 4 is a schematic flowchart of the steps of processing feedback information in a method for detecting foreign object intrusion into a box provided by an embodiment of the present invention;

[0043] Figure 5 is a schematic flowchart of the steps of processing detected mesh ray data in a method for detecting foreign object intrusion into a box provided by an embodiment of the present invention;

[0044] Figure 6 is a schematic flowchart of the steps of processing according to the box door switch information in a method for detecting foreign object intrusion into a box provided by an embodiment of the present invention;

[0045] Figure 7 is a schematic flowchart of the steps of another processing according to the box door switch information in a method for detecting foreign object intrusion into a box provided by an embodiment of the present invention;

[0046] Figures 8(a) to 8(f) is a schematic structural diagram of an intelligent cabinet in a specific embodiment provided by an embodiment of the present invention;

[0047] Figure 9 is a structural block diagram of a detection system in a specific embodiment provided by an embodiment of the present invention;

[0048] Figure 10 is a schematic diagram of the steps of a specific embodiment provided by an embodiment of the present invention;

[0049] Figure 11 is a structural block diagram of a detection system for foreign object intrusion into a box provided by an embodiment of the present invention;

[0050] Figure 12 is a schematic diagram of the hardware structure of an electronic device provided by an embodiment of the present invention. Detailed implementation manners

[0051] The present invention will be further described in detail below with reference to the accompanying drawings and specific embodiments. For the step numbers in the following embodiments, they are only set for the convenience of explanation and illustration, and no limitation is imposed on the order between the steps. The execution order of each step in the embodiments can be adaptively adjusted according to the understanding of those skilled in the art.

[0052] In the following description, "some embodiments" are involved, which describe a subset of all possible embodiments. However, it can be understood that "some embodiments" can be the same subset or different subsets of all possible embodiments, and can be combined with each other without conflict.

[0053] In the following description, the terms "first / second / third" only distinguish similar objects and do not represent a specific order for the objects. It can be understood that "first / second / third" can be interchanged with a specific order or sequence when allowed, so that the embodiments of the present invention described here can be implemented in an order other than that illustrated or described here.

[0054] Unless otherwise defined, all technical and scientific terms used in the embodiments of the present invention have the same meaning as commonly understood by those skilled in the technical field to which the present invention belongs. The terms used in the embodiments of the present invention are only for the purpose of describing the embodiments of the present invention and are not intended to limit the present invention.

[0055] Figure 1 is an optional flowchart of a method for detecting foreign object intrusion into a box provided by an embodiment of the present invention, Figure 1 The method in may include but is not limited to steps S101 to S103.

[0056] Step S101, obtain current mesh ray data, and analyze the current mesh ray data to determine ray state information; wherein, the current mesh ray data is generated by a mesh layout infrared sensor inside the box;

[0057] In step S102, if the ray status information is complete, it is determined that there is no foreign object in the box;

[0058] In step S103, if the ray status information is blocked and cut off, it is determined that there is a foreign object in the box. Obtain a number of mesh ray data according to a preset time period, analyze the number of mesh ray data, and perform corresponding operations.

[0059] Steps S101 to S103 illustrated in the embodiments of the present application, by setting an infrared device with a mesh layout in the box that needs to detect foreign object intrusion, including an infrared transmitter and an infrared receiver; the infrared device uses frequency modulation and filtering technologies to construct a mesh infrared ray inside the box for object detection in the space inside the box; the infrared device is connected to a single-channel control board, and the control board controls the infrared device to emit infrared rays to construct a mesh infrared ray, and collect and analyze the mesh infrared data in real time; the single-channel control board is connected to the terminal upper computer software, uploads the result of real-time analysis to the terminal upper computer, and then the upper computer uploads it to the server, and the server performs unified management and task allocation; the entire detection system detects the mesh infrared ray in real time to determine whether there is a situation of blockage and cut-off; if the system detects that the mesh infrared ray is complete, the system determines that there is no object in the box, and the system can keep detecting the mesh infrared ray in real time, or adopt a timed polling method to periodically detect whether there is a foreign object in the box; if the system detects that the mesh infrared ray is blocked and cut off, it is determined that there is an object in the space inside the box and the object is identified as a foreign object; then, the system obtains a number of consecutive mesh infrared data within a period of time, for example, within 1 minute, the current mesh infrared data is obtained once every 1 second; then, further analyze the number of mesh infrared data obtained to determine the type of foreign object in the box, and take corresponding treatment measures according to the determined foreign object type.

[0060] In step S101 of some embodiments, the system can detect the mesh ray data in real time. It can also adopt a timed polling method to set a certain query period to collect and analyze the mesh ray data, and it is not limited to this.

[0061] Please refer to Figure 2 , in some embodiments, step S103 may include but is not limited to steps S201 to S203:

[0062] In step S201, continuously compare a number of mesh ray data, determine the data fluctuation value, and determine the foreign object type according to the data fluctuation value and the preset fluctuation threshold;

[0063] In step S202, if the foreign object type is a non-animal object, perform a polling operation on the current mesh ray data according to a preset period;

[0064] Step S203: If the foreign object type is an animal object, generate an exception work order based on the animal object and send the exception work order to the responsible personnel so that the responsible personnel can process the animal object according to the exception work order.

[0065] In step S201 of some embodiments, the system determines that there is a foreign object in the box by real-time detecting the reticular ray data, and collects several reticular ray data within a certain period of time for further analysis; the system continuously compares the several collected reticular ray data, calculates the data fluctuation value of the reticular ray data within this time period to reflect the fluctuation situation of the reticular ray data within this time period; then analyzes the calculated data fluctuation value with the fluctuation threshold preset in the system to further determine the type of the foreign object in the box; in this embodiment, the fluctuation threshold can be adjusted and set according to the possible types of foreign objects in the box.

[0066] In step S202 of some embodiments, the system determines through analysis that the foreign object in the box is a non-animal object, such as a logistics express item or the user's daily necessities, etc., and further determines that the box cabinet is in use. The system maintains the current state without further processing, only keeps real-time detecting the reticular ray data in the box cabinet, or performs timed polling on the reticular ray data of the box cabinet according to the preset detection period to update the situation of the box cabinet in real time.

[0067] In step S203 of some embodiments, if the system determines through analysis that the foreign object in the box is of animal type and infers that an animal is suspected to have entered the box cabinet, the control board in the system uploads the several collected reticular ray data to the terminal host computer in the system, and then the terminal host computer uploads the received several reticular ray data to the server in the cloud; the server processes according to the received several reticular ray data, generates an exception situation work order, and sends the generated work order data to the corresponding responsible personnel, such as the regional management personnel; after receiving the work order data, the responsible personnel go to the corresponding box cabinet to confirm and process according to the work order data and feedback the result.

[0068] Please refer to Figure 3 , in some embodiments, step S201 may include but is not limited to steps S301 to S303:

[0069] Step S301: Compare the data fluctuation value with the preset fluctuation threshold;

[0070] Step S302: If the data fluctuation value is less than the preset fluctuation threshold, determine that the foreign object type is a non-animal object;

[0071] Step S303: If the data fluctuation value is greater than or equal to the preset fluctuation threshold, determine that the foreign object type is an animal object.

[0072] In step S301 of some embodiments, the system calculates the data fluctuation value of a number of reticular ray data within a period of time, compares the obtained data fluctuation value with the preset fluctuation threshold of the system, and then determines the type of foreign object in the box.

[0073] In step S302 of some embodiments, if the calculated data fluctuation value is less than the preset fluctuation threshold, it indicates that a foreign object has entered the box cabinet during this time period, resulting in the occlusion and interruption of the reticular ray data. However, the fluctuation of the reticular ray data occluded and interrupted caused by the foreign object entering the box cabinet is relatively small. For example, the foreign object remains stationary or has a small range of movement after entering the box cabinet. The system can infer that the foreign object in the box is a non-animal object.

[0074] In step S303 of some embodiments, if the calculated data fluctuation value is greater than or equal to the set fluctuation threshold, it indicates that a foreign object has entered the box cabinet during this time period, resulting in the occlusion and interruption of the reticular ray data, and the foreign object has caused a large fluctuation in the reticular ray data after entering the box cabinet. For example, the foreign object moves extensively in the box after entering the box cabinet. The system can infer that the foreign object in the box is an animal object.

[0075] Please refer to Figure 4 , in some embodiments, step S103 may further include but is not limited to steps S401 to S403:

[0076] Step S401, obtain the processing feedback information, analyze the processing feedback information, and determine the processing result;

[0077] Step S402, if the processing result is not completed, upgrade the exception level of the exception work order, send the upgraded exception work order to the responsible person, and generate a prompt message;

[0078] Step S403, if the processing result is completed, end the current detection cycle.

[0079] In step S401 of some embodiments, the system generates an exception work order through the cloud server and issues the exception work order to the corresponding responsible person; the system regularly obtains the processing feedback information of the responsible person and analyzes the obtained processing feedback information to determine whether the responsible person has received the issued exception work order and whether the processing of the exception has been completed.

[0080] In step S402 of some embodiments, if the system determines that the responsible person has not received the issued exception work order or has not completed the processing of the exception, the system determines that the processing result of the exception work order is not processed in time; in order to improve the processing efficiency of the exception, the system raises the exception level of the exception work order and re-issues it to the responsible person to prompt the responsible person to process it in time.

[0081] In step S403 of some embodiments, if the system determines that the person in charge has received the issued abnormal situation work order and processed it in a timely manner, the system determines that the processing result of the abnormal situation work order is processed, ends the current detection cycle, enters the next detection cycle, and continuously monitors the situation inside the box.

[0082] Please refer to Figure 5 , in some embodiments, a detection method for foreign object intrusion into a box provided by an embodiment of the present invention may further include but is not limited to steps S501 to S503:

[0083] Step S501, detecting the current mesh ray data according to the received box door opening signal to determine the ray status information;

[0084] Step S502, if the ray status information is blocked and cut off, perform a delay according to a preset time, and detect the current mesh ray data to determine the ray status information;

[0085] Step S503, if the ray status information is complete, detect the current box door switch information and perform corresponding operations according to the current box door switch information.

[0086] In step S501 of some embodiments, the system detects whether the box door is opened by setting an analog switch. The system receives and analyzes the data uploaded by the analog switch. After determining that the box door is opened, the system initiates a query, and the control board detects the current mesh ray data according to the query initiated by the system to determine whether the current mesh ray data is blocked and cut off, thereby judging the situation after the box door is opened.

[0087] In step S502 of some embodiments, if the system determines that the current mesh ray data is blocked and cut off, the system can determine that the user is using the box cabinet and opening the box door to take out the stored items; the system delays for a period of time to wait for the user to complete taking the items; after the delay is completed, the system re-detects the current mesh ray data to determine whether it is blocked and cut off; if the current mesh ray data is still blocked and cut off, the system determines that the user is still taking the items, so the system delays again.

[0088] In step S503 of some embodiments, if the system detects that the current mesh ray data is complete, that is, there is no situation of being blocked and cut off, the system determines that the items in the box cabinet have been taken out. The system detects the analog switch to determine the switch information of the box door to determine whether the box door is closed, and then determines the corresponding processing strategy.

[0089] Please refer to Figure 6 , in some embodiments, step S503 may include but is not limited to steps S601 to S603:

[0090] Step S601: Analyze the current cabinet door switch information to determine the current cabinet door status.

[0091] Step S602: If the current cabinet door status is that the cabinet door is closed, end the current service, and return to execute obtaining the current mesh ray data and analyzing the current mesh ray data to determine the ray status information.

[0092] Step S603: If the current cabinet door status is that the cabinet door is open, perform voice broadcast according to the preset voice information, and perform polling operation on the current cabinet door switch information according to the preset period to determine the cabinet door information.

[0093] In step S601 of some embodiments, the system detects the switch state of the cabinet door after the user removes an item according to the set analog switch, and takes corresponding processing measures according to the switch state of the cabinet door to reduce the risk of animals entering the cabinet.

[0094] In step S602 of some embodiments, if the system determines that the current cabinet door is closed through the analog switch, it can stop the voice broadcast and end the current service, that is, the user's item-taking service; then, the system uses a timed polling method to detect the mesh ray data in the cabinet and analyzes the detected mesh ray data to determine whether there is a foreign object in the cabinet.

[0095] In step S603 of some embodiments, if the system determines that the current cabinet door is open through the analog switch, it performs voice broadcast according to the preset voice information in the system to remind the user to close the cabinet door to prevent animals from entering the cabinet; then, the system takes a polling method to detect whether the cabinet door is closed and judges the situation inside the cabinet according to the polling result.

[0096] Please refer to Figure 7 In some embodiments, step S503 may further include but is not limited to steps S701 to S703:

[0097] Step S701: Analyze the cabinet door information to determine the cabinet door closed state.

[0098] Step S702: If the cabinet door closed state is not closed, return to execute obtaining several mesh ray data according to the preset time period, analyzing the several mesh ray data, and performing corresponding operations.

[0099] Step S703: If the cabinet door closed state is closed, return to execute obtaining the current mesh ray data and analyzing the current mesh ray data to determine the ray status information.

[0100] In step S701 of some embodiments, if the system detects the current state of the cabinet door through the polling method, judges whether the cabinet door is closed, and then detects the situation inside the cabinet and takes corresponding processing measures.

[0101] In step S702 of some embodiments, if the system determines through the analog switch that the cabinet door is not closed, there is a risk of foreign objects entering the cabinet; therefore, the system collects a number of mesh ray data inside the cabinet within a certain period of time for analysis to determine whether foreign objects have entered the cabinet and to judge the type of the foreign objects, such as animals like cats and dogs.

[0102] In step S703 of some embodiments, if the system determines through the analog switch that the cabinet door has been closed, the risk of foreign objects entering the cabinet is relatively low at this time; however, during the period when the user takes away the items, affected by the interference of the items inside the cabinet and the opening state of the cabinet door at this time, the system cannot judge whether foreign objects have entered the cabinet during this time period; therefore, after determining that the cabinet door is closed, the system actively detects the current mesh ray data inside the cabinet to judge whether there is an occlusion cut-off situation to determine whether foreign objects have entered the cabinet.

[0103] Next, in combination with specific application examples, the solutions of the embodiments of the present invention will be introduced and described in detail:

[0104] Please refer to Figures 8(a) to 8(f) , Figures 8(a) to 8(f) , which is a set of structural schematic diagrams of an intelligent cabinet applying a detection method for foreign object intrusion into a box body provided by the embodiments of the present invention. Among them, Fig. 8(a) is an axonometric drawing at a 45-degree angle on the left side, Fig. 8(b) is an axonometric drawing at a 45-degree angle on the right side, Fig. 8(c) is a left view, Fig. 8(d) is a right view, Fig. 8(e) is a top view, and Fig. 8(f) is a front view. According to Fig. 8(a) and Fig. 8(b), it can be seen that a mesh infrared ray device is arranged inside the intelligent cabinet. The device is composed of 8 infrared pair tubes. Each infrared pair tube includes an infrared emission board module and an infrared receiving module; the infrared emission board module is arranged at the bottom on one side inside the box, and the infrared receiving module is arranged on the bottom plate of the corresponding side and is at the same level as the infrared emission board module; based on Figures 8(a) to 8(f) the intelligent cabinet, a detection system as shown in Figure 9 is constructed. The mesh infrared ray device in the intelligent cabinet is connected to a control board, and the control board adopts a single-channel control board; the control board uses frequency modulation and filtering technologies to form a mesh infrared ray, that is, the infrared emission board module adopts a frequency modulation infrared emission module, and the infrared receiving module adopts a frequency modulation infrared receiving tube. The infrared emission board module emits a synchronization signal to keep the time aligned; the control board uses a CAN bus communication scheme to communicate with the terminal upper computer software. The terminal upper computer software is connected to a speaker, and the speaker can be arranged on the intelligent cabinet. The terminal upper computer software is connected to a cloud server or a central server through a wireless network or an Ethernet network. The terminal upper computer software uploads abnormal data to the server for unified management; at the same time, an analog switch is arranged at the cabinet door of the intelligent cabinet to detect the opening and closing state of the intelligent cabinet door and feedback the detected cabinet door state to the control board.

[0105] Please refer to Figure 10, the user opens the cabinet door of the smart cabinet. The analog switch detects the opening of the cabinet door and feeds it back to the control board. The control board uploads the status information of the cabinet door opening to the host computer software. After receiving the status information of the cabinet door opening, the host computer software initiates a query operation. The control board detects the status of the mesh infrared rays to determine whether the mesh infrared rays are blocked and cut off; if it is determined that the mesh infrared rays are blocked and cut off, the detection system determines that the user opens the cabinet door to pick up items. The system waits for the user to complete the item picking and repeats the above steps; if it is still determined that the mesh infrared rays are blocked and cut off, it waits for the user to complete the item picking; if it is determined that the mesh infrared rays are not blocked and cut off, the system determines that the items in the smart cabinet have been taken out, and the analog switch is used to detect whether the cabinet door of the smart cabinet is closed; if the system detects that the cabinet door is closed, it ends the current business of the user picking up items and uses a timed polling method to detect the mesh infrared rays in the cabinet to determine whether there are foreign objects in the cabinet compartments of the smart cabinet; if the system detects that the cabinet door is not closed, it uses a speaker to perform voice broadcast to remind the user to close the cabinet door and uses a polling method to detect whether the cabinet door is closed; if the system detects through polling that the cabinet door is not closed, it uses a timed polling method to detect the mesh infrared rays in the cabinet to determine whether there are foreign objects in the cabinet compartments of the smart cabinet. If it is detected that there are no foreign objects in the cabinet compartments, the host computer software ends the current detection; if the system detects through polling that the cabinet door is closed, the control board actively initiates an operation to detect the mesh infrared rays to determine whether the current mesh infrared rays are blocked and cut off; if the control board determines that the current mesh infrared rays are blocked and cut off, or the system uses a timed polling method to detect the mesh infrared rays in the cabinet and determines that there are foreign objects in the cabinet compartments of the smart cabinet, the control board continuously compares the data received in real time to determine whether there are large fluctuations in the mesh infrared ray data; if the system determines that the mesh infrared ray data fluctuates greatly, the system determines that an animal is suspected to have entered the cabinet compartment. The control board sends the detected abnormal data to the terminal host computer software, and then the terminal host computer software automatically reports it to the server; if the system determines that the mesh infrared ray data fluctuates slightly or basically has no fluctuation, it is determined that the foreign object in the cabinet is not an animal, and the system does not perform further processing, but only continuously detects the mesh infrared ray data in a timed polling manner. Then the system ends the current detection cycle and enters the next cycle; the server receives the abnormal data reported by the terminal host computer, processes the abnormal data, generates an abnormal work order, and issues the abnormal work order to notify the relevant area personnel. The work order executor in the relevant area goes to the corresponding cabinet compartment according to the abnormal work order to make a determination and feedback the result; the system determines whether the work order executor has received the work order and whether the corresponding processing has been completed; if the system determines that the work order executor has not received the abnormal work order, or the abnormal work order times out without being processed, the work order is escalated, and the server issues a reminder work order to enable the work order executor to go to confirm and feedback the result; after the system determines that the abnormal work order has been executed, it ends the current detection cycle and enters the next cycle.

[0106] The implementation of the embodiments of the present invention includes the following beneficial effects: The embodiments of the present invention provide a method, a system, an electronic device, and a storage medium for detecting foreign object intrusion into a box. This solution generates current mesh ray data through an infrared sensor with a mesh layout set inside the box, analyzes the obtained current mesh ray data to determine ray status information; if the determined ray status information is complete, it is determined that there is no foreign object inside the box; if the determined ray status information is blocked or cut off, it is determined that there is a foreign object inside the box, and several mesh ray data are obtained according to a preset time period, and the obtained several mesh ray data are analyzed to determine the type of foreign object existing inside the box and perform corresponding operations; by setting an infrared sensor with a mesh layout inside the box, the implementation cost is reduced, and at the same time, the detection space inside the box is covered, improving the detection accuracy; by analyzing the mesh ray data, it is judged whether there is a foreign object inside the box, and further, several mesh ray data within a certain time period are collected and analyzed, thereby improving the detection accuracy.

[0107] As Figure 11 shown, the embodiments of the present invention also provide a system for detecting foreign object intrusion into a box, which can implement the above method for detecting foreign object intrusion into a box. The system includes:

[0108] A first module, configured to obtain current mesh ray data and analyze the current mesh ray data to determine ray status information; wherein, the current mesh ray data is generated by an infrared sensor with a mesh layout inside the box;

[0109] A second module, configured to determine that there is no foreign object inside the box if the ray status information is complete;

[0110] A third module, configured to determine that there is a foreign object inside the box if the ray status information is blocked or cut off, obtain several mesh ray data according to a preset time period, analyze the several mesh ray data, and perform corresponding operations.

[0111] It can be seen that the content in the above method embodiments is applicable to the system embodiments of the present invention. The functions specifically implemented by the system embodiments of the present invention are the same as those of the above method embodiments, and the beneficial effects achieved are also the same as those of the above method embodiments.

[0112] The embodiments of the present application also provide an electronic device. The electronic device includes a memory and a processor. The memory stores a computer program, and when the processor executes the computer program, it implements the above method for detecting foreign object intrusion into a box. The electronic device can be any intelligent terminal including a tablet computer, a vehicle-mounted computer, etc.

[0113] It can be understood that the content in the above method embodiments is applicable to the device embodiments of the present application. The functions specifically implemented by the device embodiments of the present application are the same as those of the above method embodiments, and the beneficial effects achieved are also the same as those of the above method embodiments.

[0114] Please refer to Figure 12 , Figure 12 which schematically shows the hardware structure of an electronic device according to another embodiment. The electronic device includes:

[0115] A processor 1201, which can be implemented in a general-purpose CPU (Central Processing Unit), microprocessor, application-specific integrated circuit (ASIC), or one or more integrated circuits, etc., and is used to execute relevant programs to implement the technical solutions provided by the embodiments of the present application;

[0116] A memory 1202, which can be implemented in the form of a read-only memory (ROM), a static storage device, a dynamic storage device, or a random access memory (RAM), etc. The memory 1202 can store an operating system and other application programs. When implementing the technical solutions provided by the embodiments of this specification through software or firmware, the relevant program codes are stored in the memory 1202 and are called by the processor 1201 to execute a method for detecting foreign objects intrusion in a box body according to an embodiment of the present application;

[0117] An input / output interface 1203, which is used to implement information input and output;

[0118] A communication interface 1204, which is used to implement communication interaction between the device and other devices, and can implement communication through a wired method (such as USB, network cable, etc.) or through a wireless method (such as mobile network, WIFI, Bluetooth, etc.);

[0119] A bus 1205, which transmits information between various components of the device (such as the processor 1201, the memory 1202, the input / output interface 1203, and the communication interface 1204);

[0120] Among them, the processor 1201, the memory 1202, the input / output interface 1203, and the communication interface 1204 are communicatively connected to each other inside the device through the bus 1205.

[0121] Among them, the memory, as a non-transitory computer-readable storage medium, can be used to store non-transitory software programs and non-transitory computer-executable programs. The memory may include high-speed random access memory, and may also include non-transitory memory, such as at least one magnetic disk storage device, a flash memory device, or other non-transitory solid-state storage devices. In some embodiments, the memory optionally includes a remote memory remotely disposed relative to the processor, and these remote memories can be connected to the processor through a network. Examples of the above network include but are not limited to the Internet, an intranet, a local area network, a mobile communication network, and combinations thereof.

[0122] In addition, an embodiment of the present application also discloses a computer program product or a computer program. The computer program product or the computer program is stored in a computer-readable storage medium. The processor of the computer device can read the computer program from the computer-readable storage medium, and the processor executes the computer program, so that the computer device executes the above method. Similarly, the content in the above method embodiments is applicable to this storage medium embodiment. The function specifically implemented by this storage medium embodiment is the same as that of the above method embodiments, and the beneficial effects achieved are also the same as those of the above method embodiments.

[0123] An embodiment of the present application also provides a computer-readable storage medium. The computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, it implements the above method for detecting foreign object intrusion into a box.

[0124] It can be understood that the content in the above method embodiments is applicable to this storage medium embodiment. The function specifically implemented by this storage medium embodiment is the same as that of the above method embodiments, and the beneficial effects achieved are also the same as those of the above method embodiments.

[0125] It will be understood that all or some of the steps and systems disclosed in the above methods can be implemented as software, firmware, hardware and their appropriate combinations. Some or all of the physical components can be implemented as software executed by a processor, such as a central processing unit, a digital signal processor or a microprocessor, or implemented as hardware, or implemented as an integrated circuit, such as an application specific integrated circuit. Such software can be distributed on a computer-readable medium, which can include a computer storage medium (or non-transitory medium) and a communication medium (or transitory medium). As is well known to those of ordinary skill in the art, the term computer storage medium includes volatile and non-volatile, removable and non-removable media implemented in any method or technology for storing information, such as computer-readable instructions, data structures, program modules or other data. Computer storage media includes, but is not limited to, RAM, ROM, EEPROM, flash memory or other memory technologies, CD-ROM, digital versatile disk (DVD) or other optical disk storage, magnetic cassettes, tapes, magnetic disk storage or other magnetic storage devices, or any other medium that can be used to store the desired information and can be accessed by a computer. In addition, as is well known to those of ordinary skill in the art, communication media typically contains computer-readable instructions, data structures, program modules or other data in a modulated data signal such as a carrier wave or other transmission mechanism, and can include any information delivery medium.

[0126] The above is a specific description of the preferred embodiments of the present invention, but the present invention is not limited to the described embodiments. Those skilled in the art can make various equivalent deformations or substitutions without departing from the spirit of the present invention, and these equivalent deformations or substitutions are all included within the scope defined by the claims of this application.

Claims

1. A method for detecting foreign matter intrusion into a box, characterized in that: The method comprises: Acquire current mesh ray data, and analyze the current mesh ray data to determine ray status information; wherein the current mesh ray data is generated by mesh-layout infrared sensors inside the box; If the ray status information is complete, it is determined that there is no foreign matter in the box; If the ray status information is blocked and cut off, it is determined that there is a foreign object in the box, a plurality of mesh ray data are acquired according to a preset time period, the plurality of mesh ray data are analyzed, and corresponding operations are performed.

2. The method according to claim 1, characterized in that The analyzing of the plurality of mesh ray data and performing corresponding operations specifically includes: Continuously comparing a plurality of the mesh ray data to determine a data fluctuation value, and determining the type of foreign matter according to the data fluctuation value and a preset fluctuation threshold; If the type of the foreign object is a non-animal object, performing a polling operation on the current mesh ray data according to a preset period; If the type of the foreign object is an animal object, an abnormal work order is generated according to the animal object, and the abnormal work order is sent to a responsible person, so that the responsible person handles the animal object according to the abnormal work order.

3. The method according to claim 2, characterized in that The determining the type of foreign matter according to the data fluctuation value and a preset fluctuation threshold value specifically includes: Comparing the data fluctuation value with the preset fluctuation threshold; If the data fluctuation value is less than the preset fluctuation threshold, determining that the foreign object type is a non-animal object; If the data fluctuation value is greater than or equal to the preset fluctuation threshold, it is determined that the type of the foreign object is an animal object.

4. The method according to claim 2, characterized in that: The method further comprises: Obtaining processing feedback information, and analyzing the processing feedback information to determine a processing result; If the processing result is incomplete, the abnormal level of the abnormal work order is upgraded, the upgraded abnormal work order is sent to the responsible person, and a prompt message is generated; If the processing result is that the processing is completed, the current detection cycle ends.

5. The method according to claim 1, characterized in that The method further comprises: Detecting the current mesh ray data according to the received door opening signal to determine the ray status information; If the ray status information is blocked and cut off, delay according to a preset time, and detect the current mesh ray data to determine the ray status information; If the ray status information is complete, the current door switch information is detected, and corresponding operations are performed according to the current door switch information.

6. The method according to claim 5, characterized in that The performing corresponding operations according to the current door switch information specifically includes: Analyze the current door switch information to determine the current door status; If the current door status is that the door is closed, the current service is terminated, and the process returns to the step of obtaining the current mesh ray data, and analyzing the current mesh ray data to determine the ray status information; If the current door status is that the door is open, a voice broadcast is performed according to the preset voice information, and the current door switch information is polled according to a preset period to determine the door information.

7. The method according to claim 6, characterized in that The method further comprises: Analyze the door information to determine the door closing state; If the door closing state is not closed, return to execute the acquisition of a plurality of mesh ray data according to a preset time period, analyze the plurality of mesh ray data, and perform corresponding operations; If the door closing state is closed, the process returns to the step of obtaining the current mesh ray data, and analyzes the current mesh ray data to determine the ray state information.

8. A system for detecting foreign matter intrusion into a box, characterized in that: include: The first module is used to obtain current mesh ray data and analyze the current mesh ray data to determine ray status information; wherein the current mesh ray data is generated by the mesh layout infrared sensor inside the box; The second module is used to determine that there is no foreign matter in the box if the ray status information is complete; The third module is used to determine that there is a foreign object in the box if the ray status information is blocked and cut off, obtain a number of mesh ray data according to a preset time period, analyze the several mesh ray data, and perform corresponding operations.

9. An electronic equipment device, characterized in that: include: at least one processor; at least one memory for storing at least one program; When the at least one program is executed by the at least one processor, the at least one processor implements the method according to any one of claims 1 to 7.

10. A computer-readable storage medium storing a program executable by a processor, characterized in that: The processor-executable program is used to perform the method according to any one of claims 1 to 7 when executed by the processor.

Citation Information

Patent Citations

  • Article management method applied to intelligent refrigerator and intelligent refrigerator

    CN106766615A

  • Movable storing and taking mechanism for express tower

    CN108861262A

  • Storage method and device

    CN108891721A

  • Cargo sending system and operation method thereof

    CN109178512A

  • Method and system for detecting behaviors of animals for scientific research

    CN109392755A