CN115185709A - Cross-platform implementation method and system for applying input method to Web operating system - Google Patents

Cross-platform implementation method and system for applying input method to Web operating system Download PDF

Info

Publication number
CN115185709A
CN115185709A CN202210697278.3A CN202210697278A CN115185709A CN 115185709 A CN115185709 A CN 115185709A CN 202210697278 A CN202210697278 A CN 202210697278A CN 115185709 A CN115185709 A CN 115185709A
Authority
CN
China
Prior art keywords
layer
user
browser engine
interface
information
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
CN202210697278.3A
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.)
CETC 32 Research Institute
Original Assignee
CETC 32 Research Institute
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 CETC 32 Research Institute filed Critical CETC 32 Research Institute
Priority to CN202210697278.3A priority Critical patent/CN115185709A/en
Publication of CN115185709A publication Critical patent/CN115185709A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • 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/46Multiprogramming arrangements
    • G06F9/54Interprogram communication
    • G06F9/542Event management; Broadcasting; Multicasting; Notifications
    • 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
    • G06F16/957Browsing optimisation, e.g. caching or content distillation
    • G06F16/9577Optimising the visualization of content, e.g. distillation of HTML documents
    • 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
    • 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 provides a cross-platform implementation method and a system for applying an input method to a Web operating system, wherein the cross-platform implementation method comprises the following steps: step S1: the user interface layer transmits the information of the user interaction with the user to the browser engine layer; step S2: the information of the user interface layer and the user interaction is transmitted to the SDK layer through the browser engine layer; and step S3: the SDK layer generates corresponding UI graphic data and area coordinates needing redrawing according to the information of the user interface layer and the user interaction; and step S4: transmitting the UI graphic data to a browser engine layer for image rendering; step S5: and based on the image rendering of the browser engine layer, according to the obtained area coordinates needing redrawing, locally refreshing and displaying the area coordinates in the relevant area of the user interface layer.

Description

