[go: up one dir, main page]
More Web Proxy on the site http://driver.im/

CN110377312B - Software upgrading method, device and medium - Google Patents

Software upgrading method, device and medium Download PDF

Info

Publication number
CN110377312B
CN110377312B CN201910655500.1A CN201910655500A CN110377312B CN 110377312 B CN110377312 B CN 110377312B CN 201910655500 A CN201910655500 A CN 201910655500A CN 110377312 B CN110377312 B CN 110377312B
Authority
CN
China
Prior art keywords
upgrade
software
installation package
operating system
service
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.)
Active
Application number
CN201910655500.1A
Other languages
Chinese (zh)
Other versions
CN110377312A (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.)
Beijing Xiaomi Mobile Software Co Ltd
Original Assignee
Beijing Xiaomi Mobile Software 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 Beijing Xiaomi Mobile Software Co Ltd filed Critical Beijing Xiaomi Mobile Software Co Ltd
Priority to CN201910655500.1A priority Critical patent/CN110377312B/en
Publication of CN110377312A publication Critical patent/CN110377312A/en
Application granted granted Critical
Publication of CN110377312B publication Critical patent/CN110377312B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/30Authentication, i.e. establishing the identity or authorisation of security principals
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/60Software deployment
    • G06F8/65Updates

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Security & Cryptography (AREA)
  • Software Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Hardware Design (AREA)
  • Stored Programmes (AREA)

Abstract

The disclosure relates to a software upgrading method, device and medium. The method comprises the following steps: registering an upgrade service associated with the software in an operating system, wherein the software is installed on the operating system, and the upgrade service is used for upgrading the software; if the upgrade installation package of the software is detected to be updated through the upgrade service, acquiring the upgrade installation package of the software associated with the upgrade service; and upgrading the software by installing the upgrade installation package. By adopting the method, the upgrade service of the software cannot be deleted by the user by mistake.

Description

