Storage equipment control method and device and storage equipment

By using location information in the storage device to determine the collection time period and update the collection time, and collecting effective images based on the image sensor, it solves the problem of image collection without built-in lights and door sensors, reduces costs and broadens application scenarios.

CN118540439APending Publication Date: 2024-08-23QINGDAO HAIER SPECIAL ICEBOX +1
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410557992.1
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-05-07
Publication Date
2024-08-23

AI Technical Summary

Technical Problem

Without built-in lights and door sensors, it is difficult for existing storage devices to effectively collect internal images, resulting in increased hardware, manufacturing and after-sales costs, and limited application scenarios.

Method used

The collection time period within the natural day is determined based on the location information of the storage device, and the image sensor is controlled to collect images during this time period. The number of target features included in the image to be measured is used to determine the effective image, and the collection time is updated to adapt to the lighting conditions. , to achieve remote capture.

Benefits of technology

It reduces the hardware cost, manufacturing and after-sales costs of storage equipment, broadens applicable scenarios, and improves distribution efficiency and accuracy of terminal product management.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118540439A
    Figure CN118540439A
Patent Text Reader

Abstract

The invention discloses a control method and device of storage equipment and the storage equipment, and belongs to the technical field of storage equipment. The control method of the storage device comprises the steps of determining an acquisition time period in a natural day based on position information of a to-be-controlled storage device; controlling an image sensor in the to-be-controlled storage equipment to perform image acquisition at at least one acquisition moment in the acquisition time period to obtain at least one to-be-detected image; under the condition that at least one to-be-detected image is determined to be an effective image based on the number of the target features included in each to-be-detected image, controlling an image sensor to perform image acquisition based on an acquisition moment corresponding to the effective image in each natural day; and under the condition that the to-be-detected images are determined to be invalid images based on the number of the target features included in the to-be-detected images, updating at least one acquisition moment, and controlling the image sensor to perform image acquisition at the updated at least one acquisition moment to obtain at least one to-be-detected image.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application belongs to the technical field of storage equipment, and in particular, relates to a control method and device of storage equipment and storage equipment. Background Art

[0002] In home storage devices or commercial storage devices, users need to determine the inventory or display of items in the storage devices to improve delivery efficiency and better manage terminal goods, etc. In the related art, there is a method for collecting internal information of storage devices based on built-in lights and door magnets installed in storage devices. However, in this method, installing built-in lights will increase the hardware cost of the storage device, and installing door magnets will increase the manufacturing cost and after-sales cost. This method cannot collect effective pictures of the interior of the storage device without installing built-in lights and door magnets, and the application scenarios are limited. Summary of the invention

[0003] The present application aims to solve at least one of the technical problems existing in the related art. To this end, the present application proposes a control method, device and storage device for a storage device, which can remotely capture effective images inside the storage device without installing built-in lights and door magnets, thereby reducing the hardware cost, production cost and after-sales cost of the storage device.

[0004] In a first aspect, the present application provides a method for controlling a storage device, the method comprising:

[0005] Based on the location information of the storage device to be controlled, determine the collection time period within a natural day;

[0006] Controlling the image sensor in the storage device to be controlled to perform image acquisition at at least one acquisition time within the acquisition time period to obtain at least one image to be measured;

[0007] In a case where it is determined based on the number of target features included in each of the images to be tested that at least one of the images to be tested is a valid image, controlling the image sensor to perform image acquisition based on the acquisition time corresponding to the valid image within each natural day;

[0008] When it is determined that each of the images to be tested is an invalid image based on the number of target features included in each of the images to be tested, the at least one acquisition moment is updated, and the image sensor is controlled to perform image acquisition at the at least one updated acquisition moment to obtain at least one image to be tested.

[0009] According to the control method of the storage device provided in the embodiment of the present application, the collection time period is determined by the location information of the storage device to be controlled, and then the image sensor is controlled to perform image collection at at least one collection time within the collection time period, and the effective image is determined by the number of target features included in the image to be measured, so that subsequent image collection can be performed based on the collection time of the effective image, and the collection time with better imaging effect within a natural day can be determined, which is convenient for users to remotely determine the inventory or display of items in the storage device, thereby helping to improve delivery efficiency and better manage terminal goods, and broaden the applicable scenarios; in addition, effective images inside the storage device can be captured remotely without installing built-in lights and door magnets, which reduces the hardware cost, production cost and after-sales cost of the storage device.

[0010] In a control method for a storage device according to an embodiment of the present application, the determination that at least one of the images to be tested is a valid image based on the number of target features included in each of the images to be tested comprises:

[0011] Acquire a first image captured by the image sensor on a historical natural day;

[0012] When it is determined that the number of the target features included in the image to be tested is greater than the number of the target features included in the first image, the image to be tested is determined to be the valid image.

[0013] A control method for a storage device according to an embodiment of the present application, in the case where it is determined that the number of target features included in the image to be tested is greater than the number of target features included in the first image, determining that the image to be tested is the valid image includes:

[0014] When it is determined that the number of target features included in the image to be tested is greater than a first threshold, and the difference between the number of target features included in the image to be tested and the number of target features included in the first image is greater than a second threshold, the image to be tested is determined to be the valid image.

[0015] A control method for a storage device according to an embodiment of the present application, wherein the control of an image sensor in the storage device to be controlled to perform image acquisition at at least one acquisition time within the acquisition time period comprises:

[0016] Dividing the collection time period based on the first collection cycle to obtain the at least one collection time;

[0017] The image sensor is controlled to perform image acquisition at the at least one acquisition time.

[0018] In a control method for a storage device according to an embodiment of the present application, the updating of the at least one collection time comprises:

[0019] The first collection cycle is reduced, and the collection time period is divided based on the reduced first collection cycle to update the at least one collection moment.

[0020] A control method for a storage device according to an embodiment of the present application, wherein the step of determining a collection time period within a natural day based on the location information of the storage device to be controlled includes:

[0021] Based on the location information, determining a lighting time period in the environment where the storage device to be controlled is located;

[0022] The collection time period is determined based on the illumination time period.

[0023] In a control method for a storage device according to an embodiment of the present application, the updating of the at least one collection time comprises:

[0024] Performing an offset process on the start time of the acquisition time period based on the target offset to obtain a new acquisition time period;

[0025] Based on the new collection time period, the at least one collection time is updated.

[0026] A control method for a storage device according to an embodiment of the present application, after determining a collection time period within a natural day based on the location information of the storage device to be controlled and before obtaining at least one image to be tested, the method further includes:

[0027] The image sensor is controlled to perform image acquisition at an acquisition time within a time period other than the acquisition time period within the natural day.

[0028] A control method for a storage device according to an embodiment of the present application, before determining a collection time period within a natural day based on the location information of the storage device to be controlled, the method further includes:

[0029] Controlling the image sensors of each candidate storage device disposed in the target area to perform image acquisition at a default acquisition time to obtain at least one second image corresponding to each of the storage devices;

[0030] When the brightness of the second image is less than a third threshold, the candidate storage device corresponding to the second image is determined as the storage device to be controlled.

[0031] In a second aspect, the present application provides a control device for a storage device, the device comprising:

[0032] A first processing module, used to determine a collection time period within a natural day based on the location information of the storage device to be controlled;

[0033] A second processing module is used to control the image sensor in the storage device to be controlled to perform image acquisition at at least one acquisition time within the acquisition time period to obtain at least one image to be measured;

[0034] A third processing module is used for controlling the image sensor to collect images based on the collection time corresponding to the valid image in each natural day when it is determined that at least one of the images to be tested is a valid image based on the number of target features included in each of the images to be tested;

[0035] The fourth processing module is used to update the at least one acquisition moment when it is determined that each of the images to be tested is an invalid image based on the number of target features included in each of the images to be tested, and control the image sensor to perform image acquisition at the at least one updated acquisition moment to obtain at least one image to be tested.

[0036] According to the control device of the storage device provided in the embodiment of the present application, the collection time period is determined by the location information of the storage device to be controlled, and then the image sensor is controlled to perform image collection at at least one collection time within the collection time period, and the effective image is determined by the number of target features included in the image to be measured, so that subsequent image collection can be performed based on the collection time of the effective image, and the collection time with better imaging effect within a natural day can be determined, which is convenient for users to remotely determine the inventory or display status of items in the storage device, thereby helping to improve delivery efficiency and better manage terminal goods, and broaden the applicable scenarios; in addition, effective images inside the storage device can be captured remotely without installing built-in lights and door magnets, which reduces the hardware cost, production cost and after-sales cost of the storage device.

[0037] In a third aspect, the present application provides a storage device, comprising:

[0038] Box, forming a compartment;

[0039] An image sensor, wherein the image sensor is mounted on the box;

[0040] As in the control device of the storage device according to the second aspect, the control device of the storage device is electrically connected to the image sensor.

[0041] According to the storage device provided in the embodiment of the present application, the collection time period is determined by the location information of the storage device to be controlled, and then the image sensor is controlled to perform image collection at at least one collection time within the collection time period, and the effective image is determined by the number of target features included in the image to be measured, so that subsequent image collection can be performed based on the collection time of the effective image, and the collection time with better imaging effect within a natural day can be determined, which is convenient for users to remotely determine the inventory or display of items in the storage device, thereby helping to improve delivery efficiency and better manage terminal goods, and broaden the applicable scenarios; in addition, effective images inside the storage device can be captured remotely without installing built-in lights and door magnets, which reduces the hardware cost, production cost and after-sales cost of the storage device.

[0042] In a fourth aspect, the present application provides an electronic device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein when the processor executes the computer program, the control method for the storage device as described in the first aspect above is implemented.

[0043] In a fifth aspect, the present application provides a non-transitory computer-readable storage medium having a computer program stored thereon, and when the computer program is executed by a processor, the control method of the storage device as described in the first aspect above is implemented.

[0044] In a sixth aspect, the present application provides a computer program product, including a computer program, which, when executed by a processor, implements the control method of the storage device as described in the first aspect above.

[0045] The above one or more technical solutions in the embodiments of the present application have at least one of the following technical effects:

[0046] The acquisition time period is determined by the location information of the storage device to be controlled, and then the image sensor is controlled to perform image acquisition at at least one acquisition time within the acquisition time period, and the effective image is determined by the number of target features included in the image to be tested, so that subsequent image acquisition can be performed based on the acquisition time of the effective image, and the acquisition time with better imaging effect within a natural day can be determined, which is convenient for users to remotely determine the inventory or display status of items in the storage device, thereby helping to improve delivery efficiency and better manage terminal goods, and broaden the applicable scenarios; in addition, effective images inside the storage device can be captured remotely without installing built-in lights and door magnets, reducing the hardware cost, production cost and after-sales cost of the storage device.

[0047] Furthermore, the lighting time period is determined by the position information of the storage device to be controlled, and then the acquisition time period for image acquisition is determined based on the lighting time period, which reduces the amount of calculation in the subsequent image acquisition process and can select time periods with better lighting conditions for image acquisition, thereby improving the imaging effect of the final acquired image and thereby improving the precision and accuracy of the calculation results.

[0048] Furthermore, by comparing the difference between the number of target features included in the image to be tested and the number of target features included in the first image, it is determined whether the image to be tested is a valid image. The valid image is determined by quantitative standards, which improves the accuracy of the valid image finally obtained. By comparing with the first image collected under historical natural conditions, the possibility of misjudgment can be reduced and the accuracy of judgment can be improved.

[0049] Furthermore, by resetting the acquisition time of the image sensor within the acquisition time period based on a variety of different methods when all the acquired images to be tested are invalid images, the image sensor is controlled to acquire images based on the updated acquisition time, thereby increasing the diversity of the acquired images to be tested, so that the acquisition time can adapt to changes in environmental conditions (such as lighting conditions), thereby helping to determine new lighting patterns in the environment where the storage device to be controlled is located, and then acquiring valid images corresponding to the storage device to be controlled, thereby improving the accuracy and precision of detection.

[0050] Additional aspects and advantages of the present application will be given in part in the description below, and in part will become apparent from the description below, or will be learned through the practice of the present application. BRIEF DESCRIPTION OF THE DRAWINGS

[0051] The above and / or additional aspects and advantages of the present application will become apparent and easily understood from the description of the embodiments in conjunction with the following drawings, in which:

[0052] Figure 1 This is one of the flow charts of the control method of the storage device provided in the embodiment of the present application;

[0053] Figure 2 This is the second flow chart of the control method of the storage device provided in the embodiment of the present application;

[0054] Figure 3 This is the third flow chart of the control method of the storage device provided in the embodiment of the present application;

[0055] Figure 4 is a schematic diagram of the structure of a control device for a storage device provided in an embodiment of the present application;

[0056] Figure 5 is a schematic diagram of the structure of a storage device provided in an embodiment of the present application;

[0057] Figure 6 It is a schematic diagram of the structure of an electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION

[0058] The following will be combined with the drawings in the embodiments of the present application to clearly describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are part of the embodiments of the present application, rather than all the embodiments. All other embodiments obtained by ordinary technicians in this field based on the embodiments in the present application belong to the scope of protection of this application.

[0059] The terms "first", "second", etc. in the specification and claims of the present application are used to distinguish similar objects, and are not used to describe a specific order or sequence. It should be understood that the data used in this way can be interchangeable under appropriate circumstances, so that the embodiments of the present application can be implemented in an order other than those illustrated or described here, and the objects distinguished by "first", "second", etc. are generally of one type, and the number of objects is not limited. For example, the first object can be one or more. In addition, "and / or" in the specification and claims represents at least one of the connected objects, and the character " / " generally indicates that the objects associated with each other are in an "or" relationship.

[0060] In conjunction with the accompanying drawings, the control method of the storage device, the control device of the storage device, the electronic device and the readable storage medium provided in the embodiments of the present application are described in detail through specific embodiments and their application scenarios.

[0061] The control method of the storage device may be applied to a terminal, and may be specifically executed by hardware or software in the terminal.

[0062] The terminal includes, but is not limited to, a portable communication device such as a mobile phone or tablet computer with a touch-sensitive surface (e.g., a touch screen display and / or a touch pad). It should also be understood that in some embodiments, the terminal may not be a portable communication device, but a desktop computer with a touch-sensitive surface (e.g., a touch screen display and / or a touch pad).

[0063] In the following various embodiments, a terminal including a display and a touch-sensitive surface is described. However, it should be understood that the terminal may include one or more other physical user interface devices such as a physical keyboard, a mouse and a joystick.

[0064] The control method for a storage device provided in an embodiment of the present application may be executed by a storage device, or may be an electronic device that is communicatively connected to the storage device, or may be a functional module or functional entity in the storage device or the electronic device that can implement the control method for the storage device. The electronic devices mentioned in the embodiment of the present application include but are not limited to mobile phones, tablet computers, computers, cameras, and wearable devices. The control method for a storage device provided in an embodiment of the present application is described below using a storage device as an example of the execution subject.

[0065] like Figure 1 As shown, the control method of the storage device includes: step 110, step 120, step 130 and step 140.

[0066] It should be noted that the storage equipment in this embodiment can be understood as refrigeration storage equipment in a broad sense, including but not limited to refrigerators, freezers, display cabinets, beverage cabinets, wine cabinets, fresh-keeping cabinets, refrigerated vending machines and other refrigeration storage equipment. The storage equipment has various structural forms and a wide range of applications.

[0067] Step 110: Determine a collection time period within a natural day based on the location information of the storage device to be controlled.

[0068] In this step, the storage device to be controlled is a storage device whose internal characteristic information cannot be determined due to light collection problems.

[0069] The location information includes the time zone, longitude, latitude, and season where the storage device to be controlled is located.

[0070] For example, the sunrise time and sunset time of the environment where the storage device to be controlled is located may also change in different seasons.

[0071] A natural day is a complete 24-hour period starting at midnight and ending at midnight. For example, a natural day may start at midnight (00:00:00) of the current day and end at midnight (23:59:59) of the next day.

[0072] The collection time period can be determined based on the lighting period in the environment where the storage device to be controlled is located.

[0073] The collection time period is the time period during which the internal characteristic information of the storage device to be tested needs to be collected.

[0074] The collection time period can be a daytime time period within a natural day. For example, when the sunrise time in the environment of the storage device to be controlled is determined to be 5:00 and the sunset time is 18:00 based on the location information, the starting time of the collection time period can be 5:00 within the natural day, and the ending time of the collection time period can be 23:00, or it can be other time periods, which is not limited in this application.

[0075] In some embodiments, step 110 may include:

[0076] Based on the location information, determine the lighting time period in the environment where the storage device to be controlled is located;

[0077] Based on the illumination period, the collection period is determined.

[0078] In this embodiment, based on the position information, changes in the illumination information in the environment where the storage device to be controlled is located can be determined.

[0079] Based on the change of the illumination information, the illumination time period can be determined.

[0080] For example, when the illumination intensity in a time period is greater than a threshold, the time period may be determined as an illumination time period.

[0081] In the actual implementation process, the time period within the illumination time period can be determined as the collection time period, or the illumination time period and the time period outside the illumination time period can also be determined as the collection time period. It can be based on user customization and this application does not limit it.

[0082] For example, when the illumination time period is 5:00-18:00 in a natural day, the illumination time period can be directly determined as the collection time period; or 5:00-19:00 can be determined as the collection time period, or 4:00-18:00 can also be determined as the collection time period, and this application does not limit this.

[0083] According to the control method of the storage device provided in the embodiment of the present application, the lighting time period is determined by the position information of the storage device to be controlled, and then the acquisition time period for image acquisition is determined based on the lighting time period, thereby reducing the amount of calculation in the subsequent image acquisition process, and being able to select a time period with better lighting conditions for image acquisition, thereby improving the imaging effect of the image finally acquired, and thereby improving the precision and accuracy of the calculation results.

[0084] In some embodiments, the collection time period may also be determined based on the sunrise time and sunset time in the illumination time period.

[0085] In this embodiment, the collection time period may be set to a time period that can cover the sunrise time and sunset time in the environment where the storage device to be controlled is located.

[0086] For example, when the sunrise time is 5:00 and the sunset time is 18:00, the illumination time period can be determined to be 5:00-18:00, and then the collection time period can be determined to be 5:00-23:00.

[0087] In the present application, based on the sunrise and sunset times in the environment where the storage device to be controlled is located, a collection time period that can cover the lighting time period is determined, and the internal characteristic information of the storage device to be controlled can be subsequently collected based on the collection time period, thereby avoiding the situation where the internal characteristic information of the storage device to be controlled cannot be collected when using indoor lighting at night, thereby improving the precision and accuracy of the control.

[0088] In some embodiments, after step 110 and before obtaining at least one image to be tested, the control method of the storage device may further include:

[0089] The image sensor is controlled to perform image acquisition at acquisition times within a time period other than an acquisition time period within a natural day.

[0090] In this embodiment, when the collection time period is determined, a collection time can be set in a time period other than the collection time period within a natural day.

[0091] When the collection time period is from 5:00 to 24:00 in a natural day, a collection time may be set in 0:00 to 5:00. For example, the collection time may be determined as 2:00.

[0092] In the actual execution process, the image sensor can collect one or more images between 5:00 and 24:00, and the image sensor can also collect an image at 2:00.

[0093] Step 120: Control the image sensor in the storage device to be controlled to perform image acquisition at at least one acquisition time within the acquisition time period to obtain at least one image to be tested.

[0094] In this step, the image sensor may be installed on the inner side or the back side of the storage device to be controlled.

[0095] For example, the image sensor may be installed in a box of the storage device to be controlled.

