Configuration method and system for sharing the same recording device by multiple applications
A technology of recording equipment and configuration method, applied in the direction of sound input/output, data processing input/output process, instruments, etc., can solve the problem of far-field voice being unable to be used normally, affecting the interactive experience, increasing maintenance costs, etc., to achieve savings Maintenance development cost, user-friendly effect
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0059] Please refer to figure 1 and Figure 4 , figure 1 It illustrates a flowchart of a configuration method for multiple applications sharing the same recording device disclosed by the embodiment of the present invention, Figure 4 An example of an architecture diagram of a system in which multiple applications share the same recording device disclosed in the present invention, as shown in figure 1 As shown, the configuration method for multiple applications sharing the same recording device includes:
[0060] S10, configuring a standard recording interface and a virtual recording interface at the hardware abstraction interface layer of the system.
[0061] S20. Add a proxy layer between the hardware abstraction interface layer and the driver layer of the system to establish a mapping relationship for multiple interfaces calling the same recording device, and establish a mapping relationship between the standard recording interface and the virtual recording interface.
...
example 1
[0079] example 1: figure 2 An example of a flow chart for far-field voice using a recording device, such as figure 2 Shown:
[0080] Step S11, when the application layer receives a specific sound source, the far-field voice starts, and the recording program starts immediately.
[0081] In step S12, the system selects the matching device corresponding to the VID / PID in the ID array list according to the specific sound source, that is, the standard recording device, that is, the array microphone device. If no matching device is found corresponding to the VID / PID in the ID array list, the far-field voice activation fails, and step S11 is continued.
[0082] Step S13, calling the standard recording interface of the hardware abstract interface layer, according to the one-to-one mapping relationship between the equipment and the interface, by calling the open interface of the proxy layer to open the switch of the recording device, that is, opening the recording device, and then ...
example 2
[0090] Example 2: image 3 Flowchart illustrating the use of recording devices for applications other than far-field speech, such as image 3 Shown:
[0091] Step S31, when other applications start the recording program, first select an adapted device according to the priority strategy configured by the system, and then execute step S32;
[0092] Step S32, judging whether the selected adapted device VID / PID is within the range of the ID array list, if yes, execute step S33, if not, execute step S34;
[0093]Step S33, setting the adapted device as a virtual recording device, and calling the virtual recording interface of the hardware abstraction interface layer, and then performing step S35;
[0094] Step S34, enter the standard equipment calling process;
[0095] Step S35, through the mapping relationship between the proxy layer and the same recording device, the HAL layer of the virtual recording device calls the open interface of the proxy layer to open the switch of the ...
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