CN114879993A - Upgrading processing method of software installation package, server and client - Google Patents

Upgrading processing method of software installation package, server and client Download PDF

Info

Publication number
CN114879993A
CN114879993A CN202210517196.6A CN202210517196A CN114879993A CN 114879993 A CN114879993 A CN 114879993A CN 202210517196 A CN202210517196 A CN 202210517196A CN 114879993 A CN114879993 A CN 114879993A
Authority
CN
China
Prior art keywords
installation package
software installation
client
version number
description information
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
CN202210517196.6A
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.)
Boe Digital Technology Co ltd
Original Assignee
Boe Digital 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 Boe Digital Technology Co ltd filed Critical Boe Digital Technology Co ltd
Priority to CN202210517196.6A priority Critical patent/CN114879993A/en
Publication of CN114879993A publication Critical patent/CN114879993A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/60Software deployment
    • G06F8/65Updates
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/70Software maintenance or management
    • G06F8/71Version control; Configuration management
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/34Network arrangements or protocols for supporting network services or applications involving the movement of software or configuration parameters 

Abstract

The invention provides an upgrade processing method of a software installation package, a server and a client, and belongs to the technical field of Internet of things. The upgrading processing method of the software installation package comprises the following steps: the method comprises the steps that a server receives first description information of a software installation package sent by a client, wherein the first description information comprises a first version number and a version name of the software installation package; the server determines a software installation package set corresponding to the client according to the stored file name of the software installation package, and compares the latest version number in the software installation package set with the first version number, wherein the file name of the software installation package comprises a client, an equipment manufacturer, a chip manufacturer and a chip version corresponding to the software installation package; and if the latest version number is different from the first version number, sending second description information and a download address of the software installation package corresponding to the latest version number to the client, wherein the second description information comprises the latest version number. The technical scheme of the invention can provide the matched upgrade installation package for the equipment.

Description

