Invention content
The present invention is based on the above problem, it is proposed that a kind of new technical solution, can fast and accurately to figure into
Row dimensional accuracy marks, so as to improve the efficiency and accuracy of data mark.
In view of this, the present invention proposes a kind of annotation equipment, including:Acquiring unit is being received to one on drawing
During the instruction that a or multiple figures are labeled, preset markup information is obtained, wherein the markup information includes user name
The precision information of title and a variety of figures corresponding with the user's name;Information determination unit, attribute and institute to the drawing
It states markup information to be parsed, and the precision information according to corresponding to analysis result determines one or more of figures;Mark
Unit, according to the corresponding precision information of each figure, the designated position on the drawing marks out each figure
Corresponding accuracy data.
In the technical scheme, when receiving the instruction being labeled to the figure on a certain drawing, i.e., user is at certain
When the figure for needing to mark is selected on one drawing, annotation equipment can obtain markup information automatically, and mark as needed
The attribute of figure finds precision information corresponding with the figure in markup information, so as to mark out the figure in designated position automatically
The dimensional accuracy information of shape in this way, avoiding manually the problems such as error rate is high caused by mark, cumbersome, simplifies use
The operation at family improves the efficiency and accuracy of data mark.
In the above-mentioned technical solutions, it is preferable that described information determination unit includes:Parsing subunit, for the figure
The attribute of paper is parsed, and parses recognizable layer alias belonging to the drawing and affiliated circuit board name and to institute
It states markup information to be parsed, parses the user's name in the markup information and a variety of figures corresponding with the user's name
The precision information of shape;And subelement is searched, for according to the recognizable layer alias of the drawing that parses and described
The precision information of circuit board name and the user's name and a variety of figures corresponding with the user's name, finds out institute
State the precision information corresponding to one or more figures;And the mark unit includes:Computation subunit, for according to each
The corresponding precision information of the figure, calculates the corresponding accuracy data of each figure.
In the technical scheme, the user's name in its corresponding markup information can be determined according to circuit board name, into
And determine its corresponding precision information according to selected one or more figures, and calculate what be marked according to precision information
Accuracy data so as to which Direct Mark goes out accuracy data, does not need to manually calculate and artificial mark.
In the above-mentioned technical solutions, it is preferable that described information determination unit further includes:Subelement is named, for judging
The layer alias type of drawing is stated, when the layer alias type is original layers alias, according to preset naming rule by the original
Beginning layer alias name modifications are the recognizable layer alias.
In the technical scheme, since the layer alias naming rule of each user is different, so its layer of alias is not
Together, so it is the layer alias that can identify to need the original layers alias Uniform Name of user.
In the above-mentioned technical solutions, it is preferable that further include:Output unit, for according to the output order received, output
Drawing after mark.
In the technical scheme, user can selectively export the drawing marked, output according to a human needs
Form can be the forms such as PDF, word, while user can disposably export the other drawing of whole layers or the other figure of part layer
Paper.
In the above-mentioned technical solutions, it is preferable that further include:Setting unit, for according to the setting instruction received, setting
The markup information;Storage unit, for storing the markup information.
In the technical scheme, user can voluntarily set markup information according to individual demand.
According to another aspect of the invention, a kind of mask method is additionally provided, including:Step 202, it is receiving to a figure
During the instruction that one or more figures on paper are labeled, preset markup information is obtained, wherein being wrapped in the markup information
Include the precision information of user's name and a variety of figures corresponding with the user's name;Step 204, to the attribute of the drawing and
The markup information is parsed, and the precision information according to corresponding to analysis result determines one or more of figures;Step
Rapid 206, according to the corresponding precision information of each figure, the designated position on the drawing marks out each figure
Corresponding accuracy data.
In the technical scheme, when receiving the instruction being labeled to the figure on a certain drawing, i.e., user is at certain
When the figure for needing to mark is selected on one drawing, annotation equipment can obtain markup information automatically, and mark as needed
The attribute of figure finds precision information corresponding with the figure in markup information, so as to mark out the figure in designated position automatically
The dimensional accuracy information of shape in this way, avoiding manually the problems such as error rate is high caused by mark, cumbersome, simplifies use
The operation at family improves the efficiency and accuracy of data mark.
In the above-mentioned technical solutions, it is preferable that the step 204 includes:Step 2042, the attribute of the drawing is carried out
Parsing, parse recognizable layer alias belonging to the drawing and affiliated circuit board name and to the markup information into
Row parsing parses the precision letter of the user's name and a variety of figures corresponding with the user's name in the markup information
Breath;And step 2046, according to the recognizable layer alias of the drawing parsed and the circuit board name, Yi Jisuo
The precision information of user's name and a variety of figures corresponding with the user's name is stated, finds out one or more of figure institutes
Corresponding precision information;And the step 206 includes:Step 2062, according to the corresponding precision information of each figure, meter
Calculate the corresponding accuracy data of each figure.
In the technical scheme, the user's name in its corresponding markup information can be determined according to circuit board name, into
And determine its corresponding precision information according to selected one or more figures, and calculate what be marked according to precision information
Accuracy data so as to which Direct Mark goes out accuracy data, does not need to manually calculate and artificial mark.
In the above-mentioned technical solutions, it is preferable that the step 204 further includes:Step 2041, judge that the layer of the drawing is other
Name type, when the layer alias type is original layers alias, according to preset naming rule by the original layers alias name modifications
For the recognizable layer alias.
In the technical scheme, since the layer alias naming rule of each user is different, so its layer of alias is not
Together, so it is the layer alias that can identify to need the original layers alias Uniform Name of user.
In the above-mentioned technical solutions, it is preferable that further include:Step 208, according to the output order received, output mark
Drawing afterwards.
In the technical scheme, user can selectively export the drawing marked, output according to a human needs
Form can be the forms such as PDF, word, while user can disposably export the other drawing of whole layers or the other figure of part layer
Paper.
In the above-mentioned technical solutions, it is preferable that further included before the step 202:It is instructed according to the setting received,
The markup information is set;And the storage markup information.
In the technical scheme, user can voluntarily set markup information according to individual demand.
By above technical scheme, it can avoid artificial mark drawing with the precision information of automatic marking figure and brought
Error rate it is high, it is cumbersome the problems such as, simplify the operation of user, improve the efficiency and accuracy of data mark.
Specific embodiment
It is to better understand the objects, features and advantages of the present invention, below in conjunction with the accompanying drawings and specific real
Mode is applied the present invention is further described in detail.It should be noted that in the absence of conflict, the implementation of the application
Feature in example and embodiment can be combined with each other.
Many details are elaborated in the following description to facilitate a thorough understanding of the present invention, still, the present invention may be used also
To be implemented using other different from other modes described here, therefore, protection scope of the present invention is not by described below
Specific embodiment limitation.
Fig. 1 shows the block diagram of annotation equipment according to an embodiment of the invention.
As shown in Figure 1, annotation equipment 100 according to an embodiment of the invention, including:Acquiring unit 102 is receiving pair
During the instruction that one or more figures on drawing are labeled, preset markup information is obtained, wherein in the markup information
Including user's name and the precision information of a variety of figures corresponding with the user's name;Information determination unit 104, to the figure
The attribute of paper and the markup information are parsed, and the essence according to corresponding to analysis result determines one or more of figures
Spend information;Unit 106 is marked, according to the corresponding precision information of each figure, the designated position mark on the drawing
Go out the corresponding accuracy data of each figure.
In the technical scheme, when receiving the instruction being labeled to the figure on a certain drawing, i.e., user is at certain
When the figure for needing to mark is selected on one drawing, annotation equipment can obtain markup information automatically, and mark as needed
The attribute of figure finds precision information corresponding with the figure in markup information, so as to mark out the figure in designated position automatically
The dimensional accuracy information of shape in this way, avoiding manually the problems such as error rate is high caused by mark, cumbersome, simplifies use
The operation at family improves the efficiency and accuracy of data mark.
In the above-mentioned technical solutions, it is preferable that described information determination unit 104 includes:Parsing subunit 1042, for pair
The attribute of the drawing is parsed, and parses the recognizable layer alias belonging to the drawing and affiliated circuit board name, with
And the markup information is parsed, parse user's name in the markup information and corresponding with the user's name
The precision information of a variety of figures;And subelement 1044 is searched, for according to the recognizable layer of the drawing parsed
Alias and the circuit board name and the user's name and the precision of a variety of figures corresponding with the user's name letter
Breath, searches the precision information corresponding to one or more of figures;And the mark unit 106 includes:Computation subunit
1062, for according to each corresponding precision information of the figure, calculating the corresponding accuracy data of each figure.
In the technical scheme, the user's name in its corresponding markup information can be determined according to circuit board name, into
And determine its corresponding precision information according to selected one or more figures, and calculate what be marked according to precision information
Accuracy data so as to which Direct Mark goes out accuracy data, does not need to manually calculate and artificial mark.
In the above-mentioned technical solutions, it is preferable that described information determination unit 104 further includes:Subelement 1046 is named, is used for
Judge the layer alias type of the drawing, it, will according to preset naming rule when the layer alias type is original layers alias
The original layers alias name modifications are the recognizable layer alias.
In the technical scheme, since the layer alias naming rule of each user is different, so its layer of alias is not
Together, so it is the layer alias that can identify to need the original layers alias Uniform Name of user.
In the above-mentioned technical solutions, it is preferable that further include:Output unit 108, for according to the output order that receives,
Drawing after output mark.
In the technical scheme, user can selectively export the drawing marked, output according to a human needs
Form can be the forms such as PDF, word, while user can disposably export the other drawing of whole layers or the other figure of part layer
Paper.
In the above-mentioned technical solutions, it is preferable that further include:Setting unit 110, for being instructed according to the setting received,
The markup information is set;Storage unit 112, for storing the markup information.
In the technical scheme, user can voluntarily set markup information according to individual demand.
Fig. 2 shows the flow charts of mask method according to an embodiment of the invention.
As shown in Fig. 2, mask method according to an embodiment of the invention, including:Step 202, it is receiving on drawing
One or more figures be labeled instruction when, obtain preset markup information, wherein the markup information include use
Name in an account book claims and the precision information of a variety of figures corresponding with the user's name;Step 204, the attribute to the drawing and described
Markup information is parsed, and the precision information according to corresponding to analysis result determines one or more of figures;Step
206, according to the corresponding precision information of each figure, the designated position on the drawing marks out each figure pair
The accuracy data answered.
In the technical scheme, when receiving the instruction being labeled to the figure on a certain drawing, i.e., user is at certain
When the figure for needing to mark is selected on one drawing, annotation equipment can obtain markup information automatically, and mark as needed
The attribute of figure finds precision information corresponding with the figure in markup information, so as to mark out the figure in designated position automatically
The dimensional accuracy information of shape in this way, avoiding manually the problems such as error rate is high caused by mark, cumbersome, simplifies use
The operation at family improves the efficiency and accuracy of data mark.
In the above-mentioned technical solutions, it is preferable that the step 204 includes:Step 2042, the attribute of the drawing is carried out
Parsing, parse recognizable layer alias belonging to the drawing and affiliated circuit board name and to the markup information into
Row parsing parses the precision letter of the user's name and a variety of figures corresponding with the user's name in the markup information
Breath;And step 2046, according to the recognizable layer alias of the drawing parsed and the circuit board name, Yi Jisuo
The precision information of user's name and a variety of figures corresponding with the user's name is stated, finds out one or more of figure institutes
Corresponding precision information;And the step 206 includes:Step 2062, according to the corresponding precision information of each figure, meter
Calculate the corresponding accuracy data of each figure.
In the technical scheme, the user's name in its corresponding markup information can be determined according to circuit board name, into
And determine its corresponding precision information according to selected one or more figures, and calculate what be marked according to precision information
Accuracy data so as to which Direct Mark goes out accuracy data, does not need to manually calculate and artificial mark.
In the above-mentioned technical solutions, it is preferable that the step 204 further includes:Step 2041, judge that the layer of the drawing is other
Name type, when the layer alias type is original layers alias, according to preset naming rule by the original layers alias name modifications
For the recognizable layer alias.
In the technical scheme, since the layer alias naming rule of each user is different, so its layer of alias is not
Together, so it is the layer alias that can identify to need the original layers alias Uniform Name of user.
In the above-mentioned technical solutions, it is preferable that further include:Step 208, according to the output order received, output mark
Drawing afterwards.
In the technical scheme, user can selectively export the drawing marked, output according to a human needs
Form can be the forms such as PDF, word, while user can disposably export the other drawing of whole layers or the other figure of part layer
Paper.
In the above-mentioned technical solutions, it is preferable that further included before the step 202:It is instructed according to the setting received,
The markup information is set;And the storage markup information.
In the technical scheme, user can voluntarily set markup information according to individual demand.
Fig. 3 A to 3E show the screenshot capture of annotation process according to an embodiment of the invention.With reference to Fig. 3 A to figure
3E, the technical solution that the present invention will be described in detail.
First, user can be according to a human needs by different clients, and the dimension of picture required precision of different attribute summarizes
Out, as shown in table 1:
Table 1
After summarizing, it can make by above-mentioned dimension of picture required precision according in certain rule write-in drawing software for editing
For markup information, annotation equipment can obtain the markup information when mark is needed in this way.
As shown in Figure 3A, in annotation process, labeling operation step, such as adding layers can be shown by display interface
Name, output PDF etc., user selection operation step can accordingly be operated on display interface.
Since the layer alias naming rule of each user is different, so its layer of alias is all different, it is therefore desirable to will use
The original layers alias Uniform Name at family is the layer alias that can be identified.As shown in Figure 3B, in specific annotation process, work as mark
It, can be automatically by the original layers alias Uniform Name of the drawing for can when device receives the instruction being labeled to a certain drawing
Identification layer alias.
As shown in Figure 3 C, after automatic naming layer alias, annotation equipment can also not indicate for drawing adding layers automatically,
Middle level does not indicate to be made of layer alias and circuit board name two parts, if " COMP MH14N45C3VA " printed words in figure are that layer is other
Mark, i.e.,:Layer alias+plate name.It is mainly used to retrieve and distinguishes a not drawing.
As shown in Figure 3D, it in user continuously selects a certain layer manually after each figure for needing to mark, clicks automatic
Labelled buttons, annotation equipment meeting automatic marking go out the dimensional accuracy tolerance of each figure wherein, " Line " in figure in labeled data
Deng for graphic attribute, the tolerance of corresponding " F " value, that is, inside plants management and control above, the end product rule of " C " value, that is, original client
Very little required precision.
As shown in FIGURE 3 E, user can selectively be exported the drawing marked with forms such as PDF according to individual demand.
Wherein, user can select disposably to export one layer of drawing, can also select disposably to export all layers of drawing.
Design sketch after drawings marked is as shown in figure 4, user can not only see the ruler of each figure on drawing
Very little accuracy tolerance, it is further seen that layer alias and plate name belonging to the drawing have great convenience for the user.
Technical scheme of the present invention is described in detail above in association with attached drawing, it, can be automatic by technical scheme of the present invention
Mark the precision information of figure, it is high to avoid error rate caused by artificial mark drawing, it is cumbersome the problems such as, simplify use
The operation at family improves the efficiency and accuracy of data mark.
It should be understood by those skilled in the art that, the embodiment of the present invention can be provided as method, system or computer program
Product.Therefore, the reality in terms of complete hardware embodiment, complete software embodiment or combination software and hardware can be used in the present invention
Apply the form of example.Moreover, the computer for wherein including computer usable program code in one or more can be used in the present invention
Usable storage medium(Including but not limited to magnetic disk storage, CD-ROM, optical memory etc.)The computer program production of upper implementation
The form of product.
The present invention be with reference to according to the method for the embodiment of the present invention, equipment(System)And the flow of computer program product
Figure and/or block diagram describe.It should be understood that it can be realized by computer program instructions every first-class in flowchart and/or the block diagram
The combination of flow and/or box in journey and/or box and flowchart and/or the block diagram.These computer programs can be provided
The processor of all-purpose computer, special purpose computer, Embedded Processor or other programmable data processing devices is instructed to produce
A raw machine so that the instruction performed by computer or the processor of other programmable data processing devices is generated for real
The device of function specified in present one flow of flow chart or one box of multiple flows and/or block diagram or multiple boxes.
These computer program instructions, which may also be stored in, can guide computer or other programmable data processing devices with spy
Determine in the computer-readable memory that mode works so that the instruction generation being stored in the computer-readable memory includes referring to
Enable the manufacture of device, the command device realize in one flow of flow chart or multiple flows and/or one box of block diagram or
The function of being specified in multiple boxes.
These computer program instructions can be also loaded into computer or other programmable data processing devices so that counted
Series of operation steps are performed on calculation machine or other programmable devices to generate computer implemented processing, so as in computer or
The instruction offer performed on other programmable devices is used to implement in one flow of flow chart or multiple flows and/or block diagram one
The step of function of being specified in a box or multiple boxes.
Although preferred embodiments of the present invention have been described, but those skilled in the art once know basic creation
Property concept, then can make these embodiments other change and modification.So appended claims be intended to be construed to include it is excellent
It selects embodiment and falls into all change and modification of the scope of the invention.
The foregoing is only a preferred embodiment of the present invention, is not intended to restrict the invention, for the skill of this field
For art personnel, the invention may be variously modified and varied.All within the spirits and principles of the present invention, that is made any repaiies
Change, equivalent replacement, improvement etc., should all be included in the protection scope of the present invention.