[go: up one dir, main page]
More Web Proxy on the site http://driver.im/

CN100368964C - Method of positive and negative sequence permutation language mixing input in electronic equipment - Google Patents

Method of positive and negative sequence permutation language mixing input in electronic equipment Download PDF

Info

Publication number
CN100368964C
CN100368964C CNB2005100349649A CN200510034964A CN100368964C CN 100368964 C CN100368964 C CN 100368964C CN B2005100349649 A CNB2005100349649 A CN B2005100349649A CN 200510034964 A CN200510034964 A CN 200510034964A CN 100368964 C CN100368964 C CN 100368964C
Authority
CN
China
Prior art keywords
positive
character
sequence
electronic equipment
language
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.)
Active
Application number
CNB2005100349649A
Other languages
Chinese (zh)
Other versions
CN1869889A (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.)
Huawei Technologies Co Ltd
Original Assignee
Huawei Technologies 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 Huawei Technologies Co Ltd filed Critical Huawei Technologies Co Ltd
Priority to CNB2005100349649A priority Critical patent/CN100368964C/en
Publication of CN1869889A publication Critical patent/CN1869889A/en
Application granted granted Critical
Publication of CN100368964C publication Critical patent/CN100368964C/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Document Processing Apparatus (AREA)

Abstract

The present invention relates to an input technology of electronic equipment and discloses a method of positive and negative sequence permutation language mixing input in electronic equipment, which enables a user to conveniently insert language words which are arrayed in an inverted sequence when the user inputs language words which are arrayed in a positive sequence or an inverted sequence in electronic equipment. The insertion of symbols and the movements of a cursor are decided according to the type of the current section in the present invention, which is different from the method in the prior art that the insertion of symbols and the movements of a cursor are decided according to the type of a word which is recently typed.

Description

