A data processing method and device
By collecting ingredient data in the home refrigerator and sending it to the server, the method of using virtual resources to exchange target ingredients solves the problem of mobile terminals not being aware of refrigerator ingredient promotions, and improves user experience and shopping convenience.
Patent Information
- Application Number
- CN202010859835.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2020-08-24
- Publication Date
- 2024-10-29
- Estimated Expiration
- 2040-08-24
AI Technical Summary
The problem of controlling home refrigerators through mobile terminals and not being able to accurately know whether there are promotions for commonly used ingredients in home refrigerators has not yet been solved.
By collecting ingredient data in the home refrigerator and sending it to the server, the server determines the frequency and remaining amount based on the ingredient data, sends a push message instructing to use virtual resources in exchange for the target ingredients, and displays the push message on the display interface. The user can touch the Generate orders with buttons, gestures or voice commands.
It enables users to be informed of food promotions and out-of-stock information in home refrigerators in a timely manner, improving user experience. It also simplifies the shopping process by exchanging target ingredients through virtual resources.
Smart Images

Figure CN112036939B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of communications, and in particular to a data processing method and device. Background Art
[0002] With the advancement of science and technology and the development of artificial intelligence, intelligent algorithms are increasingly used in daily life. Especially for home appliances, their intelligent development is crucial. The most critical issue of intelligence is to intelligently solve the urgent needs of users.
[0003] A smart replenishment refrigerator system is proposed in the related art, which includes two parts: a smart refrigerator and a mobile terminal; the smart refrigerator is connected to the mobile terminal through a wireless communication module; the smart refrigerator includes a food collection module, a food management module, a healthy recipe module and a reminder module; wherein the healthy recipe module is connected to the food collection module, the food collection module is connected to the food management module, the healthy recipe module is connected to the reminder module and the food management module is connected to the reminder module. The food management module includes a timing module and a temperature control module. The reminder module in the smart refrigerator is connected to the mobile terminal through WIFI communication. The reminder module includes a voice device. It integrates the three functions of food management, health management and food purchase, and remotely connects to the mobile terminal through a wireless communication module, which facilitates the customer to operate the refrigerator control system. It is impossible to accurately know whether there are promotional activities for commonly used ingredients in the household refrigerator by controlling the household refrigerator through a mobile terminal.
[0004] With regard to the problem in the related art that when controlling a household refrigerator through a mobile terminal, it is impossible to accurately know whether there are promotional activities for common ingredients in the household refrigerator, no solution has been proposed yet. Summary of the invention
[0005] The embodiments of the present invention provide a data processing method and device to at least solve the problem that when controlling a household refrigerator through a mobile terminal, it is impossible to accurately know whether there are any promotion activities for common ingredients in the household refrigerator.
[0006] According to one embodiment of the present invention, there is provided a data processing method, which is applied to a household refrigerator, comprising:
[0007] Sending the food material data collected at a predetermined time period to a server via the established network connection;
[0008] receiving a first push message sent by the server when the server detects a change in a virtual resource corresponding to a target ingredient whose frequency is greater than a first preset threshold after determining the frequency of occurrence of the corresponding ingredient according to the ingredient data, wherein the first push message is used to instruct the use of the virtual resource in exchange for the target ingredient;
[0009] The first push message is displayed on the display interface.
[0010] Optionally, the method further comprises:
[0011] receiving a second push message sent by the server after determining, according to the food data, a second target food whose remaining amount is less than a second preset threshold, wherein the second push message is used to instruct the use of the virtual resource in exchange for the second target food;
[0012] The second push message is displayed on the display interface.
[0013] Optionally, after displaying the first push message, the method further includes:
[0014] Determining whether to generate order information for the first push message and / or the second push message;
[0015] When the determination result is yes, order information of the first push message and / or the second push message is generated, and the order information is sent to the server, wherein the order information is used to prompt the server to deliver the first target ingredient and / or the second target ingredient corresponding to the order information.
[0016] Optionally, determining whether to generate order information for the first push message and / or the second push message includes:
[0017] Detecting whether there is a touch operation on a touch button in the display interface, and determining order information for generating the first push message and / or the second push message when a touch operation on the touch button in the client is detected;
[0018] Detecting, by a camera, whether there is a preset target gesture, and determining to generate order information for the first push message and / or the second push message when the target gesture is detected; or
[0019] The MIC detects whether there is a voice instruction for instructing to generate the order information, and when the voice instruction is detected, determines to generate the order information of the first push message and / or the second push message.
[0020] According to another embodiment of the present invention, there is also provided a data processing method, which is applied to a server and includes:
[0021] receiving food data collected by the household refrigerator at a predetermined time period through the established network connection;
[0022] Determining the frequency of occurrence of the corresponding ingredient according to the ingredient data;
[0023] When it is detected that the virtual resource corresponding to the target food with a frequency greater than a first preset threshold value changes, a first push message is sent to the household refrigerator, wherein the first push message is used to instruct the use of the virtual resource in exchange for the target food.
[0024] Optionally, the method further comprises:
[0025] Determining whether the remaining amount of food is less than a second preset threshold according to the food data;
[0026] After determining that the remaining amount of the second target ingredient is less than the second preset threshold, a second push message is sent to the household refrigerator, wherein the second push message is used to instruct the use of the virtual resource in exchange for the second target ingredient.
[0027] Optionally, after displaying the first push message, the method further includes:
[0028] Receiving order information of the first push message and / or the second push message generated by the household refrigerator;
[0029] A prompt is sent to a mobile terminal with which a connection is established in advance to deliver the first target ingredient and / or the second target ingredient corresponding to the order information.
[0030] According to another embodiment of the present invention, there is also provided a data processing device, which is applied to a household refrigerator, comprising:
[0031] A first sending module, used to send the food data collected at a predetermined time period to a server via an established network connection;
[0032] A first receiving module is configured to receive a first push message sent by the server when the server detects a change in the virtual resource corresponding to the target ingredient whose frequency is greater than a first preset threshold after determining the frequency of occurrence of the corresponding ingredient according to the ingredient data, wherein the first push message is used to instruct the use of the virtual resource in exchange for the target ingredient;
[0033] The first display module is used to display the first push message on a display interface.
[0034] Optionally, the device further comprises:
[0035] A second receiving module, configured to receive a second push message sent by the server after the server determines, based on the food data, that a second target food whose remaining amount is less than a second preset threshold, wherein the second push message is used to instruct the use of the virtual resource in exchange for the second target food;
[0036] A second display module is used to display the second push message on the display interface.
[0037] Optionally, the device further comprises:
[0038] A first determining module, used to determine whether to generate order information for the first push message and / or the second push message;
[0039] A generation module is used to generate order information of the first push message and / or the second push message when the determination result is yes, and send the order information to the server, wherein the order information is used to prompt the server to deliver the first target ingredient and / or the second target ingredient corresponding to the order information.
[0040] Optionally, the first determining module includes:
[0041] A first determination submodule is used to detect whether there is a touch operation on the touch button in the display interface, and when a touch operation on the touch button in the client is detected, determine the order information for generating the first push message and / or the second push message;
[0042] a second determination submodule, configured to detect, by means of a camera, whether there is a preset target gesture, and, when the target gesture is detected, determine order information for generating the first push message and / or the second push message; or
[0043] The third determination submodule is used to detect through the MIC whether there is a voice instruction for instructing to generate the order information, and when the voice instruction is detected, determine to generate the order information of the first push message and / or the second push message.
[0044] According to another embodiment of the present invention, there is further provided a data processing device, which is applied to a server and includes:
[0045] A collection module, used to receive food data collected by the household refrigerator at a predetermined time period through the established network connection;
[0046] A second determination module, used to determine the frequency of occurrence of the corresponding ingredient according to the ingredient data;
[0047] The second sending module is used to send a first push message to the household refrigerator when it is detected that the virtual resources corresponding to the target food with a frequency greater than a first preset threshold value change, wherein the first push message is used to instruct the use of the virtual resources in exchange for the target food.
[0048] Optionally, the device further comprises:
[0049] A third determination module, configured to determine whether the remaining amount of food is less than a second preset threshold value according to the food data;
[0050] The third sending module is used to send a second push message to the household refrigerator after determining that the remaining amount of the food is less than the second target food of the second preset threshold, wherein the second push message is used to indicate the use of the virtual resource in exchange for the second target food.
[0051] Optionally, the device further comprises:
[0052] A third receiving module, configured to receive order information of the first push message and / or the second push message generated by the household refrigerator;
[0053] A fourth sending module is used to send a reminder to deliver the first target ingredient and / or the second target ingredient corresponding to the order information to the mobile terminal with which a connection is established in advance.
[0054] According to yet another embodiment of the present invention, a computer-readable storage medium is provided, in which a computer program is stored, wherein the computer program is configured to execute the steps of any of the above method embodiments when run.
[0055] According to yet another embodiment of the present invention, there is provided an electronic device, including a memory and a processor, wherein the memory stores a computer program, and the processor is configured to run the computer program to execute the steps in any one of the above method embodiments.
[0056] Through the present invention, food data collected at a predetermined time period is sent to a server through an established network connection; after the server determines the frequency of occurrence of the corresponding food according to the food data, a first push message sent when it is detected that the virtual resources corresponding to the target food whose frequency is greater than a first preset threshold value have changed is received, wherein the first push message is used to indicate the use of the virtual resources in exchange for the target food; displaying the first push message on the display interface can solve the problem of being unable to accurately know whether there are promotions for commonly used food in the household refrigerator when controlling the household refrigerator through a mobile terminal. The household refrigerator sends the collected food data to the server, and receives the push message sent by the server when it determines that there are promotions for commonly used food. An order can be placed according to the push message, and the target food is exchanged by virtual resources, thereby improving the user experience. BRIEF DESCRIPTION OF THE DRAWINGS
[0057] The drawings described herein are used to provide a further understanding of the present invention and constitute a part of this application. The exemplary embodiments of the present invention and their descriptions are used to explain the present invention and do not constitute an improper limitation of the present invention. In the drawings:
[0058] Figure 1 is a hardware structure block diagram of a mobile terminal of a data processing method according to an embodiment of the present invention;
[0059] Figure 2 is a flow chart of a data processing method according to an embodiment of the present invention Figure 1 ;
[0060] Figure 3 is a flow chart of a data processing method according to an embodiment of the present invention Figure 2 ;
[0061] Figure 4 is a frame of a data processing device according to an embodiment of the present invention Figure 1 ;
[0062] Figure 5 is a frame of a data processing device according to an embodiment of the present invention Figure 2 . DETAILED DESCRIPTION
[0063] The present invention will be described in detail below with reference to the accompanying drawings and in combination with embodiments. It should be noted that the embodiments and features in the embodiments of the present application can be combined with each other without conflict.
[0064] It should be noted that the terms "first", "second", etc. in the specification and claims of the present invention and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence.
[0065] Example 1
[0066] The method embodiment provided in the first embodiment of the present application can be executed in a mobile terminal, a computer terminal or a similar computing device. Taking running on a mobile terminal as an example, Figure 1 is a hardware structure block diagram of a mobile terminal of a data processing method according to an embodiment of the present invention, such as Figure 1 As shown, the mobile terminal may include one or more ( Figure 1 Only one is shown in the figure) a processor 102 (the processor 102 may include but is not limited to a processing device such as a microprocessor MCU or a programmable logic device FPGA) and a memory 104 for storing data. Optionally, the mobile terminal may also include a transmission device 106 and an input / output device 108 for communication functions. It can be understood by those skilled in the art that Figure 1 The structure shown is only for illustration and does not limit the structure of the mobile terminal. Figure 1 More or fewer components as shown, or with Figure 1 Different configurations shown.
[0067] The memory 104 can be used to store computer programs, for example, software programs and modules of application software, such as the computer program corresponding to the data processing method in the embodiment of the present invention. The processor 102 executes various functional applications and data processing by running the computer program stored in the memory 104, that is, to implement the above method. The memory 104 may include a high-speed random access memory, and may also include a non-volatile memory, such as one or more magnetic storage devices, flash memory, or other non-volatile solid-state memory. In some examples, the memory 104 may further include a memory remotely arranged relative to the processor 102, and these remote memories may be connected to the mobile terminal via a network. Examples of the above-mentioned network include, but are not limited to, the Internet, an intranet, a local area network, a mobile communication network, and combinations thereof.
[0068] The transmission device 106 is used to receive or send data via a network. The specific example of the above network may include a wireless network provided by a communication provider of the mobile terminal. In one example, the transmission device 106 includes a network adapter (Network INterface CoNtroller, referred to as NIC), which can be connected to other network devices through a base station so as to communicate with the Internet. In one example, the transmission device 106 can be a radio frequency (Radio Frequency, referred to as RF) module, which is used to communicate with the Internet wirelessly.
[0069] Based on the above mobile terminal or network architecture, a data processing method is provided in this embodiment. Figure 2 is a flow chart of a data processing method according to an embodiment of the present invention Figure 1 ,like Figure 2 As shown, applied to the server, the process includes the following steps:
[0070] Step S202, sending the food data collected at a predetermined time period to a server via the established network connection;
[0071] In this embodiment, the above-mentioned server may be a commercial refrigerator server or a background server.
[0072] Step S204, receiving a first push message sent by the server when the server detects a change in the virtual resource corresponding to the target ingredient whose frequency is greater than a first preset threshold after determining the frequency of occurrence of the corresponding ingredient according to the ingredient data, wherein the first push message is used to instruct the use of the virtual resource in exchange for the target ingredient;
[0073] The virtual resources in the embodiment of the present invention may be virtual currency, shopping vouchers, etc. The above-mentioned first preset threshold may be set according to actual conditions. Changes in the virtual resources corresponding to the above-mentioned target ingredients may be increases or decreases, that is, it may be a promotional activity or a price increase, etc.
[0074] Step S206: display the first push message on the display interface.
[0075] Through the above steps S202 to S206, the problem of not being able to accurately know whether there are promotions for common ingredients in the household refrigerator when controlling the household refrigerator through a mobile terminal can be solved. The household refrigerator sends the collected food data to the server, and receives the push message sent by the server when it determines that there are promotions for common ingredients. Orders can be placed based on the push messages, and target ingredients can be exchanged through virtual resources, thereby improving user experience.
[0076] In an optional embodiment, the server determines the second target ingredient whose remaining quantity is less than the second preset threshold value according to the ingredient data, and then sends a second push message to the household refrigerator. The household refrigerator receives the second push message, and the household refrigerator can use the virtual resource to exchange for the second target ingredient; and the second push message is displayed on the display interface. Furthermore, the first push message and / or the second push message can also be sent to the user's mobile terminal so that the user can be notified of the push message in time and can determine whether to place an order as soon as possible.
[0077] In another optional embodiment, after the household refrigerator displays the first push message and / or the second push message, the household refrigerator determines whether to generate order information for the first push message and / or the second push message. The user can trigger the generation of the order through touch operation, voice command, gesture operation, etc. Further, it is detected whether there is a touch operation on the touch button in the display interface. When the touch operation on the touch button in the client is detected, it is determined to generate the order information for the first push message and / or the second push message; the camera is used to detect whether there is a pre-set target gesture. When the target gesture is detected, it is determined to generate the order information for the first push message and / or the second push message; or, the MIC is used to detect whether there is a voice instruction for indicating the generation of the order information. When the voice instruction is detected, it is determined to generate the order information for the first push message and / or the second push message; when the determination result is yes, the order information for the first push message and / or the second push message is generated, and the order information is sent to the server, wherein the order information is used to prompt the server to deliver the first target ingredient and / or the second target ingredient corresponding to the order information. In addition, the conditions for automatic ordering can also be set in advance. For example, when the second push message sent by the server is received, the order information is automatically triggered. At this time, the second push message can be only displayed in the display interface without prompting the user, or the order information can be sent to the user's mobile terminal after the order is generated, so that the user can know the order status in time.
[0078] Example 2
[0079] According to another embodiment of the present invention, a data processing method is also provided. Figure 3 is a flow chart of a data processing method according to an embodiment of the present invention Figure 2 ,like Figure 3 As shown, it is applied to a server, and the server may specifically be a commercial refrigerator server or a background server, including:
[0080] Step S302, receiving food data collected by the household refrigerator at a predetermined time period through the established network connection;
[0081] Step S304, determining the frequency of occurrence of the corresponding ingredient according to the ingredient data;
[0082] Step S306, when it is detected that the virtual resource corresponding to the target food with a frequency greater than a first preset threshold value changes, a first push message is sent to the household refrigerator, wherein the first push message is used to instruct the use of the virtual resource in exchange for the target food.
[0083] Through the above steps S302 to S306, the problem of not being able to accurately know whether there are promotions for common ingredients in the household refrigerator when controlling the household refrigerator through a mobile terminal can be solved. The server determines whether there are promotions for common ingredients based on the ingredient data collected by the household refrigerator, and sends a push message to the household refrigerator. The household refrigerator can place an order based on the push message, and the target ingredients are exchanged by virtual resources, thereby improving the user experience.
[0084] In an optional embodiment, the server may also determine the remaining amount of food. If the remaining amount of food is too low, a push message may be sent to the corresponding household refrigerator. Specifically, it is determined based on the food data whether the remaining amount of food is less than a second preset threshold value; after determining that the second target food whose remaining amount of food is less than the second preset threshold value, a second push message is sent to the household refrigerator, and the second push message is used to instruct the use of the virtual resources in exchange for the second target food.
[0085] In another optional embodiment, the household refrigerator can place an order directly on the push message generated by the server. The household refrigerator sends the order information to the server. The server receives the order information of the first push message and / or the second push message generated by the household refrigerator; and sends a prompt to deliver the first target ingredient and / or the second target ingredient corresponding to the order information to the mobile terminal with a pre-established connection.
[0086] If the server is a commercial refrigerator server, specifically, the server is integrated into the commercial refrigerator, or it can be independent of the commercial refrigerator. The following takes the server integrated into the commercial refrigerator as an example to illustrate the embodiment of the present invention.
[0087] In the embodiment of the present invention, the commercial refrigerator (or commercial freezer, including a server) supports intelligent functions such as networking, voice recognition, image recognition, etc. The commercial refrigerator supports users to record the ingredients placed in the household refrigerator and their shelf life by voice or automatic image recognition.
[0088] Home refrigerators support networking, voice recognition, image recognition and other intelligent functions. Haier refrigerators allow users to record the ingredients in home refrigerators through voice or automatic image recognition. It also supports linkage with commercial refrigerators. Users can choose whether to support sharing of their own food data so that supermarkets can better push the latest food information to them. After users support sharing, the food data of home refrigerators will be recorded and shared with supermarket freezers every day.
[0089] After the commercial refrigerator obtains the food information of the household refrigerator, it can use big data algorithms, for example, to count the frequency of appearance of a certain ingredient based on the daily food information, and infer some of the users' favorite foods (with high frequency of appearance). When these ingredients are on sale or updated, the relevant food information can be pushed to the user's refrigerator through the supermarket freezer.
[0090] When the remaining amount of a certain ingredient in the household refrigerator reaches the minimum threshold, the super freezer can push the relevant ingredient information to the household refrigerator. After receiving the push message, the household refrigerator can choose whether to purchase it. When choosing to purchase and paying, the household refrigerator will send the purchase information to the commercial refrigerator, and the commercial refrigerator will push the message to the manager, who will then deliver the ingredients.
[0091] By pushing ingredients from commercial refrigerators, users can get timely information about activities of their favorite ingredients, out-of-stock information in home refrigerators, etc., further improving the user experience.
[0092] Through the description of the above implementation methods, those skilled in the art can clearly understand that the method according to the above embodiment can be implemented by means of software plus a necessary general hardware platform, and of course can also be implemented by hardware, but in many cases the former is a better implementation method. Based on such an understanding, the technical solution of the present invention, or the part that contributes to the prior art, can be embodied in the form of a software product, which is stored in a storage medium (such as ROM / RAM, a magnetic disk, or an optical disk), and includes a number of instructions for enabling a terminal device (which can be a mobile phone, a computer, a server, or a network device, etc.) to execute the methods described in each embodiment of the present invention.
[0093] Example 3
[0094] In the present embodiment, a data processing device is also provided, which is used to implement the above-mentioned embodiments and preferred implementation modes, and the descriptions that have been made will not be repeated. As used below, the term "module" can implement a combination of software and / or hardware of a predetermined function. Although the devices described in the following embodiments are preferably implemented in software, the implementation of hardware, or a combination of software and hardware, is also possible and conceived.
[0095] Figure 4 is a frame of a data processing device according to an embodiment of the present invention Figure 1 ,like Figure 4 As shown, it is applied to the server side and the household refrigerator, including:
[0096] A first sending module 42, used to send the food data collected in a predetermined time period to a server via an established network connection;
[0097] A first receiving module 44 is configured to receive a first push message sent by the server when the server detects a change in the virtual resource corresponding to the target ingredient whose frequency is greater than a first preset threshold after determining the frequency of occurrence of the corresponding ingredient according to the ingredient data, wherein the first push message is used to instruct the use of the virtual resource in exchange for the target ingredient;
[0098] The first display module 46 is used to display the first push message on a display interface.
[0099] Optionally, the device further comprises:
[0100] A second receiving module, configured to receive a second push message sent by the server after the server determines, based on the food data, that a second target food whose remaining amount is less than a second preset threshold, wherein the second push message is used to instruct the use of the virtual resource in exchange for the second target food;
[0101] A second display module is used to display the second push message on the display interface.
[0102] Optionally, the device further comprises:
[0103] A first determining module, used to determine whether to generate order information for the first push message and / or the second push message;
[0104] A generation module is used to generate order information of the first push message and / or the second push message when the determination result is yes, and send the order information to the server, wherein the order information is used to prompt the server to deliver the first target ingredient and / or the second target ingredient corresponding to the order information.
[0105] Optionally, the first determining module includes:
[0106] A first determination submodule is used to detect whether there is a touch operation on the touch button in the display interface, and when a touch operation on the touch button in the client is detected, determine the order information for generating the first push message and / or the second push message;
[0107] A second determination submodule is used to detect whether there is a preset target gesture through a camera, and when the target gesture is detected, determine the order information for generating the first push message and / or the second push message;
[0108] The third determination submodule is used to detect through the MIC whether there is a voice instruction for instructing to generate the order information, and when the voice instruction is detected, determine to generate the order information of the first push message and / or the second push message.
[0109] Example 4
[0110] According to another embodiment of the present invention, a data processing device is provided. Figure 5 is a frame of a data processing device according to an embodiment of the present invention Figure 2 ,like Figure 5 As shown, it is applied to the server and includes:
[0111] A collection module 52, for receiving food data collected by the household refrigerator at a predetermined time period through the established network connection;
[0112] A second determination module 54, configured to determine the frequency of occurrence of a corresponding ingredient according to the ingredient data;
[0113] The second sending module 56 is used to send a first push message to the household refrigerator when it is detected that the virtual resource corresponding to the target food with a frequency greater than a first preset threshold value changes, wherein the first push message is used to instruct the use of the virtual resource in exchange for the target food.
[0114] Optionally, the device further comprises:
[0115] A third determination module, used to determine whether the remaining amount of food is less than a second preset threshold according to the food data;
[0116] The third sending module is used to send a second push message to the household refrigerator after determining that the remaining amount of the food is less than the second target food of the second preset threshold, wherein the second push message is used to indicate the use of the virtual resource in exchange for the second target food.
[0117] Optionally, the device further comprises:
[0118] A third receiving module, configured to receive order information of the first push message and / or the second push message generated by the household refrigerator;
[0119] A fourth sending module is used to send a reminder to deliver the first target ingredient and / or the second target ingredient corresponding to the order information to the mobile terminal with which a connection is established in advance.
[0120] It should be noted that the above modules can be implemented by software or hardware. For the latter, it can be implemented in the following ways, but not limited to: the above modules are all located in the same processor; or the above modules are located in different processors in any combination.
[0121] Example 5
[0122] An embodiment of the present invention further provides a storage medium, in which a computer program is stored, wherein the computer program is configured to execute the steps of any of the above method embodiments when running.
[0123] Optionally, in this embodiment, the storage medium may be configured to store a computer program for performing the following steps:
[0124] S11, sending the food data collected in a predetermined time period to a server via the established network connection;
[0125] S12, receiving a first push message sent by the server when the server detects a change in the virtual resource corresponding to the target ingredient whose frequency is greater than a first preset threshold after determining the frequency of occurrence of the corresponding ingredient according to the ingredient data, wherein the first push message is used to instruct the use of the virtual resource in exchange for the target ingredient;
[0126] S13: Display the first push message on a display interface.
[0127] Optionally, in this embodiment, the above storage medium may also be configured to store a computer program for performing the following steps:
[0128] S21, receiving food data collected by the household refrigerator at a predetermined time period through the established network connection;
[0129] S22, determining the frequency of occurrence of the corresponding ingredient according to the ingredient data;
[0130] S23, when it is detected that the virtual resource corresponding to the target food with a frequency greater than a first preset threshold value changes, a first push message is sent to the household refrigerator, wherein the first push message is used to instruct the use of the virtual resource in exchange for the target food.
[0131] Optionally, in this embodiment, the above-mentioned storage medium may include but is not limited to: a USB flash drive, a read-only memory (ROM), a random access memory (RAM), a mobile hard disk, a magnetic disk or an optical disk, and other media that can store computer programs.
[0132] Example 6
[0133] An embodiment of the present invention further provides an electronic device, including a memory and a processor, wherein a computer program is stored in the memory, and the processor is configured to run the computer program to execute the steps in any one of the above method embodiments.
[0134] Optionally, the electronic device may further include a transmission device and an input / output device, wherein the transmission device is connected to the processor, and the input / output device is connected to the processor.
[0135] Optionally, in this embodiment, the processor may be configured to perform the following steps through a computer program:
[0136] S11, sending the food data collected in a predetermined time period to a server via the established network connection;
[0137] S12, receiving a first push message sent by the server when the server detects a change in the virtual resource corresponding to the target ingredient whose frequency is greater than a first preset threshold after determining the frequency of occurrence of the corresponding ingredient according to the ingredient data, wherein the first push message is used to instruct the use of the virtual resource in exchange for the target ingredient;
[0138] S13: Display the first push message on a display interface.
[0139] Optionally, in this embodiment, the processor may also be configured to perform the following steps through a computer program:
[0140] S21, receiving food data collected by the household refrigerator at a predetermined time period through the established network connection;
[0141] S22, determining the frequency of occurrence of the corresponding ingredient according to the ingredient data;
[0142] S23, when it is detected that the virtual resource corresponding to the target food with a frequency greater than a first preset threshold value changes, a first push message is sent to the household refrigerator, wherein the first push message is used to instruct the use of the virtual resource in exchange for the target food.
[0143] Optionally, the specific examples in this embodiment may refer to the examples described in the above embodiments and optional implementation modes, and this embodiment will not be described in detail here.
[0144] Obviously, those skilled in the art should understand that the above modules or steps of the present invention can be implemented by a general computing device, they can be concentrated on a single computing device, or distributed on a network composed of multiple computing devices, and optionally, they can be implemented by a program code executable by a computing device, so that they can be stored in a storage device and executed by the computing device, and in some cases, the steps shown or described can be executed in a different order than here, or they can be made into individual integrated circuit modules, or multiple modules or steps therein can be made into a single integrated circuit module for implementation. Thus, the present invention is not limited to any specific combination of hardware and software.
[0145] The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention. For those skilled in the art, the present invention may have various modifications and variations. Any modification, equivalent replacement, improvement, etc. made within the principle of the present invention shall be included in the protection scope of the present invention.
Claims
1. A data processing method, characterized in that: include: sending the food data collected at a predetermined time period to a server via an established network connection, so that the server receives the food data via the established network connection, and determines the frequency of occurrence and the remaining amount of the corresponding food according to the food data; receiving a first push message sent by the server when the server detects a change in a virtual resource corresponding to a target ingredient whose frequency is greater than a first preset threshold after determining the frequency of occurrence of the corresponding ingredient according to the ingredient data, wherein the first push message is used to instruct the use of the virtual resource in exchange for the target ingredient; Displaying the first push message on the display interface; receiving a second push message sent by the server after determining, according to the food data, a second target food whose remaining amount is less than a second preset threshold, wherein the second push message is used to instruct the use of the virtual resource in exchange for the second target food; Displaying the second push message on the display interface; Wherein, after receiving the first push message and / or the second push message sent by the server, the method further comprises: determining order information for generating the first push message and / or the second push message when it is detected that the target food satisfies a preset condition; After displaying the first push message, the method further includes: Determining whether to generate order information for the first push message and / or the second push message; If the result of the determination is yes, the order information of the first push message and / or the second push message is generated, and the order information is sent to the server, so that after receiving the order information, the server sends a prompt to the mobile terminal with a pre-established connection to deliver the target ingredient and / or the second target ingredient corresponding to the order information, wherein the order information is used to prompt the server to deliver the target ingredient and / or the second target ingredient corresponding to the order information; Wherein, determining whether to generate order information for the first push message and / or the second push message includes: The first push message and / or the second push message are sent to the mobile terminal of the target object, and after receiving a response message from the mobile terminal of the target object, order information for generating the first push message and / or the second push message is determined, wherein the response message is used to indicate confirmation of the order.
2. The method according to claim 1, characterized in that Determining whether to generate order information for the first push message and / or the second push message includes: Detecting whether there is a touch operation on a touch button in the display interface, and determining order information for generating the first push message and / or the second push message when a touch operation on a touch button in the client is detected; Detecting whether there is a preset target gesture by a camera, and determining to generate order information for the first push message and / or the second push message when the target gesture is detected; or The MIC detects whether there is a voice instruction for instructing to generate the order information, and when the voice instruction is detected, determines to generate the order information of the first push message and / or the second push message.
3. A data processing device, characterized in that: include: A first sending module, configured to send the food data collected at a predetermined time period to a server via an established network connection, so that the server receives the food data via the established network connection, and determines the occurrence frequency and remaining amount of the corresponding food according to the food data; A first receiving module is configured to receive a first push message sent by the server when the server detects a change in the virtual resource corresponding to the target ingredient whose frequency is greater than a first preset threshold after determining the frequency of occurrence of the corresponding ingredient according to the ingredient data, wherein the first push message is used to instruct the use of the virtual resource in exchange for the target ingredient; A first display module, used for displaying the first push message on a display interface; A second receiving module, configured to receive a second push message sent by the server after the server determines, based on the food data, that a second target food whose remaining amount is less than a second preset threshold, wherein the second push message is used to instruct the use of the virtual resource in exchange for the second target food; A second display module, used for displaying the second push message on the display interface; The device is also used to determine the order information for generating the first push message and / or the second push message when it is detected that the target food satisfies a preset condition; A first determining module, used to determine whether to generate order information for the first push message and / or the second push message; a generating module, configured to generate order information of the first push message and / or the second push message, and send the order information to the server if the determination result is yes, so that after receiving the order information, the server sends a message to a mobile terminal with which a connection is established in advance to prompt the delivery of the target ingredient and / or the second target ingredient corresponding to the order information, wherein the order information is used to prompt the server to deliver the target ingredient and / or the second target ingredient corresponding to the order information; Among them, the first determination module is also used to send the first push message and / or the second push message to the mobile terminal of the target object, and after receiving the response message from the mobile terminal of the target object, determine the order information of the first push message and / or the second push message, wherein the response message is used to indicate the confirmation of the order.
4. A computer-readable storage medium, characterized in that: The storage medium stores a computer program, wherein the computer program is configured to execute the method according to any one of claims 1 to 2 when executed.
5. An electronic device comprising a memory and a processor, characterized in that: A computer program is stored in the memory, and the processor is configured to run the computer program to perform the method according to any one of claims 1 to 2.
Citation Information
Patent Citations
Novel intelligent refrigerator food material management method
CN109297244A
Information pushing method, device, system for household appliances and information processing method
CN110445821A
Intelligent refrigerator, information interaction method and system thereof and computer readable storage medium
CN110875090A
