CN102141884A - Drawing device and method - Google Patents

Drawing device and method Download PDF

Info

Publication number
CN102141884A
CN102141884A CN2010106203459A CN201010620345A CN102141884A CN 102141884 A CN102141884 A CN 102141884A CN 2010106203459 A CN2010106203459 A CN 2010106203459A CN 201010620345 A CN201010620345 A CN 201010620345A CN 102141884 A CN102141884 A CN 102141884A
Authority
CN
China
Prior art keywords
memory module
stroke
undetermined
module
present
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.)
Granted
Application number
CN2010106203459A
Other languages
Chinese (zh)
Other versions
CN102141884B (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.)
Zhuhai Kingsoft Software Co Ltd
Zhuhai Kingsoft Office Software Co Ltd
Original Assignee
Zhuhai Kingsoft Software Co Ltd
Zhuhai Kingsoft Office Software 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 Zhuhai Kingsoft Software Co Ltd, Zhuhai Kingsoft Office Software Co Ltd filed Critical Zhuhai Kingsoft Software Co Ltd
Priority to CN201010620345.9A priority Critical patent/CN102141884B/en
Publication of CN102141884A publication Critical patent/CN102141884A/en
Priority to PCT/CN2012/000008 priority patent/WO2012089167A1/en
Application granted granted Critical
Publication of CN102141884B publication Critical patent/CN102141884B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0484Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
    • G06F3/04845Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range for image manipulation, e.g. dragging, rotation, expansion or change of colour

Abstract

The invention relates to a drawing device comprising a drawing module, a storage module, an end command output module and a control module, wherein the drawing module is provided with position parameters and is used for receiving drawing so as to correspondingly generate each undetermined stroke according to each stroke; the undetermined stroke is a point or line; the storage module is used for storing the present strokes formed by the undetermined strokes; the end command output module is used for receiving personnel operations so as to send a command of stopping drawing; and the control module is connected with the drawing module, the storage module and the end command output module respectively and is used for judging whether each undetermined stroke meets the condition of joining in the storage module so as to form the present strokes and affirming whether the present strokes in the storage module are independent images. The device has the following beneficial effect: whether an independent graph is completed is judged by setting preset conditions, without carrying out the completion operation by a user, thus avoiding the operational thinking of the user and the operation continuity from being interrupted.

Description

A kind of plotting unit and drawing practice
[technical field]
The present invention relates to a kind of plotting unit and drawing practice, this figure comprises figure, literal, letter, symbol and arabic numeral.
[background technology]
There are some plotting units or the device that writes at present, can there be a kind of problem in people when using these softwares, for example, " paint " when drawing a plurality of independently figures, " figure ", when " dress " reaches " putting ", need after having drawn " painting ", send the action of completing, begin again to draw " figure ", down draw according to this, the intact word of every drafting all will be clicked the action of completing, the action that similar termination is drawn has: mousebutton is double-clicked action, click specific button (as: " finishing " button), click specific zone (as: clicking outside the drawing area), and timer (as: user does not carry out any drafting action in certain time length, then automatically current all drawing result are generated independent drawing), etc.; Therefore, the user ceaselessly sends the action of completing in drawing process, and this can ceaselessly interrupt user's operational cognition and operating continuity.
[summary of the invention]
The purpose of this invention is to provide a kind of plotting unit and drawing practice, judge finishing of independent drawing automatically, can not interrupt user's operational cognition and operating continuity.
Above-mentioned purpose can realize by following two kinds of technical schemes:
First kind of technical scheme:
A kind of plotting unit is characterized in that, comprises that one has the drafting module of location parameter, is used for receiving drawing correspondingly to generate each stroke undetermined according to each stroke, and this stroke undetermined is point or line; One is used to store the memory module of the present stroke that is made of stroke undetermined; One the finish command output module is used to accept personnel operation to send the order that stops to draw; One control module, it is connected respectively with drafting module, memory module, the finish command output module, is used for judging whether each stroke undetermined satisfies the adding memory module to constitute present stroke and to assert whether the present stroke of memory module is independent image.
The condition that each stroke undetermined adds memory module is: if memory module is sky, described stroke undetermined adds memory module automatically to; If memory module non-NULL, then can hold the minimum rectangle of present stroke in the memory module and carry out the spacing judgement according to relative position at described drafting module with the minimum rectangle that can hold described stroke undetermined, if described spacing less than preset value, is then added described stroke undetermined to memory module.
Assert that present stroke for the condition of independent image is: the order or the stroke undetermined that receive the finish command output module can not add memory module.
A kind of method of using above-mentioned plotting unit to draw is characterized in that, may further comprise the steps:
Step 1): drawing stroke undetermined of generation at drafting module, can be point or line;
Step 2): judge that whether described stroke undetermined satisfies the condition that is added into memory module, if satisfy then forward step 3) to, if do not satisfy then forward step 4) to;
Step 3): described stroke undetermined is added in the memory module, if memory module is empty before, then described stroke undetermined becomes present stroke; If the memory module non-NULL then makes up the present stroke in described stroke undetermined and the memory module to constitute the new present stroke of memory module according to the relative position at described drafting module; Forward step 5) to;
Step 4): with in the memory module at present stroke regard as independent image and it deposited in addition with pending and described memory module emptied, described stroke undetermined is added to becomes new present stroke in the memory module;
Step 5): whether receive the order that stops to draw, if then forward step 6) to; If not, then forward step 1) to;
Step 6): with in the memory module at present stroke regard as independent image and it deposited in addition with pending, memory module is emptied, finish.
Step 2) Rule of judgment is: if memory module is sky, described stroke undetermined adds memory module automatically to; If memory module non-NULL, then can hold the minimum rectangle of present stroke in the memory module and carry out the spacing judgement according to relative position at described drafting module with the minimum rectangle that can hold described stroke undetermined, if described spacing less than preset value, is then added described stroke undetermined to memory module.
Second kind of technical scheme:
A kind of plotting unit is characterized in that, comprises that one has the drafting module of location parameter, is used for receiving drawing correspondingly to generate each stroke undetermined according to each stroke, and this stroke undetermined is point or line; N memory module is used to store the present stroke that is made of stroke undetermined, and N is the natural number greater than 1; One the finish command output module is used to accept personnel operation to send the order that stops to draw; One control module, it is connected respectively with drafting module, a N memory module, the finish command output module, is used for judging whether each stroke undetermined satisfies first memory module of adding and whether can add next memory module to constitute present stroke and to assert whether the present stroke in the memory module is independent image with the present stroke that constitutes present stroke, a last memory module.
The method that a kind of above-mentioned plotting unit is drawn is characterized in that, may further comprise the steps:
Step 1): drawing stroke undetermined of generation at drafting module, can be point or line;
Step 2): judge that whether described stroke undetermined satisfies the condition that is added into first memory module, if satisfy then forward step 4) to, if do not satisfy then forward step 3) to;
Step 3): the present separately stroke of all memory modules is all regarded as independent image separately also all deposit in addition, empty all memory modules, stroke undetermined is joined first memory module to constitute present stroke, forward step 6) to pending;
Step 4): described stroke undetermined is added in first memory module, if first memory module is empty before, then described stroke undetermined becomes the present stroke in first memory module; If first memory module non-NULL then makes up the present stroke in described stroke undetermined and first memory module to constitute the new present stroke of first memory module according to the relative position at described drafting module;
Step 5): down handle successively along first memory module to N memory module by the following method: judge whether the present stroke in the last memory module satisfies the condition that is added into next memory module, if satisfy, then add to the present stroke in the last memory module in the next memory module and empty a last memory module, if next memory module is empty before, then go up present stroke in the memory module and become present stroke in the next memory module, if next memory module non-NULL then makes up present stroke in the last memory module and the present stroke in the next memory module to constitute the new present stroke of next memory module according to the relative position at described drafting module; If do not satisfy then forward step 6) to;
Step 6): whether receive the order that stops to draw) if then forward 7 to; If not, then forward 1 to);
Step 7): judged whether that there is present stroke in memory module,, then forwarded step 9) to if all do not exist; If have, forward step 8) to;
Memory module exists present stroke then the present stroke in the respective stored module to be regarded as independent image respectively and deposited in addition with pending and empty corresponding memory module;
Step 9): finish.
Step 2) stroke undetermined described in satisfies the condition that is added into first memory module: if first memory module is sky, described stroke undetermined adds described memory module automatically to; If first memory module non-NULL, then can hold the minimum rectangle of the present stroke in first memory module and carry out the spacing judgement according to relative position at described drafting module with the minimum rectangle that can hold described stroke undetermined, if described spacing less than preset value, is then added described stroke undetermined to first memory module.
Present stroke in the last memory module in the step 5) satisfies the condition that is added into next memory module: if next memory module is sky, the present stroke in the last memory module adds described memory module automatically to; If next memory module non-NULL, then can hold the minimum rectangle of the present stroke in the next memory module and carry out the spacing judgement according to relative position at described drafting module with the minimum rectangle that can hold a present stroke in the memory module, if described spacing less than preset value, is then added described stroke undetermined to next memory module.
By above two kinds of technical schemes as seen, the present invention pre-conditionedly judges whether an independent drawing is finished by being provided with, and does not need the user to do an operation of finishing, and avoids interrupting user's operational cognition and operating continuity.
Above-mentioned two kinds of apparatus and method belong to a total design, at first kind of scheme, because a memory module that is used to store the present stroke that forms independent image only is set, if operating personnel draw according to pre-conditioned, just can be when having drawn an independent image by drawing next stroke or impelling this device to generate an independent image by initiatively stopping rendering order, therefore, in drawing a plurality of independent image processes, when not assert next independent image, just assert to generate a last independent image.
At second kind of scheme, the present invention is by being provided with a plurality of memory modules that are used to store the present stroke that forms independent image, operating personnel are during according to pre-conditioned the drafting, do not draw if initiatively do not stop, all be after needing to draw a plurality of independent images identical with memory module quantity, again by drawing next stroke or impelling this device to generate a plurality of independent images by initiatively stopping rendering order, therefore, in drawing a plurality of independent image processes of Duoing than memory module quantity, initiatively not stopping to draw, is can assert the generation independent image again after will having drawn a plurality of independent images identical with memory module quantity by the time.
The present invention also specifically provides plotting unit and the drawing practice that two memory modules are set:
A kind of plotting unit is characterized in that, comprises that one has the drafting module of location parameter, is used for receiving drawing correspondingly to generate each stroke undetermined according to each stroke, and this stroke undetermined is point or line; Two memory modules are used to store the present stroke that is made of stroke undetermined; One the finish command output module is used to accept personnel operation to send the order that stops to draw; One control module, it is connected respectively with drafting module, two memory modules, the finish command output modules, be used for judging each stroke undetermined whether can add first memory module with the present stroke that constitutes present stroke, first memory module whether can add second memory module with constitute present stroke and assert first memory module and second memory module in present stroke identification whether be independent image.
The method that a kind of above-mentioned plotting unit is drawn is characterized in that, may further comprise the steps:
Step 101): drawing stroke undetermined of generation at drafting module, can be point or line;
Step 102): judge that whether described stroke undetermined satisfies the condition that is added into first memory module), if do not satisfy then forward step 103 to) if satisfy then forward step 104 to;
Step 103): the present stroke in first memory module is regarded as independent image, and empty first memory module, the present stroke in second memory module is regarded as independent image, and empty second memory module; Stroke undetermined is added first memory module becomes present stroke, forwards step 107 to);
Step 104): described stroke undetermined is added in first memory module, if first memory module is empty before, then described stroke undetermined becomes the present stroke in first memory module; If first memory module non-NULL then makes up the present stroke in described stroke undetermined and first memory module to constitute the new present stroke of first memory module according to the relative position at described drafting module;
Step 105): judge that whether the present stroke in first memory module satisfies the condition that is added into second memory module), if do not satisfy then forward step 107 to) if satisfy then forward step 106 to;
Step 106): add to the present stroke in first memory module in second memory module and empty first memory module, if second memory module is empty before, then the present stroke in first memory module becomes the present stroke in second memory module; If second memory module non-NULL, then with the present stroke in the present stroke in first memory module and second memory module according in the relative position combination of described drafting module to constitute the new present stroke of second memory module;
Step 107): whether receive the order that stops to draw) if then forward 108 to; If not, then forward step 101 to);
Step 108): judged whether that there is present stroke in memory module,, then forwarded step 110 to),, forward step 109 to) if having if do not have;
Step 109): exist present stroke then the present stroke in the respective stored module to be regarded as independent image respectively and deposited in addition corresponding memory module with pending and empty corresponding memory module;
Step 110): finish.
Step 103 in the said method) be substituted by and comprise:
Step 131): judge stroke undetermined whether satisfy with first memory module in present stroke, the condition that present stroke in second memory module constitutes holistic present stroke, then do not forward step 132 to if do not satisfy), then forward step 133 to if satisfy);
Step 132): the present stroke in first memory module is regarded as independent image, and empty first memory module, the present stroke in second memory module is regarded as independent image, and empty second memory module; Add stroke undetermined to first memory module to constitute present stroke, forward step 107 to);
Step 133): with the present stroke in first memory module join second memory module with second memory module in present stroke according in the combination of the relative position of described drafting module to constitute the present stroke in second memory module and to empty first memory module, add stroke undetermined to first memory module to constitute present stroke, forward step 107 to).
[description of drawings]
Fig. 1 is the structural representation of the plotting unit of embodiment one;
Fig. 2 is the process synoptic diagram of the drafting " river " of embodiment one;
Fig. 3 is the process flow diagram of the drawing practice of embodiment one;
Fig. 4 is the another kind of process synoptic diagram of the drafting " river " of embodiment two;
Fig. 5 is the structural representation of the plotting unit of embodiment three;
Fig. 6 is the process flow diagram of the drawing practice of embodiment three;
Fig. 7 is drafting " ten ", " " of embodiment three, the process synoptic diagram of " ";
Fig. 8 is a kind of process synoptic diagram of the drafting " cap " of embodiment four;
Fig. 9 is the process flow diagram of the drawing practice of embodiment four;
Figure 10 is the another kind of process synoptic diagram of the drafting " cap " of embodiment four;
[embodiment]
[embodiment one]
As shown in Figure 1, a kind of plotting unit comprises that one has the drafting module of location parameter, is used for receiving drawing correspondingly to generate each stroke undetermined according to each stroke, and this stroke undetermined is point or line; One is used to store the memory module of the present stroke that is made of stroke undetermined; One the finish command output module is used to accept personnel operation to send the order that stops to draw; One control module, it is connected respectively with drafting module, memory module, the finish command output module, is used for judging whether each stroke undetermined satisfies the adding memory module to constitute present stroke and to assert whether the present stroke of memory module is independent image.
As shown in Figure 3, use the flow process of the method that above-mentioned plotting unit draws, may further comprise the steps:
S101: begin action, the plotting unit initialization, drafting module and memory module are empty;
S102: drawing stroke undetermined of generation at drafting module, can be point or line;
S103: judge that whether described stroke undetermined satisfies the condition that is added into memory module, if satisfy then forward step S104 to, if do not satisfy then forward step S105 to;
S104: described stroke undetermined is added in the memory module, if memory module is empty before, then described stroke undetermined becomes present stroke; If the memory module non-NULL then makes up the present stroke in described stroke undetermined and the memory module to constitute the new present stroke of memory module according to the relative position at described drafting module; Forward step S106 to;
S105: with in the memory module at present stroke regard as independent image and it deposited in addition with pending, described memory module is emptied, add described stroke undetermined to memory module and become present stroke;
S106: whether receive the order that stops to draw, if then forward step S107 to; If not, then forward step S102 to;
S107: with in the memory module at present stroke regard as independent image and it deposited in addition with pending, memory module and drafting module are emptied;
S108: finish.
Wherein, the Rule of judgment of step S103 is: if memory module is sky, described stroke undetermined adds described memory module automatically to; If described memory module non-NULL, then can hold the minimum rectangle of present stroke in the described memory module and carry out the spacing judgement according to relative position at described drafting module with the minimum rectangle that can hold described stroke undetermined, if described spacing less than preset value, is then added described stroke undetermined to described memory module.
For example, the drafting module upper left corner is initial point, laterally is to the right x axle forward, is y axle forward downwards vertically; Say down how to define minimum rectangle and how to judge distance between two rectangles below.
The minimum rectangle of stroke undetermined is specially: stroke undetermined is to have a coordinate parameters (x by many, y) point constitutes, the x value of minimum and minimum y value constitute the coordinate (Xmin_d in the upper left corner of minimum rectangle in the coordinate parameters of these points, Ymin_d), the x value of minimum and maximum y value constitute the coordinate (Xmin_d in the lower left corner of minimum rectangle in the coordinate parameters of these points, Ymax_d), the x value of maximum and minimum y value constitute the coordinate (Xmax_d in the upper right corner of minimum rectangle in the coordinate parameters of these points, Ymin_d), the x value of maximum and maximum y value constitute the coordinate (Xmax_d in the upper right corner of minimum rectangle in the coordinate parameters of these points, Ymax_d), four angles that defined the minimum rectangle of stroke undetermined have just defined the minimum rectangle of stroke undetermined naturally.
At present the minimum rectangle of stroke is specially: stroke is to have a coordinate parameters (x by many at present, y) point constitutes, the x value of minimum and minimum y value constitute the coordinate (Xmin_m in the upper left corner of minimum rectangle in the coordinate parameters of these points, Ymin_m), the x value of minimum and maximum y value constitute the coordinate (Xmin_m in the lower left corner of minimum rectangle in the coordinate parameters of these points, Ymax_m), the x value of maximum and minimum y value constitute the coordinate (Xmax_m in the upper right corner of minimum rectangle in the coordinate parameters of these points, Ymin_m), the x value of maximum and maximum y value constitute the coordinate (Xmax_m in the upper right corner of minimum rectangle in the coordinate parameters of these points, Ymax_m), four angles that defined the minimum rectangle of present stroke have just defined the minimum rectangle of present stroke naturally.
As seen, the minimum rectangle of the minimum rectangle of stroke undetermined and stroke undetermined all is axial.
A minimum rectangle A is specially: the upper left corner (RECT101.x, RECT101.y), the lower left corner (RECT102.x, RECT102.y), the upper right corner (RECT103.x, RECT103.y), the lower right corner (RECT104.x, RECT104.y), another minimum rectangle B is specially: the upper left corner (RECT201.x, RECT201.y), the lower left corner (RECT202.x, RECT202.y), the upper right corner (RECT203.x, RECT203.y), the lower right corner (RECT204.x, RECT204.y); If minimum rectangle A is last, minimum rectangle B is arranging down, and then the distance between the upper and lower with two minimum rectangle compares with preset value, between the two apart from being | and RECT201.y-RECT102.y|; If minimum rectangle A is on a left side, minimum rectangle B arranges on the right side, and then the distance between left and right with two minimum rectangle compares with preset value, between the two apart from being | and RECT201.x-RECT103.x|; If there are overlapping point in minimum rectangle A and minimum rectangle B, think that then distance is zero between the two; If if minimum rectangle A includes or be built in minimum rectangle B, think that then distance is zero between the two.The arrangement architecture of minimum rectangle A and minimum rectangle B, overlapping point and include relation and can judge that this evaluation algorithm is not an inventive point of the present invention automatically by the correlated judgment algorithm of software, no longer burdensome at this.And this preset value can be a definite value, or because of the size of rendering apparatus, display resolution etc. different, or one by software according to the thickness of input stroke and then the variate of adjusting flexibly.
As shown in Figure 2, be example to draw " river " word, we can successively draw on drafting module and generate three strokes undetermined in drawing process;
S201: open plotting unit, initialization, drafting module and memory module are empty;
S202: draw on drafting module and generate a stroke undetermined " Pie ", control module judges whether stroke undetermined " Pie " can add memory module, because memory module is empty at this moment, stroke undetermined " Pie " is added into memory module to constitute present stroke;
S203: this moment is not according to the finish command output module, stroke undetermined " Shu " is drawn in continuation on drafting module, control module judges whether stroke undetermined " Shu " can add memory module, this moment, there was present stroke " Pie " in memory module, control module is carried out spacing to minimum rectangle C1 that can hold present stroke " Pie " and the minimum rectangle C2 that can hold stroke undetermined " Shu " according to the relative position at drafting module and is judged, suppose this spacing H1 less than preset value, control module adds memory module with stroke undetermined " Shu " and the present stroke " Pie " in stroke undetermined " Shu " and the memory module is made up to constitute the new present stroke of memory module according to the relative position at described drafting module
Figure BDA0000042560410000111
S204: continue on drafting module to draw undetermined stroke " Shu " not according to the finish command output module this moment, and control module judges whether stroke undetermined " Shu " can add memory module, and this moment, there was present stroke in memory module
Figure BDA0000042560410000112
Control module is to holding present stroke
Figure BDA0000042560410000113
Minimum rectangle C3 carry out spacing with the minimum rectangle C4 that can hold stroke undetermined " Shu " according to relative position and judge at drafting module, suppose that this spacing H2 is less than preset value, then control module adds memory module with stroke undetermined " Shu ", and with the present stroke in stroke undetermined " Shu " and the memory module
Figure BDA0000042560410000114
Make up to constitute the new present stroke " river " of memory module according to relative position at described drafting module;
S205: personnel press the finish command output module, control module receives and stops rendering order, this moment, control module judged that there is present stroke in memory module, and present stroke " river " was regarded as independent image " river " deposit processing in addition and empty memory module and drafting module;
S206: draw and finish; Finally draw independent image " river ".
[embodiment two]
As shown in Figure 4, what present embodiment and embodiment one were different is, step S204 is to step S205, owing to draw badly, can hold present stroke
Figure BDA0000042560410000115
Minimum rectangle and the minimum rectangle that can hold stroke undetermined " Shu " spacing according at the relative position of drafting module greater than preset value.Therefore, in the present embodiment,
S204: continue on drafting module draw " Shu " to generate a undetermined stroke " Shu " not according to the finish command output module this moment, and control module judges whether stroke undetermined " Shu " can add memory module, and this moment, there was present stroke in memory module
Figure BDA0000042560410000121
Control module is to holding present stroke
Figure BDA0000042560410000122
Minimum rectangle C3 ' carry out spacing with the minimum rectangle C4 ' that can hold stroke undetermined " Shu " according to relative position and judge that H2 ' is greater than preset value for this spacing at drafting module, with stroke at present in the memory module
Figure BDA0000042560410000123
Regard as independent image and it is deposited in addition with pending, memory module is emptied, stroke undetermined " Shu " is added to becomes new present stroke " Shu " again in the memory module;
S205: personnel press the finish command output module, control module receives and stops rendering order, this moment, control module judged that there is present stroke in memory module, and present stroke " Shu " was regarded as independent image " Shu " deposit processing in addition and empty memory module and drafting module;
S206: draw and finish.
[embodiment three]
As shown in Figure 5, a kind of device of graphing comprises that one has the drafting module of location parameter, is used for receiving drawing correspondingly to generate each stroke undetermined according to each stroke, and this stroke undetermined is point or line; Two memory modules are used to store the present stroke that is made of stroke undetermined; One the finish command output module is used to accept personnel operation to send the order that stops to draw; One control module, it is connected respectively with drafting module, two memory modules, the finish command output modules, be used for judging each stroke undetermined whether can add first memory module with the present stroke that constitutes present stroke, first memory module whether can add second memory module with constitute present stroke and assert first memory module and second memory module in present stroke whether be independent image.
As shown in Figure 6, the flow process of using above-mentioned plotting unit to draw may further comprise the steps:
S301: begin action, the plotting unit initialization, drafting module and memory module are empty;
S302: drawing stroke undetermined of generation at drafting module, can be point or line;
S303: judge that whether described stroke undetermined satisfies the condition that is added into first memory module, if satisfy then forward step S305 to, if do not satisfy then forward step S304 to;
S304: the present stroke in first memory module is regarded as independent image, and empty first memory module, the present stroke in second memory module is regarded as independent image, and empty second memory module; Add stroke undetermined to first memory module to constitute present stroke; Rotate step S308;
S305: described stroke undetermined is added in first memory module, if first memory module is empty before, then described stroke undetermined becomes the present stroke in first memory module; If first memory module non-NULL then makes up the present stroke in described stroke undetermined and first memory module to constitute the new present stroke of first memory module according to the relative position at described drafting module;
S306: judge that whether the present stroke in first memory module satisfies the condition that is added into second memory module, if satisfy then forward step S307 to, if do not satisfy then forward step S308 to;
S307: add to the present stroke in first memory module in second memory module and empty first memory module, if second memory module is empty before, then the present stroke in first memory module becomes the present stroke in second memory module; If second memory module non-NULL, then with the present stroke in the present stroke in first memory module and second memory module according in the relative position combination of described drafting module to constitute the new present stroke of second memory module;
S308: whether receive the order that stops to draw, if then forward step 309 to; If not, then forward step S302 to;
S309: judge whether second memory module is empty, if not, then forward step S310 to; If then forward step S310 to;
S310: then the present stroke in second memory module is regarded as independent image and it is deposited in addition with pending and empty this memory module;
S311: judge whether first memory module is empty, if not, then forward step S312 to; If then forward step S313 to;
S312: the present stroke in first memory module is regarded as independent image and it is deposited in addition with pending and empty this memory module, empty drafting module;
S313: finish.
Wherein, the Rule of judgment of step S303 is: if first memory module is sky, described stroke undetermined adds described memory module automatically to; If first memory module non-NULL, then can hold the minimum rectangle of the present stroke in first memory module and carry out the spacing judgement according to relative position at described drafting module with the minimum rectangle that can hold described stroke undetermined, if described spacing less than preset value, is then added described stroke undetermined to first memory module.
Wherein, the Rule of judgment among the step S306 is: if second memory module is sky, the present stroke in first memory module adds described memory module automatically to; If second memory module non-NULL, then can hold the minimum rectangle of second present stroke in the memory module and carry out the spacing judgement according to relative position at described drafting module with the minimum rectangle that can hold the present stroke in first memory module, if described spacing less than preset value, is then added described stroke undetermined to second memory module.
As shown in Figure 7, to draw " ten ", " one ", " one " three independent drawings, we can successively draw on drafting module and generate four strokes undetermined:
S401 opens plotting unit, initialization, and two memory modules are empty, drafting module is empty, begins to draw:
S402: on drafting module, draw " one " to generate a stroke undetermined " ", control module judges whether stroke undetermined " " can add first memory module, because first memory module is empty at this moment, stroke undetermined " " is added into first memory module to constitute present stroke " ";
S403: control module judges whether the present stroke " " in first memory module can add second memory module, because second memory module is empty at this moment, stroke " " is added into second memory module to constitute the present stroke " " in second memory module and to empty first memory module at present;
S404: this moment is not according to the finish command output module, continuation is drawn " Shu " to generate a stroke undetermined " Shu " on drafting module, control module judges whether stroke undetermined " Shu " can add first memory module, because first memory module is empty at this moment, because first memory module is empty at this moment, stroke undetermined " Shu " is added into first memory module to constitute present stroke " Shu ";
S405: control module judges whether the present stroke " Shu " in first memory module can add second memory module, this moment, there was present stroke " " in second memory module, control module is carried out spacing to minimum rectangle C401 that can hold present stroke " " and the minimum rectangle C402 that can hold present stroke " Shu " according to the relative position at drafting module and is judged, suppose that this spacing H401 is less than preset value, control module adds present stroke " " second memory module and empties first memory module, and present stroke " " and present stroke " Shu " are made up to constitute the new present stroke " ten " of second memory module according to the relative position at described drafting module;
S406: this moment is not according to the finish command output module, continuation is drawn " one " to generate a stroke undetermined " " on drafting module, control module judges whether stroke undetermined " " can add first memory module, because first memory module is empty at this moment, stroke undetermined " " is added into first memory module to constitute present stroke " ";
S407: control module judges whether the present stroke " " in first memory module can add second memory module, because this moment, there was present stroke " ten " in second memory module, control module is carried out spacing to minimum rectangle C404 that can hold present stroke " " and the minimum rectangle C403 that can hold present stroke " ten " according to the relative position at drafting module and is judged, suppose this spacing H402 greater than preset value, the present stroke " " in first memory module can not add second memory module;
S408: this moment is not according to the finish command output module, continuation is drawn " one " to generate a stroke undetermined " " on drafting module, control module judges whether stroke undetermined " " can add first memory module, because this moment, there was present stroke " " in first memory module, control module is carried out spacing to minimum rectangle C404 that can hold present stroke " " and the minimum rectangle C405 that can hold stroke undetermined " " according to the relative position at drafting module and is judged, suppose this spacing greater than preset value, stroke undetermined " " temporarily can not add first memory module;
S409: the present stroke " " in first memory module is regarded as independent image " " deposit processing and empty first memory module, the present stroke " ten " in second memory module is regarded as independent image " ten " deposit processing and empty second memory module with other with other; Stroke undetermined " one " is added into first memory module to constitute present stroke " ";
S410: control module judges whether the present stroke " " in first memory module can add second memory module, because second memory module is empty at this moment, stroke " " is added into second memory module to constitute the present stroke " " in second memory module and to empty first memory module at present;
S411: this moment, personnel pressed the finish command output module, control module receives and stops rendering order, control module determined second memory module and had present stroke " " this moment, present stroke " " in second memory module is regarded as independent image " " deposit processing and empty second memory module, empty drafting module with other;
S412: draw and finish, finally draw independent image " ten ", " one ", " one ".
[embodiment four]
Because according to the method for embodiment three, following problem appears sometimes, as shown in Figure 8, for example to draw an independent image " cap ",
S501: after the strokes drafting and judging, draw " towel " earlier, form present stroke " towel " second memory module at drafting module;
S502: when the first stroke of having drawn " saying " to generate stroke undetermined " Shu ", through judging, the two spacing H501 of minimum rectangle C502 that holds stroke undetermined " Shu " and the minimum rectangle C501 that can hold stroke undetermined " towel " is greater than preset value according to the relative position at drafting module, just forms present stroke " Shu " in first memory module;
S503: form present stroke in first memory module and " say ", form present stroke " towel " second memory module;
S504: when the first stroke of having drawn " order " to generate stroke undetermined " Shu ", through judging, the minimum rectangle C504 that holds stroke undetermined " Shu " is greater than preset value with holding the two spacing H502 of minimum rectangle C503 that stroke undetermined " says " according to the relative position at drafting module, then can generate independent image " towel " and " saying " earlier;
S505: after having drawn " cap " at drafting module, can form present stroke " order " second memory module, manually-operated the finish command output module input stopping rendering order, present stroke " order " in second memory module is considered to independent image " order " and deposits processing in addition, empties second memory module.
By as seen above-mentioned, when the user writes " towel ", " saying " and " order " this three part of " cap " to such an extent that open, make each self-forming independent image of three parts and do not generate independent image " cap ".
As shown in Figure 9, for this reason, the present invention further revises the method among the embodiment three, specifically is modify steps S304, and amended step S304 comprises:
S341: judge stroke undetermined whether satisfy with first memory module in present stroke, the condition that present stroke in second memory module constitutes holistic present stroke? do you (judge promptly whether stroke undetermined satisfies the condition of the union that belongs to first memory module and second memory module?) if the satisfied step S342 that then forwards to then forwards step S343 to if satisfy;
S342: the present stroke in first memory module is regarded as independent image, and empty first memory module, the present stroke in second memory module is regarded as independent image, and empty second memory module; Add stroke undetermined to first memory module to constitute present stroke, forward step S308 to;
S343: with the present stroke in first memory module join second memory module with second memory module in present stroke according in the combination of the relative position of described drafting module to constitute the present stroke in second memory module and to empty first memory module; Add stroke undetermined to first memory module to constitute present stroke, forward step S308 to.
Wherein, the Rule of judgment of step S341 is, the minimum rectangle of holding stroke undetermined is carried out spacing with the minimum rectangle of holding present stroke in first memory module and the present stroke in second memory module according to the relative position at described drafting module and is judged, if this spacing less than preset value, then satisfies.
As shown in figure 10, be example at this to draw an independent image " cap ";
S601: after the strokes drafting and judging, draw " towel " earlier, form present stroke " towel " second memory module at drafting module;
S602: when the first stroke of having drawn " saying " to generate stroke undetermined " Shu ", through judging, the two spacing H601 of minimum rectangle C602 that holds stroke undetermined " Shu " and the minimum rectangle C601 that can hold stroke undetermined " towel " is greater than preset value according to the relative position at drafting module, just forms present stroke " Shu " in first memory module;
S603: form present stroke in first memory module and " say ", form present stroke " towel " second memory module;
S604: when the first stroke of having drawn " order " to generate stroke undetermined " Shu ", through judging, the minimum rectangle C604 that holds stroke undetermined " Shu " is greater than preset value with holding the two spacing H602 of minimum rectangle C603 that stroke undetermined " says " according to the relative position at drafting module, and stroke undetermined " Shu " does not satisfy and adds first;
S605: through judging, hold present stroke " towel " and at present the two spacing H603 of stroke minimum rectangle C605 that " says " and the minimum rectangle C604 that holds stroke undetermined " Shu " be less than preset value according to relative position at drafting module, present stroke " said " added second memory module to form present stroke
Figure BDA0000042560410000181
And empty first memory module, again stroke undetermined " Shu " is added first memory module;
S606: after having drawn " cap " at drawing area, can form present stroke " cap " second memory module, manually-operated the finish command output module input stopping rendering order, present stroke " cap " in second memory module is considered to independent image " cap " and deposits processing in addition, empties second memory module.
More than this is further revised and is based on the characteristics that similar " cap " this word has left half, upper right portion and lower right-most portion structure because lower right-most portion substantially all can fall in the rectangle that holds left half and upper right portion.
The present invention is not limited to the foregoing description, based on simple replacement the foregoing description, that do not make creative work, should belong to the scope that the present invention discloses.

Claims (10)

1. a plotting unit is characterized in that, comprises that one has the drafting module of location parameter, is used for receiving drawing correspondingly to generate each stroke undetermined according to each stroke, and this stroke undetermined is point or line; One is used to store the memory module of the present stroke that is made of stroke undetermined; One the finish command output module is used to accept personnel operation to send the order that stops to draw; One control module, it is connected respectively with drafting module, memory module, the finish command output module, is used for judging whether each stroke undetermined satisfies the adding memory module to constitute present stroke and to assert whether the present stroke of memory module is independent image.
2. a method of using the described plotting unit of claim 1 to draw is characterized in that, may further comprise the steps:
Step 1): drawing stroke undetermined of generation at drafting module, can be point or line;
Step 2): judge that whether described stroke undetermined satisfies the condition that is added into memory module, if satisfy then forward step 3) to, if do not satisfy then forward step 4) to;
Step 3): described stroke undetermined is added in the memory module, if memory module is empty before, then described stroke undetermined becomes present stroke; If the memory module non-NULL then makes up the present stroke in described stroke undetermined and the memory module to constitute the new present stroke of memory module according to the relative position at described drafting module; Forward step 5) to;
Step 4): with in the memory module at present stroke regard as independent image and it deposited in addition with pending and described memory module emptied, described stroke undetermined is added to becomes new present stroke in the memory module;
Step 5): whether receive the order that stops to draw, if then forward step 6) to; If not, then forward step 1) to;
Step 6): with in the memory module at present stroke regard as independent image and it deposited in addition with pending, memory module is emptied, finish.
3. method according to claim 2 is characterized in that step 2) Rule of judgment be: if memory module is for empty, described stroke undetermined adds memory module automatically to; If memory module non-NULL, then can hold the minimum rectangle of present stroke in the memory module and carry out the spacing judgement according to relative position at described drafting module with the minimum rectangle that can hold described stroke undetermined, if described spacing less than preset value, is then added described stroke undetermined to memory module.
4. a plotting unit is characterized in that, comprises that one has the drafting module of location parameter, is used for receiving drawing correspondingly to generate each stroke undetermined according to each stroke, and this stroke undetermined is point or line; N memory module is used to store the present stroke that is made of stroke undetermined, and N is the natural number greater than 1; One the finish command output module is used to accept personnel operation to send the order that stops to draw; One control module, it is connected respectively with drafting module, a N memory module, the finish command output module, is used for judging whether each stroke undetermined satisfies first memory module of adding and whether can add next memory module to constitute present stroke and to assert whether the present stroke in the memory module is independent image with the present stroke that constitutes present stroke, a last memory module.
5. a method of using the described plotting unit of claim 4 to draw is characterized in that, may further comprise the steps:
Step 1): drawing stroke undetermined of generation at drafting module, can be point or line;
Step 2): judge that whether described stroke undetermined satisfies the condition that is added into first memory module, if satisfy then forward step 4) to, if do not satisfy then forward step 3) to;
Step 3): the present separately stroke of all memory modules is all regarded as independent image separately also all deposit in addition, empty all memory modules, stroke undetermined is joined first memory module to constitute present stroke, forward step 6) to pending;
Step 4): described stroke undetermined is added in first memory module, if first memory module is empty before, then described stroke undetermined becomes the present stroke in first memory module; If first memory module non-NULL then makes up the present stroke in described stroke undetermined and first memory module to constitute the new present stroke of first memory module according to the relative position at described drafting module;
Step 5): down handle successively along first memory module to N memory module by the following method: judge whether the present stroke in the last memory module satisfies the condition that is added into next memory module, if satisfy, then add to the present stroke in the last memory module in the next memory module and empty a last memory module, if next memory module is empty before, then go up present stroke in the memory module and become present stroke in the next memory module, if next memory module non-NULL then makes up present stroke in the last memory module and the present stroke in the next memory module to constitute the new present stroke of next memory module according to the relative position at described drafting module; If do not satisfy then forward step 6) to;
Step 6): whether receive the order that stops to draw) if then forward 7 to; If not, then forward 1 to);
Step 7): judged whether that there is present stroke in memory module,, then forwarded step 9) to if all do not exist; If have, forward step 8) to;
Memory module exists present stroke then the present stroke in the respective stored module to be regarded as independent image respectively and deposited in addition with pending and empty corresponding memory module;
Step 9): finish.
6. method according to claim 4 is characterized in that step 2) described in stroke undetermined satisfy the condition be added into first memory module and be: if first memory module is for empty, described stroke undetermined adds described memory module automatically to; If first memory module non-NULL, then can hold the minimum rectangle of the present stroke in first memory module and carry out the spacing judgement according to relative position at described drafting module with the minimum rectangle that can hold described stroke undetermined, if described spacing less than preset value, is then added described stroke undetermined to first memory module.
7. method according to claim 4, it is characterized in that, present stroke in the last memory module in the step 5) satisfies the condition that is added into next memory module: if next memory module is sky, the present stroke in the last memory module adds described memory module automatically to; If next memory module non-NULL, then can hold the minimum rectangle of the present stroke in the next memory module and carry out the spacing judgement according to relative position at described drafting module with the minimum rectangle that can hold a present stroke in the memory module, if described spacing less than preset value, is then added described stroke undetermined to next memory module.
8. a plotting unit is characterized in that, comprises that one has the drafting module of location parameter, is used for receiving drawing correspondingly to generate each stroke undetermined according to each stroke, and this stroke undetermined is point or line; Two memory modules are used to store the present stroke that is made of stroke undetermined; One the finish command output module is used to accept personnel operation to send the order that stops to draw; One control module, it is connected respectively with drafting module, two memory modules, the finish command output modules, is used for judging whether each stroke undetermined can add first memory module and whether can add second memory module with the present stroke that constitutes present stroke, first memory module and assert promptly to constitute present stroke whether the present stroke identification in first memory module and second memory module is independent image.
9. a method of using the described plotting unit of claim 8 to draw is characterized in that, may further comprise the steps:
Step 101): drawing stroke undetermined of generation at drafting module, can be point or line;
Step 102): judge that whether described stroke undetermined satisfies the condition that is added into first memory module), if do not satisfy then forward step 103 to) if satisfy then forward step 104 to;
Step 103): the present stroke in first memory module is regarded as independent image, and empty first memory module, the present stroke in second memory module is regarded as independent image, and empty second memory module; Stroke undetermined is added first memory module becomes present stroke, forwards step 107 to);
Step 104): described stroke undetermined is added in first memory module, if first memory module is empty before, then described stroke undetermined becomes the present stroke in first memory module; If first memory module non-NULL then makes up the present stroke in described stroke undetermined and first memory module to constitute the new present stroke of first memory module according to the relative position at described drafting module;
Step 105): judge that whether the present stroke in first memory module satisfies the condition that is added into second memory module), if do not satisfy then forward step 107 to) if satisfy then forward step 106 to;
Step 106): add to the present stroke in first memory module in second memory module and empty first memory module, if second memory module is empty before, then the present stroke in first memory module becomes the present stroke in second memory module; If second memory module non-NULL, then with the present stroke in the present stroke in first memory module and second memory module according in the relative position combination of described drafting module to constitute the new present stroke of second memory module;
Step 107): whether receive the order that stops to draw) if then forward 108 to; If not, then forward step 101 to);
Step 108): judged whether that there is present stroke in memory module,, then forwarded step 110 to),, forward step 109 to) if having if do not have;
Step 109): exist present stroke then the present stroke in the respective stored module to be regarded as independent image respectively and deposited in addition corresponding memory module with pending and empty corresponding memory module;
Step 110): finish.
10. method according to claim 9 is characterized in that step 103) be substituted by and comprise:
Step 131): judge stroke undetermined whether satisfy with first memory module in present stroke, the condition that present stroke in second memory module constitutes holistic present stroke, then do not forward step 132 to if do not satisfy), then forward step 133 to if satisfy);
Step 132): the present stroke in first memory module is regarded as independent image, and empty first memory module, the present stroke in second memory module is regarded as independent image, and empty second memory module; Add stroke undetermined to first memory module to constitute present stroke, forward step 107 to);
Step 133): with the present stroke in first memory module join second memory module with second memory module in present stroke according in the combination of the relative position of described drafting module to constitute the present stroke in second memory module and to empty first memory module, add stroke undetermined to first memory module to constitute present stroke, forward step 107 to).
CN201010620345.9A 2010-12-31 2010-12-31 Drawing device and method Active CN102141884B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201010620345.9A CN102141884B (en) 2010-12-31 2010-12-31 Drawing device and method
PCT/CN2012/000008 WO2012089167A1 (en) 2010-12-31 2012-01-04 Drawing device and drawing method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201010620345.9A CN102141884B (en) 2010-12-31 2010-12-31 Drawing device and method

