CN1137431C - Line symbolic coding method - Google Patents

Line symbolic coding method Download PDF

Info

Publication number
CN1137431C
CN1137431C CNB991152492A CN99115249A CN1137431C CN 1137431 C CN1137431 C CN 1137431C CN B991152492 A CNB991152492 A CN B991152492A CN 99115249 A CN99115249 A CN 99115249A CN 1137431 C CN1137431 C CN 1137431C
Authority
CN
China
Prior art keywords
line
character
symbol
stroke
line symbol
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
CNB991152492A
Other languages
Chinese (zh)
Other versions
CN1228556A (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.)
Individual
Original Assignee
Individual
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 Individual filed Critical Individual
Priority to CNB991152492A priority Critical patent/CN1137431C/en
Publication of CN1228556A publication Critical patent/CN1228556A/en
Application granted granted Critical
Publication of CN1137431C publication Critical patent/CN1137431C/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Abstract

The present invention relates to a line symbol coding method for the input of computer line symbols. Line symbols are disassembled into line segments which are induced into five classes according to strokes of Chinese characters; each class of strokes corresponds to a number key code or a letter key code of a standard keyboard, line symbol structures are divided into single-body line symbols, dual-body line symbols and multiple character line symbols, and patterns in shapes like the Chinese characters 'tian' and 'mi' are used for equally dividing each line symbol into four corners or eight azimuths; when coded, each line symbol can be keyed in by taking eight strokes and impacting four keys. The present invention can carry out coding to various characters, symbols, color patterns, etc. and has the advantages of easy learning, easy remembrance, the low rate of coincidence codes, rapid input speed and no need of searching tables, and moreover, the present invention is in accord with the writing rules of the line symbols so as to naturally disassemble the line symbols.

Description

