CN114816486A - Robot upgrading method and device based on block chain - Google Patents

Robot upgrading method and device based on block chain Download PDF

Info

Publication number
CN114816486A
CN114816486A CN202210538486.9A CN202210538486A CN114816486A CN 114816486 A CN114816486 A CN 114816486A CN 202210538486 A CN202210538486 A CN 202210538486A CN 114816486 A CN114816486 A CN 114816486A
Authority
CN
China
Prior art keywords
information
robot
over
air
upgrade
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
CN202210538486.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.)
Shandong New Generation Information Industry Technology Research Institute Co Ltd
Original Assignee
Shandong New Generation Information Industry Technology Research Institute 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 Shandong New Generation Information Industry Technology Research Institute Co Ltd filed Critical Shandong New Generation Information Industry Technology Research Institute Co Ltd
Priority to CN202210538486.9A priority Critical patent/CN114816486A/en
Publication of CN114816486A publication Critical patent/CN114816486A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/60Software deployment
    • G06F8/65Updates
    • 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
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/60Protecting data
    • G06F21/62Protecting access to data via a platform, e.g. using keys or access control rules
    • G06F21/6218Protecting access to data via a platform, e.g. using keys or access control rules to a system of files or objects, e.g. local or distributed file system or database
    • G06F21/6245Protecting personal data, e.g. for financial or medical purposes
    • 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
    • G06F8/00Arrangements for software engineering
    • G06F8/70Software maintenance or management
    • G06F8/71Version control; Configuration management

Abstract

The invention discloses a robot upgrading method and equipment based on a block chain, belongs to the technical field of block chains and data upgrading, and is used for solving the technical problems that an existing robot upgrading mode is easy to be maliciously tampered by a third party in the upgrading process, the safety of an upgrading package and terminal equipment cannot be guaranteed, and the trust reliability of a system is low. The method comprises the following steps: obtaining over-the-air downloading update information through a preset over-the-air downloading server; the method comprises the steps of carrying out asymmetric encryption on air download updating information to obtain asymmetric encryption information, and uploading the asymmetric encryption information and the air download updating information to a block chain network; carrying out decryption verification judgment on the asymmetric encrypted information to obtain verification information; installing an upgrade package according to the verification information and the intelligent contract to finish the upgrade of the robot to be upgraded; wherein the over-the-air update information comprises an upgrade package.

Description

Robot upgrading method and device based on block chain
Technical Field
The present application relates to the field of blockchains and data upgrading, and in particular, to a method and an apparatus for upgrading a robot based on a blockchain.
Background
With the fast-update and changing robot demand market, new functional demands are continually iterating, the frequency of software functional updates is continually accelerating, and the robot body is no longer changed as soon as it is sold like a traditional device, so Over-the-Air Technology (OTA) capable of supporting remote upgrade of robot firmware and software becomes of paramount importance.
The OTA upgrading in the existing industry mainly adopts the following two modes, one mode is to provide a fixed upgrading server platform for a robot manufacturer, the manufacturer uploads an upgrading packet to be updated to the platform server, and a robot terminal uploads firmware and software versions regularly after networking. The other type is that a robot terminal user finds out the latest firmware upgrade package needing to be upgraded through a fixed platform or a website or a mobile terminal provided by an equipment manufacturer and downloads the latest firmware upgrade package to the local, and then triggers the built-in firmware to upgrade through a peripheral interface (such as a USB or a serial port) of the equipment.
However, these methods all have potential safety hazards: the robot terminal device does not perform safety verification on the firmware or software upgrade package or the safety verification is not sufficient enough, if a malicious third party replaces the upgrade package on the platform, the program of the robot terminal device is modified and implanted, and when the robot terminal device downloads the replaced upgrade package, serious consequences such as control of the device by the malicious third party or privacy disclosure of a user can be caused. Similarly, if the robot terminal device is modified by a third party, the robot terminal device may also pose a threat to the server in the reverse direction, for example, unlimited sending of an upgrade request to the server may also cause resource exhaustion and collapse of the server.
Disclosure of Invention
The embodiment of the application provides a robot upgrading method and equipment based on a block chain, which are used for solving the following technical problems: the existing robot upgrading mode is easy to be maliciously tampered by a third party in the upgrading process, so that the safety of an upgrading packet and terminal equipment cannot be guaranteed, and the trust reliability of a system becomes low.
The embodiment of the application adopts the following technical scheme:
in one aspect, an embodiment of the present application provides a robot upgrading method and device based on a block chain, where the method includes: obtaining over-the-air downloading update information through a preset over-the-air downloading server; carrying out asymmetric encryption on the over-the-air updating information to obtain asymmetric encryption information, and uploading the asymmetric encryption information and the over-the-air updating information to a block chain network; carrying out decryption verification judgment on the asymmetric encryption information to obtain verification information; according to the verification information and the intelligent contract, installing an upgrade package to finish the upgrade of the robot to be upgraded; wherein the over-the-air update information comprises the upgrade package.
By utilizing the characteristics of transparency, credibility, tamper resistance, traceability, privacy security guarantee and high system reliability of the block chain network, the upgrade package of the robot to be upgraded realizes the verification operation of bidirectional security authentication, prevents a malicious third party from exchanging the upgrade package of the robot to be upgraded, and avoids the hidden danger problem that the privacy of the user is leaked because the robot to be upgraded is controlled maliciously by a third party, adopts the robot upgrading method based on the block chain network, and the signature information is encrypted through asymmetric encryption, and according to the satisfying conditions of the intelligent contract, the security of the upgrade package is greatly guaranteed, and the transparent credibility of the block chain network and the synchronous broadcast operation are added, so that the upgrade package and the terminal equipment are more safe and credible, and the security authentication is realized, the robot upgrading safety based on the over-the-air technology (OTA) is greatly guaranteed.
In a possible embodiment, the number of the preset over-the-air download servers is greater than or equal to 1; the preset over-the-air download server comprises an over-the-air download backup server used for redundancy guarantee of the over-the-air download server; the functions of the preset over-the-air download server further comprise: responding to the upgrade request, sending upgrade packet data and receiving upgrade result feedback.
According to the embodiment of the application, the safety and the reliability of the operation of the server can be better ensured through at least one over-the-air download server and one over-the-air download backup server, and the redundancy of an over-the-air download (OTA) server is further ensured.
In a feasible implementation manner, obtaining the over-the-air update information by presetting an over-the-air server specifically includes: making and managing an upgrade package and defining and managing an upgrade task through the preset over-the-air download server to obtain initial definition information; performing data processing on the initial definition information to obtain the over-the-air downloading updating information; wherein the over-the-air update information comprises: upgrade package version, upgrade content, and upgrade package Uniform Resource Locator (URL).
In a feasible implementation manner, asymmetrically encrypting the over-the-air update information to obtain asymmetric encryption information, and uploading the asymmetric encryption information and the over-the-air update information to a blockchain network, specifically includes: calculating original data in the over-the-air updating information according to a preset Hash algorithm to obtain a first digital abstract; carrying out encryption calculation on the first digital abstract through a private key in an asymmetric key to obtain asymmetric encryption information; and uploading the asymmetric encryption information and the over-the-air update information to the blockchain network.
In a feasible implementation manner, performing decryption verification judgment on the asymmetric encrypted information to obtain verification information specifically includes: acquiring the asymmetric encryption information and the over-the-air downloading updating information; carrying out decryption calculation on the asymmetric encrypted information through an initial over-the-air download upgrading server in the robot to be upgraded to obtain a second digital abstract; the second digital digest is obtained by carrying out decryption calculation on the asymmetric encryption information by using a public key of an asymmetric key; calculating original data in the over-the-air updating information according to a preset Hash algorithm to obtain a third digital abstract; wherein the third digital digest is identical to the first digital digest; comparing and verifying the second digital abstract and the third digital abstract to obtain verification information; if the second digital abstract and the third digital abstract are compared and verified to be the same, the verification information is pass information; and if the second digital abstract and the third digital abstract are different in comparison verification, the verification information is fail information.
According to the embodiment of the application, the security verification is carried out on the upgrading packet of the robot to be upgraded through the encrypted signature, so that the problems that the third party maliciously exchanges the upgrading packet and the robot to be upgraded is maliciously controlled by the third party to cause the leakage of the privacy information of the user are effectively solved. The robot upgrading process is safer and more reliable, higher credibility is achieved, meanwhile, on the basis of a block chain network, the upgrading process is more transparent and credible, and the robot upgrading process can also be prevented from being tampered and traced, and great guarantee is provided for system safety and reliability.
In a possible implementation, after comparing the second digital digest with the third digital digest for verification, the method further includes: if the verification information is pass information, the robot to be upgraded acquires the over-the-air downloading updating information; and if the verification information is the non-passing information, the robot to be upgraded does not perform any operation.
In a feasible implementation manner, the installation of an upgrade package is performed according to the verification information and the intelligent contract, and the upgrade of the robot to be upgraded is completed, specifically including: the verification information is pass information; acquiring self information of the robot to be upgraded through the intelligent contract; wherein, the robot self information of waiting to upgrade includes: the method comprises the steps that terminal operation environment information, firmware version information, software version information and nameplate information are obtained; comparing the self information of the upgrading robot with the preset upgrading triggering conditions of the intelligent contract to obtain comparison information; wherein, the preset upgrade triggering conditions include: the current version of the robot to be upgraded belongs to the minimum required version and the latest upgrade version; the terminal operation environment of the robot to be upgraded and the nameplate information; if the comparison information is the same, downloading and installing the upgrade package into the robot to be upgraded according to the upgrade package URL in the over-the-air download update information, and completing the upgrade of the robot to be upgraded.
In the embodiment of the application, the intelligent contract deployed on the blockchain network can ensure that the characteristics of decentralization, privacy protection, high reliability and the like of the blockchain network can be strictly executed, and each node of the blockchain can verify corresponding conditions, so that the operation of each step is transparent and credible, and the safety and the integrity of the upgrading information are ensured.
In a possible implementation manner, after comparing the self information of the upgrading robot with the preset upgrading triggering condition of the intelligent contract to obtain comparison information, the method further includes: if the comparison information is the same, backing up and storing the existing firmware version and software version of the robot to be upgraded; and storing the upgrading result information of the robot to be upgraded in a block chain network, and broadcasting the upgrading result information in the block chain network.
In one possible embodiment, the robot to be upgraded is a wireless communication robot; and the robot to be upgraded acquires the over-the-air downloading updating information in the block chain network through wireless communication.
On the other hand, the embodiment of the present application further provides a robot upgrading device based on a block chain, including: at least one processor; and a memory communicatively coupled to the at least one processor; wherein the memory stores instructions executable by the at least one processor to enable the at least one processor to perform a method for blockchain based robot upgrade as described in any of the above embodiments.
The embodiment of the application provides a robot upgrading method and equipment based on a block chain, the robot upgrading method based on a block chain network is adopted, signature information encrypted through asymmetric encryption is used, the safety of an upgrading packet is greatly guaranteed according to the meeting conditions of an intelligent contract, the transparent credibility of the block chain network is added, synchronous broadcasting operation is carried out, the upgrading packet and terminal equipment are enabled to be more safe and credible, safety certification is achieved, and the robot upgrading safety based on an over-the-air (OTA) technology is greatly guaranteed.
Drawings
In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings needed to be 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 described in the present application, and other drawings can be obtained by those skilled in the art without creative efforts. In the drawings:
fig. 1 is a flowchart of a robot upgrading method based on a block chain according to an embodiment of the present disclosure;
fig. 2 is an overall design diagram of a robot upgrade based on a block chain according to an embodiment of the present disclosure;
fig. 3 is a flowchart of an asymmetric encryption verification method according to an embodiment of the present application;
fig. 4 is a schematic structural diagram of a robot upgrading device based on a blockchain according to an embodiment of the present application.
Detailed Description
In order to make those skilled in the art better understand the technical solutions in the present application, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are only a part of the embodiments of the present application, and not all of the embodiments. All other embodiments, which can be obtained by a person skilled in the art without making any inventive step based on the embodiments of the present disclosure, shall fall within the scope of protection of the present application.
The embodiment of the application provides a robot upgrading method based on a block chain, and as shown in fig. 1, the robot upgrading method based on the block chain specifically includes steps S101-S104:
s101, obtaining over-the-air downloading updating information through a preset over-the-air downloading server.
Specifically, the upgrade package is manufactured and managed and the upgrade task is defined and managed by presetting an over-the-air download server, so that initial definition information is obtained. And carrying out data processing on the initial definition information to obtain over-the-air downloading updating information. Wherein the over-the-air update information comprises: upgrade package version, upgrade content, and upgrade package Uniform Resource Locator (URL).
Wherein the number of the preset over-the-air download servers is more than or equal to 1. The preset over-the-air download server comprises an over-the-air download backup server and is used for presetting redundancy guarantee of the over-the-air download server. The functions of the preset over-the-air download server further comprise: responding to the upgrade request, sending upgrade packet data and receiving upgrade result feedback.
As a feasible implementation manner, in the process of the OTA upgrade of the robot, at least one preset over-the-air (OTA) server is firstly ensured to be provided before the upgrade operation is performed, and in order to ensure the safe and reliable operation of the upgrade service, a matched over-the-air (OTA) backup server is also required to provide a guarantee for the redundancy of the over-the-air (OTA) server. Meanwhile, the preset over-the-air (OTA) server also comprises the steps of manufacturing and managing an upgrade package and defining and managing an upgrade task before generating the update information, and is also used for responding to an upgrade request of the robot to be upgraded, subsequently sending over-the-air update information and receiving feedback of the final upgrade result information.
S102, the preset over-the-air download server carries out asymmetric encryption on the over-the-air download updating information to obtain asymmetric encryption information, and the asymmetric encryption information and the over-the-air download updating information are uploaded to a block chain network.
Specifically, according to a preset hash algorithm, original data in the air download update information are calculated to obtain a first digital summary. And carrying out encryption calculation on the first digital abstract through a private key in the asymmetric key to obtain asymmetric encryption information. Asymmetric encryption information and over-the-air (OTA) update information are uploaded into a blockchain network.
As a possible implementation, the over-the-air (OTA) server is preset as a node of the blockchain network and possesses a pair of private and public key pairs, which employ asymmetric encryption techniques. The method comprises the steps that a preset over-the-air (OTA) server carries out Hash algorithm calculation on original data in over-the-air (OTA) updating information to obtain a first digital abstract, then a private key in an asymmetric secret key is used for encrypting the digital abstract, and the encrypted asymmetric encryption information and the preset OTA updating information are sent to a block chain network together for an over-the-air (OTA) updating information receiver to verify and extract related information.
In one implementation, fig. 2 is a general design diagram of a blockchain-based robot upgrade provided by an embodiment of the present application. As shown in fig. 2, the over-the-air update information including the upgrade package version, the upgrade content, and the upgrade package URL is transmitted to the blockchain network through the OTA upgrade server. Before the information is transmitted to the block chain network, firstly, the first digital abstract is encrypted and calculated through a private key in an asymmetric key to obtain asymmetric encryption information, and then the asymmetric encryption information and over-the-air downloading updating information are uploaded to the block chain network together. Meanwhile, the operation is broadcasted in the blockchain network, and the version, the content, the URL and the like of the upgrade package of the related over-the-air (OTA) update information are recorded by the blockchain network.
S103, carrying out decryption verification judgment on the asymmetric encryption information to obtain verification information.
Specifically, asymmetric encryption information and over-the-air update information in a blockchain network are acquired through wireless communication. And carrying out decryption calculation on the asymmetric encrypted information through an initial over-the-air download upgrading server in the robot to be upgraded to obtain a second digital abstract. And the second digital digest is obtained by carrying out decryption calculation on the asymmetric encryption information by using the public key of the asymmetric key. And calculating the original data in the air downloading updating information according to a preset Hash algorithm to obtain a third digital abstract. Wherein the third digital digest is identical to the first digital digest. And comparing and verifying the second digital abstract and the third digital abstract to obtain verification information. And if the second digital abstract and the third digital abstract are compared and verified to be the same, the verification information is pass information. And if the second digital abstract is different from the third digital abstract in comparison verification, verifying that the information is the non-passing information.
Further, if the verification information is pass information, the robot to be upgraded acquires over-the-air update information. And if the verification information is the non-passing information, the robot to be upgraded does not perform any operation.
As a feasible implementation manner, after the to-be-upgraded robot receives the update information of the block chain, that is, after the asymmetric encryption information and the over-the-air download update information are obtained, the public key in the asymmetric secret key of the initial over-the-air download upgrade server in the to-be-upgraded robot is used for decrypting the signature information to obtain a second digital digest, then, the hash algorithm is used for calculating the original data in the over-the-air download update information to obtain a third digital digest, and finally, the second digital digest is compared with the third digital digest to check whether the numerical values are the same or not. If the verification information is the same as the verification information, the upgrading operation is continued. If not, the verification information does not pass, and the upgrading operation is stopped.
In one embodiment, fig. 3 is a flowchart of an asymmetric encryption verification method provided in an embodiment of the present application. As shown in fig. 3, first, the robot to be upgraded acquires over-the-air update information in the blockchain network through wireless communication, where the wireless communication mode supports 4G, 5G and/or WIFI communication. Then, the hash function operation is carried out on the data through a preset over-the-air (OTA) server to obtain a hash value, namely, the above first digital digest is obtained through a hash algorithm, then the hash value is encrypted through the private key of the OTA server, the encrypted information about the signature is obtained, then the signed data is formed through the original data and the signature, i.e., the symmetric encryption information above, and the over-the-air update information, then transmitted into the blockchain network, then the robot to be upgraded acquires the signed data, signs the data with the OTA receiver, namely, the public key of the robot to be upgraded decrypts the signature to obtain a hash value, then hash function operation is carried out on the original data to obtain the hash value, whether the hash values obtained by two different ways are the same or not is compared, if the hash values are the same, the signature verification information passes, namely the signature is valid, and then the robot to be upgraded continues to perform upgrading operation.
And S104, installing an upgrading package according to the verification information and the intelligent contract to finish upgrading the robot to be upgraded.
Specifically, if the verification information is pass information. Acquiring the self information of the robot to be upgraded through an intelligent contract; the robot information to be upgraded comprises: the terminal comprises terminal operation environment information, firmware version information, software version information and nameplate information. And comparing the self information of the upgrading robot with the preset upgrading triggering conditions of the intelligent contract to obtain comparison information. The preset upgrading triggering conditions comprise: the current version of the robot to be upgraded belongs to the element of the minimum required version and the latest upgrade version. And the terminal operation environment and the nameplate information of the robot to be upgraded. If the comparison information is the same, the upgrading package is downloaded and installed in the robot to be upgraded according to the URL of the upgrading package in the over-the-air updating information, and the upgrading of the robot to be upgraded is completed.
Further, if the comparison information is the same, the existing firmware version and software version of the robot to be upgraded are backed up and stored. And storing the upgrading result information of the robot to be upgraded into the block chain network, and broadcasting the upgrading result information in the block chain network.
As a feasible implementation manner, after the verification information passes, firstly, self information of the robot to be upgraded is obtained through an intelligent contract supporting the blockchain network, then the self information is compared with a preset upgrading triggering condition of the intelligent contract, when upgrading is required, upgrading package version information, upgrading package URL and upgrading content are compared with existing firmware information and software information of the robot, when the triggering condition of the intelligent contract on the blockchain is met, the intelligent contract downloads the upgrading package from the corresponding upgrading package URL according to preset logic for installation, and upgrading result information is added into the blockchain network as a new block.
In one embodiment, a blockchain network supporting an intelligent contract takes an over-the-air (OTA) server and an OTA robot to be upgraded as nodes of the blockchain network, the whole blockchain is taken as a distributed OTA upgrade information storage library, and by transferring the upgrade package information over-the-air (OTA) server to the blockchain, the safety and the integrity of the upgrade information are ensured by utilizing the characteristics of decentralization, privacy protection and high reliability of the blockchain.
In one embodiment, the intelligent contract of the blockchain needs to include a complete transaction processing mechanism for starting the upgrade of the robot to be upgraded when the software and hardware versions of the robot meet the upgrade conditions. The intelligent contract is specifically realized as follows: firstly, acquiring terminal data of a robot to be upgraded, and acquiring self information of the current robot to be upgraded, wherein the self information comprises terminal operation environment information, firmware version information, software version information and nameplate information. And then judging whether preset upgrade triggering conditions are met or not, wherein the steps comprise: the current version of the robot to be upgraded belongs to the minimum required version and the latest upgrade version, and the terminal operation environment and the nameplate information of the robot to be upgraded. And then executing a preset response rule of the robot to be upgraded, if the comparison information is the same, backing up and storing the existing firmware version and software version of the robot to be upgraded, storing the upgrade result information of the robot to be upgraded in the block chain network, and broadcasting the upgrade result information in the block chain network.
In addition, an embodiment of the present application further provides a robot upgrading device based on a block chain, and as shown in fig. 4, the robot upgrading device 400 based on a block chain specifically includes:
at least one processor 401, and a memory 402 communicatively coupled to the at least one processor 401. Wherein the memory 402 stores instructions executable by the at least one processor 401 to enable the at least one processor 401 to:
obtaining over-the-air downloading update information through a preset over-the-air downloading server;
the method comprises the steps of carrying out asymmetric encryption on air download updating information to obtain asymmetric encryption information, and uploading the asymmetric encryption information and the air download updating information to a block chain network;
carrying out decryption verification judgment on the asymmetric encrypted information to obtain verification information;
installing an upgrade package according to the verification information and the intelligent contract to finish the upgrade of the robot to be upgraded; wherein, the over-the-air updating information comprises an upgrading packet.
The application provides a robot upgrading method and equipment based on a block chain, the robot upgrading method based on a block chain network is adopted, signature information encrypted through asymmetric encryption is used, the safety of an upgrading packet is greatly guaranteed according to the meeting conditions of an intelligent contract, the transparent credibility of the block chain network is added, and synchronous broadcast operation is carried out, so that the upgrading packet and terminal equipment are more safe and credible, safety certification is realized, the robot upgrading safety based on an over-the-air (OTA) technology is greatly guaranteed, and the problems that the upgrading packet and the terminal equipment are easily and maliciously tampered by a third party in the upgrading process, the safety of the upgrading packet and the terminal equipment cannot be guaranteed, and the reliability of the trust of a system is reduced in the existing robot upgrading mode are solved.
The embodiments in the present application are described in a progressive manner, and the same and similar parts among the embodiments can be referred to each other, and each embodiment focuses on the differences from the other embodiments. In particular, for the apparatus embodiment, since it is substantially similar to the method embodiment, the description is relatively simple, and for the relevant points, reference may be made to the partial description of the method embodiment.
The foregoing description of specific embodiments of the present application has been presented. Other embodiments are within the scope of the following claims. In some cases, the actions or steps recited in the claims may be performed in a different order than in the embodiments and still achieve desirable results. In addition, the processes depicted in the accompanying figures do not necessarily require the particular order shown, or sequential order, to achieve desirable results. In some embodiments, multitasking and parallel processing may also be possible or may be advantageous.
The above description is only an example of the present application and is not intended to limit the present application. Various modifications and changes may occur to those skilled in the art to which the embodiments of the present application pertain. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the embodiments of the present application should be included in the scope of the claims of the present application.

