CN103714085A - Website design method with Chinese character inputting - Google Patents

Website design method with Chinese character inputting Download PDF

Info

Publication number
CN103714085A
CN103714085A CN201210378651.5A CN201210378651A CN103714085A CN 103714085 A CN103714085 A CN 103714085A CN 201210378651 A CN201210378651 A CN 201210378651A CN 103714085 A CN103714085 A CN 103714085A
Authority
CN
China
Prior art keywords
chinese character
input
chinese
webpage
inputting interface
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.)
Pending
Application number
CN201210378651.5A
Other languages
Chinese (zh)
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.)
Toshiba TEC Information Systems Shenzhen Co Ltd
Original Assignee
Toshiba TEC Information Systems Shenzhen 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 Toshiba TEC Information Systems Shenzhen Co Ltd filed Critical Toshiba TEC Information Systems Shenzhen Co Ltd
Priority to CN201210378651.5A priority Critical patent/CN103714085A/en
Publication of CN103714085A publication Critical patent/CN103714085A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/95Retrieval from the web
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/451Execution arrangements for user interfaces

Abstract

The invention discloses a website design method with Chinese character inputting and adds a JavaScript script, a Chinese character input interface and a pinyin and Chinese character comparison table in websites. These information can be transmitted to browsers when a web browser visits the websites. The JavaScript script conducts the following operation: a, displaying the Chinese character input interface in the web browser once an input box of the websites is captured to be selected, b, capturing inputted characters in the Chinese character input interface, and searching the pinyin and Chinese character comparison table under a pinyin inputting mode at the same time, and displaying the searched candidate Chinese characters in the Chinese character input interface, and c, capturing the candidate Chinese characters in the Chinese character input interface, and inputting the candidate Chinese characters into the input box of the websites. The websites designed by the website design method is suitable for visiting computer equipment which does not support inputting Chinese characters, and inputting Chinese characters in the website, and no change is required on the equipment.

Description

Carry the webpage design method of Chinese character input
Technical field
The application relates to a kind of webpage design method, particularly relates to a kind of method for designing that carries Chinese character input in webpage.
Background technology
Have some computer intelligence equipment only to support the input of ascii character, ascii character is used 7 (or 8) binary numbers to represent 128 kinds of (or 256 kinds) characters, mainly comprises English alphabet, numeral, English symbol etc.These computer intelligence equipment are due to cannot inputting Chinese character, and have all inconvenience.
For example, the multi-function printer of Toshiba (MFP, Multifunction Printer) is only supported the input of ascii character.Using the built-in web browser of the MFP of Toshiba (to be called EWB, Extended Web Browser) during browsing page, just can only inputting English letter in the input frame of webpage, the symbol supported of numeral and other ascii characters, cannot input the Chinese characters such as Chinese character, Chinese punctuation mark.
Summary of the invention
The application's technical matters to be solved is to provide a kind of webpage design method, carries input in Chinese script in designed webpage.This webpage is particularly suitable for never supporting the computer intelligence device access of inputting Chinese character.
For solving the problems of the technologies described above, the webpage design method that the application carries Chinese character input is: the table of comparisons that increases JavaScript script, Chinese character inputting interface, phonetic and Chinese character in webpage;
When web browser is accessed this webpage, the table of comparisons of the JavaScript script in webpage, Chinese character inputting interface, phonetic and Chinese character is transferred to web browser;
This JavaScript script is carried out following operation:
One, once the input frame capturing in this webpage is selected, Chinese display character input interface in web browser just;
Its two, catch the character input in this Chinese character inputting interface, and under Pinyin Input pattern the table of comparisons of synchronous query phonetic and Chinese character, the candidate Chinese characters that demonstration inquires on this Chinese character inputting interface;
Its three, catch the candidate Chinese characters choose in this Chinese character inputting interface, and be entered in the input frame of this webpage.
Alternatively, described in carry Chinese character input webpage design method also in webpage, increase the table of comparisons of stroke and Chinese character, it is also transferred to web browser when web browser accessed web page.Once the stroke input pattern that this JavaScript script captures in this Chinese character inputting interface is selected, just, by the captured character synchronous query stroke of inputting and the table of comparisons of Chinese character, on this Chinese character inputting interface, show the candidate Chinese characters inquiring in this Chinese character inputting interface.
Alternatively, once the symbol input pattern that this JavaScript script captures in this Chinese character inputting interface is selected, just the captured character of inputting in this Chinese character inputting interface is directly inputted in the input frame of this webpage, skips show candidate Chinese character, catch these two of the selections of candidate Chinese characters.
Alternatively, this JavaScript script is also carried out following operation: its four, catch the switching of the two or more input patterns in Pinyin Input in this Chinese character inputting interface, stroke input, symbol input.
Alternatively, described Chinese character inputting interface has soft key panel, under Pinyin Input pattern, this soft key panel comprises phonetic alphabet, and under stroke input pattern, this soft key panel comprises stroke unit, and under symbol input pattern, this soft key panel comprises Chinese punctuation mark.
The webpage design method that the application carries Chinese character input carries input in Chinese script in webpage, is particularly suitable for never supporting the computer intelligence device access of inputting Chinese character.When this type of computer intelligence device access is during according to the webpage of the application design, JavaScript script automatic capturing choosing the input frame in webpage in webpage, and eject Chinese character inputting interface, and can be according to different input modes, the character that user is inputted is according to the difference of phonetic, stroke, symbol, or the table of comparisons of inquiry phonetic and Chinese character or inquire about the table of comparisons of stroke and Chinese character or be directly inputted in the input frame of webpage.When needs are inquired about in the table of comparisons, the JavaScript script in webpage is also selected for user Query Result as candidate Chinese characters, and in the candidate Chinese characters of finally user being chosen one is input in the input frame of webpage.For example, the built-in web browser of the MFP of Toshiba can be made as homepage the webpage according to the application's design, so just, can in this webpage, input Chinese character, symbol etc., greatly facilitate user's use, to the operating system of computer intelligence equipment itself without doing any change.
Accompanying drawing explanation
Fig. 1 is the process flow diagram that the application carries the webpage design method of Chinese character;
Fig. 2 is in the application, the schematic diagram of Chinese character inputting interface.
Embodiment
Refer to Fig. 1, the webpage design method that the application carries Chinese character input is: the table of comparisons that increases JavaScript script, Chinese character inputting interface, phonetic and Chinese character in webpage.Alternatively, also can in webpage, increase the table of comparisons of stroke and Chinese character.The content increasing is embedded in the html source code of webpage, as a part for the html source code of webpage.
When web browser is accessed this webpage, the table of comparisons of the JavaScript script newly increasing in webpage, Chinese character inputting interface, phonetic and Chinese character, is transferred to web browser by other source codes together with webpage.If there is the table of comparisons of stroke and Chinese character in webpage simultaneously, also will be transferred to together web browser.Like this, after web browser completes the loading of webpage, the table of comparisons of JavaScript script, Chinese character inputting interface, phonetic and Chinese character etc. is all downloaded in the inner buffer of web browser, and JavaScript script is realized local script at local browser and called.
JavaScript is a kind of script, and its JavaScript script of writing can move in all main browsers, comprises Internet Explorer, Mozilla Firefox, Netscape, Opera etc.The built-in web browser of the MFP of Toshiba is also supported the operation to JavaScript.
Refer to Fig. 2, described Chinese character inputting interface comprises input pattern switch area, input viewing area, candidate character area, soft key panel.
Input pattern switch area wherein at least comprises Pinyin Input pattern and symbol input pattern.Alternatively, also can comprise stroke input pattern.
Soft key panel wherein at least shows whole phonetic alphabet under Pinyin Input pattern; Under stroke input pattern, at least show whole stroke units; Under symbol input pattern, at least show whole Chinese symbols.
If the content of the required demonstration in soft key panel is more, can be divided into multipage and shows, and on every one page, increase forward page, the index of page backward.If designed webpage is only for supporting to have the computer intelligence device access of keyboard, this soft key panel also can be omitted.
Input viewing area wherein shows the character that user inputs.The character of these inputs is all ascii character, and the computer intelligence equipment of any support character input all can be supported ascii character, thereby has the most compatible.
User can input in described soft key panel, also can input by the keyboard of computer intelligence equipment.The operation of the hardware devices such as mouse, touch-screen is supported in described soft key panel.
Candidate character area is wherein the one or more candidate characters that match that demonstrate according to user's input.Under Pinyin Input pattern, be that phonetic regarded as in the character that user is inputted, and inquire about the resulting one or more Chinese characters that match with input of the table of comparisons of phonetic and Chinese character.Under stroke input pattern, be that stroke regarded as in the character that user is inputted, and inquire about the resulting one or more Chinese characters that match with input of the table of comparisons of stroke and Chinese character.Under symbol input pattern, be that the Chinese symbol matching with it regarded as in the character that user is inputted, or be directly presented at this candidate character area, or skip in the input frame that this candidate character area is directly inputted to webpage.Typically, under Pinyin Input pattern and stroke input pattern, between input and demonstration, be one-to-many or man-to-man relation; And under symbol input pattern, between input and demonstration, be man-to-man relation.
The JavaScript script newly increasing in webpage is mainly carried out following functions:
One, once the input frame that this JavaScript script captures in this webpage is selected, Chinese display character input interface in web browser just.It is described that to choose operation can be that the directionkeys etc. of mouse, touch-screen, keyboard is carried out.
They are two years old, this JavaScript script catches the character of inputting in this Chinese character inputting interface, and under Pinyin Input pattern the table of comparisons of synchronous query phonetic and Chinese character, on this Chinese character inputting interface, show the one or more candidate Chinese characters that match with input that inquire.
This JavaScript script catches the character of inputting in this Chinese character inputting interface, and under symbol input pattern or on this Chinese character inputting interface, show corresponding Chinese symbol, or corresponding Chinese symbol is directly inputted in the input frame of webpage.
Alternatively, this JavaScript script catches the character of inputting in this Chinese character inputting interface, and synchronous query is the table of comparisons of stroke and Chinese character under stroke input pattern, on this Chinese character inputting interface, show the one or more candidate Chinese characters that match with input inquire.
Its three, this JavaScript script catches the candidate Chinese characters of choosing in this Chinese character inputting interface, and is entered in the input frame of this webpage.If candidate Chinese characters only has one, this JavaScript script can not be presented at this Chinese character inputting interface by this unique candidate Chinese characters yet, but is directly inputted among the input frame of webpage.For example, under symbol input pattern, described Chinese character inputting interface just can dispense show candidate Chinese character.
Alternatively, this JavaScript script also catches the switching of the input pattern in this Chinese character inputting interface.Described blocked operation can be the execution such as the directionkeys of mouse, touch-screen, keyboard.Described input pattern at least comprises Pinyin Input and symbol input, also can comprise stroke input etc.Chinese character inputting interface shown in Fig. 2 has just exemplarily comprised Pinyin Input and two kinds of input patterns of symbol input.
The application carries the designed webpage of webpage design method of Chinese character input, is particularly suitable for by the computer intelligence device access of not supporting inputting Chinese character.This type of computer intelligence equipment often adopts embedded OS, for factors such as saving power system capacity, security consideration, in origin operation system, does not support input in Chinese.If increase Chinese character input in system level, need whole operating system to modify, write with a brush dipped in Chinese ink etc., this forbids often.And only webpage is modified according to method described in the application, to origin operation system, need not carry out any modification, realized equally in browser normally inputting Chinese character.Preferably, also can using according to the designed webpage of the application as the web browser homepage of this type of computer intelligence equipment or make an addition among the collection, bookmark of web browser.
Even for the computer intelligence equipment of supporting Chinese character input, the application carries the designed webpage of webpage design method of Chinese character input and also has place to show one's prowess.
For example, the software that PC need to be installed Chinese character coding input method conventionally just can inputting Chinese character, in some special application scenario, for the consideration of computer security, does not allow to install Chinese character coding input method.Now by web browser, browse general webpage, just cannot inputting Chinese character; And while browsing according to the designed webpage of method described in the application, inputting Chinese character normally just.
And for example, the application program of now a lot of embedded systems is all to realize so-called embedded software by opening the form of inner webpage, such as some application programs under WinCE.If this embedded system is not installed Chinese character input scheme, can in its application program webpage, carry out the design of method described in the application, easily realized the Chinese character input problem of embedded system.
These are only the application's preferred embodiment, and be not used in restriction the application.For a person skilled in the art, the application can have various modifications and variations.All within the application's spirit and principle, any modification of doing, be equal to replacement, improvement etc., within all should being included in the application's protection domain.

