CN106790432A - Method and device for updating software - Google Patents
Method and device for updating software Download PDFInfo
- Publication number
- CN106790432A CN106790432A CN201611103199.6A CN201611103199A CN106790432A CN 106790432 A CN106790432 A CN 106790432A CN 201611103199 A CN201611103199 A CN 201611103199A CN 106790432 A CN106790432 A CN 106790432A
- Authority
- CN
- China
- Prior art keywords
- software
- updated
- update
- data
- version number
- 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
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/01—Protocols
- H04L67/06—Protocols specially adapted for file transfer, e.g. file transfer protocol [FTP]
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F8/00—Arrangements for software engineering
- G06F8/60—Software deployment
- G06F8/65—Updates
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/34—Network arrangements or protocols for supporting network services or applications involving the movement of software or configuration parameters
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/50—Network services
- H04L67/56—Provisioning of proxy services
- H04L67/568—Storing data temporarily at an intermediate stage, e.g. caching
- H04L67/5683—Storage of data provided by user terminals, i.e. reverse caching
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Software Systems (AREA)
- General Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Computer Security & Cryptography (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Information Transfer Between Computers (AREA)
- Stored Programmes (AREA)
Abstract
Description
技术领域technical field
本发明涉及计算机技术领域,特别是涉及一种软件更新方法及装置。The invention relates to the technical field of computers, in particular to a software updating method and device.
背景技术Background technique
在软件研发领域,版本热更新为必不可少的功能,版本热更新是指软件可在线更新,无需重新下载客户端,只需下载资料包,即可完成版本更新。对于游戏软件,其版本更新通常包括游戏数据、美术资源及功能代码,游戏数据是指游戏中需要使用到的各类型定义数据,如物品信息、角色属性等,美术资源是指游戏中的地图、人物模型及各种UI画面,功能代码是指游戏中各种功能的实现代码。In the field of software research and development, version hot update is an indispensable function. Version hot update means that the software can be updated online without re-downloading the client, and only need to download the data package to complete the version update. For game software, its version update usually includes game data, art resources and function codes. Game data refers to various types of definition data that need to be used in the game, such as item information, character attributes, etc. Art resources refer to maps, Character models and various UI screens, function codes refer to the implementation codes of various functions in the game.
对于游戏软件版本热更新功能,其设计、操作、管理难度较高,具体原因如下:版本热更新频率较高,为让玩家保持新鲜感,在游戏运营过程中,会按照一定的周期进行内容更新,不断推出新的游戏内容,另外,会根据游戏过程中的反馈进行数据方面的优化调整;版本热更新主要用于生成环境,每次更新都是直接面对玩家,因此需要保证热更新的流程准确无误,尤其要确保流程的可控性,避免热更新流程中因人为错误而导致的问题;版本热更新牵涉的人员较广,热更新涉及多个部分,如游戏数据、美术资源、功能代码,在开发过程中,各部分分属不同的人员进行开发管理。For the game software version hot update function, its design, operation, and management are difficult. The specific reasons are as follows: the version hot update frequency is high. In order to keep players fresh, content updates will be carried out according to a certain period during the game operation process. , constantly launching new game content, in addition, data optimization and adjustment will be carried out according to the feedback during the game process; the version hot update is mainly used for the generation environment, and each update is directly facing the player, so it is necessary to ensure the hot update process Accurate, especially to ensure the controllability of the process, to avoid problems caused by human errors in the hot update process; the version hot update involves a lot of people, hot update involves multiple parts, such as game data, art resources, function codes , in the development process, each part belongs to different personnel for development management.
如何采用统一的更新提交接口提交更新数据,且简便、可控地进行软件更新,是游戏软件版本热更新亟待解决的问题之一。How to use a unified update submission interface to submit update data and perform software updates in a simple and controllable manner is one of the problems to be solved urgently in hot update of game software versions.
发明内容Contents of the invention
本发明主要解决的技术问题是提供一种软件更新方法及装置,能够采用统一的更新提交接口提交更新数据,且简便、可控地进行软件热更新。The technical problem mainly solved by the present invention is to provide a software update method and device, which can submit update data through a unified update submission interface, and perform software hot update in a simple and controllable manner.
为解决上述技术问题,本发明提供一种软件更新方法,包括以下步骤:获取SVN服务器中更新后的软件数据;将更新后的软件数据与本地软件数据进行比对,以筛选与本地软件数据存在差异的文件;将存在差异的文件进行分割打包;将分割打包后的包文件发送至缓存端,并记录存在差异的文件的文件信息;根据发布指令更新软件版本号,软件版本号与包文件对应;当软件版本号更新后,根据待更新端的请求发送文件信息和包文件,以实现待更新端软件的热更新。In order to solve the above-mentioned technical problems, the present invention provides a method for updating software, comprising the steps of: obtaining updated software data in the SVN server; comparing the updated software data with local software data, to screen for the presence of local software data. Different files; divide and package the files with differences; send the divided and packaged package files to the cache end, and record the file information of the files with differences; update the software version number according to the release instruction, and the software version number corresponds to the package file ; When the software version number is updated, send the file information and package file according to the request of the terminal to be updated, so as to realize the hot update of the software of the terminal to be updated.
其中,更新后的软件数据采用SVN服务器的提交接口进行数据提交。Wherein, the updated software data adopts the submission interface of the SVN server for data submission.
其中,缓存端为内容分发网络。Wherein, the cache end is a content delivery network.
其中,待更新端为客户端或服务器端。Wherein, the terminal to be updated is a client or a server.
其中,当软件版本号更新后,根据待更新端的请求发送文件信息和包文件,以实现待更新端软件的热更新的步骤包括:当软件版本号更新后,发送软件版本号更新消息至服务器端;根据服务器端的请求返回软件版本号、文件信息及包文件,以实现服务器端软件的热更新。Wherein, when the software version number is updated, send file information and package files according to the request of the terminal to be updated, so as to realize the hot update of the software at the terminal to be updated. The steps include: after the software version number is updated, sending a software version number update message to the server ; Return the software version number, file information and package file according to the request from the server to realize the hot update of the server software.
为解决上述技术问题,本发明提供一种软件更新装置,包括:获取模块,用于获取SVN服务器中更新后的软件数据;比对模块,用于将更新后的软件数据与本地软件数据进行比对,以筛选与本地软件数据存在差异的文件;打包模块,用于将存在差异的文件进行分割打包;发送记录模块,用于将分割打包后的包文件发送至缓存端,并记录存在差异的文件的文件信息;更新模块,用于根据发布指令更新软件版本号,软件版本号与包文件对应;发送模块,用于当软件版本号更新后,根据待更新端的请求发送文件信息和包文件,以实现待更新端软件的热更新。In order to solve the above technical problems, the present invention provides a software update device, including: an acquisition module, used to acquire updated software data in the SVN server; a comparison module, used to compare the updated software data with local software data Yes, to filter files that are different from the local software data; the packaging module is used to divide and package the files with differences; the sending record module is used to send the divided and packaged package files to the cache end, and record the differences The file information of the file; the update module is used to update the software version number according to the release instruction, and the software version number corresponds to the package file; the sending module is used to send the file information and the package file according to the request of the terminal to be updated after the software version number is updated, In order to realize the hot update of the terminal software to be updated.
其中,更新后的软件数据采用SVN服务器的提交接口进行数据提交。Wherein, the updated software data adopts the submission interface of the SVN server for data submission.
其中,待更新端为客户端或服务器端。Wherein, the terminal to be updated is a client or a server.
其中,发送模块包括:发送单元,用于当软件版本号更新后,发送软件版本号更新消息至服务器端;返回单元,用于根据服务器端的请求返回软件版本号、文件信息及包文件,以实现服务器端软件的热更新。Wherein, the sending module includes: a sending unit, used to send a software version number update message to the server after the software version number is updated; a return unit, used to return the software version number, file information and package files according to the request of the server side, to realize Hot update of server-side software.
为解决上述技术问题,本发明提供一种软件更新系统,包括上述软件更新装置和用于存储更新后的软件数据的SVN服务器。In order to solve the above-mentioned technical problems, the present invention provides a software update system, including the above-mentioned software update device and an SVN server for storing updated software data.
本发明的有益效果是:区别于现有技术的情况,本发明的软件更新方法具体为:首先获取SVN服务器中更新后的软件数据,其中,更新后的软件数据采用SVN服务器的提交接口进行数据提交;然后将更新后的软件数据与本地软件数据进行比对,以筛选与本地软件数据存在差异的文件,将存在差异的文件进行分割打包,将分割打包后的包文件发送至缓存端,并记录存在差异的文件的文件信息;最后根据发布指令更新软件版本号,其中,软件版本号与包文件对应,当软件版本号更新后,根据待更新端的请求发送文件信息和包文件,以实现待更新端软件的热更新。通过上述方式,本发明软件更新简便、可控,满足游戏软件版本热更新频率高的要求,减少热更新过程中的人为操作;利用SVN服务器的提交接口进行更新后的软件数据的提交,由于提交接口统一,可确保更新后的软件数据的可靠性。The beneficial effects of the present invention are: different from the situation of the prior art, the software update method of the present invention is specifically: first obtain the updated software data in the SVN server, wherein, the updated software data adopts the submission interface of the SVN server for data processing. Submit; then compare the updated software data with the local software data to screen files that are different from the local software data, divide and package the files with differences, send the divided and packaged package files to the cache end, and Record the file information of the files with differences; finally, update the software version number according to the release instruction, where the software version number corresponds to the package file. When the software version number is updated, send the file information and package file according to the request of the terminal to be updated, to realize the Hot update of updater software. Through the above method, the software update of the present invention is simple and controllable, meets the requirement of high hot update frequency of the game software version, and reduces human operations in the hot update process; the submission interface of the SVN server is used to submit the updated software data, due to the submission The unified interface can ensure the reliability of updated software data.
附图说明Description of drawings
图1是本发明软件更新方法一实施例的流程示意图;Fig. 1 is a schematic flow chart of an embodiment of the software update method of the present invention;
图2是本发明软件更新装置一实施例的结构示意图。Fig. 2 is a schematic structural diagram of an embodiment of a software updating device of the present invention.
具体实施方式detailed description
下面结合附图和实施例对本发明进行详细说明。The present invention will be described in detail below in conjunction with the accompanying drawings and embodiments.
请参阅图1,图1是本发明软件更新方法一实施例的流程示意图,如图1所示,包括以下步骤:Please refer to FIG. 1. FIG. 1 is a schematic flow chart of an embodiment of the software update method of the present invention, as shown in FIG. 1, including the following steps:
S11,获取SVN服务器中更新后的软件数据。S11, acquiring updated software data in the SVN server.
本实施例方法由游戏软件版本热更新平台实现,为基于SVN (Subversion )管理的游戏软件版本热更新方法。在本实施例中,更新后的软件数据采用SVN服务器的提交接口进行数据提交。The method of this embodiment is realized by the game software version hot update platform, and is a game software version hot update method based on SVN (Subversion) management. In this embodiment, the updated software data is submitted through the submission interface of the SVN server.
对于软件版本热更新,其首要要求为低出错率,因为生成环境上的错误,都会导致重大的运营事故。利用SVN作为更新资料的管理,可避免更新资料的出错,原因主要有:不同资料提供者均对SVN的使用非常熟悉,减少因为使用不熟悉的工具所造成的人为错误;利用SVN同步机制,可防止不同资料提供者对同一份资料修改导致的信息覆盖错误;利用SVN版本控制特性,可以很方便的进行历史版本的回溯,对于资料更新错误,可以很方便地进行查找;SVN作为成熟的版本管理,稳定性非常高,可增加版本热更新的稳定性。For software version hot updates, the primary requirement is a low error rate, because errors in the production environment will lead to major operational accidents. Utilizing SVN as the management of updated data can avoid errors in updating data. The main reasons are: different data providers are very familiar with the use of SVN, reducing human errors caused by using unfamiliar tools; using the SVN synchronization mechanism can Prevent information overwriting errors caused by different data providers modifying the same data; use the SVN version control feature, you can easily trace back the historical version, and you can easily search for data update errors; SVN is a mature version management , the stability is very high, which can increase the stability of version hot update.
对于更新后的软件数据,其提交过程具体为:资料发布者通过本地的SVN客户端连接到SVN服务器,首先更新最新的资料库到本地,以确保本地和SVN服务器资料的同步,然后把需要更新的资料文件拷贝到本地资料存放目录,根据预先设定好的目录进行存放,该目录可根据游戏的不同自行设定,再者利用SVN客户端的比对功能,进行资料检查,确认资料更新的正确性,最后确认更新资料正确后,向SVN服务器进行提交,SVN服务器对更新后的软件数据进行存储。在提交过程中,若部分资料无法提交,则表明有资料文件冲突,需重新更新资料,并自行进行资料的合并。For the updated software data, the submission process is as follows: the data publisher connects to the SVN server through the local SVN client, first updates the latest database to the local to ensure the synchronization of the local and SVN server data, and then updates the required data Copy the data files to the local data storage directory, and store them according to the preset directory. The directory can be set according to the game, and then use the comparison function of the SVN client to check the data to confirm the correctness of the data update. Finally, after confirming that the updated data is correct, submit it to the SVN server, and the SVN server will store the updated software data. During the submission process, if some materials cannot be submitted, it means that there is a data file conflict, and the materials need to be updated and merged by themselves.
S12,将更新后的软件数据与本地软件数据进行比对,以筛选与本地软件数据存在差异的文件。S12. Comparing the updated software data with the local software data, so as to screen files that are different from the local software data.
S13,将存在差异的文件进行分割打包。S13, dividing and packaging the files with differences.
S14,将分割打包后的包文件发送至缓存端,并记录存在差异的文件的文件信息。S14. Send the divided and packaged package files to the cache end, and record the file information of the files with differences.
游戏软件的版本发布由管理者进行管理,当更新资料提交完毕,管理者发出版本生成指令,此时生成的版本为可发布版本,但不立即发布。版本生成的过程具体为:当管理者发出版本生成指令后,游戏软件版本热更新平台获取SVN服务器中更新后的软件数据;将更新后的软件数据与本地软件数据进行比对,以筛选与本地软件数据存在差异的文件,即筛选出所有有变更的文件,该筛选出来的文件为后续版本包生成材料;存在差异的文件筛选出来后,自动对其进行分割打包,具体打包成便于下载的压缩文件;将打包后的包文件传输至缓存端,以备下载;包文件传输至缓存端后,记录存在差异的文件的文件信息。The version release of the game software is managed by the manager. When the update data is submitted, the manager issues a version generation instruction. The version generated at this time is a releasable version, but it will not be released immediately. The process of version generation is as follows: when the manager issues a version generation instruction, the game software version hot update platform obtains the updated software data in the SVN server; compares the updated software data with the local software data to screen For files with differences in software data, all files with changes are screened out, and the screened files are used to generate materials for subsequent version packages; after files with differences are screened out, they are automatically divided and packaged, and specifically packaged into compressed files for easy download file; transfer the packaged package file to the cache end for download; after the package file is transmitted to the cache end, record the file information of the files with differences.
在本实施例中,缓存端为内容分发网络(Content Delivery Network,CDN)。In this embodiment, the cache end is a content delivery network (Content Delivery Network, CDN).
S15,根据发布指令更新软件版本号,软件版本号与包文件对应。S15. Update the software version number according to the release instruction, where the software version number corresponds to the package file.
管理者接收到版本生成完成的消息后,具体为通过邮件的方式接收,可根据游戏的需要进行版本发布。管理者登录游戏软件版本热更新平台,可查看所有版本信息列表,选择需发布的版本,发出发布指令,则平台根据发布指令更新软件版本号。对于发布,只能发布最新的版本,发布旧版本无效。After the administrator receives the message that the version generation is completed, it will be received by email, and the version can be released according to the needs of the game. The administrator logs in to the game software version hot update platform, can view a list of all version information, select the version to be released, and issue a release instruction, and the platform will update the software version number according to the release instruction. For publishing, only the latest version can be published, and the old version is invalid.
管理者可对版本信息列表进行操作,具体为可以进行版本的删除、信息修改、发布等操作。The manager can operate on the version information list, specifically, can perform operations such as version deletion, information modification, and release.
S16,当软件版本号更新后,根据待更新端的请求发送文件信息和包文件,以实现待更新端软件的热更新。S16. After the software version number is updated, send the file information and the package file according to the request of the terminal to be updated, so as to realize the hot update of the software of the terminal to be updated.
当更新软件版本号后,则表示进入新版本的待更新状态,在本实施例中,待更新端为客户端或服务器端。When the software version number is updated, it indicates that the new version is in the state to be updated. In this embodiment, the terminal to be updated is the client or the server.
对于游戏客户端,属于主动更新模式,当玩家通过游戏客户端登入游戏时,获取更新后的软件版本号,若获取的软件版本号比客户端记录的版本更高,则请求获取文件信息和包文件,进行软件的热更新。For the game client, it belongs to the active update mode. When the player logs in the game through the game client, the updated software version number is obtained. If the obtained software version number is higher than the version recorded by the client, the file information and package file for hot update of the software.
对于游戏服务器端,属于被动更新模式,当软件版本号更新后,游戏软件版本热更新平台发送软件版本号更新消息至服务器端,服务器端接收到消息后,请求获取软件版本号、文件信息及包文件,进行软件的热更新。For the game server side, it belongs to the passive update mode. When the software version number is updated, the game software version hot update platform sends a software version number update message to the server side. After receiving the message, the server side requests to obtain the software version number, file information and package information. file for hot update of the software.
以上所述,本实施例软件更新方法简便、可控,满足游戏软件版本热更新频率高的要求,减少热更新过程中的人为操作;利用SVN服务器的提交接口进行更新后的软件数据的提交,由于提交接口统一,可确保更新后的软件数据的可靠性。As mentioned above, the software update method of this embodiment is simple and controllable, meets the high requirement of hot update frequency of the game software version, and reduces human operations in the hot update process; utilizes the submission interface of the SVN server to submit the updated software data, Due to the uniform submission interface, the reliability of updated software data can be ensured.
请参阅图2,图2是本发明软件更新装置一实施例的结构示意图,如图2所示,包括:获取模块21、比对模块22、打包模块23、发送记录模块24、更新模块25及发送模块26。Please refer to Fig. 2, Fig. 2 is a structural representation of an embodiment of the software updating device of the present invention, as shown in Fig. Send module 26.
上述各模块的功能具体如下:The functions of the above modules are as follows:
获取模块21用于获取SVN服务器中更新后的软件数据;比对模块22用于将更新后的软件数据与本地软件数据进行比对,以筛选与本地软件数据存在差异的文件;打包模块23用于将存在差异的文件进行分割打包;发送记录模块24用于将分割打包后的包文件发送至缓存端,并记录存在差异的文件的文件信息;更新模块25用于根据发布指令更新软件版本号,软件版本号与包文件对应;发送模块26用于当软件版本号更新后,根据待更新端的请求发送文件信息和包文件,以实现待更新端软件的热更新。Obtaining module 21 is used for obtaining the updated software data in the SVN server; Comparison module 22 is used for comparing the updated software data with the local software data, so as to screen files that differ from the local software data; Packing module 23 uses The files with differences are divided and packed; the sending recording module 24 is used to send the package files after the splits and packages to the cache end, and records the file information of the files with differences; the update module 25 is used to update the software version number according to the release instruction , the software version number corresponds to the package file; the sending module 26 is used to send the file information and the package file according to the request of the terminal to be updated after the software version number is updated, so as to realize the hot update of the terminal software to be updated.
在本实施例中,更新后的软件数据采用SVN服务器的提交接口进行数据提交。对于更新后的软件数据,其提交过程具体为:资料发布者通过本地的SVN客户端连接到SVN服务器,首先更新最新的资料库到本地,以确保本地和SVN服务器资料的同步,然后把需要更新的资料文件拷贝到本地资料存放目录,根据预先设定好的目录进行存放,该目录可根据游戏的不同自行设定,再者利用SVN客户端的比对功能,进行资料检查,确认资料更新的正确性,最后确认更新资料正确后,向SVN服务器进行提交,SVN服务器对更新后的软件数据进行存储。在提交过程中,若部分资料无法提交,则表明有资料文件冲突,需重新更新资料,并自行进行资料的合并。In this embodiment, the updated software data is submitted through the submission interface of the SVN server. For the updated software data, the submission process is as follows: the data publisher connects to the SVN server through the local SVN client, first updates the latest database to the local to ensure the synchronization of the local and SVN server data, and then updates the required data Copy the data files to the local data storage directory, and store them according to the preset directory. The directory can be set according to the game, and then use the comparison function of the SVN client to check the data to confirm the correctness of the data update. Finally, after confirming that the updated data is correct, submit it to the SVN server, and the SVN server will store the updated software data. During the submission process, if some materials cannot be submitted, it means that there is a data file conflict, and the materials need to be updated and merged by themselves.
在本实施例中,游戏软件的版本发布由管理者进行管理,当更新资料提交完毕,管理者发出版本生成指令,当管理者发出版本生成指令后,获取模块21、比对模块22、打包模块23、发送记录模块24依次进行工作,以完成软件版本的生成。软件版本生成后,管理者发出发布指令,更新模块25根据发布指令更新软件版本号,当更新软件版本号后,则表示进入新版本的待更新状态。在本实施例中,待更新端为客户端或服务器端,由发送模块26发送文件信息和包文件至待更新端,以实现待更新端软件的热更新。In this embodiment, the version release of the game software is managed by the manager. When the update data is submitted, the manager issues a version generation instruction. After the manager sends the version generation instruction, the acquisition module 21, the comparison module 22, and the packaging module 23. The sending and recording module 24 works sequentially to complete the generation of the software version. After the software version is generated, the manager issues a release instruction, and the update module 25 updates the software version number according to the release instruction. When the software version number is updated, it indicates that the new version has entered the state to be updated. In this embodiment, the terminal to be updated is a client or a server, and the sending module 26 sends file information and package files to the terminal to be updated, so as to realize hot update of the software of the terminal to be updated.
对于游戏客户端,属于主动更新模式,当玩家通过游戏客户端登入游戏时,获取更新后的软件版本号,若获取的软件版本号比客户端记录的版本更高,则请求获取文件信息和包文件,进行软件的热更新。For the game client, it belongs to the active update mode. When the player logs in the game through the game client, the updated software version number is obtained. If the obtained software version number is higher than the version recorded by the client, the file information and package file for hot update of the software.
对于游戏服务器端,属于被动更新模式,其更新过程为:发送模块26包括发送单元(图未示)和返回单元(图未示);发送单元用于当软件版本号更新后,发送软件版本号更新消息至服务器端;返回单元用于根据服务器端的请求返回软件版本号、文件信息及包文件,以实现服务器端软件的热更新。For the game server end, it belongs to the passive update mode, and its update process is: the sending module 26 includes a sending unit (not shown) and a return unit (not shown); the sending unit is used to send the software version number after the software version number is updated The update message is sent to the server side; the return unit is used to return the software version number, file information and package file according to the request of the server side, so as to realize the hot update of the server side software.
在本实施例中,缓存端为内容分发网络。In this embodiment, the cache end is a content delivery network.
本发明的软件更新系统包括图2所示实施例的装置和用于存储更新后的软件数据的SVN服务器。The software update system of the present invention includes the device of the embodiment shown in FIG. 2 and an SVN server for storing updated software data.
下面通过一具体实施例来详细阐述本发明的软件更新系统。The software update system of the present invention will be described in detail below through a specific embodiment.
软件更新系统包括SVN系统、版本生成系统、版本管理系统、版本分发系统,其中,SVN系统对应SVN服务器,版本生成系统、版本管理系统、版本分发系统对应游戏软件版本热更新平台或图2所示实施例的装置。The software update system includes the SVN system, version generation system, version management system, and version distribution system, wherein the SVN system corresponds to the SVN server, and the version generation system, version management system, and version distribution system correspond to the game software version hot update platform or as shown in Figure 2 Example device.
SVN系统用于做资料的存储和管理,其为资料上传提交的入口,也为版本生成系统的入口。The SVN system is used for data storage and management. It is the entrance for data upload and submission, and also the entrance for the version generation system.
版本生成系统由比对子系统、打包子系统、版本记录子系统组成。对比子系统的作用是完成2个不同版本之间的文件差异性比对,筛选出差异性文件,该差异性文件是用于更新的元素。打包子系统则是把筛选出的差异性文件进行分割打包,分割打包的作用是提供更好的下载服务,因为过小的更新包会给更新带来大量的连接损耗,而过大的更新包则容易出现下载失败。版本记录子系统则是为后续版本发布做准备,提供更新信息给待更新端。版本生成系统生成的版本为预发布,使得软件更新系统有足够的时间完成发布部署。版本生成系统利用自动比对机制,替代一般使用人工进行更新文件的筛选,极大地减少人工操作可能带来的错误。The version generation system consists of a comparison subsystem, a packaging subsystem, and a version recording subsystem. The function of the comparison subsystem is to complete the comparison of file differences between two different versions, and filter out the difference files, which are elements used for updating. The packaging subsystem is to divide and package the selected differential files. The function of dividing and packaging is to provide better download services, because too small update packages will bring a lot of connection loss to the update, and too large update packages It is prone to download failure. The version record subsystem prepares for the release of subsequent versions and provides update information to the terminal to be updated. The version generated by the version generation system is pre-release, so that the software update system has enough time to complete the release deployment. The version generation system uses an automatic comparison mechanism to replace the manual screening of update files, which greatly reduces the possible errors caused by manual operations.
版本管理系统用于管理者对已发布和未发布的版本进行管理,管理者还可进行其他操作,如小包管理等。The version management system is used by managers to manage released and unreleased versions, and managers can also perform other operations, such as small package management.
版本分发系统用于面向待更新端,包括版本获取接口和缓存端,版本获取接口提供软件版本号、文件信息获取功能,缓存端为内容分发网络。版本获取接口可统一对接不同异构装置的更新信息获取接口,能够对接任何开发语言或系统。The version distribution system is used to face the terminal to be updated, including a version acquisition interface and a cache terminal. The version acquisition interface provides software version number and file information acquisition functions, and the cache terminal is a content distribution network. The version acquisition interface can be connected to the update information acquisition interface of different heterogeneous devices in a unified manner, and can be connected to any development language or system.
对于待更新端为游戏服务器端的情况,版本分发系统还包括更新通知接口,用于服务器端获取软件版本更新消息。For the case where the terminal to be updated is a game server, the version distribution system also includes an update notification interface, which is used for the server to obtain software version update information.
本发明软件更新系统高效有序,解决了当前游戏研发领域版本热更新流程复杂、效率低下、容易出错的问题,使得版本热更新简便、高效、容错性高。The software update system of the present invention is highly efficient and orderly, solves the problems of complex version hot update process, low efficiency, and error-prone in the current game research and development field, and makes version hot update simple, efficient and highly fault-tolerant.
以上所述仅为本发明的实施例,并非因此限制本发明的专利范围,凡是利用本发明说明书及附图内容所作的等效结构或等效流程变换,或直接或间接运用在其他相关的技术领域,均同理包括在本发明的专利保护范围内。The above is only an embodiment of the present invention, and does not limit the patent scope of the present invention. Any equivalent structure or equivalent process transformation made by using the description of the present invention and the contents of the accompanying drawings, or directly or indirectly used in other related technologies fields, are all included in the scope of patent protection of the present invention in the same way.
Claims (10)
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201611103199.6A CN106790432A (en) | 2016-12-05 | 2016-12-05 | Method and device for updating software |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201611103199.6A CN106790432A (en) | 2016-12-05 | 2016-12-05 | Method and device for updating software |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| CN106790432A true CN106790432A (en) | 2017-05-31 |
Family
ID=58883910
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN201611103199.6A Pending CN106790432A (en) | 2016-12-05 | 2016-12-05 | Method and device for updating software |
Country Status (1)
| Country | Link |
|---|---|
| CN (1) | CN106790432A (en) |
Cited By (10)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN108076147A (en) * | 2017-12-13 | 2018-05-25 | 上海哔哩哔哩科技有限公司 | The server-side of Internet service renders hot update method, system and storage medium |
| CN109063067A (en) * | 2018-07-23 | 2018-12-21 | 五八有限公司 | Picture update method, picture updating device, server, terminal and storage medium |
| CN109388407A (en) * | 2017-08-14 | 2019-02-26 | 统专利有限责任两合公司 | Method and system for the client via online distribution platform to server disposition |
| CN110321139A (en) * | 2018-03-29 | 2019-10-11 | 广东神马搜索科技有限公司 | Data managing method and system |
| CN111240721A (en) * | 2020-04-26 | 2020-06-05 | 北京全路通信信号研究设计院集团有限公司 | Method and system for monitoring software version of high-speed railway equipment |
| CN111818117A (en) * | 2019-11-22 | 2020-10-23 | 北京嘀嘀无限科技发展有限公司 | Data updating method and device, storage medium and electronic equipment |
| CN112328295A (en) * | 2020-11-25 | 2021-02-05 | 昆山丘钛光电科技有限公司 | Software updating method and device |
| CN113680073A (en) * | 2021-08-26 | 2021-11-23 | 网易(杭州)网络有限公司 | Game data hot updating method, device, equipment and storage medium |
| CN113760859A (en) * | 2020-10-30 | 2021-12-07 | 北京沃东天骏信息技术有限公司 | Local data management method and device for online application |
| CN115712457A (en) * | 2023-01-04 | 2023-02-24 | 赤子城网络技术(北京)有限公司 | Item packaging method and device, electronic equipment and storage medium |
Citations (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US20130086643A1 (en) * | 2011-10-04 | 2013-04-04 | Kevin Dale Morgan | Tamper proof mutating software |
| CN103955363A (en) * | 2014-04-08 | 2014-07-30 | 国云科技股份有限公司 | Manufacturing method of program upgrade and installation package |
| CN103984582A (en) * | 2014-06-04 | 2014-08-13 | 网易(杭州)网络有限公司 | Method and device for hot updating |
| CN104809019A (en) * | 2015-05-19 | 2015-07-29 | 郑州悉知信息技术有限公司 | Web page code publishing method and system |
| CN105302554A (en) * | 2015-10-23 | 2016-02-03 | 深圳市创维电器科技有限公司 | Android system automatic program construction method and system |
-
2016
- 2016-12-05 CN CN201611103199.6A patent/CN106790432A/en active Pending
Patent Citations (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US20130086643A1 (en) * | 2011-10-04 | 2013-04-04 | Kevin Dale Morgan | Tamper proof mutating software |
| CN103955363A (en) * | 2014-04-08 | 2014-07-30 | 国云科技股份有限公司 | Manufacturing method of program upgrade and installation package |
| CN103984582A (en) * | 2014-06-04 | 2014-08-13 | 网易(杭州)网络有限公司 | Method and device for hot updating |
| CN104809019A (en) * | 2015-05-19 | 2015-07-29 | 郑州悉知信息技术有限公司 | Web page code publishing method and system |
| CN105302554A (en) * | 2015-10-23 | 2016-02-03 | 深圳市创维电器科技有限公司 | Android system automatic program construction method and system |
Cited By (14)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN109388407A (en) * | 2017-08-14 | 2019-02-26 | 统专利有限责任两合公司 | Method and system for the client via online distribution platform to server disposition |
| CN108076147A (en) * | 2017-12-13 | 2018-05-25 | 上海哔哩哔哩科技有限公司 | The server-side of Internet service renders hot update method, system and storage medium |
| CN108076147B (en) * | 2017-12-13 | 2020-12-25 | 上海哔哩哔哩科技有限公司 | Method, system and storage medium for server-side rendering hot update of internet service |
| CN110321139A (en) * | 2018-03-29 | 2019-10-11 | 广东神马搜索科技有限公司 | Data managing method and system |
| CN110321139B (en) * | 2018-03-29 | 2023-06-23 | 阿里巴巴(中国)有限公司 | Data management method and system |
| CN109063067A (en) * | 2018-07-23 | 2018-12-21 | 五八有限公司 | Picture update method, picture updating device, server, terminal and storage medium |
| CN111818117A (en) * | 2019-11-22 | 2020-10-23 | 北京嘀嘀无限科技发展有限公司 | Data updating method and device, storage medium and electronic equipment |
| CN111240721B (en) * | 2020-04-26 | 2020-09-08 | 北京全路通信信号研究设计院集团有限公司 | Method and system for monitoring software version of high-speed railway equipment |
| CN111240721A (en) * | 2020-04-26 | 2020-06-05 | 北京全路通信信号研究设计院集团有限公司 | Method and system for monitoring software version of high-speed railway equipment |
| CN113760859A (en) * | 2020-10-30 | 2021-12-07 | 北京沃东天骏信息技术有限公司 | Local data management method and device for online application |
| CN112328295A (en) * | 2020-11-25 | 2021-02-05 | 昆山丘钛光电科技有限公司 | Software updating method and device |
| CN112328295B (en) * | 2020-11-25 | 2024-09-24 | 昆山丘钛光电科技有限公司 | Software updating method and device |
| CN113680073A (en) * | 2021-08-26 | 2021-11-23 | 网易(杭州)网络有限公司 | Game data hot updating method, device, equipment and storage medium |
| CN115712457A (en) * | 2023-01-04 | 2023-02-24 | 赤子城网络技术(北京)有限公司 | Item packaging method and device, electronic equipment and storage medium |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| CN106790432A (en) | Method and device for updating software | |
| US11797479B2 (en) | Integrating object-based data integration tool with a version control system in centralized and decentralized environments | |
| US8793230B2 (en) | Single-database multiple-tenant software system upgrade | |
| JP7389104B2 (en) | Upgrading a database from a first version to a second version | |
| EP3714374B1 (en) | Commit protocol for synchronizing content items | |
| EP3428811B1 (en) | Database interface agent for a tenant-based upgrade system | |
| US8875122B2 (en) | Tenant move upgrade | |
| US10437795B2 (en) | Upgrading systems with changing constraints | |
| US7933866B2 (en) | Systems, methods and software programs for data synchronization | |
| US10623489B2 (en) | Sync gateway for mobile application download | |
| EP4348933B1 (en) | Managing keys across a series of nodes, based on snapshots of logged client key modifications | |
| EP3365807A1 (en) | Application containers for container databases | |
| US20200104404A1 (en) | Seamless migration of distributed systems | |
| CN104517181B (en) | A nuclear power plant enterprise content management system and method | |
| CN106575227A (en) | Automatic software-update framework | |
| US10311030B1 (en) | Method and system for implementing an automated migration tool | |
| CN107025108B (en) | Exporting hierarchical data from a Source Code Management (SCM) system to a Product Lifecycle Management (PLM) system | |
| CN103475721B (en) | A kind of digital asset updates the digital asset update method of system | |
| CN105701159A (en) | Data synchronization device and method | |
| US11334601B2 (en) | Unified data model | |
| CN109240716A (en) | A kind of big data platform version management and iteratively faster dispositions method and system | |
| CN112306626B (en) | Method and device for updating cloud platform | |
| US10540397B2 (en) | Algorithm to check compatibility of business object types to prevent business catalog corruption on resource update | |
| US12174801B2 (en) | Information retrieval framework | |
| CN102646127A (en) | Distributed file system copy selection method and device |
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: 20170531 |
|
| RJ01 | Rejection of invention patent application after publication |