Resource hot update method based on version number management

A version number and hot update technology, applied in version control, software maintenance/management, software deployment, etc., can solve the problems of unable to update code, too much file content, and only update resources, etc., to save traffic costs and avoid audits , to avoid the effect of being unable to go online

Pending Publication Date: 2021-03-30
苏州风之力网络科技有限公司
View PDF0 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] At present, a complete version of the information list must be downloaded each time. This file is often relatively large, and the content of the file is too large, w

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Resource hot update method based on version number management

Examples

Experimental program
Comparison scheme
Effect test

Embodiment

[0030] Such as figure 1 As shown, a resource hot update method based on version number management includes the following steps:

[0031] Step 1: After the client starts the game, it requests data version information from the background;

[0032] Step 2: If the local version is smaller than the background version, determine whether the major version of the local version and the background version are the same;

[0033] Step 31: If the major versions are different, you need to download all version information;

[0034] Step 41: Merge all the version information, and compare the local version information with the background version information, if the Md5 values ​​are different, add the file to the update file list;

[0035] Step 32: If the major versions are the same, only the minor version information needs to be downloaded;

[0036] Step 42: compare the local version information with the background version information, if the Md5 values ​​are different, add the file to the ...

Embodiment 1

[0044] On the basis of the foregoing embodiments, the specific operation steps are as follows:

[0045] 1. Data management and distribution of version resources

[0046] A) In the project, taking the Android version as an example, three directories will be created first, namely Android, AndroidBase and Export directories;

[0047] B) Android contains a Versions file, which records the version information of all files;

[0048] C) The directory structure of AndroidBase is consistent with the Android structure, but it records the file information of the starting point of the large version;

[0049] D) The exported differential version information is stored in the Export directory;

[0050] 2. Generation of updated resources

[0051] A) Click Package -> Incremental Production Resource Pack;

[0052] B) After making the complete resource package, all resource information in the game will be generated in the Android directory;

[0053] C) If the basic version has not been made...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

PUM

No PUM Login to view more

Abstract

The invention relates to a resource hot update method based on version number management, which comprises the following steps: 1, after a client starts a game, requesting data version information froma background; 2, if the local version is smaller than the background version, judging whether the large versions of the local version and the background version are the same or not; 31, if the largeversion is different, needing to download all version information; 32, if the large version is the same, only downloading small version information; 42, comparing the local version information with the background version information, and if the Md5 values are different, adding the file into an update file list; 5, downloading files according to the update file list; 6, after all the updating filesare downloaded, modifying local version information and background version information, and modifying the local version number and the background version number; and 7, entering a game. According tothe method, the problem that all version information needs to be downloaded every time is avoided in a mode of large and small version information.

Description

technical field [0001] The invention relates to a resource hot update method based on version number management. Background technique [0002] Hot update is a common update method for many mobile games and other apps. To put it simply, it is the instant update encountered when the user opens the app after downloading and installing the app. Hot update can update various content such as resources, codes, and configuration files in the game. It can fix bugs and update game content versions. Hot update can also dynamically deliver code, which allows developers to fix bugs and release functions without releasing a new version, allowing developers to bypass the platform's review mechanism, avoiding long-term review waiting and version rejection resulting in inability to go online. [0003] In the early stage of mobile game development, a new version of the game is usually released in the form of a full version release. This method will need to pass the review of the platform,...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

Application Information

Patent Timeline
no application Login to view more
IPC IPC(8): G06F8/65G06F8/61G06F8/71
CPCG06F8/61G06F8/65G06F8/71
Inventor 董远胜孙正伟张永刚
Owner 苏州风之力网络科技有限公司
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products