Refrigerator internal space information processing method, apparatus, server, and storage medium
By obtaining information about the items to be purchased and the refrigerator's space, a storage strategy is generated, which solves the problem of mismatch between online food purchases and refrigerator space, thereby improving refrigerator utilization and user experience.
Patent Information
- Application Number
- CN202211742573.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-12-29
- Publication Date
- 2026-02-13
- Estimated Expiration
- 2042-12-29
AI Technical Summary
When users buy groceries online, they cannot know the available space inside the refrigerator, leading to unreasonable use of the refrigerator's internal space and a mismatch between the food and the space.
By obtaining information about the items to be purchased and the space inside the refrigerator, the system determines the space occupied and unoccupied by the items, generates a storage strategy after matching, and prompts the user.
This approach enables a more efficient storage strategy within the refrigerator, improving its utilization rate, reducing food waste, and enhancing the user experience.
Smart Images

Figure CN116412638B_ABST
Abstract
Description
TECHNICAL FIELD
[0001] Embodiments of the present application relate to the technical field of smart home, and particularly relate to a refrigerator space information processing method and device, a server and a storage medium. BACKGROUND
[0002] With the continuous development of household appliances, more and more household appliances enter thousands of households. The refrigerator device is widely used by people due to its functions of ice making and fresh keeping.
[0003] At present, online shopping is gradually popular, but when a user purchases food materials online, the available space in the refrigerator cannot be known, which easily causes the purchased food materials to be mismatched with the remaining space in the space, resulting in unreasonable space utilization in the refrigerator device. SUMMARY
[0004] In view of this, to solve the technical problem of unreasonable space utilization of the refrigerator device, embodiments of the present application provide a refrigerator space information processing method and device, a server and a storage medium.
[0005] In a first aspect, the embodiments of the present application provide a refrigerator space information processing method, comprising: obtaining item information of a to-be-purchased item displayed in a terminal device of a target object;
[0006] determining item occupied space information of the to-be-purchased item according to the item information;
[0007] obtaining space information in a refrigerator device corresponding to the target object, the space information at least comprising unoccupied space information;
[0008] determining a storage strategy of the to-be-purchased item in the refrigerator device according to the item occupied space information and the space information;
[0009] prompting the storage strategy of the to-be-purchased item.
[0010] In a possible implementation, the method further comprises:
[0011] obtaining time prediction information of the to-be-purchased item;
[0012] determining a target time at which the to-be-purchased item is expected to be delivered according to the time prediction information;
[0013] The obtaining of the space information in the refrigerator device corresponding to the target object comprises:
[0014] obtaining current stored item information in the refrigerator device;
[0015] obtaining historical consumption information of the stored items in the refrigerator device;
[0016] Based on the historical consumption information, the target time, and the stored item information, the predicted space information within the refrigerator device corresponding to the target time is determined.
[0017] In one possible implementation, the method further includes:
[0018] The space occupied by the item is matched with the predicted space information;
[0019] Based on the matching results, determine whether the purchase of the item to be purchased is confirmed. If the purchase is confirmed, determine the storage strategy.
[0020] The space information within the refrigerator device is updated according to the storage strategy.
[0021] In one possible implementation, obtaining the item information of the item to be purchased displayed on the target object's terminal device includes:
[0022] Obtain the page information or image information of the item to be purchased from the current display interface of the terminal device;
[0023] The item parameters of the item to be purchased are extracted from the page information or image information of the item to be purchased as the item information. The item parameters include at least one of the following: the identifier, weight, volume, capacity or shape of the item to be purchased.
[0024] In one possible implementation, determining the space occupied by the item to be purchased based on the item information includes:
[0025] The size information of the item to be purchased is determined based on the item information;
[0026] Obtain the quantity information of the item to be purchased from the display interface;
[0027] The space occupied by the item is determined based on the size information and the quantity to be purchased.
[0028] In one possible implementation, determining the space occupied by the item to be purchased based on the item information includes:
[0029] Pre-build the correspondence between the identifiers of multiple items and multiple size information;
[0030] When the terminal device displays the item to be purchased, the target identifier of the item to be purchased is extracted from the display interface;
[0031] Obtain the size information corresponding to the target identifier from the correspondence;
[0032] determining the item occupied space information according to the size information and the to-be-purchased quantity information.
[0033] In a possible implementation, the obtaining of the space information in the refrigerator device corresponding to the target object comprises:
[0034] scanning the interior of the refrigerator device to obtain unoccupied space in the interior of the refrigerator device;
[0035] determining, for each subspace in the unoccupied space, a space size corresponding to the subspace;
[0036] taking the space size of each subspace as the space information.
[0037] In a possible implementation, the determining of the storage strategy of the to-be-purchased item in the refrigerator device according to the item occupied space information and the space information comprises:
[0038] matching the space size of each subspace with the item occupied space information respectively;
[0039] determining, according to a matching result, whether the subspace is smaller than the item occupied space of the to-be-purchased item;
[0040] when each subspace is smaller than the item occupied space, determining a similarity between the item occupied space and each subspace;
[0041] determining a subspace with a maximum similarity as a first target subspace;
[0042] determining a target to-be-purchased quantity of the to-be-purchased item according to a space size corresponding to the first target subspace;
[0043] taking the target to-be-purchased quantity and a position of the first target subspace in the refrigerator device as a first storage strategy.
[0044] In a possible implementation, the method further comprises:
[0045] when each subspace is smaller than the item occupied space, obtaining an area identifier of each subspace in the refrigerator device;
[0046] determining whether a sum of at least two subspaces with the same area identifier is greater than or equal to the item occupied space;
[0047] if the determination result is yes, displaying positions of the at least two subspaces;
[0048] When a storable confirmation operation is received, the location of the at least two subspaces and the corresponding region identifier are determined as the first storage strategy.
[0049] In one possible implementation, determining the storage strategy for the item to be purchased within the refrigerator device based on the item's space occupancy information and the space information further includes:
[0050] When any of the subspaces is greater than or equal to the space occupied by the item, the subspace that is greater than or equal to the space occupied by the item is determined as the second target subspace;
[0051] The location of the second target subspace within the refrigerator device is used as the second storage strategy.
[0052] In one possible implementation, the items to be purchased include at least two, and the step of determining the storage strategy for the items to be purchased within the refrigerator device based on the space occupied by the items and the space information includes:
[0053] A first pre-storage strategy is determined based on the first space occupied information of the first item and the space information;
[0054] A second pre-storage strategy is determined based on the second occupied space information of the second item and the space information;
[0055] If the first pre-storage strategy and the second pre-storage strategy are different, then the first pre-storage strategy and the second pre-storage strategy shall be used as the storage strategy.
[0056] In one possible implementation, the method further includes:
[0057] When there are multiple first pre-storage strategies, for each first pre-storage strategy, determine the remaining space corresponding to the first pre-storage strategy;
[0058] When any of the remaining spaces matches the second item, the matched remaining space is determined to be the second pre-storage strategy, and the target first pre-storage strategy corresponding to the remaining space is determined.
[0059] The target first pre-storage strategy and the second pre-storage strategy are used as the storage strategy.
[0060] In one possible implementation, the items to be purchased include multiple items, and determining the storage strategy for the items to be purchased within the refrigerator device based on the space occupied by the items and the space information includes:
[0061] The storage priority of each item is determined based on its space-occupying information.
[0062] determining the storage location of each item according to the storage priority in sequence;
[0063] adjusting target quantity information corresponding to the item of the undetermined storage location when the current remaining space in the refrigerator device does not match the item of the undetermined storage location;
[0064] taking the target quantity information and the storage location as the storage strategy.
[0065] In one possible implementation, the method further includes:
[0066] obtaining first category information of items historically stored in the refrigerator device;
[0067] obtaining second category information of items currently stored in the refrigerator device when the space information meets a preset condition;
[0068] determining target category information different from the second category information in the first category information;
[0069] generating a third storage strategy according to the target category information, the third storage strategy being to store items corresponding to the target category information to unoccupied space in the refrigerator device.
[0070] In a second aspect, an embodiment of the present application provides a refrigerator space information processing apparatus, including:
[0071] an obtaining module configured to obtain item information of a to-be-purchased item displayed in a terminal device of a target object;
[0072] a determining module configured to determine item occupied space information of the to-be-purchased item according to the item information;
[0073] The obtaining module is further configured to obtain space information in a refrigerator device corresponding to the target object, the space information at least including unoccupied space information.
[0074] The determining module is further configured to determine a storage strategy of the to-be-purchased item in the refrigerator device according to the item occupied space information and the space information.
[0075] a prompting module configured to prompt the storage strategy of the to-be-purchased item.
[0076] In a third aspect, an embodiment of the present application provides a server, including a processor and a memory, the processor being configured to execute a refrigerator space information processing program stored in the memory to implement the refrigerator space information processing method in any one of the first aspect.
[0077] In a fourth aspect, an embodiment of the present application provides a storage medium storing one or more programs, wherein the one or more programs are executable by one or more processors,
[0078] To implement the refrigerator internal space information processing method of any one of the above first aspect.
[0079] The refrigerator internal space information processing scheme provided by the embodiment of the present application can obtain the item information of the to-be-purchased item displayed in the terminal device of the target object, determine the item occupied space information of the to-be-purchased item according to the item information, obtain the space information in the refrigerator device corresponding to the target object, wherein the space information at least includes unoccupied space information, determine the storage strategy of the to-be-purchased item in the refrigerator device according to the item occupied space information and the space information, and prompt the storage strategy of the to-be-purchased item.
[0080] Thereby, the storage strategy of reasonably arranging the internal space of the refrigerator according to the online to-be-purchased item information can be implemented, the utilization rate of the refrigerator is improved, the food material waste is reduced, and the user experience is improved.
[0081] The refrigerator internal space information processing scheme provided by the embodiment of the present application can implement the storage strategy of reasonably arranging the internal space of the refrigerator according to the online to-be-purchased item information, improve the utilization rate of the refrigerator, reduce the food material waste, and improve the user experience. BRIEF DESCRIPTION OF DRAWINGS
[0082] Figure 1 The flowchart of the refrigerator internal space information processing method provided by the embodiment of the present application is shown in the figure;
[0083] Figure 2 The flowchart of another refrigerator internal space information processing method provided by the embodiment of the present application is shown in the figure;
[0084] Figure 3 The flowchart of another refrigerator internal space information processing method provided by the embodiment of the present application is shown in the figure;
[0085] Figure 4 The structural diagram of the refrigerator internal space information processing device provided by the embodiment of the present application is shown in the figure;
[0086] Figure 5 The structural diagram of the server provided by the embodiment of the present application is shown in the figure. DETAILED DESCRIPTION
[0087] To make the purpose, technical scheme and advantages of the embodiment of the present application clearer, the technical scheme in the embodiment of the present application will be described clearly and completely below with reference to the drawings in the embodiment of the present application. Obviously, the described embodiment is a part of the embodiments of the present application, rather than all the embodiments of the present application. Based on the embodiments in the present application, all other embodiments obtained by those skilled in the art without creative labor are within the protection scope of the present application.
[0088] In order to make the person skilled in the art have a better understanding of the embodiments of the application, specific embodiments will be further explained in combination with the accompanying drawings, and the embodiments do not constitute limitations to the embodiments of the application.
[0089] Figure 1 A flowchart of a refrigerator space information processing method provided by the embodiments of the application is shown in FIG. 1, and the method specifically includes the following steps. Figure 1
[0090] S11, obtaining item information of a to-be-purchased item displayed in a terminal device of a target object.
[0091] The refrigerator space information processing method provided by the embodiments of the application is applied to a server, and specifically, the server obtains the occupied space of the to-be-purchased item displayed in the terminal, matches the occupied space with the remaining space in the refrigerator device, and determines the storage strategy of the item according to the matching result. In the application, the refrigerator device can also be replaced by any device with a storage function, which can include a storage box, a storage cabinet, a refrigeration device, a refrigerator device, a freezer device, etc.
[0092] In the embodiments, the target object is a user of a terminal device, and the terminal device is a device that can purchase items online, for example, the terminal device can be a mobile phone, a computer, a tablet computer, etc. of the user. The to-be-purchased item is an item currently displayed in the terminal device or an item selected by the user in the interface currently displayed in the terminal device.
[0093] Specifically, when detecting the item in the terminal display interface, it is determined whether it is a purchaseable interface (for example, an item order settlement interface, an item ordering interface, an item detail page interface, etc.), and the item in the interface is determined as the to-be-purchased item, or receiving a selection operation of the user on any item, and determining the selected item as the to-be-purchased item. The page information (for example, the item link) or image information (image of the to-be-purchased item) of the to-be-purchased item is obtained from the current display interface of the terminal device, and the item parameters are extracted from the page information or image information as the item information, which includes but is not limited to the size, weight, identification, volume, shape or volume of the to-be-purchased item, etc.
[0094] S12, determining item occupied space information of the to-be-purchased item according to the item information.
[0095] In the embodiment, the item space occupation information includes the volume and shape of the space occupied by the item in the refrigerator device. When the item has a fixed package (for example, a box, a barrel, a bottle, etc.), the shape of the item can be extracted according to the picture information of the item, and the volume of the to-be-purchased item can be calculated according to the volume, weight or size in the item introduction. If the item is an irregular item or an item without a fixed package, or an item without size information (for example, potatoes, cauliflower, etc.), the density of the item is retrieved from the Internet according to the identification of the item, and the volume and shape of the item are estimated according to the weight of the item and the density of the item as the item space occupation information.
[0096] As an example, the item is a cylindrical package, and after the volume or weight of the item is obtained, the actual volume of the item is determined according to the ratio of the height of the item to the diameter of the bottom in the picture, and the actual height and the circumference of the bottom are determined as the item space occupation information. Or, the size of the item introduced in the item detail interface is directly obtained as the item space occupation information.
[0097] In a possible implementation, the size information of the to-be-purchased item is determined according to the item information; the to-be-purchased quantity information of the to-be-purchased item is obtained from the display interface; and the item space occupation information is determined according to the size information and the to-be-purchased quantity information.
[0098] Specifically, the size of the to-be-purchased item is determined according to the item information, for example, the length of each side, the circumference, etc. of a regular item are determined as the size information, and the volume and shape of an irregular item are determined as the size information. The to-be-purchased quantity information of the to-be-purchased item displayed in the display interface of the device is obtained. The display interface can be an interface for ordering purchase by the user, and the quantity of the item purchased by the user in the interface is taken as the quantity information, or the weight of the item purchased by the user is taken as the quantity information. The display interface can also be an interface for displaying item information, and the interface includes the quantity or weight of the item corresponding to the link. Further, the determined size information is the size of a single item, and the size information is multiplied by the quantity information to obtain the item space occupation information (for example, the size information is 1L, the quantity information is 2, and the item space occupation information is 2L).
[0099] In a possible implementation, the sizes of a plurality of items frequently purchased by a plurality of users are pre-obtained as the size information, and a corresponding relationship between the identifiers (names or numbers) of the plurality of items and the plurality of size information is constructed; when the terminal device displays a to-be-purchased item, or the user switches the display interface of the terminal device to an item detail page of the to-be-purchased item, the target identifier of the to-be-purchased item is extracted from the display interface or the item detail interface; the size information corresponding to the target identifier is obtained from the corresponding relationship; and the item space occupation information is determined according to the size information and the to-be-purchased quantity information.
[0100] S13, acquire space information in the refrigerator device corresponding to the target object, the space information at least comprising: unoccupied space information.
[0101] In this embodiment, the space in which no article is stored in the refrigerator device is acquired by an image acquisition device, a video acquisition device, a scanning device, a laser ranging device, an ultrasonic ranging device, etc., and the size, volume, shape, and position in the refrigerator of the space in which no article is stored are determined as the unoccupied space information. Alternatively, the volume, shape, and storage position of an article are recorded as occupied space information each time an article is stored in the refrigerator during the historical storage of articles in the refrigerator, and the volume, size, shape, and position of the unoccupied space remaining in the refrigerator after each article is stored are determined as the unoccupied space information according to the occupied space information. When a new article is stored in the space, the unoccupied information is updated, or the user inputs the shape, volume, size, and position of the unoccupied space in the refrigerator as the unoccupied space information through a terminal device.
[0102] S14, determine a storage strategy of the to-be-purchased article in the refrigerator device according to the article occupied space information and the space information.
[0103] In this embodiment, the article occupied space information and the space information are matched, and it is specifically determined whether the article can be placed in each independent unoccupied space. When the article can be placed in a certain unoccupied space, the position of the unoccupied space is taken as the storage strategy. When the article cannot be placed in any unoccupied space, the quantity (for example, the number of kilograms or the number of portions) of the to-be-purchased article is adjusted according to any unoccupied space information, and the adjusted quantity and the unoccupied space are taken as the storage strategy.
[0104] As an example, the unoccupied space A has a volume of 2 liters and is located at the right side of the first layer of the refrigerator freezer. At this time, the to-be-purchased article is a can of 250ML cola. After matching, it is determined that the cola can be placed in A, and the generated storage strategy is to store the cola at the right side of the first layer of the refrigerator freezer.
[0105] As an example, the unoccupied space B has a volume of 1 liter and a shape of a cube, and is located at the right side of the second layer of the refrigerator freezer. At this time, the to-be-purchased article is two boxes of biscuits. It is determined that the article occupied space information of the biscuits is a cube of 1.5L. After matching, it is determined that the purchase quantity of the biscuits needs to be adjusted to one box, which is placed in B. The generated storage strategy is to purchase one box of biscuits and store them at the right side of the second layer of the refrigerator freezer.
[0106] S15, prompt the storage strategy of the to-be-purchased article.
[0107] In this embodiment, the storage strategy is sent to a terminal device and displayed, so as to remind the user of the purchase quantity and the storage position in the refrigerator at which the article can be stored through the storage strategy.
[0108] In a possible implementation, first category information of an article historically stored in the refrigerator device is acquired; second category information of an article currently stored in the refrigerator device is acquired when the space information meets a preset condition; target category information different from the second category information in the first category information is determined; and a third storage strategy is generated according to the target category information, the third storage strategy being to store an article corresponding to the target category information to an unoccupied space in the refrigerator device.
[0109] Specifically, when the refrigerator device historically stores articles, the identifiers of the historically stored articles are acquired, and the category corresponding to each identifier is determined as first category information according to a preset classification rule (for example, the identifier is cola, the first category information is beverage, and the identifier is apple, the first category information is fruit). The preset condition is preset as follows: when the volume of the unoccupied space is greater than a first preset threshold (for example, 5L), or the proportion of the unoccupied space in the total space in the refrigerator device is greater than a second preset threshold (for example, 50%), it is determined that the space information meets the preset condition, the identifiers of the articles currently stored in the refrigerator device are acquired, and the category corresponding to each identifier is determined as second category information. The category different from the second category information in the first category information is determined as target category information (for example, the first category information is fruit and beverage, the second category information is fruit, and the target category information is determined as beverage). The target article to be purchased corresponding to the target category information (for example, beverage corresponding to cola) is determined, and the storage strategy of the target article to be purchased is determined as a third storage strategy based on the steps S14-S15. The third storage strategy is to remind a user to purchase the target article to be purchased, and to store the target article to an arbitrary sub-space corresponding position in the unoccupied space in the refrigerator device.
[0110] The refrigerator space information processing method provided by the embodiment of the application can reasonably arrange the storage strategy of the internal space of the refrigerator according to the online article information to be purchased, improve the utilization rate of the refrigerator, reduce food waste, and improve the user experience.
[0111] Figure 2 Another flowchart of a refrigerator space information processing method provided by the embodiment of the application is shown in FIG. 2, and the method specifically includes the following steps. Figure 2
[0112] S21, acquire time prediction information of the to-be-purchased item; determine a target time when the to-be-purchased item is predicted to be delivered according to the time prediction information.
[0113] In the embodiment, the time prediction information is a predicted transportation time of the to-be-purchased item, that is, a time required for the to-be-purchased item to be delivered to the user's delivery address. A keyword (for example, predicted delivery time, predicted transportation time, predicted delivery time, delivery location, etc.) is extracted in a purchase interface of the to-be-purchased item or an introduction interface of the item. When the predicted delivery time is extracted, the delivery time is directly taken as the time prediction information. When the predicted delivery time is not extracted, a delivery time is predicted according to the delivery location and the delivery location as the time prediction information.
[0114] Further, the current time is acquired. The target time is obtained by adding the delivery time to the current time according to the time prediction information. When the item is a pre-sale item, the target time is obtained by adding the delivery time and the pre-sale time to the current time.
[0115] S22, acquire current stored item information in the refrigerator device; acquire historical consumption information of the stored items in the refrigerator device; determine predicted space information in the refrigerator device corresponding to the target time according to the historical consumption information, the target time, and the stored item information.
[0116] In the embodiment, the average volume of each identified stored item removed from the refrigerator per day within a preset time period is acquired as the historical consumption information (for example, the preset time period is 10 days, and the total volume of the item identified as milk removed from the refrigerator within the 10 days is 10L, so that the average volume of the item identified as milk removed per day is 1L, and 1L per day is taken as the historical consumption information of the item identified as milk). Each identification corresponds to a historical consumption message.
[0117] Further, the identification of the stored item and the volume of the occupied space are acquired as the stored item information by a scanning device, an image acquisition device, etc. The historical consumption of each stored item is determined according to the identification. The volume of the item predicted to be consumed is determined according to the historical consumption and the target time (for example, the historical consumption is 1L per day, and the target time is three days later, so that the predicted consumption volume is 3L). The volume of the predicted occupied space in the refrigerator when the target time is reached is obtained by subtracting the predicted consumption volume from the volume of the occupied space. The volume and position of the unoccupied space when the target time is reached are obtained by subtracting the volume of the predicted occupied space from the total volume of the refrigerator as the predicted space information.
[0118] S23, match the item occupation space information with the predicted space information; determine whether the to-be-purchased item is confirmed to be purchased according to a matching result, and if the to-be-purchased item is confirmed to be purchased, determine the storage strategy; and update the obtained space information in the refrigerator device according to the storage strategy.
[0119] In the embodiment, the item occupation space information of the to-be-purchased item is obtained according to step S12, the item occupation space information is matched with the predicted space information, it is determined whether the to-be-purchased item can be stored in the predicted unoccupied space when the to-be-purchased item is delivered, and the determination result, the target time and the predicted space information are displayed to the user through the terminal device, and if an instruction of confirming to purchase is received from the user, the position of the unoccupied space at the predicted target time is taken as the storage strategy, and the storage strategy can be that when the to-be-purchased item is received, the item is stored in the position corresponding to the predicted space information.
[0120] Further, the space information is updated according to the above storage strategy, that is, the position corresponding to the predicted space information is updated to the occupied space, so that it is prevented that the predicted space is not calculated when the storage strategy of other items is determined again before the item is delivered.
[0121] The refrigerator space information processing method provided in the embodiment of the application comprises the following steps: obtaining time prediction information of a to-be-purchased item; determining a target time at which the to-be-purchased item is expected to be delivered according to the time prediction information; obtaining stored item information in a refrigerator device; obtaining historical consumption information of the stored items in the refrigerator device; determining predicted space information in the refrigerator device corresponding to the target time according to the historical consumption information, the target time and the stored item information; matching the item occupation space information with the predicted space information; determining whether the to-be-purchased item is confirmed to be purchased according to a matching result, and if the to-be-purchased item is confirmed to be purchased, determining the storage strategy; and updating the obtained space information in the refrigerator device according to the storage strategy. Thus, the storage position of the item in the refrigerator is determined according to the actual delivery time of the item, the storage space is predicted, and the user experience is improved.
[0122] Figure 3 A flowchart of another refrigerator space information processing method provided in the embodiment of the application is shown in FIG. 4. Figure 3 The method specifically comprises the following steps.
[0123] S31, obtaining item information of a to-be-purchased item displayed in a terminal device of a target object.
[0124] In the embodiment, the same as step S11, and the specific description is referred to S11, which is not described herein.
[0125] S32, determine the item space occupation information of the to-be-purchased item according to the item information.
[0126] In this embodiment, the same as step S12, and the specific description can be referred to S12, which is not repeated here.
[0127] S33, scan the inside of the refrigerator device to obtain the unoccupied space inside the refrigerator device; for each subspace in the unoccupied space, determine the space size corresponding to the subspace; and take the space size of each subspace as the space information.
[0128] In this embodiment, the space inside the refrigerator device is scanned by a scanning device to obtain the unoccupied space. Since there are multiple individual unoccupied spaces inside the refrigerator, each individual unoccupied space is determined as a subspace (for example, the independent unoccupied space in the first layer of the refrigeration area is a subspace, and the independent unoccupied space in the second layer of the refrigeration area is a subspace), and the size (for example, length, width, height, volume, or capacity) of each subspace is obtained as the space size. The space sizes of all the subspaces obtained are taken as the space information.
[0129] S34, match the space size of each subspace with the item space occupation information respectively; and determine whether the subspace is smaller than the item space occupation of the to-be-purchased item according to the matching result.
[0130] In this embodiment, each space size is matched with the item space occupation information. The matching method includes but is not limited to: the space size determines the volume of each subspace, and the volume is compared with the volume of the item space occupation. When the volume of the subspace is smaller than the item space occupation, it is determined that the subspace is smaller than the item space occupation of the to-be-purchased item. When the volume of the subspace is greater than or equal to the item space occupation, it is determined that the subspace is greater than or equal to the item space occupation of the to-be-purchased item. Alternatively, according to the length of each side of the to-be-purchased item and the length of each side of the subspace, it is determined whether the to-be-purchased item can be placed in the subspace. When it cannot be placed, it is determined that the subspace is smaller than the item space occupation. When it can be placed, it is determined that the subspace is greater than or equal to the item space occupation.
[0131] S35, when each subspace is smaller than the item space occupation, determine the similarity between the item space occupation and each subspace; and determine the subspace with the greatest similarity as the first target subspace.
[0132] In the embodiment, when each sub-space is smaller than the article occupation space, it indicates that the to-be-purchased article cannot be placed at present, a sub-space most similar to the article occupation space of the to-be-purchased article is determined as the first target sub-space from the plurality of sub-spaces, and the similarity includes but is not limited to: similarity of the volume of the article occupation space and the volume of the sub-space, or similarity of the shape of the article occupation space and the shape of the sub-space.
[0133] In the embodiment, since the first target sub-space is smaller than the article occupation space, the target to-be-purchased quantity of the to-be-purchased article needs to be reduced according to the volume of the first target sub-space. Specifically, the quantity of the to-be-purchased article can be reduced in small doses in sequence (for example, one or two, one box, one bottle, etc. each time), and after the reduction, the article occupation space is determined again, and the step of judging whether the first target sub-space is smaller than the article occupation space is repeatedly executed until the first target sub-space is greater than or equal to the article occupation space. At this time, the quantity of the to-be-purchased article is taken as the target to-be-purchased quantity. The target to-be-purchased quantity and the position of the first target sub-space in the refrigerator device are taken as the first storage strategy, and the first storage strategy is: purchasing the article according to the target to-be-purchased quantity and storing the article to the position of the first target sub-space in the refrigerator device.
[0134] In the embodiment, since the first target sub-space is smaller than the article occupation space, the target to-be-purchased quantity of the to-be-purchased article needs to be reduced according to the volume of the first target sub-space. Specifically, the quantity of the to-be-purchased article can be reduced in small doses in sequence (for example, one or two, one box, one bottle, etc. each time), and after the reduction, the article occupation space is determined again, and the step of judging whether the first target sub-space is smaller than the article occupation space is repeatedly executed until the first target sub-space is greater than or equal to the article occupation space. At this time, the quantity of the to-be-purchased article is taken as the target to-be-purchased quantity. The target to-be-purchased quantity and the position of the first target sub-space in the refrigerator device are taken as the first storage strategy, and the first storage strategy is: purchasing the article according to the target to-be-purchased quantity and storing the article to the position of the first target sub-space in the refrigerator device.
[0135] In one possible implementation, when any sub-space is greater than or equal to the article occupation space, the sub-space greater than or equal to the article occupation space is determined as a second target sub-space; the position of the second target sub-space in the refrigerator device is obtained, and the position of the second target sub-space in the refrigerator device is taken as a second storage strategy. The second storage strategy is: storing the to-be-purchased article to the position of the second target sub-space in the refrigerator device. In this way, when the to-be-purchased article can be placed in the refrigerator device, the storage position of the article can be directly determined without adjusting the purchase quantity.
[0136] In one possible implementation, when each sub-space is smaller than the article occupation space, the area identifier of each sub-space in the refrigerator device is obtained; whether the sum of at least two sub-spaces with the same area identifier is greater than or equal to the article occupation space is judged; if the result of the judgment is yes, the positions of the at least two sub-spaces are displayed; when a storable confirmation operation is received, the positions of the at least two sub-spaces and the corresponding area identifier are determined as the first storage strategy.
[0137] Specifically, the area identifier is the identifier of each layer in the refrigerator device (for example, the first layer of the refrigeration area is identified as 1), the total subspaces in each layer corresponding to each area identifier are obtained respectively, when a layer includes at least two subspaces, the sum of the volumes of all subspaces in the layer is determined, and it is determined whether the sum of the volumes is greater than or equal to the occupied space of the article. If the result of the determination is yes, the terminal device shows the positions of the at least two subspaces to the user, and the user determines whether the to-be-purchased article can be stored in the positions corresponding to the at least two subspaces after being split. When a storable confirmation operation is received, the positions of the at least two subspaces and the corresponding area identifiers are determined as the first storage strategy. In this way, the same to-be-purchased article can be placed in the same layer in the refrigerator device, which facilitates the user to find.
[0138] In one possible implementation, when the number of to-be-purchased articles is at least two, the present embodiment takes the first article and the second article as examples for introduction, determines the first pre-storage strategy according to the first occupied space information and the space information of the first article; determines the second pre-storage strategy according to the second occupied space information and the space information of the second article; and if the first pre-storage strategy and the second pre-storage strategy are different, the first pre-storage strategy and the second pre-storage strategy are taken as the storage strategy.
[0139] Specifically, the terminal device obtains the number of to-be-purchased articles added to the shopping cart in a recent time period in the current shopping application, or receives a selection operation of the user. When the selection operation is that the user selects two to-be-purchased articles, first, the unoccupied space in the refrigerator device is obtained as the space information, and then the corresponding article occupied space information is determined based on the first article and the second article. Further, the steps of S31-S36 are performed, the storage strategy of the first article is determined according to the first occupied space information and the space information of the first article as the first pre-storage strategy, and the storage strategy of the second article is determined according to the second occupied space information and the space information of the second article as the second pre-storage strategy. The storage positions in the two pre-storage strategies are compared, and if the storage positions in the first pre-storage strategy and the second pre-storage strategy are different, the first pre-storage strategy and the second pre-storage strategy are taken as the storage strategy. If the storage positions in the first pre-storage strategy and the second pre-storage strategy are the same, or the two positions overlap, the first pre-storage strategy and the second pre-storage strategy are displayed to the user through the terminal device, and the pre-storage strategy selected by the user is received as the storage strategy.
[0140] In the present embodiment, when there are a plurality of first pre-storage strategies, for each first pre-storage strategy, the corresponding remaining space of the first pre-storage strategy is determined. When any remaining space matches the second article, the matching remaining space is determined as the second pre-storage strategy, and the target first pre-storage strategy corresponding to the remaining space is determined. The target first pre-storage strategy and the second pre-storage strategy are taken as the storage strategy.
[0141] Specifically, the first pre-storage strategy of the first item is determined first. When there are multiple subspaces that can store the first item, it is determined that there are multiple first pre-storage strategies. The remaining space corresponding to each first pre-storage strategy is determined, and the remaining space includes at least one subspace. When any subspace in any remaining space matches the second item, the subspace is determined as the second pre-storage strategy. The first pre-storage strategy corresponding to the remaining space is determined as the target first pre-storage strategy. The target first pre-storage strategy and the second pre-storage strategy are used as the storage strategy. In this way, the storage position of the first item is ensured first, and then the storage position of the second item is determined according to the storage of the first item.
[0142] In one possible implementation, when there are multiple items to be purchased, the storage priority of each item is determined according to the item space occupation information of each item. The storage position of each item is determined in sequence according to the storage priority. When the current remaining space in the refrigerator device does not match any item whose storage position is not determined, the target quantity information corresponding to the item whose storage position is not determined is adjusted. The target quantity information and the storage position are used as the storage strategy.
[0143] Specifically, the storage priority can be pre-set by the user, including but not limited to: the storage priority of the item with the largest volume corresponding to the item space occupation information is the highest, and the storage priority of the item with the smallest volume corresponding to the item space occupation information is the lowest. The step of matching the item occupation information with the space information of the refrigerator is performed on the items to be purchased in sequence according to the storage priority, so as to obtain the storage position according to the storage priority. When each subspace in the current remaining space in the refrigerator device does not match any item whose storage position is not determined, the target quantity information corresponding to the item whose storage position is not determined under the current storage priority is adjusted. After the adjustment, the storage positions of other items are determined according to the storage priority, until the storage position of the last item is determined. The target quantity information and the storage position corresponding to each item are used as the storage strategy.
[0144] S37, prompting the storage strategy of the item to be purchased.
[0145] In this embodiment, similar to step S15, specific descriptions are referred to S15, which are not described herein.
[0146] The refrigerator internal space information processing method provided by the embodiment of the present application comprises the following steps: obtaining item information of a to-be-purchased item displayed in a terminal device of a target object; determining item occupied space information of the to-be-purchased item according to the item information; scanning inside a refrigerator device to obtain unoccupied space inside the refrigerator device; determining a space size corresponding to each sub-space in the unoccupied space; taking the space size of each sub-space as the space information; matching the space size of each sub-space with the item occupied space information respectively; determining whether each sub-space is smaller than the item occupied space according to a matching result; when each sub-space is smaller than the item occupied space, determining a similarity between the item occupied space and each sub-space; determining a first target sub-space with the largest similarity; determining a target to-be-purchased quantity of the to-be-purchased item according to the space size corresponding to the first target sub-space; taking the target to-be-purchased quantity and a position of the first target sub-space in the refrigerator device as a first storage strategy; and prompting the storage strategy of the to-be-purchased item. Therefore, the use space inside the refrigerator can be reasonably allocated according to the item to be purchased by the user online, and the utilization rate of the refrigerator is improved.
[0147] Figure 4 A structural schematic diagram of a refrigerator internal space information processing device provided by the embodiment of the present application is shown in Figure 4 The device comprises:
[0148] An obtaining module 41 is configured to obtain item information of a to-be-purchased item displayed in a terminal device of a target object.
[0149] A determining module 42 is configured to determine item occupied space information of the to-be-purchased item according to the item information.
[0150] The obtaining module 41 is further configured to obtain space information of a refrigerator device corresponding to the target object, wherein the space information at least comprises unoccupied space information.
[0151] The determining module 42 is further configured to determine a storage strategy of the to-be-purchased item in the refrigerator device according to the item occupied space information and the space information.
[0152] A prompting module 43 is configured to prompt the storage strategy of the to-be-purchased item.
[0153] In a possible implementation, the obtaining module is specifically configured to obtain time prediction information of the to-be-purchased item.
[0154] The determining module is specifically configured to determine a target time at which the to-be-purchased item is expected to be delivered according to the time prediction information.
[0155] The obtaining module is specifically configured to obtain current stored item information in the refrigerator device.
[0156] obtain historical consumption information of stored items in the refrigerator device;
[0157] The determination module is specifically configured to determine predicted space information in the refrigerator device corresponding to the target time according to the historical consumption information, the target time, and the stored item information.
[0158] In one possible implementation, the matching module 44 is configured to match the item space information with the predicted space information.
[0159] The determination module is further configured to determine whether the to-be-purchased item is confirmed to be purchased according to a matching result, and determine the storage strategy if the to-be-purchased item is confirmed to be purchased.
[0160] The updating module 45 is configured to update the obtained space information in the refrigerator device according to the storage strategy.
[0161] In one possible implementation, the obtaining module is specifically configured to obtain page information or image information of the to-be-purchased item from a current display interface of the terminal device.
[0162] The item parameter of the to-be-purchased item is extracted from the page information or image information of the to-be-purchased item as the item information, and the item parameter at least includes one of the following: an identifier, a weight, a volume, a capacity, or a shape of the to-be-purchased item.
[0163] In one possible implementation, the determination module is specifically configured to determine size information of the to-be-purchased item according to the item information.
[0164] The obtaining module is specifically configured to obtain to-be-purchased quantity information of the to-be-purchased item from the display interface.
[0165] The item space information is determined according to the size information and the to-be-purchased quantity information.
[0166] In one possible implementation, the construction module 46 is configured to pre-construct a correspondence relationship between identifiers of a plurality of items and a plurality of size information.
[0167] The obtaining module is specifically configured to extract a target identifier of the to-be-purchased item from the display interface when the terminal device displays the to-be-purchased item.
[0168] The size information corresponding to the target identifier is obtained from the correspondence relationship.
[0169] The item space information is determined according to the size information and the to-be-purchased quantity information.
[0170] In a possible implementation, the obtaining module is specifically configured to scan the interior of the refrigerator device to obtain the unoccupied space in the interior of the refrigerator device.
[0171] For each sub-space in the unoccupied space, the corresponding space size of the sub-space is determined.
[0172] The space size of each sub-space is taken as the space information.
[0173] In a possible implementation, the matching module is specifically configured to match the space size of each sub-space with the item occupied space information respectively.
[0174] The determining module is specifically configured to determine whether the sub-space is smaller than the item occupied space of the to-be-purchased item according to the matching result.
[0175] When each sub-space is smaller than the item occupied space, the similarity between the item occupied space and each sub-space is determined.
[0176] The sub-space with the maximum similarity is determined as a first target sub-space.
[0177] According to the space size corresponding to the first target sub-space, a target to-be-purchased quantity of the to-be-purchased item is determined.
[0178] The target to-be-purchased quantity and the location of the first target sub-space in the refrigerator device are taken as a first storage strategy.
[0179] In a possible implementation, the obtaining module is specifically configured to obtain the area identifier of each sub-space in the refrigerator device when each sub-space is smaller than the item occupied space.
[0180] The determining module is specifically configured to determine whether the sum of at least two sub-spaces with the same area identifier is greater than or equal to the item occupied space.
[0181] If the determination result is yes, the locations of the at least two sub-spaces are displayed.
[0182] When a storable confirmation operation is received, the locations and the corresponding area identifiers of the at least two sub-spaces are determined as the first storage strategy.
[0183] In a possible implementation, the determining module is specifically configured to determine, when any sub-space is greater than or equal to the item occupied space, the sub-space greater than or equal to the item occupied space as a second target sub-space.
[0184] determine a second storage strategy according to second occupied space information of a second item and the space information.
[0185] In a possible implementation, the determining module is specifically configured to determine a first pre-storage strategy according to the first occupied space information of the first item and the space information.
[0186] determine a second pre-storage strategy according to second occupied space information of a second item and the space information.
[0187] If the first pre-storage strategy and the second pre-storage strategy are different, the first pre-storage strategy and the second pre-storage strategy are determined as the storage strategy.
[0188] In a possible implementation, the determining module is specifically configured to, when there are a plurality of first pre-storage strategies, determine, for each first pre-storage strategy, a remaining space corresponding to the first pre-storage strategy.
[0189] When any remaining space matches the second item, the matched remaining space is determined as a second pre-storage strategy, and a target first pre-storage strategy corresponding to the remaining space is determined.
[0190] The target first pre-storage strategy and the second pre-storage strategy are determined as the storage strategy.
[0191] In a possible implementation, the determining module is specifically configured to determine a storage priority of each item according to item occupied space information of the each item.
[0192] The storage position of the each item is determined in sequence according to the storage priority.
[0193] When a current remaining space in the refrigerator device does not match any item with an undetermined storage position, a target quantity information corresponding to the item with the undetermined storage position is adjusted.
[0194] The target quantity information and the storage position are determined as the storage strategy.
[0195] In a possible implementation, the obtaining module is further configured to obtain first category information of items historically stored in the refrigerator device.
[0196] When the space information meets a preset condition, second category information of items currently stored in the refrigerator device is obtained.
[0197] The determining module is specifically configured to determine target category information different from the second category information in the first category information.
[0198] A third storage strategy is generated according to the target category information, and the third storage strategy is to store the item corresponding to the target category information to an unoccupied space in the refrigerator device.
[0199] Figure 5 A structural schematic diagram of a server is provided for an embodiment of the present application, Figure 5 The server 500 shown includes at least one processor 501, a memory 502, at least one network interface 504, and other user interfaces 503. The various components in the server 500 are coupled together by a bus system 505. It can be understood that the bus system 505 is used to realize the connection communication between the components. In addition to including a data bus, the bus system 505 also includes a power bus, a control bus, and a state signal bus. However, for the purpose of clear illustration, all the buses are marked as the bus system 505 in the Figure 5
[0200] The user interface 503 can include a display, a keyboard, or a clicking device (for example, a mouse, a trackball, a touchpad, or a touch screen, etc.).
[0201] It can be understood that the memory 502 in the embodiment of the present application can be a volatile memory or a non-volatile memory, or can include both volatile and non-volatile memories. The non-volatile memory can be a read-only memory (Read-Only Memory, ROM), a programmable read-only memory (Programmable ROM, PROM), an erasable programmable read-only memory (Erasable PROM, EPROM), an electrically erasable programmable read-only memory (Electrically EPROM, EEPROM), or a flash memory. The volatile memory can be a random access memory (Random Access Memory, RAM) used as an external cache. By way of example but not limitation, many forms of RAM are available, such as static random access memory (Static RAM, SRAM), dynamic random access memory (Dynamic RAM, DRAM), synchronous dynamic random access memory (Synchronous DRAM, SDRAM), double data rate synchronous dynamic random access memory (Double Data Rate SDRAM, DDR SDRAM), enhanced synchronous dynamic random access memory (Enhanced SDRAM, ESDRAM), synchronous link dynamic random access memory (Synch link DRAM, SLDRAM), and direct memory bus random access memory (Direct Rambus RAM, DRRAM). The memory 502 described herein is intended to include but not limited to these and any other suitable types of memory.
[0202] In some embodiments, the memory 502 stores the following elements, executable units or data structures, or a subset of them, or an extended set of them: an operating system 5021 and application programs 5022.
[0203] The operating system 5021 contains various system programs, such as a framework layer, a core library layer, a driver layer, etc., for implementing various basic services and processing hardware-based tasks. The application programs 5022 contain various application programs, such as a media player, a browser, etc., for implementing various application services. The programs for implementing the method embodiments of the present application can be included in the application programs 5022.
[0204] In the embodiments of the present application, by invoking the programs or instructions stored in the memory 502, specifically, the programs or instructions stored in the application programs 5022, the processor 501 is configured to execute the method steps provided by the various method embodiments, for example, including:
[0205] Obtaining item information of a to-be-purchased item displayed in a terminal device of a target object;
[0206] Determining item occupied space information of the to-be-purchased item according to the item information;
[0207] Obtaining space information in a refrigerator device corresponding to the target object, the space information at least including unoccupied space information;
[0208] Determining a storage strategy of the to-be-purchased item in the refrigerator device according to the item occupied space information and the space information;
[0209] Prompting the storage strategy of the to-be-purchased item.
[0210] The method disclosed by the embodiments of the present application can be applied to the processor 501 or implemented by the processor 501. The processor 501 can be an integrated circuit chip having a signal processing capability. In the implementation process, each step of the above method can be completed by the integrated logic circuit of hardware in the processor 501 or the instruction in the form of software. The above processor 501 can be a general processor, a digital signal processor (Digital Signal Processor, DSP), an application specific integrated circuit (Application Specific Integrated Circuit, ASIC), a field programmable gate array (Field Programmable Gate Array, FPGA) or other programmable logic device, a discrete gate or transistor logic device, a discrete hardware component. Each method, step and logic block disclosed in the embodiments of the present application can be implemented or executed. The general processor can be a microprocessor or the processor can also be any conventional processor or the like. The steps of the method disclosed in combination with the embodiments of the present application can be directly embodied as a hardware decoding processor for execution, or a combination of hardware and software units in the decoding processor for execution.
[0211] The steps of the method disclosed in combination with the embodiments of the present application can be directly embodied as a hardware decoding processor for execution, or a combination of hardware and software units in the decoding processor for execution.
[0212] The software unit can be located in a random memory, a flash memory, a read-only memory, a programmable read-only memory, an electrically erasable programmable memory, a register or other mature storage medium in the art. The storage medium is located in the memory 502, and the processor 501 reads the information in the memory 502 and combines the hardware to complete the steps of the above method.
[0213] It can be understood that the embodiments described herein can be implemented in hardware, software, firmware, middleware, microcode or a combination thereof. For hardware implementation, the processing unit can be implemented in one or more application specific integrated circuits (ASICs), digital signal processors (DSPs), digital signal processing devices (DSPDs), programmable logic devices (PLDs), field programmable gate arrays (FPGAs), general processors, controllers, micro-controllers, microprocessors, other electronic units for performing the functions described in the present application or a combination thereof.
[0214] For hardware implementation, the processing unit can be implemented in one or more application specific integrated circuits (ASICs), digital signal processors (DSPs), digital signal processing devices (DSPDs), programmable logic devices (PLDs), field programmable gate arrays (FPGAs), general processors, controllers, micro-controllers, microprocessors, other electronic units for performing the functions described in the present application or a combination thereof.
[0215] For hardware implementation, the processing unit can be implemented in one or more application specific integrated circuits (ASICs), digital signal processors (DSPs), digital signal processing devices (DSPDs), programmable logic devices (PLDs), field programmable gate arrays (FPGAs), general processors, controllers, micro-controllers, microprocessors, other electronic units for performing the functions described in the present application or a combination thereof.
[0216] For hardware implementation, the processing unit can be implemented in one or more application specific integrated circuits (ASICs), digital signal processors (DSPs), digital signal processing devices (DSPDs), programmable logic devices (PLDs), field programmable gate arrays (FPGAs), general processors, controllers, micro-controllers, microprocessors, other electronic units for performing the functions described in the present application or a combination thereof.
[0217] For software implementation, the techniques described herein can be implemented by means of software programs. The software programs can be stored in memory and executed by processors. The memory can be implemented within the processors or externally to the processors.
[0218] 0The server provided by the embodiment can be a server as shown in Figure 5 , and can execute the method as shown in Figures 1-3
[0219] All steps of the refrigerator internal space information processing method provided by the embodiment are implemented, and the technical effects of the method as shown in Figures 1-3 are achieved. For details, refer to the related description, which will not be repeated here for brevity. Figures 1-3
[0220] The embodiment of the application further provides a storage medium (computer readable storage medium). The storage medium of the embodiment stores one or more programs. The storage medium can include volatile memory, such as random access memory; the storage medium can also include non-volatile memory, such as read-only memory, flash memory, hard disk, or solid state disk; and the storage medium can also include a combination of the above types of memory.
[0221] When the one or more programs stored in the storage medium can be executed by one or more processors to implement the refrigerator internal space information processing method executed on the server side.
[0222] The processor is configured to execute the refrigerator internal space information processing program stored in the memory to implement the following steps of the refrigerator internal space information processing method executed on the server side:
[0223] The processor is configured to execute the refrigerator internal space information processing program stored in the memory to implement the following steps of the refrigerator internal space information processing method executed on the server side:
[0224] Obtain the item information of the to-be-purchased item displayed in the terminal device of the target object;
[0225] Determine the item occupation space information of the to-be-purchased item according to the item information;
[0226] Obtain the space information in the refrigerator device corresponding to the target object, the space information at least including unoccupied space information;
[0227] Determine the storage strategy of the to-be-purchased item in the refrigerator device according to the item occupation space information and the space information;
[0228] Prompt the storage strategy of the to-be-purchased item.
[0229] Those skilled in the art should further appreciate that the elements and algorithms described in connection with the examples disclosed herein can be embodied in electronic hardware, computer software, or in combinations of both. To clearly illustrate this interchangeability of hardware and software, various examples have been described herein in terms of their general functionality. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the overall system. Skilled artisans can implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present application.
[0230] The steps of a method or algorithm described in connection with the examples disclosed herein can be embodied directly in hardware, in a software module executed by a processor, or in a combination of the two. A software module can reside in random access memory (RAM), flash memory, read-only memory (ROM), electrically programmable ROM (EPROM), electrically erasable programmable ROM (EEPROM), registers, hard disk, a removable disk, a CD-ROM, or any other form of storage medium known in the art. An exemplary storage medium is coupled to the processor such that the processor can read information from, and write information to, the storage medium. In the alternative, hard disk can be used as a storage medium.
[0231] The specific implementation described above is illustrative for purposes of teaching the present application. Alternative series of processes and / or implementations can be implemented to carry out the same objectives without departing from the spirit and scope of the application. Accordingly, the disclosed endovascular prosthetic devices are intended to be illustrative only and not limiting of the scope of the application. Changes can be made in the function and arrangement of elements discussed without departing from the scope of the application.
Claims
1. A method for processing spatial information inside a refrigerator, characterized in that, include: Obtain item information of the items to be purchased displayed on the target's terminal device; The space occupied by the item to be purchased is determined based on the item information. Obtain the space information within the refrigerator device corresponding to the target object, wherein the space information includes at least: unoccupied space information; Based on the space occupied by the item and the space information, determine the storage strategy of the item to be purchased in the refrigerator device; The prompt indicates the storage strategy for the items to be purchased; The method further includes: Obtain the first category information of items historically stored in the refrigerator device; When the space information meets the preset conditions, the second category information of the items currently stored in the refrigerator is obtained. The preset conditions are: the volume of the unoccupied space of the refrigerator is greater than a first preset threshold, or the proportion of the unoccupied space of the refrigerator to the total space inside the refrigerator is greater than a second set threshold. Determine the target category information that is different from the second category information in the first category information, and determine the target item to be purchased corresponding to the target category information; A third storage strategy is generated based on the target category information. The third storage strategy is to remind the user to purchase the target item to be purchased and to store the target item to be purchased in the location corresponding to any subspace in the unoccupied space. The method further includes: When each subspace in the refrigerator is smaller than the space occupied by the item, obtain the area identifier of each subspace in the refrigerator device. The area identifier is the identifier of each layer in the refrigerator device. Determine whether the sum of at least two subspaces with the same area identifier is greater than or equal to the space occupied by the item; If the determination result is yes, then the positions of the at least two subspaces are displayed; When a storable confirmation operation is received, the location of the at least two subspaces and the corresponding region identifier are determined as the first storage strategy.
2. The method according to claim 1, characterized in that, The method further includes: Obtain the time prediction information for the items to be purchased; The target delivery time of the items to be purchased is determined based on the time prediction information. The step of obtaining the spatial information within the refrigerator device corresponding to the target object includes: Obtain information on currently stored items within the refrigerator device; Obtain historical consumption information of items stored in the refrigerator; Based on the historical consumption information, the target time, and the stored item information, the predicted space information within the refrigerator device corresponding to the target time is determined.
3. The method according to claim 2, characterized in that, The method further includes: The space occupied by the item is matched with the predicted space information; Based on the matching results, determine whether the purchase of the item to be purchased is confirmed. If the purchase is confirmed, determine the storage strategy. The space information within the refrigerator device is updated according to the storage strategy.
4. The method according to claim 1, characterized in that, The acquisition of item information of the items to be purchased displayed on the target object's terminal device includes: Obtain the page information or image information of the item to be purchased from the current display interface of the terminal device; The item parameters of the item to be purchased are extracted from the page information or image information of the item to be purchased as the item information. The item parameters include at least one of the following: the identifier, weight, volume, capacity or shape of the item to be purchased.
5. The method according to claim 4, characterized in that, The step of determining the space occupied by the item to be purchased based on the item information includes: The size information of the item to be purchased is determined based on the item information; Obtain the quantity information of the item to be purchased from the display interface; The space occupied by the item is determined based on the size information and the quantity to be purchased.
6. The method according to claim 5, characterized in that, The step of determining the space occupied by the item to be purchased based on the item information includes: Pre-build the correspondence between the identifiers of multiple items and multiple size information; When the terminal device displays the item to be purchased, the target identifier of the item to be purchased is extracted from the display interface; Obtain the size information corresponding to the target identifier from the correspondence; The space occupied by the item is determined based on the size information and the quantity to be purchased.
7. The method according to claim 1, characterized in that, The step of obtaining the spatial information within the refrigerator device corresponding to the target object includes: The interior of the refrigerator is scanned to obtain the unoccupied space inside the refrigerator. For each subspace in the unoccupied space, determine the corresponding space size of the subspace; The spatial dimensions of each subspace are used as the spatial information.
8. The method according to claim 7, characterized in that, The step of determining the storage strategy for the item to be purchased within the refrigerator based on the item's space occupancy information and the space information includes: The spatial dimensions of each subspace are matched with the space occupied by the item. Based on the matching results, determine whether the subspace is smaller than the item space occupied by the item to be purchased; When each of the subspaces is smaller than the space occupied by the item, the similarity between the space occupied by the item and each of the subspaces is determined; The subspace with the highest similarity is determined as the first target subspace; The target quantity of the items to be purchased is determined based on the spatial dimensions corresponding to the first target subspace. The target quantity to be purchased and the location of the first target subspace within the refrigerator device are used as the first storage strategy.
9. The method according to claim 8, characterized in that, The step of determining the storage strategy for the item to be purchased within the refrigerator based on the item's space-occupying information and the space information further includes: When any of the subspaces is greater than or equal to the space occupied by the item, the subspace that is greater than or equal to the space occupied by the item is determined as the second target subspace; The location of the second target subspace within the refrigerator device is used as the second storage strategy.
10. The method according to claim 1, characterized in that, The items to be purchased include at least two items, and the step of determining the storage strategy for the items to be purchased within the refrigerator device based on the space occupied by the items and the space information includes: A first pre-storage strategy is determined based on the first space occupied information of the first item and the space information; A second pre-storage strategy is determined based on the second occupied space information of the second item and the space information; If the first pre-storage strategy and the second pre-storage strategy are different, then the first pre-storage strategy and the second pre-storage strategy shall be used as the storage strategy.
11. The method according to claim 10, characterized in that, The method further includes: When there are multiple first pre-storage strategies, for each first pre-storage strategy, determine the remaining space corresponding to the first pre-storage strategy; When any of the remaining spaces matches the second item, the matched remaining space is determined to be the second pre-storage strategy, and the target first pre-storage strategy corresponding to the remaining space is determined. The target first pre-storage strategy and the second pre-storage strategy are used as the storage strategy.
12. The method according to claim 1, characterized in that, The items to be purchased include multiple items, and the step of determining the storage strategy for the items to be purchased within the refrigerator device based on the space occupied by the items and the space information includes: The storage priority of each item is determined based on its space-occupying information. The storage location of each item is determined sequentially according to the storage priority. When the current remaining space in the refrigerator does not match any item with an undetermined storage location, the target quantity information corresponding to the item with an undetermined storage location is adjusted. The target quantity information and the storage location are used as the storage strategy.
13. A refrigerator interior space information processing device, characterized in that, include: The acquisition module is used to acquire item information of the items to be purchased displayed on the target object's terminal device; The determination module is used to determine the space occupied by the item to be purchased based on the item information; The acquisition module is also used to acquire space information within the refrigerator device corresponding to the target object, wherein the space information includes at least: unoccupied space information; The determining module is further configured to determine the storage strategy of the item to be purchased in the refrigerator device based on the item's space occupancy information and the space information; The prompt module is used to prompt the storage strategy of the item to be purchased; The acquisition module is also used to acquire first category information of items historically stored in the refrigerator device; When the space information meets the preset conditions, the second category information of the items currently stored in the refrigerator is obtained. The preset conditions are: the volume of the unoccupied space of the refrigerator is greater than a first preset threshold, or the proportion of the unoccupied space of the refrigerator to the total space inside the refrigerator is greater than a second set threshold. The determining module is specifically used to determine target category information that is different from the second category information in the first category information, and to determine the target item to be purchased corresponding to the target category information; A third storage strategy is generated based on the target category information. The third storage strategy is to remind the user to purchase the target item to be purchased and to store the target item to be purchased in the location corresponding to any subspace in the unoccupied space. The acquisition module is specifically used to acquire the area identifier of each subspace in the refrigerator device when each subspace in the refrigerator is smaller than the space occupied by the item. The area identifier is the identifier of each layer in the refrigerator device. The determining module is specifically used to determine whether the sum of at least two subspaces with the same area identifier is greater than or equal to the space occupied by the item; If the determination result is yes, then the positions of the at least two subspaces are displayed; When a storable confirmation operation is received, the location of the at least two subspaces and the corresponding region identifier are determined as the first storage strategy.
14. A server, characterized in that, include: A processor and a memory, the processor being configured to execute a refrigerator interior space information processing program stored in the memory to implement the refrigerator interior space information processing method according to any one of claims 1 to 12.
15. A storage medium, characterized in that, The storage medium stores one or more programs, which can be executed by one or more processors to implement the refrigerator interior space information processing method according to any one of claims 1 to 12.
Citation Information
Patent Citations
Dynamic storage space control method and system
CN114987996A
Food product order method
JP2016081267A