CN113672994A - Cooking equipment data management method, device and system based on block chain - Google Patents

Cooking equipment data management method, device and system based on block chain Download PDF

Info

Publication number
CN113672994A
CN113672994A CN202111033681.8A CN202111033681A CN113672994A CN 113672994 A CN113672994 A CN 113672994A CN 202111033681 A CN202111033681 A CN 202111033681A CN 113672994 A CN113672994 A CN 113672994A
Authority
CN
China
Prior art keywords
cooking equipment
cooking
block chain
node
parameters
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
CN202111033681.8A
Other languages
Chinese (zh)
Other versions
CN113672994B (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.)
China United Network Communications Group Co Ltd
Original Assignee
China United Network Communications Group 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 China United Network Communications Group Co Ltd filed Critical China United Network Communications Group Co Ltd
Priority to CN202111033681.8A priority Critical patent/CN113672994B/en
Publication of CN113672994A publication Critical patent/CN113672994A/en
Application granted granted Critical
Publication of CN113672994B publication Critical patent/CN113672994B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/60Protecting data
    • G06F21/64Protecting data integrity, e.g. using checksums, certificates or signatures
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/60Protecting data
    • G06F21/602Providing cryptographic facilities or services
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/46Multiprogramming arrangements
    • G06F9/54Interprogram communication
    • G06F9/542Event management; Broadcasting; Multicasting; Notifications
    • 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
    • G06Q50/00Information and communication technology [ICT] specially adapted for implementation of business processes of specific business sectors, e.g. utilities or tourism
    • G06Q50/10Services

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Software Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Security & Cryptography (AREA)
  • Health & Medical Sciences (AREA)
  • Business, Economics & Management (AREA)
  • General Health & Medical Sciences (AREA)
  • General Engineering & Computer Science (AREA)
  • Computer Hardware Design (AREA)
  • Bioethics (AREA)
  • Tourism & Hospitality (AREA)
  • Multimedia (AREA)
  • Economics (AREA)
  • Human Resources & Organizations (AREA)
  • Marketing (AREA)
  • Primary Health Care (AREA)
  • Strategic Management (AREA)
  • General Business, Economics & Management (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

The invention discloses a cooking equipment data management method, device and system based on a block chain. The method comprises the following steps: the current cooking equipment node generates signature identification information according to the collected cooking equipment parameters; the current cooking equipment node broadcasts a first broadcast message carrying signature identification information in a block chain network, so that other cooking equipment nodes in the block chain network verify the signature identification information by using prestored registration information corresponding to the current cooking equipment node, and if the signature identification information passes the verification, a verification type block is generated in the block chain to record the cooking equipment parameter verification information of the current cooking equipment node. The cooking data parameters collected by the current cooking equipment node are verified through other cooking equipment nodes in the block chain, so that the safety of the cooking data parameters can be guaranteed, the condition that every collection of the cooking data parameters has a record is guaranteed, and the cooking data parameters are prevented from being tampered.

Description

Cooking equipment data management method, device and system based on block chain
Technical Field
The invention relates to the technical field of communication, in particular to a cooking equipment data management method, device and system based on a block chain.
Background
At present, an industrial cooking project generally includes a plurality of cooking devices, and each cooking device needs to manage a cooking device parameter of each cooking device when operating. Generally, after a sensor of a cooking device collects parameters of the cooking device, the collected parameters of the cooking device are transmitted to a relevant database or a data storage for storage.
However, since the available resources of the cooking device are small, the storage, processing and transmission capabilities of the sensor powered by the battery are limited, and the processing capability of the cooking device is limited when the amount of the sensing data is large, a data encryption system requiring complex calculation and large resource consumption is not suitable for the traditional cooking device data management mode, so that the reliable encryption protection of the cooking device parameters acquired by the sensor is difficult. Secondly, in industrial mass production, the parameters of the cooking equipment stored in the database may be tampered, or data errors, data packet loss and the like are generated in the transmission process due to network reasons, and it is difficult to provide effective guarantee for the authenticity of the parameters of the cooking equipment by only adopting the traditional data protection technology, for example, adding digital watermarks, digital signatures and the like to the parameters of the cooking equipment.
Disclosure of Invention
Therefore, the invention provides a cooking equipment data management method based on a block chain, which aims to solve the problem of data safety of cooking equipment parameters acquired by various cooking equipment in the prior art.
In order to achieve the above object, a first aspect of the present invention provides a cooking appliance data management method based on a block chain, the method comprising:
the current cooking equipment node generates signature identification information according to the collected cooking equipment parameters;
and the current cooking equipment node broadcasts a first broadcast message carrying the signature identification information in a block chain network, so that other cooking equipment nodes in the block chain network verify the signature identification information by using prestored registration information corresponding to the current cooking equipment node, and if the verification is passed, a verification type block is generated in the block chain to record the cooking equipment parameter verification information of the current cooking equipment node.
In some examples, the signature identification information includes signature information and a first identification; the generating of the signature identification information according to the collected parameters of the cooking device specifically includes:
signing the parameters of the cooking equipment by using a prestored private key to generate signature information;
generating a first identifier according to a preset algorithm according to the cooking equipment parameter; the registration information comprises a public key corresponding to the private key; the cooking equipment parameter verification information comprises the public key and the first identifier.
In some examples, the preset algorithm is a hash algorithm; the first identifier is a hash identifier.
In some examples, before the current cooking device node generates signature identification information according to the collected cooking device parameters, the method further includes:
and broadcasting a second broadcast message carrying the registration information corresponding to the currently accessed cooking equipment node, enabling other cooking equipment nodes to receive the second broadcast message, judging whether the currently accessed cooking equipment node is agreed to be accessed to the block chain network according to the registration information corresponding to the currently accessed cooking equipment node, and if so, generating an authentication type block in the block chain to record the registration information corresponding to the currently accessed cooking equipment node.
In some examples, before broadcasting the second broadcast message carrying the registration information corresponding to the currently accessed cooking device node, the method further includes:
generating a public key and a private key which are matched according to a preset asymmetric encryption algorithm;
and storing the private key, and generating registration information corresponding to the currently accessed cooking equipment node according to the public key and the relevant information of the cooking equipment.
In some examples, the asymmetric cryptographic algorithm comprises an RSA algorithm or an elliptic curve algorithm.
In some examples, when any cooking appliance node in the blockchain network exits the blockchain network, the method further comprises:
and broadcasting a third broadcast message carrying a network quitting notice, so that other cooking equipment nodes receive the third broadcast message, and deleting the registration information of the cooking equipment nodes corresponding to the network quitting notice in the block chain.
In some examples, after the current cooking device node broadcasts the first broadcast message carrying the signature identification information in the blockchain network, further comprising:
and the current cooking equipment node stores the cooking equipment parameters into a database.
In some examples, when the cooking appliance node uses a cooking appliance parameter in a database, the method further comprises:
and verifying the cooking equipment parameters in the database by using the cooking equipment parameter verification information corresponding to the cooking equipment parameters in the block chain.
In some examples, the signature identification information includes signature information and a first identification; verifying the cooking equipment parameters by using the cooking equipment parameter verification information corresponding to the cooking equipment parameters in the block chain, wherein the verifying specifically comprises the following steps:
generating a second identifier according to the preset algorithm according to the cooking equipment parameters in the database;
searching whether the first identifier identical to the second identifier exists in the block chain; if yes, the verification is passed; wherein the algorithm for generating the first identifier is the same as the algorithm for generating the second identifier.
A second aspect of the present invention provides a cooking device data management apparatus based on a block chain, including:
the information generating device is used for generating signature identification information of the current cooking equipment node according to the collected cooking equipment parameters;
and the sending device is used for broadcasting a first broadcast message carrying the signature identification information in the block chain network so as to enable other cooking equipment nodes in the block chain network to verify the signature identification information by using pre-stored registration information corresponding to the current cooking equipment node, and if the signature identification information passes the verification, a verification type block is generated in the block chain so as to record the cooking equipment parameter verification information of the current cooking equipment node.
A third aspect of the present invention provides an electronic device comprising:
at least one processor; and
a memory communicatively coupled to the at least one processor; wherein the content of the first and second substances,
the memory stores instructions executable by the at least one processor to enable the at least one processor to perform the method described above.
A fourth aspect of the invention provides a non-transitory computer readable storage medium having stored thereon computer instructions for causing the computer to perform the method according to the above.
A fifth aspect of the present invention provides a cooking apparatus data management system based on a block chain, comprising:
a plurality of cooking appliance data management devices according to the above.
The invention has the following advantages:
the invention provides a cooking equipment data management method, device and system based on a block chain. Firstly, a current cooking equipment node generates signature identification information according to collected cooking equipment parameters, then the current cooking equipment node broadcasts a first broadcast message carrying the signature identification information in a block chain network, so that other cooking equipment nodes in the block chain network verify the signature identification information by using prestored registration information corresponding to the current cooking equipment node, and if the verification is passed, a verification type block is generated in the block chain to record the cooking equipment parameter verification information of the current cooking equipment node. The cooking data parameters collected by the current cooking equipment node are verified through other cooking equipment nodes in the block chain, so that the safety of the cooking data parameters can be guaranteed, the condition that every collection of the cooking data parameters has a record is guaranteed, and the cooking data parameters are prevented from being tampered.
Drawings
The accompanying drawings, which are included to provide a further understanding of the invention and are incorporated in and constitute a part of this specification, illustrate embodiments of the invention and together with the description serve to explain the principles of the invention and not to limit the invention.
Fig. 1 is a flowchart of a data management method for a cooking apparatus based on a block chain according to an embodiment of the present invention;
fig. 2 is a second flowchart of a cooking apparatus data management method based on a block chain according to an embodiment of the present invention;
fig. 3 is a schematic structural diagram of a cooking device data management apparatus based on a block chain according to an embodiment of the present invention;
fig. 4 is a schematic structural diagram of an electronic device according to an embodiment of the present invention.
Detailed Description
Exemplary embodiments of the present disclosure are described below with reference to the accompanying drawings, in which various details of the embodiments of the disclosure are included to assist understanding, and which are to be considered as merely exemplary. Accordingly, those of ordinary skill in the art will recognize that various changes and modifications of the embodiments described herein can be made without departing from the scope and spirit of the present disclosure. Also, descriptions of well-known functions and constructions are omitted in the following description for clarity and conciseness.
In the related art, an industrial cooking project usually includes a plurality of cooking devices, and each cooking device needs to manage the cooking device parameters of each cooking device when operating, and data security of the cooking device parameters acquired by each cooking device cannot be guaranteed and may be tampered.
The invention provides a cooking equipment data management method based on a block chain, which is applied to a block chain network formed by a plurality of cooking equipment nodes. A block chain network is formed by a plurality of cooking equipment nodes, and each cooking equipment node stores a complete block chain. The block chain can be provided with two types of blocks, namely an authentication type block and a verification type block, wherein the authentication type block records registration information of the cooking equipment corresponding to each cooking equipment node, and legality of the cooking equipment is guaranteed. In some examples, the authentication type block further records related information of the cooking appliance node, such as a physical address, a network access time, and the like. The check type block records the records of the cooking equipment parameters collected by each online cooking equipment node so as to ensure that the cooking equipment parameters collected by the cooking equipment nodes are legal. In some examples, each check type block further records a public key of a cooking device node and a first identifier generated according to the collected cooking device parameters. Taking the above application scenario as an example, specific steps of the cooking device data management method based on the block chain provided by the present invention are described below.
Referring to fig. 1, a first aspect of the present invention provides a cooking apparatus data management method based on a block chain, the method including:
and S1, the current cooking equipment node generates signature identification information according to the collected cooking equipment parameters.
The signature identification information may include the signature information and the first identifier, and of course, in some examples, the signature identification information may also include other information, which is not limited herein.
Specifically, referring to fig. 2, S1 may include:
and S11, signing the cooking equipment parameters by using the prestored private key to generate signature information.
When a cooking equipment node is accessed to a block chain network for the first time, an asymmetric encryption algorithm can be adopted to generate a matched private key and a matched public key, the private key is stored in a local storage of the cooking equipment corresponding to the cooking equipment node, then the public key and relevant information of the cooking equipment node are generated into registration information, and an authentication type block is generated and stored in a block chain to serve as a basis for authenticating the legality of the cooking equipment node. And then after the current cooking equipment node collects the cooking equipment parameters, the locally stored private key address can be adopted to digitally sign the cooking equipment parameters to generate signature information.
It should be noted that the cooking device parameters may include various types of data, such as temperature, operation time, operation mode, pressure inside the oven, and the like of the cooking device, and are not limited herein.
And S12, generating a first identifier according to the preset algorithm and the parameters of the cooking equipment.
Specifically, the preset algorithm may be a hash algorithm, such as the SHA-256 algorithm, but may also be other hash algorithms, which is not limited herein. And hashing the collected cooking equipment parameters according to a hashing algorithm to generate a first identifier, namely generating short characteristic character strings with fixed byte length for the cooking equipment parameters collected by the cooking equipment nodes in a specific time, wherein the characteristic character strings are the first identifier and are also called the hashing identifier. And generating a first broadcast message by using the signature identification information containing the signature information and the first identification, and broadcasting the first broadcast message to other cooking equipment nodes in the block chain network. After receiving the first broadcast message written to the signature identification information, the other cooking equipment nodes can match and check the private key carried in the signature information in the signature identification information with respect to the public key of the current cooking node prestored in the block chain, and if the private key passes the check, the signature identification information is determined to be collected by a legal cooking equipment node, so that the first identification in the signature identification information and the public key of the current cooking equipment node can be generated into a check type block, and the collection is recorded in the block chain.
Referring to fig. 2, in some examples, before the S1 generating signature identification information by the current cooking device node according to the collected cooking device parameters, the method further includes:
and S02, broadcasting a second broadcast message carrying the registration information corresponding to the currently accessed cooking equipment node, enabling other cooking equipment nodes to receive the second broadcast message, judging whether the currently accessed cooking equipment node is allowed to access the block chain network according to the registration information corresponding to the currently accessed cooking equipment node, and if so, generating an authentication type block in the block chain to record the registration information corresponding to the currently accessed cooking equipment node.
Specifically, before S1, each cooking appliance node first accesses the blockchain network, and registration authentication is performed. Specifically, prior to S02, the method further comprises:
and S01, generating registration information corresponding to the cooking equipment node currently accessed to the block chain network.
Wherein S01 includes:
and S011, generating a public key and a private key which are matched according to a preset asymmetric encryption algorithm.
Specifically, before each cooking equipment node is firstly accessed to the block chain network, the cooking equipment node firstly generates a public key and a private key which are matched according to a preset asymmetric encryption algorithm.
In some examples, the asymmetric encryption algorithm may include an RSA algorithm or an elliptic curve algorithm, but of course, other methods may be used to generate the private key and the public key, which are not limited herein.
And S012, storing the private key, and generating registration information corresponding to the cooking equipment node of the current access block chain network according to the public key and the cooking equipment related information.
Specifically, after the cooking device node that is accessed for the first time generates the public key and the private key, the private key is stored in the local storage of the node, and the public key corresponding to the private key and the relevant information of the cooking device are generated into registration information.
When a cooking equipment node is accessed to the block chain network for the first time, the cooking equipment node accessed to the block chain network broadcasts a second broadcast message carrying the registration information of the cooking equipment node to other cooking equipment nodes in the block chain network, the other cooking equipment nodes check the registration information according to a preset rule and determine whether the cooking equipment node currently accessed to the block chain network agrees to access to the block chain network, and only if more than 51% of the cooking equipment nodes on the network agree to access to the cooking equipment node currently accessed to the block chain network, the cooking equipment node currently accessed to the block chain network is formally accessed to the network, so that false or malicious equipment can be prevented from accessing to the block chain network. After the cooking equipment node of the current access block chain network is allowed to access the network, generating an authentication type block from the registration information of the current access block chain network and storing the authentication type block into the block chain so as to confirm the legality of the cooking equipment of the current access block chain network. The preset rule may be, for example, that the cooking device node is pre-stored with a list of legal generators and physical addresses, and after receiving the second broadcast message, whether the cooking device corresponding to the current cooking device node is a legal cooking device is determined according to the physical address, the generator, and the like in the cooking device related information of the registration information in the second broadcast message. Of course, other preset rules may be set, and are not limited herein.
The information related to the cooking device node includes, for example, a physical address, a network access time, a manufacturer of the cooking device node, and the like.
In some examples, when any cooking device node in the blockchain network exits the blockchain network, the method further comprises:
and broadcasting a third broadcast message carrying the network quitting notification, so that other cooking equipment nodes receive the third broadcast message, and deleting the registration information of the corresponding cooking equipment nodes of the network quitting notification in the block chain.
Specifically, when a cooking equipment node exits the network, the cooking equipment node to exit needs to broadcast a third broadcast message carrying a network exit notification to other cooking equipment nodes in the block chain network to inform the other cooking equipment nodes of the operation of exiting the network, generating a new authentication type block in the block chain after the third broadcast message received by the other cooking appliance nodes, the authentication type block deletes the registration information of the cooking appliance node to be exited and stores all other registration information at the network node, therefore, each time whether the cooking device node is legal or not is checked, only the newly generated authentication type block (namely, the authentication type block located at the tail part of the data structure of the block chain) is called, and whether the corresponding registration information exists or not is searched from the latest authentication type block without backtracking to the previous authentication type block.
And S2, broadcasting a first broadcast message carrying signature identification information in the block chain network by the current cooking equipment node, so that other cooking equipment nodes in the block chain network verify the signature identification information by using pre-stored registration information corresponding to the current cooking equipment node, and if the signature identification information passes the verification, generating a verification type block in the block chain to record the cooking equipment parameter verification information of the current cooking equipment node.
Specifically, after receiving a first broadcast message broadcast by a current device node, other cooking device nodes in the block chain network verify signature information in the signature identification information by using a public key in registration information corresponding to the current device node prestored in an authentication type block of the block chain, where the signature information is signature information generated by the current cooking device node by using its own private key, and therefore only the corresponding public key passes verification. If the verification is passed, the current cooking equipment node can be confirmed to be legal, and the collected cooking equipment parameters are also legal, so that the first identifier in the signature identifier information and the public key corresponding to the current cooking equipment parameters are used for generating cooking equipment parameter verification information, a verification type block is generated in a block chain so as to record the cooking equipment parameter verification information of the current cooking equipment node, and subsequently, when the collected cooking equipment parameters are used, the cooking equipment parameters can be verified according to the cooking equipment parameter verification information to determine that the cooking equipment parameters are collected legally and are not tampered.
Referring to fig. 2, in some examples, after the S2 current cooking device node broadcasts the first broadcast message carrying the signature identification information in the blockchain network, further comprising:
and S3, storing the cooking equipment parameters into the database by the current cooking equipment node.
Specifically, the blockchain network is further connected to a database, and the database may be stored in the same server as the blockchain network or in a different server, which is not limited herein. The database is used for storing the cooking data parameters legally acquired by each cooking equipment node in the block chain network, and when the acquired cooking equipment parameters are checked or called, the cooking equipment parameters can be directly searched from the database index without being searched from the chain structure of the block chain, so that the calculation amount can be reduced. After the cooking equipment data is collected by the cooking equipment node every time, the cooking equipment data is verified in S1-S2, and if the verification is passed, the current cooking equipment node stores the cooking equipment parameters, the first identification corresponding to the cooking equipment parameters and the block height (namely the block number) of the verification type block generated by the record in the database.
In some examples, when the cooking appliance node uses the cooking appliance parameters in the database, the method further comprises:
and S4, verifying the cooking equipment parameters in the database by using the cooking equipment parameter verification information corresponding to the cooking equipment parameters in the block chain.
When the cooking equipment node needs to check or call a certain cooking equipment parameter stored in the database, the corresponding cooking equipment parameter in the block chain can be found out, and the cooking equipment parameter and the corresponding cooking equipment parameter are compared and checked to ensure that the data are collected by the legal cooking equipment node and are not tampered.
Specifically, with reference to fig. 2, in some examples, the S4, verifying the cooking device parameter by using the cooking device parameter verification information corresponding to the cooking device parameter in the block chain specifically includes:
and S41, generating a second identifier according to the preset algorithm according to the cooking equipment parameters in the database.
The cooking device node calls out the cooking device parameters in the database, and generates the second identifier according to a preset algorithm, where the preset algorithm may be a hash algorithm, such as the SHA-256 algorithm, or may be other hash algorithms, which is not limited herein. And hashing the cooking equipment parameters in the database according to a hashing algorithm to generate a second identifier, namely generating short characteristic character strings with fixed byte length for the cooking equipment parameters called at this time in the database, wherein the characteristic character strings are the second identifier and are also called the hashing identifier.
And S42, searching whether the first identifier identical to the second identifier exists in the block chain. If so, the check passes.
Specifically, the algorithms for forming the first identifier and the second identifier are the same, so that the check type block corresponding to the block height in the block chain can be searched according to the block height corresponding to the cooking equipment parameter corresponding to the second identifier, and then whether the first identifier with the same hash value of the second identifier exists in the check type block is searched, if so, the cooking equipment parameter corresponding to the second identifier is proved to be collected by a legal cooking equipment node, and the cooking equipment parameter is not modified because the first identifier is the same as the second identifier, so that the safety of the cooking equipment parameter can be ensured.
Referring to fig. 3, a second aspect of the present invention provides a cooking appliance data management apparatus 01 based on a block chain, the cooking appliance data management apparatus 01 based on a block chain including an information generating means 011 and a transmitting means 012 connected thereto. The information generating device 011 is used for generating signature identification information of the current cooking equipment node according to the collected cooking equipment parameters. The sending device 012 is configured to broadcast a first broadcast message carrying signature identification information in the blockchain network, so that other cooking equipment nodes in the blockchain network verify the signature identification information by using pre-stored registration information corresponding to the current cooking equipment node, and if the verification passes, a verification type block is generated in the blockchain to record cooking equipment parameter verification information of the current cooking equipment node.
A third aspect of the present invention provides an electronic device comprising:
at least one processor. And
a memory communicatively coupled to the at least one processor. Wherein the content of the first and second substances,
the memory stores instructions executable by the at least one processor to enable the at least one processor to perform the method described above.
In the technical scheme of the disclosure, the acquisition, storage, application and the like of the personal information of the related user all accord with the regulations of related laws and regulations, and do not violate the good customs of the public order.
Referring to fig. 4, fig. 4 shows a schematic block diagram of an example electronic device 800 that may be used to implement embodiments of the present disclosure. Electronic devices are intended to represent various forms of digital computers, such as laptops, desktops, workstations, personal digital assistants, servers, blade servers, mainframes, and other appropriate computers. The electronic device may also represent various forms of mobile devices, such as personal digital processing, cellular phones, smart phones, wearable devices, and other similar computing devices. The components shown herein, their connections and relationships, and their functions, are meant to be examples only, and are not meant to limit implementations of the disclosure described and/or claimed herein.
As shown in fig. 4, the apparatus 800 includes a computing unit 801 that can perform various appropriate actions and processes according to a computer program stored in a Read Only Memory (ROM)802 or a computer program loaded from a storage unit 808 into a Random Access Memory (RAM) 803. In the RAM 803, various programs and data required for the operation of the device 800 can also be stored. The calculation unit 801, the ROM 802, and the RAM 803 are connected to each other by a bus 804. An input/output (I/O) interface 805 is also connected to bus 804.
A number of components in the device 800 are connected to the I/O interface 805, including: an input unit 806, such as a keyboard, a mouse, etc. An output unit 807 such as various types of displays, speakers, and the like. A storage unit 808 such as a magnetic disk, optical disk, or the like. And a communication unit 809 such as a network card, modem, wireless communication transceiver, etc. The communication unit 809 allows the device 800 to exchange information/data with other devices via a computer network such as the internet and/or various telecommunication networks.
Computing unit 801 may be a variety of general and/or special purpose processing components with processing and computing capabilities. Some examples of the computing unit 801 include, but are not limited to, a Central Processing Unit (CPU), a Graphics Processing Unit (GPU), various dedicated Artificial Intelligence (AI) computing chips, various computing units running machine learning model algorithms, a Digital Signal Processor (DSP), and any suitable processor, controller, microcontroller, and the like. Computing unit 801 performs various methods and processes described above, such as method XXX. For example, in some embodiments, the blockchain-based cooking appliance data management method may be implemented as a computer software program tangibly embodied in a machine-readable medium, such as the storage unit 808. In some embodiments, part or all of the computer program can be loaded and/or installed onto device 800 via ROM 802 and/or communications unit 809. When the computer program is loaded into the RAM 803 and executed by the computing unit 801, one or more steps of the above described blockchain based cooking appliance data management method may be performed. Alternatively, in other embodiments, the computing unit 801 may be configured by any other suitable means (e.g. by means of firmware) to perform the blockchain based cooking appliance data management method.
Various implementations of the systems and techniques described here above may be implemented in digital electronic circuitry, integrated circuitry, Field Programmable Gate Arrays (FPGAs), Application Specific Integrated Circuits (ASICs), Application Specific Standard Products (ASSPs), system on a chip (SOCs), load programmable logic devices (CPLDs), computer hardware, firmware, software, and/or combinations thereof. These various embodiments may include: implemented in one or more computer programs that are executable and/or interpretable on a programmable system including at least one programmable processor, which may be special or general purpose, receiving data and instructions from, and transmitting data and instructions to, a storage system, at least one input device, and at least one output device.
Program code for implementing the methods of the present disclosure may be written in any combination of one or more programming languages. These program codes may be provided to a processor or controller of a general purpose computer, special purpose computer, or other programmable data processing apparatus, such that the program codes, when executed by the processor or controller, cause the functions/operations specified in the flowchart and/or block diagram to be performed. The program code may execute entirely on the machine, partly on the machine, as a stand-alone software package partly on the machine and partly on a remote machine or entirely on the remote machine or server.
A fourth aspect of the invention provides a non-transitory computer readable storage medium having stored thereon computer instructions for causing a computer to perform the method according to the above.
In the context of this disclosure, a machine-readable medium may be a tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device. The machine-readable medium may be a machine-readable signal medium or a machine-readable storage medium. A machine-readable medium may include, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any suitable combination of the foregoing. More specific examples of a machine-readable storage medium would include an electrical connection based on one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
To provide for interaction with a user, the systems and techniques described here can be implemented on a computer having: a display device (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor) for displaying information to a user. And a keyboard and a pointing device (e.g., a mouse or a trackball) by which a user can provide input to the computer. Other kinds of devices may also be used to provide for interaction with the user. For example, feedback provided to the user can be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback). And input from the user may be received in any form, including acoustic, speech, or tactile input.
The systems and techniques described here can be implemented in a computing system that includes a back-end component (e.g., as a data server), or that includes a middleware component (e.g., an application server), or that includes a front-end component (e.g., a user computer having a graphical user interface or a web browser through which a user can interact with an implementation of the systems and techniques described here), or any combination of such back-end, middleware, or front-end components. The components of the system can be interconnected by any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include: local Area Networks (LANs), Wide Area Networks (WANs), and the Internet.
The computer system may include clients and servers. A client and server are generally remote from each other and typically interact through a communication network. The relationship of client and server arises by virtue of computer programs running on the respective computers and having a client-server relationship to each other. The server may be a cloud server, a server of a distributed system, or a server with a combined blockchain.
It should be understood that various forms of the flows shown above may be used, with steps reordered, added, or deleted. For example, the steps described in the present disclosure may be executed in parallel, sequentially, or in different orders, as long as the desired results of the technical solutions disclosed in the present disclosure can be achieved, and the present disclosure is not limited herein.
A fifth aspect of the present invention provides a cooking appliance data management system based on a block chain, which is characterized by comprising a plurality of cooking appliance data management devices according to the above. The plurality of cooking appliance data management devices may correspond to the same one or different ones of the block chain networks, or may be networked with each other to perform data management on the cooking appliance nodes connected to the plurality of cooking appliance data management devices, which is not limited herein.
The invention provides a cooking equipment data management method, device and system based on a block chain. Firstly, a current cooking equipment node generates signature identification information according to collected cooking equipment parameters, then the current cooking equipment node broadcasts a first broadcast message carrying the signature identification information in a block chain network, so that other cooking equipment nodes in the block chain network verify the signature identification information by using prestored registration information corresponding to the current cooking equipment node, and if the verification is passed, a verification type block is generated in the block chain to record the cooking equipment parameter verification information of the current cooking equipment node. The cooking data parameters collected by the current cooking equipment node are verified through other cooking equipment nodes in the block chain, so that the safety of the cooking data parameters can be guaranteed, the condition that every collection of the cooking data parameters has a record is guaranteed, and the cooking data parameters are prevented from being tampered.
It will be understood that the above embodiments are merely exemplary embodiments taken to illustrate the principles of the present invention, which is not limited thereto. It will be apparent to those skilled in the art that various modifications and improvements can be made without departing from the spirit and substance of the invention, and these modifications and improvements are also considered to be within the scope of the invention.

