Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Hot update method, device and equipment and storage medium

A hot update and update-to-be-updated technology, applied in the field of data processing, can solve problems such as high complexity of the hot update process, increased game maintenance costs, and inability to replace functions

Pending Publication Date: 2021-01-01
CHENGDU PERFECT TIANZHIYOU BUSINESS CONSULTING CO LTD
View PDF2 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] However, this method cannot replace functions that have been loaded into memory or registered in other language layers, and can only update the logic by explicitly adding the Reload method for each function
This leads to high complexity of the hot update process and increased game maintenance costs

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
  • Hot update method, device and equipment and storage medium
  • Hot update method, device and equipment and storage medium
  • Hot update method, device and equipment and storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0028] In order to make the purpose, technical solution and advantages of the present application clearer, the technical solution of the present application will be clearly and completely described below in conjunction with specific embodiments of the present application and corresponding drawings. Apparently, the described embodiments are only some of the embodiments of the present application, rather than all the embodiments. Based on the embodiments in this application, all other embodiments obtained by persons of ordinary skill in the art without making creative efforts belong to the scope of protection of this application.

[0029] In view of the technical problems of high update complexity and low performance existing in the existing hot update scheme, in some embodiments of the embodiments of the present application: the first data object to be updated can be determined in response to the hot update instruction; the second data object to obtain the target function proto...

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 embodiment of the invention provides a hot update method and device, equipment and a storage medium. In the embodiment of the invention, determining a to-be-updated first data object in response to a hot update instruction; creating a second data object meeting an updating requirement to obtain a target function prototype corresponding to the second data object; and replacing the function prototype of the first data object with the target function prototype so as to carry out hot update on the first data object. Therefore, according to the embodiment of the invention, the logic of the first data object can be updated by replacing the function prototype corresponding to the first data object, so that hot update can also be realized for the data object which is already loaded to the memory or registered to other language layers, and independent processing does not need to be performed for each data object any more, and therefore, the complexity of hot update can be effectively reduced, and the performance of hot update is improved.

Description

technical field [0001] The present application relates to the technical field of data processing, and in particular to a hot update method, device, equipment and storage medium. Background technique [0002] In the game field, work such as BUG repair and small function addition is relatively frequent. From the perspective of cost and speed, it is more cost-effective to use hot update. [0003] At present, the hot update is usually based on the lua package method. After clearing the lua package cache and then requiring again, the lua logic can be reloaded. Use functions like the following to implement hot reloading of code: [0004] [0005] However, this method cannot replace functions that have been loaded into memory or registered in other language layers, and the logic can only be updated by explicitly adding a Reload method for each function. This leads to high complexity of the hot update process and increased game maintenance costs. Contents of the invention ...

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
Patent Type & Authority Applications(China)
IPC IPC(8): G06F8/65A63F13/69
CPCG06F8/65A63F13/69
Inventor 王世博张震李越
Owner CHENGDU PERFECT TIANZHIYOU BUSINESS CONSULTING CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products