CN117689757B - Task dynamic allocation method and system based on two-D graphic engine - Google Patents
Task dynamic allocation method and system based on two-D graphic engine Download PDFInfo
- Publication number
- CN117689757B CN117689757B CN202311744604.2A CN202311744604A CN117689757B CN 117689757 B CN117689757 B CN 117689757B CN 202311744604 A CN202311744604 A CN 202311744604A CN 117689757 B CN117689757 B CN 117689757B
- Authority
- CN
- China
- Prior art keywords
- module
- rendering
- monitoring
- coordinate
- task
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T11/00—2D [Two Dimensional] image generation
- G06T11/001—Texturing; Colouring; Generation of texture or colour
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T1/00—General purpose image data processing
- G06T1/20—Processor architectures; Processor configuration, e.g. pipelining
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T11/00—2D [Two Dimensional] image generation
- G06T11/20—Drawing from basic elements, e.g. lines or circles
- G06T11/203—Drawing of straight lines or curves
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T11/00—2D [Two Dimensional] image generation
- G06T11/40—Filling a planar surface by adding surface attributes, e.g. colour or texture
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T7/00—Image analysis
- G06T7/0002—Inspection of images, e.g. flaw detection
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T2207/00—Indexing scheme for image analysis or image enhancement
- G06T2207/30—Subject of image; Context of image processing
- G06T2207/30168—Image quality inspection
Landscapes
- Engineering & Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Theoretical Computer Science (AREA)
- Quality & Reliability (AREA)
- Computer Vision & Pattern Recognition (AREA)
- Image Generation (AREA)
Abstract
The invention relates to the field of computer vision, and discloses a task dynamic allocation method and a system based on a two-D graphic engine, wherein the method comprises the following steps: the system comprises an area dividing module, a graphic element drawing module, a data acquisition module, a coordinate conversion module, a color processing module, a rendering model building module, a rendering judging module and a positioning and distributing module, wherein the area dividing module divides a monitoring subarea and binds an acceptance task, the graphic element drawing module determines the type of graphic element to be drawn, the data acquisition module acquires coordinate information and a color information sequence of a midpoint of a drawing, the coordinate conversion module calculates a coordinate conversion coefficient, the color processing module calculates a color information sequence coefficient, the rendering model building module calculates a graphic rendering index, the rendering judging module judges whether a rendering operation is qualified or not, the positioning and distributing module marks a region with a qualified rendering result, and the positioning and distributing task is redistributed to the region with a disqualified rendering result.
Description
Technical Field
The invention relates to the field of computer vision, in particular to a task dynamic allocation method and system based on a two-D graphic engine.
Background
The two-dimensional graphic engine is a software engine specially used for processing and generating two-dimensional graphics, comprises a set of algorithm and tool used for rendering the two-dimensional graphics, can accelerate graphic processing and improve rendering efficiency, and the task dynamic allocation is a method for adjusting task execution strategies according to system running states and demand changes, and aims to optimize system performance, improve task completion efficiency and quality, and in the task dynamic allocation method based on the two-dimensional graphic engine, tasks are dynamically allocated to proper graphic processing units or nodes for rendering and execution according to the priority, execution capacity, resource occupation and other conditions of the tasks in combination with the real-time state and demand of the system.
However, the task dynamic allocation system based on the two-D graphic engine has some disadvantages in the task allocation process, including: the design and optimization of the task dynamic allocation algorithm is a complex task, various factors need to be considered, and meanwhile, the characteristics and the requirements of graphic rendering, and the real-time state and the requirement change of the system need to be considered; the task dynamic allocation method of the two-dimensional graphic engine is generally required to meet higher real-time requirements, namely, the rendering and the display of the graphics need to be completed in a short time, however, due to the complexity and the uncertainty of the task dynamic allocation, certain errors exist in the rendering and the display of the graphics; the lack of a judgment mechanism judges the comprehensiveness of graphics rendering and the lack of secondary allocation of dynamic allocation of tasks when rendering errors exist.
Disclosure of Invention
In order to overcome the above drawbacks of the prior art, the present invention provides a method and a system for task dynamic allocation based on a two-D graphics engine, so as to solve the problems in the prior art.
The invention provides the following technical scheme: a two-D graphics engine based task dynamic allocation system, comprising: the system comprises a region dividing module, a primitive drawing module, a data acquisition module, a coordinate transformation module, a color processing module, a rendering model building module, a rendering judging module and a positioning and distributing module;
The regional division module divides regional images required to be subjected to fire protection acceptance into monitoring subregions, binds the view points of the monitoring subregions with the acceptance tasks, and marks the monitoring subregions as 1,2 and 3 in sequence;
The primitive drawing module determines primitive types to be drawn according to the requirements of the task dynamic distribution system, wherein the primitive types comprise straight lines, multi-section lines, circular arcs, ellipses and circles, and corresponding attributes are defined for each primitive type;
The system directly converts the basic shape in the drawing into a corresponding coordinate structure after carrying out light weight conversion on the dwg drawing, and converts coordinate information and color information sequences of points in the drawing into binary files;
The coordinate transformation module is used for calculating coordinate transformation coefficients of all the monitoring subareas through a coordinate transformation mathematical model based on the coordinate information of the binary transformed points in the data acquisition module, and transmitting the calculated coordinate transformation coefficients to the rendering model building module;
The color processing module is used for calculating color information sequence coefficients of all monitoring subareas through a color marking mathematical model based on the color information of the binary converted points in the data acquisition module, and transmitting the calculated color information sequence coefficients to the rendering model building module;
The rendering model building module is used for building a rendering model to calculate the graph rendering index of each monitored subarea based on the coordinate conversion coefficient and the color information sequence coefficient of each monitored subarea, and transmitting the calculated graph rendering index to the rendering judgment module;
The rendering judgment module is used for comparing the graph rendering index of each monitoring subarea with a preset standard rendering index based on the graph rendering index calculated by the rendering model establishment module, judging whether the rendering operation is qualified or not, and transmitting the judgment result to the positioning distribution module;
the positioning and distributing module is used for receiving the judging result obtained by the rendering judging module, marking the area with qualified rendering result, and positioning the area with unqualified rendering result to redistribute the rendering task.
Preferably, the view points of all the monitoring subareas in the area dividing module are determined through image segmentation, and the view points of all the monitoring subareas are bound with acceptance tasks in a one-to-one correspondence mode through programming languages and related libraries.
Preferably, the attribute defined by each primitive type in the primitive drawing module includes: straight line: the abscissa of the two endpoints, the multi-segment line: the abscissa of each inflection point, the arc: center coordinates, radius, start angle, end angle, clockwise and anticlockwise, ellipse: center coordinates, major axis radius, minor axis radius, start angle, end angle, clockwise and anticlockwise, circle: center coordinates and radius.
Preferably, the coordinate information in the data acquisition module comprises coordinate information of various primitive types before binary conversion, coordinate information of various primitive types after binary conversion and conversion included angles, and the color information comprises pixel point positions in a drawing.
Preferably, the calculating step of the coordinate transformation coefficient of each monitoring subarea in the coordinate transformation module is as follows:
step S01: determining the primitive type, (x i,yi) represents coordinate information before binary conversion of straight lines, multi-section lines, circular arcs, ellipses and circles of all monitoring subareas;
step S02: (x i0,yi0) represents coordinate information of each monitoring subarea after binary conversion of straight lines, multi-section lines, circular arcs, ellipses and circles;
step S03: calculating the coordinate conversion coefficient of each monitoring subarea, wherein the calculation formula is as follows: wherein αi represents the coordinate conversion coefficient of each monitoring subarea, and θ represents the coordinate included angle before and after binary conversion.
Preferably, the calculating step of the color information sequence coefficient of each monitoring subarea calculated in the color processing module is as follows:
Step S01: color information of points in drawings of all monitoring subareas is obtained through a color processing tool, wherein the color information comprises pixel point positions (j i,li) in the drawings;
step S02: calculating the color information sequence coefficient of each monitoring subarea, wherein the calculation formula is as follows: where β i denotes the color information sequence coefficient of each monitored sub-region, j i denotes the abscissa of the pixel point, and l i denotes the ordinate of the pixel point.
Preferably, a calculation formula of the graphic rendering index of each monitored subarea in the rendering model building module is as follows: d i=|k1×logαi-k2×logβi |, wherein D i represents a graphics rendering index of each monitored sub-region, α i represents a coordinate conversion coefficient of each monitored sub-region, β i represents a color information sequence coefficient of each monitored sub-region, and k 1、k2 represents a constant.
Preferably, the rendering judgment module compares the graphic rendering index D i of each monitoring sub-region with a preset standard rendering index Δd i, the preset standard rendering index Δd i is set according to the acceptance task, if the graphic rendering index D i is greater than the preset standard rendering index Δd i, the rendering operation is judged to be qualified, and if the graphic rendering index D i is less than or equal to the preset standard rendering index Δd i, the rendering operation is judged to be unqualified.
Preferably, the positioning distribution module receives the judging result obtained by the rendering judging module, and when the judging result is qualified, the fire-fighting acceptance process is proved to be compliant, the area with the qualified rendering result is marked, when the judging result is unqualified, the fire-fighting acceptance process is proved to be unqualified, and the rendering task is redistributed to the area with the unqualified rendering result.
Preferably, a task dynamic allocation method based on a two-D graphic engine includes the following steps:
step S11: dividing the monitoring subareas and binding acceptance tasks;
step S12: determining the types of the primitives to be drawn according to the requirements of the task dynamic distribution system;
Step S13: converting a corresponding coordinate structure, and collecting coordinate information and color information sequences of points in a drawing;
Step S14: calculating coordinate conversion coefficients of all monitoring subareas through a coordinate transformation mathematical model;
Step S15: calculating color information sequence coefficients of all monitoring subareas through a color marking mathematical model;
Step S16: establishing a rendering model to calculate a graph rendering index of each monitoring subarea;
Step S17: judging whether the rendering operation is qualified or not according to a preset standard rendering index;
step S18: marking the area with qualified rendering result, and positioning the area with unqualified rendering result to redistribute the rendering task.
The invention has the technical effects and advantages that:
The invention comprises a region dividing module, a primitive drawing module, a data acquisition module, a coordinate conversion module, a color processing module, a rendering model establishing module, a rendering judging module and a positioning and distributing module, wherein the region dividing module divides a monitoring subarea and binds an acceptance task, the primitive drawing module determines the primitive type to be drawn, the data acquisition module acquires coordinate information and a color information sequence of a midpoint of a drawing, the coordinate conversion module calculates to obtain a coordinate conversion coefficient, the color processing module calculates to obtain a color information sequence coefficient, the rendering model establishing module calculates to obtain a graphic rendering index, the rendering judging module judges whether the rendering operation is qualified or not, the positioning and distributing module marks a region with a qualified rendering result and distributes the rendering task again to position the region with a disqualified rendering result.
Drawings
FIG. 1 is a flow chart of a two D graphics engine based task dynamic allocation system.
FIG. 2 is a flow chart of a method for dynamic task allocation based on a two-D graphics engine.
Detailed Description
The following description will be made in detail, but not limited to, embodiments of the present invention, and the embodiments of the present invention are described in detail below with reference to the drawings, wherein the embodiments of the present invention are merely illustrative, and a task dynamic allocation method and system based on a two-D graphics engine according to the present invention are not limited to the embodiments of the present invention.
The invention provides a task dynamic allocation system based on a two-D graphic engine, which comprises: the system comprises a region dividing module, a primitive drawing module, a data acquisition module, a coordinate transformation module, a color processing module, a rendering model building module, a rendering judging module and a positioning and distributing module;
The regional division module divides regional images required to be subjected to fire protection acceptance into monitoring subregions, binds the view points of the monitoring subregions with the acceptance tasks, and marks the monitoring subregions as 1,2 and 3 in sequence;
The primitive drawing module determines primitive types to be drawn according to the requirements of the task dynamic distribution system, wherein the primitive types comprise straight lines, multi-section lines, circular arcs, ellipses and circles, and corresponding attributes are defined for each primitive type;
The system directly converts the basic shape in the drawing into a corresponding coordinate structure after carrying out light weight conversion on the dwg drawing, and converts coordinate information and color information sequences of points in the drawing into binary files;
The coordinate transformation module is used for calculating coordinate transformation coefficients of all the monitoring subareas through a coordinate transformation mathematical model based on the coordinate information of the binary transformed points in the data acquisition module, and transmitting the calculated coordinate transformation coefficients to the rendering model building module;
The color processing module is used for calculating color information sequence coefficients of all monitoring subareas through a color marking mathematical model based on the color information of the binary converted points in the data acquisition module, and transmitting the calculated color information sequence coefficients to the rendering model building module;
The rendering model building module is used for building a rendering model to calculate the graph rendering index of each monitored subarea based on the coordinate conversion coefficient and the color information sequence coefficient of each monitored subarea, and transmitting the calculated graph rendering index to the rendering judgment module;
The rendering judgment module is used for comparing the graph rendering index of each monitoring subarea with a preset standard rendering index based on the graph rendering index calculated by the rendering model establishment module, judging whether the rendering operation is qualified or not, and transmitting the judgment result to the positioning distribution module;
the positioning and distributing module is used for receiving the judging result obtained by the rendering judging module, marking the area with qualified rendering result, and positioning the area with unqualified rendering result to redistribute the rendering task.
In this embodiment, it should be specifically described that, the view points of each monitoring sub-region in the region dividing module are determined by image segmentation, and the view points of each monitoring sub-region are bound to the acceptance tasks in a one-to-one correspondence manner through a programming language and a related library.
In this embodiment, it should be specifically described that the attribute defined by each primitive type in the primitive drawing module includes: straight line: the abscissa of the two endpoints, the multi-segment line: the abscissa of each inflection point, the arc: center coordinates, radius, start angle, end angle, clockwise and anticlockwise, ellipse: center coordinates, major axis radius, minor axis radius, start angle, end angle, clockwise and anticlockwise, circle: center coordinates and radius.
In this embodiment, it should be specifically described that the coordinate information in the data acquisition module includes coordinate information of various primitive types before binary conversion, coordinate information of various primitive types after binary conversion, and conversion angles, and the color information includes pixel point positions in the drawing.
In this embodiment, it should be specifically described that the steps for calculating the coordinate conversion coefficient of each monitoring sub-area in the coordinate conversion module are as follows:
step S01: determining the primitive type, (x i,yi) represents coordinate information before binary conversion of straight lines, multi-section lines, circular arcs, ellipses and circles of all monitoring subareas;
step S02: (x i0,yi0) represents coordinate information of each monitoring subarea after binary conversion of straight lines, multi-section lines, circular arcs, ellipses and circles;
step S03: calculating the coordinate conversion coefficient of each monitoring subarea, wherein the calculation formula is as follows: Wherein alpha i represents the coordinate transformation coefficient of each monitoring subarea, and theta represents the coordinate included angle before and after binary transformation.
In this embodiment, it should be specifically described that the calculating steps of the color information sequence coefficients of each monitoring sub-area calculated in the color processing module are as follows:
Step S01: color information of points in drawings of all monitoring subareas is obtained through a color processing tool, wherein the color information comprises pixel point positions (j i,li) in the drawings;
step S02: calculating the color information sequence coefficient of each monitoring subarea, wherein the calculation formula is as follows: where β i denotes the color information sequence coefficient of each monitored sub-region, j i denotes the abscissa of the pixel point, and l i denotes the ordinate of the pixel point.
In this embodiment, it should be specifically described that a calculation formula of the graphics rendering index of each monitored sub-region in the rendering model building module is: d i=|k1×logαi-k2×logβi |, wherein D i represents a graphics rendering index of each monitored sub-region, α i represents a coordinate conversion coefficient of each monitored sub-region, β i represents a color information sequence coefficient of each monitored sub-region, and k 1、k2 represents a constant.
In this embodiment, it should be specifically described that, the rendering determination module compares the graphics rendering index D i of each monitored sub-area with the preset standard rendering index Δd i, the preset standard rendering index Δd i is set according to the acceptance task, if the graphics rendering index D i is greater than the preset standard rendering index Δd i, the rendering operation is determined to be qualified, and if the graphics rendering index D i is less than or equal to the preset standard rendering index Δd i, the rendering operation is determined to be unqualified.
In this embodiment, it needs to be specifically described that the positioning and distributing module receives the determination result obtained by the rendering determination module, and when the determination result is qualified, the positioning and distributing module indicates that the fire-fighting acceptance process is compliant, marks the region with the qualified rendering result, and when the determination result is unqualified, indicates that the fire-fighting acceptance process is not compliant, and automatically positions the region with the unqualified rendering result to redistribute the rendering task.
In this embodiment, it should be specifically described that the method for using a task dynamic allocation method and system based on a two-D graphics engine includes the following steps:
step S11: dividing the monitoring subareas and binding acceptance tasks;
step S12: determining the types of the primitives to be drawn according to the requirements of the task dynamic distribution system;
Step S13: converting a corresponding coordinate structure, and collecting coordinate information and color information sequences of points in a drawing;
Step S14: calculating coordinate conversion coefficients of all monitoring subareas through a coordinate transformation mathematical model;
Step S15: calculating color information sequence coefficients of all monitoring subareas through a color marking mathematical model;
Step S16: establishing a rendering model to calculate a graph rendering index of each monitoring subarea;
Step S17: judging whether the rendering operation is qualified or not according to a preset standard rendering index;
step S18: marking the area with qualified rendering result, and positioning the area with unqualified rendering result to redistribute the rendering task.
In this embodiment, it should be specifically explained that, the difference between the implementation and the prior art is mainly that, in this embodiment, by providing a region dividing module, a primitive drawing module, a data collecting module, a coordinate conversion module, a color processing module, a rendering model building module, a rendering judging module, and a positioning and distributing module, the region dividing module divides a monitoring subarea and binds an acceptance task, the primitive drawing module determines the primitive type to be drawn, the data collecting module collects coordinate information and a color information sequence of a midpoint of a drawing, the coordinate conversion module calculates a coordinate conversion coefficient, the color processing module calculates a color information sequence coefficient, the rendering model building module calculates a graphics rendering index, the rendering judging module judges whether the rendering operation is qualified, the positioning and distributing module marks a region with a qualified rendering result, and the positioning and distributing module redistributes a rendering task in a region with a disqualified rendering result.
Finally: the foregoing description of the preferred embodiments of the invention is not intended to limit the invention to the precise form disclosed, and any such modifications, equivalents, and alternatives falling within the spirit and principles of the invention are intended to be included within the scope of the invention.
The foregoing is merely illustrative of the present application, and the present application is not limited thereto, and any person skilled in the art will readily recognize that variations or substitutions are within the scope of the present application. Therefore, the protection scope of the present application shall be subject to the protection scope of the claims.
Claims (10)
1. A two D graphics engine based task dynamic allocation system, characterized by: comprising the following steps: the system comprises a region dividing module, a primitive drawing module, a data acquisition module, a coordinate transformation module, a color processing module, a rendering model building module, a rendering judging module and a positioning and distributing module;
The regional division module divides regional images required to be subjected to fire protection acceptance into monitoring subregions, binds the view points of the monitoring subregions with the acceptance tasks, and marks the monitoring subregions as 1,2 and 3 in sequence;
The primitive drawing module determines primitive types to be drawn according to the requirements of the task dynamic distribution system, wherein the primitive types comprise straight lines, multi-section lines, circular arcs, ellipses and circles, and corresponding attributes are defined for each primitive type;
The system directly converts the basic shape in the drawing into a corresponding coordinate structure after carrying out light weight conversion on the dwg drawing, and converts coordinate information and color information sequences of points in the drawing into binary files;
The coordinate transformation module is used for calculating coordinate transformation coefficients of all the monitoring subareas through a coordinate transformation mathematical model based on the coordinate information of the binary transformed points in the data acquisition module, and transmitting the calculated coordinate transformation coefficients to the rendering model building module;
The color processing module is used for calculating color information sequence coefficients of all monitoring subareas through a color marking mathematical model based on the color information of the binary converted points in the data acquisition module, and transmitting the calculated color information sequence coefficients to the rendering model building module;
The rendering model building module is used for building a rendering model to calculate the graph rendering index of each monitored subarea based on the coordinate conversion coefficient and the color information sequence coefficient of each monitored subarea, and transmitting the calculated graph rendering index to the rendering judgment module;
The rendering judgment module is used for comparing the graph rendering index of each monitoring subarea with a preset standard rendering index based on the graph rendering index calculated by the rendering model establishment module, judging whether the rendering operation is qualified or not, and transmitting the judgment result to the positioning distribution module;
the positioning and distributing module is used for receiving the judging result obtained by the rendering judging module, marking the area with qualified rendering result, and positioning the area with unqualified rendering result to redistribute the rendering task.
2. The two-D graphics engine based task dynamic allocation system according to claim 1, wherein: and each monitoring sub-region viewpoint in the region dividing module is determined through image segmentation, and each monitoring sub-region viewpoint is bound with the acceptance task in a one-to-one correspondence manner through programming languages and related libraries.
3. The two-D graphics engine based task dynamic allocation system according to claim 1, wherein: the attribute defined by each primitive type in the primitive drawing module comprises: straight line: the abscissa of the two endpoints, the multi-segment line: the abscissa of each inflection point, the arc: center coordinates, radius, start angle, end angle, clockwise and anticlockwise, ellipse: center coordinates, major axis radius, minor axis radius, start angle, end angle, clockwise and anticlockwise, circle: center coordinates and radius.
4. The two-D graphics engine based task dynamic allocation system according to claim 1, wherein: the coordinate information in the data acquisition module comprises coordinate information of various primitive types before binary conversion, coordinate information of various primitive types after binary conversion and conversion included angles, and the color information comprises pixel point positions in a drawing.
5. The two-D graphics engine based task dynamic allocation system according to claim 1, wherein: the coordinate transformation module calculates the coordinate transformation coefficients of all the monitoring subareas as follows:
step S01: determining the primitive type, (x i,yi) represents coordinate information before binary conversion of straight lines, multi-section lines, circular arcs, ellipses and circles of all monitoring subareas;
step S02: (x i0,yi0) represents coordinate information of each monitoring subarea after binary conversion of straight lines, multi-section lines, circular arcs, ellipses and circles;
step S03: calculating the coordinate conversion coefficient of each monitoring subarea, wherein the calculation formula is as follows: Wherein alpha i represents the coordinate transformation coefficient of each monitoring subarea, and theta represents the coordinate included angle before and after binary transformation.
6. The two-D graphics engine based task dynamic allocation system according to claim 1, wherein: the color information sequence coefficients of the monitoring subareas calculated in the color processing module are calculated as follows:
Step S01: color information of points in drawings of all monitoring subareas is obtained through a color processing tool, wherein the color information comprises pixel point positions (j i,li) in the drawings;
step S02: calculating the color information sequence coefficient of each monitoring subarea, wherein the calculation formula is as follows: where β i denotes the color information sequence coefficient of each monitored sub-region, j i denotes the abscissa of the pixel point, and l i denotes the ordinate of the pixel point.
7. The two-D graphics engine based task dynamic allocation system according to claim 1, wherein: the calculation formula of the graph rendering index of each monitoring subarea in the rendering model building module is as follows: d i=|k1×logαi-k2×logβi |, wherein D i represents a graphics rendering index of each monitored sub-region, α i represents a coordinate conversion coefficient of each monitored sub-region, β i represents a color information sequence coefficient of each monitored sub-region, and k 1、k2 represents a constant.
8. The two-D graphics engine based task dynamic allocation system according to claim 1, wherein: the rendering judgment module compares the graph rendering index D i of each monitoring subarea with a preset standard rendering index delta D i, the preset standard rendering index delta D i is set according to the acceptance task, if the graph rendering index D i is larger than the preset standard rendering index delta D i, the rendering operation is judged to be qualified, and if the graph rendering index D i is smaller than or equal to the preset standard rendering index delta D i, the rendering operation is judged to be unqualified.
9. The two-D graphics engine based task dynamic allocation system according to claim 1, wherein: the positioning distribution module receives the judging result obtained by the rendering judging module, and when the judging result is qualified, the fire-fighting acceptance process is proved to be compliant, the region with the qualified rendering result is marked, when the judging result is unqualified, the fire-fighting acceptance process is proved to be non-compliant, and the rendering task is redistributed to the region with the unqualified rendering result in an automatic positioning mode.
10. A method for dynamic task allocation based on a two-D graphics engine, for use in a dynamic task allocation system based on a two-D graphics engine as claimed in any one of claims 1-9, characterized in that: the method comprises the following steps:
step S11: dividing the monitoring subareas and binding acceptance tasks;
step S12: determining the types of the primitives to be drawn according to the requirements of the task dynamic distribution system;
Step S13: converting a corresponding coordinate structure, and collecting coordinate information and color information sequences of points in a drawing;
Step S14: calculating coordinate conversion coefficients of all monitoring subareas through a coordinate transformation mathematical model;
Step S15: calculating color information sequence coefficients of all monitoring subareas through a color marking mathematical model;
Step S16: establishing a rendering model to calculate a graph rendering index of each monitoring subarea;
Step S17: judging whether the rendering operation is qualified or not according to a preset standard rendering index;
step S18: marking the area with qualified rendering result, and positioning the area with unqualified rendering result to redistribute the rendering task.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202311744604.2A CN117689757B (en) | 2023-12-18 | 2023-12-18 | Task dynamic allocation method and system based on two-D graphic engine |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202311744604.2A CN117689757B (en) | 2023-12-18 | 2023-12-18 | Task dynamic allocation method and system based on two-D graphic engine |
Publications (2)
Publication Number | Publication Date |
---|---|
CN117689757A CN117689757A (en) | 2024-03-12 |
CN117689757B true CN117689757B (en) | 2024-05-28 |
Family
ID=90126243
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202311744604.2A Active CN117689757B (en) | 2023-12-18 | 2023-12-18 | Task dynamic allocation method and system based on two-D graphic engine |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN117689757B (en) |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN114119899A (en) * | 2020-09-01 | 2022-03-01 | 阿里巴巴集团控股有限公司 | Information processing method, device and storage medium |
CN116361904A (en) * | 2023-05-30 | 2023-06-30 | 中国铁路设计集团有限公司 | Method and system for examining rendering quality of BIM model of urban rail engineering under rendering engine |
Family Cites Families (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US7233331B2 (en) * | 2000-03-16 | 2007-06-19 | Square Enix Co., Ltd. | Parallel object task engine and processing method |
US20150302637A1 (en) * | 2014-04-17 | 2015-10-22 | Light Foundry, LLC | Lighting performance simulation and analysis in architectural modeling environments |
-
2023
- 2023-12-18 CN CN202311744604.2A patent/CN117689757B/en active Active
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN114119899A (en) * | 2020-09-01 | 2022-03-01 | 阿里巴巴集团控股有限公司 | Information processing method, device and storage medium |
CN116361904A (en) * | 2023-05-30 | 2023-06-30 | 中国铁路设计集团有限公司 | Method and system for examining rendering quality of BIM model of urban rail engineering under rendering engine |
Non-Patent Citations (1)
Title |
---|
大规模开放遥感影像地图渲染与缓存优化;周小华等;计算机工程;20231123;第1-16页 * |
Also Published As
Publication number | Publication date |
---|---|
CN117689757A (en) | 2024-03-12 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN111897639B (en) | Image augmentation method, image augmentation device, computer device, and storage medium | |
JP7639162B2 (en) | Method, device, computer device and storage medium for determining spatial relationships | |
CN112488563B (en) | A method and device for determining computing power parameters | |
CN112433844B (en) | Resource allocation method, system, equipment and computer readable storage medium | |
CN111510957A (en) | Mobile edge server coordinate positioning method based on multi-objective constraint optimization | |
CN117689757B (en) | Task dynamic allocation method and system based on two-D graphic engine | |
WO2022161172A1 (en) | Method and apparatus for identifying corner points of pattern in image, and medium and electronic device | |
CN115035263A (en) | Data processing method and device, electronic equipment and computer program product | |
CN118096555B (en) | Image data processing method, device, equipment and storage medium | |
CN113901062A (en) | Pre-loading system based on BIM and GIS | |
CN109254857A (en) | A kind of method of adjustment of shared drive, device, equipment and medium | |
CN109087061A (en) | A kind of data task distribution method, device, equipment and medium | |
CN111338741A (en) | Task progress display method and device and storage medium | |
WO2023231459A1 (en) | Method for generating intersection surface and related apparatus | |
CN111192216A (en) | A kind of lane line smoothing processing method and system | |
CN116993955A (en) | Three-dimensional model heavy topology method, device, equipment and storage medium | |
CN116226266A (en) | Data dynamic display method, device, display terminal and storage medium | |
CN116150296A (en) | Road network skeleton generation method and device, electronic equipment and storage medium | |
CN114549752A (en) | Three-dimensional graphic data processing method, device, equipment, storage medium and product | |
CN115775285B (en) | Client self-adaptive map vector line simplifying method and system based on priority queue | |
CN119179737B (en) | Offline data generation method for digital acquisition of highway field industry | |
CN115964184B (en) | Method, device and storage medium for determining computing resources | |
CN117876410A (en) | Point cloud data segmentation method and device, electronic equipment and readable storage medium | |
CN112825123B (en) | Text recognition method, system and storage medium | |
CN118396884B (en) | Vector map data smoothing method, device, equipment and storage medium |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |