Detailed description of the invention
Present disclosure describes the equipment with keyboard and processor and the method performed on the device, described method bag
Include: receive input;The currency type form being associated with equipment is determined based on the location being associated with equipment;And it is defeated when determining
Enter to reflect when currency expression formula completes, according to selected currency type form automatically formatting currency expression formula, in order to output.
In order to illustrate simple and clear for the sake of, reuse reference in the accompanying drawings, corresponding or similar to indicate
Element.A large amount of details are illustrated, to provide the understanding to example embodiment described herein.These details can not be used
Realize example embodiment.In other instances, do not specifically describe known method, process and assembly, in order to avoid making described herein
Example embodiment ambiguous.Description should not regarded as the scope being limited to embodiment described herein.
The disclosure relates in general to electronic equipment, such as portable electric appts.The example of portable electric appts includes having
The Wireless Telecom Equipment of wireless communication ability, such as cell phone (mobile phone), smart phone (smart mobile phone), paging
Machine, PDA, tablet PC, notebook, netbook computer etc..Portable electric appts can also is that do not have nothing
The portable electric appts of line communication capacity.Example includes: handheld electronic game station, digital album, digital camera, game control
Platform processed or similar equipment.
The user of portable electric appts generally includes currency expression formula (that is, the text of circulating quantity of money in its communication
Or formula represents).The appropriate format of currency expression formula is at country variant, different currency and the tool even for given currency
Body intersymbol has difference.Appropriate formatting currency expression formula means: currency type symbol is placed on the number representing circulating quantity of money
The side that purpose is correct;Place the space (a usual space or without space) of correct number betwixt;Including kilobit separator,
Arithmetic point, coin amount etc..User may be unaware that the correct format used in each case, may be accidentally used the lattice of mistake
Formula, or for the time-consuming currency expression formula deliberately not using correct format.The embodiment consistent with the disclosure attempts to lead to
Cross in the following manner to assist user: detect currency expression formula when user inputs currency expression formula;And according to such as by using
The correct format that location, family and the currency type symbol used determine, in real time, automatically formats currency expression formula.Additionally, it is real
Execute example to attempt by automatically showing that on virtual touch sensitive keyboard the currency type symbol corresponding with user location assists further
User.
Fig. 1 shows the block diagram of the example of portable electric appts 100.Portable electric appts 100 includes multiple assembly,
As controlled the processor 102 of the integrated operation of portable electric appts 100.Portable electric appts 100 described herein includes
Communication subsystem 104 and junction service 132 module, in order to perform various communication function, including data and voice communication.Decoder
The data that the 106 pairs of portable electric appts 100 receive decompress and decode.Communication subsystem 102 is from wireless network 150
Receive and send message to wireless network 150.Wireless network 150 can be any type of wireless network, includes but not limited to
Data wireless networks, voice wireless network and the network of support voice communications versus data communications.Power supply 142 (as one or more can
Storage battery or the port to external power source) it is that portable electric appts 100 is powered.
Processor 102 is coupled to and with other assemblies (such as random access memory (RAM) 108, memorizer 110, display
112) mutual.In the example embodiment of Fig. 1, display 112 is coupled to touch sensitive overlay 114 and electronic controller 116, structure together
Become touch-sensitive display 118.Processor is further coupled to one or more actuator 120, one or more force transducer 122, auxiliary
Input/output (I/O) subsystem 124, FPDP 126, speaker 128, mike 130, junction service 132 and other
Equipment subsystem 134.User is performed mutual with the user of graphic user interface (GUI) by touch sensitive overlay 114.Processor 102
Mutual with touch sensitive overlay 114 via electronic controller 116.Showing on touch-sensitive display 118 via processor 102 can be just
Take the information (such as text, character, symbol, figure, icon and sundry item) showing on formula electronic equipment or presenting.Processor
102 can detect gravity with orientation sensors (such as accelerometer 136) or the direction of counteracting force that gravity causes alternately, with
Determine the orientation of such as portable electric appts 100.Processor 102 can be mutual, to determine portable electric with GPS module 152
The geographical position of subset 100.
In order to identify the subscriber of network insertion, portable electric appts 100 uses subscriber identity module or removable user
Identity module (SIM/RUIM) blocks 138 and communicates with network (such as wireless network 150).It is alternatively possible to user totem information is compiled
Enter memorizer 110.
Portable electric appts 100 includes operating system and software program or assembly 148, described software program or assembly
148 are performed and are generally stored inside by processor 102 in permanent renewable memorizer (such as memorizer 110).Wireless network can be passed through
Network 150, auxiliary I/O subsystem 124, FPDP 126, short-range communication subsystem 132 or any other suitable subsystems 134
Additional application or program are loaded onto on portable electric appts 100.
Receive signal (such as text message, email message or page download) to process through communication subsystem 104, and input
To processor 102.Processor 102 processes and receives signal, with output to display 112 and/or auxiliary I/O subsystem 124.Subscriber
Data item (such as email message) can be produced, can be sent on wireless network 150 by such as communication subsystem 104
Data item.
Fig. 2 A shows the front view of the example of portable electric appts 100.Portable electric appts 100 includes shell
202, touch-sensitive display 118 is deployed in shell 202.Shell 202 is that the assembly comprising portable electric appts 100 is (such as Fig. 1 institute
The assembly shown) encapsulation.
Keyboard 204 can be the physical keyboard in shell 202 or be presented on display on touch-sensitive display 118
Dummy keyboard on GUI, as shown in the example embodiment of Fig. 2 A.As shown in Figure 2 A, keyboard 204 is to be presented on touch-sensitive display
GUI on 118, and there is qwerty keyboard layout.In alternative example embodiment, it is possible to use other keyboard layouts, as
QWERTZ, AZERTY, Dvorak etc..It is likewise possible to expect the simplification keyboard that two or more character is associated with particular key,
Such as the qwerty keyboard layout simplified.For example, it is possible to provide the qwerty keyboard simplified, wherein, letter Q and W shares single key,
Letter e and R share single key, by that analogy.
(such as web browser, text message (such as email client), can join in the most suitable program or application
Be people, calendar, music player, spreadsheet, word processing, operating system interface etc.) in present keyboard 204, to carry out
Text inputs.Such as, when using keyboard 204 to carry out inputting typing, it is also possible to show other information, such as text, character, symbol
Number, image and other.Keyboard 204 includes multiple key 206, each key and at least one word indicated by labelling of display on it
Symbol or function are associated.
In the example shown in Fig. 2 A, key 206 (includes backspace key 206a, switching with letter, punctuation mark and specific function
Key 206b, shift 206c, enter key 206d and whole world key 206e) it is associated.Press switch key 206b to cause partly or entirely
Key 206 becomes being associated with alternative characters or function.In the example shown in Fig. 2 B, the alternate labels instruction as shown on it
Such alternative characters includes: punctuation mark digital, additional, spcial character (such as "@", " # ", " * " and currency key 206i).
Again press switch key 206b to be again associated with the original character shown in Fig. 2 A by key.
The keyboard 204 being presented on touch display 118 and the keyboard language phase arranged on portable electric appts 100
Association, and can be english keyboard, French language keyboard, KEYBSP, Arabic keyboard, Hebrew keyboard or just
Take formula electronic equipment 100 can the keyboard 204 of other language.The key of different language can be obtained by selecting whole world key
Dish.When the touch receiving the position being associated on touch-sensitive display 118 with whole world key 206e, it is provided that can use of alternate language
Keyboard list.In certain embodiments, such as, (such as labelling, as EN represents English key for whole world key 206e display abbreviation designator
Dish, FR represent French language keyboard or ES represents KEYBSP etc.), with the language of the keyboard 206 that instruction currently presents.
In one embodiment, the currency key 206i being associated with currency type symbol is associated with currency type symbol, described currency type
Symbol corresponding to be associated with equipment be currently located ground, and when equipment location change time can dynamically with another coin
Plant symbol again to associate.As discussed below, determined based on one or more factors by processor 102 with being currently located.
In some example embodiments, location will be determined based on current keyboard language.Such as, when selecting German keyboard
Time, processor 102 determines that location is Germany, automatically by currency key 206i and Euro symbolIt is associated, and at currency key
206i this symbol of upper display.Similarly, when elected another day language and Hebrew keyboard, currency type symbol " $ " andBecome respectively
For being associated with currency key 206i.Most of currency can represent by more multiple distinct symbols, and some symbols are by being more than
One character composition.Such as, yen can be represented by symbol " $ ", " " or " JPY ".Similarly, Canadian dollar can be with symbol " ", symbol
Number and the combination (such as " C $ ", " CAN $ ") of character or only represent with character " CDN " or " CAND ".
When given currency exists multiple possible symbol, processor 102 selects default symbol.Additionally, user can pass through
Such as repeat to touch currency key 206i to touch every time and make currency key 206i become with next may to be associated and dynamically select by symbol
Desired symbol.Can also realize dynamically selecting by currency key 206i presses the predefined period, so that institute is likely
The list of symbol occurs in (the ejection catalogue such as shown) on touch-sensitive display 118 near currency key 206i, then selects the phase
The currency type symbol hoped.
In other example embodiment, processor 102 geographical position based on equipment 100 determines location.Can be such as
Determine by utilizing the current time zone of GPS module 152, application honeycomb triangulation technique or inspection operating system 146 to arrange
Geographical position.Once it is determined that geographical position, processor just identifies corresponding location, and by currency key 206i with corresponding to should
On-site default currency type symbol is associated.Such as, if geographical position is confirmed as california San Francisco, processor 102 is by institute
It is identified as " U.S. " on ground, and currency key 206i is associated with default dollar mark () (" $ " or " USD ").Similarly, if
Geographical position is confirmed as London, and location is identified as Britain by processor 102, and by currency key 206i and (use
Default that in " £ " or " GBP ") British Pound symbol is associated.
In other example embodiment, processor 102 determines location based on context.Such as, if user returns
The multiple message having comprised certain types of one or more currency type symbol, processor selects and this certain types of currency type symbol phase
Corresponding location.It is therefoie, for example, if user is replying the Email of 100USD vending articles, processor is by place
Ground is defined as the U.S..
In certain embodiments, location is determined according to the combination of factor.Such as, if GPS module 152 and honeycomb connect
Connect the most unavailable, can be by the information relevant with keyboard language be determined location with time-zone information combination.Such as, if
Voice is English and time zone is " GMT+1 ", and processor 102 determines that location is Britain.In certain embodiments, at user's selection
Reason device 102 should use which factor or a combination thereof when determining location.
Except being dynamically associated with suitable currency type symbol by currency key 206i, processor 102 is recorded also by user
When entering or input currency expression formula, detection automatically formatting currency expression formula are to assist user.Currency expression formula is to represent currency
Value (as " $ 100 ", "-100USD ",) text representation.Currency expression formula generally includes currency type symbol, table
The numerical value of the amount of showing and spcial character (such as space, comma, fullstop etc.).Format currency expression formula and include such as: currency type is accorded with
Before or after number being placed in numerical value, currency type symbol is placed with numerical value next-door neighbour or is spaced apart with space, in the case of negative quantity
It is properly positioned negative sign, adds kilobit separator and arithmetic point etc. in case of need.
Different locations needs the different rules formatting currency expression formula.Even if two locations use identical
Currency, their formatting standard is likely to difference.Such as, at Holland's Euro symbolBefore being suitably placed into numerical value and with
Numerical value is adjacent, and after the identical symbol of Germany is suitably placed into numerical value, and there is space between the two.
Even if additionally, in identical location, also likely to be present different rules for different currency type symbols.Such as,
In the U.S., before symbol " $ " is suitably placed into numerical value and its immediate;On the other hand, after symbol " USD " is usually placed in number
And separated by space.Table 1 below lists above and other example.
The example that table 1. currency type symbol is placed
Fig. 3 A, 3B, 3C and 3D show the example of processor 102 automatically formatting.In the example shown in Fig. 3 A and 3B,
Portable electric appts 100 is physically located in New York.In this example, processor 102 uses geographical position to determine place
Ground.Therefore, location is confirmed as the U.S..Therefore, processor 102 is by the default currency type symbol of currency key 206i and the U.S. (i.e.
" $ " in example embodiment described herein) it is associated, and on currency key 206i, show the default currency type symbol of the U.S..
As shown in Figure 3A, user is keying in email message.Once user completes to key in text " 1234 $ " (302a), processor
Text identification is just currency expression formula by 102, and automatically real-time according to and location (U.S.) and the group of currency type symbol (" ")
Close corresponding form and reformat text.As shown in Figure 3 B, result is the text after reformatting: " $ 1,234.00 "
(302b).This dynamic realtime formats instantaneous or occurs in the way of not disturbing user.User recognizing or can not realize
Continue in the case of having occurred and that to formatting to key in additional text.
In example shown in Fig. 3 C and Fig. 3 D, portable electric appts 100 is physically located in Paris, FRA.At this
In example, processor 102 reuses geographical position method to determine location, and thus location is identified as France.
Therefore, its by currency key 206i with France default currency type symbol (such as) be associated, and show on currency key 206i
The default currency type symbol of France.As shown in Figure 3 C, user is keying in email message.Once user completes to key in text(302c), text identification is just currency expression formula by processor 102, and automatically real-time according to and location
(French) and currency type symbolThe corresponding form of combination reformat text.As shown in Figure 3 D, result is weight
Text after format:(302d)。
Showing flow chart in Fig. 4, this flow chart illustrates the side of automatically formatting currency expression formula at electronic equipment
Method.The method is realized by the software that such as processor 102 performs.The given disclosure, compiles for realizing the software of such method
Code belongs to the ken of art technology those of ordinary skill.The method can comprise beyond shown and/or described process
Additional process or less process, and can be performed in a different order.Can be by least one of portable electric appts
Processor performs to be stored in computer-readable medium (such as non-momentary computer realizing the computer-readable code of the method
Computer-readable recording medium) in.Alternatively, method completely or partially can be positioned at processor 102 interiorly or exteriorly special by specialized hardware
Hardware realizes.
The method is real in character (such as letter, numerical value and sign character) is for the most suitable program inputted or application
Existing.The example of suitable application includes: Email, text message, calendar, task, address book, map, Web browser, literary composition
WP etc..On the display 112 of portable electric appts 100, display carrys out the information of self-application.
In order to the program performed at processor 102 or application input character, in 402, at portable electric appts
Display 112 row of 100 shows the keyboard 204 with multiple key 206.Then, 404, processor 102 waits that user passes through
Select one of key 206 input fresh character.Once inputting fresh character, whether processor 102 just analyzes the input of fresh characters 406
Complete currency expression formula.When processor 102 identifies the delimiter word that such as fresh character is and then currency type number of symbols pair
Symbol or delimiter function, it is believed that currency expression formula completes.The number of symbols currency type symbol to being in before or after numerical value,
Both are closely adjacent to each other or one or more spcial characters of being scheduled in list separate.Numerical value includes such as: represent numeral (0-
9) character, the character representing arithmetic point (fullstop or comma) or kilobit separator (comma).The predetermined row of spcial character
Table includes such as: space character and minus sign character.Delimiter includes such as: space, enter key 206d or any punctuate word
Symbol.For example, it is possible to the currency expression formula that following formula has been regarded as: " 123 ", " 1.23?”、“123USD!”、
Referring now still to Fig. 4, if processor 102 identifies fresh character 406 completes currency expression formula, its continuation is true 408
Settled front location;Otherwise, it returns and waits another character 404.408, processor 102 uses such as key as described in mountain
Dish language and/or geographical position determine and are currently located ground.Then, processor 102 410 determine be currently located and currency
The correct format that currency type symbol in expression formula is corresponding.Processor 102 can be from storing all possible location/symbols
Close and the table of corresponding form obtains correct form.For example, it is possible to store form in the memory 110.Alternatively, process
Device 102 can obtain this information from network 150.
Then, processor 102 alternatively step 412 determine whether according at 410 correct formats determined to currency
Expression formula is formatted.If if it does, processor 102 is back to 404;Otherwise, it advances to 414, determines according to 410
Correct format format currency expression formula.Then, processor 102 416 on touch display 118 after display format
Currency expression formula, and it is back to the input that 404 waits are new.
In certain embodiments, the expression after processor 102 has formatted currency expression formula and formatted instead of
After original representation on screen 118, user can such as pass through to press backspace key 206a after formatting occurs and cancel replacement
Operation.If user prefers the currency expression formula form that it is original compared with format, it may be desirable to so.If 414
Format monetary data and wait that the first fresh character that fresh character preprocessor 102 receives is backspace key 206a 404, processing
Device can cancel formatting, and its currency expression formula is reverted to its unprocessed form.Additionally, processor 102 can be at memorizer
Unprocessed form is stored so that it is it can be avoided that again format it in future in 110.
In certain embodiments, replace once by user's typing automatically formatting each currency expression formula, processor 102 etc.
Treat that user manually initiates the formatting of one or more currency expression formulas in input text." send out for example, it is possible to press user
Send " button to send message or to call spelling-checker time initiate format.
In certain embodiments, user uses this on-site default currency type corresponding with the location of equipment but non-to accord with
Number currency type symbol key in currency table reach formula.Such as, processor 102 determines that location is the U.S., and (with currency key 206i phase
Associate and show on currency key 206i) default currency type symbol is " $ ".User still can by use letter " U ", " S " and
" D ", typing has the currency expression formula of alternative currency type symbol.According to embodiment described herein, processor 102 will according to institute
The default currency type sign form currency expression formula being associated on ground, and will output " 100 ".
The disclosure can be realized with other concrete forms in the case of without departing substantially from disclosure spirit or inner characteristic.?
Each side, should regard as illustrative and not restrictive by described embodiment.Therefore, the scope of the present invention is wanted by appended right
Ask rather than aforementioned specification instruction.Fall into being changed in the equivalents of claim and scope should contain in claim
In the range of.