Claims (10)

1. A robot upgrading method based on a block chain is characterized by comprising the following steps:
obtaining over-the-air downloading update information through a preset over-the-air downloading server;
carrying out asymmetric encryption on the over-the-air updating information to obtain asymmetric encryption information, and uploading the asymmetric encryption information and the over-the-air updating information to a block chain network;
carrying out decryption verification judgment on the asymmetric encryption information to obtain verification information;
according to the verification information and the intelligent contract, installing an upgrade package to finish the upgrade of the robot to be upgraded; wherein the over-the-air update information comprises the upgrade package.
2. The robot upgrading method based on the block chain as claimed in claim 1, wherein the number of the preset over-the-air download servers is greater than or equal to 1;
the preset over-the-air download server comprises an over-the-air download backup server and is used for redundancy guarantee of the preset over-the-air download server;
the functions of the preset over-the-air download server further comprise: responding to the upgrade request, sending upgrade packet data and receiving upgrade result feedback.
3. The robot upgrading method based on the blockchain according to claim 1, wherein the obtaining of the over-the-air update information by presetting an over-the-air server specifically comprises:
making and managing an upgrade package and defining and managing an upgrade task through the preset over-the-air download server to obtain initial definition information;
performing data processing on the initial definition information to obtain the over-the-air downloading updating information; wherein the over-the-air update information comprises: upgrade package version, upgrade content, and upgrade package URL.
4. The robot upgrading method based on the blockchain according to claim 1, wherein the step of asymmetrically encrypting the over-the-air update information to obtain asymmetric encryption information and uploading the asymmetric encryption information and the over-the-air update information to a blockchain network specifically comprises:
calculating original data in the over-the-air updating information according to a preset Hash algorithm to obtain a first digital abstract;
carrying out encryption calculation on the first digital abstract through a private key in an asymmetric key to obtain asymmetric encryption information;
and uploading the asymmetric encryption information and the over-the-air update information to the blockchain network.
5. The robot upgrading method based on the blockchain according to claim 1, wherein the decrypting, verifying and judging the asymmetric encryption information to obtain verification information specifically comprises:
acquiring the asymmetric encryption information and the over-the-air downloading updating information;
carrying out decryption calculation on the asymmetric encrypted information through an initial over-the-air download upgrading server in the robot to be upgraded to obtain a second digital abstract; the second digital digest is obtained by carrying out decryption calculation on the asymmetric encryption information by using a public key of an asymmetric key;
calculating original data in the over-the-air updating information according to a preset Hash algorithm to obtain a third digital abstract; wherein the third digital digest is identical to the first digital digest;
comparing and verifying the second digital abstract and the third digital abstract to obtain verification information;
if the second digital abstract and the third digital abstract are compared and verified to be the same, the verification information is pass information; and if the second digital abstract and the third digital abstract are different in comparison verification, the verification information is fail information.
6. The method for robot upgrade based on block chain as claimed in claim 5, wherein after comparing the second digital summary with the third digital summary for verification, the method further comprises:
if the verification information is pass information, the robot to be upgraded acquires the over-the-air downloading updating information;
and if the verification information is the non-passing information, the robot to be upgraded does not perform any operation.
7. The robot upgrading method based on the blockchain according to claim 1, wherein an upgrade package is installed according to the verification information and an intelligent contract, and upgrading of the robot to be upgraded is completed, and specifically includes:
if the verification information is pass information;
acquiring the self information of the robot to be upgraded through the intelligent contract; wherein, the robot self information of waiting to upgrade includes: the method comprises the steps that terminal operation environment information, firmware version information, software version information and nameplate information are obtained;
comparing the self information of the upgrading robot with the preset upgrading triggering conditions of the intelligent contract to obtain comparison information; wherein, the preset upgrade triggering conditions include: the current version of the robot to be upgraded belongs to the minimum required version and the latest upgrade version; the terminal operation environment of the robot to be upgraded and the nameplate information;
if the comparison information is the same, downloading and installing the upgrade package into the robot to be upgraded according to the upgrade package URL in the over-the-air download update information, and completing the upgrade of the robot to be upgraded.
8. The robot upgrading method based on the block chain as claimed in claim 7, wherein after comparing the self information of the upgraded robot with the preset upgrading triggering condition of the intelligent contract to obtain the comparison information, the method further comprises:
if the comparison information is the same, backing up and storing the existing firmware version and software version of the robot to be upgraded;
and storing the upgrading result information of the robot to be upgraded in a block chain network, and broadcasting the upgrading result information in the block chain network.
9. The robot upgrading method based on the block chain as claimed in claim 1, wherein the robot to be upgraded is a robot in wireless communication;
and the robot to be upgraded acquires the over-the-air downloading updating information in the block chain network through wireless communication.
10. A blockchain-based robotic upgrade apparatus, the apparatus comprising:
at least one processor; and the number of the first and second groups,
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 a blockchain based robot upgrade method according to any one of claims 1 to 9.
CN202210538486.9A 2022-05-18 2022-05-18 Robot upgrading method and device based on block chain Pending CN114816486A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210538486.9A CN114816486A (en) 2022-05-18 2022-05-18 Robot upgrading method and device based on block chain

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210538486.9A CN114816486A (en) 2022-05-18 2022-05-18 Robot upgrading method and device based on block chain

Publications (1)

Publication Number Publication Date
CN114816486A true CN114816486A (en) 2022-07-29

Family

ID=82515862

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210538486.9A Pending CN114816486A (en) 2022-05-18 2022-05-18 Robot upgrading method and device based on block chain

Country Status (1)

Country Link
CN (1) CN114816486A (en)

Similar Documents

Publication Publication Date Title
CN110597538B (en) Software upgrading method and OTA upgrading system based on OTA upgrading system
CN105308560B (en) Method and apparatus for profile to be arranged
US9984255B2 (en) Methods and apparatus to enable runtime checksum verification of block device images
CN104052818A (en) Version upgrade method and device for mobile terminal
CN109862099B (en) Upgrade checking method, device, terminal and system
CN107294924B (en) Vulnerability detection method, device and system
CN109391673A (en) A kind of method, system and the terminal device of management update file
US10621335B2 (en) Method and device for verifying security of application
US10263980B2 (en) Network node, device and methods for providing an authentication module
Dhakal et al. Private blockchain network for IoT device firmware integrity verification and update
WO2022142153A1 (en) Electricity meter upgrading method and system, smart meter, and storage medium
CN111177265A (en) Block chain domain division method
KR20120111852A (en) A methods and apparatus of separated software upgrade of device and gateway by over the air in the machine to machine communication
CN112131041A (en) Method, apparatus and computer program product for managing data placement
WO2021231686A1 (en) Controlled scope of authentication key for software update
US11902789B2 (en) Cloud controlled secure Bluetooth pairing for network device management
CN111427609A (en) Automatic application upgrading method based on multi-node server
CN114816486A (en) Robot upgrading method and device based on block chain
CN114095538B (en) Bidirectional authentication method for OTA (over the air) upgrading of Internet of things equipment based on block chain technology
US8769341B2 (en) System and method for transmitting data using incremental remediation
CN114880011A (en) OTA (over the air) upgrading method and device, electronic equipment and readable storage medium
KR20130125245A (en) Method and system for maintaining integrity of software installed in mobile device
CN112230957A (en) Equipment upgrading method based on cloud and application bridging
CN111240885A (en) Embedded online upgrade error-proofing detection method
CN117156474B (en) Remote intelligent operation and maintenance system and operation and maintenance method thereof

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