A kind of coding and input method of line symbol
The present invention relates to the line symbol coding and input method of a kind of computer line symbol input.
At present, the incoming line symbol, as letter, punctuate, symbol, numeral, lines such as colour image symbol, all be that the sign indicating number contrast of employing district is tabled look-up or the hard mode of carrying on the back of hypermnesia is carried out, for this reason, regular poor, difficult note finds it difficult to learn, input speed is slow, a kind of Chinese invention patent application 96118171.0 publication number CN1165995A by my invention, a kind of " four-angle eight-place Chinese character coding input method " disclosed, Chinese character in the method is encoded to Chinese character according to stroke combination, though easily learn easily note, the repetition rate of coding is low, high input speed and meet the Chinese-character writing rule and split Chinese character naturally can not be encoded to the line symbol, thereby not resolved the problem of line symbol natural input coding in computing machine is defeated.
The object of the present invention is to provide the coding and input method of a kind of line symbol, accomplish easily to learn easily note, the repetition rate of coding is low, high input speed, the line that need not table look-up and meet line symbol writing rules and split the line symbol naturally accord with code encoding method.
The present invention abbreviates " line symbol sign indicating number " as, and the purpose of its invention realizes by following approach.
The present invention carries out disassembled coding according to the line segment combination of line symbol to line symbol line segment, be about to the line segment after the line symbol splits, press the Chinese-character stroke definition by induction for horizontal, perpendicular, cast aside, press down, roll over five classes, horizontal straight line, the lateral flexure line, horizontal dotted line, the line segment that horizontal arrow etc. have similar horizontal line section all is included into a horizontal class, vertical curve, vertical curve, perpendicular dotted line, the line segment that perpendicular arrow etc. has similar vertical line section all is included into a perpendicular class, left skew lines from last declivity left, a left side is camber line tiltedly, left side skew curve, a left side is dotted line tiltedly, a left side is some shape line tiltedly, a left side is arrow tiltedly, stroke is carried etc. to have the line segment that is similar to left oblique line section and all is included into and casts aside a class, right skew lines from last declivity to the right, right tiltedly camber line, right skew curve, right tiltedly dotted line, right tiltedly some shape line, right tiltedly arrow, the line segment that stroke point etc. has a similar right oblique line section all is included into presses down a class, can all be included into the line segment that the one or both ends of various line segments have crooked arc angle shape such as to tear open and tear a class open.
" tiny " line segment in all tab racks symbol is " point-like shape " line segment after the expansion, then look the way that " point " in the stroke regards right-falling stroke as, " tiny " line segment is defined as: a right-falling stroke class.
Arrange in all lace lines symbol orderly different form " point " all by its arrange orderly horizontal, vertical, cast aside, press down four classes and define, promptly be included into horizontal, vertical, cast aside, press down four class strokes, all different forms " point " have the tiny line segment of " prong " shape and arrange unordered " point " and restrain class definition, promptly are included into and press down a class.
A numerical key sign indicating number or alphabetical key on the equal corresponding QWERTY keyboard of above-mentioned all kinds of stroke, the code of corresponding digital key is: horizontal 1, perpendicular 2, cast aside 3, press down 4, folding 5, corresponding alphabetical key is horizontal Y, perpendicular U, cast aside I, press down O, folding P, is called the single sign indicating number.The present invention is based on this five classes stroke coding, and wired symbol is got the pen coding, so the present invention available digital 1~5 makes line symbol coding, and also available alphabetical Y, U, I, O, P or other any five letters are encoded.
When the present invention encodes line being accorded with structure type is divided three classes:
A, monomer line symbol: all line symbols that has only a line segment or have two above line segments to interconnect, intersect, overlap;
6., (16), (18) etc. b, surround the line symbol: various characters are arranged in all parantheses and the circle, the line symbol of character, pattern, multicolour pattern is arranged in all figures or all kinds of enclosed construction, as triangle, quadrilateral and special pattern;
C, many structures line symbol; Comprise the line symbol that constitutes by last mo(u)ld bottom half or two characters of left right model, by upper, middle and lower type or left, center, right type, the line symbol of three character compositions and the line symbol that constitutes by the multiword symbol, as: ≌, 10, b1, Deng.
Line symbol among the present invention comprises: letter, numeral, symbol, punctuate, trade mark, enterprise's mark, road sign, national flag, national emblem pattern, and multicolour pattern etc., promptly the line of following type symbol also can be encoded to it:
1, all kinds of symbols: comprise numeric character, punctuation mark, organization symbol, line segment and bar that Chinese figure character, foreign numerical character, various geometric figure symbol and interior character by numeral thereof etc. form, arrow or the like;
2, various countries' alphabetic character: comprise that Chinese phonetic alphabet, the phonetic Chinese phonetic script, the Latin alphabet are that English alphabet, Greek alphabet are Roman character, japanese alphabet, Russion letter, German letter etc.;
3, all kinds of tag marks: emblem mark, trade mark, bank's rower, TV station's station symbol, railaway badge, various countries' national flag, national emblem, army symbol etc.;
4, tabulation symbol: T character, angle character, cross symbol, lace character etc.;
5, goods and materials commodity character: daily necessities symbol, electric equipment or articles for use symbol, stationery office appliance symbol, product or instrument symbol, object symbol, material code name symbol, chemical elemental symbol, animals and plants symbol or the like;
6, all kinds of caution symbols: commodity packaging caution symbol, safety guard caution symbol, medical aid caution symbol, fire-proof and theft-proof symbol, traffic sign or caution symbol, space flight navigation caution symbol, weather forecast symbol etc.;
7, physical culture, amusement, cartoon characters: physical culture appearance symbol, physical culture medal symbol, music symbol, animation cartoon symbol, fine arts calligraphy symbol, collectibles symbol etc.;
8, other special symbol: gear symbol, special-shaped symbol, pattern symbol, various colour symbolism, celestial body, satellite symbol etc.
The present invention has 25 kinds by the combination in twos of the category-5 cable symbol stroke code that Chinese-character stroke is concluded, and when carrying out the input of line symbol, utilizes 25 letter keys on the keyboard.Represent 25 pairs of stroke codes respectively, be that each alphabetical key is represented two stroke codings, each line accords with four corresponding alphabetical keys and claims pair pen sign indicating number, can finish thereby eight codings that each line is accorded with only need hit quadruple linkage when importing, and the corresponding relation of alphabetical key and stroke code is as follows:
Q (pressing down perpendicular Dian Shu) W (folding is cast aside Off Pie) E (cross break one Off) R (press down and cast aside Dian Pie) T (pressing down folding Dian Off)
Y (folding folding Off Off) U (rolling over horizontal Off one) I (the perpendicular Shu of right-falling stroke Dian) O (casting aside folding Pie Off) P (pressing down horizontal Dian one)
A (horizontal one by one) S (pressing down Dian Dian) D (horizontal right-falling stroke one Dian) F (perpendicular horizontal Shu one) G (perpendicular Shu Shu)
H (the perpendicular Shu of left-falling stroke Pie) J (perpendicular folding Shu Off) K (casting aside horizontal Pie one) L (casting aside perpendicular Pie Shu) M (casting aside Pie Pie)
X (folding is pressed down Off Dian) C (horizontal left-falling stroke one Pie) V (the perpendicular Off Shu of folding) B (Shu anyhow) N (cast aside and press down Pie Dian)
In the present invention, also can adopt following corresponding relation between two stroke codes and the alphabetical key:
Q (horizontal one by one) W (Shu anyhow) E (horizontal left-falling stroke one Pie) R (horizontal right-falling stroke one Dian) T (cross break one Off)
Y (perpendicular horizontal Shu one) U (perpendicular Shu Shu) I (the perpendicular Shu of left-falling stroke Pie) O (the perpendicular Shu Dian that presses down) P (perpendicular folding Shu Off)
A (casting aside horizontal Pie one) S (casting aside perpendicular Pie Shu) D (casting aside Pie Pie) F (cast aside and press down Pie Dian) G (casting aside folding Pie Off)
H (pressing down horizontal Dian one) J (pressing down perpendicular Dian Shu) K (press down and cast aside Dian Pie) L (pressing down Dian Dian) M (pressing down folding Dian Off)
Z (rolling over horizontal Off one) X (the perpendicular Off Shu of folding) C (folding is cast aside Off Pie) V (folding is pressed down Off Dian) B (folding folding Off Off)
Also can come correspondence for last five strong sign indicating numbers by last a kind of form, as: X (rolling over horizontal Off one)
C (the perpendicular Off Shu of folding) V (folding is cast aside Off Pie) B (folding is pressed down Off Dian) N (folding folding Off Off)
The primitive rule that the present invention gets the pen coding to the line symbol is:
A, get pen in the direction of the clock;
B, get pen by minimum distance, promptly with from the line segment of cornerwise the right and left minimum distance or stroke for getting an object;
C, two coordinatioies, decimal is preferential, when promptly having two only to get one in position, then gets the less stroke of stroke value corresponding sign indicating number, promptly by horizontal, vertical, cast aside, press down, the order of folding gets pen;
D, the present invention can place the line symbol that is in the character or the Chinese character upper left corner, the upper right corner, the lower right corner, the lower left corner in the corresponding separately angle of " rice " word figure, get the pen coding by the line segment stroke of line symbol in this angle, all the other no stroke positions are with supposing stroke coding, and the method is called for short localization method.
E, suppose the stroke method, when splitting the line symbol, if when in one or several orientation, not having stroke, can suppose that the stroke in this orientation is any one stroke in the five class strokes or is fixed as " folding " stroke, can suppose that also stroke in this orientation is the decimal stroke in the last orientation;
The present invention utilizes " rice " word block scheme to split the line symbol and the line symbol is got the pen coding, at a square inside-paint " two perpendicular bisector ", " two diagonal line ", form " rice " word figure, the line symbol is divided into four angles and eight orientation, four angles are respectively the upper left corner in a clockwise direction, the upper right corner, the lower right corner, the lower left corner, S1 is used successively from upper left corner clockwise direction in eight orientation, S2, S3, S4, S5, S6, S7, S8 represents, when encoding, each line symbol is got the stroke in eight different azimuth of this line symbol by its type, wherein one is only got in each orientation, each stroke of being got all has a coding, each line symbol is pressed single and is drawn code fetch totally eight codings, if do not have stroke then will borrow its stroke to encode in a certain orientation, or hypothesis stroke coding to the adjacent orientation of its adjacent angular.
Because the present invention is that four angles with character are for getting a unit when getting, per unit is got wherein two, therefore each above-mentioned alphabetical key all is a coding of getting a unit, and each character code comprises four alphabetical keys, is defined as in regular turn: A1, A2, A3, A4.
Fig. 1 is that stroke classification of the present invention or line symbol reach code figure for example.
Fig. 2 is the keyboard layout figure of Chinese character of the present invention and the input of line symbol.
Fig. 3 is for dividing line symbol of the present invention or Chinese character and get " rice " font figure that pen is encoded.
Fig. 4 is for dividing line symbol of the present invention and get the sphere of movements for the elephants shape figure that pen is encoded.
Fig. 5 is " diagonal angle " figure of dividing line symbol of the present invention.
Fig. 1 has illustrated that line segment after line of the present invention symbol splits is by the five class strokes and corresponding numerical code, the character code thereof of Chinese-character stroke institute definition by induction; Fig. 2 has illustrated the relation of correspondence of two strokes of each alphabetical key representative, and by the corresponding relation of numerical code, single sign indicating number and key position; Fig. 3 has illustrated dividing line symbol or Chinese character and has got " rice " the word figure of pen coding and the distribution in each orientation; Fig. 4 has illustrated the dividing line symbol and has got the sphere of movements for the elephants figure of pen coding and the distribution in each orientation; Fig. 5 has illustrated the distribution in " diagonal angle figure " and each orientation.
Now with embodiment the present invention is elaborated in conjunction with the accompanying drawings:
The present invention with the method that " rice " word figure splits the line symbol is:
1. the free-throw line symbol is put into above-mentioned " rice " word figure, then cut off at the branch of " two perpendicular bisector " and " two diagonal line ", this line symbol is split into line segment, and then the line segment of this line symbol is distributed in eight different positions, promptly in S1, S2, S3, S4, S5, S6, S7, the S8;
2. the fractionation of line symbol in " rice " word figure put into circle symbol in " rice " figure, and then the arc in S1, S2, S5, the S6 is
Figure C9911524900111
The left side of formula is camber line tiltedly, and the arc in S3, S4, S7, the S8 is
Figure C9911524900113
Figure C9911524900114
Right tiltedly camber line, definition by induction is for casting aside " Pie " pen and pressing down " Dian " pen respectively, equally, if up and down two semicircles and about an also removable the left side tiltedly camber line and the right tiltedly camber line of being divided into of line symbol of two semicircles, a certain angle in like manner all free-throw lines symbol or polygonal in also detachablely when circular arc line is arranged be defined as left-falling stroke, press down two, when diamond symbols being put into " rice " word figure and splitting, S1, S2, S5, the S6 internal oblique line is "/" left oblique line section, S3, S4, S7, S8 internal oblique line section be " " right oblique line section, respectively definition by induction is for casting aside " Pie " pen and press down " Dian " pen, same two half-angles up and down and about the line of two half-angles accord with also removable left oblique line section and the right oblique line section of being divided into; When tetragonal line symbol was put into " rice " word figure and split, in S1, S8, S4, the S5 be " Shu " vertical line section, and in S2, S3, S6, the S7 be " one " horizontal line section, and definition by induction be horizontal " one " and erect " Shu " respectively.
3. the present invention gets an orientation by line symbol type difference to the line symbol, and its coding is respectively according to following method:
A, monomer line symbol: get in S1, S2, S3, S4, S5, S6, S7, the S8 orientation of this line symbol respectively one.Coding is given an example: circle ⊙: MSMS.
B, two character line symbol: before and after looking or up and down two characters are first and second character, looking the outer interior character that surrounds the line symbol is the one or two character, for example looking parantheses, circle, polygon is first character, character in the parantheses, circle, polygon is to go up mo(u)ld bottom half or the left right model structure all is considered as a character and be second character, get interior each one of the first character S1, S2, in the second character S3, S4, S5, S6, S7, S8 each one, or get in the second character S1, S2, S3, S4, S5, S6 each one, coding for example: №: ISKD.
C, three-character doctrine line symbol: with head and the tail or up and down two characters be first three-character doctrine, the centre is second character, get the first character S1, S2, interior each one, interior each one of the second character S3, S4, interior each one of three-character doctrine S5, S6, in the second character S7, the S8 each one, or get in S1, the S2 of the one or two three-character doctrine each one, in second yard of three-character doctrine or S3, the S4 each one.
The line symbol that d, four characters and above character are formed: get in S1, the S2 of the one two three four character or last character each one, or to look head and the tail two characters be first three-character doctrine, then the character between the head and the tail character is considered as second character, gets the pen coding by three-character doctrine.
4. the coding method of " rice " word figure: when the Chinese character title of free-throw line symbol or line symbol is put into " rice " word figure and encoded, with the diagonal line is benchmark, respectively get one at diagonal line the right and left, be that to get two in every angle be a sign indicating number, get one in each orientation, totally eight is four yards, and coding is given an example: ◇: MSMS.
The also available sphere of movements for the elephants figure of the present invention dividing line accords with, and the line symbol is carried out disassembled coding, and its method is as follows:
1. sphere of movements for the elephants figure is by adding in the square that " two perpendicular bisector " constitutes, and represents with upper left corner A1, upper right corner A2, lower right corner A3, lower left corner A4 respectively in four angles in a clockwise direction.
2. the line symbol is put into sphere of movements for the elephants figure, " two perpendicular bisector " is distributed in four angle A1, A2, A3, the A4 after this line symbol cutting is split.
3. line symbol splits in sphere of movements for the elephants figure: when being circle symbol, be distributed in that arc is in A1, the A3 angle
Figure C9911524900121
Figure C9911524900122
The left side of formula is camber line tiltedly, and camber line is in A2, the A4 angle
Figure C9911524900123
Figure C9911524900124
The right tiltedly camber line of formula, definition by induction is for casting aside " Pie " pen and pressing down " Dian " pen respectively, and above-mentioned circle symbol comprises whole circle, goes up lower half circle, left and right sides semicircle and all kinds of residual circular arc line segment; When being the diamond type symbol, the oblique line that is distributed in A1, the A3 angle is "/" left skew lines section, and the oblique line in A2, the A4 angle is " Dian " right skew lines section, and definition by induction is for casting aside " Pie " pen and pressing down " Dian " pen respectively.Above-mentioned diamond type symbol comprises whole rhombus, half-angle up and down, and left and right sides half-angle, half-angle are exactly the geometric figure that is formed by two line segment intersections; When being irregular polygon symbol, the line segment that is distributed in A1, A2, A3, the A4 angle all can be considered folding " Off " pen.
4. sphere of movements for the elephants figure of the present invention gets an orientation to the line symbol and accords with type according to line, and it is as follows that it gets a coding method:
A, monomer line symbol: get in A1, the A2 each one by first yard, get in A2, the A3 each one for second yard, trigram is got A3, A4 angle in each one, and in the 4th yard A4, the A1 angle respectively one, or get in A1, A2, A3, the A4 angle respectively two.Coding is given an example: ⊙: NRNR.
B, two character line symbol: two characters and surround that character is first and second character in line symbol outer before and after looking or up and down, get in the first character A1A2 angle each one, in the second character A2A3A3A4A4A1 angle each one, perhaps get in the first character A1 angle two, in the second character A2A3A4 angle each two, perhaps get the one or two trigram of second character.Coding is given an example: №: INKD.
C, three-character doctrine line symbol: with head and the tail or up and down two characters be first three-character doctrine, a middle character is second character, gets each one at first the character A1A2 angle in, in the second character A2A3 angle respectively one, in the three-character doctrine A3A4 angle each one, in the A4A1 angle of second character each one, perhaps get in the first character A1 angle two, in the second character A2 angle two, in the three-character doctrine A3 angle two, in the second character A4 angle two, first yard of perhaps getting the one or two three-character doctrine, second yard of three-character doctrine.
The line symbol that d, four or more character are formed: with head and the tail or up and down two characters be first and third character, two or more middle characters are referred to as second character, accord with by the three-character doctrine line and to get pen coding, or get first yard of first, second and third character, first yard of last character.
The coding method of above-mentioned sphere of movements for the elephants figure: free-throw line symbol is put into sphere of movements for the elephants figure disassembled coding, is benchmark with two perpendicular bisectors, gets the pen coding, and what promptly form A1A2A2A3A3A4A4A1 gets order of strokes observed in calligraphy preface, and two is one yard, totally four yards.
Second in first, second, third and fourth yard of above-mentioned four types line symbol all belongs to by means of pen or hypothesis stroke, if having more than two or two in certain angle wherein, two that get in this angle is a sign indicating number, does not then borrow pen to next orientation.
The present invention also available " diagonal angle " figure is divided quadrilateral type line symbol, and its method is as follows:
1. " diagonal angle " figure is decorated with " two diagonal line " in a square, and forming four orientation in a clockwise direction is left triangle D1, last triangle D2, right triangle D3, following triangle D4.
2. the line symbol is put into " diagonal angle " figure, " two diagonal line " splits this line symbol cutting in four orientation D1D2D3D4, and when line accorded with to square, rectangle, splitting back D1D3 interior was " Shu " vertically line segment, is " one " line segment anyhow in the D2D4; When quadrilateral line symbol is trapezoidal symbol, split in the D1 of back be "/" left skew lines section or " " right skew lines section, in the D3 be " " right skew lines section or "/" left skew lines section, still " one " line segment anyhow in the D2D4, when being parallelogram, split be all in the D1D3 of back "/" left skew lines section or " " right skew lines section, D2D4 is " one " line segment anyhow, above-mentioned line segment anyhow, vertically line segment, left skew lines and right skew lines section respectively definition by induction for pen anyhow with cast aside and press down.When being irregular quadrilateral, splitting and to get " Off " folding pen in the D1D2D3D4 of back simultaneously.
Among the present invention, all when the line symbol being rolled over branch and encodes with sphere of movements for the elephants and " rice " word figure, when not having stroke or having only unicursal, can borrow two or one to next orientation and encode, also can adopt the method for " suppose the stroke method " to get pen and encode as certain orientation or a plurality of orientation.
After the present invention splits line symbol with " rice " word figure or sphere of movements for the elephants figure, when not having stroke, can suppose that stroke in this orientation is any one stroke in five kinds of strokes, or be fixed as folding " Off " stroke in one or several orientation.Can suppose that also stroke in this orientation is the decimal stroke in the last orientation.As stroke in the A2 orientation is " Pie ", and corresponding number be " 3 ", and the hypothesis stroke that does not then have the orientation A3 of stroke is " | ", and the correspondence number is " 2 ", promptly 2<3, be the decimal stroke.As letter With
Figure C9911524900142
Put into sphere of movements for the elephants figure or " rice " word figure splits, then In the A2 angle, there is not stroke, No stroke in the A4 angle of line symbol is a folding stroke if suppose the position of drawing the position of no stroke, and coding is given an example: TWNN,
Figure C9911524900146
NTTW.
The present invention splits the line symbol by " rice " word or sphere of movements for the elephants figure, adds no stroke position and adopts the way of hypothesis stroke to get the pen coding, can determine the distinct line symbol on special position, and be called for short line symbol localization method, concrete grammar is:
A, be in the line symbol in the character or the Chinese character lower right corner, as comma, ", fullstop ".", being in the character or the Chinese character upper left corner, the line symbol in the upper right corner as single quotation marks " ' ' ", double quotation marks " " " ", is in the line symbol in the character or the Chinese character lower left corner, as the right angle Deng, place in sphere of movements for the elephants figure or the corresponding separately position of " rice " word figure, be in the position of upper left corner A1 or S1S2, in upper right corner A2 or 8384 the position, in the position of lower right corner A3 or S5S6, in the position of lower left corner A4 or S7S8, the orientation of then not having stroke substitutes with the hypothesis stroke, gets the pen coding in conjunction with sprocket bit.
B, the location way that accords with for the distinct line of being with directivity are: will put into sphere of movements for the elephants figure or the corresponding separately position of " rice " word figure with the distinct line symbol of directivity, promptly in left A1A4 or 82818887 orientation; In right-hand A2A3 or 83848586 orientation, in top A1A2 or 81828384 orientation; In below A3A4 or the S5S6S7S8 orientation, then do not have the stroke of the orientation of stroke, the line symbol is got the pen coding in conjunction with the symbol of location with hypothesis.For example: left semicircle (, the large, medium and small parantheses in the left side, [, (, can be fixed in left position A1A4 or the S281S887 orientation two book quotation marks on the right ", tabulation direction character
Figure C9911524900148
Can be fixed in the orientation of right-hand A2A3 or S3S485S6 first circular arc The top has the line at angle to accord with △, tabulation direction character ⊥, can be fixed in upper position, in the orientation of A1A2 or S1S2S3S4, second circular arc etc. zero, can be fixed in the orientation of below A3A4 or S5S6S7S8, when the line symbol does not have stroke in certain orientation, then the hypothesis on location of no stroke is torn open stroke for " Off ", encode for example " :=Dian Off+Off Off+Off Dian+Dian Dian=TYXS=45555444 ";
The present invention also can adopt the Chinese character of hue component to encode to multicolour pattern, carry out permutation and combination coding by nine Chinese characters of red, orange, yellow, green, indigo, azure, purple black and white, its rule is as follows: a, arrange by the color sequence of positions and to be: from top to bottom, from left to right, from outside to inside, from the upper left corner to the upper right corner, from the lower right corner to the lower left corner or reverse direction arrange.
B, arrange by the area size order of colour and to be: large, medium and small, point or opposite direction, promptly press point, little, in, too arrangement.
C, by the shade series arrangement be: dense, even, light, white or opposite direction is arranged.
D, by the geometric configuration series arrangement of color be: circle, side, triangle, abnormity or reverse direction are arranged.
As certain state's national flag color is three kinds of colors, be docile and obedient from left, center, right for: red, blue, yellow, then the coding method to this national flag is: red blue yellow: YGGJ=55222225.
The implication that the present invention also can accord with pairing Chinese character title or accord with according to line according to the line that the world and unification of the motherland are named, shape, feature, use and the present position, the specific line symbol Chinese character title such as sanctified by usage and the phonetic of Chinese character title are encoded, Methods for Coding can adopt existing any font code coding method and Chinese-character sound dissection encode method to encode, contain spelling and simplicity, also can encode by ledger line symbol options button, different is, during with the Chinese character name encoding of line symbol, what computer keyboard was imported is the Chinese character name encoding and the Chinese character title Pinyin coding of line symbol, and what show on the fluorescent screen is not the Chinese character title and the phonetic of line symbol, but the pattern symbol of this line symbol, output also be the pattern symbol of this line symbol.For example:
◇: title and phonetic are: rhombus, ling, xing, sound sign indicating number ◇=lingxing then, sieve sign indicating number rhombus=GBAM, hit GBAM or ling, xing key, the fluorescent screen shows simultaneously: rhombus and ◇ add options button " Z ": hit " ZGBA " or " zlingxin " key, fluorescent screen demonstration, output pattern symbol: " △ ".
Pairing approximation of the present invention is encoded with Chinese character or the same coding method of Chinese radical in the line symbol employing of Chinese character or Chinese radical.
In sum, the stroke of the line segment definition after the present invention splits with the line symbol is a basis of coding, and line symbol nature is split and coding, need not to table look-up, hypermnesia is carried on the back firmly, easily learns easily note, the few speed of repeated code is fast, goes back the available digital key and operates coding with single finger, and the present invention is adapted to the input of computer line symbol.

Claims (9)

1, a kind of coding and input method of line symbol is encoded according to the line segment fractionation of line symbol, it is characterized in that:
(1) line segment after line symbol is split by the Chinese-character stroke definition by induction is: horizontal (one), perpendicular (Shu), cast aside (Pie), press down (Dian), folding (Off) five classes; The line segment that horizontal straight line, lateral flexure line, horizontal dotted line, horizontal arrow etc. is had similar horizontal line section all is included into a horizontal class; The line segment that vertical curve, vertical curve, perpendicular dotted line, perpendicular arrow etc. is had similar vertical line section all is included into a perpendicular class; Left skew lines from last declivity left, a left side is camber line tiltedly, left side skew curve, a left side is dotted line tiltedly, a left side is some shape line tiltedly, a left side is arrow tiltedly, stroke is carried etc. to have the line segment that is similar to left oblique line section and all is included into and casts aside a class, right skew lines from last declivity to the right, right tiltedly camber line, right skew curve, right tiltedly dotted line, right tiltedly some shape line, right tiltedly arrow, stroke point etc. has the line segment that is similar to right oblique line section and all is included into a right-falling stroke class, can free-throw line accord with one jiao or polygonal in have circular arc line or up and down the left and right sides oblique line of half-angle line symbol split to be defined as to cast aside and press down two, have the one or both ends of various line segments curved, bent, arc, the angle, the line segment of shapes such as folding all is included into a folding class, a numerical key sign indicating number or alphabetical key on the equal corresponding QWERTY keyboard of all kinds of strokes, the code of corresponding digital key is: horizontal 1, perpendicular 2, cast aside 3, press down 4, folding 5, corresponding alphabetical key is: horizontal Y, perpendicular U, cast aside I, press down O, folding P, or other any five alphabetical codings, be called the single sign indicating number;
(2) line being accorded with structure type is divided three classes:
A, monomer line symbol: all line symbols that has only a line segment or have two above line segments to interconnect, intersect, overlap;
B, encirclement line symbol: various characters are arranged in all parantheses and the circle, the line symbol of character or pattern is arranged in all figures or all kinds of enclosed construction;
C, many structures line symbol: comprise the line symbol that is made of last mo(u)ld bottom half or two characters of left right model, the line that three characters of upper, middle and lower type and left, center, right type are formed accords with, and accords with the line symbol that constitutes by multiword;
(3) utilization " rice " word square frame figure splits the line symbol and the line symbol is got pen encode, at a square inside-paint " two perpendicular bisector ", " two diagonal line " formation " rice word figure " shape, the free-throw line symbol is put into " rice " figure, branch at " two perpendicular bisector " and " two diagonal line " is cut off, each line symbol is divided into four angles and eight orientation, four angles are the upper left corner, the upper right corner, the lower right corner, the lower left corner, S1 is used successively from upper left corner clockwise direction in eight orientation, S2, S3, S4, S5, S6, S7, S8 represents, when encoding, each line symbol is got the stroke in eight different azimuth of this line symbol by its type, wherein one is only got in each orientation, each stroke of being got all has a coding, each line symbol is pressed single and is drawn code fetch totally eight codings, if do not have stroke then will borrow its stroke to encode in a certain orientation, or the hypothesis stroke be encoded to the adjacent orientation of its adjacent angular;
(4) the line symbol being got a primitive rule of coding is:
A, get pen in the direction of the clock;
B, get pen by minimum distance: promptly with from the line segment stroke of cornerwise the right and left minimum distance for getting an object;
C, two coordinatioies, decimal is preferential: when promptly having two only to get one in position, then get the less stroke of stroke value corresponding sign indicating number, promptly by horizontal, vertical, cast aside, press down, the order of folding gets pen;
D, localization method: the line symbol that is in the character upper left corner, the upper right corner, the lower right corner, the lower left corner is placed in the corresponding separately angle of " rice " word figure, get the pen coding by the stroke of line symbol in this angle, the position of all the other no strokes of Queensland hypothesis stroke coding;
E, suppose the stroke method: when splitting the line symbol, if when not having stroke in one or several orientation, can suppose that the stroke in this orientation is any one stroke in the five class strokes or is fixed as folding " Off " stroke, can suppose that also stroke in this orientation is the decimal stroke in the last orientation;
(5) combination in twos of category-5 cable symbol stroke code has 25 kinds, when carrying out the input of line symbol, utilize 25 letter keys on the keyboard, represent 25 pairs of stroke codes respectively, be that each alphabetical key is represented two stroke codings, each line accords with four corresponding alphabetical keys and claims pair pen sign indicating number, can finish thereby eight codings that each line is accorded with only need hit quadruple linkage when importing, in regular turn for being defined as: A1A2A3A4, the corresponding relation of alphabetical key and stroke code is as follows:
Perpendicular Dian Shu, the W folding of Q right-falling stroke left-falling stroke Off Pie, E cross break one Off, R press down left-falling stroke Dian Pie, T and press down folding Dian Off
Y folding folding Off Off, U roll over that horizontal Off one, the perpendicular Shu of right-falling stroke of I Dian, O are cast aside folding Pie Off, P presses down horizontal Dian one
A is horizontal one by one, S presses down Dian Dian, the perpendicular Shu Shu of horizontal right-falling stroke one Dian of D, F perpendicular horizontal Shu one, G
The perpendicular Shu of left-falling stroke of H Pie, the perpendicular folding of J Shu Off, K cast aside horizontal Pie one, L left-falling stroke perpendicular Pie Shu, M and cast aside Pie Pie
X folding right-falling stroke Off Dian, horizontal left-falling stroke one Pie of C, V folding perpendicular Off Shu, B a Shu, N left-falling stroke anyhow press down Pie Dian
2, the coding and input method of a kind of line symbol according to claim 1, it is characterized in that the line symbol get an orientation by line symbol type coding according to following method:
(1) monomer line symbol: get in S1, S2, S3, S4, S5, S6, S7, the S8 orientation of this line symbol respectively;
(2) two character lines symbol: before and after looking or up and down character is first and second character, looking outer interior character is the one or two character, interior character is to go up mo(u)ld bottom half or the left right model structure all is considered as a character and be second character, get interior each one of the first character S1, S2, in the second character S3, S4, S5, S6, S7, S8 each one, or get in the second character S1, S2, S3, S4, S5, the S6 each one;
(3) three-character doctrine line symbol: with head and the tail or up and down two characters be first three-character doctrine, the centre is second character, get interior each one of the first character S1, S2, interior each one of the second character S3, S4, interior each one of the 3rd word S5, S6, in the second character S7, the S8 each one, or get in S1, the S2 of the one or two three-character doctrine each one, in second yard of three-character doctrine or S3, the S4 each one;
The line symbol that (4) four characters and above character are formed: get in S1, the S2 of the one two three four character or last character each one, or to look head and the tail two characters be first three-character doctrine, then the character between the head and the tail character is considered as second character, gets the pen coding by three-character doctrine;
It all is that the Chinese character title of line symbol or line symbol to be put into after " rice word figure " with the diagonal line be benchmark that above-mentioned four types line symbol is got the pen coding, respectively get one at diagonal line the right and left, be that to get two in every angle be a sign indicating number, get one in each orientation, totally eight is four yards.
3, the coding and input method of a kind of line symbol according to claim 1 is characterized in that also can adopting following corresponding relation between two stroke and the alphabetical key:
Q is horizontal one by one, W anyhow horizontal left-falling stroke one Pie of a Shu, E, horizontal right-falling stroke one Dian of R, T cross break one Off,
The perpendicular Shu of left-falling stroke of perpendicular Shu Shu, the I of Y perpendicular horizontal Shu one, U Pie, O be perpendicular press down the perpendicular folding of Pie Dian, P Shu Off,
A cast aside horizontal Pie one, S cast aside perpendicular Pie Shu, D cast aside Pie Pie, F cast aside press down Pie Dian, G cast aside folding Pie Off,
H press down horizontal Dian one, J press down perpendicular Dian Shu, K press down cast aside Dian Pie, L press down Dian Dian, M press down folding Dian Off,
X roll over perpendicular Off Shu, the V folding of horizontal Off one, C folding cast aside Off Pie, B folding press down Off Dian, N folding folding Off Off,
4, the coding and input method of a kind of line symbol according to claim 1 is characterized in that adopting " field word figure " to substitute " meter word figure " and rolls over separated time symbol and get the pen coding, and it is basic identical that its fractionation line accords with and get a Methods for Coding, and difference is:
(1) " field word figure " is by adding in the square that two perpendicular bisectors constitute, and represent with upper left corner A1, upper right corner A2, lower right corner A3, lower left corner A4 respectively in four angles in a clockwise direction;
(2) the line symbol is put into " field word figure ", " two perpendicular bisector " is distributed in four angle A1, A2, A3, the A4 after this line symbol cutting is split;
(3) sphere of movements for the elephants figure encodes as follows to the pen of getting of line symbol:
A, monomer line symbol: get in the A1A2 angle each one by first yard, get in the A2A3 angle each one for second yard, trigram is got each one at A3A4 the angle in, gets in the A4A5 angle respectively one for the 4th yard, promptly get in the A1A2A2A3A3A4A4A1 angle each one, or get respectively one at A1A2A3A4 the angle in.
B, two character line symbol: two characters and surround that two characters are first and second character in line symbol outer before and after looking or up and down, get in the first character A1A2 angle each one, in the second character A2A3A3A4A4A1 angle each one, perhaps get in the first character A1 angle two, in the second character A2A3A4 angle two, perhaps get the one or two trigram of second character.
C, three-character doctrine line symbol: with tail first or up and down two characters be first three-character doctrine, a middle character is second character, gets each one at first the character A1A2 angle in, in the second character A2A3 angle respectively one, in the three-character doctrine A3A4 angle each one, in the second character A4A1 angle each one, perhaps get in the first character A1 angle two, in the second character A2 angle two, in the three-character doctrine A3 angle two, in the second character A4 angle two, first yard of perhaps getting the one or two three-character doctrine, second yard of three-character doctrine.
The line symbol that d, four or more character are formed: with head and the tail or up and down two characters be first three-character doctrine, two or more middle characters are referred to as second character, accord with by the three-character doctrine line and to get pen coding, or get first yard of first, second and third character, first yard of last character.
It all is that the free-throw line symbol is put into " field word figure " disassembled coding that above-mentioned four types line symbol is got the pen coding, is to get pen about benchmark to encode with two perpendicular bisectors, and what promptly form A1A2A2A3A3A4A4A1 gets order of strokes observed in calligraphy preface, and two is one yard, totally four yards.
5, the coding and input method of a kind of line symbol according to claim 1 is characterized in that splitting quadrilateral line symbol and can adopt " diagonal angle figure " Split Method, and its method is as follows:
(1), at two diagonal line of a square inside-paint, form four orientation in a clockwise direction and be: left triangle D1, last triangle D2, right triangle D3, following triangle D4.
(2), quadrilateral line symbol is put into " diagonal angle figure ", article two, diagonal line splits this line symbol cutting in four orientation D1D2D3D4, when the line symbol is square, during rectangle, splitting in the D1D3 of back is " Shu " vertically line segment, in the D2D4 is " one " line segment anyhow, when quadrilateral line symbol is trapezoidal symbol, split in the D1 of back be "/" left skew lines section or " " right skew lines section, in the D3 be " " right skew lines section or "/" left skew lines section, still " one " line segment anyhow in the D2D4, when being parallelogram, split be all in the D1D3 of back "/" left skew lines section or " " right skew lines section, still " one " line segment anyhow in the D2D4, above-mentioned: line segment anyhow, vertical line segment, left side skew lines section and right skew lines section, definition by induction is respectively: pen is pressed down pen with casting aside anyhow, when being irregular quadrilateral, can getting " Off " simultaneously in the D1D2D3D4 after splitting and tear a stroke open.
6, the coding and input method of a kind of line symbol according to claim 1 is characterized in that the type of line symbol comprises: all kinds of China and foreign countries numerical character, encirclement numeric character, line segment and bar, arrow, organization symbol, various geometric figure symbol, all kinds of tag mark, various countries' alphabetic character, all kinds of tag mark, tabulation symbol, actuals symbol, all kinds of caution symbol, physical culture, amusement, cartoon or its combination.
7, the coding and input method of a kind of line symbol according to claim 1, it is characterized in that arranging in all lace lines symbol orderly different form " point ", all to press its arrangement orderly: horizontal stroke, perpendicular, cast aside, pressing down four classes defines, promptly reduce: horizontal stroke, perpendicular, cast aside, press down four class strokes, all different forms " point " have the tiny line segment of " prong " shape and arrange unordered " point " and restrain class definition, promptly be included into and press down a class, " tiny " line segment in all tab rack symbols, be " point " shape shape line segment after the expansion, then look " point " in the stroke and regard the treating method of right-falling stroke as, " tiny " line segment is defined as the right-falling stroke pen, the distinct line symbol that will have directivity is put among " field; rice " two figure in the corresponding separately position, be in left A1A4 or the S2S1S8S7 orientation, in right-hand A2A3 or the S3S4S5S6 orientation, in top A1A2 or the S1S2S3S4 orientation, in below A3A4 or the S5S6S7S8 orientation, get the pen coding.
8, the coding and input method of a kind of line symbol according to claim 1 is characterized in that colour image adopts the Chinese character of hue component to encode, and carries out the permutation and combination coding by red, orange, yellow, green, indigo, azure, purple is black from nine Chinese characters, and its rule is as follows:
(1), arrange by the color sequence of positions and to be: from top to bottom, from left to right, from outside to inside, from the upper left corner to the upper right corner, from the lower right corner to the lower left corner or reverse direction arrange,
(2), arrange by the area size order of colour and to be: large, medium and small, point or opposite direction,
(3), be: dense, even, light, white or opposite direction is arranged by the shade series arrangement,
(4), press the geometric configuration series arrangement of color: circle, side, triangle, abnormity or reverse direction are arranged.
9, the coding and input method of a kind of line symbol according to claim 1, it is characterized in that the implication that the present invention also can accord with pairing Chinese character title or accord with according to line according to the line that the world and unification of the motherland are named, shape, feature, use and the present position, the Chinese character title of specific line symbol such as sanctified by usage and the phonetic of Chinese character title are encoded, Methods for Coding can adopt existing any font code coding method and Chinese-character sound dissection encode method to carry out, also can encode by ledger line symbol options button, during with the Chinese character name encoding of line symbol, what computer keyboard was imported is the Chinese character name encoding and the Chinese character title Pinyin coding of line symbol, and what show on the fluorescent screen is not the Chinese character title and the phonetic of line symbol, but the pattern symbol of this line symbol, output also be the pattern symbol of this line symbol.
CNB991152492A 1999-02-02 1999-02-02 Line symbolic coding method Expired - Fee Related CN1137431C (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CNB991152492A CN1137431C (en) 1999-02-02 1999-02-02 Line symbolic coding method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CNB991152492A CN1137431C (en) 1999-02-02 1999-02-02 Line symbolic coding method

Publications (2)

Publication Number Publication Date
CN1228556A CN1228556A (en) 1999-09-15
CN1137431C true CN1137431C (en) 2004-02-04

Family

ID=5278248

Family Applications (1)

Application Number Title Priority Date Filing Date
CNB991152492A Expired - Fee Related CN1137431C (en) 1999-02-02 1999-02-02 Line symbolic coding method

Country Status (1)

Country Link
CN (1) CN1137431C (en)

Families Citing this family (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1324440C (en) * 2000-08-31 2007-07-04 蔡锦忠 Fast Chinese-character 'stroke-shape code' input method
CN1296804C (en) * 2002-02-01 2007-01-24 吉林化工学院 Computer stenography symbol language and input method
CN100351754C (en) * 2002-07-02 2007-11-28 罗平候 'Line sign 5-stroke' input method for computer, palm computer, mobile telephone and telephone
CN100350357C (en) * 2003-06-23 2007-11-21 曹阿荣 Four-corner single stroke character input and lookup method
CN100423453C (en) * 2005-03-10 2008-10-01 复旦大学 Arithmetic coding decoding method implemented by table look-up
CN103231581B (en) * 2013-04-08 2014-12-31 三峡大学 Digit representation method used for machining
CN111144532B (en) * 2020-01-16 2023-08-22 中国美术学院 Asset code element, asset code and construction method of asset code

Also Published As

Publication number Publication date
CN1228556A (en) 1999-09-15

Similar Documents

Publication Publication Date Title
CN1137431C (en) Line symbolic coding method
CN85100837A (en) Optimize the Five-stroke Method compiling method and keyboard thereof
CN102750009B (en) A kind of without switching input method of Chinese character and keyboard
CN103324299A (en) Chinese character pictographic code computer input method based on Chinese character basic components
CN1073722C (en) characters input keyboard and method
CN101281425A (en) Tone spell input method
CN1293448C (en) Ten-stroke digital code input method
CN101957663B (en) Five-stroke chinese character input method
CN1347022A (en) Chinese-character characteristic character input system
CN1158593C (en) Double-pen six-stroke computer input method of Chinese and other lauguages Characters
CN1854999B (en) Multi-purpose code
CN1041465C (en) Simplified legend style Chinese characters input system
CN101114197A (en) Chinese characters pen number-shape-number-symbol input method
CN1036161C (en) Taiji code (two stroke character patten) Chinese character input method
CN1230714A (en) Tibeten input method and keyboard for computer
CN1312564C (en) Vowel consonant code mobile phone Chinese character input method
CN1244855C (en) Digital standard coding input technology for Chinese character in Chinese information processing
CN1039943C (en) "Xiaoji" strokes and Chinese-character input method and keyboard thereby
CN101226432B (en) Chinese character font type combinatorial input method
CN101025661A (en) Alphabetic super-five-stroke computer Chinese character input method
JP3052689U (en) Computer keyboard with luminous effect
CN1365040A (en) Pronunciation and stroke order Chinese character input method on digital keyboard
CN1101730A (en) English input code and its keyboard
CN1373411A (en) Encode scheme for inputting with keyboard and keypad
CN102637077A (en) Phonological, calligraphic and tone hybrid coding method for inputting Chinese characters to computer

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
C19 Lapse of patent right due to non-payment of the annual fee
CF01 Termination of patent right due to non-payment of annual fee