Claims (14)

1. A block chain based cooking device data management method, the method comprising:
the current cooking equipment node generates signature identification information according to the collected cooking equipment parameters;
and the current cooking equipment node broadcasts a first broadcast message carrying the signature identification information in a block chain network, so that other cooking equipment nodes in the block chain network verify the signature identification information by using prestored registration information corresponding to the current cooking equipment node, and if the verification is passed, a verification type block is generated in the block chain to record the cooking equipment parameter verification information of the current cooking equipment node.
2. The method of claim 1, wherein the signature identification information comprises signature information and a first identification; the generating of the signature identification information according to the collected parameters of the cooking device specifically includes:
signing the parameters of the cooking equipment by using a prestored private key to generate signature information;
generating a first identifier according to a preset algorithm according to the cooking equipment parameter; the registration information comprises a public key corresponding to the private key; the cooking equipment parameter verification information comprises the public key and the first identifier.
3. The method according to claim 2, wherein the predetermined algorithm is a hash algorithm; the first identifier is a hash identifier.
4. The method of claim 1, wherein before the current cooking device node generates signature identification information based on the collected cooking device parameters, further comprising:
and broadcasting a second broadcast message carrying the registration information corresponding to the currently accessed cooking equipment node, enabling other cooking equipment nodes to receive the second broadcast message, judging whether the currently accessed cooking equipment node is agreed to be accessed to the block chain network according to the registration information corresponding to the currently accessed cooking equipment node, and if so, generating an authentication type block in the block chain to record the registration information corresponding to the currently accessed cooking equipment node.
5. The method of claim 4, wherein before broadcasting the second broadcast message carrying the registration information corresponding to the currently accessed cooking device node, further comprising:
generating a public key and a private key which are matched according to a preset asymmetric encryption algorithm;
and storing the private key, and generating registration information corresponding to the currently accessed cooking equipment node according to the public key and the relevant information of the cooking equipment.
6. The method of claim 5, wherein the asymmetric encryption algorithm comprises an RSA algorithm or an elliptic curve algorithm.
7. The method of claim 1, wherein when any cooking appliance node in the blockchain network exits the blockchain network, the method further comprises:
and broadcasting a third broadcast message carrying a network quitting notice, so that other cooking equipment nodes receive the third broadcast message, and deleting the registration information of the cooking equipment nodes corresponding to the network quitting notice in the block chain.
8. The method of claim 1, wherein after the current cooking appliance node broadcasts a first broadcast message carrying the signature identification information in a blockchain network, further comprising:
and the current cooking equipment node stores the cooking equipment parameters into a database.
9. The method of claim 8, wherein when the cooking appliance node uses cooking appliance parameters in a database, the method further comprises:
and verifying the cooking equipment parameters in the database by using the cooking equipment parameter verification information corresponding to the cooking equipment parameters in the block chain.
10. The method of claim 9, wherein the signature identification information comprises signature information and a first identification; verifying the cooking equipment parameters by using the cooking equipment parameter verification information corresponding to the cooking equipment parameters in the block chain, wherein the verifying specifically comprises the following steps:
generating a second identifier according to the preset algorithm according to the cooking equipment parameters in the database;
searching whether the first identifier identical to the second identifier exists in the block chain; if yes, the verification is passed; wherein the algorithm for generating the first identifier is the same as the algorithm for generating the second identifier.
11. A cooking device data management device based on a block chain is characterized by comprising:
the information generating device is used for generating signature identification information of the current cooking equipment node according to the collected cooking equipment parameters;
and the sending device is used for broadcasting a first broadcast message carrying the signature identification information in the block chain network so as to enable other cooking equipment nodes in the block chain network to verify the signature identification information by using pre-stored registration information corresponding to the current cooking equipment node, and if the signature identification information passes the verification, a verification type block is generated in the block chain so as to record the cooking equipment parameter verification information of the current cooking equipment node.
12. An electronic device, comprising:
at least one processor; and
a memory communicatively coupled to the at least one processor; wherein the content of the first and second substances,
the memory stores instructions executable by the at least one processor to enable the at least one processor to perform the method of any one of claims 1-10.
13. A non-transitory computer readable storage medium having stored thereon computer instructions for causing the computer to perform the method of any one of claims 1-10.
14. A blockchain-based cooking device data management system, comprising:
a plurality of cooking appliance data management devices according to claim 11.
CN202111033681.8A 2021-09-03 2021-09-03 Cooking equipment data management method, device and system based on blockchain Active CN113672994B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111033681.8A CN113672994B (en) 2021-09-03 2021-09-03 Cooking equipment data management method, device and system based on blockchain

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111033681.8A CN113672994B (en) 2021-09-03 2021-09-03 Cooking equipment data management method, device and system based on blockchain

Publications (2)

Publication Number Publication Date
CN113672994A true CN113672994A (en) 2021-11-19
CN113672994B CN113672994B (en) 2023-12-01

Family

ID=78548437

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111033681.8A Active CN113672994B (en) 2021-09-03 2021-09-03 Cooking equipment data management method, device and system based on blockchain

Country Status (1)

Country Link
CN (1) CN113672994B (en)

Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108768630A (en) * 2018-05-25 2018-11-06 全链通有限公司 The encryption communication method and system of block chain node
US20190173667A1 (en) * 2016-12-23 2019-06-06 Cloudminds (Shenzhen) Robotics Systems Co., Ltd. Block generation method, device and blockchain network
CN110601853A (en) * 2019-09-17 2019-12-20 腾讯科技(深圳)有限公司 Block chain private key generation method and equipment
CN110808959A (en) * 2019-10-10 2020-02-18 深圳创链数据科技有限公司 Intelligent equipment data acquisition system and method based on block chain
CN110826111A (en) * 2019-06-26 2020-02-21 腾讯科技(深圳)有限公司 Test supervision method, device, equipment and storage medium
WO2020061923A1 (en) * 2018-09-27 2020-04-02 区链通网络有限公司 Blockchain-based account management system and management method, and storage medium
US10735193B1 (en) * 2017-06-01 2020-08-04 Massachusetts Mutual Life Insurance Company Decentralized encryption and decryption of blockchain data
CN111967889A (en) * 2020-09-08 2020-11-20 浙江大学 Communication processing method for canteen food information monitoring based on block chain technology
WO2020232800A1 (en) * 2019-05-17 2020-11-26 深圳市网心科技有限公司 Data processing method and system in block chain network and related device
CN112491551A (en) * 2018-06-29 2021-03-12 创新先进技术有限公司 Data verification method and device based on block chain and electronic equipment
CN113282603A (en) * 2020-03-26 2021-08-20 腾讯科技(深圳)有限公司 Block chain consensus node checking method, device, equipment and storage medium

