CN114172914A - Account information synchronization method and device, storage medium and computer equipment - Google Patents

Account information synchronization method and device, storage medium and computer equipment Download PDF

Info

Publication number
CN114172914A
CN114172914A CN202010843580.6A CN202010843580A CN114172914A CN 114172914 A CN114172914 A CN 114172914A CN 202010843580 A CN202010843580 A CN 202010843580A CN 114172914 A CN114172914 A CN 114172914A
Authority
CN
China
Prior art keywords
login
account information
equipment
initialization
user
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.)
Granted
Application number
CN202010843580.6A
Other languages
Chinese (zh)
Other versions
CN114172914B (en
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 CN202010843580.6A priority Critical patent/CN114172914B/en
Publication of CN114172914A publication Critical patent/CN114172914A/en
Application granted granted Critical
Publication of CN114172914B publication Critical patent/CN114172914B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/10Protocols in which an application is distributed across nodes in the network
    • H04L67/1095Replication or mirroring of data, e.g. scheduling or transport for data synchronisation between network nodes
    • 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
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/12Protocols specially adapted for proprietary or special-purpose networking environments, e.g. medical networks, sensor networks, networks in vehicles or remote metering networks
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L9/00Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols
    • H04L9/32Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols including means for verifying the identity or authority of a user of the system or for message authentication, e.g. authorization, entity authentication, data integrity or data verification, non-repudiation, key authentication or verification of credentials
    • H04L9/3247Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols including means for verifying the identity or authority of a user of the system or for message authentication, e.g. authorization, entity authentication, data integrity or data verification, non-repudiation, key authentication or verification of credentials involving digital signatures

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Computer Security & Cryptography (AREA)
  • Computing Systems (AREA)
  • Computer Hardware Design (AREA)
  • General Engineering & Computer Science (AREA)
  • Health & Medical Sciences (AREA)
  • General Health & Medical Sciences (AREA)
  • Medical Informatics (AREA)
  • Selective Calling Equipment (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

The application discloses a method and a device for synchronizing account information, a storage medium and computer equipment, wherein the method comprises the following steps: receiving login information of initialization equipment; acquiring account information of a login user according to the login information, wherein the account information carries equipment configuration parameters of the login user; and performing parameter configuration on the initialization equipment based on the equipment configuration parameters so as to enable the configuration parameters of the initialization equipment to be matched with the equipment configuration parameters carried by the account information. According to the method and the device, the user does not need to manually configure the parameters of the device which the user wants to use, only needs to log in the device, the device can obtain the account information of the user who logs in and configures the initialization device according to the device configuration parameters carried by the account information, so that the initialization device meets the use habit of the user, the tedious operation of manually configuring the initialization device parameters by the user is omitted, the device configuration time is saved, and the device use difficulty is reduced.

Description

Account information synchronization method and device, storage medium and computer equipment
Technical Field
The application relates to the technical field of intelligent kitchen ware, in particular to a method and a device for synchronizing account information, a storage medium and computer equipment.
Background
With the progress of science and technology, the living standard of people is continuously improved, and more people are pursuing higher living quality. Meanwhile, the operation and management of the catering industry are influenced by the internet technology, the traditional catering industry starts to go to an automatic exploration branch, various intelligent cooking equipment is produced in due course under the development trend, more and more catering shops adopt the intelligent cooking equipment, at present, after the shops purchase new equipment, the parameters of the new equipment need to be configured, and the process of configuring the equipment is complex. Aiming at the problem of complex equipment configuration existing in the prior art when new equipment is accessed, no ideal solution is available in the industry at present.
Disclosure of Invention
In view of this, the present application provides a method and an apparatus for synchronizing account information, a storage medium, and a computer device, which omit the tedious operation of a user for manually configuring initialization device parameters, save device configuration time, and reduce device use difficulty.
According to an aspect of the present application, there is provided a method for synchronizing account information, the method including:
receiving login information of initialization equipment;
acquiring account information of a login user according to the login information, wherein the account information carries equipment configuration parameters of the login user;
and performing parameter configuration on the initialization equipment based on the equipment configuration parameters so as to enable the configuration parameters of the initialization equipment to be matched with the equipment configuration parameters carried by the account information.
Specifically, the device configuration parameters include operation configuration parameters and/or authority device information and/or cooking parameters, where the authority device information includes authority cooking devices to which the login user has authority to use and authority to use the authority cooking devices, and the cooking parameters include an electronic recipe corresponding to the login user and modification parameters for the electronic recipe.
Specifically, when the device configuration parameter includes the right device information, the performing parameter configuration on the initialization device based on the device configuration parameter specifically includes:
acquiring an equipment capability description file corresponding to the initialization equipment, wherein the equipment capability description file comprises online cooking equipment with online authority of the initialization equipment and control authority of the online cooking equipment;
and configuring a target cooking device which can be used by the login user on the initialization device and the use authority of the target cooking device on the basis of the device capability description file and the authority device information.
Specifically, when the device configuration parameter includes the operation configuration parameter, the performing parameter configuration on the initialization device based on the device configuration parameter specifically includes:
reading operation configuration parameters related to the equipment identification from the operation configuration parameters according to the equipment identification of the initialization equipment;
setting the operation configuration parameters of the initialization device based on the operation configuration parameters related to the device identification.
Specifically, when the device configuration parameter includes the cooking parameter, the performing parameter configuration on the initialization device based on the device configuration parameter specifically includes:
and loading the electronic menu and the modification parameters of the electronic menu to the local.
Specifically, when the account information further includes the cooking parameter, the configuring the initialization device based on the account information specifically includes:
screening out a target electronic menu corresponding to the target cooking equipment and the use authority of the target cooking equipment from the electronic menu;
and loading the target electronic menu and the modification parameters corresponding to the target electronic menu to the local.
Specifically, before the obtaining of the account information of the login user, the method further includes:
generating a login password signature based on a login password carried by the login information;
performing login verification based on a login account carried by the login information and the login password signature;
and if the login authentication is passed, acquiring account information of the login user.
Specifically, the performing login verification based on the login account carried by the login information and the password signature specifically includes:
inquiring whether a local password signature corresponding to the login account exists in a local storage;
if yes, reading the local password signature, and passing login verification when the login password signature is consistent with the local password signature;
and if the login password signature does not exist, acquiring a cloud password signature corresponding to the login account from a cloud, and passing login verification when the login password signature is consistent with the cloud password signature.
Specifically, the method further comprises:
if the cloud password signature corresponding to the login account cannot be acquired from the cloud, a corresponding account information template is established based on the login account, and the account information template is filled with operation data based on the login user to obtain account information of the login user.
Specifically, after the corresponding account information template is established based on the login account, the method further includes:
and when the cloud password signature acquired from the cloud and corresponding to the login account is inconsistent with the login password signature, deleting the login account, the login password signature and the account information template.
According to another aspect of the present application, there is provided an account information synchronization apparatus, including:
the login information receiving module is used for receiving login information of the initialization equipment;
the account information acquisition module is used for acquiring account information of a login user according to the login information, wherein the account information carries equipment configuration parameters of the login user;
and the equipment configuration module is used for carrying out parameter configuration on the initialization equipment based on the equipment configuration parameters so as to enable the configuration parameters of the initialization equipment to be matched with the equipment configuration parameters carried by the account information.
Specifically, the device configuration parameters include operation configuration parameters and/or authority device information and/or cooking parameters, where the authority device information includes authority cooking devices to which the login user has authority to use and authority to use the authority cooking devices, and the cooking parameters include an electronic recipe corresponding to the login user and modification parameters for the electronic recipe.
Specifically, when the device configuration parameter includes the right device information, the device configuration module specifically includes:
the device capability description file acquisition unit is used for acquiring a device capability description file corresponding to the initialization device, wherein the device capability description file comprises an online cooking device with online authority of the initialization device and control authority of the online cooking device;
and the equipment authority configuration unit is used for configuring the target cooking equipment which can be used by the login user on the initialization equipment and the use authority of the target cooking equipment based on the equipment capability description file and the authority equipment information.
Specifically, when the device configuration parameter includes the operation configuration parameter, the device configuration module specifically includes:
an operation parameter reading unit, configured to read, according to the device identifier of the initialization device, an operation configuration parameter related to the device identifier from the operation configuration parameters;
and the operation parameter configuration unit is used for setting the operation configuration parameters of the initialization equipment based on the operation configuration parameters related to the equipment identification.
Specifically, when the device configuration parameter includes the cooking parameter, the device configuration module specifically includes:
and the first cooking parameter loading unit is used for loading the electronic menu and the modification parameters of the electronic menu to the local.
Specifically, when the account information further includes the cooking parameter, the device configuration module specifically includes:
the electronic menu screening unit is used for screening out a target electronic menu corresponding to the target cooking equipment and the use authority of the target cooking equipment from the electronic menu;
and the second cooking parameter loading unit is used for loading the target electronic menu and the modification parameters corresponding to the target electronic menu to the local.
Specifically, the apparatus further comprises:
the password signature generation module is used for generating a login password signature based on a login password carried by login information before acquiring account information of a login user;
the login verification module is used for performing login verification based on a login account carried by the login information and the login password signature;
and the account information acquisition module is also used for acquiring the account information of the login user if the login verification is passed.
Specifically, the login verification module specifically includes:
the password signature inquiry unit is used for inquiring whether a local password signature corresponding to the login account exists in a local storage or not;
the local verification unit is used for reading the local password signature if the local password signature exists, and passing login verification when the login password signature is consistent with the local password signature;
and the cloud verification unit is used for acquiring a cloud password signature corresponding to the login account from a cloud if the cloud password signature does not exist, and passing login verification when the login password signature is consistent with the cloud password signature.
Specifically, the apparatus further comprises:
and the template creating module is used for creating a corresponding account information template based on the login account if the cloud password signature corresponding to the login account cannot be acquired from the cloud at present, and filling the account information template with the operation data based on the login user to obtain the account information of the login user.
Specifically, the apparatus further comprises:
and the template deleting module is used for deleting the login account, the login password signature and the account information template when a cloud password signature which is acquired from a cloud and corresponds to the login account is inconsistent with the login password signature after the corresponding account information template is established based on the login account.
According to yet another aspect of the present application, there is provided a storage medium having stored thereon a computer program which, when executed by a processor, implements the above-described method of synchronizing account information.
According to yet another aspect of the present application, there is provided a computer device, including a storage medium, a processor, and a computer program stored on the storage medium and executable on the processor, the processor implementing the above-mentioned account information synchronization method when executing the program.
By means of the technical scheme, the account information synchronization method and device, the storage medium and the computer device, provided by the application, acquire the account information corresponding to login based on the login information of the user on the initialization device, so that parameter configuration is performed on the initialization device according to the device configuration parameters carried in the account information, and the configuration parameters of the initialization device are matched with the device configuration parameters carried in the account information of the user. According to the method and the device, the user does not need to manually configure the parameters of the device which the user wants to use, only needs to log in the device, the device can obtain the account information of the logged-in user and configure the initialization device according to the device configuration parameters carried by the account information, so that the initialization device meets the use habit of the user, the tedious operation of manually configuring the initialization device parameters by the user is omitted, the device configuration time is saved, and the device use difficulty is reduced.
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 a method for synchronizing account information according to an embodiment of the present application;
fig. 2 is a schematic flowchart illustrating another account information synchronization method provided in an embodiment of the present application;
fig. 3 is a schematic flowchart illustrating a synchronization method for account information according to an embodiment of the present application;
fig. 4 is a schematic flowchart illustrating a further account information synchronization method provided in an embodiment of the present application;
fig. 5 is a schematic flowchart illustrating a further account information synchronization method provided in an embodiment of the present application;
fig. 6 is a schematic flowchart illustrating a further account information synchronization method provided in an embodiment of the present application;
fig. 7 is a schematic structural diagram illustrating an account information synchronization apparatus according to an embodiment of the present application;
fig. 8 is a schematic structural diagram illustrating another account information synchronization apparatus provided in 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.
In this embodiment, a method for synchronizing account information is provided, and as shown in fig. 1, the method includes:
step 101, receiving login information of initialization equipment;
102, acquiring account information of a login user according to login information, wherein the account information carries equipment configuration parameters of the login user;
and 103, performing parameter configuration on the initialization equipment based on the equipment configuration parameters so that the configuration parameters of the initialization equipment are matched with the equipment configuration parameters carried by the account information.
The embodiment of the application can be used for configuring parameters for initialization equipment, the initialization equipment can be new equipment which is not subjected to parameter configuration (the parameter configuration of the equipment in factory is not included), and the existing equipment which is required to be subjected to parameter configuration based on the configuration parameters of a specific user. For example, for a newly purchased device configuration parameter, or for a device available to multiple users, since the configuration information corresponding to different users may be different, the device parameter configuration is performed according to the configuration information of a user when the user uses the device.
In the above embodiment, in order to match the configuration parameters of the initialization device with the operation habits, the usage permissions, and other information of the user, before the parameter configuration is performed on the initialization device, the user should perform login operation on the initialization device, after the user logs in the initialization device, the initialization device may obtain account information of the user locally or at a cloud end according to the login information of the user, and the operation habits data of the user on the device, the usage permissions data on other devices, the electronic menu data corresponding to the user, the task data corresponding to the user, and the like may be generally stored in the account information of the user. The operation habit data may include setting habits of operation icons commonly used by the user (for example, setting the operation icons to be circular or square), selecting operation habits commonly used by the user (for example, double-clicking, long-pressing and other operations on a certain icon represent that the icon is selected), interface layout formats, fonts, layouts and the like commonly used by the user; the usage right data may include the right of the user to use on the device, such as initializing the device to include a cooking function and a control function for other devices, and the login user can only use the cooking function of the device and cannot control other devices through the initializing device; the electronic menu data corresponding to the user can comprise electronic menus purchased by the user, electronic menus commonly used by the user and the like; the task data corresponding to the user can comprise a menu of dishes required to be made by the user. After the configuration information of the user is obtained, parameter configuration is performed on the initialization device according to the configuration information, so that the configuration parameters of the initialization device are consistent with the device configuration parameters carried by the account information of the login user, for example, operation habit data of the user is configured in the initialization device, a display interface, icons and the like of the initialization device are made to conform to common configurations of the login user, user operation is facilitated, for example, in some scenes, if the user does not log in the device, the device cannot be used or only a part of tourist functions of the device can be used, the initialization device is configured based on the use authority data corresponding to the login user, and a device function matched with the authority of the user can be provided for the user.
By applying the technical scheme of the embodiment, the account information corresponding to login is acquired based on the login information of the user on the initialization device, so that the initialization device is subjected to parameter configuration according to the device configuration parameters carried in the account information, and the configuration parameters of the initialization device are matched with the device configuration parameters carried in the account information of the user. According to the method and the device, the user does not need to manually configure the parameters of the device which the user wants to use, only needs to log in the device, the device can obtain the account information of the logged-in user and configure the initialization device according to the device configuration parameters carried by the account information, so that the initialization device meets the use habit of the user, the tedious operation of manually configuring the initialization device parameters by the user is omitted, the device configuration time is saved, and the device use difficulty is reduced.
In the embodiment of the present application, specifically, the device configuration parameters include operation configuration parameters and/or authority device information and/or cooking parameters, where the authority device information includes authority cooking devices to which the login user has authority to use and authority to use the authority cooking devices, and the cooking parameters include an electronic recipe corresponding to the login user and modification parameters for the electronic recipe.
In the above embodiment, the device configuration parameters may include one or more kinds of information, where the authorized device information is authorized cooking devices and authorized users who have authorization to use the devices, for example, the authorized user a has authorization to use the devices 1, 2, and 3 and has authorization to use all functions of the devices 1, 2, and 3; the cooking parameters comprise electronic recipes for which the login user has usage rights, such as electronic recipes purchased by the user, electronic recipes made by the user and the like, and the cooking parameters also comprise modification parameters of the login user for the electronic recipes, such as the initial salt adding amount of a certain electronic recipe purchased by the user is 2g, and the salt adding amount of the user is modified to 1.5g during cooking; the operation configuration parameters comprise setting habits of a login user on arrangement format, font, layout and the like of the content in the display interface, operation habits of the login user on the display interface and the like.
Correspondingly, when the configuration parameters include different information, step 103 in the above embodiment of the present application has different implementation manners, which are specifically as follows:
the first method is as follows:
when the device configuration parameter includes the right device information, step 103 specifically includes:
103-A-1, acquiring an equipment capability description file corresponding to the initialization equipment, wherein the equipment capability description file comprises online cooking equipment with online authority of the initialization equipment and control authority of the online cooking equipment;
and step 103-A-2, configuring the target cooking equipment which can be used by the login user on the initialization equipment and the use authority of the target cooking equipment based on the equipment capability description file and the authority equipment information.
In the above embodiment, if the device configuration parameters include right device information, after obtaining the device configuration parameters for logging, the device configuration parameters may be initialized together with the device capability description file corresponding to the current initialization device and the device configuration parameters corresponding to the login user. It should be noted that, during the historical usage process of the initialization device, the online cooking device associated with the initialization device and the control data of the online cooking device may be stored to form a device capability description file, so as to obtain the online cooking device corresponding to the initialization device and the control authority thereof, or the device capability description file corresponding to the initialization device may be configured in a system configuration manner for the initialization device, for example, a device in the same lan as the initialization device is used as the online cooking device or a device in the same lan as the device in the same rank as the initialization device is used as the online cooking device according to the rank of the initialization device, in addition, the online cooking device of the initialization device may be determined based on the device characteristics of the initialization device, for example, for an automatic pot-entering dispensing machine (which may automatically dispense seasonings into a pot) and a handheld dispensing machine, although the equipment capability of the automatic pot-in type dosing machine is higher than that of a handheld dosing machine (or a desk type dosing machine and a cup dosing machine), when the initialization equipment is an all-in-one machine, because the all-in-one machine needs to be turned over and fried, a frying pan with a shallow pan opening is used, if the pot-in type dosing machine is used for dosing and seasoning the all-in-one machine, and therefore when the initialization equipment is the all-in-one machine, the on-line cooking equipment corresponding to the initialization equipment does not contain the automatic pot-in type dosing machine (even if the automatic pot-in type dosing machine and the initialization equipment can establish communication connection with the automatic pot-in type dosing machine in the same local area network), after the information of the authority equipment corresponding to the login user on the initialization equipment is determined in this way, the user can be directly connected with the authority equipment (for example, the all-in-one machine is directly connected with the handheld dosing machine) when the user uses the initialization equipment for on-line cooking, and the equipment (for example, the automatic pot-in-one-line dosing machine) which is not matched with the equipment characteristics is not considered, contributing to the improvement of cooking efficiency.
Furthermore, after obtaining the device capability description file of the initialization device and the authorized device information of the login user, the related parameters in the device capability description file and the authorized device information are configured as the parameters of the initialization device, that is, the initialization device configures the target cooking device that the login user can control in the initialization device and the corresponding usage right thereof, for example, the initialization device has the usage right for all the functions of the devices 1, 2, 3, and the login user has the usage right for all the functions of the devices 1, 2, 3, 4, and then the initialization device does not have the on-line right for the device 4, so the usage right of the login user on the initialization device is configured as the usage right for all the functions of the devices 1, 2, 3. The method and the device ensure that the use authority of the login user on the initialization device does not exceed the self authority of the initialization device and the authority of the login user, and avoid device control confusion and illegal control caused by over-authority control.
In addition, it should be noted that, in some application scenarios, the online cooking device of the initialization device may be used to describe not only the device that can establish the online relationship with the initialization device, but also the initialization device
The second method comprises the following steps:
on the basis of the first mode, when the account information further includes cooking parameters, step 103 further includes:
103-A-3, screening out a target electronic menu corresponding to the target cooking equipment and the use authority of the target cooking equipment from the electronic menu;
and 103-A-4, loading the target electronic menu and the modification parameters corresponding to the target electronic menu to the local.
In the above embodiment, on the basis of the first mode, if the account information further includes the cooking parameters, after the target cooking device and the corresponding usage right are determined, the electronic recipes can be screened based on the target cooking device and the corresponding usage right, the target electronic recipe which can be used by the login user in the initialization device is loaded into the device, the electronic recipe which cannot be used is not loaded, all the electronic recipes can be loaded, only the target electronic recipe which can be used is displayed or the target electronic recipe which can be used and the recipe which cannot be used are displayed in a distinguishing manner, so that the login user can directly select the electronic recipe which can be used based on the loading or displaying result, the tedious operation of inquiring and checking whether the electronic recipe can be executed in the current device by the user when the electronic recipe is used is avoided, the time is saved, and the use efficiency of the equipment is improved.
The third method comprises the following steps:
when the device configuration parameters include operation configuration parameters, step 103 specifically includes:
step 103-B-1, reading operation configuration parameters related to the equipment identification from the operation configuration parameters according to the equipment identification of the initialization equipment;
step 103-B-2, setting the operational configuration parameters of the initialization device based on the operational configuration parameters associated with the device identification.
In the above embodiment, the operation configuration parameters included in the account information of the logged-in user may correspond to multiple types of cooking devices, for example, the operation configuration parameters may include operation configuration parameters of the user in the dispensing machine and operation configuration parameters of the user in the intelligent cooker, and more specifically, the operation configuration parameters may also be stored corresponding to device identifiers, for example, operation configuration parameters of the user in an intelligent cooker model a1 (a stands for intelligent cooker, and 1 stands for model of intelligent cooker), and operation configuration parameters in an intelligent cooker model a2, since functions and display interfaces may be different for different devices. When a user logs in the initialization device and the initialization device obtains the operation configuration parameters of the logged-in user, the operation configuration parameters related to the device identifier can be read from the operation configuration parameters according to the device identifier of the initialization device, for example, if the device identifier of the initialization device is a1, the operation configuration parameters related to the a1 type intelligent cooker can be read from the operation configuration parameters, and the operation configuration parameters of the a1 type intelligent cooker are configured into the initialization device, so that the initialization device better conforms to the operation habits of the logged-in user, and device faults easily caused by configuring the operation configuration parameters unmatched with the initialization device onto the device are avoided.
The method is as follows:
when the device configuration parameters include cooking parameters, step 103 specifically includes:
and step 103-C-1, loading the electronic menu and the modification parameters of the electronic menu to the local.
In the above embodiment, when the device configuration parameters include that the cooking parameters do not include the authority device information, the electronic recipe and the modification parameters of the electronic recipe may be directly loaded into the initialization device.
It should be noted that, if the device configuration parameters include permission device information, operation configuration parameters, and cooking parameters at the same time, reference may be made to the second mode and the third mode, and the two modes are combined to perform parameter configuration of the initialization device, and specific configuration modes are not described again.
Further, as a refinement and an extension of the specific implementation of the foregoing embodiment, in order to fully describe the specific implementation process of the present embodiment, another method for synchronizing account information is provided, as shown in fig. 6, where the method includes:
step 201, receiving login information of initialization equipment;
202, generating a login password signature based on a login password carried by login information;
step 203, performing login verification based on a login account and a login password signature carried by login information;
step 204, if the login verification is passed, acquiring account information of a login user;
step 205, based on the device configuration parameters, performing parameter configuration on the initialization device.
In the above embodiment, the user may perform a login operation by inputting an account and a password on the initialization device, or transmit the login account and the login password to the initialization device by scanning a code, and then sign the login password by a signature program set in the initialization device based on the login password to obtain a login password signature of the login user, for example, performing MD5 signature on the login password, then performing login verification based on the login password signature and the login account, obtaining account information of the login user after verification, and further configuring the initialization device based on device configuration parameters carried by the account information, so that the initialization device conforms to the user operation and cooking habits and matches with the user authority.
It should be noted that, in order to ensure that the login password is safe and not stolen by a malicious user, when the login password of the user is saved, the embodiment of the present application performs signature encryption on the login password and then saves the login password, so that the user needs to perform signature encryption on the login password in the same manner when initializing device login, and compares the login password signature with the pre-stored login password signature to determine whether the login operation is successful. The method is favorable for protecting the security of the login password by a signature encryption mode, even if the pre-stored password is maliciously stolen, a lawless person can only steal the password after signature encryption, and the original password is difficult to crack.
In this embodiment of the present application, specifically, the acquiring account information of the login user in step 204 may include:
step 204-1, according to the login information, reading local account information of the login user from a local storage and/or acquiring cloud account information of the login user from a cloud;
and step 204-2, determining account information based on the local account information and/or the cloud account information.
In the above embodiments, the account information may be determined based on locally stored local account information and/or cloud account information in the cloud. Specifically, account information is determined based on the local account information and the storage time corresponding to the cloud account information; or, the local account information and the cloud account information are combined to obtain account information. When the account information is determined, the account information with the later storage time (or modification time) can be selected from the local account information and the cloud account information as the account information based on the storage time (or modification time) corresponding to the local account information and the cloud account information, so that the obtained account information is closer to the recent use habit and permission of the user, or the local account information and the cloud account information can be combined to obtain the account information of the login user, so that the configuration of the initialization device is performed.
Further, after configuring the initialization device according to the account information, in the using process of the login user, the method may further include: acquiring use data of a login user, and correcting account information based on the use data; and when the login user logs out, sending the use data and the corrected account information to the cloud.
In the above embodiment, in the process of using the initialization device, the user may collect the usage data of the user, modify the account information of the user according to the usage data of the user, for example, if the user creates a new menu on the initialization device, the new menu created by the user may be added to the account information of the user so that the user can use the menu next time, and when the user logs out, the usage data of the user and the modified account information are sent to the cloud, so that the cloud updates the cloud account information based on the usage data of the user and the modified account information.
In the embodiment of the present application, specifically, the login information includes login user information and login store information, and the account information is matched with the login user information and the login store information.
In addition, when the account information of the login user is acquired to perform parameter configuration on the initialization device, the acquired account information not only matches the login account number of the login user, but also matches the store information of the login user or the initialization device, in a specific application scenario, after the login verification is passed, the account information of the login user can be acquired by sending an account information request to the cloud, the account information request can carry the login account number and the identification information of the initialization device (so that the cloud server judges the store where the device is located based on the identification information of the initialization device), or the account information request can carry the login account number and the location information of the login user (so that the cloud server judges the store where the user is located based on the location information), so that the cloud server returns the account information matched with the store information to the initialization device, so that the parameters of the initialization apparatus are matched with the user's operating habits, cooking habits and usage rights in different stores. For example, the account information of the logged-in user corresponds to two stores, the store 1 is a chuancui store, the store 2 is a chicken frying store, and then the electronic menus corresponding to the two stores may be different, and it is obvious that it is more reasonable for the user to load only the chuancui menu when the store 1 logs in, so that the user can use the electronic menus conveniently, and the operation habits and the device use authority are the same.
In step 203, the login verification method may specifically include:
step 203-1, inquiring whether a local password signature corresponding to the login account exists in a local storage;
step 203-2, if the local password signature exists, reading the local password signature, and if the login password signature is consistent with the local password signature, passing login verification;
and 203-3, if the password signature does not exist, acquiring a cloud password signature corresponding to the login account from the cloud, and passing login verification when the login password signature is consistent with the cloud password signature.
In the above embodiment, after the login information is obtained, it is first queried whether the local password signature corresponding to the login account is stored locally in the initialization device, if so, it is directly verified whether the login operation passes based on the local password signature, specifically, if the local password signature is consistent with the login password signature corresponding to the login password input by the user, the login verification is passed, and if the local password signature does not exist, the initialization device requests the cloud server to verify the login password signature, the login password signature can be sent to the cloud server, the cloud server judges whether the login operation passes or not according to the cloud password signature stored in the cloud and the received login password signature, or acquiring a cloud password signature matched with the login account from a cloud server, and when the cloud password signature is consistent with the login password signature, passing login verification.
In the embodiment of the application, specifically, if the cloud password signature corresponding to the login account cannot be obtained from the cloud currently, a corresponding account information template is established based on the login account, and the account information template is filled with operation data based on the login user to obtain account information of the login user. Further, when the cloud password signature corresponding to the login account acquired from the cloud is inconsistent with the login password signature, the login account, the login password signature and the account information template are deleted.
In the above embodiment, if the initialization device does not locally store the local password signature corresponding to the login account, and the current initialization device cannot be in communication connection with the cloud, the login operation of the login user cannot be verified currently. In order not to affect the normal use of the initialization device by the user, the user may not be firstly authenticated by login and the parameters of the initialization device are not configured, but an account information template is established in the initialization device based on the login account of the login user, the template may be populated based on a user's operation on the initialization device, the populated template may be used to supplement the user's account information, for example to supplement the cooking parameters in the account information based on an electronic recipe created by the user on the initialization device, in the process that the user uses the initialization device in a state of failing to pass login verification, the initialization device can request login verification from the cloud in a timed or real-time mode, if the login verification passes, account information of the login user is obtained and the initialization device is configured, and if the verification fails, an account information template in the initialization device is deleted.
Further, as a specific implementation of the method in fig. 1, an embodiment of the present application provides an account information synchronization apparatus, and as shown in fig. 7, the apparatus includes:
a login information receiving module 31, configured to receive login information of the initialization device;
the account information obtaining module 32 is configured to obtain account information of a login user according to login information, where the account information carries device configuration parameters of the login user;
the device configuration module 33 is configured to perform parameter configuration on the initialization device based on the device configuration parameters, so that the configuration parameters of the initialization device are matched with the device configuration parameters carried by the account information.
In a specific application scenario, as shown in fig. 8, the device configuration parameters include operation configuration parameters and/or permission device information and/or cooking parameters, where the permission device information includes permission cooking devices that the login user has permission to use and permission to use the permission cooking devices, and the cooking parameters include an electronic recipe corresponding to the login user and modification parameters for the electronic recipe.
In a specific application scenario, as shown in fig. 8, when the device configuration parameter includes right device information, the device configuration module 33 specifically includes:
the description file obtaining unit 331 is configured to obtain a device capability description file corresponding to the initialization device, where the device capability description file includes an online cooking device that the initialization device has an online right and a control right of the online cooking device;
a device authority configuration unit 332, configured to configure a target cooking device that the login user can use on the initialization device and a usage authority of the target cooking device based on the device capability description file and the authority device information.
In a specific application scenario, as shown in fig. 8, when the device configuration parameter includes an operation configuration parameter, the device configuration module 33 specifically includes:
an operation parameter reading unit 333, configured to read, according to the device identifier of the initialization device, an operation configuration parameter related to the device identifier from the operation configuration parameters;
an operation parameter configuration unit 334, configured to set the operation configuration parameters of the initialization device based on the operation configuration parameters related to the device identifier.
In a specific application scenario, as shown in fig. 8, when the device configuration parameter includes a cooking parameter, the device configuration module 33 specifically includes:
a first cooking parameter loading unit 335 for locally loading the electronic recipe and the modification parameters of the electronic recipe.
In a specific application scenario, as shown in fig. 8, when the account information further includes a cooking parameter, the device configuration module 33 specifically includes:
an electronic menu screening unit 336 for screening out a target electronic menu corresponding to the target cooking device and the usage right of the target cooking device from the electronic menu;
and the second cooking parameter loading unit 337 is configured to load the target electronic recipe and the modification parameter corresponding to the target electronic recipe locally.
In a specific application scenario, as shown in fig. 8, the apparatus further includes:
a password signature generation module 34, configured to generate a login password signature based on a login password carried in login information before acquiring account information of a login user;
the login verification module 35 is configured to perform login verification based on a login account and a login password signature carried in the login information;
the account information obtaining module 36 is further configured to obtain account information of the login user if the login authentication is passed.
In a specific application scenario, as shown in fig. 8, the login verification module 35 specifically includes:
a password signature query unit 351, configured to query whether a local password signature corresponding to the login account exists in the local storage;
a local verification unit 352, configured to read a local password signature if the local password signature exists, and pass login verification when the login password signature is consistent with the local password signature;
and the cloud verification unit 353 is configured to obtain a cloud password signature corresponding to the login account from the cloud if the cloud password signature does not exist, and pass login verification when the login password signature is consistent with the cloud password signature.
In a specific application scenario, as shown in fig. 8, the apparatus further includes:
the template creating module 37 is configured to, if the cloud password signature corresponding to the login account cannot be obtained from the cloud at present, create a corresponding account information template based on the login account, and fill the account information template with operation data based on the login user to obtain account information of the login user.
In a specific application scenario, as shown in fig. 8, the apparatus further includes:
the template deleting module 38 is configured to delete the login account, the login password signature, and the account information template when a cloud password signature corresponding to the login account and obtained from a cloud is inconsistent with the login password signature after the corresponding account information template is established based on the login account.
It should be noted that other corresponding descriptions of the functional units related to the account information synchronization apparatus provided in the embodiment of the present application may refer to corresponding descriptions in the methods in fig. 1 to fig. 6, and are not described herein again.
Based on the methods shown in fig. 1 to 6, correspondingly, the present application further provides a storage medium, on which a computer program is stored, and when the computer program is executed by a processor, the computer program implements the method for synchronizing the account information shown in fig. 1 to 6.
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 according to the implementation scenarios of the present application.
Based on the above methods shown in fig. 1 to fig. 6 and the virtual device embodiments shown in fig. 7 and fig. 8, in order to achieve the above object, an embodiment of the present application further provides a computer device, which may specifically be a personal computer, a server, a network device, and the like, where the computer device includes a storage medium and a processor; a storage medium for storing a computer program; a processor for executing a computer program to implement the above-described account information synchronization method as shown in fig. 1 to 6.
Optionally, the computer device may also include a user interface, a network interface, a camera, Radio Frequency (RF) circuitry, sensors, audio circuitry, a WI-FI module, and so forth. 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., a bluetooth interface, WI-FI interface), etc.
It will be appreciated by those skilled in the art that the present embodiment provides a computer device architecture that is not limiting of the computer device, and that may include more or fewer components, or some components in combination, or a different arrangement of components.
The storage medium may further include an operating system and a network communication module. An operating system is a program that manages and maintains the hardware and software resources of a computer device, supporting the operation of information handling programs, as well as other software and/or programs. The network communication module is used for realizing communication among components in the storage medium and other hardware and software in the entity device.
Through the description of the above embodiment, those skilled in the art can clearly understand that the present application can be implemented by software plus a necessary general hardware platform, and also can obtain account information corresponding to login based on login information of a user on the initialization device through hardware, so as to perform parameter configuration on the initialization device according to device configuration parameters carried in the account information, so that the configuration parameters of the initialization device are matched with the device configuration parameters carried in the account information of the user. According to the method and the device, the user does not need to manually configure the parameters of the device which the user wants to use, only needs to log in the device, the device can obtain the account information of the logged-in user and configure the initialization device according to the device configuration parameters carried by the account information, so that the initialization device meets the use habit of the user, the tedious operation of manually configuring the initialization device parameters by the user is omitted, the device configuration time is saved, and the device use difficulty is reduced.
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 (13)

1. A method for synchronizing account information, the method comprising:
receiving login information of initialization equipment;
acquiring account information of a login user according to the login information, wherein the account information carries equipment configuration parameters of the login user;
and performing parameter configuration on the initialization equipment based on the equipment configuration parameters so as to enable the configuration parameters of the initialization equipment to be matched with the equipment configuration parameters carried by the account information.
2. The method according to claim 1, wherein the device configuration parameters comprise operation configuration parameters and/or authority device information and/or cooking parameters, wherein the authority device information comprises authority cooking devices having authority to use by the login user and authority to use the authority cooking devices, and the cooking parameters comprise electronic recipes corresponding to the login user and modification parameters of the electronic recipes.
3. The method according to claim 2, wherein when the device configuration parameter includes the right device information, the performing parameter configuration on the initialization device based on the device configuration parameter specifically includes:
acquiring an equipment capability description file corresponding to the initialization equipment, wherein the equipment capability description file comprises online cooking equipment with online authority of the initialization equipment and control authority of the online cooking equipment;
and configuring a target cooking device which can be used by the login user on the initialization device and the use authority of the target cooking device on the basis of the device capability description file and the authority device information.
4. The method according to claim 2, wherein when the device configuration parameter includes the operation configuration parameter, the performing parameter configuration on the initialization device based on the device configuration parameter specifically includes:
reading operation configuration parameters related to the equipment identification from the operation configuration parameters according to the equipment identification of the initialization equipment;
setting the operation configuration parameters of the initialization device based on the operation configuration parameters related to the device identification.
5. The method according to claim 2, wherein when the device configuration parameter includes the cooking parameter, the performing parameter configuration on the initialization device based on the device configuration parameter specifically includes:
and loading the electronic menu and the modification parameters of the electronic menu to the local.
6. The method according to claim 3, wherein when the account information further includes the cooking parameter, the configuring the initialization device based on the account information specifically includes:
screening out a target electronic menu corresponding to the target cooking equipment and the use authority of the target cooking equipment from the electronic menu;
and loading the target electronic menu and the modification parameters corresponding to the target electronic menu to the local.
7. The method of claim 1, wherein prior to obtaining account information of the logged-in user, the method further comprises:
generating a login password signature based on a login password carried by the login information;
performing login verification based on a login account carried by the login information and the login password signature;
and if the login authentication is passed, acquiring account information of the login user.
8. The method according to claim 7, wherein the performing login verification based on the login account carried by the login information and the password signature specifically comprises:
inquiring whether a local password signature corresponding to the login account exists in a local storage;
if yes, reading the local password signature, and passing login verification when the login password signature is consistent with the local password signature;
and if the login password signature does not exist, acquiring a cloud password signature corresponding to the login account from a cloud, and passing login verification when the login password signature is consistent with the cloud password signature.
9. The method of claim 8, further comprising:
if the cloud password signature corresponding to the login account cannot be acquired from the cloud, a corresponding account information template is established based on the login account, and the account information template is filled with operation data based on the login user to obtain account information of the login user.
10. The method of claim 9, wherein after establishing the corresponding account information template based on the login account, the method further comprises:
and when the cloud password signature acquired from the cloud and corresponding to the login account is inconsistent with the login password signature, deleting the login account, the login password signature and the account information template.
11. An apparatus for synchronizing account information, the apparatus comprising:
the login information receiving module is used for receiving login information of the initialization equipment;
the account information acquisition module is used for acquiring account information of a login user according to the login information, wherein the account information carries equipment configuration parameters of the login user;
and the equipment configuration module is used for carrying out parameter configuration on the initialization equipment based on the equipment configuration parameters so as to enable the configuration parameters of the initialization equipment to be matched with the equipment configuration parameters carried by the account information.
12. A storage medium on which a computer program is stored, the program, when executed by a processor, implementing the method of synchronizing account information according to any one of claims 1 to 10.
13. A computer device comprising a storage medium, a processor and a computer program stored on the storage medium and executable on the processor, wherein the processor implements the method of synchronizing account information according to any one of claims 1 to 10 when executing the program.
CN202010843580.6A 2020-08-20 2020-08-20 Account information synchronization method and device, storage medium and computer equipment Active CN114172914B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010843580.6A CN114172914B (en) 2020-08-20 2020-08-20 Account information synchronization method and device, storage medium and computer equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010843580.6A CN114172914B (en) 2020-08-20 2020-08-20 Account information synchronization method and device, storage medium and computer equipment

Publications (2)

Publication Number Publication Date
CN114172914A true CN114172914A (en) 2022-03-11
CN114172914B CN114172914B (en) 2024-07-02

Family

ID=80475314

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010843580.6A Active CN114172914B (en) 2020-08-20 2020-08-20 Account information synchronization method and device, storage medium and computer equipment

Country Status (1)

Country Link
CN (1) CN114172914B (en)

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106332056A (en) * 2015-06-30 2017-01-11 芋头科技(杭州)有限公司 User information pre-configuration structure and method for smart device
CN108234507A (en) * 2018-01-15 2018-06-29 深圳科立讯通信有限公司 Talk back equipment sharing method, talk back equipment and readable storage medium storing program for executing
CN109619961A (en) * 2017-10-08 2019-04-16 田庆 A kind of method, intelligent apparatus and intelligent frying pan for controlling intelligent frying pan cooking food and sharing cooking technology
CN110532494A (en) * 2019-08-29 2019-12-03 深圳前海环融联易信息科技服务有限公司 Users' personal allocation method, system and the computer equipment of B/S application
CN110750767A (en) * 2019-10-18 2020-02-04 神州数码融信软件有限公司 Login initialization method of intelligent terminal device and intelligent terminal device
CN111107060A (en) * 2019-11-29 2020-05-05 视联动力信息技术股份有限公司 Login request processing method, server, electronic equipment and storage medium
CN111179380A (en) * 2019-12-27 2020-05-19 珠海优特智厨科技有限公司 Method and device for acquiring electronic menu, storage medium and terminal

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106332056A (en) * 2015-06-30 2017-01-11 芋头科技(杭州)有限公司 User information pre-configuration structure and method for smart device
CN109619961A (en) * 2017-10-08 2019-04-16 田庆 A kind of method, intelligent apparatus and intelligent frying pan for controlling intelligent frying pan cooking food and sharing cooking technology
CN108234507A (en) * 2018-01-15 2018-06-29 深圳科立讯通信有限公司 Talk back equipment sharing method, talk back equipment and readable storage medium storing program for executing
CN110532494A (en) * 2019-08-29 2019-12-03 深圳前海环融联易信息科技服务有限公司 Users' personal allocation method, system and the computer equipment of B/S application
CN110750767A (en) * 2019-10-18 2020-02-04 神州数码融信软件有限公司 Login initialization method of intelligent terminal device and intelligent terminal device
CN111107060A (en) * 2019-11-29 2020-05-05 视联动力信息技术股份有限公司 Login request processing method, server, electronic equipment and storage medium
CN111179380A (en) * 2019-12-27 2020-05-19 珠海优特智厨科技有限公司 Method and device for acquiring electronic menu, storage medium and terminal

Also Published As

Publication number Publication date
CN114172914B (en) 2024-07-02

Similar Documents

Publication Publication Date Title
TWI450558B (en) Method and system for providing online service corresponding to multiple mobile devices, server and mobile device thereof, and computer program product
KR102055533B1 (en) Service processing method, apparatus and server
US10051559B2 (en) Network connection method and user equipment
EP2979213B1 (en) Providing an enterprise application store
KR101794184B1 (en) Application authentication policy for a plurality of computing devices
US11075895B2 (en) Cloud operation interface sharing method, related device, and system
WO2016188268A1 (en) Multi-user login method, device and storage medium
WO2021143280A1 (en) Method, device, and system for login authentication
CN108696490A (en) The recognition methods of account permission and device
CN109905237A (en) Pass through the method for movement station and cellular network communication
CN106210801A (en) The adding method of a kind of self-defined carousel channel and device
CN112929224A (en) Network distribution method and device of equipment, server and computer readable storage medium
US20030005088A1 (en) Configuration of headless devices using configuration service
CN105991610B (en) Log in the method and device of application server
CN105812370A (en) Smart card processing method, device and system
CN105760729B (en) Login method and electronic equipment
CN106446507A (en) Menu pushing method, menu receiving method, server and cooking equipment
CN106469254A (en) Menu method for pushing, menu method of reseptance, server and terminal
JP2018036940A (en) Cloud storage system
CN114172914A (en) Account information synchronization method and device, storage medium and computer equipment
CN109040066B (en) Method and device for docking cloud security management platform with cloud security product
CN110942289B (en) Payment method and computer storage medium
WO2019071969A1 (en) Payment method, unlocking method, and related terminal
CN110838973B (en) Key configuration method and device of intelligent gateway and electronic equipment
JP2003295963A (en) System for terminal authentication, apparatus and program for the same

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
CB02 Change of applicant information

Address after: Floor 11, Building 1, No. 1200, Jinzhou Road, Tangjiawan Town, High tech Zone, Zhuhai City, Guangdong Province, 519000

Applicant after: ZHUHAI UNICOOK TECHNOLOGY Co.,Ltd.

Address before: 519000 -45895, 105 room 6, Baohua Road, Hengqin New District, Zhuhai, Guangdong (centralized office area)

Applicant before: ZHUHAI UNICOOK TECHNOLOGY Co.,Ltd.

CB02 Change of applicant information
GR01 Patent grant