CN102902751A - Webpage input method and device in mobile terminal and mobile terminal - Google Patents
Webpage input method and device in mobile terminal and mobile terminal Download PDFInfo
- Publication number
- CN102902751A CN102902751A CN2012103524264A CN201210352426A CN102902751A CN 102902751 A CN102902751 A CN 102902751A CN 2012103524264 A CN2012103524264 A CN 2012103524264A CN 201210352426 A CN201210352426 A CN 201210352426A CN 102902751 A CN102902751 A CN 102902751A
- Authority
- CN
- China
- Prior art keywords
- key assignments
- key
- portable terminal
- button
- actual
- 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
Links
- 238000000034 method Methods 0.000 title claims abstract description 59
- 238000013507 mapping Methods 0.000 claims abstract description 78
- 238000004519 manufacturing process Methods 0.000 claims abstract description 8
- 230000003044 adaptive effect Effects 0.000 claims description 54
- 230000006978 adaptation Effects 0.000 claims description 32
- 238000010586 diagram Methods 0.000 description 21
- 230000008569 process Effects 0.000 description 13
- 230000006870 function Effects 0.000 description 11
- 238000003860 storage Methods 0.000 description 10
- 238000003825 pressing Methods 0.000 description 4
- 230000006399 behavior Effects 0.000 description 3
- 238000004590 computer program Methods 0.000 description 3
- 230000008859 change Effects 0.000 description 2
- 230000004048 modification Effects 0.000 description 2
- 238000012986 modification Methods 0.000 description 2
- 230000001360 synchronised effect Effects 0.000 description 2
- 108010022579 ATP dependent 26S protease Proteins 0.000 description 1
- 230000009471 action Effects 0.000 description 1
- 238000013459 approach Methods 0.000 description 1
- 230000008901 benefit Effects 0.000 description 1
- 230000005540 biological transmission Effects 0.000 description 1
- 238000013461 design Methods 0.000 description 1
- 230000006872 improvement Effects 0.000 description 1
- 230000008447 perception Effects 0.000 description 1
Images
Landscapes
- Input From Keyboards Or The Like (AREA)
Abstract
The invention provides a webpage input method in a mobile terminal. The method comprises that primary key values of keys pressed down by user are obtained after key operation of the user who input webpage is detected, and the primary key values are defined by mobile terminal manufacturers during the manufacture; the obtained primary key values of the keys are subjected to key value adaption to obtain actual key values of the keys pressed down by the user, and the actual key values correspond to the keys of the mobile terminal one to one and are predefined by a browser client of the mobile terminal; and characters corresponding to the actual key values are drawn in a webpage input frame of the mobile terminal according to a mapping table between the predefined actual key values and characters to be drawn based on the obtained actual key values. According to the webpage input method, key value defining differences of various mobile terminal manufacturers can be shielded, and the accuracy and the uniformity of input methods are guaranteed.
Description
Technical field
The present invention relates to moving communicating field, more specifically, relate to webpage input method and device in a kind of portable terminal, and a kind of portable terminal with this webpage input media.
Background technology
Utilizing portable terminal (for example; when mobile phone) carrying out web page browsing; usually can need to carry out the webpage input, such as when utilizing portable terminal logging in network mailbox to carry out mail transmission/reception, usually need to input at the webpage that portable terminal shows user name and the password of mailbox.Because the limitation of the J2ME platform in the portable terminal, an application in the portable terminal can not be called Another application.Therefore, the browser of mobile terminal of existing J2ME platform is when the webpage clicking input frame, and direct calling system input method all, and must call and switch to the senior inputting interface of mobile terminal system could be used system's input method.The diagram that shows on the portable terminal when Fig. 1 shows portable terminal browsing page of the prior art, and Fig. 2 shows the diagram that portable terminal shows when the webpage clicking input frame of the prior art.Can find out from Fig. 1 and Fig. 2, in the prior art, behind the webpage clicking input frame, be switched to the senior inputting interface of mobile terminal system, this senior inputting interface has covered the web page contents of user's browsing.
In this case, on the one hand, after the user entered system's inputting interface, because system's inputting interface has covered the web page contents of user's browsing, the user will lose the perception of browsing to the webpage overall situation, thereby has reduced user's viewing experience.On the other hand, owing to switching to system interface from webpage behind the webpage clicking input frame, user's vision can produce huge difference, and system's difference that different mobile terminal manufacturer provides is also different, causes providing the consistent interface of style to be experienced.In addition, system's input pattern that manufacturer provides also there are differences, and some system's input pattern is with english input and numeral input is strict distinguishes, can not be in the english input pattern input digit.Like this, when the needs input digit, must switch to digital input pattern could input.In addition, system's input pattern that some manufacturer provides many (digital input pattern, capitalization input pattern, initial caps input pattern), thus cause user's needs often to switch input pattern, the input experience that browser can't unification user.
And keyboard type and the layout of existing portable terminal also are of all kinds, do not have unified standard, and the key assignments that each button is corresponding is also different, will cause like this when the user uses different portable terminals, need to correspondingly change input habit.
Therefore, in existing portable terminal, the user is very inconvenient when the webpage input content, and input experience is poor.
Summary of the invention
In view of the above problems, one object of the present invention is to provide webpage input method and the device in a kind of portable terminal, it can carry out content input and need not to call and switch to the senior inputting interface of mobile terminal system at web interface, thereby the input that improves the user is experienced.
Another object of the present invention is to provide a kind of portable terminal that comprises above-mentioned webpage input media.
According to an aspect of the present invention, webpage in a kind of portable terminal input method is provided, comprise: after detecting the user key-press operation of carrying out the webpage input, obtain the original key assignments of the button of being pressed by the user, described original key assignments is defined during fabrication by portable terminal manufacturer; The original key assignments of the button that obtains is carried out key assignments adaptive, to obtain the actual key assignments of the button of being pressed by the user, described actual key assignments is corresponding and pre-defined by the browser client of portable terminal one by one with the button of portable terminal; And according to the actual key assignments that obtains, according to the mapping table between predefined actual key assignments and the character that will draw, in the webpage input frame of portable terminal, draw the character of answering with this actual key-value pair.
In one or more examples aspect above-mentioned, carry out key assignments based on the original key assignments of the button that obtains adaptive, can comprise with the actual key assignments that obtains the button of being pressed by the user: after obtaining the original key assignments of button, the original key assignments that obtains is carried out key name adaptive; After the adaptive failure of key name, pre-stored key value mapping table in the movement-based terminal carries out key value mapping table to the original key assignments that obtains adaptive; And after the adaptive failure of key value mapping table, adaptive to the original key assignments that the obtains key assignments of playing.
In one or more examples aspect above-mentioned, described key name is adaptive can be comprised: the application programming interfaces (API) that call mobile terminal system are searched the key name of answering with this original key-value pair; After API finds out corresponding key name, receive the character corresponding with this key name from API; And according to the character that receives, obtain the predefined key assignments corresponding with this character, as the actual key assignments of this button.
In one or more examples aspect above-mentioned, described key value mapping table is adaptive can be comprised: after API does not find out corresponding key name, in portable terminal, search whether there is the actual key assignments of answering with this original key-value pair in the pre-stored key value mapping table, and when having the actual key assignments of answering with this original key-value pair, with the actual key assignments of this actual key assignments as this button.
In one or more examples aspect above-mentioned, described game key assignments is adaptive can be comprised: when being defined as not having the actual key assignments of answering with this original key-value pair in key value mapping table, determine the game keys whether this button sets in advance in the portable terminal, and when definite this button is game keys, obtain the actual key assignments corresponding with this game keys that sets in advance in the portable terminal, actual key assignments as this button, perhaps when definite this button is not game keys, do not obtain the actual key assignments of this button.
In one or more examples aspect above-mentioned, predefined actual key assignments is associated with the keyboard type of portable terminal with mapping table between the character that will draw.
In one or more examples aspect above-mentioned, when the keyboard of portable terminal is full keyboard, corresponding relation between actual key assignments and the character that will draw is one to one, and when the keyboard of portable terminal was the T9 keyboard, actual key assignments and corresponding relation between the character that will draw were the relations of one-to-many and are associated with the mode of operation of button.
In one or more examples aspect above-mentioned, the keyboard type of portable terminal is based on that the user agent of portable terminal determines.
In one or more examples aspect above-mentioned, the mapping table between predefined actual key assignments and the character that will draw is associated with the input pattern that the user arranges, and described load module comprises capitalization input pattern and small letter input pattern.
In one or more examples aspect above-mentioned, the web page contents of inputting is the conventional characters that arranges on the Mobile terminal keyboard, comprises English alphabet, numeral and conventional sign.
According to a further aspect in the invention, webpage in a kind of portable terminal input media is provided, comprise: original key assignments acquiring unit, be used for after detecting the user key-press operation of carrying out the webpage input, obtain the original key assignments of the button of being pressed by the user, described original key assignments is defined during fabrication by portable terminal manufacturer; The key assignments adaptation unit, being used for original key assignments to the button that obtains, to carry out key assignments adaptive, to obtain the actual key assignments of the button of being pressed by the user, described actual key assignments is corresponding and pre-defined by the browser client of portable terminal one by one with the button of portable terminal; And drawing unit, be used for according to the actual key assignments that obtains, according to the mapping table between predefined actual key assignments and the character that will draw, in the webpage input frame of portable terminal, draw and character that this actual key-value pair is answered.
In one or more examples aspect above-mentioned, described key assignments adaptation unit can comprise: the key name adaptation module, be used for after obtaining the original key assignments of button, and the original key assignments that obtains is carried out key name adaptive; The key value mapping table adaptation module is used for after the adaptive failure of key name, and pre-stored key value mapping table in the movement-based terminal carries out key value mapping table to the original key assignments that obtains adaptive; And game key assignments adaptation module, be used for after the adaptive failure of key value mapping table, adaptive to the original key assignments that the obtains key assignments of playing.
In one or more examples aspect above-mentioned, described key name adaptation module is configured to: the application programming interfaces (API) that call mobile terminal system are searched the key name of answering with this original key-value pair; After API finds out corresponding key name, receive the character corresponding with this key name from API; And according to the character that receives, obtain the predefined key assignments corresponding with this character, as the actual key assignments of this button.
In one or more examples aspect above-mentioned, described key value mapping table adaptation module is configured to: after API does not find out corresponding key name, in portable terminal, search whether there is the actual key assignments of answering with this original key-value pair in the pre-stored key value mapping table, and when having the actual key assignments of answering with this original key-value pair, with the actual key assignments of this actual key assignments as this button.
In one or more examples aspect above-mentioned, described game key assignments adaptation module is configured to: when being defined as not having the actual key assignments of answering with this original key-value pair in key value mapping table, determine the game keys whether this button sets in advance in the portable terminal, and when definite this button is game keys, obtain the actual key assignments corresponding with this game keys that sets in advance in the portable terminal, actual key assignments as this button, perhaps when definite this button is not game keys, do not obtain the actual key assignments of this button.
In one or more examples aspect above-mentioned, predefined actual key assignments is associated with the keyboard type of portable terminal with mapping table between the character that will draw, when the keyboard of portable terminal is full keyboard, corresponding relation between actual key assignments and the character that will draw is one to one, and when the keyboard of portable terminal was the T9 keyboard, actual key assignments and corresponding relation between the character that will draw were the relations of one-to-many and are associated with the mode of operation of button.
In one or more examples aspect above-mentioned, the keyboard type of portable terminal is based on that the user agent of portable terminal determines.
According to a further aspect in the invention, provide a kind of portable terminal, comprised aforesaid webpage input media.
Utilize above-mentioned webpage input method and device, (for example using browser of mobile terminal, the J2ME browser) during browsing page, if need input character, then can in the situation that needn't switch to system's inputting interface, make things convenient for the user to input conventional characters, comprise English character, numerical character and other character, thereby the raising input efficiency, and different system interface difference is unified into succinct interface and input pattern, improve thus user's input and experience.
In order to realize above-mentioned and relevant purpose, one or more aspects of the present invention comprise the feature that the back will describe in detail and particularly point out in the claims.Following explanation and accompanying drawing describe some illustrative aspects of the present invention in detail.Yet, the indication of these aspects only be some modes that can use in the variety of way of principle of the present invention.In addition, the present invention is intended to comprise all these aspects and their equivalent.
Description of drawings
According to following detailed description of carrying out with reference to accompanying drawing, above and other purpose of the present invention, feature and advantage will become more apparent.In the accompanying drawings:
The diagram that shows on the portable terminal when Fig. 1 shows portable terminal browsing page of the prior art;
Fig. 2 shows the diagram that portable terminal shows when the webpage clicking input frame of the prior art;
Fig. 3 shows the overview flow chart according to the webpage input method in the portable terminal of the present invention;
Fig. 4 shows the process flow diagram that the original key assignments that obtains is carried out an adaptive example of key assignments according to of the present invention;
Fig. 5 A shows the schematic diagram of the portable terminal with full keyboard, and Fig. 5 B shows the schematic diagram of the portable terminal with T9 keyboard;
Fig. 6 shows the process flow diagram according to the keyboard type deterministic process of portable terminal of the present invention;
The diagram that portable terminal showed when Fig. 7 showed after using according to webpage input method of the present invention at the webpage clicking input frame;
Fig. 8 shows demonstration figure behind the button 2 of pressing under the small letter input pattern on the portable terminal with T9 keyboard after using according to webpage input method of the present invention;
Fig. 9 shows the block diagram according to the webpage input media in the portable terminal of the present invention;
Figure 10 shows the block diagram of configuration of an example of the key assignments adaptation unit among Fig. 9; With
Figure 11 shows the block diagram that has according to the portable terminal of webpage input media of the present invention.
Identical label is indicated similar or corresponding feature or function in institute's drawings attached.
Embodiment
Various aspects of the present disclosure are described below.Should be understood that, the instruction of this paper can be with varied form imbody, and disclosed any concrete structure, function or both only are representational in this article.Based on the instruction of this paper, those skilled in the art should be understood that, an aspect disclosed herein can be independent of any other side and realize, and the two or more aspects in these aspects can make up according to variety of way.For example, can use the aspect of any number described in this paper, implement device or hands-on approach.In addition, can use other structure, function or except one or more aspects described in this paper or be not the 26S Proteasome Structure and Function of one or more aspects described in this paper, realize this device or put into practice this method.In addition, any aspect described herein can comprise at least one element of claim.
Each embodiment of the present invention is described below with reference to accompanying drawings.
Fig. 3 shows the overview flow chart according to the webpage input method in the portable terminal of the present invention.
Need to carry out webpage when input the user, for example, need to enter the network mailbox and when carrying out the username and password input of network mailbox, the user for example needs usually by the webpage clicking input frame input state of entering the Web page.In an example of the present invention, the web page contents of inputting is the character that usually arranges on the Mobile terminal keyboard, comprises English alphabet, numeral and conventional sign.
After the user enters the Web page input state, as shown in Figure 3, at step S310, after detecting the user key-press operation of carrying out webpage input at browser of mobile terminal, for example, after detecting the user and pressing the button of portable terminal, obtain the original key assignments of the button that is pressed.For example, after the user pushed button, the operating system of portable terminal will be sent out a button to application program and press message, and can inform the original key assignments of this button of application program.Original key assignments when described button is pressed is normally predefined by the equipment manufacturers of portable terminal when portable terminal dispatches from the factory.For example, for the button on the portable terminal " 1 ", original key assignments by pre-defined be " 49 ".For other button on the portable terminal, original key assignments by pre-defined be other value.Here, for different portable terminals, because the model of equipment manufacturers' difference or portable terminal is different, identical button may be by pre-defined different original key assignments.
Behind the original key assignments that obtains the button that is pressed, at step S320, the original key assignments of the button that obtains is carried out key assignments adaptive, to obtain the actual key assignments of the button of being pressed by the user, described actual key assignments is corresponding one by one with button on the portable terminal, and pre-defined by the browser client of portable terminal.That is to say, for the same key of portable terminal (namely, the button that identical characters is corresponding, for example the button button corresponding with the numeral " 1 " on other type portable terminal corresponding to the numeral " 1 " on certain type the portable terminal is same key), even the model of the equipment manufacturers of portable terminal or portable terminal is different, its corresponding actual key assignments is all identical and be unique.
Behind the actual key assignments that obtains the button of being pressed by the user, at step S330, according to the actual key assignments that obtains, according to the mapping table between predefined actual key assignments and the character that will draw, in the webpage input frame of portable terminal, draw the character of answering with this actual key-value pair.
As above the webpage input method according to portable terminal of the present invention has been carried out describe, in general terms.Below in conjunction with concrete example some processes in the said method are described in detail.
Fig. 4 shows the process flow diagram that the original key assignments that obtains is carried out an adaptive example of key assignments according to of the present invention.
As shown in Figure 4, in an example according to the present invention, behind the original key assignments that obtains the button of being pressed by the user, at step S3210, the original key assignments that obtains is carried out key name adaptive.Particularly, after obtaining the original key assignments of button, call the application programming interfaces (API) of mobile terminal system, in mobile terminal system, search the corresponding key name of this original key assignments.For example, when pushing button " 1 ", the original key assignments that this button " 1 " is corresponding is " 49 ", and the API that then calls mobile terminal system searches the corresponding key name of this original key assignments " 49 ", and in step S3220, judges whether adaptive success.If find corresponding key name, namely, the adaptive success of key name among the step S3220, then system can return a character to browser of mobile terminal, such as when the button that is pressed is " 1 ", the character that returns is ' key-1 ', namely, at step S3230, portable terminal is browsed from API and is received the character corresponding with this key name.Then, after receiving the character that returns, at step S3240, portable terminal based on the character that receives, obtains the key assignments corresponding with this character according to the corresponding relation between predefined character and the key assignments, as the actual key assignments of this button.For example, receive character " key-1 ' after, obtain the key assignments corresponding with this character " 101 ", as the actual key assignments of button " 1 ".
If do not find corresponding key name, that is, the key name among the step S3220 is adaptive unsuccessful, and then flow process proceeds to step S3250.At step S3250, the original key assignments that obtains is carried out key value mapping table adaptive, and at step S3260, judge the adaptive whether success of key value mapping table.Here, key value mapping table is for the original key assignments of the button of expression portable terminal and the mapping relations between the actual key assignments, it is rule of thumb set up in advance by browser of mobile terminal, and corresponding or many-to-one corresponding relation one by one normally between original key assignments and the actual key assignments.For example, for the button on the portable terminal " 1 ", suppose that the original key assignments on the portable terminal of Nokia is " 49 ", and the original key assignments on the portable terminal of Samsung is " 47 ", then in this key value mapping table, browser of mobile terminal all is set to original key assignments " 49 " and " 47 " corresponding with actual key assignments " 101 " in advance.That is to say, if the original key assignments that browser of mobile terminal obtains is " 49 " or " 47 ", based on this key value mapping table, resulting actual key assignments all is " 101 ".In addition, can also upgrade this key value mapping table.For example, if find that the original button of the button " 1 " on another portable terminal is " 50 ", then should increase to corresponding with actual key assignments " 101 " by original button " 50 ".
If the key value mapping table that movement-based terminal browser sets in advance can find actual key assignments, then think the adaptive success of key value mapping table.In this case, at step S3270, obtain this actual key assignments, as the actual key assignments of this button.
If the key value mapping table that movement-based terminal browser sets in advance does not find actual key assignments, then think the adaptive failure of key value mapping table.In this case, flow process proceeds to step S3280, and is adaptive to the original key assignments that the obtains key assignments of playing.Here, the game key assignments refers to the key that will use set in the device fabrication of portable terminal when game, such as advancing, retreat etc., and sets their corresponding key names in system.Such as, supposing that Nokia is set as " advancing " in the game key with the button on the keyboard " 1 ", the user pushes button " 1 " afterwards so, and the key assignments of just need to playing is adaptive.For example, can adopt the play adaptation procedure of key assignments of following manner: application program inquires to mobile terminal operating system whether original key assignments is predetermined to be game keys by the mode of calling API.If so, operating system then can be told the application program game behavior value that this original key-value pair is answered, and then obtains actual key assignments by game behavior value.Comprise game behavior value in the predefined actual key assignments.
And, at step S3285, judge adaptive whether successful.If adaptive success, what then system can know that the user presses is " advancing ", and the key name that can tell program " to advance " is " 1 ", original key assignments with this button converts actual key assignments " 101 " to thus, that is, at step S3290, obtain the actual key assignments of this button.If adaptive failure, what think then that the user presses is invalid key, thereby does not obtain the actual key assignments of button, and subsequently in step S330, does not carry out character and draw.
In addition, in another preferred embodiment of the present invention, predefined actual key assignments is associated with the keyboard type of portable terminal with mapping table between the character that will draw.Usually, the keyboard type of portable terminal comprises full keyboard and T9 keyboard.Fig. 5 A shows the schematic diagram of the portable terminal with full keyboard, and Fig. 5 B shows the schematic diagram of the portable terminal with T9 keyboard.In the full keyboard shown in Fig. 5 A, in numeral 1-9, alphabetical a-z and other sign character each represents by a button, that is, and and in the type keyboard, when a button was pressed, it only represented in digital 1-9, alphabetical a-z and other sign character one.And in the T9 keyboard shown in Fig. 5 B, one or more in numeral 1-9, alphabetical a-z and other sign character represent by a button, that is, and and in the T9 keyboard, when a button is pressed, it may represent a plurality of in digital 1-9, alphabetical a-z and other sign character.
In the mapping table between predefined actual key assignments and the character that will draw, when the keyboard of portable terminal is full keyboard, corresponding relation between actual key assignments and the character that will draw is one to one, namely, the represented character of actual key assignments and the button on the portable terminal is corresponding one by one.And when the keyboard of portable terminal was the T9 keyboard, actual key assignments and corresponding relation between the character that will draw were the relations of one-to-many and are associated with the mode of operation of button.The below show predefined actual key assignments in the T9 keyboard mobile terminal and the character that will draw between an example of mapping table.This table is that the browser of mobile terminal under the J2ME platform overlaps the conventional characters mapping table according to one of user input data statistical study definition, this table is for system's input method, removed some non-common characters, and conventional characters has been arranged from high to low by incoming frequency.
new?char[][]{{′′,′0′},//0
{′a′,′b′,′c′,′2′},//2
{′d′,′e′,′f′,′3′},//3
{′g′,′h′,′i′,′4′},//4
{′j′,′k′,′l′,′5′},//5
{′m′,′n′,′o′,′6′},//6
{′p′,′q′,′r′,′s′,′7′},//7
{′t′,′u′,′v′,′8′},//8
{′w′,′x′,′y′,′z′,′9′},//9
};
In above-mentioned mapping table, for the arbitrary numerical key on the T9 keyboard, when (for example being long pressed, be pressed 5 seconds) time, the character of answering with the actual key-value pair of this button is numerical key, and when numerical key pressed for the first time and the duration more in short-term, corresponding is first character corresponding with this numerical key in the upper table, for example, for numerical key " 2 ", corresponding is character " a ", then, when draw characters, that draw at input position is character " a ".When numerical key pressed continuously twice and each duration more in short-term, corresponding is second character corresponding with this numerical key in the upper table, for example, for numerical key " 2 ", corresponding is character " b ", then, when draw characters, that draw at input position is character " b ".So analogize.Here be noted that above-mentioned mapping table only is an example of the present invention, in another example of the present invention, also can adopt other suitable mapping table.
The diagram that portable terminal showed when Fig. 7 showed after using according to webpage input method of the present invention at the webpage clicking input frame.Fig. 8 shows demonstration figure behind the button 2 of pressing under the small letter input pattern on the portable terminal with T9 keyboard after using according to webpage input method of the present invention.
In another example of the present invention, according to the actual key assignments that obtains, according to the mapping table between predefined actual key assignments and the character that will draw, drawing the character of answering with this actual key-value pair in the webpage input frame of portable terminal can also comprise: the keyboard type of determining portable terminal; Based on determined keyboard type, in the mapping table from portable terminal between predefined actual key assignments and the character that will draw, select the mapping table corresponding with the keyboard type of obtaining; And based on selected mapping table, in the webpage input frame of portable terminal, draw the character of answering with this actual key-value pair.
In another example of the present invention, it is definite that the keyboard type of portable terminal is based on the user agent of portable terminal (UA), and described user agent (UA) is the information of customer mobile terminal, comprises terminal system type, brand name, model etc.Fig. 6 shows the process flow diagram according to the keyboard type deterministic process of portable terminal of the present invention.In this case, before carrying out the described process of Fig. 6, at first by main flow full keyboard portable terminal on the market is sorted out, set up the UA storehouse of full keyboard portable terminal.Then, the keyboard type deterministic process shown in the execution graph 6.
Particularly, as shown in Figure 6, at first, at step S610, obtain the UA of portable terminal.Then, at step S620, utilize the UA that obtains, judge what whether this portable terminal was made by Nokia.If Nokia's manufacturing, then at step S630, calling system API judges that the keyboard type on the portable terminal is full keyboard or T9 keyboard.
Make if not Nokia, then at step S640, in the UA storehouse of the full keyboard portable terminal of setting up in advance, search whether there is the UA that obtains.If exist, then in step S660, the keyboard type of determining portable terminal is full keyboard.Otherwise then in step S650, the keyboard type of determining portable terminal is the T9 keyboard.
In addition, in one or more examples of the present invention, the mapping table between predefined actual key assignments and the character that will draw is associated with the input pattern that the user arranges, and described input pattern comprises capitalization input pattern and small letter input pattern.Under input state, the current input pattern of title block upper left corner position display (ABC or abc).When input pattern was the capitalization input pattern, the input of alphabetic class ocra font ocr was capitalization.When input pattern was the small letter input pattern, the input of alphabetic class ocra font ocr was lowercase.
In addition, under input state, when the user presses numerical key continuously, when entering input selection prompting state, the character that can input will be presented at the title block upper right corner and point out, and show the character that the active user will input with the color that is different from other characters, simultaneously, input frame also will be determined the character inputted to be different from the color and background look prompting user of input character.After determining input character, upper right corner prompting disappears.In addition, when the user input complete after, except pressing acknowledgement key, operation above-below direction navigation key also can withdraw from input state, this is conducive to user's inertial thinking and wants to jump to next input frame.
Utilize webpage input method of the present invention, can in the webpage input frame, directly carry out the character input, and needn't switch to system's inputting interface, thereby so that the user can input conventional characters easily, comprise English character, numerical character and other non-Chinese character (comprising the conventional sign that usually arranges on the Mobile terminal keyboard), improve input efficiency, and different system interface difference is unified into succinct interface and input pattern, improve thus user's input and experience.
In addition, utilize webpage input method of the present invention, the portable terminal of the different model of making in the portable terminal of making for different mobile terminal equipment manufacturers or same portable terminal manufacturer, the different situation of original key assignments of identical button, be converted to the unique actual key assignments that browser of mobile terminal sets in advance for this button by the different original key assignments with this same key, can mask different manufacturers to the difference of key assignments definition, guarantee correctness and the unitarity of input method, thereby realize for identical button, what input method was processed is identical key assignments, shows identical content to the user thus.
In addition, utilize webpage input method of the present invention, by determining the Mobile terminal keyboard type, and according to determined keyboard type, select the mapping table between corresponding actual key assignments and the character that will draw, the accurate drafting of realization webpage input content.
As above referring to figs. 1 through Fig. 8 process flow diagram according to the webpage input method in the portable terminal of the present invention has been described.Webpage input method in the above-mentioned portable terminal of the present invention can adopt software to realize, also can adopt hardware to realize, or adopts the mode of software and hardware combination to realize.
Fig. 9 shows the block diagram according to the webpage input media 900 in the portable terminal of the present invention.As shown in Figure 9, webpage input media 900 comprises original key assignments acquiring unit 910, key assignments adaptation unit 920 and drawing unit 930.
Original key assignments acquiring unit 910 is used for obtaining the original key assignments of the button of being pressed by the user after detecting the user key-press operation of carrying out the webpage input, and described original key assignments is defined during fabrication by portable terminal manufacturer.
Key assignments adaptation unit 920 is used for original key assignments to the button that obtains, and to carry out key assignments adaptive, to obtain the actual key assignments of the button of being pressed by the user, described actual key assignments is corresponding and pre-defined by the browser client of portable terminal one by one with the button of portable terminal.
Drawing unit 930 is used for according to the actual key assignments that obtains, and according to the mapping table between predefined actual key assignments and the character that will draw, draws in the webpage input frame of portable terminal and character that this actual key-value pair is answered.
Figure 10 shows the block diagram of configuration of an example of the key assignments adaptation unit 920 among Fig. 9.As shown in figure 10, key assignments adaptation unit 920 comprises key name adaptation module 921, key value mapping table adaptation module 923 and game key assignments adaptation module 925.
Key name adaptation module 921 is used for after obtaining the original key assignments of button, the original key assignments that obtains is carried out key name adaptive.In an example of the present invention, described key name adaptation module is configured to: the API that calls mobile terminal system searches the key name of answering with this original key-value pair; After API finds out corresponding key name, receive the character corresponding with this key name from API; And according to the character that receives, obtain the predefined key assignments corresponding with this character, as the actual key assignments of this button.
Key value mapping table adaptation module 923 is used for after key name adaptation module 921 is carried out the adaptive failure of key name, and pre-stored key value mapping table in the movement-based terminal carries out key value mapping table to the original key assignments that obtains adaptive.In an example of the present invention, described key value mapping table adaptation module is configured to: after API does not find out corresponding key name, in portable terminal, search whether there is the actual key assignments of answering with this original key-value pair in the pre-stored key value mapping table, and when having the actual key assignments of answering with this original key-value pair, obtain this actual key assignments as the actual key assignments of this button.
Game key assignments adaptation module 925 is used for after the adaptive failure of key value mapping table, and is adaptive to the original key assignments that the obtains key assignments of playing.In an example of the present invention, described game key assignments adaptation module is configured to: when being defined as not having the actual key assignments of answering with this original key-value pair in key value mapping table, determine the game keys whether this button sets in advance in the portable terminal, and when definite this button is game keys, obtain the actual key assignments corresponding with this game keys that sets in advance in the portable terminal, actual key assignments as this button, perhaps when definite this button is not game keys, do not obtain the actual key assignments of this button.
In addition, in another example of the present invention, described drawing unit 930 can also comprise: keyboard type determination module (not shown), for the keyboard type of determining portable terminal; Select the module (not shown), be used for based on determined keyboard type, in the mapping table from portable terminal between predefined actual key assignments and the character that will draw, select the mapping table corresponding with the keyboard type of obtaining; And character drafting module (not shown), be used for based on selected mapping table, in the webpage input frame of portable terminal, draw the character of answering with this actual key-value pair.In an example of the present invention, it is definite that the keyboard type of portable terminal is based on the user agent of portable terminal (UA), and concrete deterministic process is with reference to shown in Fig. 6.
Figure 11 shows the block diagram that has according to the portable terminal 10 of webpage input media 900 of the present invention.Webpage input media among Figure 11 can also comprise the various modification of the webpage input media 900 shown in Fig. 9.
In addition, typically, portable terminal of the present invention can be various hand-held terminal devices, such as mobile phone, PDA(Personal Digital Assistant) etc., so protection scope of the present invention should not be defined as the portable terminal of certain particular type.
In addition, the method according to this invention can also be implemented as the computer program of being carried out by CPU.When this computer program is carried out by CPU, carry out the above-mentioned functions that limits in the method for the present invention.
In addition, said method step and system unit also can utilize controller and be used for storage so that controller is realized the computer readable storage devices realization of the computer program of above-mentioned steps or Elementary Function.
In addition, should be understood that, computer readable storage devices as herein described (for example, storer) can be volatile memory or nonvolatile memory, perhaps can comprise volatile memory and nonvolatile memory.And nonrestrictive, nonvolatile memory can comprise ROM (read-only memory) (ROM), programming ROM (PROM), electrically programmable ROM(EPROM as an example), electrically erasable programmable ROM(EEPROM) or flash memory.Volatile memory can comprise random-access memory (ram), and this RAM can serve as the External Cache storer.As an example and nonrestrictive, RAM can obtain in a variety of forms, such as synchronous random access memory (DRAM), dynamic ram (DRAM), synchronous dram (SDRAM), double data rate SDRAM(DDR SDRAM), strengthen SDRAM(ESDRAM), synchronization link DRAM(SLDRAM) and direct Rambus RAM(DRRAM).The memory device of disclosed aspect is intended to include but not limited to the storer of these and other suitable type.
Those skilled in the art will also understand is that, may be implemented as electronic hardware, computer software or both combinations in conjunction with the described various illustrative logical blocks of disclosure herein, module, circuit and algorithm steps.For this interchangeability of hardware and software clearly is described, with regard to the function of various exemplary components, square, module, circuit and step it has been carried out general description.This function is implemented as software or is implemented as hardware and depends on concrete application and the design constraint that imposes on whole system.Those skilled in the art can realize described function in every way for every kind of concrete application, but this realization determines should not be interpreted as causing departing from the scope of the present invention.
Can utilize the following parts that are designed to carry out function described here to realize or carry out in conjunction with the described various illustrative logical blocks of disclosure herein, module and circuit: general processor, digital signal processor (DSP), special IC (ASIC), field programmable gate array (FPGA) or other programmable logic device (PLD), discrete gate or transistor logic, discrete nextport hardware component NextPort or any combination of these parts.General processor can be microprocessor, but replacedly, processor can be any conventional processors, controller, microcontroller or state machine.Processor also may be implemented as the combination of computing equipment, and for example, the combination of DSP and microprocessor, multi-microprocessor, one or more microprocessor are in conjunction with DSP nuclear or any other this configuration.
In the software module that can directly be included in the hardware, be carried out by processor in conjunction with the step of the described method of disclosure herein or algorithm or in the two the combination.Software module can reside in the storage medium of RAM storer, flash memory, ROM storer, eprom memory, eeprom memory, register, hard disk, removable dish, CD-ROM or any other form known in the art.Exemplary storage medium is coupled to processor so that processor can be from this storage medium reading information or to this storage medium writing information.In an alternative, described storage medium can be integral to the processor together.Processor and storage medium can reside among the ASIC.ASIC can reside in the user terminal.In an alternative, processor and storage medium can be used as discrete assembly and reside in the user terminal.
Although the disclosed content in front shows exemplary embodiment of the present invention, should be noted that under the prerequisite of the scope of the present invention that does not deviate from the claim restriction, can carry out multiple change and modification.Function, step and/or action according to the claim to a method of inventive embodiments described herein do not need to carry out with any particular order.In addition, although element of the present invention can be with individual formal description or requirement, also it is contemplated that a plurality of, unless clearly be restricted to odd number.
Be described although as above described each embodiment according to the present invention with reference to figure, it will be appreciated by those skilled in the art that each embodiment that the invention described above is proposed, can also make various improvement on the basis that does not break away from content of the present invention.Therefore, protection scope of the present invention should be determined by the content of appending claims.
Claims (19)
1. the webpage input method in the portable terminal comprises:
After detecting the user key-press operation of carrying out the webpage input, obtain the original key assignments of the button of being pressed by the user, described original key assignments is defined during fabrication by portable terminal manufacturer;
The original key assignments of the button that obtains is carried out key assignments adaptive, to obtain the actual key assignments of the button of being pressed by the user, described actual key assignments is corresponding and pre-defined by the browser client of portable terminal one by one with the button of portable terminal; And
According to the actual key assignments that obtains, according to the mapping table between predefined actual key assignments and the character that will draw, in the webpage input frame of portable terminal, draw the character of answering with this actual key-value pair.
2. webpage input method as claimed in claim 1 wherein, is carried out key assignments based on the original key assignments of the button that obtains adaptive, comprises with the actual key assignments that obtains the button of being pressed by the user:
After obtaining the original key assignments of button, the original key assignments that obtains is carried out key name adaptive;
After the adaptive failure of key name, pre-stored key value mapping table in the movement-based terminal carries out key value mapping table to the original key assignments that obtains adaptive; And
After the adaptive failure of key value mapping table, adaptive to the original key assignments that the obtains key assignments of playing.
3. webpage input method as claimed in claim 2, wherein, described key name is adaptive to be comprised:
Call the application programming interfaces of mobile terminal system and search the key name of answering with this original key-value pair;
After application programming interfaces find out corresponding key name, receive the character corresponding with this key name from application programming interfaces; And
According to the character that receives, obtain the predefined key assignments corresponding with this character, as the actual key assignments of this button.
4. webpage input method as claimed in claim 2, wherein, described key value mapping table is adaptive to be comprised:
After application programming interfaces do not find out corresponding key name, in portable terminal, search whether there is the actual key assignments of answering with this original key-value pair in the pre-stored key value mapping table, and
When having the actual key assignments of answering with this original key-value pair, with the actual key assignments of this actual key assignments as this button.
5. webpage input method as claimed in claim 2, wherein, described game key assignments adaptive comprising:
When in key value mapping table, being defined as not having the actual key assignments of answering with this original key-value pair, determine the game keys whether this button sets in advance in the portable terminal, and
When definite this button is game keys, obtain the actual key assignments corresponding with this game keys that sets in advance in the portable terminal, as the actual key assignments of this button, perhaps
When definite this button is not game keys, do not obtain the actual key assignments of this button.
6. webpage input method as claimed in claim 1, wherein, predefined actual key assignments is associated with the keyboard type of portable terminal with mapping table between the character that will draw.
7. webpage input method as claimed in claim 6, wherein, when the keyboard of portable terminal is full keyboard, corresponding relation between actual key assignments and the character that will draw is one to one, and when the keyboard of portable terminal was the T9 keyboard, actual key assignments and corresponding relation between the character that will draw were the relations of one-to-many and are associated with the mode of operation of button.
8. webpage input method as claimed in claim 1, wherein, according to the actual key assignments that obtains, according to the mapping table between predefined actual key assignments and the character that will draw, in the webpage input frame of portable terminal, draw the character of answering with this actual key-value pair and comprise:
Determine the keyboard type of portable terminal;
Based on determined keyboard type, in the mapping table from portable terminal between predefined actual key assignments and the character that will draw, select the mapping table corresponding with the keyboard type of obtaining; And
Based on selected mapping table, in the webpage input frame of portable terminal, draw the character of answering with this actual key-value pair.
9. webpage input method as claimed in claim 8, wherein, the keyboard type of portable terminal is based on that the user agent of portable terminal determines.
10. webpage input method as claimed in claim 1, wherein, predefined actual key assignments is associated with the input pattern that the user arranges with mapping table between the character that will draw, and described input pattern comprises capitalization input pattern and small letter input pattern.
11. webpage input method as claimed in claim 1, wherein, the web page contents of inputting is the conventional characters that arranges on the Mobile terminal keyboard.
12. the webpage input media in the portable terminal comprises:
Original key assignments acquiring unit is used for obtaining the original key assignments of the button of being pressed by the user after detecting the user key-press operation of carrying out the webpage input, and described original key assignments is defined during fabrication by portable terminal manufacturer;
The key assignments adaptation unit, being used for original key assignments to the button that obtains, to carry out key assignments adaptive, to obtain the actual key assignments of the button of being pressed by the user, described actual key assignments is corresponding and pre-defined by the browser client of portable terminal one by one with the button of portable terminal; And
Drawing unit is used for according to the actual key assignments that obtains, and according to the mapping table between predefined actual key assignments and the character that will draw, draws in the webpage input frame of portable terminal and character that this actual key-value pair is answered.
13. webpage input media as claimed in claim 12, wherein, described key assignments adaptation unit comprises:
The key name adaptation module is used for after obtaining the original key assignments of button, the original key assignments that obtains is carried out key name adaptive;
The key value mapping table adaptation module is used for after the adaptive failure of key name, and pre-stored key value mapping table in the movement-based terminal carries out key value mapping table to the original key assignments that obtains adaptive; And
Game key assignments adaptation module is used for after the adaptive failure of key value mapping table, and is adaptive to the original key assignments that the obtains key assignments of playing.
14. webpage input media as claimed in claim 13, wherein, described key name adaptation module is configured to:
Call the application programming interfaces of mobile terminal system and search the key name of answering with this original key-value pair;
After application programming interfaces find out corresponding key name, receive the character corresponding with this key name from application programming interfaces; And
According to the character that receives, obtain the predefined key assignments corresponding with this character, as the actual key assignments of this button.
15. webpage input media as claimed in claim 13, wherein, described key value mapping table adaptation module is configured to:
After application programming interfaces do not find out corresponding key name, in portable terminal, search whether there is the actual key assignments of answering with this original key-value pair in the pre-stored key value mapping table, and
When having the actual key assignments of answering with this original key-value pair, with the actual key assignments of this actual key assignments as this button.
16. webpage input media as claimed in claim 13, wherein, described game key assignments adaptation module is configured to:
When in key value mapping table, being defined as not having the actual key assignments of answering with this original key-value pair, determine the game keys whether this button sets in advance in the portable terminal, and
When definite this button is game keys, obtain the actual key assignments corresponding with this game keys that sets in advance in the portable terminal, as the actual key assignments of this button, perhaps
When definite this button is not game keys, do not obtain the actual key assignments of this button.
17. webpage input media as claimed in claim 12, wherein, predefined actual key assignments is associated with the keyboard type of portable terminal with mapping table between the character that will draw, when the keyboard of portable terminal is full keyboard, corresponding relation between actual key assignments and the character that will draw is one to one, and when the keyboard of portable terminal was the T9 keyboard, actual key assignments and corresponding relation between the character that will draw were the relations of one-to-many and are associated with the mode of operation of button.
18. webpage input media as claimed in claim 17, wherein, the keyboard type of portable terminal is based on that the user agent of portable terminal determines.
19. a portable terminal comprises such as any one described webpage input media in the claim 12 to 18.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201210352426.4A CN102902751B (en) | 2012-09-20 | 2012-09-20 | Webpage input method in mobile terminal and device, mobile terminal |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201210352426.4A CN102902751B (en) | 2012-09-20 | 2012-09-20 | Webpage input method in mobile terminal and device, mobile terminal |
Publications (2)
Publication Number | Publication Date |
---|---|
CN102902751A true CN102902751A (en) | 2013-01-30 |
CN102902751B CN102902751B (en) | 2016-12-21 |
Family
ID=47574983
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201210352426.4A Active CN102902751B (en) | 2012-09-20 | 2012-09-20 | Webpage input method in mobile terminal and device, mobile terminal |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN102902751B (en) |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103279306A (en) * | 2013-06-28 | 2013-09-04 | 中科创达软件股份有限公司 | Method and system for displaying characters of webpage input box |
CN103902057A (en) * | 2014-03-31 | 2014-07-02 | 北京搜狗科技发展有限公司 | Webpage input method and device for mobile terminal device |
CN105867942A (en) * | 2016-04-19 | 2016-08-17 | 深圳Tcl数字技术有限公司 | Key value expanding method and key value expanding system |
CN109189242A (en) * | 2018-09-30 | 2019-01-11 | 天津市英贝特航天科技有限公司 | A kind of key board unit and working method based on PS2 agreement |
CN109445615A (en) * | 2018-12-26 | 2019-03-08 | 惠州Tcl移动通信有限公司 | Mobile terminal keyboard processing method, mobile terminal and storage medium |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1690934A (en) * | 2004-04-30 | 2005-11-02 | 大唐移动通信设备有限公司 | Method for dynamically setting functions of keyboard press keys for mobile communication terminal |
CN101158885A (en) * | 2007-10-22 | 2008-04-09 | 李玫 | User-defined keyboard and implementing method thereof |
CN101419508A (en) * | 2008-12-11 | 2009-04-29 | 深圳华为通信技术有限公司 | Input device and terminal equipment |
CN101634899A (en) * | 2008-07-22 | 2010-01-27 | 比亚迪股份有限公司 | Method and device for keyboard response |
-
2012
- 2012-09-20 CN CN201210352426.4A patent/CN102902751B/en active Active
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1690934A (en) * | 2004-04-30 | 2005-11-02 | 大唐移动通信设备有限公司 | Method for dynamically setting functions of keyboard press keys for mobile communication terminal |
CN101158885A (en) * | 2007-10-22 | 2008-04-09 | 李玫 | User-defined keyboard and implementing method thereof |
CN101634899A (en) * | 2008-07-22 | 2010-01-27 | 比亚迪股份有限公司 | Method and device for keyboard response |
CN101419508A (en) * | 2008-12-11 | 2009-04-29 | 深圳华为通信技术有限公司 | Input device and terminal equipment |
Cited By (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103279306A (en) * | 2013-06-28 | 2013-09-04 | 中科创达软件股份有限公司 | Method and system for displaying characters of webpage input box |
CN103279306B (en) * | 2013-06-28 | 2016-09-14 | 中科创达软件股份有限公司 | The character display method of a kind of webpage input frame and system |
CN103902057A (en) * | 2014-03-31 | 2014-07-02 | 北京搜狗科技发展有限公司 | Webpage input method and device for mobile terminal device |
CN103902057B (en) * | 2014-03-31 | 2017-02-08 | 北京搜狗科技发展有限公司 | Webpage input method and device for mobile terminal device |
CN105867942A (en) * | 2016-04-19 | 2016-08-17 | 深圳Tcl数字技术有限公司 | Key value expanding method and key value expanding system |
CN105867942B (en) * | 2016-04-19 | 2019-08-27 | 深圳Tcl数字技术有限公司 | Key assignments extended method and system |
US10877775B2 (en) | 2016-04-19 | 2020-12-29 | Shenzhen Tcl Digital Technology Ltd. | Method and system for key value extending |
CN109189242A (en) * | 2018-09-30 | 2019-01-11 | 天津市英贝特航天科技有限公司 | A kind of key board unit and working method based on PS2 agreement |
CN109445615A (en) * | 2018-12-26 | 2019-03-08 | 惠州Tcl移动通信有限公司 | Mobile terminal keyboard processing method, mobile terminal and storage medium |
Also Published As
Publication number | Publication date |
---|---|
CN102902751B (en) | 2016-12-21 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN107918496B (en) | Input error correction method and device for input error correction | |
AU2014212844B2 (en) | Character and word level language models for out-of-vocabulary text input | |
RU2535480C2 (en) | Method and apparatus for keystroke estimation on touch screen | |
CN108092872B (en) | Communication method and device | |
CN103220430B (en) | A kind of method that mobile phone first line of a couplet people from system is searched and device | |
WO2011017917A1 (en) | Quick location method and apparatus for display content on electronic device | |
US8633895B2 (en) | Apparatus and method for improving character input function in mobile terminal | |
CN102902751A (en) | Webpage input method and device in mobile terminal and mobile terminal | |
US9557818B2 (en) | Contextually-specific automatic separators | |
CN105204663A (en) | Method of virtual keyboard input and terminal | |
US11175820B2 (en) | Method, device, and terminal device for extracting data | |
KR101432761B1 (en) | Terminal and method for amendment letter thereof | |
CN102937880B (en) | A kind of input method, input method system and mobile terminal using self-defined words and phrases | |
CN101321337A (en) | Mobile communication device and operation method thereof | |
US20160085316A1 (en) | Input method of chinese pinyin and terminal | |
US7352295B2 (en) | Apparatus for and method of inputting alphabets using a reduced keypad | |
US20150309590A1 (en) | Inputting method and associated electronic device | |
CN102707811B (en) | A kind of method and system of Chinese charater input | |
CN105589570A (en) | Input error processing method and apparatus | |
CN104076945A (en) | Device and method for displaying input keyboard in terminal | |
CN110874444B (en) | URL conversion model building method and device and electronic equipment | |
KR101261227B1 (en) | Virtual keyboard input device, and data input method thereof | |
CN109992120A (en) | A kind of input error correction method and device | |
CN110084065A (en) | Data desensitization method and device | |
KR100631666B1 (en) | Data retrieval method of mobile communication terminal |
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 | ||
TR01 | Transfer of patent right |
Effective date of registration: 20200706 Address after: 310052 room 508, floor 5, building 4, No. 699, Wangshang Road, Changhe street, Binjiang District, Hangzhou City, Zhejiang Province Patentee after: Alibaba (China) Co.,Ltd. Address before: 2, 16, 301 rooms, 510665 Yun Yun Road, Tianhe District, Guangdong, Guangzhou Patentee before: GUANGZHOU UCWEB COMPUTER TECHNOLOGY Co.,Ltd. |
|
TR01 | Transfer of patent right |