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
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
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...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com