CN113568645A - Software updating method and device, electronic equipment and storage medium - Google Patents

Software updating method and device, electronic equipment and storage medium Download PDF

Info

Publication number
CN113568645A
CN113568645A CN202110918030.0A CN202110918030A CN113568645A CN 113568645 A CN113568645 A CN 113568645A CN 202110918030 A CN202110918030 A CN 202110918030A CN 113568645 A CN113568645 A CN 113568645A
Authority
CN
China
Prior art keywords
file
update
files
compressed
software
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN202110918030.0A
Other languages
Chinese (zh)
Other versions
CN113568645B (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.)
Netease Hangzhou Network Co Ltd
Original Assignee
Netease Hangzhou Network 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 Netease Hangzhou Network Co Ltd filed Critical Netease Hangzhou Network Co Ltd
Priority to CN202110918030.0A priority Critical patent/CN113568645B/en
Publication of CN113568645A publication Critical patent/CN113568645A/en
Application granted granted Critical
Publication of CN113568645B publication Critical patent/CN113568645B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/60Software deployment
    • G06F8/65Updates
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/10File systems; File servers
    • G06F16/17Details of further file system functions
    • G06F16/174Redundancy elimination performed by the file system
    • G06F16/1744Redundancy elimination performed by the file system using compression, e.g. sparse files
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/70Software maintenance or management
    • G06F8/71Version control; Configuration management
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D10/00Energy efficient computing, e.g. low power processors, power management or thermal management

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Security & Cryptography (AREA)
  • Data Mining & Analysis (AREA)
  • Databases & Information Systems (AREA)
  • Stored Programmes (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

The invention discloses a software updating method, a software updating device, electronic equipment and a storage medium; the invention can obtain the modification records of a plurality of files of the target software; determining the update frequency of the file according to the modification record of the file, wherein the update frequency represents the probability of the modified file; compressing the file according to the update frequency of the file to obtain a compressed package of the target software; acquiring a plurality of update files corresponding to target software; and updating the compressed package of the target software based on the update file so as to update the target software by using the updated compressed package. In the invention, the probability that the file is possibly modified in the future is determined according to the modification record of the file of the target software; then compressing the files of the target software according to the probability that the files are possibly modified, and compressing the files with high update frequency together; therefore, when the target software is updated, fewer compressed files can be updated. Therefore, the software updating efficiency can be improved.

Description

Software updating method and device, electronic equipment and storage medium
Technical Field
The invention relates to the technical field of internet, in particular to a software updating method, a software updating device, electronic equipment and a storage medium.
Background
In order to enhance the functions of software and improve the safety and stability of the software, the software is frequently updated. The software updating is mainly to update files in the installation package of the software, such as modifying, deleting or adding files. Therefore, when the client updates the software, the client needs to download the patch package of the software through the internet, and the downloading process needs to pay corresponding downloading time and flow.
Currently, software updates are inefficient.
Disclosure of Invention
The invention provides a software updating method, a software updating device, electronic equipment and a storage medium, which can improve software updating efficiency.
The invention provides a software updating method, which comprises the following steps:
acquiring modification records of a plurality of files of target software;
determining the update frequency of the file according to the modification record of the file, wherein the update frequency represents the probability of the modified file;
compressing the file according to the update frequency of the file to obtain a compressed package of the target software;
acquiring a plurality of update files corresponding to target software;
and updating the compressed package of the target software based on the update file so as to update the target software by using the updated compressed package.
The present invention also provides a software updating apparatus, comprising:
the first acquisition unit is used for acquiring modification records of a plurality of files of the target software;
the determining unit is used for determining the update frequency of the file according to the modification record of the file, and the update frequency represents the probability of the modified file;
the compression unit is used for compressing the files according to the update frequency of the files to obtain a compression package of the target software;
the second acquisition unit is used for acquiring a plurality of update files corresponding to the target software;
and the updating unit is used for updating the compressed package of the target software based on the updating file so as to update the target software by adopting the updated compressed package.
In some embodiments, the determining unit is specifically configured to:
determining the type of the file;
and determining the update frequency of the file according to the modification record of the file and the type of the file.
In some embodiments, the type of the file includes an art resource type and a script type, the art resource type includes an art resource index subtype and an art resource subtype, and the determining unit is specifically configured to:
when the type of the file is the art resource index subtype, determining the update frequency of the file as a first level;
and when the type of the file is the script type or the art resource subtype, determining the update frequency of the file according to the modification record of the file.
In some embodiments, the file type further includes other file types, and the determining unit is specifically configured to:
determining a directory where the file is located;
determining a directory grade corresponding to the file according to the directory where the file is located;
determining the update frequency of the file according to the modification record of the file;
and weighting the update frequency of the file based on the directory grade corresponding to the file to obtain the weighted update frequency of the file.
In some embodiments, the modification record of the file includes modification time and modification times, and the determining unit is specifically configured to:
determining standard time difference and time aggregation according to the modification time, wherein the standard time difference represents the time difference relation between the modification time of the file and the current time, and the time aggregation represents the aggregation degree of the modification time of the file;
when the modification times are not less than the preset modification times and the standard time difference is not greater than the preset time difference threshold, determining the update frequency of the file as a first level;
when the modification times are not less than the preset modification times and the standard time difference is greater than a preset time difference threshold value, determining the update frequency of the file as a second level;
when the time aggregation degree is within the preset time aggregation degree range, determining the update frequency of the file as a third level;
and when the modification times are less than the preset modification times, determining the update frequency of the file according to the standard time difference and a preset time difference threshold.
In some embodiments, the compression unit is specifically configured to:
sorting the files according to the update frequency of the files to obtain sorted files;
and compressing the sequenced files to obtain a compressed package of the target software.
In some embodiments, the compressed package of the target software includes a plurality of compressed files, and the compression unit is specifically configured to:
determining a size threshold of a compressed file according to a network environment;
and compressing the sorted files into a plurality of compressed files based on the compressed file size threshold.
In some embodiments, the update unit is specifically configured to:
when the compressed package of the target software has the compressed file corresponding to the updated file, updating the compressed file corresponding to the updated file based on the updated file to obtain an updated compressed file;
when the compressed package of the target software does not have the compressed file corresponding to the updated file, generating a new compressed file according to the updated file;
and uploading the updated compressed file and the new compressed file so that the client updates the target software based on the updated compressed file and the new compressed file.
In some embodiments, the updating unit is further specifically configured to:
acquiring file information of an updated file;
updating the compressed file corresponding to the updated file based on the updated file, further comprising:
acquiring file information of a compressed file corresponding to the updated file;
generating an update guide file based on the file information of the compressed file corresponding to the update file and the file information of the update file;
and uploading the update guide file so that the client downloads the updated compressed file and the new compressed file according to the update guide file.
The invention also provides electronic equipment, which comprises a memory and a processor, wherein the memory stores a plurality of instructions; the processor loads instructions from the memory to perform the steps of any one of the software update methods provided by the present invention.
The invention also provides a computer readable storage medium, which stores a plurality of instructions, wherein the instructions are suitable for being loaded by a processor to execute the steps in any one of the software updating methods provided by the invention.
The method can acquire the modification record of the file of the target software, and determine the update frequency of the file according to the modification record, so as to obtain the probability that the file is possibly modified in the future; then, compressing the files of the target software according to the update frequency of the files, and compressing the files with higher update frequency together; therefore, when the file is modified, only a few compressed files can be updated, so that the time for decompressing the file and then recompressing the file can be reduced; and when the target software is updated, less compressed files can be downloaded, and the downloading speed can be improved. Therefore, the software updating efficiency can be improved.
Drawings
In order to more clearly illustrate the technical solution of the present invention, the drawings needed to be used in the description of the embodiments will be briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without creative efforts.
FIG. 1a is a schematic view of a scenario of a software update method provided by the present invention;
FIG. 1b is a schematic flow chart of a software update method provided by the present invention;
FIG. 2a is a schematic flow chart of a software updating method applied in a game software scene;
FIG. 2b is a schematic diagram of a full-size patch provided by the present invention;
FIG. 2c is a schematic illustration of a delta patch provided by the present invention;
FIG. 3 is a schematic diagram of a software updating apparatus according to the present invention;
fig. 4 is a schematic structural diagram of an electronic device provided in the present invention.
Detailed Description
The technical solutions in the present invention will be described clearly and completely with reference to the accompanying drawings, and it is obvious that the described embodiments are only some embodiments of the present invention, not all embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
The invention provides a software updating method, a software updating device, electronic equipment and a storage medium.
The software updating apparatus may be specifically integrated in an electronic device, and the electronic device may be a terminal, a server, or other devices. The terminal can be a mobile phone, a tablet Computer, an intelligent bluetooth device, a notebook Computer, or a Personal Computer (PC), and the like; the server may be a single server or a server cluster composed of a plurality of servers. In some embodiments, the server may also be implemented in the form of a terminal.
In some embodiments, the software updating apparatus may also be integrated in a plurality of electronic devices, for example, the software updating apparatus may be integrated in a plurality of servers and terminal devices, and the software updating method of the present invention is implemented by the plurality of servers and terminal devices.
For example, referring to fig. 1a, fig. 1a is a scene schematic diagram of a software updating method provided in an embodiment of the present invention. The software updating method can comprise a first server, a second server and a client. The first server may be a server corresponding to a Version Control System (VCS), for example, the Version Control System may be svn (Version), Git, or the like, and the Version Control System may record content changes of multiple files of the target software. The second server may be a device corresponding to a Content Delivery Network (CDN). The client may be a terminal device on which the target software is installed or a terminal device ready to install the target software.
The method comprises the steps that a first server obtains modification records of a plurality of files of target software; determining the update frequency of the file according to the modification record of the file, wherein the update frequency represents the probability of the modified file; compressing the file according to the update frequency of the file to obtain a compressed package of the target software; acquiring a plurality of update files corresponding to target software; and updating the compressed package of the target software based on the update file so that the client updates the target software by adopting the updated compressed package.
In this embodiment, the first server may obtain a modification record of a file of the target software, and determine the update frequency of the file according to the modification record, thereby obtaining a probability that the file may be modified in the future; then, compressing the files of the target software according to the update frequency of the files, and compressing the files with higher update frequency together; therefore, when the file is modified, the first server can update only a few compressed files in the compressed package of the target software, so that the time for decompressing the file and then recompressing the file can be reduced; and when the client updates the target software, the client can download fewer compressed files, so that the downloading speed can be increased. Therefore, the software updating efficiency can be improved.
The following are detailed below. The numbers in the following examples are not intended to limit the order of preference of the examples.
In this embodiment, a software updating method is provided, as shown in fig. 1b, a specific flow of the software updating method may be as follows:
110. modification records of a plurality of files of the target software are obtained.
The target software may be a series of computer data and instruction sets organized according to a specific order, may be system software, or may be application software, where the application software may include game software, instant messaging software, and the like.
The plurality of files of the target software may include all files required for installation and operation of the target software. For example, taking game software as an example, a plurality of files of the game software may be divided into file types, where the file types may include, but are not limited to, art resource types, script types, and other file types, and the art resource types include art resource index subtypes and art resource subtypes; the plurality of files may include, but are not limited to, files corresponding to script types, files corresponding to art asset types, and other types of files. The files of art resource types may include files of art resource subtypes (such as game virtual character resource files, map resource files, user interface map files, and the like), files of art resource index subtypes (such as metadata of art resources, retrieval), and the like; other types of files may be files under a target directory, which may include, but is not limited to, a user interface directory (UI), a game avatar directory (Char), a pre-fabricated directory (Prefab), a virtual scenes directory (works), a routing grid directory (navigator), an audio directory (soundbs), a game configuration directory (GameConfig), a font directory (Fonts), a still picture directory (UIImage). It is understood that the file type of the file may also be related to a directory, for example, the Script type may correspond to a Script directory, and the art resource type may correspond to a warehouse (repo) directory, which includes sub-directories of virtual models, animations, effects, skins, bones, materials, maps, and the like.
The modification record may be information when the content of the file changes, and may include, but is not limited to, modification time and modification times; wherein the modification time may be a standard time when the file is modified. In some embodiments, the number of modifications may be statistically derived from the modification time.
The version control system records the modification records of the files each time a plurality of files of the target software are modified. In some embodiments, the version control system may obtain modification records of a plurality of files of the target software within a preset time period; the preset time period can be set by self according to the actual application condition, for example, the preset time period is set according to the frequency of software updating, and the higher the frequency of software updating, the higher the preset time period can be correspondingly shortened, for example, the preset time period can be half a year, two months, and the like. In some embodiments, the version control system may obtain all of the modification records for multiple files of the target software.
120. And determining the update frequency of the file according to the modification record of the file, wherein the update frequency represents the probability of the file being modified.
Wherein the update frequency can be divided into different levels. In some embodiments, the update frequency may include a first level, a second level, a third level, a fourth level and a fifth level, and the first level to the fifth level may indicate that the probability of the file being modified decreases in sequence, that is, the update frequency decreases in sequence. It can be understood that each level may be divided into a plurality of small levels, N may be used to represent the update frequency, and the value of N may be any integer, such as 5 or 6; for example, a first level may be represented as N levels, a third level may be represented as N/2+1 to N-1 levels, a second level may be represented as N/2 levels, a fourth level may be represented as 2 to N/2+1 levels, and a fifth level may be represented as 1 level; a larger value indicates a higher probability that the file is modified, i.e., more frequently updated. In some embodiments, the division of the update frequency may be determined according to the type of software, for example, the update frequency of the game software may be divided into more levels, and the instant messenger software may be divided into relatively less levels.
For software updating, part of files in the compressed package are updated frequently, and some files are not updated basically, so that the update frequency of the files can be determined according to the modification records of the files, and the probability that the files are possibly modified is obtained.
In some embodiments, the type of the file may be determined, and then the update frequency of the file may be determined according to the modification record of the file and the type of the file.
Determining the update frequency of the file according to the modification record of the file and the type of the file may include, but is not limited to: when the type of the file is the art resource index subtype, the update frequency of the file is determined to be a first level. And when the type of the file is the script type or the art resource subtype, determining the update frequency of the file according to the modification record of the file. For other types of files, the directory where the file is located can be determined; determining the directory grade corresponding to the file according to the directory where the file is located, wherein the directory grade can be divided into M grades; determining the update frequency of other types of files according to the modification records of the files; the update frequency of the other types of files is weighted based on the directory rank corresponding to the file to obtain the weighted update frequency of the file, for example, the directory rank and the update frequency of the file may be superimposed.
The specific implementation of determining the update frequency of the file according to the modification record of the file is not limited. In some embodiments, the standard time difference and the degree of temporal aggregation may be determined from the modification time. The standard time difference represents a time difference relationship between the modification time of the file and the current time, and the standard time difference can be calculated by adopting the following formula:
Figure BDA0003206382050000081
where n represents the number of modifications, t represents the current time, and the current time may be the time of acquiring the modification record.
The time aggregation degree represents the aggregation degree of the modification time of the file, and the time aggregation degree can be calculated by adopting the following formula:
Figure BDA0003206382050000082
wherein
Figure BDA0003206382050000083
Wherein x isiIndicates the modification time when the ith file is modified, and mu indicates the modification time of the fileAverage value of time.
And when the modification times are not less than the preset modification times and the standard time difference is not greater than the preset time difference threshold, determining the update frequency of the file as a first level.
And when the modification times are not less than the preset modification times and the standard time difference is greater than the preset time difference threshold value, determining the update frequency of the file as a second level.
And when the time aggregation degree is within the preset time aggregation degree range, determining the update frequency of the file as a third grade.
When the modification times are smaller than the preset modification times, determining the update frequency of the file according to the standard time difference and a preset time difference threshold; if the corresponding time difference threshold value range is set according to the preset time difference threshold value; when the standard time difference of the file is out of the time difference threshold range and the standard time difference is larger than the maximum value of the time difference threshold range, determining the update frequency of the file as a fourth grade; when the standard time difference of the file is within the range of the time difference threshold value, determining the update frequency of the file as a second grade; and when the standard time difference of the file is out of the time difference threshold range and the standard time difference is smaller than the minimum value of the time difference threshold range, determining the update frequency of the file as a third grade. Therefore, the update frequency of the file can be determined by the modification records of the file and combining experience and statistical methods, so that the probability that the file is possibly modified in the future is obtained, and the method conforms to the mode of software update.
For example, taking game software as an example, for a script type file, the update frequency of the file is determined according to the modification record of the file.
For files of art asset type: 1) and determining the update frequency of the file according to the modification record of the file for the common virtual game role and the map resource file. 2) repository is a metafile of resources (a file of art resource index type), and the update frequency of resource repository is determined to be N level. 3) Files in the local directory are mainly UI map files after map combination, and the UI map files are files which are updated relatively frequently, so that the re-distribution of maps is very easily caused by changed resources, and the update frequency of the files can be independently determined according to the modification records.
For files under the target directory (other types): 1) files under the UI, Char and Prefab directories are frequently updated files, and the directory level is determined to be M level. 2) Files under the Worlds, Navigate, and SoundBanks directories are next-to-frequently updated files, with the directory level determined to be M-1. 3) The frequency of updating files in other directories such as GameConfig, Fonts, UIImage and the like is low, and the directory grade is determined to be M-2 grade. And determining the update frequency of the files under different directory levels according to the modification records of the files, and superposing the directory levels to the update frequency of the files to obtain the final update frequency of the files.
In some embodiments, for a newly added file when a software update was last performed, when the newly added file is a hot update file or __ init __. py file or the like, the update frequency of the newly added file is determined to be a fifth level. And determining the updating frequency of other newly added files as a second grade.
In some embodiments, the update frequency of the file may be determined based only on the modified record of the file.
In some embodiments, the update frequency of the files in each directory may be determined individually according to the directory corresponding to the target software as a unit, or may be determined according to the modification record of the files.
130. And compressing the file according to the update frequency of the file to obtain a compressed package of the target software.
The compressed package of the target software can comprise a plurality of compressed files, or can be a large compressed file obtained by secondarily compressing a plurality of compressed files; the compression format of the compressed file is not limited, and may be RAR, ZIP, and the like. The compressed package of the target software may also be referred to as a full patch or full patch of the target software; which in certain cases may also be referred to as the target software's installation package.
Compressing the file according to the update frequency of the file may include, but is not limited to, the following steps:
s1: sorting the files according to the update frequency of the files to obtain sorted files; the files can be sorted from high to low according to the update frequency, and the files can also be sorted from low to high according to the update frequency.
S2: and compressing the sequenced files to obtain a compressed package of the target software. In some embodiments, the compressed file size threshold may be determined based on the network environment; for example, in a relatively stable platform such as windows, the compressed file size threshold may be 10M; other platforms where the network is unstable, the compressed file size threshold may be 4M, and so on. The size threshold of the compressed file is determined according to different network environments, and the flexibility is high.
And compressing the sorted files into a plurality of compressed files based on the size threshold of the compressed files, thereby obtaining a compressed package of the target software. In some embodiments, the compressed files may be numbered, and the higher the update frequency of the file corresponding to the compressed file is, the larger the number is; and the number of each compressed file may be unique.
In some embodiments, the directories corresponding to the files may be used as a unit, and the files in each directory are independently sorted according to the update frequency of the files. And then compressing the files sequenced in each directory to obtain a compressed package of the target software. In some embodiments, when compressing the sorted files corresponding to the file types, if the remaining files in each directory are not enough to be compressed into a compressed file with a compressed file size threshold, the files in multiple directories may be compressed into one compressed file.
In some embodiments, the file types of the files may be used as units, and the files corresponding to the file types are independently sorted according to the update frequency of the files. And then compressing the sorted files corresponding to the file types to obtain a compressed package of the target software.
In some embodiments, after the version control system obtains the compressed package of the target software, the compressed package may be uploaded to a content distribution network. If the client corresponding to the user has installed the target software, the client can download a compressed package of the target software from the content distribution network (at this time, the compressed package is equivalent to a patch package), and update the target software; if the client corresponding to the user does not install the target software, the compressed package of the target software (at this time, the compressed package is equivalent to the installation package) can be downloaded and installed.
140. And acquiring a plurality of update files corresponding to the target software.
The update files may include, but are not limited to, modified files (modified files) and newly added files. In some embodiments, the update file may be uploaded to the version control system by a developer, so as to obtain a plurality of update files corresponding to the target software.
In some embodiments, file information of the update file may also be obtained; the file information may be an update file List (List) that stores file identifications (e.g., file names, file numbers, etc.) of update files, and the like.
150. And updating the compressed package of the target software based on the update file so as to update the target software by using the updated compressed package.
In some embodiments, when a compressed file corresponding to an update file exists in a compressed package of target software, the compressed file corresponding to the update file is updated based on the update file, so as to obtain an updated compressed file. If the update file is a modified target file, the compressed file corresponding to the target file is a target compressed file, and the target compressed file is any compressed file in the compressed package of the target software; the target compressed file can be decompressed to obtain a target file set, the target file set comprises the original target file, the modified target file is adopted to replace the original target file, and then the target file set is compressed again to obtain an updated compressed file.
And when the compressed package of the target software does not have the compressed file corresponding to the update file, generating a new compressed file according to the update file. In some embodiments, the updated file is a new added file, and the compressed file compressed from the new added file may be numbered again based on the number of the previous compressed file.
And uploading the updated compressed file and the new compressed file so that the client updates the target software based on the updated compressed file and the new compressed file. In some embodiments, the updated compressed file and the new compressed file may also be collectively referred to as a delta patch or delta patch, and the versioning system uploads the delta patch to the content distribution network. Only the compressed file with the modified file is decompressed and replaced, so that the time for decompressing and recompressing can be reduced; and the sizes of the files uploaded to the content distribution network and downloaded to the client can be controlled in a smaller range, and the uploading and downloading speeds are improved.
In some embodiments, when the compressed file corresponding to the update file is updated based on the update file, file information of the compressed file corresponding to the update file may also be obtained; the file information of the compressed file may be a file list that may store an identification of the file in the compressed file, and the like.
Generating an update guide file based on the file information of the compressed file corresponding to the update file and the file information of the update file; the update boot file may store the number of the compressed file and the file under the compressed file corresponding to the number.
Uploading the update guide file so that the client downloads the updated compressed file and the new compressed file according to the update guide file; the version control system can upload the update boot file to the content distribution network, after the client starts the target software, the update program of the software can acquire the update boot file, then download the delta patch according to the update boot file, and update the target software based on the delta patch.
In some embodiments, the versioning system may also upload the delta patch to a content distribution network that updates a previously stored compressed package of the target software; after the client starts the target software, the update program of the software can acquire the update guide file, then download the updated compressed package from the content distribution network according to the update guide file, and update the target software based on the updated compressed package.
In some embodiments, file compression is performed under each directory, and files that need to be modified can be limited to within a single directory, thereby further reducing the size of the delta patch.
Therefore, the method can obtain the modification records of the files of the target software, and then determine the update frequency of the files by combining experience and statistical methods, namely obtaining the probability that the files are possibly modified in the future; then, according to the update frequency of the files, compressing the files of the target software by taking the directory as a unit, and compressing the files with higher update frequency together; therefore, when the file is modified, only a few compressed files can be updated, so that the time for decompressing the file and then recompressing the file can be reduced; and when the target software is updated, less compressed files can be uploaded to the content distribution network, and the client can download less compressed files, so that the uploading and downloading speed can be improved. Therefore, the software updating efficiency can be improved.
The software updating scheme provided by the invention can be applied to various software updating scenes. For example, the method of the present invention will be described in detail by taking a game software update as an example.
As shown in fig. 2a, a specific flow of the software updating method is as follows:
210. modification records of a plurality of files of game software are obtained.
The version control system can acquire modification records of a plurality of files of the game software in a preset time period, wherein the modification records comprise modified records of the files and newly added records of the files; the preset time period is related to the frequency of game software update and can be set to 1-2 months in general. The record of the modified file can comprise modification time, and the modification times can be counted according to the modification time.
220. And determining the update frequency of the file according to the modification record of the file, wherein the update frequency represents the probability of the file being modified.
In some embodiments, for a script type file, the update frequency of the file is determined according to the modification record of the file.
For files of art asset type: 1) and determining the update frequency of the file according to the modification record of the file for the common virtual game role and the map resource file. 2) repository is a metafile of resources (a file of an art resource index subtype), and the update frequency of resource repository is determined to be N level. 3) Files in the local directory are mainly UI map files, and the UI map files are files which are updated relatively frequently, so that the changed resources are very easy to cause the redistribution of maps, and the update frequency of the files can be independently determined according to the modification records.
For files under the target directory (other types): 1) files under the UI, Char and Prefab directories are frequently updated files, and the directory level is determined to be M level. 2) Files under the Worlds, Navigate, and SoundBanks directories are next-to-frequently updated files, with the directory level determined to be M-1. 3) The frequency of updating files in other directories such as GameConfig, Fonts, UIImage and the like is low, and the directory grade is determined to be M-2 grade. And determining the update frequency of the files under different directory levels according to the modification records of the files, and superposing the directory levels to the update frequency of the files to obtain the final update frequency of the files. Therefore, the update frequency of the file is determined by the modification record of the file of the game software and combining experience and statistical methods, so that the probability that the file is possibly modified in the future is obtained, the update mode of the game software is met, and the accuracy of the update frequency is higher.
In some embodiments, determining the update frequency of the file from the modification record of the file comprises:
1) the standard time difference and the time aggregation can be determined from the modification time. The standard time difference represents a time difference relationship between the modification time of the file and the current time, and the standard time difference can be calculated by adopting the following formula:
Figure BDA0003206382050000131
where n represents the number of modifications, t represents the current time, and the current time may be the time of acquiring the modification record.
The time aggregation degree represents the aggregation degree of the modification time of the file, and the time aggregation degree can be calculated by adopting the following formula:
Figure BDA0003206382050000141
wherein
Figure BDA0003206382050000142
Wherein x isiIndicates the modification time when the i-th file is modified, and μ indicates the average value of the file modification times.
2) Presetting the number of times of modification as mtA predetermined time difference threshold Dt
i. When n is more than or equal to mtAnd modDis is less than or equal to DtAnd determining the update frequency of the file as N levels.
When n is more than or equal to mtAnd modDis>DtAnd determining the update frequency of the file as N/2 level.
ii. The predetermined time concentration range is (S)t1,St2) When S ist1≤modStd≤St2And if the modification time distribution of the file is uniform, determining the update frequency of the file as N/2+ 1-N-1 level.
iii when n is<mtIf the modification time occurs earlier in mod Dis > DtI.e. modDis is significantly larger than Dt(ii) a Determining the update frequency of the file to be 2-N/2 +1 level; if the modification time occurs in the middle mod Dis ≈ Dt(ii) a Determining the update frequency of the file as N/2 level; if the modification time occurs at a later stage mod Dis > DtI.e. modDis is significantly smaller than Dt(ii) a The update frequency of the file is determined to be in the order of N/2+1 to N-1.
In some embodiments, for the newly added file when the software update was performed last time, when the newly added file is a hot update file and __ init __. py file, etc., the update frequency of the newly added file is determined to be level 1. And other newly added files determine the updating frequency to be N/2 level.
In some embodiments, the probability of future recovery of deleted files is low, and thus deletion may be largely disregarded.
In some implementations, the update frequency of script type, art resource type, and other types of files and their subclasses is normalized, and a mapping table between the normalized update frequency and the file is obtained. And sorting the files according to the update frequency from low to high to obtain a set of files which are arranged according to the probability that the files are modified from low to high.
230. And compressing the file according to the update frequency of the file to obtain a compressed package of the game software.
The sorted files are compressed by compression software to obtain a plurality of compressed files (also referred to as big files), that is, compressed packages of game software.
And setting a compressed file size threshold during compression, wherein if the compressed file exceeds 4M, a compressed file with a different number needs to be newly established, and for a platform with relatively stable network such as windows, the compressed file size threshold of the compressed file can be properly set to be larger, for example, 10M. The compressed package of the game software as shown in FIG. 2b may be generated based on the update frequency and the compressed file size threshold. The size threshold of the compressed file is determined according to different network environments, and the flexibility is high.
After the version control system obtains the compressed package of game software, the compressed package may be uploaded to a content distribution network. The client can download the compressed package of game software from the content distribution network and update the game software.
240. And acquiring a plurality of update files corresponding to the game software.
The version control system compares the compressed package of the game software to obtain a set of update files and an update file list of the update files.
250. The compressed package of the game software is updated based on the update file so that the game software is updated with the updated compressed package.
Inquiring a compressed file corresponding to the update file in a compressed package of the game software, decompressing the target compressed file if the file in the target compressed file is modified, deleting the file corresponding to the update file, and then merging the rest files into a set of the update file; and updating the file list in the target compressed file to the file list of the updated file to obtain an updated guide file.
And for the newly added files (the compressed packages of the game software do not have corresponding compressed files), merging the newly added files at the tail of the set of the updated files.
And re-compressing the set of updated files according to the size threshold of the compressed file to obtain the incremental patch. The number of the compressed file may be incremented and the number unique as shown in fig. 2 c.
The version control system uploads the delta patch and the updated boot file to the content distribution network. After the client starts the game software, the update program of the software can acquire the update boot file, then download the delta patch according to the update boot file, and update the game software based on the delta patch. Only the modified compressed file is decompressed and replaced, the file uploaded to the content distribution network and downloaded to the client can be controlled in a smaller range, and the uploading and downloading speed is improved.
Therefore, the method can acquire the modification records of the files of the game software, and then determine the update frequency of the files by combining experience and statistical methods, namely, the probability that the files are possibly modified in the future is obtained; then, according to the update frequency of the files, the files of the game software are compressed by taking the directory as a unit, and the files with higher update frequency can be compressed together; therefore, when the file is modified, only a few compressed files can be updated, so that the time for decompressing the file and then recompressing the file can be reduced; and when the game software is updated, less compressed files can be uploaded to the content distribution network, and the client can download less compressed files, so that the uploading and downloading speed can be improved. Therefore, the software updating efficiency can be improved.
In order to better implement the method, the invention further provides a software updating device, and the software updating device can be specifically integrated in electronic equipment, and the electronic equipment can be a terminal, a server and other equipment. The terminal can be a mobile phone, a tablet computer, an intelligent Bluetooth device, a notebook computer, a personal computer and other devices; the server may be a single server or a server cluster composed of a plurality of servers.
For example, in the present embodiment, the method of the present invention will be described in detail by taking an example in which the software updating apparatus is specifically integrated in the first server.
For example, as shown in fig. 3, the software updating apparatus may include a first obtaining unit 301, a determining unit 302, a compressing unit 303, a second obtaining unit 304, and an updating unit 305 as follows:
first acquisition unit 301
A first obtaining unit 301, configured to obtain modification records of multiple files of the target software.
(II) determination unit 302
The determining unit 302 is configured to determine an update frequency of the file according to the modification record of the file, where the update frequency represents a probability that the file is modified.
(III) compression unit 303
The compressing unit 303 is configured to perform compression processing on the file according to the update frequency of the file, so as to obtain a compressed package of the target software.
(IV) second acquisition unit 304
A second obtaining unit 304, configured to obtain multiple update files corresponding to the target software.
(V) update unit 305
An updating unit 305 for updating the compressed package of the target software based on the update file so as to update the target software with the updated compressed package.
In some embodiments, the determining unit 302 is specifically configured to:
determining the type of the file;
and determining the update frequency of the file according to the modification record of the file and the type of the file.
In some embodiments, the type of the file includes an art resource type and a script type, the art resource type includes an art resource index subtype and an art resource subtype, and the determining unit 302 is specifically configured to:
when the type of the file is the art resource index subtype, determining the update frequency of the file as a first level;
and when the type of the file is the script type or the art resource subtype, determining the update frequency of the file according to the modification record of the file.
In some embodiments, the file type further includes other file types, and the determining unit 302 is specifically configured to:
determining a directory where the file is located;
determining a directory grade corresponding to the file according to the directory where the file is located;
determining the update frequency of the file according to the modification record of the file;
and weighting the update frequency of the file based on the directory grade corresponding to the file to obtain the weighted update frequency of the file.
In some embodiments, the modification record of the file includes modification time and modification times, and the determining unit 302 is specifically configured to:
determining standard time difference and time aggregation according to the modification time, wherein the standard time difference represents the time difference relation between the modification time of the file and the current time, and the time aggregation represents the aggregation degree of the modification time of the file;
when the modification times are not less than the preset modification times and the standard time difference is not greater than the preset time difference threshold, determining the update frequency of the file as a first level;
when the modification times are not less than the preset modification times and the standard time difference is greater than a preset time difference threshold value, determining the update frequency of the file as a second level;
when the time aggregation degree is within the preset time aggregation degree range, determining the update frequency of the file as a third level;
and when the modification times are less than the preset modification times, determining the update frequency of the file according to the standard time difference and a preset time difference threshold.
In some embodiments, the compression unit 303 is specifically configured to:
sorting the files according to the update frequency of the files to obtain sorted files;
and compressing the sequenced files to obtain a compressed package of the target software.
In some embodiments, the compressed package of the target software includes a plurality of compressed files, and the compressing unit 303 is specifically configured to:
determining a size threshold of a compressed file according to a network environment;
and compressing the sorted files into a plurality of compressed files based on the compressed file size threshold.
In some embodiments, the updating unit 305 is specifically configured to:
when the compressed package of the target software has the compressed file corresponding to the updated file, updating the compressed file corresponding to the updated file based on the updated file to obtain an updated compressed file;
when the compressed package of the target software does not have the compressed file corresponding to the updated file, generating a new compressed file according to the updated file;
and uploading the updated compressed file and the new compressed file so that the client updates the target software based on the updated compressed file and the new compressed file.
In some embodiments, the updating unit 305 is further specifically configured to:
acquiring file information of an updated file;
updating the compressed file corresponding to the updated file based on the updated file, further comprising:
acquiring file information of a compressed file corresponding to the updated file;
generating an update guide file based on the file information of the compressed file corresponding to the update file and the file information of the update file;
and uploading the update guide file so that the client downloads the updated compressed file and the new compressed file according to the update guide file.
In a specific implementation, the above units may be implemented as independent entities, or may be combined arbitrarily to be implemented as the same or several entities, and the specific implementation of the above units may refer to the foregoing method embodiments, which are not described herein again.
As can be seen from the above, the software updating apparatus of this embodiment may obtain the modification record of the file of the target software, and determine the update frequency of the file according to the modification record, so as to obtain the probability that the file may be modified in the future; then, compressing the files of the target software according to the update frequency of the files, and compressing the files with higher update frequency together; therefore, when the file is modified, only a few compressed files can be updated, so that the time for decompressing the file and then recompressing the file can be reduced; and when the target software is updated, less compressed files can be downloaded, and the downloading speed can be improved. Therefore, the software updating efficiency can be improved.
Correspondingly, the embodiment of the application also provides an electronic device, and the electronic device can be a first server or a second server or a client.
As shown in fig. 4, fig. 4 is a schematic structural diagram of an electronic device according to an embodiment of the present application, where the electronic device 400 includes a processor 401 having one or more processing cores, a memory 402 having one or more computer-readable storage media, and a computer program stored in the memory 402 and executable on the processor. The processor 401 is electrically connected to the memory 402. Those skilled in the art will appreciate that the electronic device configurations shown in the figures do not constitute limitations of the electronic device, and may include more or fewer components than shown, or some components in combination, or a different arrangement of components.
The processor 401 is a control center of the electronic device 400, connects various parts of the whole electronic device 400 by using various interfaces and lines, performs various functions of the electronic device 400 and processes data by running or loading software programs and/or modules stored in the memory 402 and calling data stored in the memory 402, thereby performing overall monitoring of the electronic device 400.
In this embodiment, the processor 401 in the electronic device 400 loads instructions corresponding to processes of one or more application programs into the memory 402 according to the following steps, and the processor 401 runs the application programs stored in the memory 402, so as to implement various functions:
acquiring modification records of a plurality of files of target software;
determining the update frequency of the file according to the modification record of the file, wherein the update frequency represents the probability of the modified file;
compressing the file according to the update frequency of the file to obtain a compressed package of the target software;
acquiring a plurality of update files corresponding to target software;
and updating the compressed package of the target software based on the update file so as to update the target software by using the updated compressed package.
The above operations can be implemented in the foregoing embodiments, and are not described in detail herein.
Optionally, as shown in fig. 4, the electronic device 400 further includes: touch-sensitive display screen 403, radio frequency circuit 404, audio circuit 405, input unit 406 and power 407. The processor 401 is electrically connected to the touch display screen 403, the radio frequency circuit 404, the audio circuit 405, the input unit 406, and the power source 407. Those skilled in the art will appreciate that the electronic device configuration shown in fig. 4 does not constitute a limitation of the electronic device and may include more or fewer components than those shown, or some components may be combined, or a different arrangement of components.
The touch display screen 403 may be used for displaying a graphical user interface and receiving operation instructions generated by a user acting on the graphical user interface. The touch display screen 403 may include a display panel and a touch panel. The display panel may be used, among other things, to display information entered by or provided to a user and various graphical user interfaces of the electronic device, which may be made up of graphics, text, icons, video, and any combination thereof. Alternatively, the Display panel may be configured in the form of a Liquid Crystal Display (LCD), an Organic Light-Emitting Diode (OLED), or the like. The touch panel may be used to collect touch operations of a user on or near the touch panel (for example, operations of the user on or near the touch panel using any suitable object or accessory such as a finger, a stylus pen, and the like), and generate corresponding operation instructions, and the operation instructions execute corresponding programs. Alternatively, the touch panel may include two parts, a touch detection device and a touch controller. The touch detection device detects the touch direction of a user, detects a signal brought by touch operation and transmits the signal to the touch controller; the touch controller receives touch information from the touch sensing device, converts the touch information into touch point coordinates, sends the touch point coordinates to the processor 401, and can receive and execute commands sent by the processor 401. The touch panel may overlay the display panel, and when the touch panel detects a touch operation thereon or nearby, the touch panel may transmit the touch operation to the processor 401 to determine the type of the touch event, and then the processor 401 may provide a corresponding visual output on the display panel according to the type of the touch event. In the embodiment of the present application, the touch panel and the display panel may be integrated into the touch display screen 403 to realize input and output functions. However, in some embodiments, the touch panel and the touch panel can be implemented as two separate components to perform the input and output functions. That is, the touch display screen 403 may also be used as a part of the input unit 406 to implement an input function.
In the embodiment of the present application, a graphical user interface is generated on the touch display screen 403 by the processor 401 executing game software. The touch display screen 403 is used for presenting a graphical user interface and receiving an operation instruction generated by a user acting on the graphical user interface.
The rf circuit 404 may be used for transceiving rf signals to establish wireless communication with a network device or other electronic devices via wireless communication, and for transceiving signals with the network device or other electronic devices.
The audio circuit 405 may be used to provide an audio interface between the user and the electronic device through a speaker, microphone. The audio circuit 405 may transmit the electrical signal converted from the received audio data to a speaker, and convert the electrical signal into a sound signal for output; on the other hand, the microphone converts the collected sound signal into an electrical signal, which is received by the audio circuit 405 and converted into audio data, which is then processed by the audio data output processor 401 and then transmitted to, for example, another electronic device via the rf circuit 404, or the audio data is output to the memory 402 for further processing. The audio circuit 405 may also include an earbud jack to provide communication of a peripheral headset with the electronic device.
The input unit 406 may be used to receive input numbers, character information, or user characteristic information (e.g., fingerprint, iris, facial information, etc.), and to generate keyboard, mouse, joystick, optical, or trackball signal inputs related to user settings and function control.
The power supply 407 is used to power the various components of the electronic device 400. Optionally, the power source 407 may be logically connected to the processor 401 through a power management system, so as to implement functions of managing charging, discharging, power consumption management, and the like through the power management system. The power supply 407 may also include one or more dc or ac power sources, recharging systems, power failure detection circuitry, power converters or inverters, power status indicators, or any other component.
Although not shown in fig. 4, the electronic device 400 may further include a camera, a sensor, a wireless fidelity module, a bluetooth module, etc., which are not described in detail herein.
In the foregoing embodiments, the descriptions of the respective embodiments have respective emphasis, and for parts that are not described in detail in a certain embodiment, reference may be made to related descriptions of other embodiments.
As can be seen from the above, the electronic device provided in this embodiment may obtain the modification record of the file of the target software, and determine the update frequency of the file according to the modification record, so as to obtain the probability that the file may be modified in the future; then, compressing the files of the target software according to the update frequency of the files, and compressing the files with higher update frequency together; therefore, when the file is modified, only a few compressed files can be updated, so that the time for decompressing the file and then recompressing the file can be reduced; and when the target software is updated, less compressed files can be downloaded, and the downloading speed can be improved. Therefore, the software updating efficiency can be improved.
It will be understood by those skilled in the art that all or part of the steps of the methods of the above embodiments may be performed by instructions or by associated hardware controlled by the instructions, which may be stored in a computer readable storage medium and loaded and executed by a processor.
To this end, the present application provides a computer-readable storage medium, in which a plurality of computer programs are stored, and the computer programs can be loaded by a processor to execute the steps in any one of the software updating methods provided by the embodiments of the present application. For example, the computer program may perform the steps of:
acquiring modification records of a plurality of files of target software;
determining the update frequency of the file according to the modification record of the file, wherein the update frequency represents the probability of the modified file;
compressing the file according to the update frequency of the file to obtain a compressed package of the target software;
acquiring a plurality of update files corresponding to target software;
and updating the compressed package of the target software based on the update file so as to update the target software by using the updated compressed package.
The above operations can be implemented in the foregoing embodiments, and are not described in detail herein.
Wherein the storage medium may include: read Only Memory (ROM), Random Access Memory (RAM), magnetic or optical disks, and the like.
Since the computer program stored in the storage medium can execute the steps in any software updating method provided in the embodiments of the present application, the beneficial effects that can be achieved by any software updating method provided in the embodiments of the present application can be achieved, and detailed descriptions are omitted here for the foregoing embodiments.
The foregoing describes in detail a software updating method, an apparatus, a storage medium, and an electronic device provided in the embodiments of the present application, and a specific example is applied in the present application to explain the principles and embodiments of the present application, and the description of the foregoing embodiments is only used to help understand the method and the core ideas of the present application; meanwhile, for those skilled in the art, according to the idea of the present application, there may be variations in the specific embodiments and the application scope, and in summary, the content of the present specification should not be construed as a limitation to the present application.

Claims (12)

1. A software update method, comprising:
acquiring modification records of a plurality of files of target software;
determining the update frequency of the file according to the modification record of the file, wherein the update frequency represents the probability of the file being modified;
compressing the file according to the update frequency of the file to obtain a compressed package of the target software;
acquiring a plurality of update files corresponding to the target software;
and updating the compressed package of the target software based on the update file so as to update the target software by adopting the updated compressed package.
2. The software updating method of claim 1, wherein determining the update frequency of the file according to the modification record of the file comprises:
determining the type of the file;
and determining the update frequency of the file according to the modification record of the file and the type of the file.
3. The software updating method of claim 2, wherein the types of the file include an art resource type and a script type, the art resource type includes an art resource index subtype and an art resource subtype, and the determining the update frequency of the file according to the modification record of the file and the type of the file comprises:
when the type of the file is an art resource index subtype, determining the update frequency of the file as a first grade;
and when the type of the file is a script type or an art resource subtype, determining the update frequency of the file according to the modification record of the file.
4. The software updating method of claim 3, wherein the types of the files further include other file types, and the determining the update frequency of the files according to the modification records of the files and the types of the files comprises:
determining a directory where the file is located;
determining a directory grade corresponding to the file according to the directory where the file is located;
determining the update frequency of the file according to the modification record of the file;
and weighting the update frequency of the file based on the directory grade corresponding to the file to obtain the weighted update frequency of the file.
5. The software updating method according to any one of claims 3 to 4, wherein the modification record of the file includes modification time and modification times, and the determining the update frequency of the file according to the modification record of the file comprises:
determining a standard time difference and a time aggregation degree according to the modification time, wherein the standard time difference represents the time difference relation between the modification time of the file and the current time, and the time aggregation degree represents the aggregation degree of the modification time of the file;
when the modification times are not less than preset modification times and the standard time difference is not greater than a preset time difference threshold value, determining the update frequency of the file as a first level;
when the modification times are not less than the preset modification times and the standard time difference is greater than the preset time difference threshold, determining the update frequency of the file as a second level;
when the time aggregation degree is within a preset time aggregation degree range, determining the update frequency of the file as a third level;
and when the modification times are smaller than the preset modification times, determining the update frequency of the file according to the standard time difference and the preset time difference threshold.
6. The software updating method according to claim 1, wherein the compressing the file according to the update frequency of the file to obtain the compressed package of the target software comprises:
sorting the files according to the update frequency of the files to obtain sorted files;
and compressing the sequenced files to obtain a compressed package of the target software.
7. The software updating method according to claim 6, wherein the compressed package of the target software includes a plurality of compressed files, and the compressing the sorted files to obtain the compressed package of the target software comprises:
determining a size threshold of a compressed file according to a network environment;
compressing the sorted files into a plurality of compressed files based on the compressed file size threshold.
8. The software updating method of claim 1, wherein said updating the compressed package of the target software based on the update file to update the target software with the updated compressed package comprises:
when the compressed package of the target software has the compressed file corresponding to the updated file, updating the compressed file corresponding to the updated file based on the updated file to obtain an updated compressed file;
when the compressed package of the target software does not have the compressed file corresponding to the updated file, generating a new compressed file according to the updated file;
and uploading the updated compressed file and the new compressed file so that the client updates the target software based on the updated compressed file and the new compressed file.
9. The software updating method of claim 8, wherein said obtaining a plurality of update files further comprises:
acquiring file information of the updated file;
the updating the compressed file corresponding to the update file based on the update file further comprises:
acquiring file information of a compressed file corresponding to the updated file;
generating an update guide file based on the file information of the compressed file corresponding to the update file and the file information of the update file;
and uploading the update guide file so that the client can download the updated compressed file and the new compressed file according to the update guide file.
10. A software update apparatus, comprising:
the first acquisition unit is used for acquiring modification records of a plurality of files of the target software;
the determining unit is used for determining the update frequency of the file according to the modification record of the file, and the update frequency represents the probability of the file being modified;
the compression unit is used for compressing the file according to the update frequency of the file to obtain a compression package of the target software;
the second acquisition unit is used for acquiring a plurality of update files corresponding to the target software;
and the updating unit is used for updating the compressed package of the target software based on the updating file so as to update the target software by adopting the updated compressed package.
11. An electronic device comprising a processor and a memory, the memory storing a plurality of instructions; the processor loads instructions from the memory to perform the steps of the software update method according to any one of claims 1 to 9.
12. A computer readable storage medium storing instructions adapted to be loaded by a processor to perform the steps of the software updating method according to any one of claims 1 to 9.
CN202110918030.0A 2021-08-11 2021-08-11 Software updating method, device, electronic equipment and storage medium Active CN113568645B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110918030.0A CN113568645B (en) 2021-08-11 2021-08-11 Software updating method, device, electronic equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110918030.0A CN113568645B (en) 2021-08-11 2021-08-11 Software updating method, device, electronic equipment and storage medium