Upgrading processing method of software installation package, server and client
Technical Field
The invention relates to the technical field of Internet of things, in particular to an upgrading processing method of a software installation package, a server and a client.
Background
In a multi-tenant internet of things system, various android devices are often accessed. Software running on the android device needs to be adapted according to different users of the device, different device chip manufacturers, different chip versions, different board cards, different firmware and other conditions. Therefore, the same version of software running on different devices may be different, resulting in a situation where they are incompatible with each other.
When software is upgraded, a universal software version cannot be provided for all equipment to use, and software with different versions must be provided according to the difference; if the device is provided with an unmatched version, the problems of device performance reduction, heating increase and the like are caused, program crash and device function abnormity are caused seriously, and the use is influenced.
Disclosure of Invention
The technical problem to be solved by the invention is to provide an upgrade processing method of a software installation package, a server and a client, which can provide a matched upgrade installation package for equipment.
To solve the above technical problem, embodiments of the present invention provide the following technical solutions:
in one aspect, a method for upgrading a software installation package is provided, including:
the method comprises the steps that a server receives first description information of a software installation package sent by a client, wherein the first description information comprises a first version number and a version name of the software installation package;
the server determines a software installation package set corresponding to the client according to the file name of the stored software installation package, and compares the latest version number in the software installation package set with the first version number, wherein the file name of the software installation package comprises a client, an equipment manufacturer, a chip manufacturer and a chip version corresponding to the software installation package;
and if the latest version number is different from the first version number, sending second description information and a download address of the software installation package corresponding to the latest version number to the client, wherein the second description information comprises the latest version number.
In some embodiments, before the server receives the first description information of the software installation package sent by the client, the method further includes:
and the server sends an upgrade notification message to the client and indicates the client to report the first version number and the version name of the software installation package.
In some embodiments, the first description information further includes a client corresponding to the client, an equipment manufacturer, a chip manufacturer, and a chip version, and the determining, by the server, a set of software installation packages corresponding to the client according to file names of the stored software installation packages includes:
and the server determines at least one software installation package which is identical to a client, an equipment manufacturer, a chip manufacturer and a chip version corresponding to the client according to the file name of the software installation package, and the software installation package set is formed by utilizing the at least one software installation package.
The embodiment of the invention also provides an upgrade processing method of the software installation package, which comprises the following steps:
the method comprises the steps that a client sends first description information of a software installation package to a server, wherein the first description information comprises a first version number and a version name of the software installation package;
and the client receives second description information and a download address of the software installation package sent by the server, wherein the second description information comprises the latest version number of the software installation package.
In some embodiments, before the client sends the first description information of the software installation package to the server, the method further includes:
and the client receives the upgrade notification message sent by the server and indicates the client to report the first version number and the version name of the software installation package.
In some embodiments, after the client receives the second description information and the download address of the software installation package sent by the server, the method further includes:
the client compares the first version number with the latest version number;
and if the first version number is different from the latest version number, the client downloads the software installation package through the download address.
The embodiment of the present invention further provides an upgrade processing apparatus for a software installation package, including:
the first receiving module is used for receiving first description information of the software installation package sent by a client, and the first description information comprises a first version number and a version name of the software installation package;
the processing module is used for determining a software installation package set corresponding to the client according to the file name of the stored software installation package, and comparing the latest version number in the software installation package set with the first version number, wherein the file name of the software installation package comprises a client, an equipment manufacturer, a chip manufacturer and a chip version corresponding to the software installation package;
and the first sending module is used for sending second description information and a download address of the software installation package corresponding to the latest version number to the client if the latest version number is different from the first version number, wherein the second description information comprises the latest version number.
The embodiment of the present invention further provides an upgrade processing apparatus for a software installation package, including:
the second sending module is used for sending first description information of the software installation package to the server, wherein the first description information comprises a first version number and a version name of the software installation package;
and the second receiving module is used for receiving second description information and a download address of the software installation package sent by the server, wherein the second description information comprises the latest version number of the software installation package.
Embodiments of the present invention also provide a server including a processor and a memory, where the memory stores a program or instructions executable on the processor, and the program or instructions, when executed by the processor, implement the steps of the upgrade processing method for software installation packages as described above.
Embodiments of the present invention also provide a client including a processor and a memory, where the memory stores a program or instructions executable on the processor, and the program or instructions, when executed by the processor, implement the steps of the upgrade processing method for a software installation package as described above.
Embodiments of the present invention also provide a readable storage medium on which a program or instructions are stored, which when executed by a processor implement the steps of the upgrade processing method of a software installation package as described above.
The embodiment of the invention has the following beneficial effects:
in the above scheme, the file name of the software installation package stored on the server side includes the client, the equipment manufacturer, the chip manufacturer and the chip version corresponding to the software installation package, so that the software installation package set corresponding to the client can be quickly determined according to the file name of the software installation package, whether the client side is the latest software version can be judged by comparing the latest version number with the first version number in the software installation package set, and if the client side is not the latest software version, the second description information and the download address of the latest software version can be sent to the client, so that the matched upgrade installation package is provided for the client.
Drawings
Fig. 1 is a schematic flowchart of an upgrade processing method for a server-side software installation package according to an embodiment of the present invention;
FIG. 2 is a flowchart illustrating a method for upgrading a client-side software installation package according to an embodiment of the present invention;
FIG. 3 is a block diagram of an upgrade processing apparatus for a server-side software installation package according to an embodiment of the present invention;
FIG. 4 is a block diagram of an upgrade processing apparatus for a client-side software installation package according to an embodiment of the present invention;
fig. 5 and fig. 6 are schematic flow diagrams of an upgrade processing method of a software installation package according to an embodiment of the present invention.
Detailed Description
In order to make the technical problems, technical solutions and advantages to be solved by the embodiments of the present invention clearer, the following detailed description will be given with reference to the accompanying drawings and specific embodiments.
To manage different versions of software, different fields may be added to the database, but this requires additional storage space and information. And the information needs to be managed from the time of software developer generating the software, otherwise, the information is missed.
The embodiment of the invention provides an upgrade processing method of a software installation package, a server and a client, which can provide a matched upgrade installation package for equipment.
An embodiment of the present invention provides an upgrade processing method for a software installation package, as shown in fig. 1, including:
step 101: the method comprises the steps that a server receives first description information of a software installation package sent by a client, wherein the first description information comprises a first version number and a version name of the software installation package;
the server can actively push an upgrade notification message to a client to indicate the client to report a first version number and a version name of the software installation package; or the client actively reports the first description information of the software installation package to the server.
When the server actively pushes the upgrade notification message to the client, before the server receives the first description information of the software installation package sent by the client, the method further includes: and the server sends an upgrade notification message to the client and indicates the client to report the first version number and the version name of the software installation package.
When the client actively reports the first description information of the software installation package to the server, the client may report the first description information of the software installation package to the server according to a preset reporting period, or may report the first description information of the software installation package to the server after updating the software installation package, where the software installation package is a software installation package used by the client most recently.
The version number versionCode is a string of numbers, is generally increased with version updating and is used for judging whether the version of the software installation package is new or old; the version name can be a string of characters, can be displayed to a user, and can manage the software installation packages distributed to different devices according to the version name.
Step 102: the server determines a software installation package set corresponding to the client according to the file name of the stored software installation package, and compares the latest version number in the software installation package set with the first version number, wherein the file name of the software installation package comprises a client, an equipment manufacturer, a chip manufacturer and a chip version corresponding to the software installation package;
different devices require different versions of the same software due to different hardware conditions. Software installation packages generated for different devices have compatibility problems and cannot be used universally, otherwise, operation faults can be caused. Software installation packages of different versions need to be managed, and a correct software installation package corresponding to the equipment is conveniently and quickly searched.
The naming rule of the software installation package can comprise the following elements:
1. the software installation package runs the affiliated client of the device. For example, the device to which the a user belongs, the software running on it, and the name of the B user should not appear in the version name.
2. When equipment manufacturers and different manufacturers produce equipment, corresponding Software Development Kits (SDKs) are often provided, and when the SDKs of the different manufacturers are introduced, the equipment of other manufacturers is often abnormal in operation.
3. The chip manufacturer of the chip used by the device. The same code, running on different chip devices, may vary in result. Therefore, in order to distinguish different software installation packages, different chip manufacturers need to be distinguished.
4. The chip version. Different versions of chips may differ in software code processing, and therefore, in order to distinguish different software installation packages, different chip versions need to be distinguished.
In addition, the version name of the software installation package may also include other custom fields and reserved fields. By using a self-defined connector, for example, two connecting lines "-", the above elements are connected in series, so that the version name of the software installation package can be obtained, and the software installation package can be identified through the above elements, so that a proper software installation package can be selected for a specified client through the version name of the software installation package.
For example, a software installation package of a certain version is delivered to a user A and runs on an android device manufactured by a B manufacturer. The equipment chip manufacturer is C, and the chip version is 2021. The custom element is patch, the reserved field is defined as software, and the file name of the software installation package is first-B-C-2021-patch-software.
In the package generation process of the software installation package (APK), the generated file name may be configured, and the version number of the software installation package and the version name generated by the rule may be included in the file name. Thus, a unique file name capable of expressing information is generated by three parts of the APK function, the version number and the version name, and the three parts are divided by an underline _.
For example, a version of APK, version number 20211201, version name a-B-C-2021-patch-software, has its file name defined as: standard installation- -20211201- -A- -B- -C- -2021- -patch- -software. It can be seen that the generated file name has strong self-explanatory property, and the information of the software installation package can be determined through the file name.
And a plurality of software installation packages are stored in the server, and the file names of the software installation packages are generated according to the rules. The server can obtain the matching information of the software installation package by analyzing the file name of the software installation package.
The first description information further includes a client, an equipment manufacturer, a chip manufacturer and a chip version corresponding to the client, and the server determines a software installation package set corresponding to the client according to the file name of the stored software installation package, including:
and the server determines at least one software installation package which is identical to a client, an equipment manufacturer, a chip manufacturer and a chip version corresponding to the client according to the file name of the software installation package, and the software installation package set is formed by utilizing the at least one software installation package.
Specifically, in the software installation package set, a corresponding client is consistent with a client corresponding to the client, a corresponding equipment manufacturer is consistent with an equipment manufacturer corresponding to the client, a corresponding chip manufacturer is consistent with a chip manufacturer corresponding to the client, and a corresponding chip version is consistent with a chip version corresponding to the client. In this embodiment, the server does not need to deeply parse the software installation package, and can determine the client, the device manufacturer, the chip manufacturer, and the chip version corresponding to the software installation package according to the file name of the software installation package.
And the server selects the version number of the latest software installation package publishing the version code from all the software installation packages in the software installation package set, and compares the latest version number with the first version number.
Step 103: and if the latest version number is different from the first version number, sending second description information and a download address of the software installation package corresponding to the latest version number to the client, wherein the second description information comprises the latest version number.
If the latest version number is the same as the first version number, the software installation package of the client is the latest version and does not need to be upgraded; if the latest version number is different from the first version number, the software installation package of the client is not the latest version and needs to be upgraded, and second description information and a download address of the software installation package corresponding to the latest version number are sent to the client, wherein the second description information comprises the latest version number.
In this embodiment, the file name of the software installation package stored on the server side includes the client, the device manufacturer, the chip manufacturer, and the chip version corresponding to the software installation package, so that the software installation package set corresponding to the client can be quickly determined according to the file name of the software installation package, and by comparing the latest version number with the first version number in the software installation package set, it can be determined whether the client side is the latest software version, and if the client side is not the latest software version, the second description information and the download address of the latest software version can be sent to the client, so as to provide the matched upgrade installation package for the client.
According to the embodiment, the description information required by the software installation package in links of a developer, a management system, equipment and the like can be reduced, the server can conveniently judge the version of the software installation package, and the server side can be helped to quickly determine the software installation package matched with the client side.
An embodiment of the present invention further provides an upgrade processing method for a software installation package, as shown in fig. 2, including:
step 201: the method comprises the steps that a client sends first description information of a software installation package to a server, wherein the first description information comprises a first version number and a version name of the software installation package;
the server can actively push an upgrade notification message to a client to indicate the client to report a first version number and a version name of the software installation package; or the client actively reports the first description information of the software installation package to the server.
When the server actively pushes the upgrade notification message to the client, before the client sends the first description information of the software installation package to the server, the method further comprises the following steps:
and the client receives the upgrade notification message sent by the server and indicates the client to report the first version number and the version name of the software installation package.
When the client actively reports the first description information of the software installation package to the server, the client may report the first description information of the software installation package to the server according to a preset reporting period, or may report the first description information of the software installation package to the server after updating the software installation package, where the software installation package is a software installation package used by the client most recently.
The version number versionCode is a string of numbers, is generally increased with version updating and is used for judging whether the version of the software installation package is new or old; the version name can be a string of characters, can be displayed to a user, and can manage the software installation packages distributed to different devices according to the version name.
Step 202: and the client receives second description information and a download address of the software installation package sent by the server, wherein the second description information comprises the latest version number of the software installation package.
After the client receives second description information and a download address of the software installation package sent by the server, the client compares the first version number with the latest version number; if the latest version number is the same as the first version number, the software installation package of the client is the latest version and does not need to be upgraded; if the latest version number is different from the first version number, for example, the version number returned by the server is greater than the local version number of the client, which indicates that the software installation package of the client is not the latest version and needs to be upgraded, the client can download the software installation package through the download address to upgrade, and certainly, the client can also choose not to upgrade.
In a specific example, as shown in fig. 5, a server actively pushes an upgrade notification message to a client, where the embodiment includes the following steps:
step 501: the server sends an upgrade notification message to the client, and indicates the client to report a first version number and a version name of the software installation package;
step 502: the method comprises the steps that a server receives first description information of a software installation package sent by a client, wherein the first description information comprises a first version number and a version name of the software installation package;
step 503: the server compares the latest version number in the software installation package set with the first version number;
and the server determines at least one software installation package which is identical to a client, an equipment manufacturer, a chip manufacturer and a chip version corresponding to the client according to the file name of the software installation package, and the software installation package set is formed by utilizing the at least one software installation package.
Specifically, in the software installation package set, a corresponding client is consistent with a client corresponding to the client, a corresponding equipment manufacturer is consistent with an equipment manufacturer corresponding to the client, a corresponding chip manufacturer is consistent with a chip manufacturer corresponding to the client, and a corresponding chip version is consistent with a chip version corresponding to the client. In this embodiment, the server does not need to deeply analyze the software installation package, and can determine the client, the equipment manufacturer, the chip manufacturer, and the chip version corresponding to the software installation package according to the file name of the software installation package.
And the server selects the version number of the software installation package with the latest version number of the versionCode publication in all the software installation packages in the software installation package set, and compares the latest version number with the first version number.
Step 504: judging whether the latest version number is consistent with the first version number, if so, ending the process, otherwise, turning to step 505;
step 505: and sending the second description information and the download address of the software installation package corresponding to the latest version number to the client.
If the latest version number is the same as the first version number, the software installation package of the client is the latest version and does not need to be upgraded; if the latest version number is different from the first version number, the software installation package of the client is not the latest version and needs to be upgraded, and second description information and a download address of the software installation package corresponding to the latest version number are sent to the client, wherein the second description information comprises the latest version number.
In another specific example, as shown in fig. 6, the client actively reports the version name and the version number to the server, and this embodiment includes the following steps:
step 601: the method comprises the steps that a client sends first description information of a software installation package to a server, wherein the first description information comprises a first version number and a version name of the software installation package;
step 602: the server sends second description information and a download address of the software installation package corresponding to the latest version number to the client;
step 603: the client compares the latest version number with the first version number;
step 604: the client judges whether the latest version number is consistent with the first version number, if so, the process is ended, and if not, the process goes to step 605;
if the latest version number is the same as the first version number, the software installation package of the client is the latest version and does not need to be upgraded; and if the latest version number is different from the first version number, the software installation package of the client is not the latest version and needs to be upgraded.
Step 605: the client decides whether to upgrade.
And if the client determines to upgrade, the client can download the software installation package through the download address to upgrade.
An embodiment of the present invention further provides an upgrade processing apparatus for a software installation package, as shown in fig. 3, including:
a first receiving module 31, configured to receive first description information of a software installation package sent by a client, where the first description information includes a first version number and a version name of the software installation package;
the processing module 32 is configured to determine a software installation package set corresponding to the client according to a file name of a stored software installation package, and compare a latest version number in the software installation package set with the first version number, where the file name of the software installation package includes a client, an equipment manufacturer, a chip manufacturer, and a chip version corresponding to the software installation package;
a first sending module 33, configured to send, to the client, second description information and a download address of the software installation package corresponding to the latest version number if the latest version number is different from the first version number, where the second description information includes the latest version number.
In some embodiments, the first sending module 33 is further configured to send an upgrade notification message to the client, and instruct the client to report the first version number and the version name of the software installation package.
In some embodiments, the first description information further includes a client, an equipment manufacturer, a chip manufacturer, and a chip version corresponding to the client, and the processing module 32 is specifically configured to determine, according to a file name of a software installation package, at least one software installation package that is the same as the client, the equipment manufacturer, the chip manufacturer, and the chip version corresponding to the client, and form the software installation package set by using the at least one software installation package.
An embodiment of the present invention further provides an upgrade processing apparatus for a software installation package, as shown in fig. 4, including:
a second sending module 41, configured to send first description information of the software installation package to the server, where the first description information includes a first version number and a version name of the software installation package;
a second receiving module 42, configured to receive second description information and a download address of the software installation package sent by the server, where the second description information includes a latest version number of the software installation package.
In some embodiments, the second receiving module 42 is further configured to receive an upgrade notification message sent by the server, and instruct the client to report the first version number and the version name of the software installation package.
In some embodiments, the apparatus further comprises:
the downloading module is used for comparing the first version number with the latest version number; and if the first version number is different from the latest version number, downloading the software installation package through the download address.
Embodiments of the present invention also provide a server including a processor and a memory, where the memory stores a program or instructions executable on the processor, and the program or instructions, when executed by the processor, implement the steps of the upgrade processing method for software installation packages as described above.
In some embodiments, the processor is configured to receive first description information of a software installation package sent by a client, where the first description information includes a first version number and a version name of the software installation package; determining a software installation package set corresponding to the client according to the file name of the stored software installation package, and comparing the latest version number in the software installation package set with the first version number, wherein the file name of the software installation package comprises a client, an equipment manufacturer, a chip manufacturer and a chip version corresponding to the software installation package; and if the latest version number is different from the first version number, sending second description information and a download address of the software installation package corresponding to the latest version number to the client, wherein the second description information comprises the latest version number.
In some embodiments, the processor is configured to send an upgrade notification message to the client, and instruct the client to report the first version number and the version name of the software installation package.
In some embodiments, the first description information further includes a client, an equipment manufacturer, a chip manufacturer, and a chip version corresponding to the client, and the processor is configured to determine, according to a file name of a software installation package, at least one software installation package that is the same as the client, the equipment manufacturer, the chip manufacturer, and the chip version corresponding to the client, and form the software installation package set by using the at least one software installation package.
Embodiments of the present invention also provide a client including a processor and a memory, where the memory stores a program or instructions executable on the processor, and the program or instructions, when executed by the processor, implement the steps of the upgrade processing method for a software installation package as described above.
The processor is used for sending first description information of the software installation package to the server, wherein the first description information comprises a first version number and a version name of the software installation package; and receiving second description information and a download address of the software installation package sent by the server, wherein the second description information comprises the latest version number of the software installation package.
In some embodiments, the processor is configured to receive an upgrade notification message sent by the server, and instruct the client to report the first version number and the version name of the software installation package.
In some embodiments, the processor is further configured to compare the first version number to the latest version number; and if the first version number is different from the latest version number, downloading the software installation package through the download address.
Embodiments of the present invention also provide a readable storage medium on which a program or instructions are stored, which when executed by a processor implement the steps of the upgrade processing method of a software installation package as described above.
Computer-readable media, including both non-transitory and non-transitory, removable and non-removable media, may implement information storage by any method or technology. The information may be computer readable instructions, data structures, modules of a program, or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), Static Random Access Memory (SRAM), Dynamic Random Access Memory (DRAM), other types of Random Access Memory (RAM), Read Only Memory (ROM), Electrically Erasable Programmable Read Only Memory (EEPROM), flash memory or other memory technologies, compact disc read only memory (CD-ROM), Digital Versatile Disc (DVD) or other optical storage, magnetic cassettes, magnetic tape disk storage or other magnetic storage terminal devices to be detected, or any other non-transmission medium that can be used to store information that can be accessed by a computer terminal device to be detected. As defined herein, a computer readable medium does not include a transitory computer readable medium such as a modulated data signal and a carrier wave.
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 apparatus 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 apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element. Further, it should be noted that the scope of the methods and apparatus of the embodiments of the present application is not limited to performing the functions in the order illustrated or discussed, but may include performing the functions in a substantially simultaneous manner or in a reverse order based on the functions involved, e.g., the methods described may be performed in an order different than that described, and various steps may be added, omitted, or combined. In addition, features described with reference to certain examples may be combined in other examples.
Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner. Based on such understanding, the technical solutions of the present application may be embodied in the form of a computer software product, which is stored in a storage medium (such as ROM/RAM, magnetic disk, optical disk) and includes instructions for enabling a terminal (such as a mobile phone, a computer, a server, an air conditioner, or a network device) to execute the method according to the embodiments of the present application.
While the present embodiments have been described with reference to the accompanying drawings, it is to be understood that the invention is not limited to the precise embodiments described above, which are meant to be illustrative and not restrictive, and that various changes may be made therein by those skilled in the art without departing from the spirit and scope of the invention as defined by the appended claims.