Patent Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20190173667A1 (en) * 2016-12-23 2019-06-06 Cloudminds (Shenzhen) Robotics Systems Co., Ltd. Block generation method, device and blockchain network
US10735193B1 (en) * 2017-06-01 2020-08-04 Massachusetts Mutual Life Insurance Company Decentralized encryption and decryption of blockchain data
CN108768630A (en) * 2018-05-25 2018-11-06 全链通有限公司 The encryption communication method and system of block chain node
CN112491551A (en) * 2018-06-29 2021-03-12 创新先进技术有限公司 Data verification method and device based on block chain and electronic equipment
WO2020061923A1 (en) * 2018-09-27 2020-04-02 区链通网络有限公司 Blockchain-based account management system and management method, and storage medium
WO2020232800A1 (en) * 2019-05-17 2020-11-26 深圳市网心科技有限公司 Data processing method and system in block chain network and related device
CN110826111A (en) * 2019-06-26 2020-02-21 腾讯科技(深圳)有限公司 Test supervision method, device, equipment and storage medium
CN110601853A (en) * 2019-09-17 2019-12-20 腾讯科技(深圳)有限公司 Block chain private key generation method and equipment
CN110808959A (en) * 2019-10-10 2020-02-18 深圳创链数据科技有限公司 Intelligent equipment data acquisition system and method based on block chain
CN113282603A (en) * 2020-03-26 2021-08-20 腾讯科技(深圳)有限公司 Block chain consensus node checking method, device, equipment and storage medium
CN111967889A (en) * 2020-09-08 2020-11-20 浙江大学 Communication processing method for canteen food information monitoring based on block chain technology

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
MENG LI等: "Efficient and Privacy-Preserving Carpooling Using Blockchain-Assisted Vehicular Fog Computing", 《IEEE INTERNET OF THINGS JOURNAL》, vol. 6, no. 3, pages 4573, XP011731250, DOI: 10.1109/JIOT.2018.2868076 *
赵赫等: "基于区块链技术的采样机器人数据保护方法", 《华中科技大学学报(自然科学版)》, vol. 43, no. 1, pages 216 - 219 *

