CN101848204A - Data communication method of set top box Chinese input method based on server - Google Patents

Data communication method of set top box Chinese input method based on server Download PDF

Info

Publication number
CN101848204A
CN101848204A CN201010132038A CN201010132038A CN101848204A CN 101848204 A CN101848204 A CN 101848204A CN 201010132038 A CN201010132038 A CN 201010132038A CN 201010132038 A CN201010132038 A CN 201010132038A CN 101848204 A CN101848204 A CN 101848204A
Authority
CN
China
Prior art keywords
input
input method
server
home appliance
network home
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
CN201010132038A
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.)
Inspur Electronic Information Industry Co Ltd
Original Assignee
Langchao Electronic Information Industry 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 Langchao Electronic Information Industry Co Ltd filed Critical Langchao Electronic Information Industry Co Ltd
Priority to CN201010132038A priority Critical patent/CN101848204A/en
Publication of CN101848204A publication Critical patent/CN101848204A/en
Pending legal-status Critical Current

Links

Landscapes

  • Information Transfer Between Computers (AREA)

Abstract

The invention relates to a communication method of a Chinese input method based on a server, realized aiming at a set top box of an interactive TV. Capability of data communication without page refreshing is realized in a browser of the set top box. The invention overcomes the problem of nonsupport AJAX (Asynchronous JavaScript and XML) of some embedded browsers and improves the input efficiency. A JavaScript object is set in an input method page, when data input by a user need to be uploaded to the server for carrying out input method calculation, the data input by the user are used as a query string to be added behind the URL (Uniform Resource Locator) of the input method page of the server to evaluate the SRC (Standard Requirement Code) of the JavaScript, thus the submission of the input content is realized. When the server receives the requested URL, the query string of the URL is picked for the input of the user, the input method calculation is carried out accordingly, and calculation results form the Java Script to be returned to the browser of the set top box, thus the pass back of the input method results is realized.

Description

Data communications method based on the set-top box Chinese character coding input method of server
Technical field
The present invention relates to a kind of network media technical field, specifically a kind of data communications method of the set-top box Chinese character coding input method based on server.
Background technology
Household electrical appliance have had network communications capability gradually to intellectuality and Informatization Development, make network home appliance no longer only have simple controlled function, but also can carry out complicated information processing and information communication ability.So only be the function that simple key-press just can not be brought into play alternately network home appliance, require the user can inputting word information, import as the memory contents of refrigerator.
Wherein at present most widely used in digital household appliances is digital TV set-top box or digital TV integrated machine, has realized in the city popularizing.For interactive service such as video request program further is provided to spectators, set-top box has realized network function to carry out information interaction with head end server, makes user's program request instruction can pass back to head end server.In order to make the user can from the program of magnanimity, find oneself target program, the search function of program just need be provided for the user, improve search efficiency of users.Main way of search is to adopt the mode of program multiclass classification at present, makes the user select to look for by remote controller.In order further to improve program searching efficient, just need carry out content-based inquiry, as contents such as programm name, performer, director and the story of a play or opera being carried out accurate or fuzzy query, this just needs the user to carry out the input of literal.Utilize the network communications capability of set-top box can further carry out functions such as web browsing, Email, text chat, this just more needs the literal input.
For alphabetic writing country, in order to realize literal input, generally adopted the mode that is equipped with Wireless Keyboard for set-top box to import, or the expansion that utilizes the numerical key of remote controller to carry out letter is imported.For Chinese, Wireless Keyboard can not directly be imported, and need be converted to candidate's word by input method, can import through selecting again.This need bow repeatedly for domestic consumer and see and look up video screen by keyboard, uses extremely inconvenient.The input tool that is more suitable for should adopt remote controller.
In present network home appliance, do not realize Chinese character coding input method mostly, minority such as digital TV set-top box provide embedded Chinese character coding input method, but have very big defective aspect ease for use.The storage capacity of set-top box is limited, and integrated input method kind is less, particularly lacks phrase and associating input function, lacks the self-learning capability of the user being imported phrase.This makes input in Chinese efficient extremely low, has limited set-top box and has carried out interactive service.
Summary of the invention
The data communications method that the purpose of this invention is to provide a kind of set-top box Chinese character coding input method based on server.
The objective of the invention is to realize in the following manner, utilize the network communications capability of network home appliance, can focus on some special evaluation works on the server and realize, network home appliance is responsible for affairs such as input and output as client computer, thereby realizes limiting the function that is difficult to provide aspect hardware or the software because of network home appliance.
Comprise network home appliance, input method server and the Internet with set top box network interface, wherein the input method server is born the core calculations of Chinese character coding input method, network home appliance is responsible for receiving the result of calculation of user key-press and the passback of display input method server, and the data communication step is as follows:
J, in needs when Chinese input, network home appliance is switched to the input in Chinese pattern;
K, user utilize remote controller, Wireless Keyboard or integrated button input on network home appliance;
L, network home appliance transmit user input content and are submitted to the input method server by the Internet;
M, input method server carry out input method according to user input content and calculate, and form the result of calculation of candidate's word, candidate word;
N, input method server return to network home appliance to input in Chinese result of calculation by the Internet;
O, network home appliance show on screen as input in Chinese result of calculations such as candidate's word, candidate word;
P, user select therefrom to select, and realize input in Chinese;
Q, selection result are submitted to the input method server simultaneously;
R, realize carrying out between each network home appliance sharing of self-built phrase by the Internet and input method server, when on a network home appliance, having imported the speech that does not belong in the input method dictionary, the input method server can further carry out association and calculate, form candidate word, and be increased in the dictionary, when other network home appliance input needed this speech of input, the input method server can provide simplification input or association's input of this speech.
The advantage of the data communications method of the set-top box Chinese character coding input method based on server of the present invention is as follows
1) low to the network home appliance hardware requirement: network home appliance is only born input and output, does not bear concrete input method and calculates, and is very low to the requirement of the disposal ability of network home appliance and storage capacity, makes the simple network home appliance of some functions also can realize the input in Chinese ability;
2) phrase and association's input capability: traditional network home appliance is subject to processing the restriction of ability and storage capacity, the individual character input generally only is provided, minority can provide dictionary on a small scale, when the input Chinese character, can't make full use of Chinese character phrase characteristic by input or association's input mode improve input efficiency in groups.The input method server carries out the Chinese character input and calculates, and can make full use of powerful processing of server and storage capacity, realizes large-scale dictionary, can greatly improve user's Chinese character input efficiency;
3) input method has self-learning capability: in Chinese character input process, utilize dictionary can effectively improve input efficiency, but can't cover some special-purpose phrases of user comprehensively, as name, title, term etc.These special-purpose phrases frequency of occurrences in user's use is higher, in order further to improve input in Chinese efficient, generally in input method, realize self-learning capability, can find and be increased to dictionary, the efficient of these speech of input after improving the phrase that the user often imports.But in network home appliance, generally do not possess enough local memory spaces, embedded input method is fixed, and can't realize self-learning capability.Utilizing the input method server to carry out input method calculates, utilize its strong calculation and processing ability to carry out statistical analysis to user's input content, summary extracts the phrase that does not comprise in the dictionary, utilize the mass memory ability of server to add in the dictionary, with the input efficiency of this speech after improving.By self study, can make dictionary constantly obtain building like this, continue to improve input efficiency.
3) input method is convenient to upgrading and expansion: the built-in Chinese character coding input method of network home appliance all is stored among the Firmware, if carry out the upgrading of input method, perhaps expands new input method, all needs Firmware to network home appliance to upgrade again and refreshes.Upgrade for the network home appliance that is distributed in a large amount of families and to be unusual difficulty, cause version inconsistent easily, and there is certain risk in the escalation process, in general generally can not carry out the upgrading of Firmware unless it is absolutely necessary, therefore minimum for the possibility of the built-in input method upgrading of network home appliance or expansion.And for input method implementation method of the present invention, it all is to realize on the input method server that input method is calculated, and network home appliance only is responsible for input and output, and the calculating of input method and its have nothing to do.Therefore the input method of upgrading just can directly be carried out software upgrading on the input method server, user of all-network household electrical appliances uses after this is exactly input method after the renewal, does not need the Firmware of changed network household electrical appliances fully.Equally, expand new input method, just can increase new service on the input method server, then the all-network household electrical appliances just can increase new Chinese character input method.
4) platform-neutral: the built-in input method of network home appliance is closely-coupled with this network home appliance hardware and software platform, is difficult in to share input method between the product of different platform or different manufacturers.And the present invention is born the calculating of input method by the input method server, and network home appliance only need carry out the INTERFACE DESIGN of input and output, and according to realizing the input in Chinese function with the network communication protocol of input method server.Therefore only need just develop on a small quantity for the network home appliance of various platforms and different manufacturers and can increase the input in Chinese function.
Embodiment
Different set box browsers is supported the situation difference to script, and the input response of concrete input method is also different, and the present invention only describes implementation method with following example:
In interactive television system, dispose an input method server, the IP address is 10.30.11.57.Server operation Web service provides dynamic web page input.jsp as the interface of submitting the user key-press input to set-top box.When the user pressed the numerical key " 3 " of remote controller, then the mode of this page of set-top box http protocol visit for ratification input method server was submitted user's input to, is the URL of HTTP request HTTP: // 10.30.11.57/input.jsp? Key=3.
Web service can be imported set-top box by its dynamic web page of visit with the button of submitting the user to.Server carries out input method based on user's input and calculates, and the result returns to set-top box.
On the EPG server, have needs to carry out the page of input in Chinese, for the input method server communication, in the page, increase the JavaScript scripting object that a content be a sky, as follows:
<SCRIPT?LANGUAGE=JavaScript?ID=Exchange></SCRIPT>
When set-top box is browsed this page, and when carrying out input in Chinese, receiving the button input of user by remote controller or Wireless Keyboard, as " 3 ", then button incoming event response function is kept at key value among the variable Click.Button incoming event response function upgrades the SRC attribute of JavaScript scripting object then:
Exchange.SRC=″HTTP://10.30.11.57/input.asp?Key=″+Click;
So browser will send the http request to input method server 10.30.11.57, is the URL of this request HTTP: // 10.30.11.57/input.jsp? Key=3.
The input.jsp page of input method server extracts querystring from the URL of HTTP request value is " 3 ", as user's up-to-date button input.Add that the key value " 5 " and " 4 " that send previously obtain button list entries " 543 ", the input method server calculates according to the spelling input method of set-top box numerical key, obtain corresponding phonetic and be " jie " and " lie ", each self-corresponding Chinese character for " take off connect all rank, straw street cut rob the outstanding prompt eyelash of joint tangerine and exhaust clean knot and separate elder sister and guard against mat mustard circle and borrow Jie's scabies to warn " and " row grin split strong hunt bad ice-cold ".So the input method server generates following JavaScript shell script:
Var Npingyin; Var PY=new Array[2]; Var Nzi=new Array[2]; Var Zi=new Array[2]; Npinyin=2; PY[0]=' jie '; PY[1]=' lie '; Nzi[0]=27; Nzi[1]=7; Zi[0]=' take off connect all rank, straw street cut rob the outstanding prompt eyelash of joint tangerine exhaust clean knot separate elder sister guard against mat mustard circle borrow Jie's scabies commandment '; Zi[1]=' row grin split strong hunt bad ice-cold ';
The input method server returns to set-top box to this JavaScript shell script as the HTTP response content then.
After set box browser receives, be filled to the content of JavaScript scripting object Exchange, and therefrom extract candidate pinyin and candidate's word is presented on the television set, select for the user.