Claims (11)

1. An upgrade processing method of a software installation package is characterized by comprising the following steps:
the method comprises the steps that a server receives first description information of a software installation package sent by a client, wherein the first description information comprises a first version number and a version name of the software installation package;
the server determines a software installation package set corresponding to the client according to the file name of the stored software installation package, and compares the latest version number in the software installation package set with the first version number, wherein the file name of the software installation package comprises a client, an equipment manufacturer, a chip manufacturer and a chip version corresponding to the software installation package;
and if the latest version number is different from the first version number, sending second description information and a download address of the software installation package corresponding to the latest version number to the client, wherein the second description information comprises the latest version number.
2. The upgrade processing method for the software installation package according to claim 1, wherein before the server receives the first description information of the software installation package sent by the client, the method further includes:
and the server sends an upgrade notification message to the client and indicates the client to report the first version number and the version name of the software installation package.
3. The method for upgrading the software installation package according to claim 1, wherein the first description information further includes a client, an equipment manufacturer, a chip manufacturer, and a chip version corresponding to the client, and the determining, by the server, the set of software installation packages corresponding to the client according to the file name of the stored software installation package includes:
and the server determines at least one software installation package which is identical to a client, an equipment manufacturer, a chip manufacturer and a chip version corresponding to the client according to the file name of the software installation package, and the software installation package set is formed by utilizing the at least one software installation package.
4. An upgrade processing method of a software installation package is characterized by comprising the following steps:
the method comprises the steps that a client sends first description information of a software installation package to a server, wherein the first description information comprises a first version number and a version name of the software installation package;
and the client receives second description information and a download address of the software installation package sent by the server, wherein the second description information comprises the latest version number of the software installation package.
5. The upgrade processing method of the software installation package according to claim 4, wherein before the client sends the first description information of the software installation package to the server, the method further comprises:
and the client receives the upgrade notification message sent by the server and indicates the client to report the first version number and the version name of the software installation package.
6. The upgrade processing method of the software installation package according to claim 4, wherein after the client receives the second description information and the download address of the software installation package sent by the server, the method further includes:
the client compares the first version number with the latest version number;
and if the first version number is different from the latest version number, the client downloads the software installation package through the download address.
7. An upgrade processing apparatus for a software installation package, comprising:
the first receiving module is used for receiving first description information of a software installation package sent by a client, wherein the first description information comprises a first version number and a version name of the software installation package;
the processing module is used for determining a software installation package set corresponding to the client according to the file name of the stored software installation package, and comparing the latest version number in the software installation package set with the first version number, wherein the file name of the software installation package comprises a client, an equipment manufacturer, a chip manufacturer and a chip version corresponding to the software installation package;
and the first sending module is used for sending second description information and a download address of the software installation package corresponding to the latest version number to the client if the latest version number is different from the first version number, wherein the second description information comprises the latest version number.
8. An upgrade processing apparatus for a software installation package, comprising:
the second sending module is used for sending first description information of the software installation package to the server, wherein the first description information comprises a first version number and a version name of the software installation package;
and the second receiving module is used for receiving second description information and a download address of the software installation package sent by the server, wherein the second description information comprises the latest version number of the software installation package.
9. A server, characterized by comprising a processor and a memory, said memory storing a program or instructions executable on said processor, said program or instructions, when executed by said processor, implementing the steps of the upgrade processing method of a software installation package according to any one of claims 1 to 3.
10. A client comprising a processor and a memory, the memory storing a program or instructions executable on the processor which, when executed by the processor, implement the steps of the upgrade processing method of a software installation package as claimed in any one of claims 4 to 6.
11. A readable storage medium, on which a program or instructions are stored, which when executed by a processor, implement the steps of the upgrade processing method of a software installation package according to any one of claims 1 to 6.
CN202210517196.6A 2022-05-12 2022-05-12 Upgrading processing method of software installation package, server and client Pending CN114879993A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210517196.6A CN114879993A (en) 2022-05-12 2022-05-12 Upgrading processing method of software installation package, server and client

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210517196.6A CN114879993A (en) 2022-05-12 2022-05-12 Upgrading processing method of software installation package, server and client