Publications (2)

Publication Number Publication Date
CN113568645A true CN113568645A (en) 2021-10-29
CN113568645B CN113568645B (en) 2023-09-12

Family

ID=78171216

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110918030.0A Active CN113568645B (en) 2021-08-11 2021-08-11 Software updating method, device, electronic equipment and storage medium

Country Status (1)

Country Link
CN (1) CN113568645B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TWI805158B (en) * 2021-12-29 2023-06-11 威聯通科技股份有限公司 Management method and management system used for reducing version dependency

Citations (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101655877A (en) * 2008-10-14 2010-02-24 北京大学 Method and device for packing and extracting files
WO2011067343A2 (en) * 2009-12-04 2011-06-09 St-Ericsson (France) Sas Method of and apparatus for providing a logical view of data stored in an non-volatile memory
US20120054730A1 (en) * 2010-08-27 2012-03-01 Canon Kabushiki Kaisha Image processing apparatus capable of reducing time required to update software, method of controlling the same, information processing system, and storage medium
US20140013006A1 (en) * 2012-07-05 2014-01-09 Nokia Corporation Method and apparatus for modifying compressed files
CN103559139A (en) * 2013-10-23 2014-02-05 华为技术有限公司 Data storage method and device
CN104508636A (en) * 2012-07-31 2015-04-08 英派尔科技开发有限公司 Parting data to improve system performance
US20160092196A1 (en) * 2013-03-15 2016-03-31 Oracle International Corporation Deployment and activation of updates on target hosts
US20160188316A1 (en) * 2014-12-31 2016-06-30 Guangzhou Ucweb Computer Technology Co., Ltd. Method and apparatus for software update management
CN106897103A (en) * 2017-03-03 2017-06-27 广州四三九九信息科技有限公司 A kind of method that fast speed heat of mobile terminal online game version updates
WO2017157178A1 (en) * 2016-03-15 2017-09-21 阿里巴巴集团控股有限公司 Mobile terminal application update method and device
CN108427539A (en) * 2018-03-15 2018-08-21 深信服科技股份有限公司 Offline duplicate removal compression method, device and the readable storage medium storing program for executing of buffer memory device data
CN108958663A (en) * 2018-07-23 2018-12-07 南京叠嘉信息科技有限公司 Data read-write method based on hard disk and CD mixing storage system
CN109522041A (en) * 2018-10-15 2019-03-26 网易(杭州)网络有限公司 Client resource update method, device, processor, server and terminal
CN109697071A (en) * 2017-10-24 2019-04-30 腾讯科技(深圳)有限公司 Installation kit synthetic method, device, terminal and storage medium

Patent Citations (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101655877A (en) * 2008-10-14 2010-02-24 北京大学 Method and device for packing and extracting files
WO2011067343A2 (en) * 2009-12-04 2011-06-09 St-Ericsson (France) Sas Method of and apparatus for providing a logical view of data stored in an non-volatile memory
US20120054730A1 (en) * 2010-08-27 2012-03-01 Canon Kabushiki Kaisha Image processing apparatus capable of reducing time required to update software, method of controlling the same, information processing system, and storage medium
US20140013006A1 (en) * 2012-07-05 2014-01-09 Nokia Corporation Method and apparatus for modifying compressed files
CN104508636A (en) * 2012-07-31 2015-04-08 英派尔科技开发有限公司 Parting data to improve system performance
US20160092196A1 (en) * 2013-03-15 2016-03-31 Oracle International Corporation Deployment and activation of updates on target hosts
CN103559139A (en) * 2013-10-23 2014-02-05 华为技术有限公司 Data storage method and device
US20160188316A1 (en) * 2014-12-31 2016-06-30 Guangzhou Ucweb Computer Technology Co., Ltd. Method and apparatus for software update management
WO2017157178A1 (en) * 2016-03-15 2017-09-21 阿里巴巴集团控股有限公司 Mobile terminal application update method and device
CN106897103A (en) * 2017-03-03 2017-06-27 广州四三九九信息科技有限公司 A kind of method that fast speed heat of mobile terminal online game version updates
CN109697071A (en) * 2017-10-24 2019-04-30 腾讯科技(深圳)有限公司 Installation kit synthetic method, device, terminal and storage medium
CN108427539A (en) * 2018-03-15 2018-08-21 深信服科技股份有限公司 Offline duplicate removal compression method, device and the readable storage medium storing program for executing of buffer memory device data
CN108958663A (en) * 2018-07-23 2018-12-07 南京叠嘉信息科技有限公司 Data read-write method based on hard disk and CD mixing storage system
CN109522041A (en) * 2018-10-15 2019-03-26 网易(杭州)网络有限公司 Client resource update method, device, processor, server and terminal

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TWI805158B (en) * 2021-12-29 2023-06-11 威聯通科技股份有限公司 Management method and management system used for reducing version dependency

Also Published As

Publication number Publication date
CN113568645B (en) 2023-09-12

Similar Documents

Publication Publication Date Title
US11169827B2 (en) Resource loading at application startup using attributes of historical data groups
CN106775637B (en) Page display method and device for application program
CN107545404B (en) Bill reminding method and device
CN112114849B (en) Resource updating method and device
CN110035120A (en) Information push method, device, electronic equipment and storage medium
US20220334815A1 (en) Accelerating application and sub-package installations
CN114356927A (en) Data storage method and device, computer equipment and storage medium
CN113034189A (en) Attribution method, attribution device, computer equipment and storage medium
CN113568645B (en) Software updating method, device, electronic equipment and storage medium
CN109062469B (en) Split screen display method and device, storage medium and electronic equipment
CN114237743A (en) Interface loading method and device, electronic equipment and storage medium
CN112044061B (en) Game picture processing method and device, electronic equipment and storage medium
CN114238223A (en) Picture removing method and device, computer equipment and computer readable storage medium
CN114090911A (en) Interface processing method and device, computer equipment and computer readable storage medium
CN114676371A (en) Page element information replacement method and device, computer equipment and storage medium
CN112138397A (en) Trigger management method and device, computer equipment and storage medium
CN115098456B (en) File processing method and device, storage medium and electronic equipment
CN113934453B (en) Risk detection method, risk detection device and storage medium
CN113110868B (en) File merging method, device, computer equipment and storage medium
CN111104566B (en) Feature index encoding method, device, electronic equipment and storage medium
US10268715B2 (en) Systems and methods for data processing
CN106970814B (en) Processing method, device and system for software upgrading
CN117971260A (en) Application updating method, device, computer equipment and storage medium
CN113996066A (en) Game application updating method and device, storage medium and computer equipment
CN112905563A (en) Processing method and device of sign-in data, storage medium and computer equipment

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