Publications (2)

Publication Number Publication Date
CN102141884A true CN102141884A (en) 2011-08-03
CN102141884B CN102141884B (en) 2014-01-01

Family

ID=44409436

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201010620345.9A Active CN102141884B (en) 2010-12-31 2010-12-31 Drawing device and method

Country Status (2)

Country Link
CN (1) CN102141884B (en)
WO (1) WO2012089167A1 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2012089167A1 (en) * 2010-12-31 2012-07-05 珠海金山办公软件有限公司 Drawing device and drawing method
CN106095294A (en) * 2016-06-08 2016-11-09 福建天泉教育科技有限公司 Method and the system thereof of stroke is synchronized between different platform

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP1591875A1 (en) * 2003-01-30 2005-11-02 Fujitsu Limited Handwriting-input device and method
CN101414224A (en) * 2008-11-18 2009-04-22 圆展科技股份有限公司 Apparatus and method for defining writing position
CN101424991A (en) * 2008-11-19 2009-05-06 圆展科技股份有限公司 Device and method for auto-arranging hand-writing strings
CN101470549A (en) * 2007-12-27 2009-07-01 汉王科技股份有限公司 Handwriting processing method and system used for information processing terminal
CN101576783A (en) * 2008-05-09 2009-11-11 诺基亚公司 User interface, equipment and method for hand input
CN101620501A (en) * 2009-07-28 2010-01-06 上海合合信息科技发展有限公司 Handwriting input system, handwriting input method and electronic equipment
CN101930299A (en) * 2010-08-25 2010-12-29 华南理工大学 Method for intelligently generating Chinese character without character library

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101021950A (en) * 2007-03-19 2007-08-22 朱桂永 Convenient mouse drawing method
CN102141884B (en) * 2010-12-31 2014-01-01 珠海金山办公软件有限公司 Drawing device and method

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP1591875A1 (en) * 2003-01-30 2005-11-02 Fujitsu Limited Handwriting-input device and method
CN101470549A (en) * 2007-12-27 2009-07-01 汉王科技股份有限公司 Handwriting processing method and system used for information processing terminal
CN101576783A (en) * 2008-05-09 2009-11-11 诺基亚公司 User interface, equipment and method for hand input
CN101414224A (en) * 2008-11-18 2009-04-22 圆展科技股份有限公司 Apparatus and method for defining writing position
CN101424991A (en) * 2008-11-19 2009-05-06 圆展科技股份有限公司 Device and method for auto-arranging hand-writing strings
CN101620501A (en) * 2009-07-28 2010-01-06 上海合合信息科技发展有限公司 Handwriting input system, handwriting input method and electronic equipment
CN101930299A (en) * 2010-08-25 2010-12-29 华南理工大学 Method for intelligently generating Chinese character without character library

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2012089167A1 (en) * 2010-12-31 2012-07-05 珠海金山办公软件有限公司 Drawing device and drawing method
CN106095294A (en) * 2016-06-08 2016-11-09 福建天泉教育科技有限公司 Method and the system thereof of stroke is synchronized between different platform
CN106095294B (en) * 2016-06-08 2019-03-05 福建天泉教育科技有限公司 The method and its system of synchronous stroke between different platform

Also Published As

Publication number Publication date
WO2012089167A1 (en) 2012-07-05
CN102141884B (en) 2014-01-01

Similar Documents

Publication Publication Date Title
CN107368967A (en) Engineering safety quality inspection intelligent management based on internet
CN110189483A (en) Robot article receiving and sending method, relevant apparatus, article receiving and sending robot and storage medium
CN110633518B (en) Simple parameterization unit type curtain wall material classification statistical method based on BIM
CN100552718C (en) The method of graphing and device
Hurrion An investigation of visual interactive simulation methods using the job-shop scheduling problem
CN110245545A (en) A kind of character recognition method and device
CN106527940B (en) Handwriting determining method and device
DE102013103616A1 (en) Touch screen text input
CN102141884B (en) Drawing device and method
CN109359912A (en) A kind of intelligence and single and worksheet processing method
CN109492686A (en) A kind of picture mask method and system
CN109711560A (en) A kind of method, relevant device and computer storage medium that maintenance program is recommended
CN109382337A (en) A kind of sorting cabinet bin display position setting method and sorting cabinet system
CN109034610A (en) Software development cloud platform based on different periods difference distribution mechanism
CN101131750A (en) Purchasing management system and method thereof
CN105676769A (en) Method for switching products on production line
CN107066322A (en) A kind of online task allocating method towards self-organizing intelligent perception system
CN111652463A (en) APS (active pixel System) recursive system, method and equipment based on fractal self-similarity principle
CN107734138A (en) The display methods and device of notification message, computer installation and storage medium
CN106021355B (en) Statistical method and custom rule establishing method, device and system among multiple tables
CN107544741A (en) One kind input management method and device
CN106127685A (en) The quick method for deleting of lines and system thereof
CN206868699U (en) A kind of automatic flushing device of punch die
CN103713851A (en) System and method for switching single-hand operation mode of slide touch screen
Wang et al. Application of parametric sketching and associability in 3D CAD

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