Also Published As

Publication number Publication date
CN113672994B (en) 2023-12-01

Similar Documents

Publication Publication Date Title
EP3178011B1 (en) Method and system for facilitating terminal identifiers
CN103607385A (en) Method and apparatus for security detection based on browser
CN109995523B (en) Activation code management method and device and activation code generation method and device
CN114327803A (en) Method, apparatus, device and medium for accessing machine learning model by block chain
CN111488372A (en) Data processing method, device and storage medium
CN114513350A (en) Identity verification method, system and storage medium
CN113259429B (en) Session maintenance management and control method, device, computer equipment and medium
CN114462096A (en) Block chain-based Internet of things equipment control method and device, computer equipment and storage medium
CN111597537B (en) Block chain network-based certificate issuing method, related equipment and medium
CN113438225A (en) Vehicle-mounted terminal vulnerability detection method, system, equipment and storage medium
CN112087475B (en) Message pushing method and device for cloud platform component application and message server
CN113672994B (en) Cooking equipment data management method, device and system based on blockchain
CN110890979A (en) Automatic deploying method, device, equipment and medium for fortress machine
CN113225348B (en) Request anti-replay verification method and device
CN115396206A (en) Message encryption method, message decryption method, device and program product
CN114117388A (en) Device registration method, device registration apparatus, electronic device, and storage medium
CN109688158B (en) Financial execution chain authentication method, electronic device and storage medium
CN112214760A (en) Application program management method and device based on credible root measurement and related products
CN114500025B (en) Account identifier acquisition method, device, server and storage medium
CN115955362B (en) Block chain-based data storage and communication method, device, equipment and medium
CN111625846B (en) System state recording method of mobile terminal equipment
CN116578965A (en) Method, device, equipment and storage medium for checking security of upgrade package
CN113609520A (en) Interface calling method, device, equipment and computer readable storage medium
CN117150577A (en) Hardware detection method and device of electronic equipment, electronic equipment and storage medium
CN115766014A (en) Controller safety management method and device, vehicle and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant