External equipment access treatment method for intelligent device, device and equipment thereof
A technology of external equipment and intelligent equipment, which is applied in transaction processing, multi-programming devices, short-distance communication services, etc., can solve problems such as voice recognition failure, and achieve the effect of improving the success rate
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0060] This embodiment provides a processing method for external device access of a smart device, which is used to ensure that the application program can successfully open the hidraw device node corresponding to the external device and read data therein when the external device is connected to the smart device. The execution subject of this embodiment is the processing of external device access of the smart device, and the apparatus may be set in the smart device. The smart device can be a smart TV, smart phone, tablet computer, etc.
[0061] Such as figure 2 As shown, it is a schematic flow chart of the processing method for the external device access of the smart device provided in this embodiment, and the method includes:
[0062] Step 101, after the hidraw device node corresponding to the external device is created through the ueventd process, a message that the creation of the hidraw device node is completed is sent to the application program in the application space thro
Embodiment 2
[0081] This embodiment provides a further supplementary description of the method provided in the first embodiment.
[0082] Such as image 3 As shown, it is a schematic flowchart of the processing method for external device access of the smart device provided in this embodiment.
[0083] As an implementable manner, on the basis of the first embodiment above, optionally, before step 101, the method further includes:
[0084] Step 2011, obtain the uevent event reported by the kernel kernel through the ueventd process, and the uevent event includes the device information of the connected external device.
[0085] Step 2012, create a corresponding hidraw device node according to the device information of the external device through the ueventd process.
[0086] Specifically, when an external device is connected, the kernel will report a uevent event for creating a hidraw device node, and the upper layer ueventd will create a hidraw device node under / dev after receiving the ueve
Embodiment 3
[0113] This embodiment provides a processing device for external device access of a smart device, which is used to execute the method in the first embodiment above.
[0114] Such as Figure 5 As shown in , it is a schematic structural diagram of a processing device for external device access of a smart device provided in this embodiment. The processing device 30 for external device access of the smart device includes a sending module 31 and a processing module 32 .
[0115] Among them, the sending module is used to send the hidraw device node creation completion message to the application program in the application space through the ueventd process after the hidraw device node corresponding to the external device is created through the ueventd process; the processing module is used to receive the hidraw device node when the application program receives After the message that the device node is created is complete, the application performs corresponding operations on the hidraw d
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.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap