CN111913396A - Offline cooking control method, device and equipment - Google Patents

Offline cooking control method, device and equipment Download PDF

Info

Publication number
CN111913396A
CN111913396A CN202010632146.3A CN202010632146A CN111913396A CN 111913396 A CN111913396 A CN 111913396A CN 202010632146 A CN202010632146 A CN 202010632146A CN 111913396 A CN111913396 A CN 111913396A
Authority
CN
China
Prior art keywords
account
menu
equipment
cooking
login
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.)
Withdrawn
Application number
CN202010632146.3A
Other languages
Chinese (zh)
Inventor
王峰
郑杨青
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Zhuhai Unicook Technology Co Ltd
Original Assignee
Zhuhai Unicook Technology Co Ltd
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Zhuhai Unicook Technology Co Ltd filed Critical Zhuhai Unicook Technology Co Ltd
Priority to CN202010632146.3A priority Critical patent/CN111913396A/en
Publication of CN111913396A publication Critical patent/CN111913396A/en
Withdrawn legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B19/00Programme-control systems
    • G05B19/02Programme-control systems electric
    • G05B19/418Total factory control, i.e. centrally controlling a plurality of machines, e.g. direct or distributed numerical control [DNC], flexible manufacturing systems [FMS], integrated manufacturing systems [IMS] or computer integrated manufacturing [CIM]
    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B15/00Systems controlled by a computer
    • G05B15/02Systems controlled by a computer electric
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/08Network architectures or network communication protocols for network security for authentication of entities
    • H04L63/083Network architectures or network communication protocols for network security for authentication of entities using passwords
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/10Network architectures or network communication protocols for network security for controlling access to devices or network resources
    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B2219/00Program-control systems
    • G05B2219/20Pc systems
    • G05B2219/26Pc applications
    • G05B2219/2642Domotique, domestic, home control, automation, smart house
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02PCLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
    • Y02P90/00Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
    • Y02P90/02Total factory control, e.g. smart factories, flexible manufacturing systems [FMS] or integrated manufacturing systems [IMS]

Landscapes

  • Engineering & Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Computing Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Automation & Control Theory (AREA)
  • Computer Hardware Design (AREA)
  • Computer Security & Cryptography (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Quality & Reliability (AREA)
  • Manufacturing & Machinery (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

The application discloses an off-line cooking control method, device and equipment, and belongs to the technical field of data processing. The method comprises the following steps: sending a menu using request; receiving rejection request information, wherein the rejection request information is sent when the account is in an offline login state in a first cooking device currently, and the first cooking device is at least one cooking device during online login before the account is offline. The method and the device can effectively solve the problem that the menu use permission of the account is abused, can effectively control the menu use permission under the same account, and improve the control accuracy of the menu use permission of the account.

Description

Offline cooking control method, device and equipment
Technical Field
The present application relates to the field of data processing technologies, and in particular, to an offline cooking control method, apparatus, and device.
Background
With the progress of science and technology, intelligent cooking equipment is more and more popular. The electronic menu can run on the main machine of the cooking equipment, and further, the automatic dish cooking process is realized.
At present, a main computer runs a recipe, and a recipe account can be transferred and cooked by logging in different cooking devices.
However, since the recipes obtained in the account are generally limited in the number of times of use, and the account on the cooking device has two modes of offline logging and online logging, and both the two modes can operate the recipes, then, when the same account logs on different cooking devices in the offline and online modes or simultaneously in the offline mode, the account does not have good association between different cooking devices, and in addition, the account in the offline state cannot monitor the conditions of the recipes running and used, and the number of times of use of the recipes of the account may be abused.
Disclosure of Invention
In view of this, the application provides an offline cooking control method, an offline cooking control device and offline cooking control equipment, and mainly aims to solve the technical problems that in the prior art, the use times of menus of accounts are abused, so that the use permission of the menus cannot be effectively controlled, and the control accuracy of the use permission of the menus of the accounts is reduced.
According to an aspect of the present application, there is provided an off-line cooking control method including:
sending a menu using request;
receiving refusing request information, wherein the refusing request information is sent when an account is in an offline login state in first cooking equipment currently, and the first cooking equipment is at least one cooking equipment when the account is logged in online before being offline.
According to another aspect of the present application, there is provided an off-line cooking control apparatus, the apparatus including:
the sending module is used for sending a menu using request;
the receiving module is used for receiving the refusing request information, wherein the refusing request information is sent when an account number is in an offline login state in first cooking equipment currently, and the first cooking equipment is at least one cooking equipment when the account number is in online login before offline.
According to yet another aspect of the present application, there is provided a readable storage medium having stored thereon a computer program which, when executed by a processor, implements the above-described offline cooking control method.
According to still another aspect of the present application, there is provided an off-line cooking control entity device, including a storage medium, a processor, and a computer program stored on the storage medium and executable on the processor, wherein the processor implements the off-line cooking control method when executing the program.
By means of the technical scheme, compared with the prior art, the off-line cooking control method, the off-line cooking control device and the off-line cooking control equipment provided by the application have the advantages that when a menu is requested to be used on certain cooking equipment, if the account is in an off-line login state in the first cooking equipment at present, the request is failed, and the first cooking equipment is at least one piece of cooking equipment which is logged in on line before the account is off-line. Therefore, when all devices under the account are offline, the cooking device logging in the account before offline is used as the first cooking device, the first cooking device can obtain the number of times of remaining menu permission before offline, so that the situation that other cooking devices cannot use menus offline is accurately limited, although the menus under the account can continue to use the menu permission on the first offline device, and the menu use permission cannot be monitored in a cloud temporarily, the situation that the menu use permission of the account is abused is effectively solved by limiting the mode that other devices only use the menus offline, the menu use permission of the account is prevented from being used by new offline devices at the same time, and the situation that the menu use permission of the account is abused is effectively solved, so that the menu use permission of the same account can be effectively controlled, and the control accuracy of the menu use permission of the account is improved.
The foregoing description is only an overview of the technical solutions of the present application, and the present application can be implemented according to the content of the description in order to make the technical means of the present application more clearly understood, and the following detailed description of the present application is given in order to make the above and other objects, features, and advantages of the present application more clearly understandable.
Drawings
The accompanying drawings, which are included to provide a further understanding of the application and are incorporated in and constitute a part of this application, illustrate embodiment(s) of the application and together with the description serve to explain the application and not to limit the application. In the drawings:
fig. 1 is a schematic flowchart illustrating an off-line cooking control method according to an embodiment of the present disclosure;
fig. 2 is a schematic flow chart illustrating another off-line cooking control method according to an embodiment of the present application;
fig. 3 is a schematic flow chart illustrating a further off-line cooking control method according to an embodiment of the present application;
fig. 4 shows a schematic structural diagram of an offline cooking control apparatus according to an embodiment of the present application.
Detailed Description
The present application will be described in detail below with reference to the accompanying drawings in conjunction with embodiments. It should be noted that the embodiments and features of the embodiments in the present application may be combined with each other without conflict.
The technical problems that in the prior art, the use times of menus of accounts are abused, so that the use permission of the menus cannot be effectively controlled and controlled, and the control accuracy of the use permission of the menus of the accounts can be reduced are solved. The present embodiment provides an offline cooking control method, as shown in fig. 1, the method including:
101. and the client sends a menu using request to the server.
The recipe use request can carry a recipe identifier of a recipe to be used, a unique identifier (such as a device MAC address and a device serial number) of a cooking device where the client is located, and the like.
The execution subject of the present embodiment may be a client of the off-line cooking control process, and may be configured on the cooking device side. The client side and the server side are in information interaction, and when the cooking equipment needs to use the menu to cook dishes, the corresponding menu use request can be sent to the server side so as to obtain the use permission of the corresponding menu. In this embodiment, when the cooking device side requests to use a recipe, the use permission of the recipe corresponding to the account can be acquired by requesting to log in the account, or the recipe can be directly requested to be run by clicking on an interface for running the recipe on the device.
For example, the server determines the first cooking equipment having the acquisition qualification of the recipe use permission corresponding to the recipe identifier according to the recipe identifier carried in the recipe use request. The first cooking equipment can log in through the account to acquire the use permission of the menu online, and when all equipment is offline under the account, the first cooking equipment can acquire the number of times of remaining menu permission before offline, so that the situation that other cooking equipment cannot use the menu offline is accurately limited, although the menu under the account can continue to use the menu permission on the first offline equipment and cannot monitor the menu use permission in a cloud state temporarily, the situation that the menu use permission of the account is used by new offline equipment at the same time is avoided by limiting the mode that other equipment is only used for offline, and the situation that the menu use permission of the account is abused can be effectively solved. Therefore, after the server acquires the first cooking device, if the first cooking device is determined to be in the state of logging in the account offline, in order to avoid misuse of the menu use permission of the account, a menu use request sent by the client can be rejected.
102. The client receives the rejection request message.
The refusing request information is sent when the account is in an offline login state in the first cooking equipment currently, and the first cooking equipment is at least one piece of cooking equipment which is logged in online before the account is offline. As the content described in step 101, by this limiting method, the situation that the menu usage right under the same account is abused can be effectively avoided.
After the client receives the rejection request information, corresponding prompt information can be output. For example, a prompt message indicating that the menu is requested to be used unsuccessfully or temporarily unavailable is output in the form of text, picture, audio, video, light, vibration, or the like.
Compared with the prior art, in the off-line cooking control method provided by the embodiment, when a recipe is requested to be used on a certain cooking device, if an account is currently in an off-line login state in a first cooking device, the request may fail, and the first cooking device is at least one cooking device that the account is logged in on line before being off-line. Therefore, when all devices under the account are offline (account offline), the cooking device logging in the account online before offline is used as the first cooking device, the first cooking device can obtain the number of menu permission times left before offline, so that the problem that other cooking devices cannot use menus offline is accurately limited, although the menus under the account can continue to use the menu permission on the first offline device, and the menu permission can not be monitored at the high end temporarily, the problem that the menu permission of the account is used by new offline devices at the same time is avoided by limiting the way that other devices only use menus offline, and the problem that the menu permission of the account is abused is solved effectively, so that the menu permission of the same account can be effectively controlled, and the control accuracy of the menu permission of the account is improved.
Further, as a refinement and an extension of the foregoing embodiment, the recipe use request is used to obtain a recipe use permission, and to obtain the recipe use permission, the recipe use request may also be obtained by an account login manner, or sent by an account login request manner, and based on this optional manner, in an embodiment, the step 101 may specifically include: the client sends a login request of an account to the server (i.e. the following step 201, in order to obtain the usage right of a corresponding menu under the account); if the client receives login failure information of the account, where the login failure information is sent by the server when determining that the account is currently in an offline login state in the first cooking device, and the first cooking device may be at least one cooking device that is logged in online before the account is offline, which indicates that the usage right of the corresponding menu under the account cannot be acquired at this time, then request rejection information of the menu usage request may be received on behalf of the client (that is, the representative step 102 may specifically include the content shown in the following step 202). Besides, it can be understood that after step 102, the client sends a login request of an account to the server (i.e. step 201 described below) is performed. For example, when the cooking device side requests to use a recipe, if corresponding rejection request information is returned and the cooking device does not log in the account locally, the authorization login of the authentication code may be attempted, and then the authorization login of the account for using the corresponding recipe may be attempted to be acquired.
In another embodiment, the client also does not need to verify whether the menu authority can be used or not when logging in, but directly receives the operation rejection request on the interface for operating the menu (when the account is in the offline login state in the first cooking device), and operates by receiving the verification information of the first device.
In summary, in order to fully describe the specific implementation process of the above alternative modes, the present embodiment provides another off-line cooking control method, as shown in fig. 2, the method includes:
201. and the client sends a login request of the account to the server.
The login request can carry account information (such as an account and a password) to be logged in, a unique identifier (such as a device MAC address and a device serial number) of the cooking device where the client is located, and the like. And information interaction is carried out between the client and the server, and when the cooking equipment needs account login, a corresponding account login request is sent to the server for processing.
For example, the server determines whether the account is currently logged on other cooking devices according to account information carried in the login request and the unique identifier of the requesting device, and the account can be obtained by querying a login log of the account. If the account number is not logged in on line on other cooking equipment currently, and no log-in record (which is equivalent to the current first account number) exists before the account number; or the device logged on online before the account already logs out (which can be determined by the processing result of the log-out request corresponding to the account in the log-in log); or the equipment of the login request is the equipment of online login before the account is offline; or the equipment of the login request is online equipment and online login exists on other cooking equipment currently, the server side can judge that the account can normally log in at the client side; if the account is not currently logged on other cooking devices online, and the device logged on online before the account is in an offline login state (which can be judged according to the fact that no log-out request record corresponding to the account exists in the account login log), at this time, if the requesting device is allowed to log in the account, the device logged in offline can use the remaining usage right of the menu of the account, and meanwhile, other cooking devices logged in the account offline can also use the remaining usage right of the menu in the account, and cannot be summarized to the cloud for timely deduction of the right, so that the menu usage right under the same account is abused. Therefore, under the condition, the server can limit the client to log in the account, so that the requesting device can not log in the account on line temporarily, and further limit the obtaining of the menu use permission under the account, and the condition that the menu use permission under the same account is abused can be effectively avoided.
202. And the client receives login failure information of the account.
The login failure information is sent by the server when determining that the account is currently in an offline login state in the first cooking device, and the first cooking device may be at least one cooking device that the account is logged on online before going offline, for example, the accuracy of the determination may be improved as the account is logged on online for the last few times (for example, last time, second time, third time, etc.), and therefore, it is preferable that the first cooking device is at least one cooking device that the account is logged on online for the last time. In one embodiment, the number of the first cooking devices can be multiple, when the number of the first cooking devices is multiple, the multiple first cooking devices equally divide the rest cooking authority or divide a plurality of authorities on common equipment before the network is disconnected. As shown in step 201, by this limiting method, the situation that the menu usage right under the same account is abused can be effectively avoided.
After the client receives the login failure information of the account, corresponding prompt information can be output. For example, a prompt message indicating that the account has failed to be registered or has not been registered temporarily is output in the form of text, picture, audio, video, light, vibration, or the like.
Compared with the prior art, in the off-line cooking control method provided by the embodiment, when an account needs to be logged in on a certain cooking device, if the account is currently in an off-line login state in a first cooking device, the account login is failed, and the first cooking device can be at least one cooking device for which the account is logged in on line before being off-line. Like this when the cooking equipment of the account of earlier online login is offline, can accurately restrict other cooking equipment and can't log in online, make although the menu usage permission on the off-line equipment account still can use, and its menu usage permission of temporary unable high in the clouds control, but through the mode of restricting other equipment online login accounts, avoid the menu usage permission of this account simultaneously again by the equipment of new login account to use, and then can effectively solve the menu usage permission of account and be abused the condition, thereby can effectively manage and control the menu usage permission under the same account, the control accuracy of account menu usage permission has been improved.
Further, as a refinement and an extension of the above embodiment, in order to fully illustrate a specific implementation process of the above embodiment, there is provided another off-line cooking control method, as shown in fig. 3, the method including:
301. and the client sends a login request of the account to the server.
The login request can be used for logging in an account on the host side of the local cooking equipment, the account can contain the use permission of a menu, and the cooking equipment executes the cooking task of the corresponding menu according to the use permission of the menu, so that the dishes are made.
302. And the client receives login failure information of the account.
The login failure information is sent by the server when the server judges that the account is currently in an offline login state in the first cooking equipment, and the first cooking equipment can be at least one cooking equipment which is logged in online for the last time by the account. In practical application, a plurality of cooking equipment can log in the same account number online at the same time, so that the cloud can control the menu use permission of the cooking equipment under the account number at the same time. When a plurality of cooking devices have a cooking device which logs in the account offline, the cloud end cannot monitor the condition that the offline logging device uses the menu, so that the condition that the menu use permission is abused can be caused.
Therefore, in order to solve the problem that the off-line equipment in the practical application may cause the misuse of the menu usage right, optionally, before the first cooking equipment which logs in the account on line logs in the account off-line at the same time, the method of this embodiment may further include: the method comprises the steps that a cooking device logging in an account number at the first or a cooking device with the highest use frequency of a user is selected as a primary account device from first cooking devices logging in the account number at the same time on line, and other cooking devices except the primary account device in the first cooking devices are selected as sub-account devices.
In this optional manner, in an offline state, the sub-account device needs to log out of the account and needs to use a login verification code to obtain a corresponding menu usage right, where the login verification code may be generated by the primary account device according to the counted menu remaining number usage right of the account.
For example, in practical applications, there are three cooking devices simultaneously logging in to the account a on line, i.e., device 1, device 2, and device 3. And selecting a cooking device which logs in the account A first from the three cooking devices (which can be determined according to the time point of logging in the account A last time by the three cooking devices), or selecting a cooking device with the highest use frequency of the user (which can be determined according to the accumulated use times of the three cooking devices in the latest time period) as a primary account device, wherein the primary account device can continuously log in the account A when the devices are all in an off-line state. If the device 1 is selected as a primary account device, the device 1 may continue to log in the account a online, and the devices 2 and 3 serve as sub-account devices, the devices 2 and 3 need to log out of the login account a, and obtain a corresponding menu usage right by using a login verification code (the login verification code may be obtained from the device 1 through an intranet, and the login verification code is generated by the device 1 according to the counted remaining menu usage right of the account a), which may be equivalent to the virtual login account a of the devices 2 and 3 at this time, so as to prompt that the user currently has the usage right of the menu under the account a, or the user does not display the login account a but has the usage right of the menu under the account a.
In the above embodiment, when the device 1, the device 2, and the device 3 are simultaneously logged in online, they can log in the account at the same time and use the menu authority, these three devices can be regarded as an integral device, the authority can be deducted from the cloud, however, if there is an offline device 4 requesting a login account, the device 1, the device 2, and the device 3 are required to log out or, the device 1 is used as a primary account device, the device 1 can continue to log in to the account a online, and the device 2 and the device 3 are used as sub account devices, the device 2 and the device 3 need to log out of the login account a, and uses the login verification code, and the off-line device 4 also uses the login verification code to log in (the state is equivalent to the effect that the device 1, the device 2, the device 3 and the device 3 are all off-line, and the device 1 is used as the first device to distribute the authority of the login verification code).
The account A coexists with the use permission of the 9-time menu a, the device 1 logs in the account A to obtain the use permission of the 9-time menu a, the device 2 obtains the use permission of the 2-time menu a through the login verification code, and the corresponding device 1 has the use permission of the remaining 9-2-7-time menu a; the device 3 obtains the usage right of the 2-time menu a by logging in the verification code, and the corresponding device 1 has the usage right of the menu a with 7-2 times being 5 times.
Through the optional mode, in an offline state, only the primary account device logs in the same account in an offline mode, and then the use permission of the menu under the account is conveniently counted, and other sub-account devices can acquire part of the use permission of the menu under the account through the login verification code provided by the primary account device.
Further optionally, if the primary account device logs out of the account, a target sub-account device may be selected from the sub-account devices as a new primary account device, and the remaining number of usage permissions of the menu of the account may be transferred to the new primary account device.
For example, based on the above example, if the device 1 exits the login account a, the device 2 and the device 3 may be notified in time through an intranet communication mechanism, and then the cooking device that logs in the account a first is selected from the device 2 and the device 3, or the cooking device that is used by the user with the highest frequency of use is selected as a new primary account device, for example, the device 2 is selected as a new primary account device, and the device 3 continues to be a sub-account device, at this time, the remaining-number-of-use permission of the recipe of the account a in the device is transferred to the device 2. If the device 2 has 2 usage rights of the menu a locally (obtained by the login verification code provided by the device 1 before), and the device 1 has 5 usage rights of the menu a when logging out, the usage rights of the menu a for 5 times are transferred to the device 2, and then the device 2 locally has usage rights of the menu a for 5+ 2-7 times as a new primary account device. The new primary account device may log in to account a again online, or continue with virtual login account a, etc. Through the optional mode, when the primary account equipment logs out, the menu use permission under the same account can be effectively controlled. When the off-line equipment uses the login verification code to log in so as to obtain limited cooking permission, after the permission is used up, the off-line equipment logs in the verification code, and needs to obtain a new login verification code from the primary account equipment again to log in so as to obtain new permission, and when the off-line equipment obtains the login verification code from the primary account equipment, the equipment is connected with the primary account equipment local area network at least.
303. And the client sends a login verification code acquisition request to the primary account equipment.
When the primary account device logs in the account offline, the operation of logging in the account by the client side is failed. At this time, if the local cooking device at the client needs to acquire the menu use right under the account, an acquisition request of the login verification code can be sent to the primary account device, so as to acquire the login verification code allocated by the primary account device. This corresponds to the client local cooking device corresponding to the newly added sub-account device.
Optionally, before sending the request for obtaining the login verification code to the primary account device, the method of this embodiment may further include: an option indicating that the authentication code is logged in is displayed. Through the optional mode, the user can be quickly guided to obtain the menu use permission under the account number through other modes, and the acquisition efficiency of the menu use permission is improved. On the user side, after the menu use permission is obtained by the login verification code, the user can operate the menu cooking task in a virtual login mode under the condition that the user does not sense (corresponding permission obtaining logic can be executed completely by a background, and the front end normally displays the account login), so that the user use experience can be improved.
If there are multiple recipes in the account, in order to accurately obtain the recipe use permission that needs to be used, optionally, step 303 may specifically include: and selecting a required target menu, and sending an acquisition request corresponding to the login verification code according to the target menu. The target menu selection can be manually selected by a user, or a menu of dishes to be made is selected according to the current order task, or the menu in the menu is selected by the system according to the mapping relation, and the like. For example, corresponding dishes are respectively and correspondingly made at different times, and then a corresponding menu is selected according to the current time point.
304. And the client receives the login verification code sent by the primary account equipment.
And the primary account equipment deducts the remaining use permission of the menu of the account according to the sent login verification code. For example, the primary account device has the remaining usage right of the recipe a for 10 times, the primary account device is assigned to the login verification code of the client local cooking device, and the login verification code corresponds to the usage right of the recipe a for 3 times, so that the primary account device has the remaining usage right of the recipe a for 10-3 times or 7 times. By the management mode that the primary account equipment uniformly performs the menu use permission under the same account, the menu use permission under the same account can be accurately controlled, and the control accuracy of the menu use permission under the account is improved.
Based on the optional manner in step 303, if there are multiple recipes for the account, step 304 may specifically include: and receiving login verification codes corresponding to the target menu (selected from a plurality of menus) sent by the primary account equipment, wherein if the target menus are multiple, the login verification codes corresponding to the multiple target menus sent by the primary account equipment in a packaging mode are received. Through the optional mode, when the use rights of a plurality of menus exist under the account, the use rights of the menus to be used can be accurately acquired, so that the cooking requirements of dishes are met. Subsequently, the login verification codes which are sent in a packaging mode and correspond to the target recipes can be used for simultaneously obtaining the use permission of the target recipes, the operation of repeatedly requesting the use permission of each recipe is reduced, and certain efficiency can be improved.
305. And the client acquires the corresponding menu use permission by using the received login verification code.
Optionally, step 305 may specifically include: firstly, matching a received login verification code with a preset login verification code; if the matched preset login verification code exists, acquiring the menu use time authority corresponding to the account according to the matched preset login verification code, wherein the preset login verification code can be one of a plurality of passwords associated with the account, and each preset login verification code has the menu use time authority corresponding to the preset login verification code; and then updating the residual using times of the menu according to the obtained menu using time authority.
The preset login verification codes can be written in the menu or the code of the account in advance, each preset login verification code can only be used once when the menu authority is obtained, the preset login verification codes can be updated at regular time, for example, a plurality of preset login verification codes are newly set at intervals (for example, one week), and all cooking devices are obtained when the cooking devices are connected.
For example, the login verification code received by the client is successfully matched with the preset login verification code 1, the preset login verification code 1 corresponds to the usage right of the recipe a for 3 times, the remaining usage right of the recipe a for 3 times is updated on the local cooking equipment of the client, and the cooking task of the recipe a for 3 times can be executed by using the usage right of the 3 times. Through the optional mode, the menu use permission under the same account can be accurately controlled in a mode similar to the password activation mode, and the control accuracy of the menu use permission of the account is improved.
Further optionally, after obtaining the corresponding menu usage right by using the received login verification code, the method of this embodiment may further include: and taking the local cooking equipment of the client as sub-account equipment corresponding to the account, and keeping the local cooking equipment in the state of the virtual login account. At the moment, the client-side local cooking equipment is equivalent to sub-account equipment, and the virtual login account can guide the user to operate the menu cooking task under the condition that the user does not sense (corresponding authority acquisition logic can be completely executed by a background, and the front end normally displays account login), so that the use experience of the user can be improved.
Further optionally, if it is determined that the remaining number of times of use of the recipe is smaller than the preset threshold after the recipe is used, the request for obtaining the login verification code may be sent to the primary account device again. Through the optional mode, when the menu use frequency authority is insufficient, the local equipment can also supplement the corresponding menu use frequency authority in time so as to meet the corresponding dish cooking requirement.
If the primary account device is offline, the menu usage right acquired by the login verification code in the secondary account device can be continuously used, wherein the offline in the embodiment can represent the condition that the external network and the internal network are disconnected simultaneously. By the method, the sub-account equipment is not influenced by the disconnection of the main account equipment, and the assigned menu use frequency authority can be continuously and normally used.
Correspondingly, when the primary account device is offline again, the client sends a request for acquiring the login verification code to the primary account device, which may specifically include: and when the terminal is connected with the intranet of the primary account equipment again, sending an acquisition request of the login verification code to the primary account equipment again. Through the mechanism, accurate statistics of the menu use permission under the same account can be guaranteed, and the condition of abuse of the menu use permission cannot be caused.
Compared with the prior art, in the off-line cooking control method provided by the embodiment, when an account needs to be logged in on a certain cooking device, if the account is currently in an off-line login state in a first cooking device, the account login is failed, and the first cooking device is at least one cooking device on which the account is logged in on line for the last time. Like this when the cooking equipment of the account of earlier online login is offline, can accurately restrict other cooking equipment and can't log in online, make although the menu usage permission on the off-line equipment account still can use, and its menu usage permission of temporary unable high in the clouds control, but through the mode of restricting other equipment online login accounts, avoid the menu usage permission of this account simultaneously again by the equipment of new login account to use, and then can effectively solve the menu usage permission of account and be abused the condition, thereby can effectively manage and control the menu usage permission under the same account, the control accuracy of account menu usage permission has been improved.
Further, as a specific implementation of the method shown in fig. 1 to 3, the present embodiment provides an offline cooking control apparatus, as shown in fig. 4, the apparatus includes: a sending module 41 and a receiving module 42.
A sending module 41, configured to send a recipe use request;
the receiving module 42 may be configured to receive the rejection request information, where the rejection request information is sent when it is determined that the account is currently in an offline login state in a first cooking device, and the first cooking device is at least one cooking device that is logged in online before the account is offline.
In a specific application scenario, the sending module 41 may be further configured to send a login request of an account;
the receiving module 42 may be further configured to receive login failure information of the account, where the login failure information is sent when it is determined that the account is currently in an offline login state in a first cooking device, and the first cooking device is at least one cooking device that is logged in online before the account is offline.
In a specific application scenario, the apparatus further comprises: a selection module;
the selection module can be used for selecting the cooking equipment which logs in the account firstly or the cooking equipment with the highest use frequency of the user as primary account equipment from the first cooking equipment which logs in the account online at the same time before the first cooking equipment logs in the account offline; and selecting other cooking equipment except the primary account equipment in the first cooking equipment as sub-account equipment, wherein the sub-account equipment logs out of the account and needs to use a login verification code to obtain a corresponding menu use authority, and the login verification code is generated by the primary account equipment according to the counted menu remaining number use authority of the account.
In a specific application scenario, the selection module may be further configured to select a target sub-account device from the sub-account devices as a new primary account device if the primary account device quits logging in the account, and transfer the remaining number usage permission of the account to the new primary account device.
In a specific application scenario, the apparatus further comprises: an acquisition module;
the sending module 41 is further configured to send an acquisition request of a login verification code to the primary account device;
the receiving module 42 may be further configured to receive a login verification code sent by the primary account device, where the primary account device deducts the remaining number of usage rights of the menu of the account according to the sent login verification code;
and the acquisition module can be used for acquiring the corresponding menu use permission by using the received login verification code.
In a specific application scenario, the obtaining module is specifically configured to match the received login verification code with a preset login verification code; if the matched preset login verification codes exist, acquiring the menu use time authority corresponding to the account according to the matched preset login verification codes, wherein the preset login verification codes are one of a plurality of passwords associated with the account, and each preset login verification code has the menu use time authority corresponding to the preset login verification code; and updating the residual using times of the menu according to the acquired using time authority of the menu.
In a specific application scenario, the sending module 41 may be further configured to send an obtaining request of the login verification code to the primary account device again if it is determined that the remaining number of times of using the recipe is smaller than the preset threshold value after the recipe is used.
In a specific application scenario, if the primary account device is offline, the menu usage right acquired by the login verification code in the sub-account device can be continuously used;
correspondingly, the sending module 41 may be further configured to send an obtaining request of the login verification code to the primary account device again when the intranet is to be reconnected with the primary account device.
In a specific application scenario, the sending module 41 is further configured to select a required target menu if the account has multiple menus, and send an acquisition request corresponding to the login verification code according to the target menu;
the receiving module 42 may be further specifically configured to receive login verification codes corresponding to the target recipes and sent by the primary account device, where if there are multiple target recipes, the login verification codes corresponding to the multiple target recipes and sent by the primary account device in a packaged manner are received.
In a specific application scenario, the apparatus further comprises: setting a module;
and the setting module is used for taking local equipment as sub-account equipment corresponding to the account after the corresponding menu use permission is acquired by using the received login verification code, and the local equipment is in a state of virtually logging in the account.
In a specific application scenario, the apparatus further comprises: a display module;
and the display module can be used for displaying an option for indicating the login of the verification code before the acquisition request for sending the login verification code to the primary account equipment.
It should be noted that other corresponding descriptions of the functional units related to the off-line cooking control device provided in this embodiment may refer to the corresponding descriptions of the methods in fig. 1 to fig. 3, and are not repeated herein.
Based on the method shown in fig. 1 to 3 and the virtual device shown in fig. 4, correspondingly, the present application further provides a storage medium, on which a computer program is stored, and the computer program, when executed by a processor, implements the method shown in fig. 1 to 3.
Based on such understanding, the technical solution of the present application may be embodied in the form of a software product, which may be stored in a non-volatile storage medium (which may be a CD-ROM, a usb disk, a removable hard disk, etc.), and includes several instructions for enabling a computer device (which may be a personal computer, a server, or a network device, etc.) to execute the method of the embodiments of the present application.
Based on the method shown in fig. 1 to fig. 3 and the virtual device embodiment shown in fig. 4, in order to achieve the above object, an embodiment of the present application further provides an offline cooking control device, which may specifically be an intelligent kitchen device, an intelligent material preparation device, a personal computer, a server, a tablet computer, a smart phone, or other network devices, and the device includes a storage medium and a processor; a storage medium for storing a computer program; a processor for executing a computer program for implementing the above-described method as shown in fig. 1 to 3.
Optionally, the entity device may further include a user interface, a network interface, a camera, a Radio Frequency (RF) circuit, a sensor, an audio circuit, a WI-FI module, and the like. The user interface may include a Display screen (Display), an input unit such as a keypad (Keyboard), etc., and the optional user interface may also include a USB interface, a card reader interface, etc. The network interface may optionally include a standard wired interface, a wireless interface (e.g., WI-FI interface), etc.
It will be understood by those skilled in the art that the above-described physical device structure provided in the present embodiment does not constitute a limitation of such physical devices, and may include more or less components, or combine certain components, or arrange different components.
The storage medium may further include an operating system and a network communication module. The operating system is a program that manages the hardware and software resources of the above-described physical devices, and supports the operation of the information processing program as well as other software and/or programs. The network communication module is used for realizing communication among components in the storage medium and communication with other hardware and software in the information processing entity device.
Through the above description of the embodiments, those skilled in the art will clearly understand that the present application can be implemented by software plus a necessary general hardware platform, and can also be implemented by hardware. By applying the scheme provided by the embodiment, compared with the prior art, when a recipe is requested to be used on a certain cooking device, if the account is currently in an offline login state in a first cooking device, the request fails, and the first cooking device is at least one cooking device which is logged in online before the account is offline. Therefore, when all devices under the account are offline, the cooking device logging in the account before offline is used as the first cooking device, the first cooking device can obtain the number of times of remaining menu permission before offline, so that the situation that other cooking devices cannot use menus offline is accurately limited, although the menus under the account can continue to use the menu permission on the first offline device, and the menu use permission cannot be monitored in a cloud temporarily, the situation that the menu use permission of the account is abused is effectively solved by limiting the mode that other devices only use the menus offline, the menu use permission of the account is prevented from being used by new offline devices at the same time, and the situation that the menu use permission of the account is abused is effectively solved, so that the menu use permission of the same account can be effectively controlled, and the control accuracy of the menu use permission of the account is improved.
Those skilled in the art will appreciate that the figures are merely schematic representations of one preferred implementation scenario and that the blocks or flow diagrams in the figures are not necessarily required to practice the present application. Those skilled in the art will appreciate that the modules in the devices in the implementation scenario may be distributed in the devices in the implementation scenario according to the description of the implementation scenario, or may be located in one or more devices different from the present implementation scenario with corresponding changes. The modules of the implementation scenario may be combined into one module, or may be further split into a plurality of sub-modules.
The above application serial numbers are for description purposes only and do not represent the superiority or inferiority of the implementation scenarios. The above disclosure is only a few specific implementation scenarios of the present application, but the present application is not limited thereto, and any variations that can be made by those skilled in the art are intended to fall within the scope of the present application.

Claims (14)

1. An off-line cooking control method, comprising:
sending a menu using request;
receiving refusing request information, wherein the refusing request information is sent when an account is in an offline login state in first cooking equipment currently, and the first cooking equipment is at least one cooking equipment when the account is logged in online before being offline.
2. The method of claim 1, comprising:
sending a login request of an account;
and receiving login failure information of the account, wherein the login failure information is sent when the account is in an offline login state in the first cooking equipment.
3. The method of claim 2, wherein prior to the first cooking device logging into the account offline, the method further comprises:
selecting the cooking equipment which logs in the account at first or the cooking equipment with the highest use frequency of the user as primary account equipment from the first cooking equipment which logs in the account on line at the same time; and a process for the preparation of a coating,
and selecting other cooking equipment except the primary account equipment in the first cooking equipment as sub-account equipment, wherein the sub-account equipment quits logging in the account and needs to use a login verification code to obtain a corresponding menu use permission, and the login verification code is generated by the primary account equipment according to the counted menu remaining use permission distribution of the account.
4. The method of claim 3, further comprising:
and if the primary account equipment quits from logging in the account, selecting a target sub-account equipment from the sub-account equipment as new primary account equipment, and transferring the remaining times of use permission of the menu of the account to the new primary account equipment.
5. The method of claim 3, further comprising:
sending a login verification code acquisition request to the primary account equipment;
receiving a login verification code sent by the primary account equipment, wherein the primary account equipment deducts the remaining times of use permission of the menu of the account according to the sent login verification code;
and acquiring the corresponding menu use authority by using the received login verification code.
6. The method according to claim 5, wherein the obtaining of the corresponding menu usage right by using the received login verification code specifically comprises:
matching the received login verification code with a preset login verification code;
if the matched preset login verification codes exist, acquiring the menu use time authority corresponding to the account according to the matched preset login verification codes, wherein the preset login verification codes are one of a plurality of passwords associated with the account, and each preset login verification code has the menu use time authority corresponding to the preset login verification code;
and updating the residual using times of the menu according to the acquired using time authority of the menu.
7. The method of claim 6, further comprising:
and if the remaining use times of the menu are judged to be less than the preset threshold value after the menu is used, sending an acquisition request of the login verification code to the primary account equipment again.
8. The method according to claim 7, wherein if the primary account device is offline, the menu usage right acquired by the login verification code in the sub-account device is continuously available;
the sending of the request for obtaining the login verification code to the primary account device again specifically includes:
and when the intranet is reconnected with the primary account equipment, sending a login verification code acquisition request to the primary account equipment again.
9. The method according to claim 5, wherein if there are a plurality of recipes in the account, the sending of the request for obtaining the login verification code to the primary account device specifically includes:
selecting a required target menu, and sending an acquisition request corresponding to a login verification code according to the target menu;
the receiving of the login verification code sent by the primary account device specifically includes:
and receiving login verification codes which are sent by the primary account equipment and correspond to the target recipes, wherein if the target recipes are multiple, the login verification codes which are sent by the primary account equipment in a packaging mode and correspond to the multiple target recipes are received.
10. The method of claim 5, wherein after the obtaining of the corresponding menu usage right by using the received login verification code, the method further comprises:
and taking the local equipment as sub-account equipment corresponding to the account, and keeping the local equipment in a state of virtually logging in the account.
11. The method according to claim 5, wherein before the sending of the acquisition request for the login authentication code to the primary account number device, the method further comprises:
an option indicating that the authentication code is logged in is displayed.
12. An off-line cooking control apparatus, comprising:
the sending module is used for sending a menu using request;
the receiving module is used for receiving the refusing request information, wherein the refusing request information is sent when the account is judged to be in an offline login state in a first cooking device, and the first cooking device is at least one cooking device which is logged in online before the account is offline.
13. An off-line cooking control apparatus comprising a memory and a processor, the memory storing a computer program, characterized in that the processor, when executing the computer program, implements the steps of the method of any one of claims 1 to 11.
14. A readable storage medium, on which a computer program is stored, which, when being executed by a processor, carries out the steps of the method of any one of claims 1 to 11.
CN202010632146.3A 2020-07-03 2020-07-03 Offline cooking control method, device and equipment Withdrawn CN111913396A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010632146.3A CN111913396A (en) 2020-07-03 2020-07-03 Offline cooking control method, device and equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010632146.3A CN111913396A (en) 2020-07-03 2020-07-03 Offline cooking control method, device and equipment

Publications (1)

Publication Number Publication Date
CN111913396A true CN111913396A (en) 2020-11-10

Family

ID=73227281

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010632146.3A Withdrawn CN111913396A (en) 2020-07-03 2020-07-03 Offline cooking control method, device and equipment

Country Status (1)

Country Link
CN (1) CN111913396A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114747924A (en) * 2020-12-25 2022-07-15 珠海优特智厨科技有限公司 Cooking track planning method, storage medium and cooking equipment
CN114995553A (en) * 2022-05-20 2022-09-02 深圳市晨北科技有限公司 Menu processing method and device, storage medium and computer equipment

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114747924A (en) * 2020-12-25 2022-07-15 珠海优特智厨科技有限公司 Cooking track planning method, storage medium and cooking equipment
CN114747924B (en) * 2020-12-25 2023-12-05 珠海优特智厨科技有限公司 Cooking track planning method, storage medium and cooking equipment
CN114995553A (en) * 2022-05-20 2022-09-02 深圳市晨北科技有限公司 Menu processing method and device, storage medium and computer equipment
CN114995553B (en) * 2022-05-20 2023-09-22 深圳市晨北科技有限公司 Menu processing method and device, storage medium and computer equipment

Similar Documents

Publication Publication Date Title
US10992512B2 (en) File sharing method, apparatus, and storage medium
US11283805B2 (en) Cloud device account configuration method, apparatus and system, and data processing method
CN106302434B (en) Server adaptation method, device and system
CN103384237B (en) Method for sharing IaaS cloud account, shared platform and network device
US8959234B2 (en) Method and system for providing online services corresponding to multiple mobile devices, server, mobile device, and computer program product
US9925465B2 (en) Game accessing method and processing method, server, terminal, and system
CN108540433B (en) User identity verification method and device
CN110096847B (en) User-specific application activation for remote sessions
KR101229858B1 (en) Web-based system and method for sharing testing devices
US20160119351A1 (en) Authority transfer system, method that is executed by authority transfer system, and storage medium
CN111355723B (en) Single sign-on method, device, equipment and readable storage medium
CN111913396A (en) Offline cooking control method, device and equipment
CN106656985B (en) Backup account login method, device and system
CN114615203A (en) Access control method, device, storage medium and processor
US20150373126A1 (en) Method, apparatus and system for interactive data exchange
CN113505354A (en) Data processing method, device and storage medium
CN116431282A (en) Cloud virtual host server management method, device, equipment and storage medium
CN109948332A (en) A kind of physical machine login password remapping method and device
CN111343240B (en) Service request processing method and device, electronic equipment and storage medium
CN110858201B (en) Data processing method and system, processor and storage medium
CN113312111A (en) Instruction processing method, device, equipment and storage medium
CN113746909A (en) Network connection method, device, electronic equipment and computer readable storage medium
CN112733101A (en) Cloud server management method, device, storage medium and server terminal
EP2776934B1 (en) Management apparatus and control method of management apparatus
US10013273B1 (en) Virtual machine termination management

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
WW01 Invention patent application withdrawn after publication
WW01 Invention patent application withdrawn after publication

Application publication date: 20201110