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

Progress updating method and device

An update method and process technology, applied in the field of data processing, can solve problems such as inflexible process update

Active Publication Date: 2016-06-01
TENCENT TECH (SHENZHEN) CO LTD
View PDF3 Cites 5 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0008] The embodiment of the present invention provides a process update method and device, to at least solve the technical problem that the process update is inflexible due to the loading mode of key-value data

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

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0031] According to the embodiment of the present invention, a method embodiment that can be executed by the device embodiment of the present application is provided. It should be noted that the steps shown in the flow chart of the accompanying drawings can be implemented in a computer system such as a set of computer-executable instructions and, although a logical order is shown in the flowcharts, in some cases the steps shown or described may be performed in an order different from that shown or described herein.

[0032] According to an embodiment of the present invention, a method for updating a process is provided.

[0033] Optionally, in this embodiment, the above process update method can be applied to figure 1 In the hardware environment formed by the terminal 102 and the server 104 shown. Such as figure 1 As shown, the terminal 102 is connected to the server 104 through a network or a data line, and the above-mentioned network includes but not limited to: a wide are...

Embodiment 2

[0051] According to an embodiment of the present invention, there is also provided a process update device for implementing the above process update method, the process update device is mainly used to execute the process update method provided in the above content of the embodiment of the present invention, the following describes the embodiment of the present invention The provided process update device is introduced in detail:

[0052] Figure 6 is a schematic diagram of a process update device according to an embodiment of the present invention, such as Figure 6 As shown, the process update device mainly includes a first acquisition unit 10, a first determination unit 20 and an update unit 30, wherein:

[0053] The first obtaining unit 10 is used to obtain the state information of the shared memory group, wherein the shared memory group includes at least two shared memory blocks, and each shared memory block stores key-value data of the process. In the embodiment of the p...

Embodiment 3

[0068] According to an embodiment of the present invention, a terminal for implementing the above process update method is also provided, such as Figure 7 As shown, the terminal mainly includes a processor 701, a display 702, a data interface 703, a memory 704 and a network interface 705, wherein:

[0069] The display 702 is mainly used for displaying relevant display content in the progress updating method.

[0070] The data interface 703 is mainly for the user to connect to an external device, so as to provide the user with a way for the external device to input information.

[0071] The memory 704 is mainly used for storing intermediate files generated in the process update method.

[0072] The network interface 705 is mainly used for network communication with the server 104 .

[0073] Processor 701 is mainly used to perform the following operations:

[0074] Obtain the state information of the shared memory group, wherein the shared memory group includes at least two ...

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 discloses a progress updating method and device. The progress updating method comprises: obtaining state information of a shared memory group including at least two shared memory blocks, wherein each shared memory block stores key-value data of a progress; determining an invoking state of each shared memory block in the shared memory group according to the state information, thereby determining a first shared memory block in an to-be-invoked state and a second shared memory block in an uninvoked state; and when the first shared memory block is in the to-be-invoked state, updating the key-value data in the second shared memory block. According to the progress updating method and device, a problem that progress updating is not flexible due to a loading manner of the key-value data in the prior art is solved, and then an effect of improving the progress updating flexibility is achieved.

Description

technical field [0001] The invention relates to the field of data processing, in particular to a method and device for updating a process. Background technique [0002] Generally speaking, a certain amount of key-value (key-value) data needs to be loaded during the running of a process. For example: the game process will load the price of each item, the search engine process will load the dictionary for offline mining, and so on. [0003] When a process needs to load key-value data, the usual method is: [0004] 1) Read data from the data source when the process starts, and then convert it inside the process and build its own private data structure; [0005] 2) When the source data is updated, the process destroys the old data structure and re-executes the build program. [0006] Limited by the storage method of key-value data, in the process of loading key-value data according to the above method, the data needs to be rebuilt every time the process starts, and the intera...

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): G06F9/54G06F17/30
Inventor 尹鹏
Owner TENCENT TECH (SHENZHEN) 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