Supercharge Your Innovation With Domain-Expert AI Agents!

Encryption and hot update method and device

A hot update and update-to-be-updated technology, which is applied in the direction of program control devices, computer security devices, program loading/starting, etc., can solve problems such as inability to update historical data synchronously, unable to realize code hot update, poor user experience, etc., and shorten the game time. The process of upgrading the service version, ensuring normal operation and update efficiency, and the effect of fast startup

Pending Publication Date: 2017-08-01
长沙趣动文化科技有限公司
View PDF4 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, during the running of the game, there may occasionally be loopholes or defects in the running software. The developer needs to write the running program, compile it and test it, and the hot update of the code cannot be realized in the IOS environment, that is, in the process of changing the program, many The service program in the existing server needs to be interrupted, causing the client to terminate its use and be forced to go offline until the application is restarted, the historical data cannot be updated synchronously, the user experience is poor, and there is unpredictable instability during the restart process and insecurity

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
  • Encryption and hot update method and device
  • Encryption and hot update method and device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0042] Embodiments of the technical solutions of the present invention will be described in detail below in conjunction with the accompanying drawings. The following examples are only used to illustrate the technical solution of the present invention more clearly, so they are only examples, and should not be used to limit the protection scope of the present invention.

[0043] It should be noted that, unless otherwise specified, the technical terms or scientific terms used in this application shall have the usual meanings understood by those skilled in the art to which the present invention belongs.

[0044] In the first aspect, an encryption and hot update method provided by an embodiment of the present invention includes: acquiring a target script and a node to be updated.

[0045] According to the node to be updated, load the target script.

[0046] Another encryption and hot update method provided by the embodiment of the present invention combines figure 1 , the method ...

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 belongs to the technical field of information hot update, and provides an encryption and hot update method and device. The method comprises the following steps that: obtaining a lua script and script attributes, carrying out encryption on the lua script to obtain a lua encryption script, updating the lua encryption script to a target lua script node, wherein the script attributes comprises a target lua script node address; if a lua virtual machine is under an idle state, destroying the lua virtual machine; and if the lua virtual machine is under an operation state, polling the lua virtual machine in fixed time until the lua virtual machine is under the idle state, destroying the lua virtual machine, carrying out decryption on the lua encryption script of the target lua script node, obtaining the decrypted lua script, creating the target lua virtual machine, loading the decrypted lua script, and controlling the target lua virtual machine to explain the decrypted lua script. By use of the encryption and hot update method and device, the normal operation and update efficiency of game service can be guaranteed, and the stability and the safety of game service can be improved.

Description

technical field [0001] The invention relates to the technical field of information hot update, in particular to an encryption and hot update method and device. Background technique [0002] At present, online games have become the most popular way of entertainment and leisure for people. However, during the running of the game, there may occasionally be loopholes or defects in the running software. The developer needs to write the running program, compile it and test it, and the hot update of the code cannot be realized in the IOS environment, that is, in the process of changing the program, many The service program in the existing server needs to be interrupted, causing the client to terminate its use and be forced to go offline until the application is restarted, the historical data cannot be updated synchronously, the user experience is poor, and there is unpredictable instability during the restart process and insecurity. It is the demand of developers and game players...

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): G06F9/445G06F9/455G06F21/60
CPCG06F8/65G06F9/45558G06F21/602
Inventor 张继
Owner 长沙趣动文化科技有限公司
Features
  • R&D
  • Intellectual Property
  • Life Sciences
  • Materials
  • Tech Scout
Why Patsnap Eureka
  • Unparalleled Data Quality
  • Higher Quality Content
  • 60% Fewer Hallucinations
Social media
Patsnap Eureka Blog
Learn More