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

Method and module for controlling hardware equipment in operating system

A technology of hardware equipment and operating system, applied in the direction of program control devices, etc., can solve problems such as interruption and information transmission delay, and achieve the effect of improving accuracy and avoiding interruption

Active Publication Date: 2015-05-20
KUANG CHI INTELLIGENT PHOTONIC TECH
View PDF7 Cites 2 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0010] This application provides a method and module for controlling hardware devices in an operating system, which solves the problems of information transmission delay and interruption

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
  • Method and module for controlling hardware equipment in operating system
  • Method and module for controlling hardware equipment in operating system
  • Method and module for controlling hardware equipment in operating system

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0038] See figure 1 , this embodiment provides a method for controlling a hardware device in an operating system, where the hardware device is a light-emitting device, including the following steps:

[0039] Step 201: Obtain original data. Specifically, the original data may be data input by a user, such as a bank card account number input by the user. In the Android system, raw data can be obtained by the application layer.

[0040] Step 202: Encode the original data to obtain time data for controlling the light-emitting device to be turned on or off, for example, to control the light-emitting device to turn on for 5s, turn off for 2s, turn on for 3s... In the Android system, the raw data can be controlled by the application layer. data is encoded.

[0041] In some embodiments, if the user directly inputs the time data for controlling the light-emitting device to be turned on or off, that is, the original data is the time data, then no encoding operation is required.

[0...

Embodiment 2

[0061] Please refer to image 3 , based on the method for controlling a hardware device in an operating system provided in Embodiment 1, this embodiment correspondingly provides a module for controlling a hardware device in an operating system, where the hardware device is a light-emitting device, including a time data acquisition unit 301, a transmission unit 302, Buffer unit 303 and execution unit 304

[0062] The time data acquisition unit 301 is configured to control the application layer to acquire time data used to control the light emitting device to be turned on or off.

[0063] In a specific embodiment, the time data acquisition unit 301 further includes an encoding subunit 305, which is used to control the application layer to acquire original data, and encode the original data to obtain time data, for example, control the light-emitting device to turn on for 5s, turn off for 2s, and turn on for 3s ...

[0064] Specifically, the original data may be data input by a...

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

Provided are a method and module for controlling hardware equipment in an operating system. After state data for controlling the hardware equipment to act are acquired, the state data are firstly issued to and stored in a buffer unit, then a hardware equipment driver is called, the hardware equipment driver reads the state data stored in the buffer unit, and the state of the action of the hardware equipment is controlled according to the state data. Due to the fact that the state data are stored in the buffer unit, after the hardware equipment driver is called, the state data stored in the buffer unit are directly read, the reading process is continuous, the phenomena of interrupting, delaying and the like are prevented from occurring in the process of driving the hardware equipment to act through the hardware equipment driver, therefore, the accuracy of data transmission is improved, and guarantees are provided for high-speed data transmission.

Description

technical field [0001] The present application relates to the development of an electronic device operating system, in particular to a method and a module for controlling a hardware device in an operating system. Background technique [0002] Please refer to figure 1 , which is a schematic diagram of the architecture of the Android system. [0003] The first layer 101 is a Linux kernel driver layer (Linux kernel), which is implemented by C / C++. Android core system services depend on the Linux kernel, including security, memory management, process management, network protocols, driver models, and more. The Linux kernel also acts as an abstraction layer between the hardware and software stacks. In addition to the standard Linux kernel, Android also adds kernel drivers, such as Binder (IPC) drivers, camera drivers, and power management. [0004] The second layer is the component library and the virtual machine layer, wherein 102 is the component library layer (Libraries), 10...

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 Applications(China)
IPC IPC(8): G06F9/44
Inventor 不公告发明人
Owner KUANG CHI INTELLIGENT PHOTONIC TECH
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