CN101488154B - Words input implementing method used for web page - Google Patents

Words input implementing method used for web page Download PDF

Info

Publication number
CN101488154B
CN101488154B CN2009101260522A CN200910126052A CN101488154B CN 101488154 B CN101488154 B CN 101488154B CN 2009101260522 A CN2009101260522 A CN 2009101260522A CN 200910126052 A CN200910126052 A CN 200910126052A CN 101488154 B CN101488154 B CN 101488154B
Authority
CN
China
Prior art keywords
coding
literal
input
browser
service module
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
CN2009101260522A
Other languages
Chinese (zh)
Other versions
CN101488154A (en
Inventor
孙长征
尹河
胡麒
张清辉
拜小凤
何山
姜平
黄建云
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
XI'AN YOURS-IOT TECH Co.,Ltd.
Original Assignee
XIAN SHUANGJIE TECHNOLOGY 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 XIAN SHUANGJIE TECHNOLOGY Co Ltd filed Critical XIAN SHUANGJIE TECHNOLOGY Co Ltd
Priority to CN2009101260522A priority Critical patent/CN101488154B/en
Publication of CN101488154A publication Critical patent/CN101488154A/en
Application granted granted Critical
Publication of CN101488154B publication Critical patent/CN101488154B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Information Transfer Between Computers (AREA)

Abstract

The invention provides a word input realizing method used for web pages, comprising the following steps: a browser receives an input code by an input control; the browser sends the code to a background server module to be transferred into a corresponding word; the background server module sends the word to the browser to accept the selection of a user. The word input realizing method used for the web pages overcomes the problem in the prior art that an operating system is required to be necessarily provided with a word input method, and can satisfy the web page browsing interaction requirements of users on an operating system of any language.

Description

The literal input implementation method that is used for webpage
Technical field
The present invention relates to internet arena, in particular to a kind of literal input implementation method that is used for webpage.
Background technology
Chinese character set at present all mainstream operation system has realized that as a subclass of international large character set the unified of Chinese character shows, that is to say no matter be the operating system of which kind of language version, can perfectly show, browse Chinese web page.Yet in webpage, except needs show Chinese character, when interactive operation such as realize that search, list are filled in, also need to support user's Chinese character input usually.
At present, for example during Chinese-character word-phrase, generally the interface that provides by operating system is realized the input of literal to the specific literal of input in webpage, and operating system should have corresponding input method module, to support application software calling literal.That is to say, although present operating system can show the various literal Chinese character for example in the international large character set, but still the input method that this literal need be installed for example input method of Chinese character can realize for example input of Chinese character of this literal.
Owing in the non-Chinese operating system corresponding Chinese character Input Software is not installed, the Chinese character input that just can't be implemented in the Chinese web page (also has similar problem for other literal, only be that example describes below) with the Chinese character, so number of site directly is embedded in input method in the fixing webpage, the user can not install in operating system under the situation of input method of Chinese character, imports Chinese character in webpage.
In realizing process of the present invention, the inventor finds that this kind mode can only realize the words input in the specific input control in the fixing webpage of this website and webpage, if browse other webpages or other websites, perhaps want other position input Chinese-character word-phrases in webpage, then can't use the input method of Chinese character of this embedding, therefore still depend on operating system input Chinese character.
Summary of the invention
The present invention aims to provide the literal input implementation method that is used for webpage, can solve the problem that operating system must be installed character input method in the prior art.
In an embodiment of the present invention, provide a kind of literal input implementation method that is used for webpage, may further comprise the steps: browser receives the coding of input by the input control of webpage; Browser is sent to the backstage service module with coding, to be converted to corresponding character; The backstage service module is sent to browser with literal, to accept user's selection.
This literal input implementation method is supported the literal input because of the employing webpage, thus overcome the problem that operating system must be installed character input method in the prior art, and then can on the operating system of any language, all satisfy the interaction demand of user's browsing page.
Description of drawings
Accompanying drawing described herein is used to provide further understanding of the present invention, constitutes the application's a part, and illustrative examples of the present invention and explanation thereof are used to explain the present invention, do not constitute improper qualification of the present invention.In the accompanying drawings:
Fig. 1 shows the process flow diagram of literal input implementation method according to an embodiment of the invention;
Fig. 2 shows the process flow diagram of literal input implementation method in accordance with a preferred embodiment of the present invention;
Fig. 3 shows browser according to an embodiment of the invention receives the coding of input by the input control of webpage screenshot capture;
Fig. 4 shows the block scheme of the literal input implement device that is used for webpage according to an embodiment of the invention.
Embodiment
Below with reference to the accompanying drawings and in conjunction with the embodiments, describe the present invention in detail.
Fig. 1 shows the process flow diagram of literal input implementation method according to an embodiment of the invention, may further comprise the steps:
Step S10, browser receive the coding of input by the input control of webpage;
Step S20, browser is sent to the backstage service module with coding, to be converted to corresponding character;
Step S30, the backstage service module is sent to browser with literal, to accept user's selection.
This literal input implementation method is decoded into literal by coding being delivered to the backstage service module, passes webpage again back, thereby no longer needs the operating system installation character input method.And this input method is by the backstage service module literal of decoding, so webpage only need carry out the transmission of information, and no longer need to install input method procedure, therefore what also solved prior art passes through webpage operation input method procedure, thereby can only realize the defective of words input in the fixing webpage of this website and webpage in the specific input control.Therefore this literal input implementation method can all satisfy the interaction demand of user's browsing page on the operating system of any language.
In addition, install under the input method mode at the webpage of prior art, input method need load whole code table, and the process that loads code table is longer, and input efficiency is low.And this literal input implementation method has been avoided the code table of webpage loading literal, so travelling speed is faster.
Optionally, in above-mentioned literal input implementation method, step S10 specifically comprises: embed script in advance or embed plug-in unit in webpage in described browser, browser is carried out script or is called the coding of plug-in unit with user's input of catching input control and receiving.Like this, browser end can use script such as JavaScript to user's oblatio inputting interface, response user input.
These codes can be provided by the service provider that the backstage service module is provided, and after the website supplier obtains the code of service provider, are embedded in their webpage, and domestic consumer can use online input function when browsing this part webpage like this.
Optionally, step S10 specifically comprises: embed plug-in unit in advance in browser; Plug-in unit is performed to catch the coding of user's input that input control receives.For example, the button that starts plug-in component operation is installed on the menu bar of browser, when the user clicks this button, just can be started the execution of this plug-in unit.This is similar to the button of installing on the IE browser menu bar, can start the execution plug-in unit.In the time of can working as the user in addition and click, start automatically and carry out plug-in unit in the place that needs input characters.
Optionally, provide the website of webpage and backstage service module in same territory, step S20 specifically comprises: browser is carried out script or is called plug-in unit so that coding is sent to the website, will encode and directly send to the backstage service module in the website; Step S30 specifically comprises: the backstage service module directly sends to browser with literal; Browser is carried out script or is called plug-in unit with display text; Browser is carried out script or is called plug-in unit to accept the selection of user to literal.This scheme is applicable to intranet.
Optionally, step S20 specifically comprises: browser is carried out script or is called plug-in unit coding is sent to the website that webpage is provided; The website sends to server or script with coding, is transmitted to the backstage service module by server or script; Step S30 specifically comprises: the backstage service module sends to browser with literal; Browser is carried out script or is called described plug-in unit to show described literal; Browser is carried out script or is called plug-in unit to accept the selection of user to literal.This embodiment not only can be applied to provide the website of webpage and backstage service module in same territory, can also be applied to website and backstage service module in same area not.
Optionally, in above-mentioned literal input implementation method, be converted to corresponding character and specifically comprise: the backstage service module obtains coding; Utilize the character input method program that coding and decoding is obtained corresponding to the literal of encoding.Can set up the backstage service module in advance by service provider, this backstage service module provides service for the input method of browser end.
Optionally, in above-mentioned literal input implementation method, step S30 specifically comprises: literal is sent to webpage; The program that embeds in advance in the webpage is performed with display text; Accept the selection of user to literal.For example, the backstage service module is according to the script request, and corresponding input method data are decoded in the use input method database, and the candidate that obtains after the decoding is sent to script, and script show candidate word is selected for the user.
Fig. 2 shows the process flow diagram of literal input implementation method in accordance with a preferred embodiment of the present invention, may further comprise the steps:
Step S202 sets up distribution in advance at input server (being the backstage service module) and embeds code (for example JavaScript script);
Step S204 embeds input code in the website;
Below be example: the file jie2ime.js that leaves under the catalogue jie2ime, with label<script〉form join the webpage bottom
<script?type=″text/javascript″language=″javascript″
src=″jie2ime/jie2_ime.js″>
</script>
When step S206, browser carry out the webpage of this website, carry out the input code (being the JavaScript script) that embeds, thereby present inputting interface, respond user's input coding, and coding is sent to the website;
Step S208, the website transmission is decoded and is asked, if website and input server are then decoded and asked directly to send to the input server in same territory;
Step S210, server or script are realized cross-domain processing, the request of will decoding is forwarded to the input server;
Step S212, the input server is finished decoding, generates prepare word;
Step S214, the input server returns to browser with prepare word.
Fig. 3 shows according to an embodiment of the invention, and browser specifically comprises: catch the click of user to input control by the screenshot capture of the coding of the input control reception input of webpage; Provide the coding menu to accept the user to coding selection; Selected coding is input in the input control.
Present computer input method for Chinese character is based on all that traditional English Typing keyboard designs, and the operation of internet web page mainly is to use indication formula equipment such as mouse to operate.This has just caused in the Chinese character reciprocal process of webpage, and the user must constantly frequently be switched between mouse, keyboard equipment, inefficient operation, very inconvenience.And the foregoing description only makes mouse-based operation, just can select the input characters coding from the soft keyboard that screen provides, thereby avoid above-mentioned troublesome operation.
Optionally, in above-mentioned literal input implementation method, coding is stroke coding, radical-code, Pinyin coding or root coding.This can realize that multiple mode imports Chinese character, is user-friendly to.
Optionally, shown in the embodiment of Fig. 3, coding is a stroke coding, comprising: " one ", and---------left-falling stroke, " Dian "---point and " second "---are rolled over for perpendicular, " Pie " for horizontal, " Shu ".This helps realizing simple on-screen keyboard, reduces user's encode Chinese characters for computer memory capacitance.
Optionally, literal is Chinese character, Japanese, Korean, German, French, Italian, Spanish, Russian or Arabic.The above embodiment of the present invention obviously is not limited to any specific literal, and those skilled in the art can thought according to the present invention realize combining of network application softwares such as various literal inputs and browser.For example, Japanese input method software is installed on the service module of backstage, just can on English operation system, be realized Japanese input webpage.The website of prior art only provides a kind of fixing input method usually, and the user can't select according to the custom of oneself, uses very inconvenience.And the backstage service module can be installed multilingual input methods, thereby can at random select for the user.
Optionally, in above-mentioned literal input implementation method, server or script are transmitted specifically and are comprised: at server end runtime server end program or script, java script (JavaScript) is called WebService by visiting this server or script then, with to backstage service module refer request, make the script input realize cross-domain operation, when online input of the present invention is used in the website, must use server or script refer request data on this website to arrive backstage of the present invention service module, just can reach the purpose that data are transmitted mutually.
Fig. 4 shows the block scheme of the literal input implement device that is used for webpage according to an embodiment of the invention, comprising:
Receiver module 10, the input control that is used to make browser pass through webpage receives the coding of importing;
Modular converter 20 is used to make described browser that described coding is sent to the backstage service module, to be converted to corresponding character;
Output module 30 is used for described backstage service module described literal is sent to described browser, to accept user's selection.
This literal input implement device is decoded into literal by coding being delivered to the backstage service module, passes webpage again back, thereby no longer needs the operating system installation character input method.And this input method is by the backstage service module literal of decoding, so webpage only need carry out the transmission of information, and no longer need to install input method procedure, therefore what also solved prior art passes through webpage operation input method procedure, thereby can only realize the defective of words input in the fixing webpage of this website and webpage in the specific input control.Therefore this literal input implement device can all satisfy the interaction demand of user's browsing page on the operating system of any language.
In addition, install under the input method mode at the webpage of prior art, input method need load whole code table, and the process that loads code table is longer, and input efficiency is low.And this literal input implement device has been avoided the code table of webpage loading literal, so travelling speed is faster.
Obviously, those skilled in the art should be understood that, above-mentioned each module of the present invention or each step can realize with the general calculation device, they can concentrate on the single calculation element, perhaps be distributed on the network that a plurality of calculation element forms, alternatively, they can be realized with the executable program code of calculation element, carry out by calculation element thereby they can be stored in the memory storage, perhaps they are made into each integrated circuit modules respectively, perhaps a plurality of modules in them or step are made into the single integrated circuit module and realize.Like this, the present invention is not restricted to any specific hardware and software combination.
The above is the preferred embodiments of the present invention only, is not limited to the present invention, and for a person skilled in the art, the present invention can have various changes and variation.Within the spirit and principles in the present invention all, any modification of being done, be equal to replacement, improvement etc., all should be included within protection scope of the present invention.

Claims (9)

1. a literal input implementation method that is used for webpage is characterized in that, may further comprise the steps:
Browser receives the coding of input by the input control of webpage;
Described browser is sent to the backstage service module with described coding, to be converted to corresponding character;
Described backstage service module is sent to described browser with described literal, to accept user's selection;
In described webpage, embed script in advance or in described browser, embed plug-in unit.
2. literal input implementation method according to claim 1 is characterized in that, browser specifically comprises by the coding of the input control reception input of webpage:
Described browser is carried out described script or is called the coding of described plug-in unit with user's input of catching described input control and receiving.
3. literal according to claim 1 input implementation method is characterized in that, provides the website of described webpage and described backstage service module in same territory,
Described browser is sent to the backstage service module with described coding and specifically comprises:
Described browser is carried out described script or is called described plug-in unit so that described coding is sent to described website;
Described website directly sends to described backstage service module with described coding;
Described backstage service module is sent to described browser with described literal, specifically comprises with the selection of accepting the user:
Described backstage service module sends to described browser with described literal;
Described browser is carried out described script or is called described plug-in unit to show described literal;
Described browser is carried out described script or is called described plug-in unit to accept the selection of user to described literal.
4. literal input implementation method according to claim 1 is characterized in that,
Described browser is sent to the backstage service module with described coding and specifically comprises:
Described browser is carried out described script or is called described plug-in unit described coding is sent to the website that described webpage is provided;
Described website sends to server or script with described coding, is transmitted to described backstage service module by described server or script;
Described backstage service module is sent to described browser with described literal, specifically comprises with the selection of accepting the user:
Described backstage service module sends to described browser with described literal;
Described browser is carried out described script or is called described plug-in unit to show described literal;
Described browser is carried out described script or is called described plug-in unit to accept the selection of user to described literal.
5. literal input implementation method according to claim 1 is characterized in that, is converted to corresponding character and specifically comprises:
Described backstage service module obtains described coding;
Utilize the character input method program that described coding and decoding is obtained literal corresponding to described coding.
6. literal input implementation method according to claim 1 is characterized in that, described browser specifically comprises by the coding of the input control reception input of webpage:
Catch the click of user to described input control;
Provide the coding menu to accept the user to described coding selection;
Selected coding is input in the described input control.
7. literal input implementation method according to claim 6 is characterized in that described coding is stroke coding, radical-code, Pinyin coding or root coding.
8. literal input implementation method according to claim 6 is characterized in that described coding is a stroke coding, comprising: " one ", and---------left-falling stroke, " Dian "---point and " second "---are rolled over for perpendicular, " Pie " for horizontal, " Shu ".
9. according to each described literal input implementation method of claim 1 to 8, it is characterized in that described literal is Chinese character, Japanese, Korean, German, French, Italian, Spanish, Russian or Arabic.
CN2009101260522A 2009-03-04 2009-03-04 Words input implementing method used for web page Expired - Fee Related CN101488154B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2009101260522A CN101488154B (en) 2009-03-04 2009-03-04 Words input implementing method used for web page

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2009101260522A CN101488154B (en) 2009-03-04 2009-03-04 Words input implementing method used for web page

Publications (2)

Publication Number Publication Date
CN101488154A CN101488154A (en) 2009-07-22
CN101488154B true CN101488154B (en) 2011-10-05

Family

ID=40891044

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2009101260522A Expired - Fee Related CN101488154B (en) 2009-03-04 2009-03-04 Words input implementing method used for web page

Country Status (1)

Country Link
CN (1) CN101488154B (en)

Families Citing this family (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP5921527B2 (en) * 2010-04-12 2016-05-24 グーグル インコーポレイテッド Extended framework for input method editor
CN101893995A (en) * 2010-07-15 2010-11-24 汉王科技股份有限公司 Method and system for implementing hand input on webpage
CN103714085A (en) * 2012-10-09 2014-04-09 东芝泰格信息***(深圳)有限公司 Website design method with Chinese character inputting
CN104375660B (en) * 2013-08-16 2017-08-04 文鼎科技开发股份有限公司 Multiword collection one character code input method, system and device
CN103631886B (en) * 2013-11-15 2018-03-09 北京奇虎科技有限公司 In the method and apparatus that browser side is inputted
CN104866115B (en) * 2014-02-24 2019-01-08 腾讯科技(深圳)有限公司 A kind of characters input method and browser
CN110850964A (en) * 2019-10-12 2020-02-28 重庆爱奇艺智能科技有限公司 Method, device and system for remotely inputting VR equipment

Also Published As

Publication number Publication date
CN101488154A (en) 2009-07-22

Similar Documents

Publication Publication Date Title
CN101488154B (en) Words input implementing method used for web page
CN102693280B (en) Webpage browsing method, WebApp framework, method and device for executing JavaScript, and mobile terminal
CN110442811A (en) A kind of processing method of the page, device, computer equipment and storage medium
CN103577597A (en) Keyword searching system based on current browse webpage
US20110320957A1 (en) Method and apparatus for analyzing usage patterns and customizing a graphic interface for individual users
CN102609264A (en) Method and device for generating calling codes by calling application programming interfaces
CN104978317A (en) Webpage generating method, webpage generating device, website generating method and website building server
CN103577427A (en) Browser kernel based web page crawling method and device and browser containing device
CN102298599A (en) Method and system for browsing web pages in offline state
CN102880711A (en) Processing method and processing device for input data in browser address bar
CN102831150B (en) Browser and local exchange method, system and the terminal applied
CN104978373A (en) Webpage display method and webpage display device
CN104021154A (en) Method and device for searching browser
CN103412944A (en) Internet addressing method and device
CN105528369A (en) Webpage transcoding method and device and server
CN100419758C (en) An embedded browsing device and method
CN104143110A (en) Two-dimensional code generating method with web site information
CN101876998A (en) Method and system for editing data
CN103718179A (en) Information processing apparatus, information processing method, information processing program, and storage medium having information processing program stored therein
KR20120137629A (en) System for providing shorten url browsing with branding , method thereof, and web client thereof
CN104239454A (en) Searching method and device
CN102314468A (en) Synchronous browse method
CN107436927B (en) Application method and system of UI component
CN104239452A (en) Method and device for resource acquisition
CN101441628A (en) Intelligent client terminal website system based on desktop application program

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
TR01 Transfer of patent right
TR01 Transfer of patent right

Effective date of registration: 20210303

Address after: Room 301, 3rd floor, Xi'an photoelectric Park, No.77, Keji 2nd Road, Zhangba Street office, high tech Zone, Xi'an City, Shaanxi Province, 710077

Patentee after: XI'AN YOURS-IOT TECH Co.,Ltd.

Address before: 710000, Xi'an hi tech Zone, Shaanxi Province, 77 science and technology two, 5 national optoelectronic base

Patentee before: Xi'an Shuangjie Technology Co.,Ltd.

CF01 Termination of patent right due to non-payment of annual fee
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20111005

Termination date: 20210304