[0096] The storage device to be controlled can take images of the cabinet at set time points within a natural day and upload them to the cloud platform for AI analysis.

[0097] The image sensor may include: a charge-coupled device (CCD) or a complementary metal-oxide-semiconductor (CMOS), or may also include other types of photosensitive elements, which may be customized by the user and are not limited in this application.

[0098] The image sensor is used to collect image information of the internal characteristics of the storage device to be controlled.

[0099] At least one collection time may be set within the collection time period.

[0100] At least one collection moment within the collection time period may be determined randomly, or the collection time period may be divided based on fixed time intervals to obtain at least one collection moment, which may be user-defined and is not limited in this application.

[0101] The image sensor can remotely capture images based on at least one acquisition moment.

[0102] The image to be tested can be used to characterize the internal characteristic information of the storage device to be controlled.

[0103] For example, by extracting features from the image to be tested, the number of items included in the box of the storage device to be controlled and the display conditions of the items can be determined.

[0104] The image to be tested is an image obtained by the image sensor through image acquisition of the interior of the storage device to be controlled based on a set acquisition time.

[0105] The set collection time includes any collection time within a natural day, for example, the set collection time includes at least one collection time within a collection time period, and the set collection time also includes collection times within a time period other than the collection time period within a natural day.

[0106] The image sensor can acquire one or more images to be tested at one acquisition moment.

[0107] In the actual implementation process, for example, at least one acquisition time can be randomly set within the acquisition time period: 5:00, 14:00 and 23:00, and then the image sensor is controlled to perform remote capture based on the above acquisition time to obtain at least one image to be tested.

[0108] In some embodiments, controlling the image sensor in the storage device to be controlled to perform image acquisition at at least one acquisition time within the acquisition time period may include:

[0109] Dividing the collection time period based on the first collection cycle to obtain at least one collection time;

[0110] The image sensor is controlled to perform image acquisition at at least one acquisition time.

[0111] In this embodiment, the first acquisition period is the time interval between two consecutive image acquisitions performed by the image sensor.

[0112] The first acquisition cycle may be set based on the accuracy requirement of image acquisition. For example, if an image needs to be acquired once every hour, the first acquisition cycle may be set to one hour.

[0113] The first collection cycle is used to divide the collection time period into a plurality of sub-time periods.

[0114] In the actual implementation process, based on the first collection cycle, the collection time period from the sun's rise time to the early morning can be divided into N equal time periods.

[0115] For example, when the collection time period is 5:00-23:00 and the first collection cycle is three hours, at least one collection time can be obtained: 5:00, 8:00, 11:00, 14:00, 17:00, 20:00 and 23:00.

[0116] In the present application, the acquisition time period is divided by a first acquisition cycle to obtain at least one acquisition moment, and then the image sensor is controlled to perform image acquisition at at least one acquisition moment. This can ensure the accuracy of image acquisition, and make it easy for users to monitor and manage the image acquisition process. The first acquisition cycle can be adjusted based on actual needs, and the usage scenarios are relatively wide.

[0117] Step 130 : When it is determined that at least one image to be tested is a valid image based on the number of target features included in each image to be tested, control the image sensor to perform image acquisition based on the acquisition time corresponding to the valid image in each natural day.

[0118] In this step, image features are extracted from each image to be tested, so as to obtain target features included in each image to be tested.

[0119] The target feature may be a feature of items inside the storage device to be controlled.

[0120] For example, by extracting image features from the image to be tested, the number of items inside the storage device to be controlled and the display of the items can be obtained.

[0121] The number of target features can be characterized based on the number of items included in the cross-section of the storage device to be controlled, or can be characterized based on the proportion of items included in the storage device to be controlled. It can be customized based on actual conditions and is not limited in this application.

[0122] The number of target features may be a percentage of the height of the storage device to be controlled occupied by the items, for example, the number of target features may be 20% of the height of the storage device to be controlled; or, the number of target features may be a percentage of the box capacity of the storage device to be controlled occupied by the items, for example, when the box capacity of the storage device to be controlled is 400L, the number of target features may be 20% of the box capacity.

[0123] A valid image is an image to be tested that includes target features that meet set conditions.

[0124] The setting conditions may be based on user customization. For example, when the number of target features included in the image to be tested reaches a threshold, the image to be tested may be determined as a valid image.

[0125] Within a natural day, one or more images to be tested that meet set conditions and correspond to the storage device to be controlled can be determined from at least one image to be tested.

[0126] In the actual execution process, the first image to be tested that meets the set conditions can be determined as a valid image.

[0127] When a valid image is determined, image acquisition can be performed based on the acquisition time corresponding to the valid image in a subsequent image acquisition process.

[0128] For example, when at least one acquisition time is randomly set: 5:00, 11:00, 17:00 and 23:00, the image sensor is controlled to perform image acquisition based on each acquisition time to obtain at least one image to be tested.

[0129] When it is determined that the images to be tested acquired at 11:00 and 17:00 meet the set conditions based on the number of target features included in each image to be tested, the image to be tested acquired at 11:00 can be determined as a valid image, and the image sensor can be controlled to acquire images based on 11:00 on each natural day.

[0130] like Figure 3 As shown, in some embodiments, determining that at least one image to be tested is a valid image based on the number of target features included in each image to be tested may include:

[0131] Acquire a first image captured by an image sensor on a historical natural day;

[0132] When it is determined that the number of target features included in the image to be tested is greater than the number of target features included in the first image, the image to be tested is determined to be a valid image.

[0133] In this embodiment, the historical natural day is one or more natural days on which image acquisition operations have been performed in the past.

[0134] The first image is image data collected by the image sensor on a historical natural day.

[0135] The first image is an invalid image captured by the image sensor.

[0136] The number of target features included in the invalid image does not satisfy the set condition.

[0137] For example, when the number of target features included in an image is less than a threshold, the image may be determined as an invalid image.

[0138] By performing image feature extraction on the image to be tested, the number of target features included in the image to be tested can be determined.

[0139] For example, when the number of objects included in the image to be tested accounts for 50% of the height of the storage device to be controlled and the number of objects included in the first image accounts for 5% of the height of the storage device to be controlled, the image to be tested can be determined as a valid image.

[0140] In some embodiments, when it is determined that the number of target features included in the image to be tested is greater than the number of target features included in the first image, determining that the image to be tested is a valid image may include:

[0141] When it is determined that the number of target features included in the image to be tested is greater than a first threshold, and the difference between the number of target features included in the image to be tested and the number of target features included in the first image is greater than a second threshold, the image to be tested is determined to be a valid image.

[0142] In this embodiment, when the device parameters such as the model of the storage device to be controlled are different, the size of the first threshold may also be different.

[0143] In the case where the number of target features included in the image to be detected is a percentage of the number of objects in the height of the storage device to be controlled, the first threshold may be set to 10%.

[0144] Alternatively, when the number of target features included in the image to be tested is a percentage of the number of objects in the box capacity of the storage device to be controlled, the first threshold can be set to 15%, or it can be set to other values, which can be customized by the user and is not limited in this application.

[0145] The difference between the number of target features included in the image to be tested and the number of target features included in the first image may be a difference or a ratio between the two, and is not limited in the present application.

[0146] The second threshold may be 15%, or may be other values, which is not limited in the present application.

[0147] In an actual implementation process, for example, the first threshold may be set to 20, and the second threshold may be set to 15.

[0148] When feature extraction is performed on the first image and the number of target features included in the first image is 2, the first image can be determined as an invalid image.

[0149] When feature extraction is performed on the image to be tested and the number of target features included in the image to be tested is 25, the number of target features included in the image to be tested is greater than 20, and the difference (23) between the number of target features included in the image to be tested and the number of target features included in the first image is greater than 15, the image to be tested can be determined as a valid image.

[0150] In some embodiments, when the image to be tested is determined to be a valid image based on the difference between the number of target features included in the image to be tested and the number of target features included in the first image, a secondary judgment can be made manually to improve the accuracy and precision of the acquired valid image.

[0151] According to the control method of the storage device provided in the embodiment of the present application, by comparing the difference between the number of target features included in the image to be tested and the number of target features included in the first image, it is determined whether the image to be tested is a valid image. The valid image is determined by quantitative standards, which improves the accuracy of the valid image finally obtained. By comparing with the first image collected under historical natural conditions, the possibility of misjudgment can be reduced and the accuracy of judgment can be improved.

[0152] Step 140: When it is determined that each of the images to be tested is an invalid image based on the number of target features included in each of the images to be tested, update at least one acquisition time, and control the image sensor to perform image acquisition at the updated at least one acquisition time to obtain at least one image to be tested.

[0153] In this step, the invalid image is an image to be tested that includes target features whose number does not meet the set conditions.

[0154] For example, when the number of target features included in the image to be tested does not meet a threshold, the image to be tested may be determined as an invalid image.

[0155] When all the images to be tested collected within a natural day are invalid images, at least one collection time can be updated, and then the image sensor can be controlled to collect images at the updated at least one collection time to obtain at least one image to be tested.

[0156] Continue to judge whether each newly acquired image to be tested is a valid image, and if each newly acquired image to be tested is an invalid image, continue to update at least one acquisition time until a valid image is obtained.

[0157] In some embodiments, after step 140, the control method of the storage device may further include:

[0158] When all images to be tested collected within a natural day for determining the number of consecutive targets are invalid images and the number of targets is greater than the target threshold, marking information is added to the storage device to be controlled.

[0159] In this embodiment, the target threshold may be 6 or 7, or may be other values, which may be user-defined and is not limited in this application.

[0160] For example, the target threshold may be set to 7, and when it is determined that all images to be tested collected within 8 consecutive days are invalid images, the storage device to be controlled may be marked as a storage device that does not have regular lighting conditions.

[0161] In the actual implementation process, updating at least one acquisition moment may include: increasing the number of at least one acquisition moment, so that the image sensor can acquire more images to be measured within the acquisition time period.

[0162] Alternatively, at least one collection moment may be randomly regenerated within the collection time period based on any collection cycle to update the at least one collection moment.

[0163] Alternatively, at least one of the start time and the end time of the collection time period may be adjusted to update at least one collection time, or at least one collection time may be updated based on any other method, which may be user-defined and is not limited in this application.

[0164] According to the control method of the storage device provided in the embodiment of the present application, the collection time period is determined by the location information of the storage device to be controlled, and then the image sensor is controlled to perform image collection at at least one collection time within the collection time period, and the effective image is determined by the number of target features included in the image to be measured, so that subsequent image collection can be performed based on the collection time of the effective image, and the collection time with better imaging effect within a natural day can be determined, which is convenient for users to remotely determine the inventory or display of items in the storage device, thereby helping to improve delivery efficiency and better manage terminal goods, and broaden the applicable scenarios; in addition, effective images inside the storage device can be captured remotely without installing built-in lights and door magnets, which reduces the hardware cost, production cost and after-sales cost of the storage device.

[0165] like Figure 3 As shown, in some embodiments, updating at least one acquisition moment may include:

[0166] The first collection cycle is reduced, and the collection time period is divided based on the reduced first collection cycle to update at least one collection moment.

[0167] In this embodiment, by reducing the first acquisition cycle, the time interval between two consecutive image acquisitions by the image sensor can be shortened, so that the image sensor can acquire more images in a shorter time.

[0168] The collection time period is divided based on the reduced first collection cycle, and the collection time period can be divided into more and shorter time periods to obtain a larger number of at least one collection moment.

[0169] When it is determined that all the images to be tested acquired within a natural day are invalid images, the time interval of the image sensor capturing can be reduced, that is, the first acquisition cycle can be reduced, thereby increasing the number of image acquisitions by the image sensor within a natural day.

[0170] For example, when the first acquisition cycle is 3 hours, at least one acquisition time in the time period (5:00-24:00) is: 5:00, 8:00, 11:00, 14:00, 17:00, 20:00, 23:00; when it is determined that all the images to be tested acquired based on the above acquisition times are invalid images, the first acquisition cycle can be reduced to 2 hours, and the acquisition time period can be divided based on 2 hours, that is, the image sensor can perform image acquisition every 2 hours, and the updated at least one acquisition time is: 5:00, 7:00, 9:00, 11:00, 13:00, 15:00, 17:00, 19:00, 21:00 and 23:00.

[0171] In some embodiments, updating at least one collection moment may include:

[0172] Based on the target offset, the starting time of the collection time period is offset to obtain a new collection time period;

[0173] Based on the new collection time period, at least one collection time is updated.

[0174] In this embodiment, the target offset is used to offset the start time of the acquisition time period. The target offset can be 0.5h, or 1h, or other values, which can be user-defined and is not limited in this application.

[0175] The starting time may be offset by a target offset forward or by a target offset backward, which is not limited in the present application.

[0176] For example, if the collection time period is 5:00-24:00 and the start time of the collection time period is 5:00, the target offset can be set to 1 hour, and then the start time is shifted forward by 1 hour to obtain a new collection time period: 4:00-24:00.

[0177] Alternatively, the starting time may be shifted back 1 hour to obtain a new collection time period: 6:00-24:00.

[0178] In the actual execution process, the new collection time period can be divided based on the first collection cycle, and the collection time can be reset without increasing the number of snapshots.

[0179] For example, the start time can be shifted back by 1 hour to obtain a new collection time period: 6:00-24:00, and then the new collection time period can be divided based on the first collection cycle (3 hours) to obtain at least one new collection time: 6:00, 9:00, 12:00, 15:00, 18:00, 21:00 and 24:00.

[0180] According to the control method of the storage device provided in the embodiment of the present application, by resetting the acquisition time of the image sensor within the acquisition time period based on a variety of different methods when the acquired images to be tested are all invalid images, the image sensor is controlled to perform image acquisition based on the updated acquisition time, thereby increasing the diversity of the acquired images to be tested, so that the acquisition time can adapt to changes in environmental conditions (such as lighting conditions), thereby helping to determine new lighting patterns in the environment where the storage device to be controlled is located, and then acquiring valid images corresponding to the storage device to be controlled, thereby improving the accuracy and precision of detection.

[0181] Combine the following Figure 3 The control logic for obtaining the valid image corresponding to the storage device to be controlled is specifically described.

[0182] During the actual implementation process, the location information of the storage device to be controlled can be obtained first, including the time zone, latitude and season of the storage device to be controlled, and then the sunrise time and sunset time of the area where the storage device to be controlled is located are determined based on the location information, thereby determining the lighting period.

[0183] Then, the collection time period is determined based on the illumination period. For example, when the illumination period is 5:00-18:00, the collection time period can be set to 5:00-24:00.

[0184] Based on the first collection cycle, the collection time period is divided into N equal parts, and a collection time is set at the deepest stage of the night in a natural day. For example, the collection time of the storage device to be controlled during the daytime period can be set to: 5:00, 8:00, 11:00, 14:00, 17:00, 20:00, 23:00, and the collection time during the night period is 2:00.

[0185] The image sensor is controlled to perform image acquisition at the above acquisition time to obtain at least one image to be measured.

[0186] Based on the difference between the number of target features included in each image to be tested and the number of target features included in the first image captured by the image sensor on a historical natural day, it is determined whether the image to be tested is a valid image.

[0187] When the image to be tested is a valid image, the acquisition time corresponding to the image to be tested can be stored and recorded, and the image sensor can be controlled to perform image acquisition based on the acquisition time within each natural day.

[0188] When all the images to be tested collected within a natural day are invalid images, at least one collection time may be updated.

[0189] Then, the image sensor is controlled to perform image acquisition based on the updated acquisition time within the next natural day to obtain at least one image to be tested, until a valid image is obtained.

[0190] Among them, at least one collection time can be updated based on the following methods:

[0191] The time interval between image sensor captures can be reduced to increase the number of acquisitions within the acquisition time period.

[0192] Alternatively, the start time of the acquisition time period may be adjusted based on the target offset, and the acquisition time point may be reset without increasing the number of acquisitions.

[0193] When all images to be tested collected within a natural day for determining the number of consecutive targets are invalid images and the number of targets is greater than a target threshold, marking information is added to the storage device to be tested.

[0194] For example, when no valid images are collected for 8 consecutive days, it means that the environment of the storage device to be controlled does not have regular lighting conditions, and the device to be controlled can be recorded or resolved based on manual intervention.

[0195] In some embodiments, before step 110, the control method of the storage device may further include:

[0196] Controlling the image sensors of each candidate storage device disposed in the target area to perform image acquisition at a default acquisition time to obtain at least one second image corresponding to each storage device;

[0197] When the brightness of the second image is less than the third threshold, the candidate storage device corresponding to the second image is determined as the storage device to be controlled.

[0198] In this embodiment, a plurality of candidate storage devices are arranged in the target area. For example, 1,000 candidate storage devices may be placed in City A.

[0199] Each candidate storage device is provided with an image sensor.

[0200] The default collection time may be the collection time set when the candidate storage device leaves the factory. For example, the default collection time may include 8:00 on a natural day, or may include 18:00 on a natural day, or may also include 8:00 and 18:00 on a natural day. This application does not limit this.

[0201] The second image is an image acquired by the image sensor at a default acquisition time.

[0202] The brightness of the second image can be used to represent the brightness or darkness of the second image.

[0203] The third threshold is used to measure the brightness of the second image. The value of the third threshold can be customized by the user and is not limited in this application.

[0204] For example, when the brightness of the second image is not less than the third threshold, it can be determined that the second image is brighter; when the brightness of the second image is less than the third threshold, it can be determined that the second image is darker.

[0205] In the actual implementation process, the image sensors in 1000 candidate storage devices in City A are controlled to collect images at 8:00 on natural days, and 1000 second images can be obtained.

[0206] Then, it is determined whether the brightness of each second image is less than a third threshold.

[0207] When the brightness of the second image is less than the third threshold, the candidate storage device B corresponding to the second image may be determined as the storage device to be controlled.

[0208] like Figure 2 As shown, each candidate storage device may be controlled to capture images of the display conditions of items in the candidate storage device at 8:00 and 18:00 on a natural day to obtain at least one second image.

[0209] Then, it is determined whether the number of target features included in each second image is greater than the first threshold. When the number of target features included in the second image is not greater than the first threshold, it can be determined that the inventory value and the commodity quantity value in the candidate storage device B corresponding to the second image do not meet the set conditions of the storage device, indicating that there is a problem with the identified second image or no items are placed in the candidate storage device B.

[0210] When the number of target features included in the second image is not greater than the first threshold, the continuous power-on time of the candidate storage device B may be calculated.

[0211] When the continuous power-on time of the candidate storage device B does not exceed the time threshold, for example, does not exceed 6 hours, it can be determined that the candidate storage device B has not been put into use.

[0212] When the continuous power-on time of the candidate storage device B exceeds 6 hours, it can be determined that the candidate storage device B has been put into use normally.

[0213] Then, it is determined whether the brightness of the second image corresponding to the candidate storage device B is less than the third threshold value, and the number of target features included in the second image can also be identified and determined.

[0214] For example, when it is determined that the number of target features included in the second image is 0, it can be determined that no goods are placed in the candidate storage device B.

[0215] When the brightness of the second image is less than the third threshold, it can be determined that the recognition of the second image is inaccurate due to lighting problems. The candidate storage device B can be determined as the storage device to be controlled, and the acquisition time period can be determined based on the location information of the storage device to be controlled. Then, the image sensor in the storage device to be controlled can be controlled to perform image acquisition to obtain a valid image corresponding to the storage device to be controlled.

[0216] The control device of the storage device provided in the present application is described below. The control device of the storage device described below and the control method of the storage device described above can refer to each other.

[0217] The control method of the storage device provided in the embodiment of the present application can be executed by a control device of the storage device. In the embodiment of the present application, the control device of the storage device executing the control method of the storage device is taken as an example to illustrate the control device of the storage device provided in the embodiment of the present application.

[0218] An embodiment of the present application also provides a control device for a storage device.

[0219] like Figure 4 As shown, the control device of the storage device includes: a first processing module 410, a second processing module 420, a third processing module 430 and a fourth processing module 440.

[0220] The first processing module 410 is used to determine a collection time period within a natural day based on the location information of the storage device to be controlled;

[0221] The second processing module 420 is used to control the image sensor in the storage device to be controlled to collect images at at least one collection time within the collection time period to obtain at least one image to be measured;

[0222] The third processing module 430 is used to control the image sensor to collect images based on the collection time corresponding to the valid image in each natural day when it is determined that at least one of the images to be tested is a valid image based on the number of target features included in each image to be tested;

[0223] The fourth processing module 440 is used to update at least one acquisition time when it is determined that each image to be tested is an invalid image based on the number of target features included in each image to be tested, and control the image sensor to perform image acquisition at the at least one updated acquisition time to obtain at least one image to be tested.

[0224] According to the control device of the storage device provided in the embodiment of the present application, the collection time period is determined by the location information of the storage device to be controlled, and then the image sensor is controlled to perform image collection at at least one collection time within the collection time period, and the effective image is determined by the number of target features included in the image to be measured, so that subsequent image collection can be performed based on the collection time of the effective image, and the collection time with better imaging effect within a natural day can be determined, which is convenient for users to remotely determine the inventory or display status of items in the storage device, thereby helping to improve delivery efficiency and better manage terminal goods, and broaden the applicable scenarios; in addition, effective images inside the storage device can be captured remotely without installing built-in lights and door magnets, which reduces the hardware cost, production cost and after-sales cost of the storage device.

[0225] In some embodiments, the third processing module 430 may also be used to:

[0226] Acquire a first image captured by an image sensor on a historical natural day;

[0227] When it is determined that the number of target features included in the image to be tested is greater than the number of target features included in the first image, the image to be tested is determined to be a valid image.

[0228] In some embodiments, the third processing module 430 may also be used to:

[0229] When it is determined that the number of target features included in the image to be tested is greater than a first threshold, and the difference between the number of target features included in the image to be tested and the number of target features included in the first image is greater than a second threshold, the image to be tested is determined to be a valid image.

[0230] In some embodiments, the second processing module 420 may also be used to:

[0231] Dividing the collection time period based on the first collection cycle to obtain at least one collection time;

[0232] The image sensor is controlled to perform image acquisition at at least one acquisition time.

[0233] In some embodiments, the fourth processing module 440 may also be used to:

[0234] The first collection cycle is reduced, and the collection time period is divided based on the reduced first collection cycle to update at least one collection moment.

[0235] In some embodiments, the first processing module 410 may also be used to:

[0236] Based on the location information, determine the lighting time period in the environment where the storage device to be controlled is located;

[0237] Based on the illumination period, the collection period is determined.

[0238] In some embodiments, the fourth processing module 440 may also be used to:

[0239] Based on the target offset, the starting time of the collection time period is offset to obtain a new collection time period;

[0240] Based on the new collection time period, at least one collection time is updated.

[0241] In some embodiments, the control device of the storage device may further include a fifth processing module, which is used to control the image sensor to perform image acquisition at an acquisition time within a time period other than the acquisition time period within a natural day after determining the acquisition time period within a natural day based on the location information of the storage device to be controlled and before obtaining at least one image to be tested.

[0242] In some embodiments, the control device of the storage device may further include a sixth processing module, which is used to determine, based on the location information of the storage device to be controlled, before the collection time period within a natural day,

[0243] Controlling the image sensors of each candidate storage device disposed in the target area to perform image acquisition at a default acquisition time to obtain at least one second image corresponding to each storage device;

[0244] When the brightness of the second image is less than the third threshold, the candidate storage device corresponding to the second image is determined as the storage device to be controlled.

[0245] The control device of the storage device in the embodiment of the present application can be an electronic device, or a component in the electronic device, such as an integrated circuit or a chip. The electronic device can be a terminal, or other devices other than a terminal. Exemplarily, the electronic device can be a mobile phone, a tablet computer, a laptop computer, a PDA, a vehicle-mounted electronic device, a mobile Internet device (Mobile Internet Device, MID), an augmented reality (augmented reality, AR) / virtual reality (virtual reality, VR) device, a robot, a wearable device, an ultra-mobile personal computer (ultra-mobile personal computer, UMPC), a netbook or a personal digital assistant (personal digital assistant, PDA), etc., and can also be a server, a network attached storage (Network Attached Storage, NAS), a personal computer (personal computer, PC), a television (television, TV), a teller machine or a self-service machine, etc., which is not specifically limited in the embodiment of the present application.

[0246] The control device of the storage device in the embodiment of the present application may be a device having an operating system. The operating system may be an Android operating system, an IOS operating system, or other possible operating systems, which are not specifically limited in the embodiment of the present application.

[0247] The control device of the storage device provided in the embodiment of the present application can achieve Figures 1 to 3 To avoid repetition, the various processes implemented by the method embodiment are not described here.

[0248] In some embodiments, Figure 5 As shown, an embodiment of the present application provides a storage device 500, including: a box 510, an image sensor 520 and a control device for the storage device.

[0249] In this embodiment, the housing 510 forms a compartment.

[0250] The image sensor 520 is installed on the housing 510 .

[0251] The image sensor 520 is used to collect internal information of the storage device 500, such as commodity inventory and commodity display conditions.

[0252] The control device of the storage device is the control device of the storage device as described in any of the above embodiments.

[0253] The control device of the storage device is electrically connected to the image sensor.

[0254] According to the storage device 500 provided in the embodiment of the present application, the collection time period is determined by the location information of the storage device to be controlled, and then the image sensor 520 is controlled to perform image collection at at least one collection time within the collection time period, and the effective image is determined by the number of target features included in the image to be measured, so that subsequent image collection can be performed based on the collection time of the effective image, and the collection time with better imaging effect within a natural day can be determined, which is convenient for users to remotely determine the inventory or display status of items in the storage device 500, thereby helping to improve delivery efficiency and better manage terminal goods, and broaden the applicable scenarios; in addition, the effective image inside the storage device 500 can be captured remotely without installing built-in lights and door magnets, thereby reducing the hardware cost, production cost and after-sales cost of the storage device 500.

[0255] In some embodiments, Figure 6 As shown, an embodiment of the present application also provides an electronic device 600, including a processor 601, a memory 602, and a computer program stored in the memory 602 and executable on the processor 601. When the program is executed by the processor 601, each process of the control method embodiment of the above-mentioned storage device is implemented, and the same technical effect can be achieved. To avoid repetition, it will not be described here.

[0256] It should be noted that the electronic devices in the embodiments of the present application include the mobile electronic devices and non-mobile electronic devices mentioned above.

[0257] On the other hand, the present application also provides a computer program product, which includes a computer program stored on a non-transitory computer-readable storage medium, and the computer program includes program instructions. When the program instructions are executed by a computer, the computer can execute the various processes of the above-mentioned storage device control method embodiment and can achieve the same technical effect. To avoid repetition, it will not be repeated here.

[0258] On the other hand, the present application also provides a non-transitory computer-readable storage medium on which a computer program is stored. When the computer program is executed by a processor, it is implemented to execute the various processes of the control method embodiment of the above-mentioned storage device and can achieve the same technical effect. To avoid repetition, it will not be repeated here.

[0259] On the other hand, an embodiment of the present application further provides a chip, which includes a processor and a communication interface, wherein the communication interface is coupled to the processor, and the processor is used to run programs or instructions to implement the various processes of the above-mentioned storage device control method embodiment, and can achieve the same technical effect. To avoid repetition, it will not be repeated here.

[0260] It should be understood that the chip mentioned in the embodiments of the present application can also be called a system-level chip, a system chip, a chip system or a system-on-chip chip, etc.

[0261] The device embodiments described above are merely illustrative, wherein the units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, they may be located in one place, or they may be distributed on multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the scheme of this embodiment. Ordinary technicians in this field can understand and implement it without paying creative labor.

[0262] Through the description of the above implementation methods, those skilled in the art can clearly understand that each implementation method can be implemented by means of software plus a necessary general hardware platform, and of course, by hardware. Based on this understanding, the above technical solution can be essentially or in other words, the part that contributes to the relevant technology can be embodied in the form of a software product, which can be stored in a computer-readable storage medium, such as ROM / RAM, a disk, an optical disk, etc., including a number of instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to execute the methods described in each embodiment or some parts of the embodiment.

[0263] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present application, rather than to limit it. Although the present application has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or make equivalent replacements for some of the technical features therein. However, these modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present application.

Claims

1. A method for controlling a storage device, characterized in that: include: Based on the location information of the storage device to be controlled, determine the collection time period within a natural day; Controlling the image sensor in the storage device to be controlled to perform image acquisition at at least one acquisition time within the acquisition time period to obtain at least one image to be measured; In a case where it is determined based on the number of target features included in each of the images to be tested that at least one of the images to be tested is a valid image, controlling the image sensor to perform image acquisition based on the acquisition time corresponding to the valid image within each natural day; When it is determined that each of the images to be tested is an invalid image based on the number of target features included in each of the images to be tested, the at least one acquisition moment is updated, and the image sensor is controlled to perform image acquisition at the at least one updated acquisition moment to obtain at least one image to be tested.

2. The control method of the storage device according to claim 1, characterized in that: The determining that at least one of the images to be tested is a valid image based on the number of target features included in each of the images to be tested comprises: Acquire a first image captured by the image sensor on a historical natural day; When it is determined that the number of the target features included in the image to be tested is greater than the number of the target features included in the first image, the image to be tested is determined to be the valid image.

3. The control method of the storage device according to claim 2, characterized in that: In the case where it is determined that the number of the target features included in the image to be tested is greater than the number of the target features included in the first image, determining that the image to be tested is the valid image includes: When it is determined that the number of target features included in the image to be tested is greater than a first threshold, and the difference between the number of target features included in the image to be tested and the number of target features included in the first image is greater than a second threshold, the image to be tested is determined to be the valid image.

4. The control method of the storage device according to any one of claims 1 to 3, characterized in that: The controlling the image sensor in the storage device to be controlled to perform image acquisition at at least one acquisition time within the acquisition time period includes: Dividing the collection time period based on the first collection cycle to obtain the at least one collection time; The image sensor is controlled to perform image acquisition at the at least one acquisition time.

5. The control method of the storage device according to claim 4, characterized in that: The updating of the at least one collection time comprises: The first collection cycle is reduced, and the collection time period is divided based on the reduced first collection cycle to update the at least one collection moment.

6. The control method of the storage device according to any one of claims 1 to 3, characterized in that: The step of determining a collection time period within a natural day based on the location information of the storage device to be controlled includes: Based on the location information, determining a lighting time period in the environment where the storage device to be controlled is located; The collection time period is determined based on the illumination time period.

7. The control method of a storage device according to any one of claims 1 to 3, characterized in that: The updating of the at least one collection time comprises: Performing an offset process on the start time of the acquisition time period based on the target offset to obtain a new acquisition time period; Based on the new collection time period, the at least one collection time is updated.

8. The control method of a storage device according to any one of claims 1 to 3, characterized in that: After determining the acquisition time period within a natural day based on the location information of the storage device to be controlled and before obtaining at least one image to be tested, the method further includes: The image sensor is controlled to perform image acquisition at an acquisition time within a time period other than the acquisition time period within the natural day.

9. The control method of a storage device according to any one of claims 1 to 3, characterized in that: Before determining the collection time period within a natural day based on the location information of the storage device to be controlled, the method further includes: Controlling the image sensors of each candidate storage device disposed in the target area to perform image acquisition at a default acquisition time to obtain at least one second image corresponding to each of the storage devices; When the brightness of the second image is less than a third threshold, the candidate storage device corresponding to the second image is determined as the storage device to be controlled.

10. A control device for a storage device, characterized in that: include: A first processing module, used to determine a collection time period within a natural day based on the location information of the storage device to be controlled; A second processing module is used to control the image sensor in the storage device to be controlled to perform image acquisition at at least one acquisition time within the acquisition time period to obtain at least one image to be measured; A third processing module is used for controlling the image sensor to collect images based on the collection time corresponding to the valid image in each natural day when it is determined that at least one of the images to be tested is a valid image based on the number of target features included in each of the images to be tested; The fourth processing module is used to update the at least one acquisition moment when it is determined that each of the images to be tested is an invalid image based on the number of target features included in each of the images to be tested, and control the image sensor to perform image acquisition at the at least one updated acquisition moment to obtain at least one image to be tested.

11. A storage device, characterized in that: include: Box, forming a compartment; An image sensor, wherein the image sensor is mounted on the box; The control device for a storage device as claimed in claim 10, wherein the control device for the storage device is electrically connected to the image sensor.

12. An electronic device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein: When the processor executes the program, the control method of the storage device as described in any one of claims 1-9 is implemented.