Positive inverted sequence is arranged the method that language mixes input in the electronic equipment
Technical field
The present invention relates to the input technology of electronic equipment, particularly the technology that dissimilar spoken and written languages mix input in the electronic equipment.
Background technology
Because the diversity of culture is being used multilingual all over the world simultaneously, and along with the interchange of culture, the probability of the mixed use of multilingual increases greatly.In various language, the reading of literal and write order and inequality, for example Chinese, English and other european languages of great majority show by from left to right suitable pagination, and Hebrew, Arabic, Persian and Urdu are with order demonstration from right to left.According to the viewpoint of Chinese or English, this paper will read and write order language from left to right and be called positive sequence arrangement language, be called for short the positive sequence language; The language of reading and write the order right-to-left is called inverted sequence ordering language, is called for short the inverted sequence language.
Owing to reading and writing the different of order, in electronic equipment, for example in computer, mobile phone and the personal digital assistant (Personal Digital Assistant is called for short " PDA "), the disposal route of the input of the literal of different language in electronic equipment also is not quite similar.For example, for the positive sequence language, import successively at 1,2,3,4 o'clock at keyboard, screen display is 1234; And for the inverted sequence language, then screen display is 4321.And for example,, usually adopt left-Aligned mode to carry out the text layout, and, usually adopt right-aligned mode to carry out layout for the literal of inverted sequence language for the literal of positive sequence language.In addition; when literal is imported; in order to point out the user; usually can cursor be set on editing interface and indicate current operating position; for positive sequence language and inverted sequence language, the position of cursor also is not quite similar, in the positive sequence language; cursor is generally shown at the right side of the literal of just having imported, and then is presented at the left side of the literal of just having imported for the inverted sequence language.
In this article, all texts that can import the minimum unit of electronic equipment are called character; Can only be referred to as literal at positive sequence language or the character that can only in the inverted sequence language, use, for example the word of Ying Wen 26 letters, numeral and Chinese; And will be referred to as symbol at positive sequence language and all operable character of inverted sequence language, for example space, line feed, fullstop, question mark etc. are to distinguish mutually with literal.
Under the situation of positive sequence language or the independent input of inverted sequence language, moving all of the insertion of new incoming symbol and cursor position handled than being easier to, and when positive inverted sequence is arranged language mixing input electronic equipment, just need to judge where incoming symbol should be inserted into, and how cursor should move.
In the prior art scheme,, adopt following manner:, then directly how to insert and moving cursor according to the type decided of input characters if input is literal when the user need carry out positive inverted sequence when arranging language and mixing input for electronic equipment; If input is character, then decide the position of symbol insertion according to the type of the literal of importing recently.Wherein, the type of so-called literal is meant that this literal is the literal of positive sequence language or the literal of inverted sequence language.If the previous literal that is input as, the then type of the literal that can directly be imported recently; If previous character is a symbol, then last literal by input before preceding being pushed into is with the type of the literal imported recently.
For example, if existing technical scheme is pressed following sequence input: inverted sequence spoken and written languages, symbol (space), positive sequence spoken and written languages (English word), symbol (space).Be that Arabic word, space, English word " hello ", space are the example explanation with the input sequence.At first import the Arabic word, this moment, cursor placed the left side of new input characters; Then importing the space, is the inverted sequence spoken and written languages owing to what import before, so the space is inserted on the left of the cursor, simultaneously with one of cursor left; Then import English word,, therefore import each English alphabet, simultaneously cursor is placed the right side of the English alphabet of each new input according to order from left to right because input is the positive sequence spoken and written languages; Then importing the space again, is the positive sequence spoken and written languages owing to what import before, so and then this symbol is inserted the cursor right side, one of while cursor right.At this moment, the demonstration on electronic equipment as shown in Figure 1.
In actual applications, there is following problem in such scheme: existing technical scheme is mixed positive inverted sequence when arranging language in electronic equipment, can make troubles to the importer.
Cause the main cause of this situation to be, how existing technical scheme inserts symbol and moving cursor according to the type decided of the literal of importing recently, the type of not taking all factors into consideration which kind of literal is main type, often cause the location of position that symbol inserts and cursor to be not easy to user's follow-up input operation, arrange the moving cursor that often needs when switching between the language repeatedly in positive inverted sequence.For example, if English word of input in one section Arabic, when English word input back is imported the space and is wanted to continue the input of Arabic, the right side of English word and the right side that cursor also can be positioned at English word can be inserted in the space, at this moment just need the user that cursor is moved to the English word left side, could continue the input Arabic.
Summary of the invention
In view of this, fundamental purpose of the present invention is to provide the method that positive inverted sequence arrangement language mixes input in a kind of electronic equipment, make when in electronic equipment, importing positive sequence or inverted sequence arrangement language, can insert the spoken and written languages of opposite sort type easily therein.
For achieving the above object, the invention provides the method that positive inverted sequence arrangement language mixes input in a kind of electronic equipment, comprise following steps:
The described electronic equipment of A receives a character, and judges that whether this character is symbol, if then enter step B, otherwise enters step C;
B inserts the last of present segment with this character, and determines the cursor present position according to the present segment type;
C inserts the cursor present position with this character, and moves described cursor position according to these character types.
Wherein, among the described step B, the type of described present segment is determined by following steps:
Obtain first literal of present segment, and judge whether to arrange spoken and written languages, be the positive sequence section if then set the type of present segment, otherwise be the inverted sequence section into positive sequence.
In addition, among the described step B, the type of described present segment is arranged spoken and written languages and inverted sequence and is arranged the number of spoken and written languages and obtain by adding up positive sequence in this section.
In addition, among the described step B, arrange the number of the number of spoken and written languages greater than inverted sequence arrangement spoken and written languages if statistics is a positive sequence, the type of then setting present segment is the positive sequence section, otherwise is the inverted sequence section.
In addition, among the described step B, the type of described present segment is determined by following steps:
Several literal of importing recently in the statistics present segment, if positive sequence is arranged the number that the number of spoken and written languages is arranged spoken and written languages greater than inverted sequence, the type of then setting present segment is the positive sequence section, otherwise is the inverted sequence section.
In addition, described step B also comprises following substep:
B1 judges whether the type of present segment is the positive sequence section, if then enter step B2, otherwise enters step B3;
B2 inserts present segment last column rightmost side with described character, and described cursor is placed this character right side;
B3 inserts present segment last column leftmost side with described character, and described cursor is placed this character left side.
In addition, described step C also comprises following substep:
C1 judges that whether described character is that positive sequence is arranged spoken and written languages, if then enter step C2, otherwise enters step C3;
C2 inserts described cursor position with described character, and described cursor is placed this character right side;
C3 inserts described cursor position with described character, and described cursor is placed this character left side.
By finding that relatively the key distinction of technical scheme of the present invention and prior art is that the present invention program is not the type according to the literal of importing recently, but how to insert symbol and moving cursor according to the type decided of present segment.
Difference on this technical scheme, brought comparatively significantly beneficial effect: because how the present invention program inserts symbol and moving cursor according to the type decided of present segment, having avoided positive inverted sequence to arrange language mixes when importing, the problem of moving cursor repeatedly when between bilingual, switching, the user is after the language that inserts a kind of and the ordering of present segment type opposite like this, only need then import a symbol and promptly can then import language with the identical ordering of present segment type, greatly facilitate the operability of electronic equipment, improved user's experience, make electronic equipment hommization more, help the marketing of electronic equipment.
Description of drawings
Fig. 1 is the synoptic diagram of the demonstration on electronic equipment when positive inverted sequence is arranged language mixing input in the electronic equipment in the prior art scheme;
Fig. 2 arranges the process flow diagram that language mixes the method for input according to positive inverted sequence in the electronic equipment of a preferred embodiment of the present invention;
Fig. 3 is the synoptic diagram of the demonstration on electronic equipment when arranging language mixing input according to positive inverted sequence in the electronic equipment of a preferred embodiment of the present invention;
Fig. 4 is the synoptic diagram of the demonstration on electronic equipment when positive inverted sequence is arranged language and mixed input in the electronic equipment of another preferred embodiment according to the present invention.
Embodiment
For making the purpose, technical solutions and advantages of the present invention clearer, the present invention is described in further detail below in conjunction with accompanying drawing.
Generally speaking, principle of the present invention is, when needs mix the positive inverted sequence of input when arranging language to electronic equipment, if the is-symbol of input, then by judging the type of present segment, determine the user wants the language of main which kind of type of input in this section, determine the position of symbol insertion and the position that cursor moves thus.Need to prove that above-mentioned " type of present segment " is divided into positive sequence section and inverted sequence section, refers to the language form of the current paragraph of importing.Can judge the language of main what type of input in this section by the type of judging present segment, specifically, the positive sequence segment table bright in this section main input be that positive sequence such as Chinese, English is arranged language, and the inverted sequence segment table bright in this section main input be that inverted sequence such as Arabic, Persian is arranged language.
For clearer explanation the present invention program, illustrate below in conjunction with preferred embodiment of the present invention.
According to positive inverted sequence in the electronic equipment of a preferred embodiment of the present invention arrange language mix input method flow process as shown in Figure 2.
At first enter step 210, electronic equipment receives an input character.Wherein, the character of input can be positive sequence spoken and written languages, inverted sequence spoken and written languages or symbol.In a preferred embodiment of the present invention, the user uses positive sequence language English and inverted sequence spoken and written languages Arabic to mix input.
Then enter step 220, judge that whether this input characters is symbol, if then enter step 260, otherwise enters 230.As mentioned above, symbol is meant and can uses in the positive sequence language, also the character that can use in the inverted sequence language, for example space, comma, fullstop, question mark etc.The character that can only use in positive sequence language or inverted sequence language then is called literal.
If the character that step 210 receives is a literal, for example English alphabet then in step 230, judges whether input character is the positive sequence literal, if then enter step 240, otherwise enter step 250.
If judge that input character is the positive sequence spoken and written languages, then in step 240, this input character inserted current cursor position and cursor is placed its right side.
If judge that input character is the inverted sequence spoken and written languages, then in step 250, this input character is inserted current cursor position and cursor is placed its left side.
If the character that receives in the step 210 is a symbol, for example the space then in step 260, judges that whether present segment is the positive sequence section, if then enter step 280, otherwise enters step 270.Wherein, the judgement of positive sequence section or inverted sequence section can have a variety of methods, illustrates with several preferred embodiments of the present invention below.In a preferred embodiment of the present invention, obtain the type of present segment by first literal of judging present segment, if first literal of present segment is the positive sequence spoken and written languages, then present segment is the positive sequence section, otherwise then is the inverted sequence section.In another preferred embodiment of the present invention, the number that positive sequence of having imported in the present segment by statistics and inverted sequence are arranged spoken and written languages obtains the type of present segment, if the literal number of positive sequence language is the positive sequence section at most, otherwise then is the inverted sequence section.The same type that adopts the mode of adding up to determine present segment, in order to simplify the calculated amount of statistics, in a preferred embodiment of the present invention, by adding up several literal of nearest input, if the literal number of positive sequence language is the positive sequence section at most, otherwise then is the inverted sequence section.
If judge that present segment is the inverted sequence section, then in step 270, this input character is inserted present segment last column leftmost side and cursor is placed this character left side.
If judge that present segment is the positive sequence section, then in step 280, this input character is inserted present segment last column rightmost side and cursor is placed this character right side.
Then enter step 290, judge whether to finish input, if, then finish, continue the input flow process otherwise return step 210.Wherein, whether finish input and can control, also can control automatically by electronic equipment by the user.
Below according to said method in conjunction with the practical application analyzing examples.
When the language form of main input is the language of inverted sequence arrangement, if import by following sequence: Arabic word, symbol (as the space), English word, symbol (as the space), the symbol of last input this moment is inserted into the left side of English word, and cursor also can correspondingly navigate to the left side of symbol.This is because present segment is the inverted sequence section, so position that symbol inserts and inverted sequence are arranged the position consistency of inserting symbol in the language text.At this moment, the demonstration on electronic equipment as shown in Figure 3.
Conversely, if during the language that positive sequence is arranged during the language form of main input, if import by following sequence: English word, symbol (as the space), Arabic word, symbol (as the space), the symbol of last input this moment is inserted into the right side of Arabic word, and cursor also can correspondingly navigate to the right side of symbol.This is because present segment is the positive sequence section, so position that symbol inserts and positive sequence are arranged the position consistency of inserting symbol in the language text.At this moment, the demonstration on electronic equipment as shown in Figure 4.
Though by reference some preferred embodiment of the present invention, the present invention is illustrated and describes, but those of ordinary skill in the art should be understood that, can do various changes to it in the form and details, and the spirit and scope of the present invention that do not depart from appended claims and limited.

Claims (7)

1. positive inverted sequence is arranged the method that language mixes input in the electronic equipment, it is characterized in that, comprises following steps:
The described electronic equipment of A receives a character, and judges that whether this character is symbol, if then enter step B, otherwise enters step C;
B inserts the last of present segment with this character, and determines the cursor present position according to the present segment type;
C inserts the cursor present position with this character, and moves described cursor position according to these character types.
2. positive inverted sequence is arranged the method that language mixes input in the electronic equipment according to claim 1, it is characterized in that, among the described step B, the type of described present segment is determined by following steps:
Obtain first literal of present segment, and judge whether to arrange spoken and written languages, be the positive sequence section if then set the type of present segment, otherwise be the inverted sequence section into positive sequence.
3. positive inverted sequence is arranged the method that language mixes input in the electronic equipment according to claim 1, it is characterized in that, among the described step B, the type of described present segment is arranged spoken and written languages and inverted sequence and is arranged the number of spoken and written languages and obtain by adding up positive sequence in this section.
4. positive inverted sequence is arranged the method that language mixes input in the electronic equipment according to claim 3, it is characterized in that, among the described step B, if being positive sequence, statistics arranges the number of the number of spoken and written languages greater than inverted sequence arrangement spoken and written languages, the type of then setting present segment is the positive sequence section, otherwise is the inverted sequence section.
5. positive inverted sequence is arranged the method that language mixes input in the electronic equipment according to claim 1, it is characterized in that, among the described step B, the type of described present segment is determined by following steps:
Several literal of importing recently in the statistics present segment, if positive sequence is arranged the number that the number of spoken and written languages is arranged spoken and written languages greater than inverted sequence, the type of then setting present segment is the positive sequence section, otherwise is the inverted sequence section.
6. arrange the method that language mixes input according to positive inverted sequence in any described electronic equipment of claim 1 to 5, it is characterized in that described step B also comprises following substep:
B1 judges whether the type of present segment is the positive sequence section, if then enter step B2, otherwise enters step B3;
B2 inserts present segment last column rightmost side with described character, and described cursor is placed this character right side;
B3 inserts present segment last column leftmost side with described character, and described cursor is placed this character left side.
7. arrange the method that language mixes input according to positive inverted sequence in any described electronic equipment of claim 1 to 5, it is characterized in that described step C also comprises following substep:
C1 judges that whether described character is that positive sequence is arranged spoken and written languages, if then enter step C2, otherwise enters step C3;
C2 inserts described cursor position with described character, and described cursor is placed this character right side;
C3 inserts described cursor position with described character, and described cursor is placed this character left side.
CNB2005100349649A 2005-05-27 2005-05-27 Method of positive and negative sequence permutation language mixing input in electronic equipment Active CN100368964C (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CNB2005100349649A CN100368964C (en) 2005-05-27 2005-05-27 Method of positive and negative sequence permutation language mixing input in electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CNB2005100349649A CN100368964C (en) 2005-05-27 2005-05-27 Method of positive and negative sequence permutation language mixing input in electronic equipment

Publications (2)

Publication Number Publication Date
CN1869889A CN1869889A (en) 2006-11-29
CN100368964C true CN100368964C (en) 2008-02-13

Family

ID=37443567

Family Applications (1)

Application Number Title Priority Date Filing Date
CNB2005100349649A Active CN100368964C (en) 2005-05-27 2005-05-27 Method of positive and negative sequence permutation language mixing input in electronic equipment

Country Status (1)

Country Link
CN (1) CN100368964C (en)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102104742B (en) * 2009-12-16 2015-02-18 新奥特(北京)视频技术有限公司 Multi-language caption mixing arrangement method and device
CN102375554A (en) * 2010-07-19 2012-03-14 鸿富锦精密工业(深圳)有限公司 Hand-held device and method thereof for inputting characters
CN102385444B (en) * 2010-08-31 2014-04-30 比亚迪股份有限公司 Control method and system for cursor movement
CN103677303A (en) * 2013-12-19 2014-03-26 任文 Virtual keyboard layout design and letter input scheme of smart phone touch screen
CN111625172A (en) * 2019-02-27 2020-09-04 魏荣光 Character quick input interface for electronic device

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0744299A (en) * 1993-06-29 1995-02-14 Hitachi Ltd Character input device
CN1308268A (en) * 2001-02-19 2001-08-15 刘加成 Mixed Chinese character and relevant keyboard
CN1359079A (en) * 2000-12-18 2002-07-17 北京中易郑码新技术有限责任公司 Ultralarge Chinese character information treating device and method
CN1545011A (en) * 2003-11-20 2004-11-10 哈尔滨工业大学 Chinese-English mixing input method for computer

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0744299A (en) * 1993-06-29 1995-02-14 Hitachi Ltd Character input device
CN1359079A (en) * 2000-12-18 2002-07-17 北京中易郑码新技术有限责任公司 Ultralarge Chinese character information treating device and method
CN1308268A (en) * 2001-02-19 2001-08-15 刘加成 Mixed Chinese character and relevant keyboard
CN1545011A (en) * 2003-11-20 2004-11-10 哈尔滨工业大学 Chinese-English mixing input method for computer

Also Published As

Publication number Publication date
CN1869889A (en) 2006-11-29

Similar Documents

Publication Publication Date Title
US7159191B2 (en) Input of data
CN101842243B (en) Dynamic virtual input device configuration
CN109844696B (en) Multi-language character input device
Anthony AntConc (Windows, Macintosh OS X, and Linux)
KR100959970B1 (en) Electronic dictionary apparatus and recording medium on which search control program is recorded
US7707515B2 (en) Digital user interface for inputting Indic scripts
CN102929533A (en) Input methods for device having multi-language environment
CN103026318A (en) Input method editor
CN101587471A (en) Multi-language hybrid input method
JP4504571B2 (en) Text input system for ideographic and non-ideographic languages
CN101493727A (en) Natural participle and mixing input by statement input method
US20140236568A1 (en) Input method to support multiple languages
US6976214B1 (en) Method, system, and program for enhancing text composition in a text editor program
CN100368964C (en) Method of positive and negative sequence permutation language mixing input in electronic equipment
CN104794140B (en) text highlight display method and device
Greenwood International cultural differences in software
CN101932987A (en) Method and apparatus for managing descriptors in system specifications
JP4535186B2 (en) Electronic device and program with dictionary function
JP2006092004A (en) Dictionary information display control device, dictionary information display control program, and dictionary information display control method
JP4491389B2 (en) Electronic device, program, and recording medium recording program
JP2005216108A (en) Dictionary information display control device, dictionary information display control program, and dictionary information display control method
JP3814000B2 (en) Character string conversion apparatus and character string conversion method
CN104268131A (en) Method For Speeding Up Candidates Selection In Chinese Input
Gupta et al. Text entry in South and Southeast Asian scripts
KR100238178B1 (en) Operation method of computer application program

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