Eureka AIR delivers breakthrough ideas for toughest innovation challenges, trusted by R&D personnel around the world.

A device interface control method and system based on an Android system

A device interface, Android system technology, applied in the field of communication, can solve the problems such as the loss of system security and permission protection of the Android system, the cumbersome JNI development process, and the lack of an Android system, so as to maintain versatility and portability, and reduce the difficulty of development. and complexity, the effect of maintaining system security

Active Publication Date: 2016-04-27
广州英码信息科技有限公司
View PDF3 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, the application framework is used to maintain the system's own security and device access rights, so this technology makes the Android system lose its original system security and rights protection.
And the JNI development process is very cumbersome, it may be necessary to write multiple corresponding JNIs in order to complete an application, and these JNIs may not be reusable in other systems, and their reusability is low
[0004] Therefore, there is currently no Android system that is compatible with other device interfaces except the mobile terminal device interface, and can maintain system security and device access rights.

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
  • A device interface control method and system based on an Android system
  • A device interface control method and system based on an Android system
  • A device interface control method and system based on an Android system

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0046] The specific implementation manners of the present invention will be further described below in conjunction with the accompanying drawings.

[0047] refer to figure 2 , the present invention is a kind of control method based on the device interface of Android system, comprising:

[0048] A. Initialize the service module of the hardware abstraction layer to generate a socket;

[0049] B. After calling the client module of the application layer, the client module establishes a communication connection with the service module through the socket;

[0050] C. The service module verifies the authority of the client module, thereby judging whether the client module has the authority to access the device, and if so, executes step D, otherwise, ends the operation and informs the client module that it does not have the authority to access the device ;

[0051] D. After the client module that has passed the authority verification sends the operation command of the device inter...

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 control method and a control system for a device interface based on an Android system. The method provided by the invention comprises the following steps: initializing a service module of a hardware abstract layer, thereby generating a socket; after calling a client module of an application program layer, establishing communication connection with the service module through the socket; validating the right of the client module, thereby judging if the client module has the right for accessing the device; if yes, executing the next step, and if not, ending the operation and informing the client module that the client module has no right for accessing the device; and after sending an operation command and a corresponding data of the device interface to the service module by the client module passing the right validation through the socket, controlling the device corresponding to the device interface to operate by the service module through the device interface and feeding back a result of the device operation to the client module passing the right validation by the service module. According to the control method and system provided by the invention, the generality and the safety of the Android system are kept, and the control method and the control system can be widely applied to the communication field.

Description

technical field [0001] The invention relates to the field of communication technology, in particular to a device interface control method and system based on an Android system. Background technique [0002] Android (Android) system is a Linux-based open source operating system, mainly used on mobile devices. Such as figure 1 As shown, the Android (Android) system can be divided into five layers from the top layer down: application layer, application framework, system runtime library, hardware abstraction layer and Linux kernel. [0003] The native Android (Android) system is used on mobile devices, and it does not support device interfaces such as serial ports and GPIO (General Purpose Input / Output, general purpose input / output). In order to support these device interfaces, the existing technology will achieve the purpose of support by modifying the source code of the Android (Android) system or using the JNI (JavaNativeInterface, JAVA local call) mechanism. However, modi...

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/44G06F13/10
Inventor 梁红波区英杰林志广
Owner 广州英码信息科技有限公司
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Eureka Blog
Learn More
PatSnap group products