Software upgrading method, device and medium
Technical Field
The present disclosure relates to computer software, and more particularly, to a method, apparatus, and medium for upgrading software.
Background
At present, when a user uses a terminal device, an upgrade service program of a certain software is usually deleted due to misoperation and the like, so that the software cannot be normally upgraded, and the use of the software is influenced.
Thus, a safer method of software upgrade is needed.
Disclosure of Invention
In order to overcome the problems in the related art, the present disclosure provides a method, an apparatus and a medium for upgrading software, which can not affect the use of the software due to the user deleting the upgrade service by mistake when the method is adopted to upgrade the software.
According to a first aspect of an embodiment of the present disclosure, there is provided a software upgrade method, including:
registering an upgrade service associated with the software in an operating system, wherein the software is installed on the operating system, and the upgrade service is used for upgrading the software;
if the upgrade installation package of the software is detected to be updated through the upgrade service, acquiring the upgrade installation package of the software associated with the upgrade service;
and upgrading the software by installing the upgrade installation package.
Wherein registering, in the operating system, an upgrade service associated with the software includes:
installing a hardware driver in the operating system, wherein the hardware driver comprises an installation package of the upgrade service.
Wherein the hardware driver is a driver of virtual hardware.
Wherein the upgrading of the software by installing the upgrade installation package includes:
and acquiring the upgrade installation package from a set storage address through the upgrade service, and installing the upgrade installation package in a remote installation or local installation mode.
According to a second aspect of the embodiments of the present disclosure, there is provided a software upgrade apparatus, including:
a registration unit configured to register an upgrade service associated with the software in an operating system on which the software is installed, the upgrade service being used to upgrade the software;
an acquiring unit configured to acquire an upgrade installation package of the software associated with the upgrade service if it is detected by the upgrade service that the upgrade installation package of the software has been updated;
and the updating unit is used for updating the software by installing the updating installation package.
Wherein the registration unit is further arranged to:
installing a hardware driver in the operating system, wherein the hardware driver comprises an installation package of the upgrade service.
Wherein the hardware driver is a driver of virtual hardware.
Wherein the updating unit is further arranged to:
and acquiring the upgrade installation package from a set storage address through the upgrade service, and installing the upgrade installation package in a remote installation or local installation mode.
According to a third aspect of the embodiments of the present disclosure, there is provided a software upgrade apparatus, including:
a processor;
a memory for storing processor-executable instructions;
wherein the processor is configured to:
registering an upgrade service associated with the software in an operating system, wherein the software is installed on the operating system, and the upgrade service is used for upgrading the software;
if the upgrade installation package of the software is detected to be updated through the upgrade service, acquiring the upgrade installation package of the software associated with the upgrade service;
and upgrading the software by installing the upgrade installation package.
According to a fourth aspect of embodiments of the present disclosure, there is provided a non-transitory computer readable storage medium, which when executed by a processor of a device, causes the device to perform a software upgrade method, the method comprising:
registering an upgrade service associated with the software in an operating system, wherein the software is installed on the operating system, and the upgrade service is used for upgrading the software;
if the upgrade installation package of the software is detected to be updated through the upgrade service, acquiring the upgrade installation package of the software associated with the upgrade service;
and upgrading the software by installing the upgrade installation package.
The technical scheme provided by the embodiment of the disclosure can comprise the following beneficial effects: registering the upgrade service of the software in the operating system enables the upgrade service to run with the rights of the system, as well as the fact that the upgrade service is not misdeleted by the user.
It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the disclosure.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the invention and together with the description, serve to explain the principles of the invention.
FIG. 1 is a flowchart illustrating a method of software upgrade according to an exemplary embodiment.
FIG. 2 is a flowchart illustrating registering an upgrade service in an operating system according to an exemplary embodiment.
FIG. 3 is a flowchart illustrating detecting that an upgrade installation package of software has been updated by an upgrade service, according to an example embodiment.
FIG. 4 is a flowchart illustrating installation of an upgrade installation package, according to an example embodiment.
FIG. 5 is a flowchart illustrating a method of software upgrade, according to an example embodiment.
FIG. 6 is a block diagram illustrating a software upgrade apparatus according to an exemplary embodiment.
Fig. 7 is a block diagram of an apparatus according to an example embodiment.
Fig. 8 is a block diagram of an apparatus according to an example embodiment.
Detailed Description
Reference will now be made in detail to exemplary embodiments, examples of which are illustrated in the accompanying drawings. When the following description refers to the accompanying drawings, the same numbers in different drawings refer to the same or similar elements, unless otherwise indicated. The implementations described in the following exemplary examples do not represent all implementations consistent with the invention. Rather, they are merely examples of apparatus and methods consistent with aspects of the invention as detailed in the accompanying claims.
When a user uses a terminal device, the user deletes an upgrade service program of a certain piece of software, so that the software cannot be upgraded normally. To solve this problem, an upgrade service of software is registered in an operating system, the service running with system authority and not deleted by a user. And whether the upgrade installation package of the software is updated or not can be automatically detected through the upgrade service, so that the software can be updated.
The present embodiment discloses a software upgrade method, referring to fig. 1, fig. 1 is a flowchart illustrating a software upgrade method according to an exemplary embodiment. As shown in fig. 1, the software upgrading method includes:
step 101, registering an upgrade service associated with software in an operating system, wherein the software is installed on the operating system, and the upgrade service is used for upgrading the software;
step 102, if the upgrade installation package of the software is detected to be updated through the upgrade service, acquiring the upgrade installation package of the software associated with the upgrade service;
and step 103, upgrading the software by installing an upgrade installation package.
Registering the upgrade service of the software in the operating system in step 101 enables the upgrade service to run with the rights of the system, as well as because the upgrade service is not deleted by the user. In step 102, the upgrade service registered in the operating system detects whether the upgrade installation package of the software is updated according to a set trigger condition, which is described in detail below.
As a refinement and further extension to the embodiment shown in fig. 1, this embodiment discloses another software upgrade method. Referring to fig. 2, fig. 2 is a flowchart of registering an upgrade service in an operating system in an alternative embodiment, and as shown in fig. 2, step 101 shown in fig. 1 may further include:
in step 1011, a hardware driver is installed in the operating system, the hardware driver including an installation package for the upgrade service.
Here, after the installation package of the upgrade service is installed by installing the hardware driver, the upgrade service associated with the software is registered in the operating system.
As a refinement and further extension to the embodiment shown in fig. 1, this embodiment discloses another software upgrade method. The hardware driver in step 1011 is a virtual hardware driver. When the operating system is Windows, the method may be specifically implemented as a Basic Input Output System (BIOS) of the Windows system, and the driver is installed by setting virtual hardware using ACPI hardware.
The installation package of the upgrade service is installed in the operating system by installing a hardware driver, which can be realized by the following two modes: (1) Setting virtual hardware in an operating system, setting a driver on the virtual hardware, and simultaneously placing an installation package of an upgrade service associated with software in the driver, wherein when the operating system is started, the driver on the virtual hardware is read and installed, so that the installation package of the upgrade service associated with the software is installed; (2) The installation package of the upgrade service associated with the software is added to the hardware driver, and when the operating system upgrades the driver of the hardware, the installation package of the upgrade service associated with the software is installed.
As a modification of the above embodiment, it is also possible to adopt a method of installing an installation package of an upgrade service associated with software preferentially by a virtual hardware method, and when there is no installation package of the upgrade service on the virtual hardware, installing again by adding the installation package of the upgrade service associated with software to a hardware driver of an operating system.
As a refinement and further extension to the embodiment shown in fig. 1, this embodiment discloses another software upgrade method. When the operating system is a Windows operating system, adding the installation package of the upgrade service to the hardware driver of the operating system includes:
the installation package of the upgrade service is added to the hardware driver of the operating system by adding information related to the installation package of the upgrade service in the device information file of the Windows operating system.
When the operating system is a Windows operating system, in its device information file (INF file), the installation package of the upgrade service associated with the software is integrated into the hardware driver of the operating system by adding an AddSoftware field. Relevant information of an installation package of an upgrade service associated with the software is written into an AddSoftware field, and the AddSoftware field is added to an INF file. When Windows Update upgrades the hardware driver, the installation package of the upgrade service of the software is installed.
As a refinement and further extension to the embodiment shown in fig. 1, this embodiment discloses another software upgrade method. The detection in step 102 by the upgrade service that the upgrade installation package of the software has been updated may be achieved by at least one of:
in the first mode, whether an upgrade installation package of software is updated or not is periodically detected through an upgrade service;
in a second mode, when the software receives the update inquiry of a user through the update service, whether the update installation package of the software is updated or not is detected;
detecting whether an upgrade installation package of the software is updated or not when the time of the operating system reaches a set time point through upgrade service;
in a fourth mode, when a set event occurs in the operating system through the upgrade service, whether the upgrade installation package of the software is updated is detected.
The detection period, the set time point and the set event can be set according to actual needs.
As a refinement and further extension to the embodiment shown in fig. 1, this embodiment discloses another software upgrade method. Referring to fig. 3, fig. 3 is a flowchart of an alternative embodiment of detecting that an upgrade installation package of software has been updated by an upgrade service, and as shown in fig. 3, detecting that an upgrade installation package of software has been updated by an upgrade service in step 102 shown in fig. 1 may further include:
in step 1021, it is detected by the upgrade service that the upgrade installation package of the software has been updated at the set storage address.
An address for detecting whether the upgrade installation package is updated is set in the upgrade service, and the address may be in the form of a URL when the system is in a networking state. The update detection can be performed by the upgrade service in one of the four ways described above onto the set storage address.
As a refinement and further extension to the embodiment shown in fig. 1, this embodiment discloses another software upgrade method. Referring to fig. 4, fig. 4 is a flowchart of installing an upgrade installation package in an alternative embodiment, and as shown in fig. 4, installing the upgrade installation package in step 102 shown in fig. 1 may further include:
step 1022, obtaining the upgrade installation package from the set storage address through the upgrade service, and installing the upgrade installation package in a remote installation or local installation mode.
When the update of the upgrade installation package is detected, the upgrade installation package can be downloaded locally for local installation, or can be directly installed remotely on a storage address where the upgrade installation package is located. Which mounting mode is selected can be set according to actual needs.
As a refinement and further extension to the embodiment shown in fig. 1, this embodiment discloses another software upgrade method. Installing an upgrade installation package to upgrade software in step 102 shown in fig. 1 includes at least one of the following:
firstly, a query of whether to upgrade the software is sent to a user, and after a response of agreeing to upgrade is received, the software is upgraded by calling an upgrade installation package of the software associated with an upgrade service process;
and calling an upgrade installation package of the software associated with the upgrade service process, and upgrading the software by adopting a mode of quietly installing the upgrade installation package of the software.
As shown in fig. 5, fig. 5 shows a specific embodiment of a software upgrade method according to the present disclosure, where the operating system is a Windows operating system, the method includes:
in step 501, an AddSoftware field is added to an INF file of the Windows operating system, where the AddSoftware field includes information about an installation package of an upgrade service, so that the installation package of the upgrade service is included in a hardware driver.
Step 502,Windows Update installs the installation package of the upgrade service when the hardware driver is upgraded, thereby implementing registration of the upgrade service associated with the software in the Windows system.
Step 503, periodically detecting whether the upgrade installation package of the software is updated on the set URL through the upgrade service.
Step 504, when it is detected that the upgrade installation package is updated, the upgrade installation package is downloaded from the set URL to the local device.
In step 505, the upgrade service installs the upgrade installation package in a silent installation manner.
FIG. 6 is a block diagram of a software upgrade apparatus, according to an example embodiment. Referring to fig. 7, the apparatus includes:
a registration unit 601 configured to register an upgrade service associated with the software in an operating system on which the software is installed, the upgrade service being used to upgrade the software;
an obtaining unit 602 configured to obtain an upgrade installation package of the software associated with the upgrade service if it is detected by the upgrade service that the upgrade installation package of the software has been updated;
an updating unit 603 configured to update the software by installing the update installation package.
In an alternative embodiment, the registration unit 601 is further arranged to:
installing a hardware driver in the operating system, wherein the hardware driver comprises an installation package of the upgrade service.
In an alternative embodiment, the hardware driver is a driver of virtual hardware.
In an alternative embodiment, the updating unit 603 is further arranged to:
and acquiring the upgrade installation package from a set storage address through the upgrade service, and installing the upgrade installation package in a remote installation or local installation mode.
The specific manner in which the various modules perform the operations in the apparatus of the above embodiments have been described in detail in connection with the embodiments of the method, and will not be described in detail herein.
In the embodiments of the present disclosure, registering the upgrade service of the software in the operating system enables the upgrade service to operate with the authority of the system, and as such, the upgrade service is not deleted by the user.
FIG. 7 is a block diagram illustrating an apparatus 700 for software upgrades according to an exemplary embodiment. For example, apparatus 700 may be a mobile phone, computer, digital broadcast terminal, messaging device, game console, tablet device, medical device, exercise device, personal digital assistant, or the like.
Referring to fig. 7, an apparatus 700 may include one or more of the following components: a processing component 702, a memory 704, a power component 706, a multimedia component 708, an audio component 710, an input/output (I/O) interface 712, a sensor component 714, and a communication component 716.
The processing component 702 generally controls overall operation of the apparatus 700, such as operations associated with display, telephone calls, data communications, camera operations, and recording operations. The processing component 702 may include one or more processors 720 to execute instructions to perform all or part of the steps of the methods described above. Further, the processing component 702 can include one or more modules that facilitate interaction between the processing component 702 and other components. For example, the processing component 702 may include a multimedia module to facilitate interaction between the multimedia component 708 and the processing component 702.
Memory 704 is configured to store various types of data to support operations at device 700. Examples of such data include instructions for any application or method operating on the apparatus 700, contact data, phonebook data, messages, pictures, videos, and the like. The memory 704 may be implemented by any type or combination of volatile or nonvolatile memory devices such as Static Random Access Memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic or optical disk.
The power component 706 provides power to the various components of the device 700. Power component 706 can include a power management system, one or more power sources, and other components associated with generating, managing, and distributing power for device 700.
The multimedia component 708 includes a screen between the device 700 and the user that provides an output interface. In some embodiments, the screen may include a Liquid Crystal Display (LCD) and a Touch Panel (TP). If the screen includes a touch panel, the screen may be implemented as a touch screen to receive input signals from a user. The touch panel includes one or more touch sensors to sense touches, swipes, and gestures on the touch panel. The touch sensor may sense not only the boundary of a touch or slide action, but also the duration and pressure associated with the touch or slide operation. In some embodiments, the multimedia component 708 includes a front-facing camera and/or a rear-facing camera. The front-facing camera and/or the rear-facing camera may receive external multimedia data when the device 700 is in an operational mode, such as a shooting mode or a video mode. Each front camera and rear camera may be a fixed optical lens system or have focal length and optical zoom capabilities.
The audio component 710 is configured to output and/or input audio signals. For example, the audio component 710 includes a Microphone (MIC) configured to receive external audio signals when the device 700 is in an operational mode, such as a call mode, a recording mode, and a voice recognition mode. The received audio signals may be further stored in the memory 704 or transmitted via the communication component 716. In some embodiments, the audio component 710 further includes a speaker for outputting audio signals.
The I/O interface 712 provides an interface between the processing component 702 and peripheral interface modules, which may be a keyboard, click wheel, buttons, etc. These buttons may include, but are not limited to: homepage button, volume button, start button, and lock button.
The sensor assembly 714 includes one or more sensors for providing status assessment of various aspects of the apparatus 700. For example, the sensor assembly 714 may detect an on/off state of the device 700, a relative positioning of the components, such as a display and keypad of the apparatus 700, a change in position of the apparatus 700 or one component of the apparatus 700, the presence or absence of user contact with the apparatus 700, an orientation or acceleration/deceleration of the apparatus 700, and a change in temperature of the apparatus 700. The sensor assembly 714 may include a proximity sensor configured to detect the presence of nearby objects without any physical contact. The sensor assembly 714 may also include a light sensor, such as a CMOS or CCD image sensor, for use in imaging applications. In some embodiments, the sensor assembly 714 may also include an acceleration sensor, a gyroscopic sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.
The communication component 716 is configured to facilitate communication between the apparatus 700 and other devices in a wired or wireless manner. The apparatus 700 may access a wireless network based on a communication standard, such as WiFi,2G or 3G, or a combination thereof. In one exemplary embodiment, the communication component 716 receives broadcast signals or broadcast related information from an external broadcast management system via a broadcast channel. In an exemplary embodiment, the communication component 716 further includes a Near Field Communication (NFC) module to facilitate short range communications. For example, the NFC module may be implemented based on Radio Frequency Identification (RFID) technology, infrared data association (IrDA) technology, ultra Wideband (UWB) technology, bluetooth (BT) technology, and other technologies.
In an exemplary embodiment, the apparatus 700 may be implemented by one or more Application Specific Integrated Circuits (ASICs), digital Signal Processors (DSPs), digital Signal Processing Devices (DSPDs), programmable Logic Devices (PLDs), field Programmable Gate Arrays (FPGAs), controllers, microcontrollers, microprocessors, or other electronic elements for executing the methods described above.
In an exemplary embodiment, a non-transitory computer readable storage medium is also provided, such as memory 704, including instructions executable by processor 720 of apparatus 700 to perform the above-described method. For example, the non-transitory computer readable storage medium may be ROM, random Access Memory (RAM), CD-ROM, magnetic tape, floppy disk, optical data storage device, etc.
A non-transitory computer readable storage medium, which when executed by a processor of a mobile terminal, causes the mobile terminal to perform a software upgrade method, the method comprising: registering an upgrade service associated with the software in an operating system, wherein the software is installed on the operating system, and the upgrade service is used for upgrading the software; if the upgrade installation package of the software is detected to be updated through the upgrade service, acquiring the upgrade installation package of the software associated with the upgrade service; and upgrading the software by installing the upgrade installation package.
FIG. 8 is a block diagram illustrating an apparatus 800 for software upgrades according to an exemplary embodiment. For example, the apparatus 800 may be provided as a server. Referring to fig. 8, apparatus 800 includes a processing component 822 that further includes one or more processors and memory resources, represented by memory 832, for storing instructions, such as application programs, executable by processing component 822. The application programs stored in memory 832 may include one or more modules each corresponding to a set of instructions. Further, the processing component 822 is configured to execute instructions to perform the above-described methods: registering an upgrade service associated with the software in an operating system, wherein the software is installed on the operating system, and the upgrade service is used for upgrading the software; if the upgrade installation package of the software is detected to be updated through the upgrade service, acquiring the upgrade installation package of the software associated with the upgrade service; and upgrading the software by installing the upgrade installation package.
The apparatus 800 may also include a power component 826 configured to perform power management of the apparatus 800, a wired or wireless network interface 850 configured to connect the apparatus 800 to a network, and an input/output (I/O) interface 858. The device 800 may operate based on an operating system stored in memory 832, such as Windows Server, mac OS XTM, unixTM, linuxTM, freeBSDTM, or the like.
Other embodiments of the invention will be apparent to those skilled in the art from consideration of the specification and practice of the invention disclosed herein. This application is intended to cover any variations, uses, or adaptations of the invention following, in general, the principles of the invention and including such departures from the present disclosure as come within known or customary practice within the art to which the invention pertains. It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the invention being indicated by the following claims.
It is to be understood that the invention is not limited to the precise arrangements and instrumentalities shown in the drawings, which have been described above, and that various modifications and changes may be effected without departing from the scope thereof. The scope of the invention is limited only by the appended claims.

