CN112947967A - Software updating method, block chain application store and software uploading terminal - Google Patents

Software updating method, block chain application store and software uploading terminal Download PDF

Info

Publication number
CN112947967A
CN112947967A CN202110251872.5A CN202110251872A CN112947967A CN 112947967 A CN112947967 A CN 112947967A CN 202110251872 A CN202110251872 A CN 202110251872A CN 112947967 A CN112947967 A CN 112947967A
Authority
CN
China
Prior art keywords
software
data
software updating
updating data
application store
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
CN202110251872.5A
Other languages
Chinese (zh)
Other versions
CN112947967B (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 CN202110251872.5A priority Critical patent/CN112947967B/en
Publication of CN112947967A publication Critical patent/CN112947967A/en
Application granted granted Critical
Publication of CN112947967B publication Critical patent/CN112947967B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

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
    • 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

Abstract

The present disclosure provides a software updating method, a block chain application store, a software uploading terminal, a computer device, and a readable storage medium, the method including: a block chain application store receives software updating data uploaded by a software uploading terminal; encrypting and storing the software updating data; when the user terminal accesses the blockchain application store to download the software updating data, decrypting the stored encrypted software updating data; and sending the decrypted software updating data to the user terminal. The technical scheme disclosed by the invention can ensure that the software update is safe and reliable and cannot be randomly tampered.

Description

Software updating method, block chain application store and software uploading terminal
Technical Field
The present disclosure belongs to the field of communication technologies, and in particular, to a software update method, a blockchain application store, a software upload terminal, a computer device, and a computer-readable storage medium.
Background
Software is a collection of computer data and instructions organized in a particular order. Software is often required to be updated due to logic problems or function expansion, but currently, when software is updated, a user generally downloads a latest software version from a server or a website for installation or update, this method may simultaneously download other applications or virus programs bound on the website, and software files are easily tampered, so that reliability and security are low when software is updated.
Disclosure of Invention
The present disclosure provides a software update method, a blockchain application store, a software upload terminal, a computer device, and a computer-readable storage medium, which make software update secure and reliable without being tampered with at will.
In a first aspect, an embodiment of the present disclosure provides a software update method applied to a blockchain application store, where the method includes:
receiving software updating data uploaded by a software uploading terminal;
encrypting and storing the software updating data;
when the user terminal accesses the blockchain application store for software update data download,
decrypting the stored encrypted software update data;
and sending the decrypted software updating data to the user terminal.
Further, the encrypting the software update data includes:
grouping software updating data uploaded by a software uploading terminal and generating multi-section block chain data;
encrypting the multi-segment block chain data by adopting a first encryption algorithm to obtain multi-segment block chain data after one-time encryption;
encrypting the once encrypted multi-segment block chain data through a secret key to obtain a plurality of ciphertext blocks;
encrypting the plurality of ciphertext blocks by adopting a second encryption algorithm to obtain multi-section block chain data after secondary encryption;
and merging the multi-segment block chain data after the secondary encryption to obtain the encrypted software updating data.
Further, the first encryption algorithm is a digital signature algorithm, and the second encryption algorithm is a hash algorithm.
Further, the receiving of the software update data uploaded by the software uploading terminal specifically includes:
receiving software updating data uploaded by a software uploading terminal through a 5G network;
the sending of the decrypted software update data to the user terminal specifically includes:
and transmitting the decrypted software updating data to the user terminal through the 5G network.
In a second aspect, an embodiment of the present disclosure provides a software updating method, which is applied to a software uploading terminal, and the method includes:
acquiring software updating data;
and uploading the software updating data to a blockchain application store so that the blockchain application store encrypts and stores the software updating data, decrypting the stored encrypted software updating data when the user terminal accesses the blockchain application store to download the software updating data, and sending the decrypted software updating data to the user terminal.
Further, the software uploading terminal is connected with an electronic medium, and pre-encrypted software updating data are stored in the electronic medium;
the acquiring of the software update data includes:
acquiring pre-encrypted software update data from the electronic medium;
and decrypting the pre-encrypted software updating data to obtain the software updating data.
Further, the decrypting the pre-encrypted software update data to obtain the software update data includes:
acquiring a deformed key in a software development terminal, wherein the deformed key is obtained by the software development terminal by adopting a message digest algorithm to calculate software updating data to generate an encryption key and performing position replacement on the (n + 1) th bit and the (n-1) th bit of the encryption key;
decrypting the pre-encrypted software updating data by adopting a preset software decryption mechanism to obtain a ciphertext data block;
and decrypting the ciphertext data block by using the deformed key through a data encryption standard algorithm to obtain software updating data.
In a third aspect, an embodiment of the present disclosure provides a blockchain application store, including:
the receiving module is used for receiving the software updating data uploaded by the software uploading terminal;
the encryption module is used for encrypting and storing the software updating data;
the decryption module is used for decrypting the stored encrypted software updating data when the user terminal is accessed to the blockchain application store for downloading the software updating data;
a sending module configured to send the decrypted software update data to the user terminal.
In a fourth aspect, an embodiment of the present disclosure provides a software uploading terminal, including:
an acquisition module configured to acquire software update data;
and the uploading module is used for uploading the software updating data to the blockchain application store so that the blockchain application store encrypts and stores the software updating data, decrypting the stored encrypted software updating data when the user terminal accesses the blockchain application store to download the software updating data, and then sending the decrypted software updating data to the user terminal.
In a fifth aspect, embodiments of the present disclosure further provide a computer device, including a memory and a processor, where the memory stores a computer program, and when the processor runs the computer program stored in the memory, the processor executes the software updating method according to any one of the first aspects.
In a sixth aspect, this disclosed embodiment also provides a computer-readable storage medium, including: a computer program which, when run on a computer, causes the computer to perform the software updating method as described in any one of the first and second aspects.
Has the advantages that:
the software updating method, the block chain application store, the software uploading terminal, the computer device and the computer readable storage medium provided by the present disclosure receive software updating data uploaded by the software uploading terminal through the block chain application store; encrypting and storing the software updating data; when the user terminal accesses the blockchain application store to download the software updating data, decrypting the stored encrypted software updating data; and sending the decrypted software updating data to the user terminal. The technical scheme disclosed by the invention can safely and reliably realize the software updating and prevent the data from being tampered when the software is updated.
Drawings
Fig. 1 is a schematic flowchart of a software updating method according to an embodiment of the present disclosure;
fig. 2 is a schematic flowchart of a software updating method according to a second embodiment of the disclosure;
fig. 3 is an architecture diagram of a blockchain application store according to a third embodiment of the present disclosure;
fig. 4 is an architecture diagram of a software uploading terminal according to a fourth embodiment of the present disclosure;
fig. 5 is an architecture diagram of a computer device according to a fifth embodiment of the present disclosure.
Detailed Description
In order to make the technical solutions of the present disclosure better understood by those skilled in the art, the present disclosure is further described in detail below with reference to the accompanying drawings and examples.
In which the terminology used in the embodiments of the disclosure is for the purpose of describing particular embodiments only and is not intended to be limiting of the disclosure. As used in the disclosed embodiments and the appended claims, the singular forms "a," "an," and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise.
At present, when software is updated, a user generally downloads a latest software version on a server or a website to install or update the software, other applications or virus programs bound on the website may be downloaded at the same time, and software files are easily tampered, so that the reliability and the safety of software updating are low.
The following describes the technical solutions of the present disclosure and how to solve the above technical problems in specific embodiments. The following several specific embodiments may be combined with each other, and details of the same or similar concepts or processes may not be repeated in some embodiments.
Fig. 1 is a schematic flowchart of a software updating method provided in an embodiment of the present disclosure, and is applied to a blockchain application store, as shown in fig. 1, the method includes:
step S101: receiving software updating data uploaded by a software uploading terminal;
step S102: encrypting and storing the software updating data;
step S103: when the user terminal accesses the blockchain application store to download the software updating data, decrypting the stored encrypted software updating data;
step S104: and sending the decrypted software updating data to the user terminal.
New software is born almost every moment around the world, and no BUG or expansion is possible even if the design is perfect, no large software or small applications are available. When the released software has problems or new functions need to be added, the software needs to be updated; after software development or when updating is needed, the software is generally uploaded through a specific software uploading terminal in a networking way, and software updating data comprises all files for software installation, including computer programs which can run on a computer and documents related to the computer programs; the method comprises the steps of creating a blockchain of software updates, wherein the blockchain comprises a software uploading terminal node, a blockchain application store node and a user node.
The blockchain is a novel application mode of computer technologies such as distributed data storage, point-to-point transmission, a consensus mechanism and an encryption algorithm. The block chain is an important concept of the bitcoin, is essentially a decentralized database, and is used as a bottom-layer technology of the bitcoin, namely a series of data blocks which are generated by correlation by using a cryptographic method, wherein each data block contains information of a batch of bitcoin network transactions for verifying the validity (anti-counterfeiting) of the information and generating a next block. In a narrow sense, the blockchain is a distributed account book which is a chain data structure formed by combining data blocks in a sequential connection mode according to a time sequence and is guaranteed in a cryptographic mode and cannot be tampered and forged. Broadly speaking, the blockchain technique is a completely new distributed infrastructure and computing paradigm that utilizes blockchain data structures to verify and store data, utilizes distributed node consensus algorithms to generate and update data, cryptographically secure data transmission and access, and utilizes intelligent contracts composed of automated script code to program and manipulate data.
By utilizing the characteristics of decentralized block chain, information non-falsification, openness and traceability, the software update data uploaded to the block chain is ensured to be safe and reliable. Then encrypting the software updating data in the application store to further ensure the safety of the data in the blockchain network, and decrypting the encrypted software updating data in the application store when the user terminal accesses the blockchain application store to download the software updating data; and sending the software updating data obtained after decryption to the user terminal. And the user can acquire the updating data to update the software.
Further, the encrypting the software update data includes:
grouping software updating data uploaded by a software uploading terminal and generating multi-section block chain data;
encrypting the multi-segment block chain data by adopting a first encryption algorithm to obtain multi-segment block chain data after one-time encryption;
encrypting the once encrypted multi-segment block chain data through a secret key to obtain a plurality of ciphertext blocks;
encrypting the plurality of ciphertext blocks by adopting a second encryption algorithm to obtain multi-section block chain data after secondary encryption;
and merging the multi-segment block chain data after the secondary encryption to obtain the encrypted software updating data.
The software data can be better protected through twice encryption, the software updating data can be prevented from being obtained by others and then being tampered with or embedded with viruses and the like, and then the tampered software installation package is uploaded to an application store again, so that the user is influenced after being downloaded. Therefore, the server encrypts the acquired software update data a plurality of times, and the possibility of tampering the software update data can be reduced.
The process of decrypting the stored encrypted software update data at the blockchain application store is the reverse operation of the encryption process, and includes:
grouping the software updating data after secondary encryption according to a preset method to obtain a plurality of sections of block chain data after secondary encryption;
decrypting the multi-section block chain data subjected to secondary encryption by adopting the inverse operation corresponding to the encryption of the second encryption algorithm to obtain a plurality of ciphertext blocks;
decrypting the plurality of ciphertext blocks through a private key to obtain multi-section block chain data after primary decryption; the private key corresponds to a key for encrypting the multi-segment block chain data after the primary encryption;
decrypting the once decrypted multi-segment block chain data by adopting the inverse operation corresponding to the encryption of the first encryption algorithm to obtain the multi-segment block chain data
And combining the multiple sections of block chain data to obtain complete software updating data.
Preferably, the encryption parameters can be inserted into the secondarily encrypted blockchain data, so that the updated data can be better protected.
Further, the first encryption algorithm is a digital signature algorithm, and the second encryption algorithm is a hash algorithm.
The first encryption algorithm adopts a DSA digital signature algorithm; the second encryption algorithm adopts a Hash algorithm. Data tampering caused by only adopting a hash encryption algorithm in a block chain is prevented.
Further, the receiving of the software update data uploaded by the software uploading terminal specifically includes:
receiving software updating data uploaded by a software uploading terminal through a 5G network;
the sending of the decrypted software update data to the user terminal specifically includes:
and transmitting the decrypted software updating data to the user terminal through the 5G network.
Data transmission is carried out through high speed, low time delay and large bandwidth of the 5G network, so that the transmission efficiency can be improved, and the safety is improved.
The software updating method disclosed by the embodiment of the invention is simple to operate and high in updating efficiency, and the characteristic that the safety performance of software updating data is improved based on a block chain sharing technology and a multi-time encryption algorithm is high, so that the software updating can be safely and reliably realized.
Fig. 2 is a schematic flowchart of a software updating method provided in a second embodiment of the present disclosure, and is applied to a software uploading terminal, as shown in fig. 2, the method includes:
step S201: acquiring software updating data;
step S202: and uploading the software updating data to a blockchain application store so that the blockchain application store encrypts and stores the software updating data, decrypting the stored encrypted software updating data when the user terminal accesses the blockchain application store to download the software updating data, and sending the decrypted software updating data to the user terminal.
The software uploading terminal can be connected with a plurality of blockchain application stores, has strong safety protection performance, uploads the software updating data to the blockchain application stores through a specific port after acquiring the software updating data from the software development terminal, and stores the updating data after being encrypted in the blockchain, so that the possibility of data tampering is reduced, and the data safety is ensured.
Further, the software uploading terminal is connected with an electronic medium, and pre-encrypted software updating data are stored in the electronic medium;
the acquiring of the software update data includes:
acquiring pre-encrypted software update data from the electronic medium;
and decrypting the pre-encrypted software updating data to obtain the software updating data.
For some software with special requirements, developed or updated files need to be transferred to a specific terminal through an electronic medium for networking and uploading, and in the process, the developed or updated files are lost and stolen. Pre-encrypting software updating data on a development terminal; and storing the software update data into an electronic medium, and decrypting the software update data in the electronic medium after the electronic medium is connected to the software uploading terminal to obtain the software update data.
The pre-encrypting the software updating data in the software development terminal comprises the following steps:
encrypting the software updating data by using an MD5 algorithm to generate an encryption key;
performing position replacement processing on the (n + 1) th bit and the (n-1) th bit of the encryption key to obtain a string of deformed keys;
encrypting the software updating data by using the deformed key through a DES algorithm to obtain a corresponding ciphertext data block;
and encrypting the ciphertext data block by adopting a preset software encryption mechanism to form ciphertext data, and completing the pre-encryption of the software updating data.
The full name of MD5, Message-Digest Algorithm 5, fifth edition of the Message Digest Algorithm, is one of the widely used hashing algorithms currently used in the computer field to ensure the integrity and consistency of information transfer. The MD5 algorithm has the function of changing data operation into another fixed length value, is the basic principle of a hash algorithm, adopts the MD5 algorithm to encrypt software updating data to generate a 128bits encryption key with 32 characters, carries out position replacement processing on the (n + 1) th bit and the (n-1) th bit of the encryption key to obtain a string of deformed keys, wherein n is more than or equal to 2 and can be set by self,
the DES algorithm uses a 64-bit key to transform a 64-bit plaintext input block into a 64-bit ciphertext output block, and divides the output block into two parts, L0 and R0, each of which is 32 bits. Specifically, 64-bit plaintext data is input, and initial replacement IP is carried out; after the initial replacement of the IP, the plaintext data is further divided into two parts, a left part and a right part, each part having 32 bits, denoted by L0, R0; under the control of a secret key, 16 rounds of operation are carried out; after 16 rounds, the left part and the right part are exchanged and connected together, and then reverse replacement is carried out; and outputting 64-bit cipher text. And encrypting the ciphertext data block by adopting a preset software encryption mechanism to form ciphertext data, and completing the pre-encryption of the software updating data. The preset software encryption mechanism may be a common encryption mechanism, and may be an ECB: electronic Code Book (Electronic codebook mode), CBC: cipher Block Chaining (Cipher Block Chaining mode), CTR: counter (Counter mode), CFB: cipher Feedback (Cipher Feedback mode) or OFB: output Feedback (Output Feedback mode). And after pre-encryption of the software updating data is completed, storing the software updating data in the electronic medium.
Further, the decrypting the pre-encrypted software update data to obtain the software update data includes:
acquiring a deformed key in a software development terminal, wherein the deformed key is obtained by the software development terminal operating software updating data by adopting a message digest MD5 algorithm to generate an encryption key and performing position replacement on the (n + 1) th bit and the (n-1) th bit of the encryption key;
decrypting the pre-encrypted software updating data by adopting a preset software decryption mechanism to obtain a ciphertext data block;
and decrypting the ciphertext data block by using the deformed key through a data encryption standard DES algorithm to obtain software updating data.
The decryption process is the inverse operation of the encryption process, and the decryption process like DES is in principle the same as the encryption process, with few differences:
if the using sequence of the sub-keys is K1 and K2 … … K16 when encrypting, then the using sequence of the sub-keys is K16 and K15 … … K1 when decrypting;
the input is 64-bit cipher text, and the output is 64-bit plaintext;
the encryption algorithm is circularly moved to the left while the decryption algorithm is circularly moved to the right when the key is generated.
The deformed key in the software development terminal can be transmitted to the software uploading terminal through another electronic medium, and when decryption is carried out, the software uploading terminal acquires the encryption parameters during encryption and acquires the software updating data after decryption. The software updating data is encrypted and then stored in the electronic medium, so that data stealing caused by the loss of the electronic medium is prevented, and the safety of the data is better ensured.
The technical scheme disclosed by the invention can safely and reliably realize the software updating and prevent the data from being tampered when the software is updated.
Fig. 3 is an architecture diagram of a blockchain application store according to a third embodiment of the present disclosure, as shown in fig. 3, the blockchain application store includes:
the receiving module 11 is configured to receive software update data uploaded by the software uploading terminal;
an encryption module 12 configured to encrypt and store the software update data;
a decryption module 13 configured to decrypt the stored encrypted software update data when the user terminal accesses the blockchain application store to download the software update data;
a sending module 14 arranged to send the decrypted software update data to the user terminal.
Further, the encryption module 12 is specifically configured to:
grouping software updating data uploaded by a software uploading terminal and generating multi-section block chain data;
encrypting the multi-segment block chain data by adopting a first encryption algorithm to obtain multi-segment block chain data after one-time encryption;
encrypting the once encrypted multi-segment block chain data through a secret key to obtain a plurality of ciphertext blocks;
encrypting the plurality of ciphertext blocks by adopting a second encryption algorithm to obtain multi-section block chain data after secondary encryption;
and merging the multi-segment block chain data after the secondary encryption to obtain the encrypted software updating data.
Further, the first encryption algorithm is a digital signature algorithm, and the second encryption algorithm is a hash algorithm.
Further, the receiving module 11 is specifically configured to:
receiving software updating data uploaded by a software uploading terminal through a 5G network;
the sending module 14 is specifically configured to:
and transmitting the decrypted software updating data to the user terminal through the 5G network.
Fig. 4 is an architecture diagram of a software uploading terminal according to a fourth embodiment of the present disclosure, as shown in fig. 4, including:
an obtaining module 21 configured to obtain software update data;
and the uploading module 22 is configured to upload the software update data to the blockchain application store, so that the blockchain application store encrypts and stores the software update data, decrypts the stored encrypted software update data when the user terminal accesses the blockchain application store to download the software update data, and then sends the decrypted software update data to the user terminal.
Further, the software uploading terminal further includes a connection module 23
The connection module 23 is arranged to be connected to an electronic medium in which pre-encrypted software update data is stored;
the acquisition module 21 includes:
an acquisition unit configured to acquire pre-encrypted software update data from the electronic medium through the connection module 23;
and the decryption unit is arranged for decrypting the pre-encrypted software updating data to obtain the software updating data.
Further, the decryption unit is specifically configured to:
acquiring a deformed key in the software development terminal through the acquisition unit, wherein the deformed key is obtained by the software development terminal by adopting an MD5 algorithm to operate software updating data to generate an encryption key and performing position replacement on the (n + 1) th bit and the (n-1) th bit of the encryption key; and the number of the first and second groups,
decrypting the pre-encrypted software updating data by adopting a preset software decryption mechanism to obtain a ciphertext data block; and the number of the first and second electrodes,
and decrypting the ciphertext data block by using the deformed key through a DES algorithm to obtain software updating data.
The blockchain application store and the software uploading terminal in the embodiment of the disclosure are used for implementing the software updating method in the first method embodiment and the second method embodiment, so that the description is simple, and specific reference may be made to the related description in the first method embodiment and the second method embodiment, and details are not described here again.
Furthermore, as shown in fig. 5, a computer device according to a fifth embodiment of the present disclosure further includes a memory 10 and a processor 20, where the memory 10 stores a computer program, and when the processor 20 runs the computer program stored in the memory 10, the processor 20 executes the above-mentioned determination method for various possible software updates.
In addition, the embodiments of the present disclosure also provide a computer-readable storage medium, in which computer-executable instructions are stored, and when at least one processor of the user equipment executes the computer-executable instructions, the user equipment executes the above-mentioned various possible methods.
Computer-readable media includes both computer storage media and communication media including any medium that facilitates transfer of a computer program from one place to another. A storage media may be any available media that can be accessed by a general purpose or special purpose computer. An exemplary storage medium is coupled to the processor such the processor can read information from, and write information to, the storage medium. Of course, the storage medium may also be integral to the processor. The processor and the storage medium may reside in an ASIC (Application Specific Integrated Circuit). Additionally, the ASIC may reside in user equipment. Of course, the processor and the storage medium may reside as discrete components in a communication device.
It is to be understood that the above embodiments are merely exemplary embodiments that are employed to illustrate the principles of the present disclosure, and that the present disclosure is not limited thereto. It will be apparent to those skilled in the art that various changes and modifications can be made therein without departing from the spirit and scope of the disclosure, and these are to be considered as the scope of the disclosure.

Claims (11)

1. A software update method applied to a blockchain application store, the method comprising:
receiving software updating data uploaded by a software uploading terminal;
encrypting and storing the software updating data;
when the user terminal accesses the blockchain application store to download the software updating data, decrypting the stored encrypted software updating data;
and sending the decrypted software updating data to the user terminal.
2. The method of claim 1, wherein encrypting the software update data comprises:
grouping software updating data uploaded by a software uploading terminal and generating multi-section block chain data;
encrypting the multi-segment block chain data by adopting a first encryption algorithm to obtain multi-segment block chain data after one-time encryption;
encrypting the once encrypted multi-segment block chain data through a secret key to obtain a plurality of ciphertext blocks;
encrypting the plurality of ciphertext blocks by adopting a second encryption algorithm to obtain multi-section block chain data after secondary encryption;
and merging the multi-segment block chain data after the secondary encryption to obtain the encrypted software updating data.
3. The method of claim 2, wherein the first encryption algorithm is a digital signature algorithm and the second encryption algorithm is a hash algorithm.
4. The method according to claim 1, wherein the receiving of the software update data uploaded by the software uploading terminal specifically comprises:
receiving software updating data uploaded by a software uploading terminal through a 5G network;
the sending of the decrypted software update data to the user terminal specifically includes:
and transmitting the decrypted software updating data to the user terminal through the 5G network.
5. A software updating method is applied to a software uploading terminal, and is characterized by comprising the following steps:
acquiring software updating data;
and uploading the software updating data to a blockchain application store so that the blockchain application store encrypts and stores the software updating data, decrypting the stored encrypted software updating data when the user terminal accesses the blockchain application store to download the software updating data, and sending the decrypted software updating data to the user terminal.
6. The method according to claim 5, wherein the software uploading terminal is connected with an electronic medium, and pre-encrypted software updating data is stored in the electronic medium;
the acquiring of the software update data includes:
acquiring pre-encrypted software update data from the electronic medium;
and decrypting the pre-encrypted software updating data to obtain the software updating data.
7. The method of claim 6, wherein decrypting the pre-encrypted software update data to obtain software update data comprises:
acquiring a deformed key in a software development terminal, wherein the deformed key is obtained by the software development terminal by adopting a message digest algorithm to calculate software updating data to generate an encryption key and performing position replacement on the (n + 1) th bit and the (n-1) th bit of the encryption key;
decrypting the pre-encrypted software updating data by adopting a preset software decryption mechanism to obtain a ciphertext data block;
and decrypting the ciphertext data block by using the deformed key through a data encryption standard algorithm to obtain software updating data.
8. A blockchain application store, comprising:
the receiving module is used for receiving the software updating data uploaded by the software uploading terminal;
the encryption module is used for encrypting and storing the software updating data;
the decryption module is used for decrypting the stored encrypted software updating data when the user terminal is accessed to the blockchain application store for downloading the software updating data;
a sending module configured to send the decrypted software update data to the user terminal.
9. A software upload terminal, comprising:
an acquisition module configured to acquire software update data;
and the uploading module is used for uploading the software updating data to the blockchain application store so that the blockchain application store encrypts and stores the software updating data, decrypting the stored encrypted software updating data when the user terminal accesses the blockchain application store to download the software updating data, and then sending the decrypted software updating data to the user terminal.
10. A computer device comprising a memory and a processor, the memory having stored therein a computer program, the processor performing the software updating method according to any one of claims 1-4 and claims 5-7 when the processor executes the computer program stored in the memory.
11. A computer-readable storage medium, comprising: computer program which, when run on a computer, causes the computer to perform the software updating method according to any one of claims 1-4 and claims 5-7.
CN202110251872.5A 2021-03-08 2021-03-08 Software updating method, blockchain application store and software uploading terminal Active CN112947967B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110251872.5A CN112947967B (en) 2021-03-08 2021-03-08 Software updating method, blockchain application store and software uploading terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110251872.5A CN112947967B (en) 2021-03-08 2021-03-08 Software updating method, blockchain application store and software uploading terminal

Publications (2)

Publication Number Publication Date
CN112947967A true CN112947967A (en) 2021-06-11
CN112947967B CN112947967B (en) 2023-09-26

Family

ID=76228875

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110251872.5A Active CN112947967B (en) 2021-03-08 2021-03-08 Software updating method, blockchain application store and software uploading terminal

Country Status (1)

Country Link
CN (1) CN112947967B (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113419769A (en) * 2021-06-23 2021-09-21 中国信息通信研究院 Application software management method and device
CN113486361A (en) * 2021-07-27 2021-10-08 中国银行股份有限公司 Block chain-based APP management system and method

Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109375944A (en) * 2018-08-28 2019-02-22 苏州浪潮智能软件有限公司 A kind of terminal software distribution verification method based on block chain data structure
CN109889589A (en) * 2019-02-18 2019-06-14 闪联信息技术工程中心有限公司 One kind realizing embedded hardware OTA upgrade-system and method based on block chain
WO2019148050A1 (en) * 2018-01-25 2019-08-01 Fortress Cyber Security, LLC Secure storage of data and hashes via a distributed ledger system
US20190303623A1 (en) * 2018-04-02 2019-10-03 Ca, Inc. Promotion smart contracts for software development processes
CN110493345A (en) * 2019-08-23 2019-11-22 北京智芯微电子科技有限公司 Internet-of-things terminal method for upgrading software and system based on block chain
CN111259418A (en) * 2018-09-05 2020-06-09 贝富(广州)新技术有限公司 Anti-counterfeiting method, system and storage medium based on block chain
KR20200071226A (en) * 2018-12-11 2020-06-19 조윤서 The method of safe and convenient transaction based on master password and public key
CN111399867A (en) * 2019-01-02 2020-07-10 中国移动通信有限公司研究院 Software upgrading method, device, equipment and computer readable storage medium
US20200234003A1 (en) * 2017-02-27 2020-07-23 Alex Bakman Method, system and apparatus for generating, editing, and deploying native mobile apps and utilizing deep learning for instant digital conversion
CN111787093A (en) * 2020-06-29 2020-10-16 腾讯科技(深圳)有限公司 Application management method, application management device, related equipment and medium

Patent Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20200234003A1 (en) * 2017-02-27 2020-07-23 Alex Bakman Method, system and apparatus for generating, editing, and deploying native mobile apps and utilizing deep learning for instant digital conversion
WO2019148050A1 (en) * 2018-01-25 2019-08-01 Fortress Cyber Security, LLC Secure storage of data and hashes via a distributed ledger system
US20190303623A1 (en) * 2018-04-02 2019-10-03 Ca, Inc. Promotion smart contracts for software development processes
CN109375944A (en) * 2018-08-28 2019-02-22 苏州浪潮智能软件有限公司 A kind of terminal software distribution verification method based on block chain data structure
CN111259418A (en) * 2018-09-05 2020-06-09 贝富(广州)新技术有限公司 Anti-counterfeiting method, system and storage medium based on block chain
KR20200071226A (en) * 2018-12-11 2020-06-19 조윤서 The method of safe and convenient transaction based on master password and public key
CN111399867A (en) * 2019-01-02 2020-07-10 中国移动通信有限公司研究院 Software upgrading method, device, equipment and computer readable storage medium
CN109889589A (en) * 2019-02-18 2019-06-14 闪联信息技术工程中心有限公司 One kind realizing embedded hardware OTA upgrade-system and method based on block chain
CN110493345A (en) * 2019-08-23 2019-11-22 北京智芯微电子科技有限公司 Internet-of-things terminal method for upgrading software and system based on block chain
CN111787093A (en) * 2020-06-29 2020-10-16 腾讯科技(深圳)有限公司 Application management method, application management device, related equipment and medium

Non-Patent Citations (4)

* Cited by examiner, † Cited by third party
Title
BENEDIKT PUTZ等: "EtherTwin: Blockchain-based Secure Digital Twin Information Management", INFORMATION PROCESSING & MANAGEMENT, vol. 58, no. 1, pages 1 - 23, XP086387008, DOI: 10.1016/j.ipm.2020.102425 *
SUBIR HALDER等: "Secure over-the-air software updates in connected vehicles: A survey", COMPUTER NETWORKS, vol. 178, pages 1 - 19 *
史凡: "对云网融合技术创新的相关思考", 电信科学, vol. 36, no. 7, pages 63 - 70 *
陈蔚: "新时代、新挑战、新机遇——全球数字化转型大潮中的智慧互联与协作", 通信世界, no. 6, pages 46 - 47 *

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113419769A (en) * 2021-06-23 2021-09-21 中国信息通信研究院 Application software management method and device
CN113419769B (en) * 2021-06-23 2024-02-20 中国信息通信研究院 Application software management method and device
CN113486361A (en) * 2021-07-27 2021-10-08 中国银行股份有限公司 Block chain-based APP management system and method
CN113486361B (en) * 2021-07-27 2024-04-16 中国银行股份有限公司 APP management system and method based on block chain

Also Published As

Publication number Publication date
CN112947967B (en) 2023-09-26

Similar Documents

Publication Publication Date Title
CN109194466B (en) Block chain-based cloud data integrity detection method and system
US11818262B2 (en) Method and system for one-to-many symmetric cryptography and a network employing the same
US9537657B1 (en) Multipart authenticated encryption
CN101753292B (en) Methods and devices for a chained encryption mode
KR102136904B1 (en) Shared secret key generation device, encryption device, decryption device, shared secret key generation method, encryption method, decryption method, and program
CN111523133B (en) Block chain and cloud data collaborative sharing method
CA3073549A1 (en) Methods and systems for secure data communication
CN111526197B (en) Cloud data secure sharing method
JP2004534333A (en) Integrated protection method and system for distributed data processing in computer networks
EP3169017B1 (en) Split-and-merge approach to protect against dfa attacks
WO2021218088A1 (en) Communication data processing method and apparatus, and computer system and storage medium
CN112947967B (en) Software updating method, blockchain application store and software uploading terminal
WO2011001030A1 (en) Method and arrangement for protecting file-based information
EP3413509B1 (en) Cmac computation using white-box implementations with external encodings
US20220216999A1 (en) Blockchain system for supporting change of plain text data included in transaction
CN114143098A (en) Data storage method and data storage device
CN110611674B (en) Protocol interaction method, system and storage medium between different computer systems
JP6631989B2 (en) Encryption device, control method, and program
WO2021044465A1 (en) Encrypting device, decrypting device, computer program, encryption method, decryption method, and data structure
CN102474413B (en) Private key compression
CN116866029B (en) Random number encryption data transmission method, device, computer equipment and storage medium
CN117411727B (en) Encryption method, device and storage medium for symmetric encryption of communication transmission
CN117786743A (en) File protection method and file protection system based on AES encryption algorithm
CN115277064A (en) Data encryption method, data decryption method, data encryption device, data decryption device, electronic equipment and medium
Simpson et al. High-Assurance Cryptography for Web-Based Enterprises

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