Detailed Description
So that the manner in which the features and elements of the disclosed embodiments can be understood in detail, a more particular description of the disclosed embodiments, briefly summarized above, may be had by reference to the embodiments, some of which are illustrated in the appended drawings. In the following description of the technology, for purposes of explanation, numerous details are set forth in order to provide a thorough understanding of the disclosed embodiments. However, one or more embodiments may be practiced without these details. In other instances, well-known structures and devices may be shown in simplified form in order to simplify the drawing.
The terms "first," "second," and the like in the description and in the claims, and the above-described drawings of embodiments of the present disclosure, are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It should be understood that the data so used may be interchanged under appropriate circumstances such that embodiments of the present disclosure described herein may be made. Furthermore, the terms "comprising" and "having," as well as any variations thereof, are intended to cover non-exclusive inclusions.
The term "plurality" means two or more unless otherwise specified.
In the embodiment of the present disclosure, the character "/" indicates that the preceding and following objects are in an or relationship. For example, A/B represents: a or B.
The term "and/or" is an associative relationship that describes objects, meaning that three relationships may exist. For example, a and/or B, represents: a or B, or A and B.
Fig. 1 is a schematic diagram of an implementation environment of an air-conditioning-based ordering method provided by an embodiment of the disclosure. The implementation environment may include a plurality of rooms 11 (guest rooms), each room 11 is independent of another, that is, the rooms 11 are insulated from each other, the indoor temperature of one room 11 does not affect the indoor temperatures of the other rooms 11, the smart air conditioner 12 is disposed in each room 11, and the smart air conditioner 12 has a meal ordering function.
Each intelligent air conditioner 12 has an independent number, and the number is used for indicating the room 11 where the intelligent air conditioner 12 is located, so that the user can accurately send meals after ordering.
The intelligent air conditioner 12 can order food by interacting with the user in a voice interaction manner, or a gesture interaction manner, or an interaction via an operation panel.
Fig. 2 is a schematic diagram of an ordering method based on an air conditioner according to the disclosed embodiment. The ordering method based on the air conditioner can be executed in the intelligent air conditioner shown in fig. 1, can also be executed in a control terminal of the intelligent air conditioner, such as a remote controller or an operation panel arranged on a wall of a room, and can also be executed in a server, such as a cloud platform arranged in a hotel.
Referring to fig. 2, the air-conditioning-based ordering method includes:
s201, obtaining the set temperature and the current time of the air conditioner.
When the user sets the set temperature by the remote controller or the operation panel provided on the wall of the room, the set temperature is stored, and when the set temperature of the air conditioner needs to be obtained, the set temperature can be read from the stored data.
The current time here refers to a time when the user orders food, for example, the user determines a time when the food needs to be ordered through a remote controller, an operation panel, voice, gesture, and the like, that is, the current time. The current time is a time of day, i.e., the current time ranges from 0 to 24 points.
S202, determining a pre-selection menu corresponding to the set temperature and the current time in the total menu.
Generally, the set temperature can be used to indicate the cooling demand or the heating demand of the user, and the strength of the cooling demand or the strength of the heating demand, for example, generally, if the set temperature is higher than 26 ℃, it indicates that the user has the heating demand, and the larger the difference between the set temperature and 26 ℃, the stronger the heating demand of the user; if the set temperature is lower than 26 ℃, the refrigerating requirement of all users is represented, and the larger the difference value between the set temperature and 26 ℃, the stronger the refrigerating requirement of the users is.
For example, in the case where the user has a heating demand, a meal with a long temperature retention time, such as hot drinks, hot soups, and hot pots, may be added to the pre-selection menu, and in the case where the user has a cooling demand, a refreshing series of dishes, such as cold drinks, barbecues, and cold dishes, may be added to the pre-selection menu.
In case the set temperature is higher than 26 ℃, the temperature interval of more than 26 ℃ can be divided into three temperature intervals: the temperature control device comprises a first temperature interval, a second temperature interval and a third temperature interval, wherein the upper limit value of the first temperature interval is smaller than the lower limit value of the second temperature interval, and the upper limit value of the second temperature interval is smaller than the lower limit value of the third temperature interval. If the set temperature is within the first temperature interval, the hot beverage can be added into a pre-selected menu; if the set temperature is within the second temperature interval, the hot soup food can be added into a pre-selection menu; and if the set temperature is within the third temperature interval, adding the hot pot into a preselected menu. The temperature holding time of the hot drink meal is shorter than that of the hot soup meal, and the temperature holding time of the hot soup meal is shorter than that of the hot pot.
The meal items in the preselection menu listed above are only exemplary to illustrate the corresponding relationship between the set temperature and the meal items, and those skilled in the art can also determine the corresponding relationship between the set temperature and the meal items according to the actual conditions (local eating habits).
The corresponding relation of the set temperature, the current time and the pre-selection menu can be stored in the data, and the pre-selection menu corresponding to the set temperature and the current time can be obtained in the database after the set temperature and the current time are obtained.
Alternatively, determining a preselected menu corresponding to the set temperature and the indicated current time in the global menu may include: in a preset temperature interval, determining a current temperature interval in which a set temperature is located; determining the current time period of the current moment in a preset time period; within the set days, obtaining the order placing times of each meal in the total menu within the current temperature interval and the current time period; in the general menu, a plurality of meals which are placed the most number of times are determined as a pre-selected menu.
The preset temperature interval includes a plurality of temperature intervals, for example, the preset temperature interval may include [14 ℃, 16 ℃), [16 ℃, 18 ℃), [18 ℃, 20 ℃), [20 ℃, 22 ℃), [22 ℃, 24 ℃), [24 ℃, 26 ℃), [26 ℃, 28 ℃), and [28 ℃, 30 ℃); alternatively, every 1 ℃ temperature span is a temperature interval, etc. The preset temperature interval in this embodiment is only meant by an exemplary illustrative temperature interval, and the preset temperature interval is not specifically limited, and a person skilled in the art can determine an appropriate preset temperature interval according to actual conditions.
For example, if the set temperature is 23 ℃, the current temperature range in which the set temperature is 23 ℃ is [22 ℃, 24 ℃).
The preset time period may include: 5: 00-9: 00 (including 5: 00, excluding 9: 00), 9: 00-11: 00 (including 9: 00, excluding 11: 00), 11: 00-14: 00 (including 11: 00, excluding 14: 00), 14: 00-17: 00 (including 14: 00, excluding 17: 00) and 17: 00-21: 00 (including 17: 00 and 21: 00).
For example, the current time is 11: 41, then the current time 11: the current time period for 41 is 11: 00-14: 00 (including 11: 00, excluding 14: 00).
The set number of days may be one week, half a month, one quarter, or more days.
For example, the current time is 11: and 41, setting the temperature to be 23 ℃, obtaining the temperature of each meal in the current time period 11: 00-14: 00 (including 11: 00, excluding 14: 00), and the number of orders in the current temperature range [22 ℃, 24 ℃).
In some specific application scenarios, the set duration is one week, and the current time is 11: set temperature 23 ℃, first day at current time period 11: 00-14: 00 (including 11: 00, excluding 14: 00), and the current temperature range [22 ℃, 24 ℃), the order quantity of a specific meal is 15; in the same time period and the same temperature range on the next day, the ordering frequency of a specific meal is 10 orders; in the same time period and the same temperature range on the third day, the order placing frequency of a specific meal is 11 orders; in the same time period and the same temperature range on the fourth day, the order placing frequency of a specific meal is 16 orders; in the fifth day, the order-placing times of a specific meal are 17 orders within the same time period and the same temperature range; in the same time period and the same temperature range on the sixth day, the order placing frequency of a specific meal is 18 orders; in the seventh day, in the same time period and the same temperature range, the order placing frequency of a specific meal is 20 orders; within the set time length, the number of times of placing the order of the specific meal in the current temperature interval and the current time period is as follows: 15+10+11+16+17+18+20 is 107 pieces. The embodiment is only an exemplary illustration of the foregoing steps, and does not limit the foregoing steps, and a person skilled in the art may select an appropriate set time length according to actual situations to determine the next order.
Within the set days, after the ordering times of each meal in the total menu within the current temperature interval and the current time period are obtained, sequencing the meals in the total menu according to the ordering times from high to low, and determining the meals at the front of the sequencing as a preselected menu. For example, the top two, three, four or more meals are determined as the pre-selected menu.
By adopting the technical scheme, the preselection menu can be obtained, and the user can order in the preselection menu more conveniently.
Optionally, obtaining the number of orders of each meal in the total menu within the current temperature interval and within the current time period includes: within a first day, obtaining a first order-placing number of times of each meal in the total menu within a current temperature interval and a current time period; within a second day, obtaining a second order placing frequency of each meal in the total menu within the current temperature interval and the current time period; determining the order placing times of each meal according to the weighted average value or the weighted sum of the first order placing times and the second order placing times; the first day number is larger than the second day number, and the weight of the first order-placing times is smaller than that of the second order-placing times.
The first number of days here, which may be a month, a quarter, a half year or more, the first next time number is used to indicate the total popularity of each meal in the total menu; the second number of days here may be two weeks, three weeks or one month, the second number of orders being used to indicate the seasonal popularity of each meal in the overall menu, e.g. different vegetables or fruits ripen at different times, a season in which one vegetable or fruit ripens, and one vegetable or fruit is more popular.
A weighted average or a weighted sum of the first order count and the second order count may be determined as the order count for each meal.
In the technical scheme, the weight of the first ordering times is smaller than that of the second ordering times, so that dishes conforming to the current statute can be recommended conveniently.
In determining the above weights, the weight of the second next order may be determined as 1, and a value less than 1, for example, 0.5 or 0.6, may be determined as the weight of the first next order. Or, after the above steps, the weight of the first order count and the weight of the second order count are normalized, so that the weighted average of the first order count and the second order count is calculated conveniently.
Optionally, obtaining the number of orders of each meal in the total menu within the current temperature interval and within the current time period, further includes: and obtaining a third order-placing number of each meal in the total menu within the current temperature interval and the current time period within a third number of days.
Determining the order placing times of each meal according to the weighted average or the weighted sum of the first order placing times and the second order placing times, wherein the determining comprises the following steps:
determining the order placing times of each meal according to the weighted average value or the weighted sum of the first order placing times, the second order placing times and the third order placing times; and the third day is less than the second day, the weight of the third order placing times is greater than that of the second order placing times, and the weight of the third order placing times is positively correlated with that of the third order placing times.
The third number of days here may be two, three, four or five days. In the prior art, the network can improve the popularity of a certain meal to the maximum extent, namely 'net red' food. By setting the third day and making the weight of the third day corresponding to the third order placing times be the largest, the user can be conveniently recommended with the net red food. The food with the red color has the characteristic of short timeliness, so that the weight of the third order-placing times is positively correlated with the third order-placing times, the sequencing of the food with the red color can be increased in the shortest time, and the food with the red color can be conveniently recommended to a user. In addition, if the food is not a red food, the order placing amount in the short term does not increase sharply, and the weight of the third order placing number in the aforementioned manner has a small influence on the weighted average or the weighted sum of the first order placing number, the second order placing number, and the third order placing number.
The weight of the second order-dropping times can be set to 1, and on the basis, the weight of the first order-dropping times and the weight of the third order-dropping times are determined, so that the weighted average value or the weighted sum of the first order-dropping times, the second order-dropping coefficient and the third order-dropping times can be calculated. Or, on the basis of the determined weight, the weight of the first order-placing number, the weight of the second order-placing number and the weight of the third order-placing number are normalized, so that the weighted average value of the first order-placing number, the second order-placing number and the third order-placing number is calculated conveniently.
The order count for each meal may be determined as a weighted average or a weighted sum of the first, second, and third order counts.
Optionally, in the preset time period, determining a current time period in which the current time is located includes:
if the current time is 5: 00-9: 00 (including 5: 00, excluding 9: 00), then it is determined that the current time belongs to the breakfast time period; alternatively, the first and second electrodes may be,
if the current time is 9: 00-11: 00 (including 9: 00, excluding 11: 00), then it is determined that the current time belongs to the morning tea time period; alternatively, the first and second electrodes may be,
if the current time is at 11: 00-14: 00 (including 11: 00, excluding 14: 00), then it is determined that the current time belongs to the lunch time period; alternatively, the first and second electrodes may be,
if the current time is at 14: 00-17: 00 (including 14: 00, excluding 17: 00), then the current time is determined to belong to the afternoon tea time period; alternatively, the first and second electrodes may be,
if the current time is at 17: 00-21: 00 (including 17: 00 and 21: 00), determining that the current time belongs to the dinner time period; alternatively, the first and second electrodes may be,
if the current time is 21: and after 00, determining that the current time belongs to the night time period.
Therefore, the preselection menu meeting the dining habits can be conveniently determined by dividing according to the dining time periods.
S203, displaying a pre-selection menu.
The preselected menu can be displayed in the form of a display screen, for example, the name and picture of each meal in the preselected menu are displayed; alternatively, the preselection menu may be presented in a voice broadcast form, for example, the meals in the preselection menu are broadcast in sequence.
And S204, responding to the user interactive operation, and determining the selected food corresponding to the user operation in the pre-selection menu.
When the user orders food through gestures, responding to user interaction operations, the method can comprise the following steps: responding to the gesture operation of the user, and obtaining an instruction corresponding to the gesture operation of the user, wherein the instruction corresponds to the selected food, namely, the instruction is used for determining the selected food in the pre-selection menu.
Alternatively, when ordering is performed while the user is interacting through voice, in response to the user interaction operation, the method may include: in response to the user's voice interaction, and obtaining an instruction corresponding to the user's voice interaction, the instruction corresponding to the selected meal, i.e., the instruction for determining the selected meal in the pre-selection menu.
After the selected food is determined, the selected food can be sent to a kitchen of the hotel, and after the kitchen staff receives the selected food, the selected food is made. After the meal is made, according to the number of the air conditioner corresponding to the selected meal, a room corresponding to the number is determined, and the meal is sent to the room where the user is located by the service staff.
Generally, the set temperature can be used to indicate the cooling demand or the heating demand of the user, and the strength of the cooling demand or the strength of the heating demand, for example, generally, if the set temperature is higher than 26 ℃, it indicates that the user has the heating demand, and the larger the difference between the set temperature and 26 ℃, the stronger the heating demand of the user; if the set temperature is lower than 26 ℃, the refrigerating requirement of all users is represented, and the larger the difference value between the set temperature and 26 ℃, the stronger the refrigerating requirement of the users is. In addition, the types of food required by the user at different times are different, for example, the food which can be taken as breakfast is required at the breakfast time, the food which can be taken as lunch is required at the lunch time, and the food which can be taken as dinner is required at the dinner time. The pre-selection menu is determined by setting the temperature and the current moment, so that the heating requirement, the refrigerating requirement and the dining type of the user are better met, the determined pre-selection menu has higher pertinence, and the user can easily order the required meal.
In addition, in some application scenarios, the air-conditioning-based ordering method further comprises the following steps: the production site of the selected meal is displayed in a display device associated with the air conditioner.
Therefore, the user can observe the manufacturing process of the meal in real time, the user can conveniently know the completion degree of the meal, the user can know that the meal is safe (the meal raw materials and the manufacturing process meet the sanitary requirement), and the user can have meals more confidently.
Fig. 3 is a schematic diagram of an air-conditioning-based meal ordering apparatus provided in an embodiment of the present disclosure, where the meal ordering apparatus may be implemented in software, hardware, or a combination of software and hardware. As shown in fig. 3, the air-conditioning-based ordering apparatus includes: the system comprises an obtaining module 31, a screening module 32, a display module 33 and an interaction module 34, wherein the obtaining module 31 is configured to obtain a set temperature of the air conditioner and a current time; the filtering module 32 is configured to determine a preselected menu corresponding to the set temperature and the current time among the overall menus; the presentation module 33 is configured to present a pre-selected menu; the interaction module 34 is configured to determine a selected meal item corresponding to the user action in the pre-selection menu in response to the user interaction.
The air-conditioner-based ordering device in the embodiment of the present disclosure corresponds to the air-conditioner-based ordering method in the foregoing embodiment one to one, and the definition and the explanation of the terms and the steps in the ordering method in the foregoing embodiment are generally suitable for the definition and the explanation of the terms and the steps in the air-conditioner-based ordering device, and those skilled in the art may refer to the relevant contents in the foregoing embodiment, and are not repeated here.
Generally, the set temperature can be used to indicate the cooling demand or the heating demand of the user, and the strength of the cooling demand or the strength of the heating demand, for example, generally, if the set temperature is higher than 26 ℃, it indicates that the user has the heating demand, and the larger the difference between the set temperature and 26 ℃, the stronger the heating demand of the user; if the set temperature is lower than 26 ℃, the refrigerating requirement of all users is represented, and the larger the difference value between the set temperature and 26 ℃, the stronger the refrigerating requirement of the users is. In addition, the types of food required by the user at different times are different, for example, the food which can be taken as breakfast is required at the breakfast time, the food which can be taken as lunch is required at the lunch time, and the food which can be taken as dinner is required at the dinner time. The pre-selection menu is determined by setting the temperature and the current moment, so that the heating requirement, the refrigerating requirement and the dining type of the user are better met, the determined pre-selection menu has higher pertinence, and the user can easily order the required meal.
In some embodiments, the air conditioner based ordering apparatus includes a processor and a memory storing program instructions, the processor being configured to execute the air conditioner based ordering method provided by the foregoing embodiments when executing the program instructions.
Fig. 4 is a schematic diagram of an ordering device based on an air conditioner according to an embodiment of the disclosure. As shown in fig. 4, the air-conditioning-based ordering apparatus includes:
a processor (processor)41 and a memory (memory)42, and may further include a Communication Interface (Communication Interface)43 and a bus 44. The processor 41, the communication interface 43, and the memory 42 may communicate with each other via a bus 44. The communication interface 43 may be used for information transfer. Processor 41 may invoke logic instructions in memory 42 to perform the air conditioner based ordering method provided by the foregoing embodiments.
Furthermore, the logic instructions in the memory 42 may be implemented in software functional units and stored in a computer readable storage medium when sold or used as a stand-alone product.
The memory 42 is a computer-readable storage medium, and can be used for storing software programs, computer-executable programs, such as program instructions/modules corresponding to the methods in the embodiments of the present disclosure. The processor 41 executes the functional application and data processing by executing the software program, instructions and modules stored in the memory 42, that is, implements the method in the above-described method embodiment.
The memory 42 may include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application program required for at least one function; the storage data area may store data created according to the use of the terminal device, and the like. Further, the memory 42 may include a high speed random access memory and may also include a non-volatile memory.
The embodiment of the disclosure provides an intelligent air conditioner, which comprises the ordering device based on the air conditioner provided by the embodiment.
The embodiment of the present disclosure provides a computer-readable storage medium storing computer-executable instructions configured to perform the air conditioner-based ordering method provided by the foregoing embodiment.
The disclosed embodiments provide a computer program product comprising a computer program stored on a computer-readable storage medium, the computer program comprising program instructions that, when executed by a computer, cause the computer to perform the air conditioner-based ordering method provided by the foregoing embodiments.
The computer-readable storage medium described above may be a transitory computer-readable storage medium or a non-transitory computer-readable storage medium.
The technical solution of the embodiments of the present disclosure may be embodied in the form of a software product, where the computer software product is stored in a storage medium and includes one or more instructions to enable a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the method in the embodiments of the present disclosure. And the aforementioned storage medium may be a non-transitory storage medium comprising: a U-disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and other various media capable of storing program codes, and may also be a transient storage medium.
The above description and drawings sufficiently illustrate embodiments of the disclosure to enable those skilled in the art to practice them. Other embodiments may incorporate structural, logical, electrical, process, and other changes. The examples merely typify possible variations. Individual components and functions are optional unless explicitly required, and the sequence of operations may vary. Portions and features of some embodiments may be included in or substituted for those of others. Furthermore, the words used in the specification are words of description only and are not intended to limit the claims. As used in the description of the embodiments and the claims, the singular forms "a", "an" and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise. Furthermore, the terms "comprises" and/or "comprising," when used in this application, specify the presence of stated features, integers, steps, operations, elements, and/or components, but do not preclude the presence or addition of one or more other features, integers, steps, operations, elements, components, and/or groups thereof. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other identical elements in a process, method or device comprising the element. In this document, each embodiment may be described with emphasis on differences from other embodiments, and the same and similar parts between the respective embodiments may be referred to each other. For methods, products, etc. of the embodiment disclosures, reference may be made to the description of the method section for relevance if it corresponds to the method section of the embodiment disclosure.
Those of skill in the art would appreciate that the various illustrative elements and algorithm steps described in connection with the embodiments disclosed herein may be implemented as electronic hardware or combinations of computer software and electronic hardware. Whether such functionality is implemented as hardware or software may depend upon the particular application and design constraints imposed on the solution. Skilled artisans may 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 disclosed embodiments. It can be clearly understood by those skilled in the art that, for convenience and brevity of description, the specific working processes of the system, the apparatus and the unit described above may refer to the corresponding processes in the foregoing method embodiments, and are not described herein again.
In the embodiments disclosed herein, the disclosed methods, products (including but not limited to devices, apparatuses, etc.) may be implemented in other ways. For example, the above-described apparatus embodiments are merely illustrative, and for example, a division of a unit may be merely a division of a logical function, and an actual implementation may have another division, for example, a plurality of units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or units, and may be in an electrical, mechanical or other form. Units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to implement the present embodiment. In addition, functional units in the embodiments of the present disclosure may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit.
The flowchart and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of systems, methods and computer program products according to embodiments of the present disclosure. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of code, which comprises one or more executable instructions for implementing the specified logical function(s). In some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. Each block of the block diagrams and/or flowchart illustrations, and combinations of blocks in the block diagrams and/or flowchart illustrations, can be implemented by special purpose hardware-based systems that perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.