CN110471537A - A kind of WEB cloud input method based on B/S framework - Google Patents

A kind of WEB cloud input method based on B/S framework Download PDF

Info

Publication number
CN110471537A
CN110471537A CN201910776322.8A CN201910776322A CN110471537A CN 110471537 A CN110471537 A CN 110471537A CN 201910776322 A CN201910776322 A CN 201910776322A CN 110471537 A CN110471537 A CN 110471537A
Authority
CN
China
Prior art keywords
module
input method
word
method based
web
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
CN201910776322.8A
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.)
GUANGDONG CHUANGNENG TECHNOLOGY Co Ltd
Original Assignee
GUANGDONG CHUANGNENG 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 GUANGDONG CHUANGNENG TECHNOLOGY Co Ltd filed Critical GUANGDONG CHUANGNENG TECHNOLOGY Co Ltd
Priority to CN201910776322.8A priority Critical patent/CN110471537A/en
Publication of CN110471537A publication Critical patent/CN110471537A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/02Input arrangements using manually operated switches, e.g. using keyboards or dials
    • G06F3/023Arrangements for converting discrete items of information into a coded form, e.g. arrangements for interpreting keyboard generated codes as alphanumeric codes, operand codes or instruction codes
    • G06F3/0233Character input methods
    • G06F3/0237Character input methods using prediction or retrieval techniques

Abstract

The WEB cloud input method based on B/S framework that the invention discloses a kind of, including engine modules and client modules, the engine modules include receiving module, processing module, memory module and respond module, the receiving module, processing module, memory module and respond module are connected with each other, the client modules include request module, parsing module and display module, the request module, parsing module and display module are connected with each other, structure of the invention is scientific and reasonable, it is safe and convenient to use, the present invention can make input method be fully deployed in cloud server, input method client is embedded in the main program based on WEB, using WEB technological development, it is operated in client browser/class browser environment by server distribution, and input method engine is then deployed in cloud server, pass through the company of WebSocket Mode is connect to interact with input method client, can make based on WEB using built-in one Full Featured input method application.

Description

