CN116775077A - Method, device and storage medium for upgrading software based on storage device - Google Patents

Method, device and storage medium for upgrading software based on storage device Download PDF

Info

Publication number
CN116775077A
CN116775077A CN202310770787.9A CN202310770787A CN116775077A CN 116775077 A CN116775077 A CN 116775077A CN 202310770787 A CN202310770787 A CN 202310770787A CN 116775077 A CN116775077 A CN 116775077A
Authority
CN
China
Prior art keywords
upgrade
storage device
upgrading
software
storage
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
CN202310770787.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.)
Thinputer Technology Co ltd
Original Assignee
Thinputer Technology Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Thinputer Technology Co ltd filed Critical Thinputer Technology Co ltd
Priority to CN202310770787.9A priority Critical patent/CN116775077A/en
Publication of CN116775077A publication Critical patent/CN116775077A/en
Pending legal-status Critical Current

Links

Abstract

The invention discloses a method, equipment and a storage medium for carrying out software upgrading based on storage equipment, and belongs to the technical field of computers. The technical scheme of the invention is that an upgrade key is manufactured; placing the upgrade key and the target software upgrade package into storage equipment; connecting the storage device with the terminal device; and the terminal equipment upgrades the target software according to the target software upgrading package in the storage equipment. Therefore, the software upgrading can be realized by only providing one software upgrading package, thereby meeting the precondition of upgrading and one condition for triggering upgrading operation, improving the efficiency of the software upgrading and facilitating the software upgrading.

Description

Method, device and storage medium for upgrading software based on storage device
Technical Field
The present invention relates to the field of computer technologies, and in particular, to a method, an apparatus, and a storage medium for performing software upgrade based on a storage device.
Background
System or software upgrades are a common operation, and many field problems are addressed by upgrade schemes. However, in order to ensure smooth upgrade, the upgrade program often performs verification on the upgrade environment, such as an upgrade package, a current running environment, and the like, and also performs key verification for upgrade security. The existing software upgrading method generally needs to meet network conditions, connects a terminal to a management platform, downloads a corresponding upgrading packet, and completes upgrading operation through security verification such as key verification; or the manager with corresponding authority is required to operate, otherwise, the machine cannot be used because of program errors, and the working efficiency is affected.
Disclosure of Invention
The invention mainly aims to provide a method, a device, equipment and a storage medium for carrying out software upgrading based on storage equipment, and aims to solve the technical problem that software upgrading is inconvenient in the prior art.
To achieve the above object, the present invention provides a method for performing software upgrade based on a storage device, the method comprising the steps of:
manufacturing an upgrade key;
placing the upgrade key and the target software upgrade package into storage equipment;
connecting the storage device with a terminal device;
and the terminal equipment upgrades the target software according to the target software upgrading package in the storage equipment.
In one embodiment, an upgrade key of the upgrade keys is manufactured, specifically:
a bi-directionally encrypted constraint attribute file.
In one embodiment, the bidirectional encrypted constraint attribute file specifically includes:
at least one of a pre-restriction condition of upgrade, specified upgrade information, and upgrade time restriction.
In one embodiment, before the storage device is connected to the terminal device, an upgrade interface for automatically detecting the access condition of the storage device and traversing the content stored in the storage device is added to the terminal device.
In one embodiment, the terminal device upgrades the target software according to the target software upgrade package in the storage device, and specifically includes:
when the storage device is detected to be accessed and scanned that the current environment meets the upgrading conditions, the upgrading options are popped up, and the storage device is restarted after the upgrading process is automatically executed.
In one embodiment, after the storage device is connected with the terminal device, the terminal device pops up an upgrade page, the upgrade page has an upgrade confirmation option and an upgrade cancellation option, and if the user does not select the upgrade cancellation option, the terminal device automatically executes the software upgrade operation after 10 seconds of countdown. In one embodiment, when detecting that the storage device is accessed and scanning that the current environment meets the upgrade condition, ejecting an upgrade option, and restarting after automatically executing the upgrade process, the method specifically includes:
after the access of the storage equipment is detected, scanning the current environment to see whether the current environment meets the upgrading conditions set in the upgrading key, and if the scanned current environment meets the upgrading conditions set in the upgrading key, popping up the upgrading options.
In addition, in order to achieve the above object, the present invention also provides a device for performing software upgrade based on a storage device, where the device for performing software upgrade based on the storage device includes: the system comprises a memory, a processor and a program which is stored on the memory and can be operated on the processor and is used for carrying out software upgrading based on a storage device, wherein the program for carrying out software upgrading based on the storage device is configured to realize the steps of the method for carrying out software upgrading based on the storage device.
In addition, to achieve the above object, the present invention also proposes a computer-readable storage medium having stored thereon a program for performing a software upgrade based on a storage device, which when executed by a processor, implements the steps of the method for performing a software upgrade based on a storage device as described above.
The invention is realized by manufacturing an upgrade key; placing the upgrade key and the target software upgrade package into storage equipment; connecting the storage device with the terminal device; and the terminal equipment upgrades the target software according to the target software upgrading package in the storage equipment. Therefore, the software upgrading can be realized by only providing one software upgrading package, thereby meeting the precondition of upgrading and one condition for triggering upgrading operation, improving the efficiency of the software upgrading and facilitating the software upgrading.
Drawings
FIG. 1 is a flow chart of a method of software upgrades based on a storage device of the present invention;
the achievement of the objects, functional features and advantages of the present invention will be further described with reference to the accompanying drawings, in conjunction with the embodiments.
Detailed Description
It should be understood that the specific embodiments described herein are for purposes of illustration only and are not intended to limit the scope of the invention.
The embodiment of the invention provides a method for carrying out software upgrading based on storage equipment, and referring to fig. 1, fig. 1 is a flow diagram of the method for carrying out software upgrading based on storage equipment.
In this embodiment, the method for performing software upgrade based on the storage device includes the following steps:
step S1: manufacturing an upgrade key;
step S2: placing the upgrade key and the target software upgrade package into storage equipment;
step S3: connecting the storage device with the terminal device;
step S4: and the terminal equipment upgrades the target software according to the target software upgrading package in the storage equipment.
The storage devices include, but are not limited to, a USB flash disk, a mobile hard disk and a storage device with a USB interface. Terminal devices include, but are not limited to, computers, tablet computers, smart phones, smart watches, VR/AR devices, and the like.
In this embodiment, optionally, in step S1, an upgrade key of the upgrade keys is manufactured, specifically:
a bi-directionally encrypted constraint attribute file.
In this embodiment, optionally, the bidirectional encrypted constraint attribute file specifically includes:
at least one of a pre-restriction condition of upgrade, specified upgrade information, and upgrade time restriction.
In this embodiment, optionally, before the storage device is connected to the terminal device in step S3, an upgrade interface for automatically detecting the access condition of the storage device and traversing the content stored in the storage device is added to the terminal device.
In this embodiment, optionally, the terminal device upgrades the target software according to the target software upgrade package in the storage device, and specifically includes:
when the storage device is detected to be accessed and scanned that the current environment meets the upgrading conditions, the upgrading options are popped up, and the storage device is restarted after the upgrading process is automatically executed.
In this embodiment, optionally, after the storage device is connected to the terminal device, the terminal device pops up an upgrade page, where an upgrade confirmation option and an upgrade cancellation option are provided, and if the user does not select to cancel the upgrade option, after 10 seconds of countdown, the terminal device automatically executes a software upgrade operation. The 10 second count-down is only one value selected in the embodiment, and the user can select to increase or decrease the count-down time according to the actual situation.
In this embodiment, optionally, when it is detected that the storage device is accessed and scanned and the current environment meets the upgrade condition, an upgrade option is popped up, and after the upgrade process is automatically executed, the method specifically includes:
after the access of the storage equipment is detected, the current environment is scanned to see whether the current environment meets the upgrading conditions set in the upgrading key, and if the scanned current environment meets the upgrading conditions set in the upgrading key, the upgrading options are popped up.
In addition, in order to achieve the above object, the present invention also provides a device for performing software upgrade based on a storage device, the device for performing software upgrade based on the storage device comprising: the system comprises a memory, a processor and a program stored on the memory and executable on the processor for performing a software upgrade based on the memory device, the program for performing the software upgrade based on the memory device being configured to implement the steps of the method for performing the software upgrade based on the memory device as described above.
In addition, in order to achieve the above object, the present invention further provides a computer readable storage medium, on which a program for performing a software upgrade based on a storage device is stored, which when executed by a processor, implements the steps of the method for performing a software upgrade based on a storage device as described above.
In the embodiment of the invention, the condition that the next upgrade cannot be performed due to upgrade failure is avoided based on the triggering of the storage equipment insertion event. And when the upgrade package is not identified, prompting information on the interface. And prompting the upgrading progress in the upgrading process, and prompting success of upgrading when all files are upgraded.
The embodiment of the invention is realized by manufacturing an upgrade key; placing the upgrade key and the target software upgrade package into storage equipment; connecting the storage device with the terminal device; and the terminal equipment upgrades the target software according to the target software upgrading package in the storage equipment. Therefore, the software upgrading can be realized by only providing one software upgrading package, thereby meeting the precondition of upgrading and one condition for triggering upgrading operation, improving the efficiency of the software upgrading and facilitating the software upgrading.
The embodiment of the invention also provides equipment for carrying out software upgrading based on the storage equipment.
The device for performing software upgrade based on the storage device may include: a processor, such as a central processing unit (Central Processing Unit, CPU), a communication bus, a user interface, a network interface, a memory. Wherein the communication bus is used to enable connection communication between these components. The user interface may comprise a Display, an input unit such as a Keyboard (Keyboard), and the optional user interface may further comprise a standard wired interface, a wireless interface. The network interface may optionally include a standard wired interface, a Wireless interface (e.g., a Wireless-Fidelity (Wi-Fi) interface). The Memory may be a high-speed random access Memory (Random Access Memory, RAM) or a stable Non-Volatile Memory (NVM), such as a disk Memory. The memory may alternatively be a storage device separate from the aforementioned processor.
It will be appreciated by those skilled in the art that the architecture in this embodiment does not constitute a limitation of devices for software upgrades based on the storage device, and may include more or fewer components than shown, or may combine certain components, or may have a different arrangement of components.
The memory as a storage medium may include an operating system, a network communication module, a user interface module, and a program for performing software upgrades based on the storage device.
In the device for performing software upgrade based on the storage device, the network interface is mainly used for performing data communication with the network server; the user interface is mainly used for carrying out data interaction with a user; the processor and the memory in the device for performing software upgrading based on the storage device can be arranged in the device for performing software upgrading based on the storage device, the device for performing software upgrading based on the storage device calls the program stored in the memory and performing the method for performing software upgrading based on the storage device.
In addition, the embodiment of the invention also provides a computer readable storage medium, wherein the storage medium stores a program for performing software upgrading based on a storage device, and the program for performing software upgrading based on the storage device realizes the steps of the method for performing software upgrading based on the storage device when being executed by a processor.
Because the storage medium adopts all the technical schemes of all the embodiments, at least county has all the beneficial effects brought by the technical schemes of the embodiments, and the description is omitted here.
It should be understood that the foregoing is illustrative only and is not limiting, and that in specific applications, those skilled in the art may set the invention as desired, and the invention is not limited thereto.
It should be noted that the above-described working procedure is merely illustrative, and does not limit the scope of the present invention, and in practical application, a person skilled in the art may select part or all of them according to actual needs to achieve the purpose of the embodiment, which is not limited herein.
In addition, technical details not described in detail in the present embodiment may refer to the method for performing software upgrade based on the storage device provided in any embodiment of the present invention, which is not described herein.
Furthermore, it should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or system that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or system. Without further limitation, an element defined by the phrase "comprising one … …" does not exclude the presence of other like elements in a process, method, article, or system that comprises the element.
The foregoing embodiment numbers of the present invention are merely for the purpose of description, and do not represent the advantages or disadvantages of the embodiments.
From the above description of the embodiments, it will be clear to those skilled in the art that the above-described embodiment method may be implemented by means of software plus a necessary general hardware platform, but of course may also be implemented by means of hardware, but in many cases the former is a preferred embodiment. Based on such understanding, the technical solution of the present invention may be embodied essentially or in a part contributing to the prior art in the form of a software product stored in a storage medium (e.g. Read Only Memory)/RAM, magnetic disk, optical disk) and including several instructions for causing a terminal device (which may be a mobile phone, a computer, a server, or a network device, etc.) to perform the method according to the embodiments of the present invention.
The foregoing description is only of the preferred embodiments of the present invention, and is not intended to limit the scope of the invention, but rather is intended to cover any equivalents of the structures or equivalent processes disclosed herein or in the alternative, which may be employed directly or indirectly in other related arts.

Claims (9)

1. A method for performing software upgrades based on a storage device, comprising:
manufacturing an upgrade key;
placing the upgrade key and the target software upgrade package into storage equipment;
connecting the storage device with a terminal device;
and the terminal equipment upgrades the target software according to the target software upgrading package in the storage equipment.
2. The method for performing software upgrade based on storage device according to claim 1, wherein the step of making an upgrade key comprises:
a bi-directionally encrypted constraint attribute file.
3. The method for upgrading software based on a storage device according to claim 2, wherein the bidirectional encrypted constraint attribute file specifically comprises:
at least one of a pre-restriction condition of upgrade, specified upgrade information, and upgrade time restriction.
4. A method for software upgrades based on a storage device according to any of claims 1-3, characterized in that an upgrade interface for automatically detecting the access situation of the storage device and traversing the content stored in the storage device is added to the terminal device before connecting the storage device to the terminal device.
5. The method for upgrading software based on a storage device according to claim 4, wherein the terminal device upgrades the target software according to the target software upgrade package in the storage device, specifically comprising:
when the storage device is detected to be accessed and scanned that the current environment meets the upgrading conditions, the upgrading options are popped up, and the storage device is restarted after the upgrading process is automatically executed.
6. The method for performing software upgrading based on a storage device according to claim 5, wherein after the storage device is connected with a terminal device, the terminal device pops up an upgrade page, the upgrade page has an upgrade confirmation option and an upgrade cancellation option, and if the user does not select the upgrade cancellation option, the terminal device automatically performs the software upgrading operation after 10 seconds of countdown.
7. The method for upgrading software based on storage device according to claim 5, wherein if the storage device is detected to be accessed and scanned that the current environment meets the upgrade condition, the upgrade option is popped up, and the method is restarted after the upgrade process is automatically executed, and specifically comprises:
after the access of the storage equipment is detected, scanning the current environment to see whether the current environment meets the upgrading conditions set in the upgrading key, and if the scanned current environment meets the upgrading conditions set in the upgrading key, popping up the upgrading options.
8. A device for performing a software upgrade based on a storage device, comprising: a memory, a processor and a storage device based software upgrade program stored on the memory and executable on the processor, the storage device based software upgrade program configured to implement the steps of the storage device based software upgrade method of any one of claims 1 to 7.
9. A computer readable storage medium having stored thereon a computer program, characterized in that the program when executed by a processor realizes the steps of the method for software upgrading based on a storage device according to any of claims 1 to 7.
CN202310770787.9A 2023-06-27 2023-06-27 Method, device and storage medium for upgrading software based on storage device Pending CN116775077A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202310770787.9A CN116775077A (en) 2023-06-27 2023-06-27 Method, device and storage medium for upgrading software based on storage device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202310770787.9A CN116775077A (en) 2023-06-27 2023-06-27 Method, device and storage medium for upgrading software based on storage device

Publications (1)

Publication Number Publication Date
CN116775077A true CN116775077A (en) 2023-09-19

Family

ID=87992738

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202310770787.9A Pending CN116775077A (en) 2023-06-27 2023-06-27 Method, device and storage medium for upgrading software based on storage device

Country Status (1)

Country Link
CN (1) CN116775077A (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20190317755A1 (en) * 2017-03-03 2019-10-17 Pax Computer Technology (Shenzhen) Co., Ltd. Method for upgrading software of pos terminal, pos terminal, and storage medium
CN114756264A (en) * 2022-04-22 2022-07-15 重庆长安汽车股份有限公司 Cloud manufacturing method and upgrading method for USB (universal serial bus) flash disk upgrading package of vehicle-mounted software
CN116243950A (en) * 2023-03-06 2023-06-09 重庆长安汽车股份有限公司 Vehicle software upgrading method, server, vehicle, storage medium and system

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20190317755A1 (en) * 2017-03-03 2019-10-17 Pax Computer Technology (Shenzhen) Co., Ltd. Method for upgrading software of pos terminal, pos terminal, and storage medium
CN114756264A (en) * 2022-04-22 2022-07-15 重庆长安汽车股份有限公司 Cloud manufacturing method and upgrading method for USB (universal serial bus) flash disk upgrading package of vehicle-mounted software
CN116243950A (en) * 2023-03-06 2023-06-09 重庆长安汽车股份有限公司 Vehicle software upgrading method, server, vehicle, storage medium and system

Similar Documents

Publication Publication Date Title
US7904895B1 (en) Firmware update in electronic devices employing update agent in a flash memory card
US7747997B1 (en) Firmware update in electronic devices employing SIM card for saving metadata information
US20020100037A1 (en) Device and method for downloading software via a network
CN100399268C (en) Computer system not relying on operation system renewing software data and method
CN102804194A (en) Method, Apparatus, And Computer Program For Providing Application Security
US20070220242A1 (en) Update-startup apparatus and update-startup control method
US8065500B2 (en) Device for processing information and working method thereof
CN105760200A (en) Terminal device and system updating method thereof
US11099889B2 (en) Method-call-chain tracking method, electronic device, and computer readable storage medium
JP6689283B2 (en) Method and apparatus for assigning device fingerprints to internet devices
EP1756723A2 (en) Execution of unverified programs in a wireless device operating environment
US11928450B2 (en) Mobile terminal, method for uninstalling pre-installed application therein, and memory
CN106569907B (en) System startup file checking and compiling method
CN110113391B (en) Client online method and device and client operation method and device
CN116775077A (en) Method, device and storage medium for upgrading software based on storage device
CN113791802B (en) Vehicle upgrading method, device, equipment and storage medium
US20030162559A1 (en) Mobile communications terminal, information transmitting system and information receiving method
CN111046389A (en) Method for securely updating firmware components and portable computer station for implementation
US11496304B2 (en) Information processing device, information processing method, and storage medium
CN114296764A (en) System upgrading method and device, storage medium and electronic equipment
CN108990046B (en) Connection method of mobile network
CN112527371A (en) Boot loader upgrading method and device, electronic equipment and storage medium
CN112711430A (en) ADB-based non-network equipment upgrading method and system and readable storage medium
CN111680279A (en) Login verification method, device and system
CN110968852A (en) Virtual machine password management method, system, equipment and computer storage medium

Legal Events

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