CN108958080B - Method and device for controlling rotary table, computer storage medium and terminal - Google Patents
Method and device for controlling rotary table, computer storage medium and terminal Download PDFInfo
- Publication number
- CN108958080B CN108958080B CN201810883987.4A CN201810883987A CN108958080B CN 108958080 B CN108958080 B CN 108958080B CN 201810883987 A CN201810883987 A CN 201810883987A CN 108958080 B CN108958080 B CN 108958080B
- Authority
- CN
- China
- Prior art keywords
- dish
- dishes
- information
- reference information
- quantitative reference
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
Images
Classifications
-
- G—PHYSICS
- G05—CONTROLLING; REGULATING
- G05B—CONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
- G05B19/00—Programme-control systems
- G05B19/02—Programme-control systems electric
- G05B19/04—Programme control other than numerical control, i.e. in sequence controllers or logic controllers
-
- A—HUMAN NECESSITIES
- A47—FURNITURE; DOMESTIC ARTICLES OR APPLIANCES; COFFEE MILLS; SPICE MILLS; SUCTION CLEANERS IN GENERAL
- A47B—TABLES; DESKS; OFFICE FURNITURE; CABINETS; DRAWERS; GENERAL DETAILS OF FURNITURE
- A47B11/00—Tables with tops revolvable on vertical spindles
-
- A—HUMAN NECESSITIES
- A47—FURNITURE; DOMESTIC ARTICLES OR APPLIANCES; COFFEE MILLS; SPICE MILLS; SUCTION CLEANERS IN GENERAL
- A47B—TABLES; DESKS; OFFICE FURNITURE; CABINETS; DRAWERS; GENERAL DETAILS OF FURNITURE
- A47B31/00—Service or tea tables, trolleys, or wagons
-
- A—HUMAN NECESSITIES
- A47—FURNITURE; DOMESTIC ARTICLES OR APPLIANCES; COFFEE MILLS; SPICE MILLS; SUCTION CLEANERS IN GENERAL
- A47B—TABLES; DESKS; OFFICE FURNITURE; CABINETS; DRAWERS; GENERAL DETAILS OF FURNITURE
- A47B2200/00—General construction of tables or desks
- A47B2200/0035—Tables or desks with features relating to adjustability or folding
- A47B2200/0036—Table tops pivotable around longitudinal axis
-
- A—HUMAN NECESSITIES
- A47—FURNITURE; DOMESTIC ARTICLES OR APPLIANCES; COFFEE MILLS; SPICE MILLS; SUCTION CLEANERS IN GENERAL
- A47B—TABLES; DESKS; OFFICE FURNITURE; CABINETS; DRAWERS; GENERAL DETAILS OF FURNITURE
- A47B2200/00—General construction of tables or desks
- A47B2200/008—Tables or desks having means for applying electronic or electric devices
Landscapes
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Engineering & Computer Science (AREA)
- Automation & Control Theory (AREA)
- Table Equipment (AREA)
- Medical Treatment And Welfare Office Work (AREA)
Abstract
A method, an apparatus, a computer storage medium and a terminal for controlling a rotary table include: according to the dish selection information of each dining user, determining quantitative reference information of each dining user on the preference degree of each dish; and carrying out rotation control on the rotary table for placing the dishes according to the determined quantitative reference information of the preference degree of each dining user to each dish. The rotation control of the rotary table in the embodiment of the invention meets the application requirements under the conditions of more users and rich dishes, and improves the dining experience of the users.
Description
Technical Field
The present disclosure relates to, but not limited to, automation control technology, and more particularly, to a method, an apparatus, a computer storage medium, and a terminal for controlling a turntable.
Background
Along with the development of catering trade, revolving table compares with fixed dining table, can remove the required vegetable of user to corresponding position through rotatory mode, provides convenient for the user feeds.
At present, the rotary table mainly adopts the manual mode to rotate, and when the user is more, the dishes are abundant, the manual rotation mode can not satisfy the demands of a plurality of users simultaneously, still can cause the suggestion that produces left between the user, influences the user and has dinner.
In sum, the existing rotary table cannot meet the application requirements of the user under the conditions of more users and rich dishes, and the dining experience of the user is poor.
Disclosure of Invention
The following is a summary of the subject matter described in detail herein. This summary is not intended to limit the scope of the claims.
The embodiment of the invention provides a method and a device for controlling a rotary table, a computer storage medium and a terminal, which can improve dining experience of a user.
The embodiment of the invention provides a method for controlling a rotary table, which comprises the following steps:
according to the dish selection information of each dining user, determining quantitative reference information of each dining user on the preference degree of each dish;
and carrying out rotation control on the rotary table for placing the dishes according to the determined quantitative reference information of the preference degree of each dining user to each dish.
Optionally, before determining the quantitative reference information of the preference degree of each dining user for each dish, the method further includes:
collecting multimedia information of a dining area;
distinguishing the dish selection information of each dish rated by each dining user in the collected multimedia information;
the dish selection information comprises the following part or all of information: selecting image information of dishes, image information of edible dishes and voice information for evaluating the dishes.
Optionally, the determining the quantitative reference information of the preference degree of each dining user for each dish includes:
when the dish selection information comprises the action information of the selected dish, the quantitative reference information of the preference degree of the dining user to the selected dish is adjusted according to a first preset strategy;
when the dish selection information comprises the action information of eating the dishes, the quantitative reference information of the preference degree of the dining user to the selected dishes is adjusted according to a second preset strategy;
and when the dish selection information comprises the voice information for evaluating the dishes, the quantitative reference information of the preference degree of the dining user for the selected dishes is adjusted according to a third preset strategy.
Optionally, the determining the quantitative reference information of the preference degree of each dining user for each dish includes:
carrying out normalization processing on the quantitative reference information for quantifying the preference degree of each dining user on all dishes, and initializing that the quantitative reference information for quantifying the preference degree of each dining user on each dish has the same value;
when the quantitative reference information of the preference degree of the dining user to the current dish is adjusted according to the dish selection information, the quantitative reference information of the preference degree of the dining user to other dishes is proportionally adjusted according to the adjustment size of the value of the quantitative reference information of the preference degree of the current dish and the value of the quantitative reference information of the preference degree of the dining user to other dishes;
wherein the other dishes comprise dishes except the current dish in all dishes.
Alternatively to this, the first and second parts may,
optionally, the rotating table for placing dishes is controlled to rotate, and the rotating table comprises:
and determining the rotation angle of the rotary table for placing the dishes according to the determined quantitative reference information, the positions of the dishes and the positions of the dining users, and performing rotation control on the rotary table according to the determined rotation angle.
Optionally, the rotating the rotary table for placing the dishes is controlled by a rotation angle calculated according to the following formula:
θm=argmax(L(θ));
wherein the content of the first and second substances,s is the number of dining users, and C is the total number of dishes; wi, j is quantitative reference information of the preference degree of the ith dinning user to the jth dish; d (D)i,Dj) Is Di,DjNormalized included angle therebetween; diAn included angle formed by the position of the ith dinning user, the circle center of the rotary table and a preset reference node, DjAn included angle formed by the position of the jth dish, the circle center and the reference node;
in another aspect, an embodiment of the present invention further provides an apparatus for controlling a revolving table, including: a determination unit and a control unit; wherein the content of the first and second substances,
the determination unit is used for: according to the dish selection information of each dining user, determining quantitative reference information of each dining user on the preference degree of each dish;
the control unit is used for: and carrying out rotation control on the rotary table for placing the dishes according to the determined quantitative reference information of the preference degree of each dining user to each dish.
Optionally, the apparatus further includes an acquisition processing unit, configured to: collecting multimedia information of a dining area;
distinguishing the dish selection information of each dish rated by each dining user in the collected multimedia information;
the dish selection information comprises the following part or all of information: selecting image information of dishes, image information of edible dishes and voice information for evaluating the dishes.
Optionally, the determining unit is specifically configured to:
when the dish selection information comprises the action information of the selected dish, the quantitative reference information of the preference degree of the dining user to the selected dish is adjusted according to a first preset strategy;
when the dish selection information comprises the action information of eating the dishes, the quantitative reference information of the preference degree of the dining user to the selected dishes is adjusted according to a second preset strategy;
and when the dish selection information comprises the voice information for evaluating the dishes, the quantitative reference information of the preference degree of the dining user for the selected dishes is adjusted according to a third preset strategy.
Optionally, the determining unit is specifically configured to:
carrying out normalization processing on the quantitative reference information for quantifying the preference degree of each dining user on all dishes, and initializing that the quantitative reference information for quantifying the preference degree of each dining user on each dish has the same value;
when the quantitative reference information of the preference degree of the dining user to the current dish is adjusted according to the dish selection information, the quantitative reference information of the preference degree of the dining user to other dishes is proportionally adjusted according to the adjustment size of the value of the quantitative reference information of the preference degree of the current dish and the value of the quantitative reference information of the preference degree of the dining user to other dishes;
wherein the other dishes comprise dishes except the current dish in all dishes.
Optionally, the control unit is specifically configured to:
and determining the rotation angle of the rotary table for placing the dishes according to the determined quantitative reference information, the positions of the dishes and the positions of the dining users, and performing rotation control on the rotary table according to the determined rotation angle.
Optionally, the control unit is specifically configured to perform rotation control on a rotation angle of the rotary table for placing dishes, which is calculated according to the following formula:
θm=argmax(L(θ));
wherein the content of the first and second substances,s is the number of dining users, and C is the total number of dishes; wi, j is quantitative reference information of the preference degree of the ith dinning user to the jth dish; d (D)i,Dj) Is Di,DjNormalized included angle therebetween; diAn included angle formed by the position of the ith dinning user, the circle center of the rotary table and a preset reference node, DjAn included angle formed by the position of the jth dish, the circle center and the reference node;
on the other hand, the embodiment of the present invention further provides a computer storage medium, in which computer-executable instructions are stored, and the computer-executable instructions are used for executing the method for controlling a revolving table.
On the other hand, an embodiment of the present invention further provides a terminal, including: a memory and a processor; wherein the content of the first and second substances,
the processor is configured to execute program instructions in the memory;
the program instructions read on the processor to perform the following operations:
according to the dish selection information of each dining user, determining quantitative reference information of each dining user on the preference degree of each dish;
and carrying out rotation control on the rotary table for placing the dishes according to the determined quantitative reference information of the preference degree of each dining user to each dish.
Compared with the related art, the technical scheme of the application comprises the following steps: according to the dish selection information of each dining user, determining quantitative reference information of each dining user on the preference degree of each dish; and carrying out rotation control on the rotary table for placing the dishes according to the determined quantitative reference information of the preference degree of each dining user to each dish. The rotation control of the rotary table in the embodiment of the invention meets the application requirements under the conditions of more users and rich dishes, and improves the dining experience of the users.
Additional features and advantages of the invention will be set forth in the description which follows, and in part will be obvious from the description, or may be learned by practice of the invention. The objectives and other advantages of the invention will be realized and attained by the structure particularly pointed out in the written description and claims hereof as well as the appended drawings.
Drawings
The accompanying drawings are included to provide a further understanding of the invention and are incorporated in and constitute a part of this specification, illustrate embodiments of the invention and together with the example serve to explain the principles of the invention and not to limit the invention.
FIG. 1 is a flow chart of a method for controlling a turntable according to an embodiment of the present invention;
FIG. 2 is a diagram illustrating an exemplary arrangement of sensors according to an embodiment of the present invention;
FIG. 3 is a schematic view of the rotation angle of the present invention;
fig. 4 is a block diagram of an apparatus for controlling a rotary table according to an embodiment of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention more apparent, embodiments of the present invention will be described in detail below with reference to the accompanying drawings. It should be noted that the embodiments and features of the embodiments in the present application may be arbitrarily combined with each other without conflict.
The steps illustrated in the flow charts of the figures may be performed in a computer system such as a set of computer-executable instructions. Also, while a logical order is shown in the flow diagrams, in some cases, the steps shown or described may be performed in an order different than here.
Fig. 1 is a flowchart of a method for controlling a rotary table according to an embodiment of the present invention, as shown in fig. 1, including:
step 101, determining quantitative reference information of each dining user on the preference degree of each dish according to the dish selection information of each dining user;
optionally, before determining the quantitative reference information of the preference degree of each dining user for each dish, the method according to the embodiment of the present invention further includes:
collecting multimedia information of a dining area;
distinguishing the dish selection information of each dish rated by each dining user in the collected multimedia information;
the dish selection information comprises the following part or all of information: selecting image information of dishes, image information of edible dishes and voice information for evaluating the dishes.
It should be noted that, in the embodiment of the present invention, the multimedia information may be acquired through a preset image acquisition device and a preset audio acquisition device; fig. 2 is a diagram illustrating a distribution example of sensors according to an embodiment of the present invention, and as shown in fig. 2, a full-angle camera may be disposed above the rotary table for collecting image information; an audio sensor can be arranged at the bottom of the rotary table, and a user collects voice information.
Optionally, the distinguishing of the dish selection information of each dining user in the collected multimedia information according to the embodiment of the present invention includes:
when the multimedia information comprises audio information, determining dish selection information of each dining user after distinguishing each dining user according to sound source positioning or voice recognition;
and when the multimedia information comprises image information, determining the dish selection information of each dining user after distinguishing each dining user based on image identification.
Optionally, the determining of the quantitative reference information of the preference degree of each dining user for each dish in the embodiment of the present invention includes:
when the dish selection information comprises the action information of the selected dish, the quantitative reference information of the preference degree of the dining user to the selected dish is adjusted according to a first preset strategy;
when the dish selection information comprises the action information of eating the dishes, the quantitative reference information of the preference degree of the dining user to the selected dishes is adjusted according to a second preset strategy;
and when the dish selection information comprises the voice information for evaluating the dishes, the quantitative reference information of the preference degree of the dining user for the selected dishes is adjusted according to a third preset strategy.
It should be noted that, in the embodiment of the present invention, when the dish selection information is different, the adjustment range of the quantitative reference information may be set to be different, for example, the adjustment range of the quantitative reference information according to the voice information for evaluating the dish may be set to be larger than the adjustment range of the quantitative reference information according to the action information for selecting the dish; the adjustment range of the quantitative reference information according to the action information of the selected dish can be set to be larger than the adjustment range of the quantitative reference information according to the action information of the edible dish (the dish selection is generally realized by taking the dish to the dinner plate of the diner, and the dish taken to the dinner plate generally needs to be divided into a plurality of times to be completely eaten). Here, the process of adjusting the quantized reference information includes a process of increasing the quantized reference information and a process of decreasing the quantized reference information, the increasing process being realized by addition, and the decreasing process being realized by subtraction; for example, when the dish is evaluated positively, the quantitative reference information is added; when the dish is subjected to negative evaluation, quantifying the reference information to be minus; when the action information of selecting the dish is detected, the quantitative reference information is added, and the action information of eating the dish adjusts the quantitative reference information to be subtracted (theoretically, the appetite is reduced when more dishes are eaten). When the dish selection information contains various types, the quantitative reference information can be processed one by one according to the sequence of the dish selection information obtained by distinguishing; when the times of obtaining the dish selection information are the same, one of the dish selection information may be preferentially processed based on a priority set in advance.
Taking the example of adjusting the quantitative reference information according to the action information of the selected dish, the embodiment of the invention assumes that the quantitative reference information before adjustment is wi,jThe adjusted quantized reference information is w'i,jW'i,jCan be as follows:
Wherein K is selected empirically, and may take the value of 3, for example; in order to meet the normalization condition, quantitative reference information of the preference degree of the dining user to other dishes needs to be adjusted according to a proportion.
Optionally, the determining of the quantitative reference information of the preference degree of each dining user for each dish in the embodiment of the present invention includes:
carrying out normalization processing on the quantitative reference information for quantifying the preference degree of each dining user on all dishes, and initializing that the quantitative reference information for quantifying the preference degree of each dining user on each dish has the same value;
when the quantitative reference information of the preference degree of the dining user to the current dish is adjusted according to the dish selection information, the quantitative reference information of the preference degree of the dining user to other dishes is proportionally adjusted according to the adjustment size of the value of the quantitative reference information of the preference degree of the current dish and the value of the quantitative reference information of the preference degree of the dining user to other dishes;
wherein the other dishes comprise dishes except the current dish in all dishes.
It should be noted that the voice information for evaluating dishes in the embodiment of the present invention may include: information for performing positive evaluation on the dishes and information for performing negative evaluation on the dishes; for example, the information for positive evaluation of the dish may include: the dish has good taste, good eating, good fragrance, good taste, too good taste, very tender, very fresh, very authentic, instant melting in the mouth, sour and refreshing and the like, and the information for negative evaluation on the dish can comprise: too oily, too salty, unpalatable, too spicy, stale, unreasonable, unpalatable, difficult to eat, next time unpalatable, bad, too rotten, too old, etc. The information for evaluating the dishes can be added or deleted according to the characteristics of dining environment, dish characteristics and local language.
Optionally, the determining of the quantitative reference information of the preference degree of each dining user for each dish in the embodiment of the present invention includes:
and determining quantitative reference information of the preference degree of each dinning user to each dish at intervals of preset time length.
It should be noted that the preset duration may be unequal durations, and the corresponding durations may be set at different stages of eating. For example, after initializing quantitative reference information of the dining user on the preference degree of each dish, determining dish selection information of the dining user at the first stage according to multimedia information of a dining area with a first preset time length; when the dining user has a normal meal, determining the dish selection information of the dining user at the second stage through the multimedia information of the dining area with the second preset time length; when the dining user has a certain degree of dining volume, determining the dish selection information of the dining user in the third stage through the multimedia information of the dining area with the third preset time length; the preset time length can be adjusted according to the eating frequency of the dining user, for example, when the eating frequency of the dining user is higher, the preset time length is set to be shorter; when the eating frequency of the dining user is low, setting a long preset time length; in addition, the skilled person can adjust the preset duration of each stage according to the difference of the dining groups and the difference of the dining environments, and the preset duration of each stage can also be set to be equal.
In the following, briefly explaining the initialization and adjustment process by way of example, assuming that the current dining table contains N dishes, the initialization that the quantitative reference information of the dining user to the preference degree of each dish has the same value may include: setting the quantitative reference information of the dining user to the preference degree of each dish to be 1/N; assuming that the dining user 1 has picked up the dish 1, the quantitative reference information of the preference degree of the dining user 1 to the dish 1 is adjusted in an increasing manner by referring to the method of the embodiment of the present invention, and assuming that the increasing range is X, the quantitative reference information of the preference degree of the dining user to other dishes is adjusted in proportion to include: reducing and adjusting the quantitative reference information of the preference degree of the dining user 1 to the dishes 2, wherein the adjustment range can be 1/N-1/N/(1-1/N) X; wherein, the first 1/N in the formula is quantitative reference information of the preference degree of the dining user 1 to the dish 2, and the third 1/N is quantitative reference information of the preference degree of the dining user 1 to the dish 2. In addition, when the dish is removed, quantitative reference information of the preference degree of the dining user for the dish can be proportionally distributed to other dishes.
And 102, performing rotation control on the rotary table for placing the dishes according to the determined quantitative reference information of the preference degree of each dining user to each dish.
Optionally, the rotating table for placing dishes is controlled to rotate, and the rotating table comprises:
and determining the rotation angle of the rotary table for placing the dishes according to the determined quantitative reference information, the positions of the dishes and the positions of the dining users, and performing rotation control on the rotary table according to the determined rotation angle.
Optionally, the rotating control of the rotating table for placing dishes in the embodiment of the present invention includes rotating the rotating table according to a rotation angle calculated by the following formula:
θm=argmax(L(θ));
wherein the content of the first and second substances,s is the number of dining users, and C is the total number of dishes; wi, j is quantitative reference information of the preference degree of the ith dinning user to the jth dish; d (D)i,Dj) Is Di,DjNormalized included angle therebetween; diAn included angle formed by the position of the ith dinning user, the circle center of the rotary table and a preset reference node, DjThe position of the jth dish and theThe circle center and the reference node form an included angle;
FIG. 3 is a schematic view of the rotation angle of the present invention, where θ is the rotation angle S, as shown in FIG. 3iPosition on the circumference, P, constructed for the dining user at the rotary table0Is a predetermined reference node, CjThe position of the dish on the rotary table;
different rotation frequencies and rotation angles of each time can be respectively set for the dining types; for example, the set rotation frequency and angle of the family party, the company party, the friend party, and the like may be analyzed and determined based on experience, or may be adjusted according to actual conditions, for example, when the friend party gets a dinner, different rotation frequencies and angles may be set according to the type of food and the eating speed of the friend.
Optionally, the method in the embodiment of the present invention further includes: stopping controlling the rotary table according to the received first instruction, wherein the rotary table can rotate according to the force application size and direction of the user; and rotating according to a preset rotation rule according to the received second instruction.
It should be noted that the motion control of the rotary table implemented by the first instruction and the second instruction is a method existing in the related art, and is not described herein again.
Compared with the related art, the technical scheme of the application comprises the following steps: according to the dish selection information of each dining user, determining quantitative reference information of each dining user on the preference degree of each dish; and carrying out rotation control on the rotary table for placing the dishes according to the determined quantitative reference information of the preference degree of each dining user to each dish. The rotation control of the rotary table in the embodiment of the invention meets the application requirements under the conditions of more users and rich dishes, and improves the dining experience of the users.
Fig. 4 is a block diagram of a device for controlling a revolving table according to an embodiment of the present invention, as shown in fig. 4, including: a determination unit 401 and a control unit 402; wherein the content of the first and second substances,
the determination unit 401 is configured to: according to the dish selection information of each dining user, determining quantitative reference information of each dining user on the preference degree of each dish;
optionally, the apparatus in the embodiment of the present invention further includes an acquisition processing unit 403, configured to: collecting multimedia information of a dining area;
distinguishing the dish selection information of each dish rated by each dining user in the collected multimedia information;
the dish selection information comprises the following part or all of information: selecting image information of dishes, image information of edible dishes and voice information for evaluating the dishes.
Optionally, the acquiring and processing unit 403 in the embodiment of the present invention is configured to distinguish the dish selection information of each dining user in the acquired multimedia information, and includes:
when the multimedia information comprises audio information, determining dish selection information of each dining user after distinguishing each dining user according to sound source positioning or voice recognition;
and when the multimedia information comprises image information, determining the dish selection information of each dining user after distinguishing each dining user based on image identification.
Optionally, the apparatus determining unit 401 in the embodiment of the present invention is specifically configured to:
when the dish selection information comprises the action information of the selected dish, the quantitative reference information of the preference degree of the dining user to the selected dish is adjusted according to a first preset strategy;
when the dish selection information comprises the action information of eating the dishes, the quantitative reference information of the preference degree of the dining user to the selected dishes is adjusted according to a second preset strategy;
and when the dish selection information comprises the voice information for evaluating the dishes, the quantitative reference information of the preference degree of the dining user for the selected dishes is adjusted according to a third preset strategy.
It should be noted that, in the embodiment of the present invention, when the dish selection information is different, the adjustment range of the quantitative reference information may be set to be different, for example, the adjustment range of the quantitative reference information according to the voice information for evaluating the dish may be set to be larger than the adjustment range of the quantitative reference information according to the action information for selecting the dish; the adjustment range of the quantitative reference information according to the action information of the selected dish can be set to be larger than the adjustment range of the quantitative reference information according to the action information of the edible dish (the dish selection is generally realized by taking the dish to the dinner plate of the diner, and the dish taken to the dinner plate generally needs to be divided into a plurality of times to be completely eaten). Here, the process of adjusting the quantized reference information includes a process of increasing the quantized reference information and a process of decreasing the quantized reference information, the increasing process being realized by addition, and the decreasing process being realized by subtraction; for example, when the dish is evaluated positively, the quantitative reference information is added; when the dish is subjected to negative evaluation, quantifying the reference information to be minus; when the action information of selecting the dish is detected, the quantitative reference information is added, and the action information of eating the dish adjusts the quantitative reference information to be subtracted (theoretically, the appetite is reduced when more dishes are eaten).
Taking the example of adjusting the quantitative reference information according to the action information of the selected dish, the embodiment of the invention assumes that the quantitative reference information before adjustment is wi,jThe adjusted quantized reference information is w'i,jW'i,jCan be as follows:
Wherein K is selected empirically, and may take the value of 3, for example; in order to meet the normalization condition, quantitative reference information of the preference degree of the dining user to other dishes needs to be adjusted according to a proportion.
Optionally, the determining unit 401 in the embodiment of the present invention is specifically configured to:
carrying out normalization processing on the quantitative reference information for quantifying the preference degree of each dining user on all dishes, and initializing that the quantitative reference information for quantifying the preference degree of each dining user on each dish has the same value;
when the quantitative reference information of the preference degree of the dining user to the current dish is adjusted according to the dish selection information, the quantitative reference information of the preference degree of the dining user to other dishes is proportionally adjusted according to the adjustment size of the value of the quantitative reference information of the preference degree of the current dish and the value of the quantitative reference information of the preference degree of the dining user to other dishes;
wherein the other dishes comprise dishes except the current dish in all dishes.
It should be noted that the voice information for evaluating dishes in the embodiment of the present invention may include: information for performing positive evaluation on the dishes and information for performing negative evaluation on the dishes; for example, the information for positive evaluation of the dish may include: the dish has good taste, good eating, good fragrance, good taste, too good taste, very tender, very fresh, very authentic, instant melting in the mouth, sour and refreshing and the like, and the information for negative evaluation on the dish can comprise: too oily, too salty, unpalatable, too spicy, stale, unreasonable, unpalatable, difficult to eat, next time unpalatable, bad, too rotten, too old, etc. The information for evaluating the dishes can be added or deleted according to the characteristics of dining environment, dish characteristics and local language.
Optionally, the quantitative reference information used by the determining unit 401 in the embodiment of the present invention to determine the preference degree of each dining user for each dish includes:
and determining quantitative reference information of the preference degree of each dinning user to each dish at intervals of preset time length.
It should be noted that the preset duration may be unequal durations, and the corresponding durations may be set at different stages of eating. For example, after initializing quantitative reference information of the dining user on the preference degree of each dish, determining dish selection information of the dining user at the first stage according to multimedia information of a dining area with a first preset time length; when the dining user has a normal meal, determining the dish selection information of the dining user at the second stage through the multimedia information of the dining area with the second preset time length; when the dining user has a certain degree of dining volume, determining the dish selection information of the dining user in the third stage through the multimedia information of the dining area with the third preset time length; the preset time length can be adjusted according to the eating frequency of the dining user, for example, when the eating frequency of the dining user is higher, the preset time length is set to be shorter; when the eating frequency of the dining user is low, setting a long preset time length; in addition, the skilled person can adjust the preset duration of each stage according to the difference of the dining groups and the difference of the dining environments, and the preset duration of each stage can also be set to be equal.
The control unit 402 is configured to: and carrying out rotation control on the rotary table for placing the dishes according to the determined quantitative reference information of the preference degree of each dining user to each dish.
Optionally, the control unit 402 in this embodiment of the present invention is specifically configured to:
and determining the rotation angle of the rotary table for placing the dishes according to the determined quantitative reference information, the positions of the dishes and the positions of the dining users, and performing rotation control on the rotary table according to the determined rotation angle.
Optionally, the control unit 402 in the embodiment of the present invention is specifically configured to perform rotation control on a rotation angle of the rotary table for placing dishes, which is obtained by calculating according to the following formula:
θm=argmax(L(θ));
wherein the content of the first and second substances,s is the number of dining users, and C is the total number of dishes; wi, j is quantitative reference information of the preference degree of the ith dinning user to the jth dish; d (D)iDj) is DiNormalized included angle between Dj; diAn included angle formed by the position of the ith dinning user, the circle center of the rotary table and a preset reference node, DjAn included angle formed by the position of the jth dish, the circle center and the reference node;
it should be noted that, in the embodiment of the present invention, the weight coefficient corresponding to each user may be set according to the type of the dining user;
different rotation frequencies and rotation angles of each time can be respectively set for the dining types; for example, the set rotation frequency and angle of the family party, the company party, the friend party, and the like may be analyzed and determined based on experience, or may be adjusted according to actual conditions, for example, when the friend party gets a dinner, different rotation frequencies and angles may be set according to the type of food and the eating speed of the friend.
Optionally, the apparatus in the embodiment of the present invention is further configured to: stopping controlling the rotary table according to the received first instruction, wherein the rotary table can rotate according to the force application size and direction of the user; and rotating according to a preset rotation rule according to the received second instruction.
It should be noted that the motion control of the rotary table implemented by the first instruction and the second instruction is a method existing in the related art, and is not described herein again.
Compared with the related art, the technical scheme of the application comprises the following steps: according to the dish selection information of each dining user, determining quantitative reference information of each dining user on the preference degree of each dish; and carrying out rotation control on the rotary table for placing the dishes according to the determined quantitative reference information of the preference degree of each dining user to each dish. The rotation control of the rotary table in the embodiment of the invention meets the application requirements under the conditions of more users and rich dishes, and improves the dining experience of the users.
The embodiment of the invention also provides a computer storage medium, wherein the computer storage medium stores computer executable instructions, and the computer executable instructions are used for executing the method for controlling the rotary table.
An embodiment of the present invention further provides a terminal, including: a memory and a processor; wherein the content of the first and second substances,
the processor is configured to execute program instructions in the memory;
the program instructions read on the processor to perform the following operations:
according to the dish selection information of each dining user, determining quantitative reference information of each dining user on the preference degree of each dish;
and carrying out rotation control on the rotary table for placing the dishes according to the determined quantitative reference information of the preference degree of each dining user to each dish.
It will be understood by those skilled in the art that all or part of the steps of the above methods may be implemented by a program instructing associated hardware (e.g., a processor) to perform the steps, and the program may be stored in a computer readable storage medium, such as a read only memory, a magnetic or optical disk, and the like. Alternatively, all or part of the steps of the above embodiments may be implemented using one or more integrated circuits. Accordingly, each module/unit in the above embodiments may be implemented in hardware, for example, by an integrated circuit to implement its corresponding function, or in software, for example, by a processor executing a program/instruction stored in a memory to implement its corresponding function. The present invention is not limited to any specific form of combination of hardware and software.
Although the embodiments of the present invention have been described above, the above description is only for the convenience of understanding the present invention, and is not intended to limit the present invention. It will be understood by those skilled in the art that various changes in form and details may be made therein without departing from the spirit and scope of the invention as defined by the appended claims.
Claims (14)
1. A method of controlling a rotary table, comprising:
according to the dish selection information of each dining user, determining quantitative reference information of each dining user on the preference degree of each dish; the dish selection information comprises action information of selecting a dish, action information of eating the dish and voice information of evaluating the dish;
the quantitative reference information for determining the preference degree of each dining user to each dish comprises the following steps: carrying out normalization processing on the quantitative reference information for quantifying the preference degree of each dining user on all dishes, and initializing that the quantitative reference information for quantifying the preference degree of each dining user on each dish has the same value; when the quantitative reference information of the dining user on the preference degree of the current dish is adjusted according to the dish selection information, the quantitative reference information of the dining user on the preference degree of other dishes is proportionally adjusted according to the adjustment size of the value of the quantitative reference information on the preference degree of the current dish and the value of the quantitative reference information on the preference degree of the dining user on other dishes;
the adjustment process of the quantitative reference information comprises increasing the quantitative reference information and reducing the quantitative reference information, and when the dish is evaluated positively, the quantitative reference information is added; when the dish is subjected to negative evaluation, quantifying the reference information to be minus; when the action information of selecting the dish is detected, the quantitative reference information is added, and the action information of eating the dish adjusts the quantitative reference information to be subtracted;
and carrying out rotation control on the rotary table for placing the dishes according to the determined quantitative reference information of the preference degree of each dining user to each dish.
2. The method of claim 1, wherein prior to determining the quantified reference information for the preference of each dining user for each dish, the method further comprises:
collecting multimedia information of a dining area;
and distinguishing the dish selection information of each dish evaluated by each dining user in the collected multimedia information.
3. The method of claim 2, wherein determining quantified reference information about the preference of each dining user for each dish comprises:
adjusting the quantitative reference information of the preference degree of the dinning user for the selected dishes according to a first preset strategy for the action information of the selected dishes;
adjusting the quantitative reference information of the preference degree of the dinning user for the selected dishes according to a second preset strategy for the action information of the edible dishes;
and adjusting the quantitative reference information of the preference degree of the dining user to the selected dishes according to a third preset strategy for the voice information for evaluating the dishes.
4. The method of claim 3,
the other dishes include dishes of all dishes except the current dish.
5. The method of claim 3 or 4, wherein the controlling the rotation of the rotary table for holding dishes comprises:
and determining the rotation angle of the rotary table for placing the dishes according to the determined quantitative reference information, the positions of the dishes and the positions of the dining users, and performing rotation control on the rotary table according to the determined rotation angle.
6. The method of claim 5, wherein the controlling the rotation of the rotary table for holding dishes comprises controlling the rotation of the rotary table according to a rotation angle calculated by the following formula:
θm=argmax(L(θ));
wherein the content of the first and second substances,s is the number of dining users, and C is the total number of dishes; wi, j is quantitative reference information of the preference degree of the ith dinning user to the jth dish; d (D)i,Dj) Is Di,DjNormalized included angle therebetween; diAn included angle formed by the position of the ith dinning user, the circle center of the rotary table and a preset reference node, DjAn included angle formed by the position of the jth dish, the circle center and the reference node;
7. an apparatus for controlling a rotary table, comprising: a determination unit and a control unit; wherein the content of the first and second substances,
the determination unit is used for: according to the dish selection information of each dining user, determining quantitative reference information of each dining user on the preference degree of each dish; the dish selection information comprises action information of selecting a dish, action information of eating the dish and voice information of evaluating the dish;
the determining unit is specifically configured to: carrying out normalization processing on the quantitative reference information for quantifying the preference degree of each dining user on all dishes, and initializing that the quantitative reference information for quantifying the preference degree of each dining user on each dish has the same value; when the quantitative reference information of the preference degree of the dining user to the current dish is adjusted according to the dish selection information, the quantitative reference information of the preference degree of the dining user to other dishes is proportionally adjusted according to the adjustment size of the value of the quantitative reference information of the preference degree of the current dish and the value of the quantitative reference information of the preference degree of the dining user to other dishes;
the adjustment process of the quantitative reference information comprises increasing the quantitative reference information and reducing the quantitative reference information, and when the dish is evaluated positively, the quantitative reference information is added; when the dish is subjected to negative evaluation, quantifying the reference information to be minus; when the action information of selecting the dish is detected, the quantitative reference information is added, and the action information of eating the dish adjusts the quantitative reference information to be subtracted;
the control unit is used for: and carrying out rotation control on the rotary table for placing the dishes according to the determined quantitative reference information of the preference degree of each dining user to each dish.
8. The apparatus of claim 7, further comprising an acquisition processing unit to: collecting multimedia information of a dining area;
and distinguishing the dish selection information of each dish evaluated by each dining user in the collected multimedia information.
9. The apparatus according to claim 8, wherein the determining unit is specifically configured to:
adjusting the quantitative reference information of the preference degree of the dinning user for the selected dishes according to a first preset strategy for the action information of the selected dishes;
adjusting the quantitative reference information of the preference degree of the dinning user for the selected dishes according to a second preset strategy for the action information of the edible dishes;
and adjusting the quantitative reference information of the preference degree of the dining user to the selected dishes according to a third preset strategy for the voice information for evaluating the dishes.
10. The apparatus of claim 9,
the other dishes include dishes of all dishes except the current dish.
11. The apparatus according to claim 9 or 10, wherein the control unit is specifically configured to:
and determining the rotation angle of the rotary table for placing the dishes according to the determined quantitative reference information, the positions of the dishes and the positions of the dining users, and performing rotation control on the rotary table according to the determined rotation angle.
12. The apparatus of claim 11,
the control unit is specifically used for performing rotation control on a rotation angle obtained by calculating the rotary table for placing dishes according to the following formula:
θm=argmax(L(θ));
wherein the content of the first and second substances,s is the number of dining users, and C is the total number of dishes; wi, j is quantitative reference information of the preference degree of the ith dinning user to the jth dish; d (D)i,Dj) Is Di,DjNormalized included angle therebetween; diAn included angle formed by the position of the ith dinning user, the circle center of the rotary table and a preset reference node, DjAn included angle formed by the position of the jth dish, the circle center and the reference node;
13. a computer storage medium having computer-executable instructions stored therein for performing the method of controlling a turntable of any one of claims 1-5.
14. A terminal, comprising: a memory and a processor; wherein the content of the first and second substances,
the processor is configured to execute program instructions in the memory;
program instructions for executing a method for controlling a rotary table according to any one of claims 1 to 5 when read by a processor.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810883987.4A CN108958080B (en) | 2018-08-06 | 2018-08-06 | Method and device for controlling rotary table, computer storage medium and terminal |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810883987.4A CN108958080B (en) | 2018-08-06 | 2018-08-06 | Method and device for controlling rotary table, computer storage medium and terminal |
Publications (2)
Publication Number | Publication Date |
---|---|
CN108958080A CN108958080A (en) | 2018-12-07 |
CN108958080B true CN108958080B (en) | 2020-12-04 |
Family
ID=64467599
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201810883987.4A Active CN108958080B (en) | 2018-08-06 | 2018-08-06 | Method and device for controlling rotary table, computer storage medium and terminal |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN108958080B (en) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110363685A (en) * | 2019-07-20 | 2019-10-22 | 韶关市启之信息技术有限公司 | A kind of method and system of personalized adjustment intelligent rotating table velocity of rotation |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102894652A (en) * | 2012-08-23 | 2013-01-30 | 安徽大学 | Intelligent rotating dining table |
CN103544205A (en) * | 2012-07-13 | 2014-01-29 | 国际商业机器公司 | Automatically evaluating customer satisfaction |
CN103778577A (en) * | 2013-08-30 | 2014-05-07 | 陈飞 | Method and device for regulating dining table and recording dining information according to tableware information |
CN104200315A (en) * | 2014-08-25 | 2014-12-10 | 王雪华 | Intelligent tableware and personalized dining information management system and method based on tableware |
CN205457070U (en) * | 2015-12-28 | 2016-08-17 | 江苏科比迪尼家居有限公司 | Intelligent table |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20070283853A1 (en) * | 2006-06-08 | 2007-12-13 | Jie-Yi Co., Ltd. | Table strcuture |
-
2018
- 2018-08-06 CN CN201810883987.4A patent/CN108958080B/en active Active
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103544205A (en) * | 2012-07-13 | 2014-01-29 | 国际商业机器公司 | Automatically evaluating customer satisfaction |
CN102894652A (en) * | 2012-08-23 | 2013-01-30 | 安徽大学 | Intelligent rotating dining table |
CN103778577A (en) * | 2013-08-30 | 2014-05-07 | 陈飞 | Method and device for regulating dining table and recording dining information according to tableware information |
CN104200315A (en) * | 2014-08-25 | 2014-12-10 | 王雪华 | Intelligent tableware and personalized dining information management system and method based on tableware |
CN205457070U (en) * | 2015-12-28 | 2016-08-17 | 江苏科比迪尼家居有限公司 | Intelligent table |
Also Published As
Publication number | Publication date |
---|---|
CN108958080A (en) | 2018-12-07 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US10832094B2 (en) | Generating hyperspectral image database by machine learning and mapping of color images to hyperspectral domain | |
US20180341878A1 (en) | Using artificial intelligence and machine learning to automatically share desired digital media | |
US20160063692A1 (en) | Automated Food Recognition and Nutritional Estimation With a Personal Mobile Electronic Device | |
CN113329545B (en) | Intelligent lighting method and device, intelligent control device and storage medium | |
CN107341350A (en) | Food materials intelligent management and device, server, intelligent refrigerator, storage medium | |
US20180211139A1 (en) | System and method for providing a recipe | |
CN112686218B (en) | Training method and device of text detection model, readable storage medium and equipment | |
US20200342977A1 (en) | System, computer-readable storage medium, and method | |
CN108958080B (en) | Method and device for controlling rotary table, computer storage medium and terminal | |
CN110020609A (en) | A kind of method, system and storage medium for analyzing food | |
CN110857831A (en) | Method and device for controlling temperature of refrigerator | |
CN110969047A (en) | Method and device for identifying food materials and refrigerator | |
CN110377692B (en) | Method and device for training robot to imitate learning manual customer service | |
CN108710820A (en) | Infantile state recognition methods, device and server based on recognition of face | |
CN110361982A (en) | A kind of home equipment control method, storage medium and smart home device | |
CN112115752A (en) | Method and device for training quality detection model and method and device for detecting quality | |
CN112902406B (en) | Air conditioner and/or fan parameter setting method, control device and readable storage medium | |
CN107432251A (en) | Feeding animal method | |
CN113191235A (en) | Sundry detection method, device, equipment and storage medium | |
US20210391051A1 (en) | Information processing apparatus, information processing method, and program | |
CN112418159A (en) | Attention mask based diner monitoring method and device and electronic equipment | |
Aslan et al. | On comparing color spaces for food segmentation | |
CN113940523B (en) | Self-adjusting method and device of intelligent mattress, intelligent mattress and storage medium | |
CN116580815A (en) | Diet nutrition management method and system for chronic patients | |
CN112966617B (en) | Method for generating balance image, method and device for training image generation model |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |