CN110706046A - Kitchen equipment activation method and device, storage medium and electronic equipment - Google Patents

Kitchen equipment activation method and device, storage medium and electronic equipment Download PDF

Info

Publication number
CN110706046A
CN110706046A CN201810750937.9A CN201810750937A CN110706046A CN 110706046 A CN110706046 A CN 110706046A CN 201810750937 A CN201810750937 A CN 201810750937A CN 110706046 A CN110706046 A CN 110706046A
Authority
CN
China
Prior art keywords
activation
kitchen
target
equipment
kitchen equipment
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.)
Pending
Application number
CN201810750937.9A
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.)
Individual
Original Assignee
Individual
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 Individual filed Critical Individual
Priority to CN201810750937.9A priority Critical patent/CN110706046A/en
Publication of CN110706046A publication Critical patent/CN110706046A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q30/00Commerce
    • G06Q30/06Buying, selling or leasing transactions
    • G06Q30/0601Electronic shopping [e-shopping]
    • G06Q30/0633Lists, e.g. purchase orders, compilation or processing
    • G06Q30/0635Processing of requisition or of purchase orders
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q30/00Commerce
    • G06Q30/06Buying, selling or leasing transactions
    • G06Q30/0645Rental transactions; Leasing transactions

Abstract

The embodiment of the invention discloses a kitchen equipment activation method and device, a storage medium and electronic equipment, wherein the method comprises the following steps: receiving an equipment activation request sent by a user terminal aiming at target order information, and acquiring the target order information carried by the equipment activation request; acquiring a target kitchen equipment identifier based on the target order information, and acquiring an activation key corresponding to the target kitchen equipment identifier; and controlling the kitchen equipment corresponding to the target kitchen equipment identification to be activated based on the activation key. By adopting the invention, the activation and use modes of the shared kitchen equipment can be enriched.

Description

Kitchen equipment activation method and device, storage medium and electronic equipment
Technical Field
The invention relates to the technical field of computers, in particular to a kitchen equipment activation method and device, a storage medium and electronic equipment.
Background
With the popularization of the sharing economic concept, sharing devices based on sharing leasing technology are more and more. Such as sharing a bicycle, sharing a charger baby, sharing an umbrella, sharing a washing machine, etc., which have appeared on the market.
In the existing leasing of the shared device, the user terminal scans the two-dimensional code on the shared device to select the shared device, then initiates a lease request to the device management server, and directly activates the shared device after the lease request passes, so that the user can use the shared device. However, when the user terminal initiates a lease request to the server, the shared device must be activated only by carrying the device identifier of the lease device, so that the existing shared device is activated and used in a single manner.
Disclosure of Invention
The embodiment of the invention provides a kitchen equipment activation method and device, a storage medium and electronic equipment, which can enrich the activation and use modes of shared kitchen equipment.
An aspect of an embodiment of the present invention provides a kitchen device activation method, which may include:
receiving an equipment activation request sent by a user terminal aiming at target order information, and acquiring the target order information carried by the equipment activation request;
acquiring a target kitchen equipment identifier based on the target order information, and acquiring an activation key corresponding to the target kitchen equipment identifier;
and controlling the kitchen equipment corresponding to the target kitchen equipment identification to be activated based on the activation key.
Optionally, the obtaining a target kitchen device identifier based on the target order information includes:
searching a kitchen equipment identification set corresponding to the target order information;
and sending the kitchen equipment identification set to the user terminal, and receiving a target kitchen equipment identification selected by the user terminal in the kitchen equipment identification set.
Optionally, the controlling, based on the activation key, activation of the kitchen device corresponding to the target kitchen device identifier includes:
and sending the activation key to the kitchen equipment corresponding to the target kitchen equipment identification, so that the kitchen equipment performs activation processing based on the activation key.
Optionally, the controlling, based on the activation key, activation of the kitchen device corresponding to the target kitchen device identifier includes:
and sending the activation key to the user terminal so that the user terminal controls the kitchen equipment to be activated based on the activation key.
Optionally, the obtaining an activation key corresponding to the target kitchen device identifier includes:
acquiring an activation key corresponding to the target kitchen equipment identifier from an activation key set;
carrying out encryption processing on the activation key;
the sending the activation key to the kitchen device corresponding to the target kitchen device identification so as to enable the kitchen device to perform activation processing based on the activation key includes:
and sending the encrypted activation key to kitchen equipment corresponding to the target kitchen equipment identifier, so that the kitchen equipment decrypts the encrypted activation key and performs activation processing based on the decrypted activation key.
Optionally, the obtaining an activation key corresponding to the target kitchen device identifier includes:
acquiring an activation key corresponding to the target kitchen equipment identifier from an activation key set;
carrying out encryption processing on the activation key;
the sending the activation key to the user terminal to cause the user terminal to control the kitchen device activation based on the activation key comprises:
and sending the encrypted activation key to the user terminal so that the user terminal can decrypt the encrypted activation key and control the kitchen equipment to be activated based on the decrypted activation key.
Optionally, after the kitchen device corresponding to the target kitchen device identifier is controlled to be activated based on the activation key, the method further includes:
when an activation confirmation instruction sent by the kitchen equipment is received, timing the current time duration of use of the kitchen equipment;
and when an equipment closing instruction sent by the kitchen equipment is received, ending timing on the current time duration of the kitchen equipment.
An aspect of an embodiment of the present invention provides a kitchen device activation apparatus, which may include:
the request receiving unit is used for receiving an equipment activation request sent by a user terminal aiming at target order information and acquiring the target order information carried by the equipment activation request;
the key acquisition unit is used for acquiring a target kitchen equipment identifier based on the target order information and acquiring an activation key corresponding to the target kitchen equipment identifier;
and the activation control unit is used for controlling the activation of the kitchen equipment corresponding to the target kitchen equipment identification based on the activation key.
Optionally, the key obtaining unit includes:
the identification searching subunit is used for searching a kitchen equipment identification set corresponding to the target order information;
and the target identification receiving subunit is used for sending the kitchen equipment identification set to the user terminal and receiving the target kitchen equipment identification selected by the user terminal in the kitchen equipment identification set.
Optionally, the activation control unit is specifically configured to:
and sending the activation key to the kitchen equipment corresponding to the target kitchen equipment identification, so that the kitchen equipment performs activation processing based on the activation key.
Optionally, the activation control unit is specifically configured to:
and sending the activation key to the user terminal so that the user terminal controls the kitchen equipment to be activated based on the activation key.
Optionally, the key obtaining unit includes:
a key obtaining subunit, configured to obtain, in an activation key set, an activation key corresponding to the target kitchen device identifier;
a key encryption subunit, configured to perform encryption processing on the activation key;
the activation control unit is specifically configured to:
and sending the encrypted activation key to kitchen equipment corresponding to the target kitchen equipment identifier, so that the kitchen equipment decrypts the encrypted activation key and performs activation processing based on the decrypted activation key.
Optionally, the key obtaining unit includes:
a key obtaining subunit, configured to obtain, in an activation key set, an activation key corresponding to the target kitchen device identifier;
a key encryption subunit, configured to perform encryption processing on the activation key;
the activation control unit is specifically configured to:
and sending the encrypted activation key to the user terminal so that the user terminal can decrypt the encrypted activation key and control the kitchen equipment to be activated based on the decrypted activation key.
Optionally, the timing control unit is further included, and is configured to:
when an activation confirmation instruction sent by the kitchen equipment is received, timing the current time duration of use of the kitchen equipment;
and when an equipment closing instruction sent by the kitchen equipment is received, ending timing on the current time duration of the kitchen equipment.
An aspect of the embodiments of the present invention provides a computer storage medium storing a plurality of instructions adapted to be loaded by a processor and to perform the above-mentioned method steps.
An aspect of an embodiment of the present invention provides an electronic device, which may include: a processor and a memory; wherein the memory stores a computer program adapted to be loaded by the processor and to perform the steps of:
receiving an equipment activation request sent by a user terminal aiming at target order information, and acquiring the target order information carried by the equipment activation request;
acquiring a target kitchen equipment identifier based on the target order information, and acquiring an activation key corresponding to the target kitchen equipment identifier;
and controlling the kitchen equipment corresponding to the target kitchen equipment identification to be activated based on the activation key.
In the embodiment of the invention, the target order information carried by the equipment activation request is obtained by receiving the equipment activation request sent by the user terminal aiming at the target order information, the target kitchen equipment identification is obtained based on the target order information, the activation key corresponding to the target kitchen equipment identification is obtained, and the kitchen equipment activation corresponding to the target kitchen equipment identification is controlled based on the activation key. The activation of the contributing kitchen equipment can be realized through the order information carried in the received request, and the activation use mode of the sharing kitchen equipment is enriched.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to the drawings without creative efforts.
Fig. 1 is a schematic flow chart of a kitchen device activation method according to an embodiment of the present invention;
fig. 2 is a flowchart illustrating a kitchen device activation method according to an embodiment of the present invention;
fig. 3 is a schematic structural diagram of a kitchen appliance activation system according to an embodiment of the present invention;
fig. 4 is a schematic structural diagram of a kitchen appliance activation device according to an embodiment of the present invention;
fig. 5 is a schematic structural diagram of a key obtaining unit according to an embodiment of the present invention;
fig. 6 is a schematic structural diagram of a key obtaining unit according to an embodiment of the present invention;
fig. 7 is a schematic structural diagram of a key obtaining unit according to an embodiment of the present invention;
fig. 8 is a schematic structural diagram of a kitchen appliance activation device according to an embodiment of the present invention;
fig. 9 is a schematic structural diagram of an electronic device according to an embodiment of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
The kitchen device activation method according to the embodiment of the present invention will be described in detail with reference to fig. 1 to 2.
Referring to fig. 1, a flow chart of a kitchen device activation method according to an embodiment of the present invention is schematically shown. As shown in fig. 1, the method of the embodiment of the present invention may include the following steps S101 to S103.
S101, receiving an equipment activation request sent by a user terminal aiming at target order information, and acquiring the target order information carried by the equipment activation request;
it can be understood that the target order information refers to order information for a user to place a lease on a kitchen equipment management website or a kitchen equipment application mall, and the order information may be placed for the first time or multiple times. The order information may include an order number, a device identification, and the like. The target order information may include an order for a kitchen device or a plurality of kitchen devices, which may be the same or different.
The kitchen equipment is a general name of equipment and tools which are placed in a kitchen or used for cooking. Kitchen appliances generally include cooking heating appliances, processing and processing appliances, sterilizing and cleaning and processing appliances, normal and low temperature storage appliances, and the like. Such as an induction cooker, microwave oven, dishwasher, etc.
Specifically, after the user receives the kitchen equipment for renting from the network, the user can send an activation request of the equipment to the kitchen equipment activation device by operating the order information on the user terminal, for example, clicking an activation option in the order information, and after receiving the activation request, the kitchen equipment activation device analyzes the request and extracts the target order information carried in the request. The kitchen equipment activating device can be a server with equipment activating function; the kitchen equipment activating device can also be a user terminal, and comprises terminal equipment with a kitchen equipment activating function, such as a tablet Personal Computer (PC), a smart phone, a palm computer, mobile internet equipment (MID) and the like. The user terminal may include a tablet computer, a Personal Computer (PC), a smart phone, a palm computer, a Mobile Internet Device (MID), and other terminal devices having a communication function.
Optionally, the user terminal may further send an activation request to a kitchen device activation apparatus by scanning a two-dimensional code on the kitchen device, where the activation request carries an identifier of the kitchen device, such as a serial number and a serial number of the kitchen device.
Optionally, the user terminal may further control the kitchen device to send a device activation request to the kitchen device management device by touching a physical activation key on the kitchen device, where the request carries a device identifier of the kitchen device.
S102, acquiring a target kitchen equipment identifier based on the target order information, and acquiring an activation key corresponding to the target kitchen equipment identifier;
it will be appreciated that the target kitchen device identification is used to uniquely identify the target kitchen device, and may be the name, or serial number, etc. of the target kitchen device. The target kitchen device identifier may be one or more kitchen device identifiers in a plurality of kitchen device identifiers included in the target order information, or may be a unique kitchen device identifier included in the target order information. For example, if the user rents 5 kitchen devices for a single rental and activates 3 of them, the target kitchen device id is the device id of the 3 kitchen devices that need to be activated.
The activation keys may be the same for all kitchen devices, may be provided with the same activation key for each kitchen device, or may be dynamic for each kitchen device.
Specifically, the kitchen device activation apparatus obtains an order number, and searches for a device identifier of the kitchen device corresponding to the order number in a placing record, or directly obtains the device identifier of the kitchen device in the request, and then obtains an activation key corresponding to the device identifier from the activation key set. Or after the device identifier of the kitchen device is obtained, the activation key of the kitchen device is directly and randomly generated.
For example, as shown in table 1, which is a mapping relationship table of device identifications and activation keys of kitchen devices, if the obtained device identification is 12345, the corresponding activation key can be determined to be abcd by looking up table 1.
TABLE 1
Device identification Activation key
12345 abcd
23456 bcde
34567 cdef
Optionally, after obtaining the activation key, in case the activation key is stolen or leaked, the activation key may be encrypted. The encryption mode can be Base64 encryption mode, MD5 encryption, symmetric encryption algorithm, asymmetric encryption or random number encryption and the like.
S103, controlling the kitchen equipment corresponding to the target kitchen equipment identification to be activated based on the activation key.
Specifically, the kitchen device activation apparatus sends the activation key to the kitchen device corresponding to the target kitchen device identifier, so that the kitchen device performs activation processing based on the activation key. That is, the kitchen device triggers automatic activation of the kitchen device upon receiving the activation key. Of course, the kitchen device may also match the activation key with a pre-stored key and activate automatically after the matching is successful. Or the kitchen equipment activation device sends the activation key to the user terminal so that the user terminal controls the kitchen equipment to be activated based on the activation key, namely after receiving the activation key, the user terminal controls the kitchen equipment to be activated through a short-distance communication mode such as Bluetooth or NFC, or the user inputs the activation key on a physical password lock of the kitchen equipment to activate the kitchen equipment.
If the kitchen equipment to be activated comprises a plurality of kitchen equipment, the kitchen equipment activating device can respectively send each activation key to the kitchen equipment corresponding to the equipment identifier, or send the equipment identifier and the corresponding activation key to the user terminal for displaying.
In the embodiment of the invention, the target order information carried by the equipment activation request is obtained by receiving the equipment activation request sent by the user terminal aiming at the target order information, the target kitchen equipment identification is obtained based on the target order information, the activation key corresponding to the target kitchen equipment identification is obtained, and the kitchen equipment activation corresponding to the target kitchen equipment identification is controlled based on the activation key. The activation of the contributing kitchen equipment can be realized through the order information carried in the received request, and the activation use mode of the sharing kitchen equipment is enriched.
Referring to fig. 2, a flow chart of a kitchen device activation method according to an embodiment of the present invention is schematically shown. As shown in fig. 2, the method of the embodiment of the present invention may include the following steps S201 to S209.
S201, receiving an equipment activation request sent by a user terminal aiming at target order information, and acquiring the target order information carried by the equipment activation request;
it can be understood that the target order information refers to order information for a user to place a lease on a kitchen equipment management website or a kitchen equipment application mall, and the order information may be placed for the first time or multiple times. For example, the user places an order in the kitchen device application mall for the 3 rd time, the order information placed for the current time is determined as the target order information, or the user performs operation triggering activation on the 3 rd order, and then the order information of the 3 rd order is the target order information.
The order information may include an order number, a device identification, and the like. The target order information may include an order for a kitchen device or a plurality of kitchen devices, which may be the same or different. The kitchen equipment is a general name of equipment and tools which are placed in a kitchen or used for cooking. Kitchen appliances generally include cooking heating appliances, processing and processing appliances, sterilizing and cleaning and processing appliances, normal and low temperature storage appliances, and the like. Such as an induction cooker, microwave oven, dishwasher, etc.
Specifically, after the user receives the kitchen equipment for renting from the network, the user can send an activation request of the equipment to the kitchen equipment activation device by operating the order information on the user terminal, for example, clicking an activation option in the order information, and after receiving the activation request, the kitchen equipment activation device analyzes the request and extracts the target order information carried in the request. The kitchen equipment activating device can be a server with equipment activating function; the kitchen equipment activating device can also be a user terminal, and comprises terminal equipment with a kitchen equipment activating function, such as a tablet Personal Computer (PC), a smart phone, a palm computer, mobile internet equipment (MID) and the like. The user terminal may include a tablet computer, a Personal Computer (PC), a smart phone, a palm computer, a Mobile Internet Device (MID), and other terminal devices having a communication function.
Optionally, the user terminal may further send an activation request to a kitchen device activation apparatus by scanning a two-dimensional code on the kitchen device, where the activation request carries an identifier of the kitchen device, such as a serial number and a serial number of the kitchen device.
Optionally, the user terminal may further control the kitchen device to send a device activation request to the kitchen device management device by touching a physical activation key on the kitchen device, where the request carries a device identifier of the kitchen device.
S202, searching a kitchen equipment identification set corresponding to the target order information;
it is to be understood that at least one kitchen device identification may be included in the set of kitchen device identifications. The kitchen equipment activating device searches the target order number in the order placing record and then reads the kitchen equipment identification contained in the target order number.
S203, sending the kitchen equipment identification set to the user terminal, and receiving a target kitchen equipment identification selected by the user terminal in the kitchen equipment identification set;
when the kitchen equipment identifications comprise a plurality of kitchen equipment identifications, the kitchen equipment activation device feeds back the plurality of kitchen equipment identifications to the user terminal for selection or confirmation, and after a part or all of the kitchen equipment identifications are selected by the user, confirmation information is sent to the kitchen equipment activation device, so that the kitchen equipment activation device can obtain the activation key of the kitchen equipment needing to be activated, but not the activation key of all equipment (including the kitchen equipment which does not need to be activated temporarily).
S204, acquiring an activation key corresponding to the target kitchen equipment identifier from an activation key set;
it will be appreciated that the activation key is used to activate kitchen devices, and may be the same for all kitchen devices, may be provided with the same activation key for each kitchen device, or may be a dynamic activation key for each kitchen device.
At least one activation key is included in the set of activation keys, each activation key corresponding to a device identification of the kitchen device. For example, as shown in table 1, which is a mapping relationship table of device identifications and activation keys of kitchen devices, if the obtained device identification is 12345, the corresponding activation key can be determined to be abcd by looking up table 1. And when the kitchen equipment identifications comprise a plurality of kitchen equipment identifications, respectively searching the activation key corresponding to each kitchen equipment identification.
S205, encrypting the activation key;
in particular, in case the activation key is stolen or compromised, the activation key may be encrypted. The encryption mode can be Base64 encryption mode, MD5 encryption, symmetric encryption algorithm, asymmetric encryption or random number encryption and the like.
The Base64 is one of the most common encoding modes for transmitting 8-Bit byte codes on a network, the Base64 is a method for expressing binary data based on 64 printable characters, RFCs 2045-2049 can be viewed, and the Base64 encoding is a process from binary to character and can be used for transmitting longer identification information under an HTTP environment.
MD5, Message-digest algorithm 5 (information-digest algorithm 5, and also digest algorithm, hash algorithm), is used to ensure the integrity and consistency of information transmission. MD5 functions to "compress" a private key into a secure format, i.e., to convert a string of bytes of arbitrary length into a fixed-length string of hexadecimal digits.
In the symmetric encryption algorithm, a data sender processes a plaintext (original data) and an encryption key (mi yao) together through a special encryption algorithm, and then the plaintext and the encryption key are changed into a complex encrypted ciphertext to be sent out. After the receiver receives the ciphertext, if the receiver wants to decode the original text, the receiver needs to decrypt the ciphertext by using the key used for encryption and the inverse algorithm of the same algorithm so as to recover the ciphertext into readable plaintext. In the symmetric encryption algorithm, only one key is used, and both the sender and the receiver use the key to encrypt and decrypt data, so that the encryption key must be known by a secret party in advance. Among the algorithms commonly used in symmetric encryption algorithms are: DES, 3DES, TDEA, Blowfish, RC2, RC4, RC5, IDEA, SKIPJACK, AES, etc.
Asymmetric encryption algorithms require two keys: a public key and a private key. The public key is paired with the private key, and if data is encrypted with the public key, only the corresponding private key can be used for decryption, and if data is encrypted with the private key, only the corresponding public key can be used for decryption. The main algorithms used in asymmetric encryption are: RSA, Elgamal, knapsack algorithm, Rabin, D-H, ECC (elliptic curve cryptography algorithm), etc.
The random numbers comprise pseudo random numbers and true random numbers, the random numbers generated by a mathematical algorithm belong to the pseudo random numbers, and the random numbers generated by selecting natural randomness by a physical method can be regarded as the true random numbers. In the sequence encryption algorithm, a ciphertext is obtained by performing an exclusive or operation on a sequence of bits of a pre-encrypted legend and a random number sequence output by a key generator. And during decryption, carrying out XOR operation on the ciphertext sequence and the random number sequence to obtain a plaintext.
S206, the encrypted activation key is sent to the kitchen equipment corresponding to the target kitchen equipment identifier, so that the kitchen equipment decrypts the encrypted activation key and performs activation processing based on the decrypted activation key.
Specifically, the kitchen device activation apparatus sends the encrypted activation key to the kitchen device, and the kitchen device decrypts the activation key in a corresponding decryption manner and controls the activation of the kitchen device based on the decrypted activation key. That is, the kitchen device triggers automatic activation of the kitchen device upon decryption of the activation key. Of course, the kitchen device may also match the activation key with a pre-stored key and activate automatically after the matching is successful.
If the kitchen devices to be activated include a plurality of kitchen devices, the kitchen device activation apparatus may send each activation key to the kitchen device corresponding to the device identifier for activation.
S207, the activation key after the encryption processing is sent to the user terminal, so that the user terminal can decrypt the activation key after the encryption processing and control the kitchen equipment to be activated based on the activation key after the decryption processing.
Specifically, the kitchen equipment activation device sends the encrypted activation key to the user terminal, and the user terminal decrypts the activation key in a corresponding decryption manner and performs activation processing based on the decrypted activation key, that is, after the user terminal decrypts the activation key, the user terminal controls the kitchen equipment to be activated in a short-distance communication manner such as bluetooth or NFC, or the user inputs the activation key on a physical password lock of the kitchen equipment to activate the kitchen equipment.
And if a plurality of kitchen devices which need to be activated comprise the kitchen devices, simultaneously sending the device identifications and the corresponding activation keys to the user terminal for displaying.
S208, when an activation confirmation instruction sent by the kitchen equipment is received, timing the current use duration of the kitchen equipment;
specifically, after the kitchen device is activated, an activation confirmation instruction is sent to the kitchen device activation device, and at this time, the kitchen device activation device starts timing, so that the use duration of the kitchen device by the user can be conveniently recorded for charging and other management.
Optionally, the timing display may be synchronized after the kitchen device is activated, or sent to the user terminal.
S209, when receiving the equipment closing instruction sent by the kitchen equipment, ending timing on the current time duration of the kitchen equipment.
Specifically, after the kitchen device is activated, an activation confirmation instruction is sent to the kitchen device activation device, and at this time, the kitchen device activation device starts timing, so that the use duration of the kitchen device by the user can be conveniently recorded for charging and other management.
After the timing is finished, the confirmation information is fed back to the user terminal, so that the user can know the information such as the timing end, the use duration and the like.
Optionally, when the difference between the usage duration and the lease duration of the user is within the set duration threshold range, that is, the lease duration is about to reach, the kitchen device activation apparatus may send a prompt message including the remaining usage duration and lease renewal to the kitchen device, and send a lock-closing control instruction to the kitchen device when the lease duration reaches under the condition of no lease renewal, so that the user cannot continue to use the kitchen device.
In the embodiment of the invention, the target order information carried by the equipment activation request is obtained by receiving the equipment activation request sent by the user terminal aiming at the target order information, the target kitchen equipment identification is obtained based on the target order information, the activation key corresponding to the target kitchen equipment identification is obtained, and the kitchen equipment activation corresponding to the target kitchen equipment identification is controlled based on the activation key. The activation of the contributing kitchen equipment can be realized through the order information carried in the received request, and the activation use mode of the sharing kitchen equipment is enriched.
The kitchen appliance activation system and the device thereof according to the embodiment of the present invention will be described in detail with reference to fig. 3 to 9. It should be noted that the kitchen appliance activation system shown in fig. 3 is used for executing the method according to the embodiment of the present invention shown in fig. 1-2, and for convenience of illustration, only the portion related to the embodiment of the present invention is shown, and details of the technology are not disclosed, please refer to the embodiment of the present invention shown in fig. 1-2.
Referring to fig. 3, a schematic structural diagram of a kitchen device activation system according to an embodiment of the present invention is provided. As shown in fig. 3, the kitchen device activation system according to the embodiment of the present invention may include: a server 10, a user terminal 20, and a kitchen device 30.
The user terminal 20 is configured to acquire an activation operation signal input for target order information, and send an equipment activation request carrying the target order information to the server 10;
the server 10 is configured to receive an equipment activation request sent by the user terminal 10, and acquire the target order information carried in the equipment activation request;
the server 10 is further configured to obtain a target kitchen device identifier based on the target order information, and obtain an activation key corresponding to the target kitchen device identifier;
the server 10 is further configured to control activation of the kitchen device corresponding to the target kitchen device identifier based on the activation key.
Optionally, the server 10 is configured to obtain a target kitchen device identifier based on the target order information, and specifically configured to:
searching a kitchen equipment identification set corresponding to the target order information;
and sending the kitchen equipment identification set to the user terminal, and receiving a target kitchen equipment identification selected by the user terminal in the kitchen equipment identification set.
Optionally, the server 10 is configured to control, based on the activation key, activation of the kitchen device corresponding to the target kitchen device identifier, and specifically, is configured to:
sending the activation key to the kitchen device 30 corresponding to the target kitchen device identification;
the kitchen device 30 is configured to perform an activation process based on the activation key.
Optionally, the server 10 is configured to control, based on the activation key, activation of the kitchen device corresponding to the target kitchen device identifier, and specifically, is configured to:
sending the activation key to the user terminal 10;
the user terminal 10 is configured to control the kitchen device activation based on the activation key.
Optionally, the server 10 is configured to obtain an activation key corresponding to the target kitchen device identifier, and specifically configured to:
acquiring an activation key corresponding to the target kitchen equipment identifier from an activation key set;
carrying out encryption processing on the activation key;
the server 10 is configured to send the activation key to the kitchen device corresponding to the target kitchen device identifier, so that the kitchen device performs activation processing based on the activation key, and specifically is configured to:
the server 10 is configured to send the encrypted activation key to the kitchen device 30 corresponding to the target kitchen device identifier;
the kitchen device 30 is configured to decrypt the encrypted activation key and perform activation processing based on the decrypted activation key.
The server 10 is configured to obtain an activation key corresponding to the target kitchen device identifier, and specifically configured to:
acquiring an activation key corresponding to the target kitchen equipment identifier from an activation key set;
carrying out encryption processing on the activation key;
the server 10 is configured to send the activation key to the user terminal, so that the user terminal controls the kitchen device to activate based on the activation key, and specifically is configured to:
sending the encrypted activation key to the user terminal 10;
the user terminal 10 is configured to decrypt the encrypted activation key and control the activation of the kitchen device based on the decrypted activation key.
Optionally, the server 10 is further configured to:
when an activation confirmation instruction sent by the kitchen equipment is received, timing the current time duration of use of the kitchen equipment;
and when an equipment closing instruction sent by the kitchen equipment is received, ending timing on the current time duration of the kitchen equipment.
In the embodiment of the invention, the target order information carried by the equipment activation request is obtained by receiving the equipment activation request sent by the user terminal aiming at the target order information, the target kitchen equipment identification is obtained based on the target order information, the activation key corresponding to the target kitchen equipment identification is obtained, and the kitchen equipment activation corresponding to the target kitchen equipment identification is controlled based on the activation key. The activation of the contributing kitchen equipment can be realized through the order information carried in the received request, and the activation use mode of the sharing kitchen equipment is enriched.
Referring to fig. 4, a schematic structural diagram of a kitchen appliance activation device according to an embodiment of the present invention is provided. As shown in fig. 4, the kitchen device activation apparatus 1 according to the embodiment of the present invention may include: a request receiving unit 11, a key obtaining unit 12, and an activation control unit 13.
A request receiving unit 11, configured to receive an equipment activation request sent by a user terminal for target order information, and acquire the target order information carried in the equipment activation request;
a key obtaining unit 12, configured to obtain a target kitchen device identifier based on the target order information, and obtain an activation key corresponding to the target kitchen device identifier;
optionally, as shown in fig. 5, the key obtaining unit 12 includes:
the identifier searching subunit 121 is configured to search a kitchen device identifier set corresponding to the target order information;
a target identifier receiving subunit 122, configured to send the kitchen device identifier set to the user terminal, and receive a target kitchen device identifier selected by the user terminal in the kitchen device identifier set.
An activation control unit 13, configured to control activation of the kitchen device corresponding to the target kitchen device identifier based on the activation key.
Optionally, the activation control unit 13 is specifically configured to:
and sending the activation key to the kitchen equipment corresponding to the target kitchen equipment identification, so that the kitchen equipment performs activation processing based on the activation key.
Optionally, as shown in fig. 6, the key obtaining unit 12 includes:
a key obtaining subunit 123, configured to obtain, in the set of activation keys, an activation key corresponding to the target kitchen device identifier;
a key encryption subunit 124, configured to perform encryption processing on the activation key;
the activation control unit 13 is specifically configured to:
and sending the encrypted activation key to kitchen equipment corresponding to the target kitchen equipment identifier, so that the kitchen equipment decrypts the encrypted activation key and performs activation processing based on the decrypted activation key.
Optionally, the activation control unit 13 is specifically configured to:
and sending the activation key to the user terminal so that the user terminal controls the kitchen equipment to be activated based on the activation key.
Optionally, as shown in fig. 7, the key obtaining unit 12 includes:
a key obtaining subunit 125, configured to obtain, in the set of activation keys, an activation key corresponding to the target kitchen device identifier;
a key encryption subunit 126, configured to perform encryption processing on the activation key;
the activation control unit 13 is specifically configured to:
and sending the encrypted activation key to the user terminal so that the user terminal can decrypt the encrypted activation key and control the kitchen equipment to be activated based on the decrypted activation key.
Optionally, as shown in fig. 8, the timing control unit 14 is further included for:
when an activation confirmation instruction sent by the kitchen equipment is received, timing the current time duration of use of the kitchen equipment;
and when an equipment closing instruction sent by the kitchen equipment is received, ending timing on the current time duration of the kitchen equipment.
In the embodiment of the invention, the target order information carried by the equipment activation request is obtained by receiving the equipment activation request sent by the user terminal aiming at the target order information, the target kitchen equipment identification is obtained based on the target order information, the activation key corresponding to the target kitchen equipment identification is obtained, and the kitchen equipment activation corresponding to the target kitchen equipment identification is controlled based on the activation key. The activation of the contributing kitchen equipment can be realized through the order information carried in the received request, and the activation use mode of the sharing kitchen equipment is enriched.
An embodiment of the present invention further provides a computer storage medium, where the computer storage medium may store a plurality of instructions, where the instructions are suitable for being loaded by a processor and executing the method steps in the embodiments shown in fig. 1 to fig. 2, and a specific execution process may refer to specific descriptions of the embodiments shown in fig. 1 to fig. 2, which are not described herein again.
Fig. 9 is a schematic structural diagram of an electronic device according to an embodiment of the present invention. As shown in fig. 9, the electronic device 1000 may include: at least one processor 1001, such as a CPU, at least one network interface 1004, a user interface 1003, memory 1005, at least one communication bus 1002. Wherein a communication bus 1002 is used to enable connective communication between these components. The user interface 1003 may include a Display screen (Display) and a Camera (Camera), and the optional user interface 1003 may also include a standard wired interface and a wireless interface. The network interface 1004 may optionally include a standard wired interface, a wireless interface (e.g., WI-FI interface). The memory 1005 may be a high-speed RAM memory or a non-volatile memory (non-volatile memory), such as at least one disk memory. The memory 1005 may optionally be at least one memory device located remotely from the processor 1001. As shown in fig. 9, the memory 1005, which is a kind of computer storage medium, may include therein an operating system, a network communication module, a user interface module, and a kitchen device activation application.
In the electronic device 1000 shown in fig. 9, the user interface 1003 is mainly used as an interface for providing input for a user, and acquiring data input by the user; and the processor 1001 may be configured to invoke the kitchen device activation application stored in the memory 1005 and specifically perform the following operations:
receiving an equipment activation request sent by a user terminal aiming at target order information, and acquiring the target order information carried by the equipment activation request;
acquiring a target kitchen equipment identifier based on the target order information, and acquiring an activation key corresponding to the target kitchen equipment identifier;
and controlling the kitchen equipment corresponding to the target kitchen equipment identification to be activated based on the activation key.
In one embodiment, the processor 1001, when executing the obtaining of the target kitchen device identifier based on the target order information, specifically performs the following operations:
searching a kitchen equipment identification set corresponding to the target order information;
and sending the kitchen equipment identification set to the user terminal, and receiving a target kitchen equipment identification selected by the user terminal in the kitchen equipment identification set.
In an embodiment, the processor 1001 specifically performs the following operations when controlling activation of the kitchen device corresponding to the target kitchen device identifier based on the activation key:
and sending the activation key to the kitchen equipment corresponding to the target kitchen equipment identification, so that the kitchen equipment performs activation processing based on the activation key.
In an embodiment, when executing the activation of the kitchen device corresponding to the target kitchen device identifier based on the activation key, the processor 1001 specifically performs the following operations:
and sending the activation key to the user terminal so that the user terminal controls the kitchen equipment to be activated based on the activation key.
In an embodiment, when acquiring the activation key corresponding to the target kitchen device identifier, the processor 1001 specifically performs the following operations:
acquiring an activation key corresponding to the target kitchen equipment identifier from an activation key set;
carrying out encryption processing on the activation key;
when the processor 1001 executes sending the activation key to the kitchen device corresponding to the target kitchen device identifier, so that the kitchen device performs activation processing based on the activation key, specifically execute the following operations:
and sending the encrypted activation key to kitchen equipment corresponding to the target kitchen equipment identifier, so that the kitchen equipment decrypts the encrypted activation key and performs activation processing based on the decrypted activation key.
In an embodiment, when the processor 1001 obtains the activation key corresponding to the target kitchen device identifier, the following operations are specifically performed:
acquiring an activation key corresponding to the target kitchen equipment identifier from an activation key set;
carrying out encryption processing on the activation key;
when the processor 1001 executes sending of the activation key to the user terminal to enable the user terminal to control activation of the kitchen device based on the activation key, specifically:
and sending the encrypted activation key to the user terminal so that the user terminal can decrypt the encrypted activation key and control the kitchen equipment to be activated based on the decrypted activation key.
In one embodiment, the processor 1001, after performing the activation of the kitchen device corresponding to the target kitchen device identification based on the activation key, further performs the following operations:
when an activation confirmation instruction sent by the kitchen equipment is received, timing the current time duration of use of the kitchen equipment;
and when an equipment closing instruction sent by the kitchen equipment is received, ending timing on the current time duration of the kitchen equipment.
In the embodiment of the invention, the target order information carried by the equipment activation request is obtained by receiving the equipment activation request sent by the user terminal aiming at the target order information, the target kitchen equipment identification is obtained based on the target order information, the activation key corresponding to the target kitchen equipment identification is obtained, and the kitchen equipment activation corresponding to the target kitchen equipment identification is controlled based on the activation key. The activation of the contributing kitchen equipment can be realized through the order information carried in the received request, and the activation use mode of the sharing kitchen equipment is enriched.
It will be understood by those skilled in the art that all or part of the processes of the methods of the embodiments described above can be implemented by a computer program, which can be stored in a computer-readable storage medium, and when executed, can include the processes of the embodiments of the methods described above. The storage medium may be a magnetic disk, an optical disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), or the like.
The above disclosure is only for the purpose of illustrating the preferred embodiments of the present invention, and it is therefore to be understood that the invention is not limited by the scope of the appended claims.

Claims (12)

1. A kitchen device activation method, the method comprising:
receiving an equipment activation request sent by a user terminal aiming at target order information, and acquiring the target order information carried by the equipment activation request;
acquiring a target kitchen equipment identifier based on the target order information, and acquiring an activation key corresponding to the target kitchen equipment identifier;
and controlling the kitchen equipment corresponding to the target kitchen equipment identification to be activated based on the activation key.
2. The method of claim 1, wherein obtaining a target kitchen device identification based on the target order information comprises:
searching a kitchen equipment identification set corresponding to the target order information;
and sending the kitchen equipment identification set to the user terminal, and receiving a target kitchen equipment identification selected by the user terminal in the kitchen equipment identification set.
3. The method of claim 1, wherein said controlling activation of the kitchen device corresponding to the target kitchen device identification based on the activation key comprises:
and sending the activation key to the kitchen equipment corresponding to the target kitchen equipment identification, so that the kitchen equipment performs activation processing based on the activation key.
4. The method of claim 1, wherein said controlling activation of the kitchen device corresponding to the target kitchen device identification based on the activation key comprises:
and sending the activation key to the user terminal so that the user terminal controls the kitchen equipment to be activated based on the activation key.
5. The method of claim 3, wherein the obtaining an activation key corresponding to the target kitchen device identification comprises:
acquiring an activation key corresponding to the target kitchen equipment identifier from an activation key set;
carrying out encryption processing on the activation key;
the sending the activation key to the kitchen device corresponding to the target kitchen device identification so as to enable the kitchen device to perform activation processing based on the activation key includes:
and sending the encrypted activation key to kitchen equipment corresponding to the target kitchen equipment identifier, so that the kitchen equipment decrypts the encrypted activation key and performs activation processing based on the decrypted activation key.
6. The method of claim 4, wherein the obtaining an activation key corresponding to the target kitchen device identification comprises:
acquiring an activation key corresponding to the target kitchen equipment identifier from an activation key set;
carrying out encryption processing on the activation key;
the sending the activation key to the user terminal to cause the user terminal to control the kitchen device activation based on the activation key comprises:
and sending the encrypted activation key to the user terminal so that the user terminal can decrypt the encrypted activation key and control the kitchen equipment to be activated based on the decrypted activation key.
7. The method of claim 1, wherein after controlling activation of the kitchen device corresponding to the target kitchen device identification based on the activation key, further comprising:
when an activation confirmation instruction sent by the kitchen equipment is received, timing the current time duration of use of the kitchen equipment;
and when an equipment closing instruction sent by the kitchen equipment is received, ending timing on the current time duration of the kitchen equipment.
8. A kitchen equipment activation device, the device comprising:
the request receiving unit is used for receiving an equipment activation request sent by a user terminal aiming at target order information and acquiring the target order information carried by the equipment activation request;
the key acquisition unit is used for acquiring a target kitchen equipment identifier based on the target order information and acquiring an activation key corresponding to the target kitchen equipment identifier;
and the activation control unit is used for controlling the activation of the kitchen equipment corresponding to the target kitchen equipment identification based on the activation key.
9. The apparatus of claim 8, wherein the key obtaining unit comprises:
the identification searching unit is used for searching a kitchen equipment identification set corresponding to the target order information;
and the target identification receiving unit is used for sending the kitchen equipment identification set to the user terminal and receiving the target kitchen equipment identification selected by the user terminal in the kitchen equipment identification set.
10. The apparatus of claim 8, wherein the activation control unit is specifically configured to:
and sending the activation key to the kitchen equipment corresponding to the target kitchen equipment identification, so that the kitchen equipment performs activation processing based on the activation key.
11. A computer storage medium, characterized in that it stores a plurality of instructions adapted to be loaded by a processor and to carry out the method steps according to any one of claims 1 to 7.
12. An electronic device, comprising: a processor and a memory; wherein the memory stores a computer program adapted to be loaded by the processor and to perform the steps of:
receiving an equipment activation request sent by a user terminal aiming at target order information, and acquiring the target order information carried by the equipment activation request;
acquiring a target kitchen equipment identifier based on the target order information, and acquiring an activation key corresponding to the target kitchen equipment identifier;
and controlling the kitchen equipment corresponding to the target kitchen equipment identification to be activated based on the activation key.
CN201810750937.9A 2018-07-10 2018-07-10 Kitchen equipment activation method and device, storage medium and electronic equipment Pending CN110706046A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810750937.9A CN110706046A (en) 2018-07-10 2018-07-10 Kitchen equipment activation method and device, storage medium and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810750937.9A CN110706046A (en) 2018-07-10 2018-07-10 Kitchen equipment activation method and device, storage medium and electronic equipment

Publications (1)

Publication Number Publication Date
CN110706046A true CN110706046A (en) 2020-01-17

Family

ID=69192654

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810750937.9A Pending CN110706046A (en) 2018-07-10 2018-07-10 Kitchen equipment activation method and device, storage medium and electronic equipment

Country Status (1)

Country Link
CN (1) CN110706046A (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20020147601A1 (en) * 2001-04-05 2002-10-10 Fagan Von E. Lease arrangements for providing computer equipment
US6785658B1 (en) * 1999-12-23 2004-08-31 General Electric Capital Corporation Lease cancellation process and system
CN104885427A (en) * 2012-12-06 2015-09-02 波音公司 Context aware network security monitoring for threat detection
CN106529240A (en) * 2016-10-28 2017-03-22 美的智慧家居科技有限公司 Household appliance leasing method and device

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6785658B1 (en) * 1999-12-23 2004-08-31 General Electric Capital Corporation Lease cancellation process and system
US20020147601A1 (en) * 2001-04-05 2002-10-10 Fagan Von E. Lease arrangements for providing computer equipment
CN104885427A (en) * 2012-12-06 2015-09-02 波音公司 Context aware network security monitoring for threat detection
CN106529240A (en) * 2016-10-28 2017-03-22 美的智慧家居科技有限公司 Household appliance leasing method and device

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
涂敏 等: "《网络安全与管理》", 28 February 2009, 南昌:江西高校出版社 *

Similar Documents

Publication Publication Date Title
CN112235289B (en) Data encryption and decryption method and device, computing equipment and storage medium
US10972908B2 (en) Wireless network connection method, apparatus, and system
CN107801165B (en) Business short message pushing method and device, computer equipment and storage medium
CN106599723B (en) File encryption method and device and file decryption method and device
CN110138744B (en) Method, device and system for replacing communication number, computer equipment and storage medium
CN107786331B (en) Data processing method, device, system and computer readable storage medium
JP2018502524A (en) Encryption control for information, information analysis method, system and terminal
CN110912682B (en) Data processing method, device and system
CN106302335B (en) Network monitoring equipment, method, device and system for resetting password thereof and server
CN108667784B (en) System and method for protecting internet identity card verification information
CN106936763A (en) Data encryption and the method and apparatus of decryption
CN107872315B (en) Data processing method and intelligent terminal
KR101715816B1 (en) Apparatus for securing information using accessibility method thereof
CN109039997B (en) Secret key obtaining method, device and system
CN109547196B (en) Watch token system implementation method, watch token system and device
CN111193588B (en) Information processing method and device based on process and storage medium
JP2020513169A (en) Data encryption method and system using device authentication key
CN110417544A (en) A kind of generation method of root key, device and medium
CN114499836A (en) Key management method, key management device, computer equipment and readable storage medium
CN107229874B (en) Method, device and server for realizing VR-Key
CN110766487A (en) Kitchen equipment leasing method and device, storage medium and electronic equipment
CN110912683B (en) Password storage method and device and password verification method and device
CN107707611B (en) Electric power data cloud processing method, device and system
CN106972928B (en) Bastion machine private key management method, device and system
CN110706046A (en) Kitchen equipment activation method and device, storage medium and electronic equipment

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
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20200117