Publications (1)

Publication Number Publication Date
CN114879993A true CN114879993A (en) 2022-08-09

Family

ID=82675608

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210517196.6A Pending CN114879993A (en) 2022-05-12 2022-05-12 Upgrading processing method of software installation package, server and client

Country Status (1)

Country Link
CN (1) CN114879993A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115934141A (en) * 2022-12-30 2023-04-07 北京泰迪熊移动科技有限公司 Software upgrading method and device, electronic equipment and storage medium

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103412767A (en) * 2013-06-09 2013-11-27 百度国际科技(深圳)有限公司 Method and system for recognizing and upgrading application version
CN103678319A (en) * 2012-09-03 2014-03-26 腾讯科技(深圳)有限公司 Resource file updating method, device and system and server
CN104468189A (en) * 2014-10-31 2015-03-25 重庆蓝岸通讯技术有限公司 Method for automatically upgrading BIOS according to different client versions
CN105871600A (en) * 2016-03-28 2016-08-17 努比亚技术有限公司 Application upgrade package detection method, server, and application program upgrade method and system
US20160253170A1 (en) * 2015-02-27 2016-09-01 Lenovo (Singapore) Pte, Ltd. Efficient deployment of thin client applications to end user
CN106201607A (en) * 2016-07-04 2016-12-07 乐视控股(北京)有限公司 The upgrade method of a kind of software version and equipment
US20170322794A1 (en) * 2016-05-09 2017-11-09 Sharp Laboratories Of America, Inc. System and Method for Data Validation between Synced Devices
CN108235754A (en) * 2016-12-24 2018-06-29 华为技术有限公司 A kind of method and apparatus that user is prompted to update application version
CN111381848A (en) * 2018-12-29 2020-07-07 华为技术有限公司 Resource file updating method, device, equipment and storage medium

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103678319A (en) * 2012-09-03 2014-03-26 腾讯科技(深圳)有限公司 Resource file updating method, device and system and server
CN103412767A (en) * 2013-06-09 2013-11-27 百度国际科技(深圳)有限公司 Method and system for recognizing and upgrading application version
CN104468189A (en) * 2014-10-31 2015-03-25 重庆蓝岸通讯技术有限公司 Method for automatically upgrading BIOS according to different client versions
US20160253170A1 (en) * 2015-02-27 2016-09-01 Lenovo (Singapore) Pte, Ltd. Efficient deployment of thin client applications to end user
CN105871600A (en) * 2016-03-28 2016-08-17 努比亚技术有限公司 Application upgrade package detection method, server, and application program upgrade method and system
US20170322794A1 (en) * 2016-05-09 2017-11-09 Sharp Laboratories Of America, Inc. System and Method for Data Validation between Synced Devices
CN106201607A (en) * 2016-07-04 2016-12-07 乐视控股(北京)有限公司 The upgrade method of a kind of software version and equipment
CN108235754A (en) * 2016-12-24 2018-06-29 华为技术有限公司 A kind of method and apparatus that user is prompted to update application version
CN111381848A (en) * 2018-12-29 2020-07-07 华为技术有限公司 Resource file updating method, device, equipment and storage medium

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
胡剑锋等: "《计算机硬件技术》", 31 August 2006, 成都:电子科技大学出版社 *

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115934141A (en) * 2022-12-30 2023-04-07 北京泰迪熊移动科技有限公司 Software upgrading method and device, electronic equipment and storage medium