Claims (2)

1. based on the data communications method of the set-top box Chinese character coding input method of server, it is characterized in that comprising network home appliance, input method server and the Internet with set top box network interface, wherein the input method server is born the core calculations of Chinese character coding input method, network home appliance is responsible for receiving the result of calculation of user key-press and the passback of display input method server, and the data communication step is as follows:
A, in needs when Chinese input, network home appliance is switched to the input in Chinese pattern;
B, user utilize remote controller, Wireless Keyboard or integrated button input on network home appliance;
C, network home appliance transmit user input content and are submitted to the input method server by the Internet;
D, input method server carry out input method according to user input content and calculate, and form the result of calculation of candidate's word, candidate word;
E, input method server return to network home appliance to input in Chinese result of calculation by the Internet;
F, network home appliance show on screen as input in Chinese result of calculations such as candidate's word, candidate word;
G, user select therefrom to select, and realize input in Chinese;
H, selection result are submitted to the input method server simultaneously;
I, realize carrying out between each network home appliance sharing of self-built phrase by the Internet and input method server, when on a network home appliance, having imported the speech that does not belong in the input method dictionary, the input method server can further carry out association and calculate, form candidate word, and be increased in the dictionary, when other network home appliance input needed this speech of input, the input method server can provide simplification input or association's input of this speech.
2. method according to claim 1 is characterized in that, the input method service software is upgraded in good time and expands by the input method server, and the method that the user uses network home appliance to carry out input in Chinese has obtained the upgrading and the expansion of response automatically.
CN201010132038A 2010-03-25 2010-03-25 Data communication method of set top box Chinese input method based on server Pending CN101848204A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201010132038A CN101848204A (en) 2010-03-25 2010-03-25 Data communication method of set top box Chinese input method based on server

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201010132038A CN101848204A (en) 2010-03-25 2010-03-25 Data communication method of set top box Chinese input method based on server

Publications (1)

Publication Number Publication Date
CN101848204A true CN101848204A (en) 2010-09-29

Family

ID=42772667

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201010132038A Pending CN101848204A (en) 2010-03-25 2010-03-25 Data communication method of set top box Chinese input method based on server

Country Status (1)

Country Link
CN (1) CN101848204A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101930297A (en) * 2010-07-23 2010-12-29 百度在线网络技术(北京)有限公司 Method, device and system for user to perform text input in network interaction

Citations (5)

* 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
US20080195582A1 (en) * 2007-02-08 2008-08-14 Bellsouth Intellectual Property Corporation Context Based Keyword Search
CN101308515A (en) * 2008-06-26 2008-11-19 无敌科技(西安)有限公司 Input method possessing association function
CN101431625A (en) * 2008-12-10 2009-05-13 上海集通数码科技有限责任公司 Remote controller with words input function and method for implementing words input
CN101621611A (en) * 2009-07-28 2010-01-06 北京惠信博思技术有限公司 Method and system for inputting characters in digital television system

Patent Citations (5)

* 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
US20080195582A1 (en) * 2007-02-08 2008-08-14 Bellsouth Intellectual Property Corporation Context Based Keyword Search
CN101308515A (en) * 2008-06-26 2008-11-19 无敌科技(西安)有限公司 Input method possessing association function
CN101431625A (en) * 2008-12-10 2009-05-13 上海集通数码科技有限责任公司 Remote controller with words input function and method for implementing words input
CN101621611A (en) * 2009-07-28 2010-01-06 北京惠信博思技术有限公司 Method and system for inputting characters in digital television system

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101930297A (en) * 2010-07-23 2010-12-29 百度在线网络技术(北京)有限公司 Method, device and system for user to perform text input in network interaction
CN101930297B (en) * 2010-07-23 2013-09-04 百度在线网络技术(北京)有限公司 Method, device and system for user to perform text input in network interaction

Similar Documents

Publication Publication Date Title
US11886474B2 (en) Method and system for processing ambiguous, multi-term search queries
US20220188309A1 (en) Methods, systems, and media for interpreting queries
CN100409241C (en) Information searching method and system based on searching engine
JP4909334B2 (en) Service proposal apparatus and method, service proposal system, service proposal apparatus and method based on user&#39;s favorite base
US8661041B2 (en) Apparatus and method for semantic-based search and semantic metadata providing server and method of operating the same
JP5133984B2 (en) Input candidate providing device, input candidate providing system, input candidate providing method, and input candidate providing program
JP2010527088A (en) Method and system for providing appropriate information to users of devices in a local network
CN101770499A (en) Information retrieval method in search engine and corresponding search engine
Lai et al. A personalized mobile IPTV system with seamless video reconstruction algorithm in cloud networks
CN102497452A (en) Online streaming media service method based on embedded terminal
CN104090887A (en) Music search method and device
WO2010124511A1 (en) Intelligent operating system and method
CN103384883A (en) Semantic enrichment by exploiting Top-K processing
WO2014056361A1 (en) A method and a device for prompting webpage address
KR100729184B1 (en) Method and Apparatus for searching related information by using associated keyword
JP5310250B2 (en) Information processing apparatus and information processing method
CN102209259A (en) Method and system for dynamically generating movie cover wall
CN102436458B (en) A kind of method of command analysis and system thereof
CN101610393A (en) IPTV system and program information search system thereof and method
JP2005501343A (en) Automatic question construction from user selection in multimedia content
KR20110050823A (en) Apparatus and method for establishing search database for knowledge node coupling structure
JP5185891B2 (en) Content providing apparatus, content providing method, and content providing program
CN102469361B (en) Method for automatically downloading interlude of television program and television
CN101848204A (en) Data communication method of set top box Chinese input method based on server
CN101776980A (en) Network household appliance Chinese input method

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C02 Deemed withdrawal of patent application after publication (patent law 2001)
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20100929