CN101599168B - Graphic layer transition method of aggregation substance and system thereof - Google Patents

Graphic layer transition method of aggregation substance and system thereof Download PDF

Info

Publication number
CN101599168B
CN101599168B CN2008103020228A CN200810302022A CN101599168B CN 101599168 B CN101599168 B CN 101599168B CN 2008103020228 A CN2008103020228 A CN 2008103020228A CN 200810302022 A CN200810302022 A CN 200810302022A CN 101599168 B CN101599168 B CN 101599168B
Authority
CN
China
Prior art keywords
layer
pel
aggregate entities
source
target
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.)
Expired - Fee Related
Application number
CN2008103020228A
Other languages
Chinese (zh)
Other versions
CN101599168A (en
Inventor
谢玉泉
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Hongfujin Precision Industry Shenzhen Co Ltd
Hon Hai Precision Industry Co Ltd
Original Assignee
Hongfujin Precision Industry Shenzhen Co Ltd
Hon Hai Precision Industry Co Ltd
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Hongfujin Precision Industry Shenzhen Co Ltd, Hon Hai Precision Industry Co Ltd filed Critical Hongfujin Precision Industry Shenzhen Co Ltd
Priority to CN2008103020228A priority Critical patent/CN101599168B/en
Publication of CN101599168A publication Critical patent/CN101599168A/en
Application granted granted Critical
Publication of CN101599168B publication Critical patent/CN101599168B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Image Generation (AREA)

Abstract

The invention discloses a graphic layer transition method of aggregation substance, comprising the following steps: a source graphic element of an aggregation substance which needs graphic layer transition and a target graphic layer which needs to be transformed by the aggregation substance are received; according to received source graphic element, all graphic elements contained in the aggregation substance are searched from a two-dimensional figure containing the aggregation substance; the source graphic layer corresponding to each graphic element of the aggregation substance is obtained; locked graphic layers in the received source graphic layer and received target graphic layer are unlocked; and each graphic element in the aggregation substance is transformed to the target graphic layer in order. The method also provides a graphic layer transition system of aggregation substance. The invention can quickly and conveniently transform graphic elements contained in the aggregation substance to the target graphic layer from the source graphic layer.

Description

Graphic layer transition system of aggregation substance and method
Technical field
The present invention relates to a kind of X-Y scheme design system and method, particularly about a kind of graphic layer transition system of aggregation substance and method.
Background technology
At the X-Y scheme design field, some pels that are mutually related are formed a whole, be called aggregate entities.Sometimes need the source figure layer converting into target figure layer of the aggregate entities of having drawn from original distribution.Existing aggregate entities figure layer conversion method is to search pel in the aggregate entities by the designer, manually revises the figure layer one by one.For the aggregate entities of complexity, all pels that find out aggregate entities have difficulties, and miss the pel in some aggregate entities easily, and modification figure layer need expend great amount of manpower and time one by one.If the figure layer is locked, revise and scheme must to revise the figure layer that will be unlocked again that finishes and lock again earlier with the pel figure layer release that locks before the layer, it is just more loaded down with trivial details to operate.
Summary of the invention
In view of above content, be necessary to propose a kind of graphic layer transition system of aggregation substance, can be quickly and easily with pel that aggregate entities comprised from source figure layer converting into target figure layer.
In addition, also be necessary to provide a kind of aggregate entities figure layer conversion method, can be quickly and easily with pel that aggregate entities comprised from source figure layer converting into target figure layer.
A kind of graphic layer transition system of aggregation substance, run in the computing machine, described computing machine comprises the graphics memory district that stores X-Y scheme, the X-Y scheme of this graphics memory district storage includes the aggregate entities that need carry out the conversion of figure floor, this system comprises: receiver module is used for receiving from described graphics memory district the source pel of the aggregate entities that need carry out the conversion of figure floor and the target figure floor that this aggregate entities will be changed; Pel is searched module, is used for searching each pel that this aggregate entities comprises according to the source pel that receives from described graphics memory district; Figure layer is separated lock module, is used to obtain the source figure layer of each pel correspondence of this aggregate entities, and the figure layer that is in the lock state in the target figure layer to the source figure layer that obtains and reception carries out release; And a figure layer modular converter, be used for one by one each pel converting into target figure layer with this aggregate entities.
A kind of aggregate entities figure layer conversion method, the method comprising the steps of: reception need be carried out the source pel of aggregate entities of figure layer conversion and the target figure layer that this aggregate entities will be changed; From the X-Y scheme that comprises this aggregate entities, search all pels that this aggregate entities comprises according to the source pel that receives; Obtain the source figure layer of each pel correspondence of this aggregate entities, and the figure layer that is in the lock state in the target figure layer to the source figure layer that obtains and reception carries out release; And one by one with each pel converting into target figure layer of this aggregate entities.
The present invention can be quickly and easily with pel that aggregate entities comprised from source figure layer converting into target figure layer, guaranteed the correctness of aggregate entities figure layer conversion, improved design efficiency.
Description of drawings
Fig. 1 is the running environment Organization Chart of graphic layer transition system of aggregation substance preferred embodiment of the present invention.
Fig. 2 is the process flow diagram of aggregate entities figure layer conversion method of the present invention preferred embodiment.
Embodiment
At the X-Y scheme design field, some pels that are mutually related are formed a whole, be called aggregate entities, aggregate entities is contained in the X-Y scheme.Consulting shown in Figure 1ly, is the running environment Organization Chart of graphic layer transition system of aggregation substance preferred embodiment of the present invention.Described graphic layer transition system of aggregation substance 10 runs in the computing machine 1.Described computing machine 1 comprises the graphics memory district 11 that is used to store X-Y scheme.The X-Y scheme of these graphics memory district 11 storages includes the aggregate entities that need carry out the conversion of figure floor, and this graphics memory district 11 also stores the attribute data of each pel in the described X-Y scheme, the related information of each pel and the status information of each figure floor etc.In an X-Y scheme, each pel is placed in the different figure layers by correspondence, for example goes into subgraph layer, line drawing layer, boundary line chart layer and center line chart layer; The attribute data of a pel is used to the figure layer of representing that this pel distributes; The related information of a pel is used to represent the incidence relation between this pel and other pels; And the status information of a figure layer is used to represent the state of this figure layer, i.e. lock-out state or released state.Before the conversion of figure layer, the pel of aggregate entities can be distributed in a plurality of figure layers, also can be distributed in a figure layer, and the figure layer that the aggregate entities pel is distributed is called source figure layer.Described graphic layer transition system of aggregation substance 10 comprises: receiver module 100, pel are searched module 101, the figure layer is separated lock module 102, figure layer modular converter 103 and the heavy lock module 104 of figure layer.
Described receiver module 100 is used for from the graphics memory district 11 and receives the source pel of the aggregate entities that need carry out the conversion of figure floor and the target figure floor that this aggregate entities will be changed.Described source pel can be any pel in this aggregate entities, supposes that the source pel is A.Described target figure layer is the figure layer that aggregate entities will be transformed into, and being switched to a target figure layer with this aggregate entities in the present embodiment is that example describes.
Described pel is searched module 101 and is used for searching all pels that this aggregate entities comprises according to the source pel that receives from this graphics memory district 11.Pel is searched module 101 and is adopted the mode of searching step by step to search the pel that aggregate entities comprises, particularly, pel is searched module 101 reads the source pel of reception from graphics memory district 11 related information, related information according to the source pel that reads, from this graphics memory district 11, find the pel (to call the one-level association diagram element in the following text) that is associated with the source pel, read the related information of one-level association diagram element then, related information according to the one-level association diagram element that reads, from this graphics memory district 11, search the pel (to call the secondary association diagram element in the following text) that is associated with the one-level association diagram element, repeat the above-mentioned action of searching step by step, until all pels that find out this aggregate entities.Supposing to search module 101 by pel, to find out the pel related with source pel A from this graphics memory district 11 be B, C, and the pel related with B is D, E, and the pel related with C is F, G, and then all pels of this aggregate entities are A, B, C, D, E, F, G.
Described figure layer is separated the attribute data that lock module 102 is used to read each pel of this aggregate entities; According to the attribute data that reads, obtain the source figure layer of each pel correspondence of this aggregate entities; And the figure layer that is in the lock state in the target figure layer to the source figure layer that obtains and reception carries out release.Whether in the present embodiment, described figure layer is separated the status information of lock module 102 according to the figure layer, have the figure layer locked in the source figure layer that judgement obtains and the target figure layer of reception; If have the figure layer locked in the target figure layer of the source figure layer that obtains and reception, the status information of then revising blocked figure layer is with the release of blocked figure layer.The state of figure layer comprises lock-out state and released state.
Described figure layer modular converter 103 is used for revising one by one the attribute data of each pel of this aggregate entities, is transformed into the target figure layer of reception with each pel with this aggregate entities.
The heavy lock module 104 of described figure layer is used to revise the status information of the figure layer that is unlocked, and the figure layer that is unlocked locked again, to guarantee the correctness of X-Y scheme.
Consulting shown in Figure 2ly, is the process flow diagram of aggregate entities figure layer conversion method of the present invention preferred embodiment.Aggregate entities is the integral body that some pels that are mutually related in the X-Y scheme are formed, and described X-Y scheme is stored in the graphics memory district 11 of computing machine 1.The X-Y scheme of these graphics memory district 11 storages includes the aggregate entities that need carry out the conversion of figure floor, and this graphics memory district 11 also stores the attribute data of each pel in the described X-Y scheme, the related information of each pel and the status information of each figure floor etc.In an X-Y scheme, each pel is placed in the different figure layers by correspondence, for example goes into subgraph layer, line drawing layer, boundary line chart layer and center line chart layer; The attribute data of a pel is used to the figure layer of representing that this pel distributes; The related information of a pel is used to represent the incidence relation between this pel and other pels; And the status information of a figure layer is used to represent the state of this figure layer, i.e. lock-out state or released state.Before the conversion of figure layer, the pel of aggregate entities can be distributed in a plurality of figure layers, also can be distributed in a figure layer, and the figure layer that the aggregate entities pel is distributed is called source figure layer.
Step S201, receiver module 100 receive the source pel of the aggregate entities that need carry out the conversion of figure floor and the target figure floor that this aggregate entities will be changed from graphics memory district 11.Described source pel can be any pel in this aggregate entities, supposes that the source pel is A.Described target figure layer is the figure layer that aggregate entities will be transformed into, and being switched to a target figure layer with this aggregate entities in the present embodiment is that example describes.
Step S202, pel search module 101 and search all pels that this aggregate entities comprises according to the source pel that receives from this graphics memory district 11.This step adopts the mode of searching step by step to search the pel that aggregate entities comprises, particularly, pel is searched module 101 reads the source pel of reception from graphics memory district 11 related information, related information according to the source pel that reads, from this graphics memory district 11, find the one-level association diagram element that is associated with the source pel, read the related information of one-level association diagram element then, related information according to the one-level association diagram element that reads, from this graphics memory district 11, search the secondary association diagram element that is associated with the one-level association diagram element, repeat the above-mentioned action of searching step by step, until all pels that find out this aggregate entities.Supposing to search module 101 by pel, to find out the pel related with source pel A from this graphics memory district 11 be B, C, and the pel related with B is D, E, and the pel related with C is F, G, and then all pels of this aggregate entities are A, B, C, D, E, F, G.
Step S203, the figure layer is separated the attribute data that lock module 102 reads each pel of this aggregate entities; According to the attribute data that reads, obtain the source figure layer of each pel correspondence of this aggregate entities; And the figure layer that is in the lock state in the target figure layer to the source figure layer that obtains and reception carries out release.Whether in the present embodiment, described figure layer is separated the status information of lock module 102 according to the figure layer, have the figure layer locked in the source figure layer that judgement obtains and the target figure layer of reception; If have the figure layer locked in the target figure layer of the source figure layer that obtains and reception, the status information of then revising blocked figure layer is with the release of blocked figure layer.The state of figure layer comprises lock-out state and released state.
Step S204, figure layer modular converter 103 revised the attribute data of each pel of this aggregate entities one by one, is transformed into the target figure layer of reception with each pel with this aggregate entities.
Step S205, the heavy lock module 104 of figure layer revised the status information of the figure layer that is unlocked, and the figure layer that is unlocked locked again, to guarantee the correctness of X-Y scheme.
The foregoing description is that example describes the aggregate entities pel is modified to a target figure layer, if the aggregate entities pel need be modified to a plurality of target figure layers, only need corresponding relation, when revising the attribute data of aggregate entities pel, correspondingly make amendment according to corresponding relation according to aggregate entities pel and target figure layer.
Above embodiment is only unrestricted in order to technical scheme of the present invention to be described, although the present invention is had been described in detail with reference to above preferred embodiment, those of ordinary skill in the art should be appreciated that and can make amendment or be equal to the spirit and scope that replacement should not break away from technical solution of the present invention technical scheme of the present invention.

Claims (9)

1. graphic layer transition system of aggregation substance, run in the computing machine, described computing machine comprises the graphics memory district that stores X-Y scheme, and the X-Y scheme of this graphics memory district storage includes the aggregate entities that need carry out the conversion of figure floor, it is characterized in that this system comprises:
Receiver module is used for receiving from described graphics memory district the source pel of the aggregate entities that need carry out the conversion of figure floor and the target figure floor that this aggregate entities will be changed;
Pel is searched module, is used for reading from the graphics memory district related information of the source pel of reception, searches each pel that this aggregate entities comprises according to described related information from described graphics memory district;
Figure layer is separated lock module, is used to obtain the source figure layer of each pel correspondence of this aggregate entities, and the figure layer that is in the lock state in the target figure layer to the source figure layer that obtains and reception carries out release; And
A figure layer modular converter is used for one by one each pel converting into target figure layer with this aggregate entities.
2. graphic layer transition system of aggregation substance as claimed in claim 1 is characterized in that, this system also comprises:
The heavy lock module of figure layer, the figure layer that is used for being unlocked locks again.
3. graphic layer transition system of aggregation substance as claimed in claim 1 is characterized in that, described pel is searched module and adopted the mode of searching step by step to search each pel that this aggregate entities comprises.
4. aggregate entities figure layer conversion method is characterized in that the method comprising the steps of:
Reception need be carried out the source pel of aggregate entities of figure layer conversion and the target figure layer that this aggregate entities will be changed;
Read the related information of the source pel of reception from the graphics memory district, from the X-Y scheme that comprises this aggregate entities, search all pels that this aggregate entities comprises according to described related information;
Obtain the source figure layer of each pel correspondence of this aggregate entities, and the figure layer that is in the lock state in the target figure layer to the source figure layer that obtains and reception carries out release; And
One by one with each pel converting into target figure layer of this aggregate entities.
5. aggregate entities figure layer conversion method as claimed in claim 4 is characterized in that this method also comprises step:
The figure layer that is unlocked is locked again.
6. aggregate entities figure layer conversion method as claimed in claim 4 is characterized in that, described to search each pel that aggregate entities comprises be to adopt the mode of searching step by step to search.
7. computer system that can be used for changing aggregate entities figure layer, this computer system comprises the graphics memory district that stores X-Y scheme, the X-Y scheme of this graphics memory district storage includes the aggregate entities that need carry out the conversion of figure floor, it is characterized in that this computer system also comprises:
Receiver module is used for receiving from described graphics memory district the source pel of the aggregate entities that need carry out the conversion of figure floor and the target figure floor that this aggregate entities will be changed;
Pel is searched module, is used for reading from the graphics memory district related information of the source pel of reception, searches each pel that this aggregate entities comprises according to described related information from described graphics memory district;
Figure layer is separated lock module, is used to obtain the source figure layer of each pel correspondence of this aggregate entities, and the figure layer that is in the lock state in the target figure layer to the source figure layer that obtains and reception carries out release; And
A figure layer modular converter is used for one by one each pel converting into target figure layer with this aggregate entities.
8. computer system as claimed in claim 7 is characterized in that, this computer system further comprises:
The heavy lock module of figure layer, the figure layer that is used for being unlocked locks again.
9. computer system as claimed in claim 7 is characterized in that, described pel is searched module and adopted the mode of searching step by step to search each pel that this aggregate entities comprises.
CN2008103020228A 2008-06-04 2008-06-04 Graphic layer transition method of aggregation substance and system thereof Expired - Fee Related CN101599168B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2008103020228A CN101599168B (en) 2008-06-04 2008-06-04 Graphic layer transition method of aggregation substance and system thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2008103020228A CN101599168B (en) 2008-06-04 2008-06-04 Graphic layer transition method of aggregation substance and system thereof

Publications (2)

Publication Number Publication Date
CN101599168A CN101599168A (en) 2009-12-09
CN101599168B true CN101599168B (en) 2011-09-28

Family

ID=41420601

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2008103020228A Expired - Fee Related CN101599168B (en) 2008-06-04 2008-06-04 Graphic layer transition method of aggregation substance and system thereof

Country Status (1)

Country Link
CN (1) CN101599168B (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5553211A (en) * 1991-07-20 1996-09-03 Fuji Xerox Co., Ltd. Overlapping graphic pattern display system
CN1398487A (en) * 2000-10-31 2003-02-19 皇家菲利浦电子有限公司 Method and device for video scene compsn. including graphic elements
CN1151465C (en) * 1997-02-12 2004-05-26 富士通株式会社 Model identification equipment using condidate table making classifying and method thereof
CN101136023A (en) * 2007-08-03 2008-03-05 苏州工业园区联科信息技术有限公司 Method for carrying advertisement in electronic map
CN101308583A (en) * 2008-07-16 2008-11-19 永凯软件技术(上海)有限公司 Curved surface body line boundary model rebuilding method based on three-views and apparatus thereof

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5553211A (en) * 1991-07-20 1996-09-03 Fuji Xerox Co., Ltd. Overlapping graphic pattern display system
CN1151465C (en) * 1997-02-12 2004-05-26 富士通株式会社 Model identification equipment using condidate table making classifying and method thereof
CN1398487A (en) * 2000-10-31 2003-02-19 皇家菲利浦电子有限公司 Method and device for video scene compsn. including graphic elements
CN101136023A (en) * 2007-08-03 2008-03-05 苏州工业园区联科信息技术有限公司 Method for carrying advertisement in electronic map
CN101308583A (en) * 2008-07-16 2008-11-19 永凯软件技术(上海)有限公司 Curved surface body line boundary model rebuilding method based on three-views and apparatus thereof

Also Published As

Publication number Publication date
CN101599168A (en) 2009-12-09

Similar Documents

Publication Publication Date Title
Benelallam et al. Neo4EMF, a scalable persistence layer for EMF models
RU2370808C2 (en) System and method for data display with enclosed tables without circuit diagram
CN101477532B (en) Method, apparatus and system for implementing data storage and access
US20130042055A1 (en) Memory system including key-value store
CN102243660A (en) Data access method and device
CN102495730B (en) Dynamic and extendable web interface method
US11036797B2 (en) Efficient storage and utilization of a hierarchical data set
JP2009058861A (en) Split map image creation device, map server, program, and data structure
CN101290573A (en) Trans-platform embedded geographical information systems
US8880553B2 (en) Redistribute native XML index key shipping
CN109657060B (en) Safety production accident case pushing method and system
CN110908996B (en) Data processing method and device
CN101599168B (en) Graphic layer transition method of aggregation substance and system thereof
CN102455905B (en) Method and system for establishing main panel interface, main panel and main panel interface system
CN103077198A (en) Operation system and file cache positioning method thereof
CN103699627B (en) A kind of super large file in parallel data block localization method based on Hadoop clusters
CN101183366A (en) Photograph document handling method and system
CN101702180B (en) Method and system for searching associated field value
CN102855278A (en) Simulation method and system
US11422998B2 (en) Data management system, data management device, data management method, and storage medium
CN110221778A (en) Processing method, system, storage medium and the electronic equipment of hotel's data
CN102508832B (en) Method for storing on-orbit data of spacecraft in unified way
CN101004741A (en) Modified hash method, and application
CN112800168B (en) Method and device for creating robot business map library and storage medium
CN101478652A (en) Searching method, system and digital television receiving terminal for memory data

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20110928

Termination date: 20160604