Claims (5)

1. a webpage design method that carries Chinese character input, is characterized in that, increases the table of comparisons of JavaScript script, Chinese character inputting interface, phonetic and Chinese character in webpage; When web browser is accessed this webpage, these contents are transferred to web browser;
This JavaScript script is carried out following operation:
One, once the input frame capturing in this webpage is selected, Chinese display character input interface in web browser just;
Its two, catch the character input in this Chinese character inputting interface, and under Pinyin Input pattern the table of comparisons of synchronous query phonetic and Chinese character, the candidate Chinese characters that demonstration inquires on this Chinese character inputting interface;
Its three, catch the candidate Chinese characters choose in this Chinese character inputting interface, and be entered in the input frame of this webpage.
2. the webpage design method that carries Chinese character according to claim 1, is characterized in that, also in webpage, increases the table of comparisons of stroke and Chinese character, and it is also transferred to web browser when web browser accessed web page;
Once the stroke input pattern that this JavaScript script captures in this Chinese character inputting interface is selected, just, by the captured character synchronous query stroke of inputting and the table of comparisons of Chinese character, on this Chinese character inputting interface, show the candidate Chinese characters inquiring in this Chinese character inputting interface.
3. the webpage design method that carries Chinese character according to claim 1, it is characterized in that, once the symbol input pattern that this JavaScript script captures in this Chinese character inputting interface is selected, just the captured character of inputting in this Chinese character inputting interface is directly inputted in the input frame of this webpage.
4. according to the webpage design method that carries Chinese character described in claim 2 or 3, it is characterized in that, this JavaScript script is also carried out following operation:
Its four, catch the switching of the two or more input patterns in Pinyin Input in this Chinese character inputting interface, stroke input, symbol input.
5. the webpage design method that carries Chinese character according to claim 1, it is characterized in that, described Chinese character inputting interface has soft key panel, under Pinyin Input pattern, this soft key panel comprises phonetic alphabet, under stroke input pattern, this soft key panel comprises stroke unit, and under symbol input pattern, this soft key panel comprises Chinese punctuation mark.
CN201210378651.5A 2012-10-09 2012-10-09 Website design method with Chinese character inputting Pending CN103714085A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201210378651.5A CN103714085A (en) 2012-10-09 2012-10-09 Website design method with Chinese character inputting

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201210378651.5A CN103714085A (en) 2012-10-09 2012-10-09 Website design method with Chinese character inputting

Publications (1)

Publication Number Publication Date
CN103714085A true CN103714085A (en) 2014-04-09

Family

ID=50407071

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201210378651.5A Pending CN103714085A (en) 2012-10-09 2012-10-09 Website design method with Chinese character inputting

Country Status (1)

Country Link
CN (1) CN103714085A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104850314A (en) * 2015-04-29 2015-08-19 努比亚技术有限公司 Input method and apparatus
CN111026459A (en) * 2019-12-05 2020-04-17 杭州有赞科技有限公司 Character string to pinyin method
WO2022061857A1 (en) * 2020-09-28 2022-03-31 Orange Method for operating a terminal when accessing a web page defined by a code in a markup language

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1330325A (en) * 2000-06-20 2002-01-09 国际商业机器公司 Input system and method based on network
CN101488154A (en) * 2009-03-04 2009-07-22 西安双捷科技有限责任公司 Words input implementing method used for web page
WO2012075284A2 (en) * 2010-12-01 2012-06-07 Bizideo Llc A website file and data structure, website management platform and method of manufacturing customized, managed websites

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1330325A (en) * 2000-06-20 2002-01-09 国际商业机器公司 Input system and method based on network
CN101488154A (en) * 2009-03-04 2009-07-22 西安双捷科技有限责任公司 Words input implementing method used for web page
WO2012075284A2 (en) * 2010-12-01 2012-06-07 Bizideo Llc A website file and data structure, website management platform and method of manufacturing customized, managed websites

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104850314A (en) * 2015-04-29 2015-08-19 努比亚技术有限公司 Input method and apparatus
CN111026459A (en) * 2019-12-05 2020-04-17 杭州有赞科技有限公司 Character string to pinyin method
WO2022061857A1 (en) * 2020-09-28 2022-03-31 Orange Method for operating a terminal when accessing a web page defined by a code in a markup language

Similar Documents

Publication Publication Date Title
JP5140377B2 (en) Browser control method and system using image
CN102436454A (en) Input method switching method and system for browser
CN104536995B (en) The method and system of searching for based on terminal interface touch control operation
CN104331474A (en) Page processing method and device
CN101419624A (en) Mobile information device and method for browsing web page
CN102929521A (en) Method and apparatus for providing user interface for internet service
CN102929846B (en) A kind of method processing long text and device
US20110093811A1 (en) System and method for performing auto scroll
CN1489034A (en) Method and apparatus for printing web page
CN105183724A (en) Translation method and electronic device
CN102955788A (en) System and method for webpage skipping during browsing
CN103902736A (en) System and method for finger click word-capturing search of words displayed on mobile information equipment screen
CN103714085A (en) Website design method with Chinese character inputting
CN104133905A (en) System and method for carrying out clicking word taking search through searcher
CN103902164A (en) System and method for word-capturing search in browser window by clicking left mouse button
CN104572593A (en) Method, system and electronic device for processing letters
CN105354187A (en) Method for translating webpage contents and electronic device
CN105243057A (en) Method for translating web page contents and electronic device.
US9218083B2 (en) Methods for parsing content of document, handheld electronic apparatus and computer-readable medium thereof
US20190220160A1 (en) Display for input selection on a compact information processing device
US10275528B2 (en) Information processing for distributed display of search result
CN104794140A (en) Text highlighting method and device
CN105183344A (en) Method for self-adaptive switching input method
CN104142925A (en) Association method and device for input contents in address bar of browser
CN105242849A (en) Text translation method and electronic device

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20140409