Claims (6)

1. A method of software upgrade, comprising:
registering an upgrade service associated with software in an operating system so that the upgrade service can run with the authority of the operating system, wherein the software is installed on the operating system, and the upgrade service is used for upgrading the software;
if the upgrade installation package of the software is detected to be updated through the upgrade service, acquiring the upgrade installation package of the software associated with the upgrade service;
upgrading the software by installing the upgrade installation package;
wherein registering an upgrade service associated with the software in the operating system comprises:
setting virtual hardware in the operating system;
setting a driver on the virtual hardware;
and placing the installation package of the upgrade service in the driver.
2. The method of claim 1, wherein the upgrading the software by installing the upgrade installation package comprises:
acquiring the upgrade installation package through the upgrade service;
and installing the upgrade installation package in a remote installation or local installation mode.
3. A software upgrade apparatus, comprising:
a registration unit configured to register an upgrade service associated with the software in an operating system on which the software is installed, such that the upgrade service can run with the authority of the operating system, the upgrade service being used to upgrade the software;
an acquiring unit configured to acquire an upgrade installation package of the software associated with the upgrade service if it is detected by the upgrade service that the upgrade installation package of the software has been updated;
an updating unit configured to update the software by installing the update installation package;
wherein registering an upgrade service associated with the software in the operating system comprises:
setting virtual hardware in the operating system;
setting a driver on the virtual hardware;
and placing the installation package of the upgrade service in the driver.
4. The apparatus of claim 3, wherein the update unit is further configured to:
and acquiring the upgrade installation package from a set storage address through the upgrade service, and installing the upgrade installation package in a remote installation or local installation mode.
5. A software upgrade apparatus, comprising:
a processor;
a memory for storing processor-executable instructions;
wherein the processor is configured to:
registering an upgrade service associated with the software in an operating system such that the upgrade service can run with the authority of the operating system, wherein the software is installed on the operating system, and the upgrade service is used for upgrading the software;
if the upgrade installation package of the software is detected to be updated through the upgrade service, acquiring the upgrade installation package of the software associated with the upgrade service;
upgrading the software by installing the upgrade installation package;
wherein registering an upgrade service associated with the software in the operating system comprises:
setting virtual hardware in the operating system;
setting a driver on the virtual hardware;
and placing the installation package of the upgrade service in the driver.
6. A non-transitory computer readable storage medium, which when executed by a processor of a device, causes the device to perform a method of software upgrade, the method comprising:
registering an upgrade service associated with the software in an operating system such that the upgrade service can run with the authority of the operating system, wherein the software is installed on the operating system, and the upgrade service is used for upgrading the software;
if the upgrade installation package of the software is detected to be updated through the upgrade service, acquiring the upgrade installation package of the software associated with the upgrade service;
upgrading the software by installing the upgrade installation package;
wherein registering an upgrade service associated with the software in the operating system comprises:
setting virtual hardware in the operating system;
setting a driver on the virtual hardware;
and placing the installation package of the upgrade service in the driver.
CN201910655500.1A 2019-07-19 2019-07-19 Software upgrading method, device and medium Active CN110377312B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910655500.1A CN110377312B (en) 2019-07-19 2019-07-19 Software upgrading method, device and medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910655500.1A CN110377312B (en) 2019-07-19 2019-07-19 Software upgrading method, device and medium

