Unlock instant, AI-driven research and patent intelligence for your innovation.

A json-based graphic proxy implementation method

An implementation method and graphics technology, applied in visual/graphics programming, electrical digital data processing, creation/generation of source code, etc., can solve problems such as affecting the framework, bloating the client, affecting the stability of the framework, etc., to reduce the impact and improve the Flexibility, the effect of improving the flexibility of use

Active Publication Date: 2021-06-29
南京雷电信息技术有限公司
View PDF6 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] However, in terms of interaction between components and the framework, the interactive interface of graphic display is still retained. With the continuous expansion of system functions, the shortcomings of this interaction method are gradually exposed: ①Although the components are low-coupled with the framework, the coupling based on the function interface To a certain extent, it will affect the stability of the framework. If a certain component runs abnormally, it will affect the framework and cause the framework to crash; ② With the continuous expansion of system functions, the number of components will continue to increase, and the client (C) will also It will inevitably become more and more bloated and more difficult to maintain

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
  • A json-based graphic proxy implementation method
  • A json-based graphic proxy implementation method
  • A json-based graphic proxy implementation method

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0044] The technical solutions of the present invention will be described in detail below, but the protection scope of the present invention is not limited to the embodiments.

[0045] The present invention establishes a more relaxed graphic interaction proxy between the 2D and 3D graphics integration framework and functional business components, including the graphics proxy at the integration framework end (graphics proxy S) and the graphics proxy at the functional component side (graphics proxy C), such as figure 2 shown.

[0046] like image 3 As shown, the JSON-based graphics proxy implementation method of the present invention includes a callback event processing proxy and a primitive drawing proxy, and the specific methods are as follows:

[0047] Step 1. Define the type of callback event and encapsulate the callback event according to the event that the functional component needs to respond to the 2D and 3D graphics. Functional components need to respond to mouse eve...

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 JSON-based graphics proxy implementation method. According to the characteristics of the drawing data and callback events transmitted between the functional components and the 2-3 graphics framework, respective proxies are established in the functional component side and the 2-3D graphics framework, and based on JSON flexibly agrees on the data format transmitted between components and frameworks. The invention shields the interface calls of the functional components and the framework through the graphic agent, and at the same time realizes the graphic interaction function of the two, decouples the functional components and the framework, reduces the influence of the functional components on the framework, improves the stability of the framework, and is more conducive to business Expansion of functional components.

Description

technical field [0001] The invention belongs to vehicle communication technology, and in particular relates to a method for implementing a JSON-based graphics agent. Background technique [0002] Large-scale system software based on the C / S mode usually performs a large amount of graphics display processing on the client side (C side). Plotting with terrain, elevation and various points, lines and surfaces to achieve professional business display function display. In addition, in order to facilitate the development and integration of various business scenarios, the "2D and 3D graphics integration framework + functional components" mode is usually adopted, that is, each component develops application functions based on the graphical interface provided by the integration framework, and then the integration framework loads and integrates on demand , each component completes the graphic interaction by calling the interface provided by the integration framework, specifically as ...

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 Patents(China)
IPC IPC(8): G06F8/30G06F8/34G06F8/38G06F9/451G06F9/54
CPCG06F8/315G06F8/34G06F8/38G06F9/542G06F9/451
Inventor 马志强张梦柯树林臧本亮杨杰刘宇航
Owner 南京雷电信息技术有限公司