CN110007975B - Sound card self-adaptive loading method and system - Google Patents
Sound card self-adaptive loading method and system Download PDFInfo
- Publication number
- CN110007975B CN110007975B CN201910260834.9A CN201910260834A CN110007975B CN 110007975 B CN110007975 B CN 110007975B CN 201910260834 A CN201910260834 A CN 201910260834A CN 110007975 B CN110007975 B CN 110007975B
- Authority
- CN
- China
- Prior art keywords
- codec
- sound card
- node
- polling
- program
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/44—Arrangements for executing specific programs
- G06F9/4401—Bootstrapping
- G06F9/4411—Configuring for operating with peripheral devices; Loading of device drivers
Landscapes
- Engineering & Computer Science (AREA)
- Software Systems (AREA)
- Theoretical Computer Science (AREA)
- Computer Security & Cryptography (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Stored Programmes (AREA)
Abstract
The invention discloses a sound card self-adaptive loading method and a sound card self-adaptive loading system, wherein the method comprises the following steps: s10, polling a plurality of codec nodes through a plurality of I2C buses after the system is powered on, and judging whether the codec nodes corresponding to the current sound card driving program exist or not; s20, if yes, determining the codec node corresponding to the current sound card driving program as a codec node to be loaded; and S30, loading the current sound card driving program to the codec node to be loaded so as to complete sound card registration. The invention has the beneficial effects that: the same set of system software is placed on different mainboards (only different codecs), and the corresponding codecs can be automatically identified, so that different drivers are used to normally complete the functions. Therefore, the self-adaptive process is realized, and the production and maintenance cost of manufacturers is greatly reduced.
Description
Technical Field
The invention relates to the technical field of electronic information, in particular to a sound card self-adaptive loading method and system.
Background
One or 2 or even 3 square chips with pins on 4 sides can be found on the sound card, the area is generally 0.5-1.0 square centimeter, and the area is the codec. codecs are codecs and are mainly responsible for digital/analog signal conversion (DAC) and analog/digital signal conversion (ADC). Whether the audio accelerator is good or the I/O controller is good, the input and the output of the audio accelerator and the I/O controller are pure digital signals, and if the Line Out jack on the sound card is used for outputting signals, the signals need to be converted by a codec on the sound card. It can be said that the quality of the analog input and output of the sound card has an important relationship with the conversion quality of the codec, the audio accelerator or the I/O controller determines the quality of the digital signal inside the sound card, and the codec determines the quality of the analog input and output.
In the field of intelligent equipment, more and more equipment has a multimedia function, and particularly, the voice interaction function gradually becomes standard configuration when the intelligent equipment enters the artificial intelligence era. Among the applications of these functions, audio codec sound card devices play an important role, and because of this, smart devices can only realize playing and recording functions.
Corresponding to the importance of the codec, more and more manufacturers and models are provided; in addition, with the rapid development of the technology, more and more intelligent devices can integrate multiple types of codecs for different scenes. And more devices with different models and the same functions can be integrated with different codecs based on different positioning requirements. For example, for a smart speaker manufacturer a, a codec chip is purchased from a codec chip manufacturer B, and if the codec chips of multiple different models need to be purchased, the manufacturer B needs to respectively maintain multiple sets of codes corresponding to the codec chips of the multiple different models, burn different software, and thus the maintenance cost of the manufacturer is undoubtedly greatly increased. After the codec of the mainboard is changed, the determined codec change software must be recompiled or the software configuration must be changed, and the software can be burned on a corresponding new mainboard for use, which consumes time and labor and increases the cost.
Disclosure of Invention
An embodiment of the present invention provides a method and a system for adaptive loading of a sound card, which are used to solve at least one of the above technical problems.
In a first aspect, an embodiment of the present invention provides a method for adaptive loading of a sound card, including:
s10, polling a plurality of codec nodes through a plurality of I2C buses after the system is powered on, and judging whether the codec nodes corresponding to the current sound card driving program exist or not;
s20, if yes, determining the codec node corresponding to the current sound card driving program as a codec node to be loaded;
and S30, loading the current sound card driving program to the codec node to be loaded so as to complete sound card registration.
In a second aspect, an embodiment of the present invention provides a sound card adaptive loading system, including:
the node polling program module is used for polling a plurality of codec nodes through a plurality of I2C buses after the system is powered on and judging whether the codec nodes corresponding to the current sound card driving program exist or not;
the node determining program module is used for determining the codec node corresponding to the current sound card driving program as the codec node to be loaded when the codec node corresponding to the current sound card driving program is judged to exist;
and the sound card registration program module is used for loading the current sound card driving program to the codec node to be loaded so as to complete sound card registration.
In a third aspect, an embodiment of the present invention provides a storage medium, where one or more programs including execution instructions are stored, where the execution instructions can be read and executed by an electronic device (including but not limited to a computer, a server, or a network device, etc.) to perform any one of the sound card adaptive loading methods of the present invention.
In a fourth aspect, an electronic device is provided, comprising: the system comprises at least one processor and a memory which is connected with the at least one processor in a communication mode, wherein the memory stores instructions which can be executed by the at least one processor, and the instructions are executed by the at least one processor so as to enable the at least one processor to execute any sound card self-adaptive loading method.
In a fifth aspect, an embodiment of the present invention further provides a computer program product, where the computer program product includes a computer program stored on a storage medium, and the computer program includes program instructions, and when the program instructions are executed by a computer, the computer is caused to execute any one of the sound card adaptive loading methods described above.
The invention has the beneficial effects that: the same set of system software is placed on different mainboards (only different codecs), and the corresponding codecs can be automatically identified, so that different drivers are used to complete the normal function. Therefore, the self-adaptive process is realized, and the production and maintenance cost of manufacturers is greatly reduced.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings needed to be used in the description of the embodiments are briefly introduced below, and it is obvious that the drawings in the following description are some embodiments of the present invention, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without creative efforts.
FIG. 1 is a flow chart of an embodiment of a method for adaptive loading of a sound card according to the present invention;
fig. 2 is an architecture diagram of polling codec nodes through an I2C bus by taking the smart sound box system as an example in an embodiment of the present invention;
FIG. 3 is a flowchart of another embodiment of a method for adaptive loading of a sound card according to the present invention;
FIG. 4 is a flowchart of a method for adaptive loading of a sound card according to another embodiment of the present invention;
FIG. 5 is a flowchart illustrating a method for adaptive loading of a sound card according to another embodiment of the present invention
FIG. 6 is a functional block diagram of an embodiment of a sound card adaptive loading system of the present invention;
FIG. 7 is a functional block diagram of one embodiment of a node polling program module of the present invention;
FIG. 8 is a functional block diagram of another embodiment of a sound card adaptive loading system of the present invention;
fig. 9 is a schematic structural diagram of an embodiment of a terminal device of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are some, but not all, embodiments of the present invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
It should be noted that the embodiments and features of the embodiments in the present application may be combined with each other without conflict.
The invention may be described in the general context of computer-executable instructions, such as program modules, being executed by a computer. Generally, program modules include routines, programs, objects, components, data structures, etc. that perform particular tasks or implement particular abstract data types. The invention may also be practiced in distributed computing environments where tasks are performed by remote processing devices that are linked through a communications network. In a distributed computing environment, program modules may be located in both local and remote computer storage media including memory storage devices.
As used in this disclosure, "module," "device," "system," and the like are intended to refer to a computer-related entity, either hardware, a combination of hardware and software, or software in execution. In particular, for example, an element may be, but is not limited to being, a process running on a processor, an object, an executable, a thread of execution, a program, and/or a computer. Also, an application or script running on a server, or a server, may be an element. One or more elements may be in a process and/or thread of execution and an element may be localized on one computer and/or distributed between two or more computers and may be operated by various computer-readable media. The elements may also communicate by way of local and/or remote processes based on a signal having one or more data packets, e.g., from a data packet interacting with another element in a local system, distributed system, and/or across a network in the internet with other systems by way of the signal.
Finally, it should also be noted that, herein, relational terms such as first and second, and the like may be used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising … …" does not exclude the presence of other identical elements in a process, method, article, or apparatus that comprises the element.
The software method of the present invention is suitable for intelligent hardware products, such as smart speakers, smart homes, smart phones, story tellers, smart headsets, etc. with voice function, which are not exhaustive, and the present invention is not limited thereto.
As shown in fig. 1, an embodiment of the present invention provides a method for adaptive loading of a sound card, including:
s10, polling a plurality of codec nodes through a plurality of I2C buses after the system is powered on, and judging whether the codec nodes corresponding to the current sound card driving program exist or not;
s20, if yes, determining the codec node corresponding to the current sound card driving program as a codec node to be loaded;
and S30, loading the current sound card driving program to the codec node to be loaded so as to complete sound card registration. In some embodiments, after completing the sound card registration, the method further comprises: and generating node information for information reading.
In this embodiment, the same set of system software is placed on different motherboards (only different codecs), and the corresponding codecs can be automatically identified, so that different drivers are used to complete the normal function. Therefore, the self-adaptive process is realized, and the production and maintenance cost of manufacturers is greatly reduced.
Fig. 2 is an architecture diagram illustrating polling of codec nodes via an I2C bus, for example, in the smart sound box system. A plurality of codec drivers supported by the intelligent sound box system are pre-configured in the intelligent sound box system, a CPU in the intelligent sound box system is connected to a plurality of codec nodes through a plurality of I2C buses, and when the system is powered on (for example, when a user powers on the intelligent sound box), the codec nodes are polled through an I2C bus, and the obtained identity characteristic information (for example, chip ID) of each codec node is sent to the plurality of drivers configured in the system, and the drivers respectively judge whether the received chip ID is the same as the chip ID of the driver, and if the comparison result is positive, the currently polled codec node corresponds to the current driver, so that the current driver is further loaded to the currently polled codec node; and if the comparison result is negative, the currently polled codec node is not matched with the current driver.
As shown in fig. 3, in some embodiments, polling the plurality of codec nodes via the plurality of I2C buses after the system is powered up and determining whether there is a codec node corresponding to the current sound card driver includes:
s11, polling a plurality of codec nodes on the ith I2C bus, and acquiring the identity characteristic information of the currently polled codec node when polling to one codec node; wherein, I takes values from 1 to n, and n is the number of I2C buses.
Illustratively, the initial value of I is 1, i.e. a plurality of codec nodes on the 1 st I2C bus are polled in the initial condition, and it can be assumed that there are 3 codec nodes on the first I2C bus, the first time the codec node is polled and its chip ID is obtained. The acquired chip ID is then transmitted to the driver built in the system, and step S12 is executed thereafter.
S12, judging whether the identity characteristic information of the current polling codec node corresponds to the current sound card driving program or not; if so, the polling is ended, otherwise, it jumps to step S11.
Exemplarily, after a driver built in the system receives a chip ID, the driver determines whether the chip ID is the same as the chip ID of the driver itself, and if so, indicates that the currently polled codec node corresponds to the current driver; if not, otherwise, and jumping to step S11 to continue polling the second codec node on the 1 st I2C bus, and so on, to perform the subsequent steps, and if no match is determined until the last codec node (the 3 rd codec node on the 1 st I2C bus) on the current I2C bus (e.g., the 1 st I2C bus) is polled, jumping to step S11 to start polling the plurality of codec nodes … … on the 2 nd I2C bus, and so on, to perform polling.
As shown in fig. 4, in some embodiments, the method for adaptively loading a sound card of the present invention further includes:
s41, when the recording request is detected, node information polling is carried out;
s42, if polling to finish the codec node of sound card registration, then starting the codec node of sound card registration for recording;
and S43, if the codec node which completes the sound card registration is not polled, starting the default codec node for recording.
In this embodiment, by configuring the default codec node, even when the system cannot find the sound card registered in the specific codec, recording can be performed based on the default codec node, so that a situation that the recording operation of the user cannot be served when the specific codec is successfully registered due to an uncertain factor can be prevented to a certain extent. Therefore, effective service for the user is guaranteed, and user experience is improved.
The method of the invention is to add an automatic identification part in the software, so that the same software is put on different mainboards (only different codecs), and the corresponding codec can be automatically identified, thereby using different drivers to normally complete the function. Therefore, the self-adaptive process is realized, and the maintenance cost is greatly reduced.
Fig. 5 is a flowchart of a sound card adaptive loading method according to another embodiment of the present invention, which is based on a flow of adding automatic identification after improvement. The method specifically comprises the following steps:
at system power-up for initialization, the codec driver loads in the manner of the i2c device,
a detect on the linux system will poll all devices on all i2c buses,
codec driver in polling, the chip ID of the codec (which may essentially uniquely characterize the codec) is read using i2c communication,
and judging whether the chip id is the chip id of the codec, if the chip id can be read normally and the value is correct, starting the registration of the codec sound card, and generating an information node for information reading after the registration is successful.
If i2c is not passed or chip id is not matched, the codec sound card is not registered, and no codec information node will be generated after polling is finished.
All codec drivers adopt the mode, and the codec driver can be automatically adapted to hardware connection.
And after the system is completely started, the user layer starts the recorder, and judges which codec the hardware is connected with by polling the equipment information of the sound card, so that the corresponding equipment node is opened for normal operation. And if the codec is not found by polling, adopting a default codec equipment node.
It should be noted that for simplicity of explanation, the foregoing method embodiments are described as a series of acts or combination of acts, but those skilled in the art will appreciate that the present invention is not limited by the order of acts, as some steps may occur in other orders or concurrently in accordance with the invention. Further, those skilled in the art should also appreciate that the embodiments described in the specification are preferred embodiments and that the acts and modules referred to are not necessarily required by the invention. In the foregoing embodiments, the descriptions of the respective embodiments have respective emphasis, and for parts that are not described in detail in a certain embodiment, reference may be made to related descriptions of other embodiments.
As shown in fig. 6, an embodiment of the present invention further provides a sound card adaptive loading system 600, including:
a node polling program module 610, configured to poll multiple codec nodes through multiple I2C buses after the system is powered on, and determine whether there is a codec node corresponding to the current sound card driver;
a node determining program module 620, configured to determine, when it is determined that a codec node corresponding to the current sound card driver exists, that the codec node corresponding to the current sound card driver is a codec node to be loaded;
and a sound card registration program module 630, configured to load the current sound card driver to the codec node to be loaded, so as to complete sound card registration.
In some embodiments, after completing the sound card registration, the method further comprises: and generating node information for information reading.
In this embodiment, the same set of system software is placed on different motherboards (only different codecs), and the corresponding codecs can be automatically identified, so that different drivers are used to complete the normal function. Therefore, the self-adaptive process is realized, and the production and maintenance cost of manufacturers is greatly reduced.
As shown in fig. 7, in some embodiments, the node polling program module 610 includes:
the node round-robin-order program unit 611 is used for polling a plurality of codec nodes on the ith I2C bus, and acquiring the identity characteristic information of the currently polled codec node every time when the codec node is polled; wherein, I takes values from 1 to n, and n is the number of I2C buses;
a determining program unit 612, configured to determine whether the identity feature information of the currently polled codec node corresponds to a current sound card driver;
an execution program unit 613, configured to end the polling when the determination result is positive, otherwise jump to the node sequencing program unit.
As shown in fig. 8, in some embodiments, the sound card adaptive loading system of the present invention further includes:
the information sequencing program module 641 is configured to perform node information polling after detecting the recording request;
the first starting program module 642 is configured to, when polling the codec node that completes sound card registration, start the codec node that completes sound card registration to record;
a second start program module 643, configured to start the default codec node for recording when the codec node that completes sound card registration is not polled.
In some embodiments, the present invention provides a non-transitory computer-readable storage medium, in which one or more programs including executable instructions are stored, where the executable instructions can be read and executed by an electronic device (including but not limited to a computer, a server, or a network device, etc.) to perform any of the sound card adaptive loading methods of the present invention.
In some embodiments, the present invention further provides a computer program product comprising a computer program stored on a non-volatile computer-readable storage medium, the computer program comprising program instructions that, when executed by a computer, cause the computer to perform any of the sound card adaptive loading methods described above.
In some embodiments, an embodiment of the present invention further provides an electronic device, which includes: the system comprises at least one processor and a memory communicatively coupled to the at least one processor, wherein the memory stores instructions executable by the at least one processor, the instructions being executable by the at least one processor to enable the at least one processor to perform a sound card adaptive loading method.
In some embodiments, an embodiment of the present invention further provides a storage medium having a computer program stored thereon, where the program is executed by a processor, and the sound card adaptive loading method is provided.
The sound card adaptive loading system according to the embodiment of the present invention may be configured to execute the sound card adaptive loading method according to the embodiment of the present invention, and accordingly achieve the technical effect achieved by the sound card adaptive loading method according to the embodiment of the present invention, which is not described herein again. In the embodiment of the present invention, the relevant functional module may be implemented by a hardware processor (hardware processor).
Referring now to FIG. 9, shown is a block diagram of a computer system 900 suitable for use with a terminal device implementing an embodiment of the present invention. The terminal device shown in fig. 9 is only an example, and should not bring any limitation to the functions and the scope of use of the embodiments of the present invention.
As shown in fig. 9, the computer system 900 includes a Central Processing Unit (CPU)901 that can perform various appropriate actions and processes in accordance with a program stored in a Read Only Memory (ROM)902 or a program loaded from a storage section 908 into a Random Access Memory (RAM) 903. In the RAM 903, various programs and data necessary for the operation of the system 900 are also stored. The CPU 901, ROM 902, and RAM 903 are connected to each other via a bus 904. An input/output (I/O) interface 905 is also connected to bus 904.
The following components are connected to the I/O interface 905: an input portion 906 including a keyboard, a mouse, and the like; an output section 907 including components such as a Cathode Ray Tube (CRT), a Liquid Crystal Display (LCD), and the like, and a speaker; a storage portion 908 including a hard disk and the like; and a communication section 909 including a network interface card such as a LAN card, a modem, or the like. The communication section 909 performs communication processing via a network such as the internet. The drive 910 is also connected to the I/O interface 905 as necessary. A removable medium 911 such as a magnetic disk, an optical disk, a magneto-optical disk, a semiconductor memory, or the like is mounted on the drive 910 as necessary, so that a computer program read out therefrom is mounted into the storage section 908 as necessary.
In particular, according to the embodiments of the present disclosure, the processes described above with reference to the flowcharts may be implemented as computer software programs. For example, embodiments of the present disclosure include a computer program product comprising a computer program embodied on a computer readable medium, the computer program comprising program code for performing the method illustrated in the flow chart. In such an embodiment, the computer program may be downloaded and installed from a network through the communication section 909, and/or installed from the removable medium 911. The above-described functions defined in the system of the present invention are executed when the computer program is executed by a Central Processing Unit (CPU) 901.
The product can execute the method provided by the embodiment of the application, and has the corresponding functional modules and beneficial effects of the execution method. For technical details that are not described in detail in this embodiment, reference may be made to the methods provided in the embodiments of the present application.
The terminal device of the embodiment of the present application exists in various forms, including but not limited to:
(1) mobile communication devices, which are characterized by mobile communication capabilities and are primarily targeted at providing voice and data communications. Such terminals include smart phones (e.g., iphones), multimedia phones, functional phones, and low-end phones, among others.
(2) The ultra-mobile personal computer equipment belongs to the category of personal computers, has calculation and processing functions and generally has the characteristic of mobile internet access. Such terminals include PDA, MID, and UMPC devices, such as ipads.
(3) Portable entertainment devices such devices may display and play multimedia content. Such devices include smart speakers, smart homes, audio, video players (e.g., ipods), handheld game consoles, electronic books, as well as smart toys and portable car navigation devices.
(4) The server is similar to a general computer architecture, but has higher requirements on processing capability, stability, reliability, safety, expandability, manageability and the like because of the need of providing highly reliable services.
(5) And other electronic devices with data interaction functions.
The above-described embodiments of the apparatus are merely illustrative, and the units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of the present embodiment.
Through the above description of the embodiments, those skilled in the art will clearly understand that each embodiment can be implemented by software plus a general hardware platform, and certainly can also be implemented by hardware. Based on such understanding, the above technical solutions substantially or contributing to the related art may be embodied in the form of a software product, which may be stored in a computer-readable storage medium, such as ROM/RAM, magnetic disk, optical disk, etc., and includes instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) to execute the method according to the embodiments or some parts of the embodiments.
Finally, it should be noted that: the above embodiments are only used to illustrate the technical solutions of the present application, and not to limit the same; although the present application has been described in detail with reference to the foregoing embodiments, it should be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; and such modifications or substitutions do not depart from the spirit and scope of the corresponding technical solutions in the embodiments of the present application.
Claims (8)
1. A sound card self-adaptive loading method comprises the following steps:
s10, polling a plurality of codec nodes through a plurality of I2C buses after the system is powered on, and judging whether the codec nodes corresponding to the current sound card driving program exist or not;
s20, if yes, determining the codec node corresponding to the current sound card driving program as a codec node to be loaded;
s30, loading the current sound card driving program to the codec node to be loaded so as to complete sound card registration;
polling a plurality of codec nodes through a plurality of I2C buses after the system is powered on, and judging whether the codec node corresponding to the current sound card driving program exists or not comprises the following steps:
s11, polling a plurality of codec nodes on the ith I2C bus, and acquiring the identity characteristic information of the currently polled codec node when polling to one codec node; wherein, I takes values from 1 to n, and n is the number of I2C buses;
s12, judging whether the identity characteristic information of the current polling codec node corresponds to the current sound card driving program or not; if so, the polling is ended, otherwise, it jumps to step S11.
2. The method of claim 1, further comprising, after completing sound card registration: and generating node information for information reading.
3. The method of claim 2, further comprising:
when the recording request is detected, carrying out node information polling;
if polling to the codec node completing the sound card registration, starting the codec node completing the sound card registration for recording;
and if the codec node which finishes the sound card registration is not polled, starting a default codec node for recording.
4. A sound card adaptive loading system comprising:
the node polling program module is used for polling a plurality of codec nodes through a plurality of I2C buses after the system is powered on and judging whether the codec nodes corresponding to the current sound card driving program exist or not;
the node determining program module is used for determining the codec node corresponding to the current sound card driving program as the codec node to be loaded when the codec node corresponding to the current sound card driving program is judged to exist;
the sound card registration program module is used for loading the current sound card driving program to the codec node to be loaded so as to complete sound card registration;
wherein the node polling program module comprises:
the node sequencing program unit is used for polling a plurality of codec nodes on the ith I2C bus, and acquiring the identity characteristic information of the currently polled codec node every time when the codec node is polled; wherein, I takes values from 1 to n, and n is the number of I2C buses;
the judging program unit is used for judging whether the identity characteristic information of the current polling codec node corresponds to a current sound card driving program or not;
and the program execution unit is used for finishing polling when the judgment result is positive, and otherwise, skipping to the node sequencing program unit.
5. The system of claim 4, further comprising, after completion of sound card registration: and generating node information for information reading.
6. The system of claim 5, further comprising:
the information round-robin-sequence program module is used for polling node information after the recording request is detected;
the first starting program module is used for starting the codec node which finishes the sound card registration for recording when the codec node which finishes the sound card registration is polled;
and the second starting program module is used for starting the default codec node for recording when the codec node which finishes the sound card registration is not polled.
7. An electronic device, comprising: at least one processor, and a memory communicatively coupled to the at least one processor, wherein the memory stores instructions executable by the at least one processor to enable the at least one processor to perform the steps of the method of any one of claims 1-3.
8. A storage medium on which a computer program is stored which, when being executed by a processor, carries out the steps of the method of any one of claims 1 to 3.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910260834.9A CN110007975B (en) | 2019-04-02 | 2019-04-02 | Sound card self-adaptive loading method and system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910260834.9A CN110007975B (en) | 2019-04-02 | 2019-04-02 | Sound card self-adaptive loading method and system |
Publications (2)
Publication Number | Publication Date |
---|---|
CN110007975A CN110007975A (en) | 2019-07-12 |
CN110007975B true CN110007975B (en) | 2021-11-12 |
Family
ID=67169400
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201910260834.9A Active CN110007975B (en) | 2019-04-02 | 2019-04-02 | Sound card self-adaptive loading method and system |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN110007975B (en) |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104410547A (en) * | 2014-12-03 | 2015-03-11 | 合肥工大高科信息科技股份有限公司 | Address conflict detection method for distributed control system |
CN106325804A (en) * | 2015-07-03 | 2017-01-11 | 深圳市中兴微电子技术有限公司 | Audio processing method and system |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US8441516B2 (en) * | 2008-10-07 | 2013-05-14 | Cisco Technology, Inc. | Service level view of audiovisual conference systems |
-
2019
- 2019-04-02 CN CN201910260834.9A patent/CN110007975B/en active Active
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104410547A (en) * | 2014-12-03 | 2015-03-11 | 合肥工大高科信息科技股份有限公司 | Address conflict detection method for distributed control system |
CN106325804A (en) * | 2015-07-03 | 2017-01-11 | 深圳市中兴微电子技术有限公司 | Audio processing method and system |
Also Published As
Publication number | Publication date |
---|---|
CN110007975A (en) | 2019-07-12 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US8521942B2 (en) | HID over simple peripheral buses | |
CN102736954B (en) | System degradation is solved by forbidding application | |
CN110246499B (en) | Voice control method and device for household equipment | |
US20070300055A1 (en) | Booting apparatus and method therefor | |
CN108347719B (en) | Bluetooth device connection method, device, storage medium, mobile terminal and server | |
CN104391716A (en) | Plug-in-based application program implementing method and device | |
WO2021147455A1 (en) | Message processing method and device, and electronic apparatus | |
CN106203092B (en) | Method and device for intercepting shutdown of malicious program and electronic equipment | |
US20090258712A1 (en) | Game Device | |
CN112231021A (en) | Method and device for guiding new software function | |
US20170237816A1 (en) | Method and electronic device for identifying device | |
CN109725867A (en) | Virtual screen sharing method, device and electronic equipment | |
CN107015828A (en) | Audio software upgrade method, application program updating method, apparatus and system | |
CN106095587B (en) | Cache scanning method and device of application program and electronic equipment | |
CN111698294B (en) | Automatic equipment binding method and building management system | |
CN110007975B (en) | Sound card self-adaptive loading method and system | |
CN101917779A (en) | Method and device for automatically adapting to wireless modules with different network standards | |
CN114042310A (en) | Game operation data collection method and device, computer equipment and storage medium | |
CN112559217A (en) | Message reliability consumption idempotent processing method and processing device | |
CN107015874B (en) | Data transmission control method, device and terminal | |
CN114780152B (en) | Computing device starting method and device | |
US11726741B2 (en) | Agent control device, agent control method, and recording medium | |
CN115766429A (en) | Matching method and device of system and edge computing gateway | |
CN114296764A (en) | System upgrading method and device, storage medium and electronic equipment | |
CN112015443A (en) | Upgrading method and device for electronic equipment, electronic equipment and storage medium |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
CB02 | Change of applicant information |
Address after: 215123 building 14, Tengfei Innovation Park, 388 Xinping street, Suzhou Industrial Park, Suzhou City, Jiangsu Province Applicant after: Sipic Technology Co.,Ltd. Address before: 215123 building 14, Tengfei Innovation Park, 388 Xinping street, Suzhou Industrial Park, Suzhou City, Jiangsu Province Applicant before: AI SPEECH Ltd. |
|
CB02 | Change of applicant information | ||
GR01 | Patent grant | ||
GR01 | Patent grant |