Publications (2)

Publication Number Publication Date
CN110377312A CN110377312A (en) 2019-10-25
CN110377312B true CN110377312B (en) 2024-02-06

Family

ID=68254214

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910655500.1A Active CN110377312B (en) 2019-07-19 2019-07-19 Software upgrading method, device and medium

Country Status (1)

Country Link
CN (1) CN110377312B (en)

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107220074A (en) * 2016-03-21 2017-09-29 阿里巴巴集团控股有限公司 To the access of supporting layer software function, upgrade method and device
CN108536460A (en) * 2018-04-17 2018-09-14 南京高盛信息科技有限公司 A kind of software automatic updating system of lightweight

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6418555B2 (en) * 1998-07-21 2002-07-09 Intel Corporation Automatic upgrade of software
CN102063321B (en) * 2011-01-12 2016-04-13 中兴通讯股份有限公司 The installation method of terminal software, device and system
CN105335183A (en) * 2014-08-06 2016-02-17 乐视致新电子科技(天津)有限公司 Software upgrade method and system
CN106874040A (en) * 2017-01-17 2017-06-20 武汉天喻教育科技有限公司 Realize that PC ends software is mourned in silence the system and method for upgrading based on Windows services

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107220074A (en) * 2016-03-21 2017-09-29 阿里巴巴集团控股有限公司 To the access of supporting layer software function, upgrade method and device
CN108536460A (en) * 2018-04-17 2018-09-14 南京高盛信息科技有限公司 A kind of software automatic updating system of lightweight

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
系统封装部署在医院系统运维中的运用;陶长俊;;电脑知识与技术(27);全文 *
系统自动更新升级软件SUS研究;谭安芬;王力;;电子工程师(06);全文 *

