Summary of the invention
The present invention, just based on the problems referred to above, proposes a kind of new technical scheme, can carry out dimensional accuracy mark fast and accurately to figure, thus improves efficiency and the accuracy of data mark.
In view of this, the present invention proposes a kind of annotation equipment, comprise: acquiring unit, when receiving the instruction marked the one or more figures on drawing, obtain the markup information preset, wherein said markup information comprises the precision information of user's name and the multiple figure corresponding with described user's name; Information determination unit, resolves the attribute of described drawing and described markup information, and determines the precision information corresponding to described one or more figure according to analysis result; Mark unit, the precision information corresponding according to each described figure, the assigned address on described drawing marks out accuracy data corresponding to each described figure.
In this technical scheme, when receiving the instruction marked the figure on a certain drawing, namely when user selectes the figure needing mark on a certain drawing, annotation equipment can automatic acquisition markup information, and the attribute of the figure marked as required finds the precision information corresponding with this figure in markup information, thus the dimensional accuracy information of this figure is automatically marked out at assigned address, like this, avoid that manually to mark the error rate brought high, the problems such as complex operation, simplify the operation of user, improve efficiency and the accuracy of data mark.
In technique scheme, preferably, described information determination unit comprises: resolve subelement, for resolving the attribute of described drawing, parse the identifiable design layer another name belonging to described drawing and affiliated circuit board name, and described markup information is resolved, parse the precision information of user's name in described markup information and the multiple figure corresponding with described user's name; And search subelement, call and described circuit board name for the described identifiable design layer according to the described drawing parsed, and the precision information of described user's name and the multiple figure corresponding with described user's name, find out the precision information corresponding to described one or more figure; And described mark unit comprises: computation subunit, for the precision information corresponding according to each described figure, calculate the accuracy data that each described figure is corresponding.
In this technical scheme, the user's name in the markup information of its correspondence can be determined according to circuit board name, and then the precision information of its correspondence is determined according to selected one or more figures, and the accuracy data that mark is calculated according to precision information, thus Direct Mark goes out accuracy data, do not need artificial calculating and artificial mark.
In technique scheme, preferably, described information determination unit also comprises: name subelement, for judging the layer alias type of described drawing, when described layer alias type is original layers another name, be described identifiable design layer another name by described original layers alias name modifications according to the naming rule preset.
In this technical scheme, because the layer another name naming rule of each user is different, so its layer another name is all different, so needing the original layers of user another name Uniform Name is the layer another name that can identify.
In technique scheme, preferably, also comprise: output unit, for according to the output order received, export the rear drawing of mark.
In this technical scheme, the drawing selectivity marked according to individual human needs, can export by user, and its form exported can be the forms such as PDF, word, and user can other drawing of the whole layer of disposable output or other drawing of part layer simultaneously.
In technique scheme, preferably, also comprise: setting unit, for arranging instruction according to what receive, described markup information is set; Storage unit, for storing described markup information.
In this technical scheme, user can arrange markup information voluntarily according to individual demand.
According to another aspect of the invention, additionally provide a kind of mask method, comprise: step 202, when receiving the instruction marked the one or more figures on a drawing, obtain the markup information preset, wherein said markup information comprises the precision information of user's name and the multiple figure corresponding with described user's name; Step 204, resolves the attribute of described drawing and described markup information, and determines the precision information corresponding to described one or more figure according to analysis result; Step 206, the precision information corresponding according to each described figure, the assigned address on described drawing marks out accuracy data corresponding to each described figure.
In this technical scheme, when receiving the instruction marked the figure on a certain drawing, namely when user selectes the figure needing mark on a certain drawing, annotation equipment can automatic acquisition markup information, and the attribute of the figure marked as required finds the precision information corresponding with this figure in markup information, thus the dimensional accuracy information of this figure is automatically marked out at assigned address, like this, avoid that manually to mark the error rate brought high, the problems such as complex operation, simplify the operation of user, improve efficiency and the accuracy of data mark.
In technique scheme, preferably, described step 204 comprises: step 2042, the attribute of described drawing is resolved, parse the identifiable design layer another name belonging to described drawing and affiliated circuit board name, and described markup information is resolved, parse the precision information of user's name in described markup information and the multiple figure corresponding with described user's name; And step 2046, according to described identifiable design layer another name and the described circuit board name of the described drawing parsed, and the precision information of described user's name and the multiple figure corresponding with described user's name, find out the precision information corresponding to described one or more figure; And described step 206 comprises: step 2062, the precision information corresponding according to each described figure, calculates the accuracy data that each described figure is corresponding.
In this technical scheme, the user's name in the markup information of its correspondence can be determined according to circuit board name, and then the precision information of its correspondence is determined according to selected one or more figures, and the accuracy data that mark is calculated according to precision information, thus Direct Mark goes out accuracy data, do not need artificial calculating and artificial mark.
In technique scheme, preferably, described step 204 also comprises: step 2041, judges the layer alias type of described drawing, when described layer alias type is original layers another name, be described identifiable design layer another name by described original layers alias name modifications according to the naming rule preset.
In this technical scheme, because the layer another name naming rule of each user is different, so its layer another name is all different, so needing the original layers of user another name Uniform Name is the layer another name that can identify.
In technique scheme, preferably, also comprise: step 208, according to the output order received, export the drawing after mark.
In this technical scheme, the drawing selectivity marked according to individual human needs, can export by user, and its form exported can be the forms such as PDF, word, and user can other drawing of the whole layer of disposable output or other drawing of part layer simultaneously.
In technique scheme, preferably, also comprised before described step 202: instruction is set according to what receive, described markup information is set; And store described markup information.
In this technical scheme, user can arrange markup information voluntarily according to individual demand.
By above technical scheme, can the precision information of automatic marking figure, avoid the error rate that artificial mark drawing brings high, the problems such as complex operation, simplify the operation of user, improve efficiency and the accuracy of data mark.
Embodiment
In order to more clearly understand above-mentioned purpose of the present invention, feature and advantage, below in conjunction with the drawings and specific embodiments, the present invention is further described in detail.It should be noted that, when not conflicting, the feature in the embodiment of the application and embodiment can combine mutually.
Set forth a lot of detail in the following description so that fully understand the present invention; but; the present invention can also adopt other to be different from other modes described here and implement, and therefore, protection scope of the present invention is not by the restriction of following public specific embodiment.
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, comprise: acquiring unit 102, when receiving the instruction marked the one or more figures on drawing, obtain the markup information preset, wherein said markup information comprises the precision information of user's name and the multiple figure corresponding with described user's name; Information determination unit 104, resolves the attribute of described drawing and described markup information, and determines the precision information corresponding to described one or more figure according to analysis result; Mark unit 106, the precision information corresponding according to each described figure, the assigned address on described drawing marks out accuracy data corresponding to each described figure.
In this technical scheme, when receiving the instruction marked the figure on a certain drawing, namely when user selectes the figure needing mark on a certain drawing, annotation equipment can automatic acquisition markup information, and the attribute of the figure marked as required finds the precision information corresponding with this figure in markup information, thus the dimensional accuracy information of this figure is automatically marked out at assigned address, like this, avoid that manually to mark the error rate brought high, the problems such as complex operation, simplify the operation of user, improve efficiency and the accuracy of data mark.
In technique scheme, preferably, described information determination unit 104 comprises: resolve subelement 1042, for resolving the attribute of described drawing, parse the identifiable design layer another name belonging to described drawing and affiliated circuit board name, and described markup information is resolved, parse the precision information of user's name in described markup information and the multiple figure corresponding with described user's name; And search subelement 1044, call and described circuit board name for the described identifiable design layer according to the described drawing parsed, and the precision information of described user's name and the multiple figure corresponding with described user's name, search the precision information corresponding to described one or more figure; And described mark unit 106 comprises: computation subunit 1062, for the precision information corresponding according to each described figure, calculate the accuracy data that each described figure is corresponding.
In this technical scheme, the user's name in the markup information of its correspondence can be determined according to circuit board name, and then the precision information of its correspondence is determined according to selected one or more figures, and the accuracy data that mark is calculated according to precision information, thus Direct Mark goes out accuracy data, do not need artificial calculating and artificial mark.
In technique scheme, preferably, described information determination unit 104 also comprises: name subelement 1046, for judging the layer alias type of described drawing, when described layer alias type is original layers another name, be described identifiable design layer another name by described original layers alias name modifications according to the naming rule preset.
In this technical scheme, because the layer another name naming rule of each user is different, so its layer another name is all different, so needing the original layers of user another name Uniform Name is the layer another name that can identify.
In technique scheme, preferably, also comprise: output unit 108, for according to the output order received, export the drawing after mark.
In this technical scheme, the drawing selectivity marked according to individual human needs, can export by user, and its form exported can be the forms such as PDF, word, and user can other drawing of the whole layer of disposable output or other drawing of part layer simultaneously.
In technique scheme, preferably, also comprise: setting unit 110, for arranging instruction according to what receive, described markup information is set; Storage unit 112, for storing described markup information.
In this technical scheme, user can arrange markup information voluntarily according to individual demand.
Fig. 2 shows the process flow diagram of mask method according to an embodiment of the invention.
As shown in Figure 2, mask method according to an embodiment of the invention, comprise: step 202, when receiving the instruction marked the one or more figures on drawing, obtain the markup information preset, wherein said markup information comprises the precision information of user's name and the multiple figure corresponding with described user's name; Step 204, resolves the attribute of described drawing and described markup information, and determines the precision information corresponding to described one or more figure according to analysis result; Step 206, the precision information corresponding according to each described figure, the assigned address on described drawing marks out accuracy data corresponding to each described figure.
In this technical scheme, when receiving the instruction marked the figure on a certain drawing, namely when user selectes the figure needing mark on a certain drawing, annotation equipment can automatic acquisition markup information, and the attribute of the figure marked as required finds the precision information corresponding with this figure in markup information, thus the dimensional accuracy information of this figure is automatically marked out at assigned address, like this, avoid that manually to mark the error rate brought high, the problems such as complex operation, simplify the operation of user, improve efficiency and the accuracy of data mark.
In technique scheme, preferably, described step 204 comprises: step 2042, the attribute of described drawing is resolved, parse the identifiable design layer another name belonging to described drawing and affiliated circuit board name, and described markup information is resolved, parse the precision information of user's name in described markup information and the multiple figure corresponding with described user's name; And step 2046, according to described identifiable design layer another name and the described circuit board name of the described drawing parsed, and the precision information of described user's name and the multiple figure corresponding with described user's name, find out the precision information corresponding to described one or more figure; And described step 206 comprises: step 2062, the precision information corresponding according to each described figure, calculates the accuracy data that each described figure is corresponding.
In this technical scheme, the user's name in the markup information of its correspondence can be determined according to circuit board name, and then the precision information of its correspondence is determined according to selected one or more figures, and the accuracy data that mark is calculated according to precision information, thus Direct Mark goes out accuracy data, do not need artificial calculating and artificial mark.
In technique scheme, preferably, described step 204 also comprises: step 2041, judges the layer alias type of described drawing, when described layer alias type is original layers another name, be described identifiable design layer another name by described original layers alias name modifications according to the naming rule preset.
In this technical scheme, because the layer another name naming rule of each user is different, so its layer another name is all different, so needing the original layers of user another name Uniform Name is the layer another name that can identify.
In technique scheme, preferably, also comprise: step 208, according to the output order received, export the drawing after mark.
In this technical scheme, the drawing selectivity marked according to individual human needs, can export by user, and its form exported can be the forms such as PDF, word, and user can other drawing of the whole layer of disposable output or other drawing of part layer simultaneously.
In technique scheme, preferably, also comprised before described step 202: instruction is set according to what receive, described markup information is set; And store described markup information.
In this technical scheme, user can arrange markup information voluntarily according to individual demand.
Fig. 3 A to 3E shows the screenshot capture of annotation process according to an embodiment of the invention.Below in conjunction with Fig. 3 A to Fig. 3 E, describe technical scheme of the present invention in detail.
First, user can according to individual human needs by different client, and the dimension of picture accuracy requirement of different attribute gathers out, as shown in table 1:
Table 1
After gathering, can by above-mentioned dimension of picture accuracy requirement according in certain rule write drawing software for editing, as markup information, when needs mark, annotation equipment just can obtain this markup information like this.
As shown in Figure 3A, in annotation process, can demonstrate labeling operation step by display interface, as adding layers name, export PDF etc., user can select operation steps to operate accordingly on display interface.
Because the layer another name naming rule of each user is different, so its layer another name is all different, therefore needing the original layers of user another name Uniform Name is the layer another name that can identify.As shown in Figure 3 B, in concrete annotation process, when annotation equipment receives the instruction marked a certain drawing, can be identifiable design layer another name by the original layers of this drawing another name Uniform Name automatically.
As shown in Figure 3 C, after automatic naming layer another name, annotation equipment also can not indicate for drawing adding layers automatically, and its middle level does not indicate and is made up of layer another name and circuit board name two parts, if " COMP MH14N45C3VA " printed words in figure are that layer does not indicate, that is: layer another name+plate name.It is mainly used to retrieve and distinguishes a not drawing.
As shown in Figure 3 D, after in the manual Continuous Selection one deck of user, each needs the figure of mark, click automatic marking button, annotation equipment can go out the dimensional accuracy tolerance of each figure wherein by automatic marking, " Line " in figure in labeled data etc. are graphic attribute, " F " value above correspondence and the tolerance of inside plants management and control, the finished size accuracy requirement of " C " value and original client.
As shown in FIGURE 3 E, the drawing marked according to individual demand, can export with form selectivity such as PDF by user.Wherein, user can select the drawing of disposable output one deck, also can select the drawing of all layers of disposable output.
As shown in Figure 4, user not only can see the dimensional accuracy tolerance of each figure to design sketch after drawings marked on drawing, can also see the layer another name belonging to this drawing and plate name, have great convenience for the user.
More than be described with reference to the accompanying drawings technical scheme of the present invention, by technical scheme of the present invention, can the precision information of automatic marking figure, avoid the error rate that artificial mark drawing brings high, the problems such as complex operation, simplify the operation of user, improve efficiency and the accuracy of data mark.
Those skilled in the art should understand, embodiments of the invention can be provided as method, system or computer program.Therefore, the present invention can adopt the form of complete hardware embodiment, completely software implementation or the embodiment in conjunction with software and hardware aspect.And the present invention can adopt in one or more form wherein including the upper computer program implemented of computer-usable storage medium (including but not limited to magnetic disk memory, CD-ROM, optical memory etc.) of computer usable program code.
The present invention describes with reference to according to the process flow diagram of the method for the embodiment of the present invention, equipment (system) and computer program and/or block scheme.Should understand can by the combination of the flow process in each flow process in computer program instructions realization flow figure and/or block scheme and/or square frame and process flow diagram and/or block scheme and/or square frame.These computer program instructions can being provided to the processor of multi-purpose computer, special purpose computer, Embedded Processor or other programmable data processing device to produce a machine, making the instruction performed by the processor of computing machine or other programmable data processing device produce device for realizing the function of specifying in process flow diagram flow process or multiple flow process and/or block scheme square frame or multiple square frame.
These computer program instructions also can be stored in can in the computer-readable memory that works in a specific way of vectoring computer or other programmable data processing device, the instruction making to be stored in this computer-readable memory produces the manufacture comprising command device, and this command device realizes the function of specifying in process flow diagram flow process or multiple flow process and/or block scheme square frame or multiple square frame.
These computer program instructions also can be loaded in computing machine or other programmable data processing device, make on computing machine or other programmable devices, to perform sequence of operations step to produce computer implemented process, thus the instruction performed on computing machine or other programmable devices is provided for the step realizing the function of specifying in process flow diagram flow process or multiple flow process and/or block scheme square frame or multiple square frame.
Although describe the preferred embodiments of the present invention, those skilled in the art once obtain the basic creative concept of cicada, then can make other change and amendment to these embodiments.So claims are intended to be interpreted as comprising preferred embodiment and falling into all changes and the amendment of the scope of the invention.
The foregoing is only the preferred embodiments of the present invention, be not limited to the present invention, for a person skilled in the art, the present invention can have various modifications and variations.Within the spirit and principles in the present invention all, any amendment done, equivalent replacement, improvement etc., all should be included within protection scope of the present invention.