Graph processing method and device

A graphics processing and graphics node technology, applied in the field of data processing, can solve the problem of high CPU consumption and achieve the effect of reducing energy consumption and redrawing processing

Active Publication Date: 2014-04-09
ALIBABA (CHINA) CO LTD
View PDF5 Cites 14 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] The main purpose of the present invention is to provide a graphics processing method and device to solve the pr...

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
  • Graph processing method and device
  • Graph processing method and device
  • Graph processing method and device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0022] It should be noted that, in the case of no conflict, the embodiments in the present application and the features in the embodiments can be combined with each other. The present invention will be described in detail below with reference to the accompanying drawings and examples.

[0023] An embodiment of the present invention provides a graphics processing method.

[0024] figure 1 is a flowchart of a graphics processing method according to an embodiment of the present invention. As shown in the figure, the graphics processing method includes the following steps:

[0025] Step S101, acquiring data of graph nodes.

[0026] This step traverses all the graph nodes every preset time, updates the data of the graph nodes on the graph container, and obtains the updated data of the graph nodes.

[0027] Specifically, the detection time is related to the frame rate that the program draws per second. If the frame rate of the program is 35 frames per second, it traverses every ...

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 graph processing method and device. The graph processing method comprises the steps of obtaining data of graph nodes; judging whether the data of the graph nodes change or not; if it is determined that the data of the graph nodes change, conducting redrawing processing on all the graph nodes; if it is determined that the data of the graph nodes do not change, not conducting the redrawing processing on the graph nodes. According to the graph processing method and device, the problem that CPU consumption is larger when the graph redrawing processing is carried out in the prior art is solved, and the effect that the CPU consumption is reduced when graph redrawing is carried out is achieved.

Description

technical field [0001] The present invention relates to the field of data processing, in particular to a graphics processing method and device. Background technique [0002] The graphics container is used to draw graphics. Canvas is a graphics container provided by HTML5. In 2D games, the application realizes the transformation of the game screen by continuously erasing and drawing graphics nodes on the Canvas (that is, redrawing). [0003] At present, the most common redrawing method used by Canvas is to erase and redraw all graphics nodes N times per second, and N is usually greater than 30 and less than 60. The method of erasing and redrawing all graphics nodes N times per second is suitable for scenes where the picture is constantly changing. When the picture is still, such as a chess and card game, when waiting for others to play cards, the picture is still and unchanged. In such a scene If the normal drawing method is also used, meaningless picture drawing will be pro...

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): G06F1/32G06T1/00
Inventor 梁捷冯震坤
Owner ALIBABA (CHINA) 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