A kind of WEB cloud input method based on B/S framework
Technical field
The present invention relates to input method technique field, specially a kind of WEB cloud input method based on B/S framework.
Background technique
Input method refers to the coding method used for various symbols are inputted computer or other equipment, is divided into two substantially Class: one, based on font justice, input is fast and accuracy is high, but needs special study;Two, based on word tone, accuracy is not High (thering is built-in dictionary right pop language, idiom to influence little), but keyboard is printed on phonetic alphabet at present, therefore input commonly used words Shi Wuxu specially learns;
For the application based on WEB front-end technological development, especially operates in no keyboard and mouse and only have on the machine of touch screen When, such as say the touch screen self-aided terminal etc. in the automatic ticket taking machine of the touch screen of cinema, bank, using WEB technology structure Build always a good selection of such application, since WEB has a cross-platform characteristic, no matter target machine be Android, The systems such as Linux, Windows, we can come in deployment browser above or embedded browser execution environment easily Run our WEB application;
Such case especially on the machine that no keyboard and mouse only has touch screen, a critically important function be exactly be user The input method of a set of touch screen version is provided, the functions such as dummy keyboard, handwriting pad are provided, the solution of mainstream is in client at present Hold and input method application be installed in operating system, such input method belongs to the input method of system level, need for different systems= Corresponding version is provided,
And the main program based on WEB front-end technological development is due to operating in browser sandbox, with system-level native applications Input method has different running environment, different development language obstacle, it means that the interaction of the two, exploitation, maintenance cost Greatly, if we need to customize input method height, we at least need the development teams of another native applications to be directed to Input method exploitation to reply system input method, if the system type more than one used on our target machine, this at This meeting is bigger.
Summary of the invention
The present invention provides a kind of WEB cloud input method based on B/S framework, can effectively solve to propose in above-mentioned background technique The problem of.
To achieve the above object, the invention provides the following technical scheme: a kind of WEB cloud input method based on B/S framework, packet Include engine modules and client modules;
The engine modules and client modules are interacted by WebSocket connection type;
The engine modules include receiving module, processing module, memory module and respond module;
The receiving module, processing module, memory module and respond module are connected with each other;
The client modules include request module, parsing module and display module;
The request module, parsing module and display module are connected with each other.
According to the above technical scheme, word and rarely used word are downloaded to cloud server by network by the memory module, And cloud server is downloaded to for hot word, cyberspeak and the expression packet in network, and for wrong other word and phonetic It is downloaded, and regularly updates, the normal word of cloud server is kept to save.
According to the above technical scheme, the request module is carried out by coming from keyboard and soft keyboard input terminal phonetic alphabet Then the letter of input is passed through network real-time delivery to receiving module by automatic segmentation;
For the included handwriting input real-time delivery by handwriting pad and input method to receiving module.
According to the above technical scheme, then the receiving module is compared by receiving information with memory module.
According to the above technical scheme, the processing module will carry out data comparison in the word of input and memory module, into Row anticipation and correction, and judge the correctness of input method;
In hand-written input method, traditional font and simplified judgement are carried out for hand-written font;
In the later period in comparison, according to usage record before, to judge the high word of frequency of use according to frequency of use Language and short sentence send display module for word and short sentence to be ranked up, and existing expression packet is retrieved.
According to the above technical scheme, the respond module responds received data information, consequently facilitating guaranteeing Data normally receive, and when network state is bad, data are compressed, and reduce the space of storage, accelerate transmission Rate.
According to the above technical scheme, the parsing module carries out the conversion of data after receiving the information of processing module, And skin used in input method is converted accordingly, thus the display format needed for being formed.
According to the above technical scheme, the information that the display module sends parsing module, is shown, and is arranged The item number and expression packet of display, and the word more for input number carries out front and back sequence, shows in input method;
In display, for hand-written input terminal from information, carry out simplified and traditional font font and shown, but for Expression packet is not shown.
According to the above technical scheme, when the parsing module occurs wrong in parsing, data is passed again to and are asked Modulus block carries out secondary treatment for the information of input method, and the BUG of this error is saved by memory module, BUG reparation is carried out convenient for the administrative staff on backstage.
According to the above technical scheme, the processing module is daily update for hot word, for cyberspeak and expression packet Carry out week more.
Compared with prior art, beneficial effects of the present invention: structure of the invention is scientific and reasonable, safe and convenient to use:
1, the present invention can make input method be fully deployed in cloud server, and input method client is embedded in the main journey based on WEB In sequence, using WEB technological development, operated in client browser/class browser environment by server distribution, and input method Engine is then deployed in cloud server, is interacted by the connection type of WebSocket with input method client.
2, can make based on WEB using built-in one Full Featured input method application, and the complete of input method can be possessed Portion's control uses same development language with main program, is conveniently customized, integrates.
3, development cost is low, and special exploitation group need not be added for target machine to input method client customization/modification Team.
4, exempt to install cross-platform: once writing any platform can use, and it is clear that browser/class is operated in together with main program It lookes in device environment.
5, be convenient for upgrade maintenance: server update can cover armamentarium, it is not necessary to individually redeploy in every terminal.
6, server end can dynamic/management hot topic word, and client comes into force in real time, and input method engine distribution is taking Be engaged in device end, can popular vocabulary real-time management, such as add the movie name shown.
Detailed description of the invention
Attached drawing is used to provide further understanding of the present invention, and constitutes part of specification, with reality of the invention It applies example to be used to explain the present invention together, not be construed as limiting the invention.
In the accompanying drawings:
Fig. 1 is system schematic of the invention.
Specific embodiment
Hereinafter, preferred embodiments of the present invention will be described with reference to the accompanying drawings, it should be understood that preferred reality described herein Apply example only for the purpose of illustrating and explaining the present invention and is not intended to limit the present invention.
Embodiment: as shown in Figure 1, present invention offer technical solution, a kind of WEB cloud input method based on B/S framework, including Engine modules and client modules;
Engine modules and client modules are interacted by WebSocket connection type;
Engine modules include receiving module, processing module, memory module and respond module;
Receiving module, processing module, memory module and respond module are connected with each other;
Client modules include request module, parsing module and display module;
Request module, parsing module and display module are connected with each other.
According to the above technical scheme, word and rarely used word are downloaded to cloud server by network by memory module, and Cloud server is downloaded to for hot word, cyberspeak and the expression packet in network, and wrong other word and phonetic are carried out Downloading, and regularly update, keep the normal word of cloud server to save.
According to the above technical scheme, request module is carried out automatic by coming from keyboard and soft keyboard input terminal phonetic alphabet Then the letter of input is passed through network real-time delivery to receiving module by segmentation;
For the included handwriting input real-time delivery by handwriting pad and input method to receiving module.
According to the above technical scheme, then receiving module is compared by receiving information with memory module.
According to the above technical scheme, processing module will carry out data comparison in the word of input and memory module, carry out pre- Sentence and correct, and judges the correctness of input method;
In hand-written input method, traditional font and simplified judgement are carried out for hand-written font;
In the later period in comparison, according to usage record before, to judge the high word of frequency of use according to frequency of use Language and short sentence send display module for word and short sentence to be ranked up, and existing expression packet is retrieved.
According to the above technical scheme, respond module responds received data information, consequently facilitating guaranteeing data Normally receive, when network state is bad, data are compressed, reduce the space of storage, accelerate transmission rate.
According to the above technical scheme, parsing module carries out the conversion of data after receiving the information of processing module, and right Skin used in input method is converted accordingly, thus the display format needed for being formed.
According to the above technical scheme, the information that display module sends parsing module, is shown, and display is arranged Item number and expression packet, and front and back sequence is carried out for the more word of input number, is shown in input method;
In display, for hand-written input terminal from information, carry out simplified and traditional font font and shown, but for Expression packet is not shown.
According to the above technical scheme, when parsing module occurs wrong in parsing, data is passed again to and ask modulus Block carries out secondary treatment for the information of input method, and the BUG of this error is saved by memory module, is convenient for The administrative staff on backstage carry out BUG reparation.
According to the above technical scheme, processing module is daily update for hot word, and cyberspeak and expression packet are carried out Zhou Geng.
Compared with prior art, beneficial effects of the present invention: structure of the invention is scientific and reasonable, safe and convenient to use:
1, the present invention can make input method be fully deployed in cloud server, and input method client is embedded in the main journey based on WEB In sequence, using WEB technological development, operated in client browser/class browser environment by server distribution, and input method Engine is then deployed in cloud server, is interacted by the connection type of WebSocket with input method client.
2, can make based on WEB using built-in one Full Featured input method application, and the complete of input method can be possessed Portion's control uses same development language with main program, is conveniently customized, integrates.
3, development cost is low, and special exploitation group need not be added for target machine to input method client customization/modification Team.
4, exempt to install cross-platform: once writing any platform can use, and it is clear that browser/class is operated in together with main program It lookes in device environment.
5, be convenient for upgrade maintenance: server update can cover armamentarium, it is not necessary to individually redeploy in every terminal.
6, server end can dynamic/management hot topic word, and client comes into force in real time, and input method engine distribution is taking Be engaged in device end, can popular vocabulary real-time management, such as add the movie name shown.
Finally, it should be noted that being not intended to restrict the invention the foregoing is merely preferred embodiment of the invention, to the greatest extent Present invention has been described in detail with reference to the aforementioned embodiments for pipe, for those skilled in the art, still can be with It modifies the technical solutions described in the foregoing embodiments or equivalent replacement of some of the technical features.It is all Within the spirit and principles in the present invention, any modification, equivalent replacement, improvement and so on should be included in guarantor of the invention Within the scope of shield.

Claims (10)

1. a kind of WEB cloud input method based on B/S framework, it is characterised in that: including engine modules and client modules;
The engine modules and client modules are interacted by WebSocket connection type;
The engine modules include receiving module, processing module, memory module and respond module;
The receiving module, processing module, memory module and respond module are connected with each other;
The client modules include request module, parsing module and display module;
The request module, parsing module and display module are connected with each other.
2. a kind of WEB cloud input method based on B/S framework according to claim 1, which is characterized in that the memory module Word and rarely used word are downloaded into cloud server by network, and for hot word, cyberspeak and the expression packet in network Cloud server is downloaded to, and wrong other word and phonetic are downloaded, and regularly updates, keeps cloud server Normal word saves.
3. a kind of WEB cloud input method based on B/S framework according to claim 1, which is characterized in that the request module By coming from keyboard and soft keyboard input terminal phonetic alphabet, automatic segmentation is carried out, it is real-time that the letter of input is then passed through network It is transmitted to receiving module;
For the included handwriting input real-time delivery by handwriting pad and input method to receiving module.
4. a kind of WEB cloud input method based on B/S framework according to claim 1, which is characterized in that the receiving module By receiving information, then compared with memory module.
5. a kind of WEB cloud input method based on B/S framework according to claim 1, which is characterized in that the processing module Data comparison will be carried out in the word of input and memory module, prejudged and corrected, and judge the correctness of input method;
In hand-written input method, traditional font and simplified judgement are carried out for hand-written font;
In the later period in comparison, according to usage record before, to judge the high word of frequency of use according to frequency of use Language and short sentence send display module for word and short sentence to be ranked up, and existing expression packet is retrieved.
6. a kind of WEB cloud input method based on B/S framework according to claim 1, which is characterized in that the respond module Received data information is responded, consequently facilitating guarantee normally receiving for data, it is right when network state is bad It is compressed in data, reduces the space of storage, accelerate transmission rate.
7. a kind of WEB cloud input method based on B/S framework according to claim 1, which is characterized in that the parsing module After receiving the information of processing module, the conversion of data is carried out, and skin used in input method is converted accordingly, To form required display format.
8. a kind of WEB cloud input method based on B/S framework according to claim 1, which is characterized in that the display module For parsing module send information, shown, and be arranged display item number and expression packet, and for input number compared with More words carries out front and back sequence, shows in input method;
In display, for hand-written input terminal from information, carry out simplified and traditional font font and shown, but for Expression packet is not shown.
9. a kind of WEB cloud input method based on B/S framework according to claim 1, which is characterized in that the parsing module When occurring mistake in parsing, data are passed again into request module, secondary treatment is carried out for the information of input method, and The BUG of this error is saved by memory module, carries out BUG reparation convenient for the administrative staff on backstage.
10. a kind of WEB cloud input method based on B/S framework according to claim 2, which is characterized in that the processing module It is daily update for hot word, is carried out more week for cyberspeak and expression packet.
CN201910776322.8A 2019-08-22 2019-08-22 A kind of WEB cloud input method based on B/S framework Pending CN110471537A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910776322.8A CN110471537A (en) 2019-08-22 2019-08-22 A kind of WEB cloud input method based on B/S framework

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910776322.8A CN110471537A (en) 2019-08-22 2019-08-22 A kind of WEB cloud input method based on B/S framework

Publications (1)

Publication Number Publication Date
CN110471537A true CN110471537A (en) 2019-11-19

Family

ID=68512760

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910776322.8A Pending CN110471537A (en) 2019-08-22 2019-08-22 A kind of WEB cloud input method based on B/S framework

Country Status (1)

Country Link
CN (1) CN110471537A (en)

Citations (6)

* 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
CN102087550A (en) * 2009-12-07 2011-06-08 北京搜狗科技发展有限公司 Hardware equipment as well as method and system for inputting therein
CN102163198A (en) * 2010-02-24 2011-08-24 北京搜狗科技发展有限公司 A method and a system for providing new or popular terms
CN104834633A (en) * 2015-05-29 2015-08-12 厦门大学 Cloud translation input method and system
CN105516157A (en) * 2015-12-16 2016-04-20 上海交通大学 Independent encryption based network information safe input system and method
CN108881480A (en) * 2018-07-25 2018-11-23 江西山水光电科技股份有限公司 A kind of method that webmastering software is interacted with equipment Telnet under B/S framework

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20020075300A1 (en) * 2000-06-02 2002-06-20 International Business Machines Corporation Network based input system and method
CN1330325A (en) * 2000-06-20 2002-01-09 国际商业机器公司 Input system and method based on network
CN102087550A (en) * 2009-12-07 2011-06-08 北京搜狗科技发展有限公司 Hardware equipment as well as method and system for inputting therein
CN102163198A (en) * 2010-02-24 2011-08-24 北京搜狗科技发展有限公司 A method and a system for providing new or popular terms
CN104834633A (en) * 2015-05-29 2015-08-12 厦门大学 Cloud translation input method and system
CN105516157A (en) * 2015-12-16 2016-04-20 上海交通大学 Independent encryption based network information safe input system and method
CN108881480A (en) * 2018-07-25 2018-11-23 江西山水光电科技股份有限公司 A kind of method that webmastering software is interacted with equipment Telnet under B/S framework

Similar Documents

Publication Publication Date Title
CN106970802B (en) Method and device for integrating programming script language in domain-specific language
US10929619B2 (en) Numerical generalization method for machine translation and system, computer and computer program thereof
JP4993319B2 (en) Apparatus and method for supporting verification of software internationalization
CN106843986A (en) The language collocation method and system of a kind of mobile terminal
CN109408247A (en) Interaction data processing method and device
CN109948213A (en) A kind of synergy emulation method and device based on FMI standard
Miranda et al. A comparative survey on flight software frameworks for ‘new space’nanosatellite missions
CN101246420A (en) Method and system for multi-language system implementing unified development
CN108563629B (en) Automatic log analysis rule generation method and device
US10754629B2 (en) Method for automated detection, correction, and translation of un-localized lines
WO2022266642A1 (en) Multilingual grammatical error correction
CN107391672A (en) The reading/writing method of data and the distributed file system of message
CN110471537A (en) A kind of WEB cloud input method based on B/S framework
CN112015374B (en) Cross-programming-language micro-service integration system based on natural language
CN113672208A (en) Low code development framework system for realizing compatible trust and creation adaptation based on computer software
US20090187601A1 (en) Automation process system and method to upgrade from non-unicode transformation support to unicode data transformation support
CN106773785B (en) Method for realizing nuclear safety level intelligent simulation verification platform based on FPGA technology
CN109254977A (en) Data creation method, big data air control platform and computer storage medium
CN106775914B (en) A kind of code method for internationalizing and device for automatically generating key assignments
CN107357569A (en) Explore of Unified Management Ideas and system, the computer-readable recording medium and equipment of multi-language source file
CN105279032B (en) A kind of method and device of sync cap message and javaBean
CN107239303A (en) The generation of application program update bag and method, the device of application program update
CN109960812B (en) Language processing method and device
CN102629213A (en) Analysis method and monitoring method for C language simulation model
CN114595702A (en) Text translation model training method, text translation method and related device

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination