Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Window interaction method and device for compatibly running Android application on Linux

An interaction method and window technology, applied in the field of window interaction, can solve problems such as reducing the sense of incongruity, inability to support Android application window window operation, etc., and achieve the effect of soft keyboard input

Active Publication Date: 2021-01-26
北京技德系统技术有限公司
View PDF7 Cites 17 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0007] In view of this, the present invention provides a window interaction method and device for compatible running of Android applications on Linux, the main purpose of which is to solve the problems in the prior art with respect to the Android operating environment compatible with running on the Linux system in the form of containers. The current standard Linux form cannot support the common window operations of Android application windows, such as window rotation, soft keyboard, window fallback and other operational requirements, reducing the user's sense of violation when operating Android applications in heterogeneous systems

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Window interaction method and device for compatibly running Android application on Linux
  • Window interaction method and device for compatibly running Android application on Linux
  • Window interaction method and device for compatibly running Android application on Linux

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0067] figure 1 It is an implementation schematic diagram of a window interaction method compatible with running Android applications on Linux provided by the embodiment of the present invention. It can be seen from the figure that in the method of this embodiment, the following steps are provided:

[0068] S1 establishes a communication step, and establishes a Socket communication interface between the Linux side and the Android side of the container;

[0069] S2 The Linux side triggers the step of updating the external window, captures the external window operation on the Android application display window through the Display_window of the Linux framework on the Linux side of the container, updates and displays the external window, and generates the first window operation information; A window operation information is sent to the Android side of the container through the Socket communication interface;

[0070] S3 The Linux side triggers the step of updating the internal im...

Embodiment 2

[0112] Furthermore, as a further improvement to Embodiment 1, the present invention also provides a method for window interaction compatible with running Android applications on a Linux operating system, which processes window operation commands issued from Android applications.

[0113] Depend on figure 1It can be seen that in the method of this embodiment, the following steps are also included:

[0114] S4 The Android side triggers the step of updating the internal image, obtains the window operation instruction from the Android application on the Android side of the container, generates the second internal image, and sends the second internal image to the Linux side of the container for display; by the event processing interface Generate the second window operation information according to the window operation instruction issued from the Android application; send the second window operation information to the Linux side of the container through the Socket communication inte...

Embodiment 3

[0126] Furthermore, as an implementation of the methods shown in the above embodiments, another embodiment of the present invention also provides a window interaction device compatible with running Android applications on a Linux operating system. This device embodiment corresponds to the foregoing method embodiment. For the convenience of reading, this device embodiment does not repeat the details in the foregoing method embodiment one by one, but it should be clear that the device in this embodiment can correspond to the foregoing method implementation. Everything in the example. In the device of this embodiment, there are following modules:

[0127] One: Linux side window management module, which corresponds to the Linux side window management process of each application scenario in Embodiment 1.

[0128] Two: the Android-side application management module, which corresponds to the Android-side application management process of each application scenario in Embodiment 1.

...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The invention discloses a window interaction method and device for compatibly running an Android application on Linux, and belongs to the technical field of computers. The method comprises the steps of compatibly operating an Android application in a Linux operating system in a container mode, and establishing a Socket communication interface between the Linux side and the Android side of a container; capturing a window body operation on an Android application display window by the Linux side, and updating and displaying the window body; and sending information, needing to be updated and displayed, of the corresponding image in the window to the Android side through the Socket communication interface, updating an internal image by the Android side, and sending the internal image to the Linux side for display, thereby achieving synchronous updating of the window body of the display window and the internal image, and realizing interactive operation of the window. The main purpose is to solve the problem that in the prior art, for an Android running environment compatibly running on a Linux system in a container form, a current standard Linux window cannot support window operation commonly used by an Android application window, such as window rotation, a soft keyboard and window rollback, and improve the smoothness of operating an Android application by a user in a heterogeneous system.

Description

technical field [0001] The invention relates to the field of computer technology, in particular to a window interaction method and device for compatible running of Android applications on a Linux operating system. Background technique [0002] With the termination of Windows7 service, the Linux desktop system has been more popularized. How to make Andreid applications run compatible on the Linux operating system, so that many mobile phone-only applications can run on the Linux desktop system, is an urgent problem to be solved. As we all know, Android is an operating system designed for smartphones and other handheld devices. Android itself is designed for touch operations, while the interaction logic between windows in the Linux desktop is based on keyboard and mouse operations. It is the interaction logic of desktop multi-window, and the realization of Android application form interaction is fundamentally different from that of Linux. It is reflected in the following aspec...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
IPC IPC(8): G06F9/445G06F9/451
CPCG06F9/44505G06F9/44536G06F9/451
Inventor 姚宏亮赵威舒三毛周蜜张耀斌
Owner 北京技德系统技术有限公司
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products