Unlock instant, AI-driven research and patent intelligence for your innovation.

Key response method and device for Android system

An Android system and button technology, applied in the direction of program control devices, execution examples, etc., can solve the problems of link time extension and slow button response speed, and achieve the effect of saving link delay

Active Publication Date: 2022-07-22
深圳市华曦达科技股份有限公司
View PDF9 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] Therefore, the technical problem to be solved by the present invention is to overcome the problem that in the prior art Android system, all buttons are distributed in the frame layer, resulting in long link delay and slow button response speed, thereby providing a Button response method and device of the present invention

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
  • Key response method and device for Android system
  • Key response method and device for Android system
  • Key response method and device for Android system

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0042] like figure 1 As shown in the figure, a flowchart of a key response method for an Android system provided by an embodiment of the present invention is applied to a Linux real-time operating system, wherein the Linux real-time operating system presets at least two custom device nodes, The method includes:

[0043] S11: Receive the specified key information directly sent by the application through the internal SO;

[0044] S12: Pass the specified key information to the Linux kernel driver through the custom device node;

[0045] S13: Receive the button information to be responded directly sent by the application program through the internal SO;

[0046] S14: The Linux kernel driver obtains the button information to be responded;

[0047] S15: Determine whether the key to be responded is a designated key according to the key information, if the key to be responded is a designated key, execute step S17, and if the key to be responded is not a designated key, execute step...

Embodiment 2

[0052] like figure 2 As shown, a flowchart of another key response method for an Android system provided by an embodiment of the present invention, the method includes:

[0053] The method is applied to a Linux real-time operating system, wherein the Linux real-time operating system presets at least two custom device nodes, and the method includes:

[0054] S21: Receive the specified key information directly sent by the application program through the internal SO (dynamic library) method;

[0055] S22: Pass the specified key information to the Linux kernel driver through the custom device node;

[0056] S23: Receive the button information to be responded directly sent by the application through the internal SO;

[0057] S24: The Linux kernel driver obtains the button information to be responded;

[0058] S25: according to the key information, determine whether the key to be responded is a designated key, if the key to be responded is a designated key, then go to step S27, ...

Embodiment 3

[0082] like Image 6 As shown, an embodiment of the present invention also provides a key response device for an Android system, which is applied to a Linux real-time operating system, wherein the Linux real-time operating system presets at least two custom device nodes, and the device includes:

[0083] The designated key information receiving module 61 is used for receiving designated key information directly sent by the application program through the internal SO;

[0084] The Linux kernel transfer module 62 is used to transfer the specified key information to the Linux kernel driver through the custom device node;

[0085] The button information receiving module 63 to be responded is used to receive the button information to be responded directly sent by the application program by means of the internal SO;

[0086] The key information acquisition module 64 to be responded, the Linux kernel driver acquires the key information to be responded;

[0087] The judgment module ...

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 provides a key response method and device for an Android system, the method is applied to a Linux real-time operating system with at least two preset custom device nodes, and the method comprises the steps that specified key information directly sent by an application program in an internal SO mode is received; the specified key information is transmitted to a Linux kernel driver through the user-defined equipment node; receiving to-be-responded key information directly sent by the application program in an internal SO mode; the Linux kernel driver obtains key information to be responded and judges whether the key information to be responded is a specified key; if not, the information is distributed to the application program in the framework; if yes, calling back to the application program through an Android interface definition language, and solving the problems of long link delay and low key response speed caused by the fact that all keys are distributed in a framework layer in an Android system in the prior art.

Description

technical field [0001] The invention relates to the technical field of key response control, in particular to a key response method and device for an Android system. Background technique [0002] In Android (Android) devices, key input is an important input source in Android. From the key press, to the linux kernel to get the input, go to the Hal layer to do key mapping, to complete the key distribution in the framework layer, and finally in the app's The key monitoring is obtained in the view, and the link of the keys in the entire android is completed. [0003] Some devices that have high requirements on full link latency, such as cloud gaming projects, have relatively high requirements on the entire button latency. In cloud game projects, the button information is obtained from the external controller to the Andrid, goes to the cloud game app to respond and uploads it to the cloud server, and then obtains the image information sent from the cloud server, and then the loc...

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/448
CPCG06F9/4482
Inventor 蒋艳君袁帅鹏
Owner 深圳市华曦达科技股份有限公司