Cross-platform implementation method and system for applying input method to Web operating system
Technical Field
The invention relates to the technical field of mobile terminal operating systems and Web application processing, in particular to a cross-platform implementation method and a cross-platform implementation system of an input method applied to a Web operating system, and more particularly to a cross-platform implementation method and a cross-platform implementation system of an input method applied to a Yinhua operating system of the Galaxy.
Background
The Yinhua operating system is a home-made mobile terminal operating system modified based on open source WebOS. Currently, the WebOS has become the third largest operating system beyond IOS and Android systems, and more applications are beginning to be migrated to the WebOS. For graphic applications with User Interfaces (UIs), an architecture mode of separating interfaces and business logic is generally adopted, a business logic layer is generally developed by adopting C/C + +, the effect that a set of codes are compiled to run on a plurality of target platforms is achieved, the display of the interface layers (UIs) can be adapted according to graphic libraries of different platforms, java codes are used for calling android controls on android, and HTML5+ JavaScript codes are used for calling Web controls on WebOS. When a common transplantation adaptation method is adopted to transplant the mature android input method application into the WebOS, the android control of the original input method interface needs to be changed into a Web control, and the interactive codes with the service logic layer are rewritten, so that great workload is realized; and WebOS is mostly used for embedded platforms with limited computing and storage resources, and the performance problem after the application of the input method is transplanted needs to be considered.
Patent document CN106980531A (application number: 201610034754.8) discloses an input method operation processing method and device, wherein the method comprises: receiving a first operation instruction aiming at a first input method; and performing corresponding operation processing on a second input method according to the first operation instruction, wherein a first operation system corresponding to the first input method is different from a second operation system corresponding to the second input method. The method and the device have the advantages that the operation instruction of the input method in the first operating system is realized, the response is carried out on the relevant operation of the input method in the second operating system, so that the multiple input method modes of the composite operating system are unified, the processing overhead of the composite operating system is reduced, and the processing efficiency and the experience degree of a user are improved.
Disclosure of Invention
Aiming at the defects in the prior art, the invention aims to provide a cross-platform implementation method and a cross-platform implementation system for applying an input method to a Web operating system.
The invention provides a cross-platform implementation method for applying an input method to a Web operating system, which comprises the following steps:
step S1: the user interface layer transmits the information of the user interaction with the user to the browser engine layer;
step S2: the information of the interaction between the user interface layer and the user is transmitted to the SDK layer through the browser engine layer;
and step S3: the SDK layer generates corresponding UI graphic data and area coordinates needing redrawing according to the information of the user interface layer and the user interaction;
and step S4: transmitting the UI graphic data to a browser engine layer for image rendering;
step S5: and based on the image rendering of the browser engine layer, according to the obtained area coordinates needing redrawing, locally refreshing and displaying the area coordinates in the relevant area of the user interface layer.
Preferably, the user interface layer employs: monitoring user interaction events based on the user interface layer so as to obtain interaction information, and transmitting the interaction information to a browser engine layer;
the interaction information comprises: an operational event type and operational event coordinate values.
Preferably, the browser engine layer comprises a user event interface through which an interface responsive to a user operation is provided to a user interface layer;
packaging the interface of the SDK into a slave Web interface at a browser engine layer;
and realizing the communication connection between the SDK layer and the user interface layer based on the user event interface and the Web interface.
Preferably, the step S3 adopts: the SDK layer inquires corresponding keys from the coordinate mapping table through coordinate values in the interactive information, meanwhile, corresponding key response processing is carried out according to operation types in the interactive information, and corresponding UI graphic data and area coordinate information needing to be redrawn are generated according to key response processing results;
and the coordinate mapping table is formed by calculating the coordinate range of each key based on the coordinate value of each key.
Preferably, the step S4 employs: and transmitting the generated corresponding UI graphic data to the browser engine layer to perform differential rendering by using a drawing interface provided by the browser engine layer.
The cross-platform implementation system for applying the input method to the Web operating system provided by the invention comprises the following steps:
a module M1: the user interface layer transmits the information of the user interaction with the user to the browser engine layer;
a module M2: the information of the interaction between the user interface layer and the user is transmitted to the SDK layer through the browser engine layer;
a module M3: the SDK layer generates corresponding UI graphic data and area coordinates needing redrawing according to the information of the user interface layer and the user interaction;
a module M4: transmitting the UI graphic data to a browser engine layer for image rendering;
a module M5: and based on the image rendering of the browser engine layer, according to the obtained area coordinates needing redrawing, locally refreshing and displaying the area coordinates in the relevant area of the user interface layer.
Preferably, the user interface layer employs: monitoring user interaction events based on the user interface layer so as to obtain interaction information, and transmitting the interaction information to a browser engine layer;
the interaction information comprises: an operational event type and operational event coordinate values.
Preferably, the browser engine layer includes a user event interface through which an interface responsive to a user operation is provided to the user interface layer;
packaging the interface of the SDK into a slave Web interface at a browser engine layer;
and realizing communication connection between the SDK layer and the user interface layer based on the user event interface and the Web interface.
Preferably, the module M3 employs: the SDK layer inquires corresponding keys from the coordinate mapping table through coordinate values in the interactive information, meanwhile, corresponding key response processing is carried out according to operation types in the interactive information, and corresponding UI graphic data and area coordinate information needing to be redrawn are generated according to key response processing results;
and the coordinate mapping table is formed by calculating the coordinate range of each key based on the coordinate value of each key.
Preferably, the module M4 employs: and transmitting the generated corresponding UI graphic data to the browser engine layer to perform differential rendering by using a drawing interface provided by the browser engine layer.
Compared with the prior art, the invention has the following beneficial effects:
1. when the input method is transplanted, the method is realized by a cross-platform graphic engine and transparent transmission processing of user events without rewriting Web controls and JavaScript interfaces in a WEB operating system platform, and can be quickly expanded and transplanted to other WEB operating systems;
2. according to the invention, partial refreshing display of a User Interface (UI) is realized by rendering the differential image data, the problem of pause in refreshing the full amount of image data in an embedded platform with limited resources is solved, and the interface display of the input method is smoother.
Drawings
Other features, objects and advantages of the invention will become more apparent upon reading of the detailed description of non-limiting embodiments with reference to the following drawings:
FIG. 1 is a diagram of an input method and WebOS compatible framework.
Fig. 2 is a flow chart of UI partial refresh display.
Detailed Description
The present invention will be described in detail with reference to specific examples. The following examples will aid those skilled in the art in further understanding the present invention, but are not intended to limit the invention in any manner. It should be noted that variations and modifications can be made by persons skilled in the art without departing from the concept of the invention. All falling within the scope of the present invention.
The input method application generally comprises an input method SDK and an input method interface. The existing technology can only achieve the purpose that an input method SDK is cross-platform, input method interfaces need to be recoded and developed according to different operating systems, and workload is very large. The invention can ensure that the input method interface can also cross the platform under the condition of not recoding, and designs a method for locally refreshing and displaying a User Interface (UI) aiming at the condition that the computing resources of an embedded platform are limited, so that the display of the input method interface is smoother.
Example 1
The invention provides a cross-platform implementation method for applying an input method to a Web operating system, which comprises the following steps:
step S1: the user interface layer transmits the information of the user interaction with the user interface layer to the browser engine layer;
step S2: the information of the user interface layer and the user interaction is transmitted to the SDK layer through the browser engine layer;
and step S3: the SDK layer generates corresponding UI graphic data and area coordinates needing redrawing according to the information of the user interface layer and the user interaction;
and step S4: transmitting the UI graphic data to a browser engine layer for image rendering;
step S5: and based on the image rendering of the browser engine layer, according to the obtained area coordinates needing redrawing, locally refreshing and displaying the area coordinates in the relevant area of the user interface layer.
Specifically, the user interface layer employs: monitoring user interaction events based on the user interface layer so as to obtain interaction information, and transmitting the interaction information to a browser engine layer;
the interaction information comprises: an operational event type and operational event coordinate values.
Specifically, the browser engine layer comprises a user event interface, and an interface responding to user operation is provided for a user interface layer through the user event interface;
packaging the interface of the SDK into a slave Web interface at a browser engine layer;
and realizing communication connection between the SDK layer and the user interface layer based on the user event interface and the Web interface.
Specifically, the step S3 employs: the SDK layer inquires corresponding keys from the coordinate mapping table through coordinate values in the interactive information, meanwhile, corresponding key response processing is carried out according to operation types in the interactive information, and corresponding UI graphic data and area coordinate information needing redrawing are generated according to key response processing results;
and the coordinate mapping table is formed by calculating the coordinate range of each key based on the coordinate value of each key.
Specifically, the step S4 employs: and transmitting the generated corresponding UI graphic data to the browser engine layer to perform differential rendering by using a drawing interface provided by the browser engine layer.
The cross-platform implementation system for applying the input method to the Web operating system provided by the invention comprises the following steps:
a module M1: the user interface layer transmits the information of the user interaction with the user interface layer to the browser engine layer;
a module M2: the information of the user interface layer and the user interaction is transmitted to the SDK layer through the browser engine layer;
a module M3: the SDK layer generates corresponding UI graphic data and area coordinates needing redrawing according to the information of the user interface layer and the user interaction;
a module M4: transmitting the UI graphic data to a browser engine layer for image rendering;
a module M5: and based on the image rendering of the browser engine layer, according to the obtained area coordinates needing redrawing, locally refreshing and displaying the area corresponding to the user interface layer.
Specifically, the user interface layer employs: monitoring user interaction events based on the user interface layer so as to obtain interaction information, and transmitting the interaction information to a browser engine layer;
the interaction information comprises: an operational event type and operational event coordinate values.
Specifically, the browser engine layer comprises a user event interface, and an interface responding to user operation is provided for a user interface layer through the user event interface;
packaging the interface of the SDK into a slave Web interface at a browser engine layer;
and realizing communication connection between the SDK layer and the user interface layer based on the user event interface and the Web interface.
Specifically, the module M3 employs: the SDK layer inquires corresponding keys from the coordinate mapping table through coordinate values in the interactive information, meanwhile, corresponding key response processing is carried out according to operation types in the interactive information, and corresponding UI graphic data and area coordinate information needing to be redrawn are generated according to key response processing results;
and the coordinate mapping table is formed by calculating the coordinate range of each key based on the coordinate value of each key.
Specifically, the module M4 employs: and transmitting the generated corresponding UI graphic data to the browser engine layer to perform differential rendering by using a drawing interface provided by the browser engine layer.
Example 2
Example 2 is a preferred example of example 1
The invention provides a cross-platform implementation method on a Web operating system aiming at graphic application with a User Interface (UI) on an android system, taking an input method as an example, the method is realized without rewriting a control and an interface in the Web operating system platform, event transmission between a user interface layer and a logic processing layer is realized by judging a coordinate system of a user touch operation in a screen, the user interface is refreshed in real time at a high speed by dynamically drawing differential image data, the problem of interface refreshing blockage in an embedded platform with limited resources is solved, and all functions applied by the original input method are realized in a cross-platform manner.
The cross-platform implementation method for applying the input method to the Web operating system, as shown in fig. 1 to 2, provided by the invention, comprises the following steps:
and a graphic engine in the input method calls a drawing interface provided by the Web operating system to generate corresponding UI graphic data according to a calculation result obtained by user operation, transmits the UI graphic data to a rendering module of the Web operating system, and performs local refreshing display in a relevant area of an interface layer applied by the input method.
Specifically, the input method architecture is composed of a user interface layer, a browser engine layer and an SDK layer, wherein the user interface layer is responsible for displaying keyboard layout, fonts, colors and the like, the browser engine layer is responsible for a user event message interface and a rendering function, and the SDK layer provides an event response processing function and a graphic drawing function. The input method and Web operating system compatible framework is specifically implemented as shown in fig. 1:
(1) In the user interface layer (HTML 5), the appearance setting work of the input method application interface is mainly finished, wherein the appearance setting work comprises font setting, interface size and the like; adding user interaction event monitoring and transmitting information interacted with a user to a browser engine layer; and receiving UI display interface processing information from the browser engine layer.
(2) In the browser engine layer (C/C + +), a business logic framework is implemented, which includes a user event interface and a UI differential rendering module. The user event interface mainly provides an interface for responding to user operation for the user interface layer, and plays a role of a bridge between the application interface layer and the SDK layer. The UI difference rendering module is mainly used for rendering UI image data generated by a graphic engine of the SDK layer to a relevant area of the input method application interface.
(3) In the SDK layer, the information generated by interaction with a user and transmitted by the user event forwarding module is mainly received, the graphic engine is informed to form differential UI image data through the calculation of the event processing module, and the UI differential information is transmitted to the UI differential rendering module and rendered.
Specifically, the SDK layer is written by C + + language, the application layer is written by JavaScript language, and if cross-language calling is needed, a common method is to package an interface of the SDK into WebAPI through a browser engine layer in a WebIDL mode to call the application layer of a user. The user event interface of the browser engine layer plays a role of a bridge, and the lower part is an interface for butting the SDK layer, and the upper part is a butting user interface layer.
More specifically, the application SDK is first packaged at the browser engine level, so that the input method objects are available in the user interface layer. And then adding input method related methods in the WebAPI, such as: entering "wo" in the user interface layer; an event processing module of the SDK layer outputs information of a candidate character list of 'I Wo horizontal Wo'; thus, the method can be used after the input method object is obtained in the user interface layer, and further the transmission of the interaction event information between the SDK layer and the user interface layer is realized. The SDK performs logic calculation on the interaction information between the application and the user, draws the calculated information through a drawing interface implemented by the platform, and finally presents the information in an application interface layer, as shown in fig. 2.
Example 3
Example 3 is a preferred example of example 1 and/or example 2
The invention provides a cross-platform implementation method for applying an input method to a Web operating system, which comprises the following steps:
initialization procedure
And packaging the application SDK in the browser engine layer to realize a method capable of obtaining the input method object in the browser engine layer, adding the method as an attribute of a Navigator object in the browser engine, thus obtaining the input method object in the user interface layer, and adding a UI Canvas label for displaying an input method interface. And transmitting the length and width attribute values of the UI Canvas label to the SDK, wherein the SDK can form an initial interface according to the current input method mode and transmit the initial interface to the UI Canvas label for display, and simultaneously calculating the coordinate range of each key to form a coordinate mapping table.
The method for transmitting the input method user event is added into the WebAPI, so that the method can be used after the input method object is obtained in the user interface layer, the transmission of interactive event information between the SDK layer and the user interface layer is further realized, and the interactive information mainly comprises the operation event type (clicking, double clicking and long pressing) and the coordinate value (X, Y).
User operation instruction flow
Step 1: transmitting the interactive information (including operation type and coordinate value) of the user interface layer to the SDK for calculation;
step 2: an event processing module in the SDK inquires corresponding keys from a coordinate mapping table through the operation type and the coordinate value, performs corresponding key response processing, and informs a graphic engine of the processed result;
and step 3: and the graphic engine calculates and generates corresponding UI graphic data and area coordinate information (x, y, width, height) needing redrawing, and then calls a drawing interface provided by the browser engine to perform differential rendering.
UI local refreshing display flow: the process of local refreshing display of the UI interface of the input method is realized through Canvas differential rendering, compared with full picture data, the differential data volume is much smaller, and a large amount of calculation time and memory are saved for subsequent processing.
And 4, step 4: calling clearRect (x, y, width, height) to erase the color in the specified rectangle;
and 5: then call clip () to determine the drawn clipping region, the graphics outside the region cannot be drawn.
And 6: the UI Canvas tab partially refreshes the display UI interface.
Taking the cross-platform implementation of the full keyboard input method as an example:
the full keyboard input method comprises a UI layer, an interface layer and an SDK layer, wherein the UI layer is responsible for displaying keyboard layout, fonts, colors and the like, the interface layer is responsible for message butt joint of the UI layer and the SDK layer, and the SDK layer provides event response processing and UI rendering functions.
(1) Compiling an input method SDK in a cross compiling environment of the Yinhua operation system of the Galaxy;
(2) Adding a Canvas object UI Canvas to a user interface layer to display an input method UI;
(3) Initializing an input method SDK, and calling a canvas interface to draw an initial UI interface;
(4) At the moment, a user clicks the position of a 'w' key to transmit interactive information (click, x, y) to an event forwarding module of a browser engine layer;
(5) The event forwarding module transmits the interactive information to an input method SDK, and the event processing module inquires a 'w' button pressing event according to the coordinate mapping table and calculates the event;
(6) The calculation result is fed back to the graphic engine, the graphic engine calls a drawing interface to draw a differential graph, a 'w' button is drawn in a (width 1, height 1) area of (x 1, y 1) coordinates to press a feedback graph, and characters '1I 2M 3 play 4 questions and 5 completed 6 king' in a Chinese association list are drawn in a (width 2, height 2) area of (x 2, y 2) coordinates, and the differentially drawn area is only 1/6 of the fully drawn area;
(7) The I Canvas tag locally updates the display UI interface.
It is known to those skilled in the art that, in addition to implementing the system, apparatus and its various modules provided by the present invention in pure computer readable program code, the system, apparatus and its various modules provided by the present invention can be implemented in the form of logic gates, switches, application specific integrated circuits, programmable logic controllers, embedded microcontrollers and the like by completely programming the method steps. Therefore, the system, the device and the modules thereof provided by the present invention can be considered as a hardware component, and the modules included in the system, the device and the modules thereof for implementing various programs can also be considered as structures in the hardware component; modules for performing various functions may also be considered to be both software programs for performing the methods and structures within hardware components.
The foregoing description has described specific embodiments of the present invention. It is to be understood that the present invention is not limited to the specific embodiments described above, and that various changes or modifications may be made by one skilled in the art within the scope of the appended claims without departing from the spirit of the invention. The embodiments and features of the embodiments of the present application may be combined with each other arbitrarily without conflict.