Similar Documents

Publication Publication Date Title
CN110058873B (en) Application page updating method, device, equipment and storage medium
US8499296B2 (en) Multi-branch management for updating software
CN112615747B (en) Method and device for automatically deploying and configuring network equipment
CN111078481A (en) Method and device for acquiring configuration check list, electronic equipment and storage medium
CN112799688A (en) Method and device for installing software package in container application, computer equipment and medium
CN114879993A (en) Upgrading processing method of software installation package, server and client
CN112783542A (en) Software upgrading method and device and readable storage medium
CN110750286B (en) Management method, device, system, equipment and medium for upgrading Mbn through OTA
CN113342419B (en) Push system loading method and device, electronic equipment and storage medium
US20160378553A1 (en) Resource Management Method and Device for Terminal System
CN111865905B (en) Ukey-based communication method, device and storage medium
CN105095053A (en) Method and device for acquiring software information for software management
CN111984279A (en) Application software upgrading method, system and storage medium
CN115794220A (en) Software source migration method, device and system, computing device and readable storage medium
CN112947956B (en) Application software upgrading method
CN115525545A (en) Docker-based automatic testing method, system, equipment and medium
CN111770487B (en) Access Point Name (APN) information configuration method, equipment and medium
CN112965697A (en) Code file generation method and device and electronic equipment
CN110825406A (en) Software upgrading method and related equipment
CN113312073B (en) Installation package file processing method and related device
CN116069353B (en) Update guide preposition method, device, equipment and storage medium
CN108664259B (en) Method and terminal for installing application
CN114154944B (en) Business auditing method, equipment and computer readable storage medium
CN115469904A (en) OTA (over the air) upgrading method and device
CN112083935A (en) Program unloading method and device for android platform

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
RJ01 Rejection of invention patent application after publication

Application publication date: 20220809

RJ01 Rejection of invention patent application after publication