Data updating method and device

A data update and updated technology, applied in the computer field, can solve the problems of clearing and affecting the debugging efficiency of Node.js, and achieve the effect of improving debugging efficiency.

Pending Publication Date: 2020-11-17
BEIJING BYTEDANCE NETWORK TECH CO LTD
View PDF0 Cites 1 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] However, in the process of automatically restarting the program, some data temporarily stored in memory will be cleared, which will affect the debugging efficiency of Node.js in the debugging process

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
  • Data updating method and device
  • Data updating method and device
  • Data updating method and device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0050] In order to make the purpose, technical solutions and advantages of the embodiments of the present disclosure clearer, the technical solutions in the embodiments of the present disclosure will be clearly and completely described below in conjunction with the accompanying drawings in the embodiments of the present disclosure. Obviously, the described embodiments are only It is a part of the embodiments of the present disclosure, but not all of them. The components of the disclosed embodiments generally described and illustrated in the figures herein may be arranged and designed in a variety of different configurations. Accordingly, the following detailed description of the embodiments of the present disclosure provided in the accompanying drawings is not intended to limit the scope of the claimed disclosure, but merely represents selected embodiments of the present disclosure. Based on the embodiments of the present disclosure, all other embodiments obtained by those ski...

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 provides a data updating method and device. The data updating method comprises the steps that a user-defined loading processing function corresponding to a target file is set; a target file stored locally is processed by calling the user-defined loading processing function, an initial module object corresponding to the target file is obtained, and the reference address of the initialmodule object points to the storage address of the content of the target file in a memory; a reference address of the initial module object is determined and stored when the locally stored target file is detected to update, the content in the memory pointed by the reference address is updated based on the reference address of the initial module object of the updated target file and the updated target file.

Description

technical field [0001] The present disclosure relates to the field of computer technology, and in particular, to a data update method and device. Background technique [0002] During the running of the program, the programmer may need to modify some code, and the modified code can be synchronized to the running program after submission. This update method is called hot update. [0003] Node.js is the operating environment of the scripting language JavaScript. Since Node.js does not have the ability of hot update, when calling Node.js services, generally after detecting code changes, you can automatically restart the program with the help of the nodemon tool to Apply the modified code to the program. [0004] However, in the process of automatically restarting the program, some data temporarily stored in the memory will be cleared, thus affecting the debugging efficiency of Node.js in the debugging process. Contents of the invention [0005] Embodiments of the present dis...

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/65G06F9/445G06F9/448
CPCG06F8/65G06F9/44521G06F9/4482
Inventor 邬亮
Owner BEIJING BYTEDANCE NETWORK TECH CO LTD
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