Claims (10)

1. A cross-platform implementation method for applying an input method to a Web operating system is characterized by comprising the following steps:
step S1: the user interface layer transmits the information of the user interaction with the user interface layer to the browser engine layer;
step S2: the information of the interaction between the user interface layer and the user is transmitted to the SDK layer through the browser engine layer;
and step S3: the SDK layer generates corresponding UI graphic data and area coordinates needing redrawing according to the information of the user interface layer and the user interaction;
and step S4: transmitting the UI graphic data to a browser engine layer for image rendering;
step S5: and based on the image rendering of the browser engine layer, according to the obtained area coordinates needing redrawing, locally refreshing and displaying the area coordinates in the relevant area of the user interface layer.
2. The method for implementing the input method on the Web operating system in a cross-platform manner according to claim 1, wherein the user interface layer employs: monitoring user interaction events based on the user interface layer so as to obtain interaction information, and transmitting the interaction information to a browser engine layer;
the interaction information comprises: an operational event type and operational event coordinate values.
3. The method for implementing the input method on the Web operating system in a cross-platform mode according to claim 1, wherein the browser engine layer comprises a user event interface, and an interface responding to the user operation is provided for the user interface layer through the user event interface;
packaging the interface of the SDK into a slave Web interface at a browser engine layer;
and realizing the communication connection between the SDK layer and the user interface layer based on the user event interface and the Web interface.
4. The cross-platform implementation method of the input method applied to the Web operating system according to claim 1, wherein the step S3 adopts: the SDK layer inquires corresponding keys from the coordinate mapping table through coordinate values in the interactive information, meanwhile, corresponding key response processing is carried out according to operation types in the interactive information, and corresponding UI graphic data and area coordinate information needing redrawing are generated according to key response processing results;
and the coordinate mapping table is formed by calculating the coordinate range of each key based on the coordinate value of each key.
5. The method for implementing the input method on the Web operating system in a cross-platform manner according to claim 1, wherein the step S4 comprises: and transmitting the generated corresponding UI graphic data to the browser engine layer to perform differential rendering by using a drawing interface provided by the browser engine layer.
6. A cross-platform implementation system for applying an input method to a Web operating system is characterized by comprising the following steps:
a module M1: the user interface layer transmits the information of the user interaction with the user to the browser engine layer;
a module M2: the information of the user interface layer and the user interaction is transmitted to the SDK layer through the browser engine layer;
a module M3: the SDK layer generates corresponding UI graphic data and area coordinates needing redrawing according to the information of the user interface layer and the user interaction;
a module M4: transmitting the UI graphic data to a browser engine layer for image rendering;
a module M5: and based on the image rendering of the browser engine layer, according to the obtained area coordinates needing redrawing, locally refreshing and displaying the area corresponding to the user interface layer.
7. The cross-platform implementation system of the input method applied to the Web operating system according to claim 6, wherein the user interface layer employs: monitoring user interaction events based on the user interface layer so as to obtain interaction information, and transmitting the interaction information to a browser engine layer;
the interaction information comprises: an operational event type and operational event coordinate values.
8. The cross-platform implementation system of the input method applied to the Web operating system according to claim 6, wherein the browser engine layer comprises a user event interface, and an interface responding to a user operation is provided for the user interface layer through the user event interface;
packaging the interface of the SDK into a slave Web interface at a browser engine layer;
and realizing communication connection between the SDK layer and the user interface layer based on the user event interface and the Web interface.
9. The cross-platform implementation system of the input method applied to the Web operating system according to claim 6, wherein the module M3 employs: the SDK layer inquires corresponding keys from the coordinate mapping table through coordinate values in the interactive information, meanwhile, corresponding key response processing is carried out according to operation types in the interactive information, and corresponding UI graphic data and area coordinate information needing to be redrawn are generated according to key response processing results;
and the coordinate mapping table is formed by calculating the coordinate range of each key based on the coordinate value of each key.
10. The cross-platform implementation system of the input method applied to the Web operating system according to claim 6, wherein the module M4 employs: and transmitting the generated corresponding UI graphic data to the browser engine layer to perform differential rendering by using a drawing interface provided by the browser engine layer.
CN202210697278.3A 2022-06-20 2022-06-20 Cross-platform implementation method and system for applying input method to Web operating system Pending CN115185709A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210697278.3A CN115185709A (en) 2022-06-20 2022-06-20 Cross-platform implementation method and system for applying input method to Web operating system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210697278.3A CN115185709A (en) 2022-06-20 2022-06-20 Cross-platform implementation method and system for applying input method to Web operating system

Publications (1)

Publication Number Publication Date
CN115185709A true CN115185709A (en) 2022-10-14

Family

ID=83513355

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210697278.3A Pending CN115185709A (en) 2022-06-20 2022-06-20 Cross-platform implementation method and system for applying input method to Web operating system

Country Status (1)

Country Link
CN (1) CN115185709A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115658214A (en) * 2022-12-09 2023-01-31 北京麟卓信息科技有限公司 Cross-operating-environment input rendering delay optimization method

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115658214A (en) * 2022-12-09 2023-01-31 北京麟卓信息科技有限公司 Cross-operating-environment input rendering delay optimization method
CN115658214B (en) * 2022-12-09 2023-04-04 北京麟卓信息科技有限公司 Cross-operation-environment input rendering delay optimization method

Similar Documents

Publication Publication Date Title
US5867175A (en) Method and apparatus for scriping animation
US20230082360A1 (en) Method of displaying applications on split-screen, storage medium and electric device
US20210303108A1 (en) System and method for on-screen graphical user interface encapsulation and reproduction
CN102221993B (en) The declarative definition of complex user interface Status Change
Hopgood et al. Methodology of Window Management: Proceedings of an Alvey Workshop at Cosener’s House, Abingdon, UK, April 1985
US20160070457A1 (en) Platform-independent user interface system
US20140026086A1 (en) Methods and Systems for Cross-Platform Computing Applications Featuring Adaptable User Interfaces
CN111651079A (en) Handwriting display method, device, equipment and computer storage medium
CN109375980B (en) Touch drawing method based on Andriod system
CN113625932A (en) Full screen handwriting input method and device
CN115185709A (en) Cross-platform implementation method and system for applying input method to Web operating system
CN102023805B (en) Method for assisting in browsing text messages on software interface
CN114895891A (en) Graphic software processing method and device, electronic equipment and storage medium
CN110990431A (en) Method for realizing synchronous linkage carousel of China map and line graph data
CN111414085B (en) Input method operation method, system and medium of kylin mobile operation system
CN108228139B (en) Singlechip development system and device based on HTML5 browser frame
CN113849164A (en) Data processing method and device, electronic equipment and memory
CN111459486B (en) Graphic dragging optimization method based on webpage canvas
CN114115673A (en) Control method of vehicle-mounted screen
CN113961279A (en) Page rendering method, device, server and storage medium
CN113094144A (en) Display screen interface control method and electronic equipment
CN112099770A (en) Template-based webpage generation method, system, equipment and storage medium
CN111813404B (en) Application method, medium and client based on mixed graphic display
CN113485714B (en) Data processing method, device, computer equipment and storage medium
CN116974670B (en) Graphical control management method and system based on single chip microcomputer

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