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

An android-based x86 terminal button adaptation method and system

An x86 and button technology, which is applied in the field of button adaptation, can solve problems such as time-consuming, low efficiency of inter-process communication, and the inability to start the launcher application interface with hard buttons, so as to reduce button adaptation, reduce complexity, and facilitate unification management effect

Active Publication Date: 2015-12-02
SHENZHEN HANGSHENG ELECTRONICS
View PDF4 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0002] In the existing dual-CPU system, the button adaptation generally uses the androidinput command, or the button value is sent to the android application layer, and the button value is sent to the event queue of the application layer of the android input system through inter-process communication for processing. Method Due to the low efficiency of inter-process communication in the android application layer, it cannot meet the response time requirements of X86-side button adaptation, which is time-consuming and generally takes about 500ms
And under this method, the hard key starts the android application program interface except the launcher. If the launcher is not a foreground activity, it cannot monitor the key event of the android input system, so the hard key cannot start the application program interface other than the launcher.

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
  • An android-based x86 terminal button adaptation method and system
  • An android-based x86 terminal button adaptation method and system

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0026] This example provides an android-based x86-side button adaptation method, including the following steps:

[0027] Create a simulated button driver step, create a simulated button driver under the android kernel source code directory, construct a button event in the user space of android through the simulated button driver, and write it into the android kernel;

[0028] The key event writing step is to write the key event to the event device node in the android middleware;

[0029] The button acquisition step is to connect the hard button to a microcontroller independent of the X86 end, and the microcontroller collects the button to obtain the button value; and,

[0030] The processing step is to determine the key type sent by the microcontroller. If it belongs to the non-standard key of android, the key value is encapsulated and broadcast through the AM command of android, and the corresponding function interface is started after the broadcast is sent to the launcher; i...

Embodiment 2

[0048] Such as figure 2 As shown, this example also provides an android-based x86 end button adaptation system, including a microcontroller and a central processing unit at the X86 end, and the central processing unit and the microcontroller work independently; wherein the microcontroller is used to implement The key is collected to obtain the key value; the central processing unit is used to realize the processing of the key value. The android-based x86 terminal key adaptation system preferably adopts the android-based x86 terminal key adaptation method described in Embodiment 1.

[0049] figure 2 Among them, the central processor can be E640T, the microcontroller can be LPC1758, the Linux2 kernel is preferably Linux2.6.37 kernel, and the Android operating system is preferably Android2.3.4 operating system.

[0050] The further improvement of this example is that after the central processing unit receives the key value collected by the microcontroller, the middleware perf...

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 an x86 end press key adapting method and an x86 end press key adapting system which are based on android. The x86 end press key adapting method based on the android comprises the following steps of: simulation press key driving creation step, wherein the simulation press key driving is created in an android kernel source code catalogue, and then, a press key event is constructed in user space and is written into an android kernel; press key event writing-in step, wherein the press key event is written into an event equipment node from android middleware; press key collection step; and processing step, wherein press key types sent by a microcontroller are judged, and in addition, the respective and corresponding processing is carried out. The press key adaption is realized through the simulation press key driving creation step, the effect that the press key collection and the press key processing can be separated and respectively operated in the microcontroller and a central processing unit of the X86 end is realized, the response speed is high, and the effect of starting a non-launcher android application program interface by a hard press key can also be realized.

Description

technical field [0001] The invention relates to a key adaptation method, in particular to an android-based x86 end key adaptation method capable of quick response, and provides an android-based x86 end key adaptation system. Background technique [0002] In the existing dual-CPU system, the button adaptation generally uses the androidinput command, or the button value is sent to the android application layer, and the button value is sent to the event queue of the application layer of the android input system through inter-process communication for processing. Method Due to the low efficiency of inter-process communication in the android application layer, it cannot meet the response time requirements of X86-side button adaptation, which is time-consuming and generally takes about 500ms. And under this method, the hard key starts the android application program interface except the launcher, if the launcher is not a foreground activity, then it cannot monitor the key event of...

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
Patent Type & Authority Patents(China)
IPC IPC(8): G06F9/445
Inventor 何照丹朱别明
Owner SHENZHEN HANGSHENG ELECTRONICS