Also Published As

Publication number Publication date
CN110377312A (en) 2019-10-25

Similar Documents

Publication Publication Date Title
CN107329742B (en) Software development kit calling method and device
CN104951336B (en) application program installation method and device
EP2991275B1 (en) Making router management application compatible with router firmware
US20170123781A1 (en) Method, device and system for application updating
CN105511907B (en) Application program upgrading method, device and system
US20180365003A1 (en) Method and apparatus for updating application
CN111198706B (en) Method for updating system functions, device for updating system functions and storage medium
CN106406956B (en) Application program installation method and device
CN109669730B (en) Process keep-alive method, device, electronic equipment and medium
CN109388625B (en) Method and device for processing configuration file in multi-distributed file system
CN107562349B (en) Method and device for executing processing
CN105100074A (en) Data operation processing method, device and terminal equipment
CN110704054A (en) Method and device for accessing target application program through applet, electronic equipment and storage medium
CN105094904A (en) Application program installation method and device
CN105657805B (en) A kind of method and device of smart machine access wireless network
CN106775903B (en) Security policy file updating method and device
CN107632835B (en) Application installation method and device
CN106201628A (en) Application program installation method and device
CN106990984B (en) Method and device for updating system
CN107241439B (en) Message pushing method and device for H5 page
CN108829532B (en) Fingerprint detection method, device and readable storage medium
CN107861666B (en) Desktop application installation method and device
CN107168731B (en) System update control method and device
CN110377312B (en) Software upgrading method, device and medium
CN116610344A (en) Middleware system upgrading method, device, electronic equipment and storage medium

Legal Events

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