CN113009411A - Audio coding and decoding chip with positioning function, positioning method and application - Google Patents
Audio coding and decoding chip with positioning function, positioning method and application Download PDFInfo
- Publication number
- CN113009411A CN113009411A CN202110211339.6A CN202110211339A CN113009411A CN 113009411 A CN113009411 A CN 113009411A CN 202110211339 A CN202110211339 A CN 202110211339A CN 113009411 A CN113009411 A CN 113009411A
- Authority
- CN
- China
- Prior art keywords
- positioning
- audio
- chip
- function
- decoding
- 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.)
- Pending
Links
- 238000000034 method Methods 0.000 title claims abstract description 31
- 230000006870 function Effects 0.000 claims abstract description 47
- 238000012545 processing Methods 0.000 claims abstract description 21
- 230000005540 biological transmission Effects 0.000 claims description 6
- 238000004590 computer program Methods 0.000 claims description 5
- 230000009466 transformation Effects 0.000 claims description 4
- 238000005516 engineering process Methods 0.000 abstract description 14
- 238000004364 calculation method Methods 0.000 abstract description 12
- 230000005236 sound signal Effects 0.000 abstract description 10
- 230000004044 response Effects 0.000 abstract description 2
- 230000008569 process Effects 0.000 description 8
- 238000010586 diagram Methods 0.000 description 4
- 230000007547 defect Effects 0.000 description 3
- 238000003491 array Methods 0.000 description 2
- 230000009286 beneficial effect Effects 0.000 description 2
- 238000001914 filtration Methods 0.000 description 2
- 238000004458 analytical method Methods 0.000 description 1
- 230000000903 blocking effect Effects 0.000 description 1
- 238000004422 calculation algorithm Methods 0.000 description 1
- 230000008878 coupling Effects 0.000 description 1
- 238000010168 coupling process Methods 0.000 description 1
- 238000005859 coupling reaction Methods 0.000 description 1
- 238000001514 detection method Methods 0.000 description 1
- 230000004807 localization Effects 0.000 description 1
- 238000005259 measurement Methods 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 230000002093 peripheral effect Effects 0.000 description 1
- 230000008092 positive effect Effects 0.000 description 1
- 239000004065 semiconductor Substances 0.000 description 1
- 238000000844 transformation Methods 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G01—MEASURING; TESTING
- G01S—RADIO DIRECTION-FINDING; RADIO NAVIGATION; DETERMINING DISTANCE OR VELOCITY BY USE OF RADIO WAVES; LOCATING OR PRESENCE-DETECTING BY USE OF THE REFLECTION OR RERADIATION OF RADIO WAVES; ANALOGOUS ARRANGEMENTS USING OTHER WAVES
- G01S5/00—Position-fixing by co-ordinating two or more direction or position line determinations; Position-fixing by co-ordinating two or more distance determinations
- G01S5/0009—Transmission of position information to remote stations
Landscapes
- Physics & Mathematics (AREA)
- Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Radar, Positioning & Navigation (AREA)
- Remote Sensing (AREA)
- Signal Processing For Digital Recording And Reproducing (AREA)
Abstract
The invention belongs to the technical field of data processing, and discloses an audio coding and decoding chip with a positioning function, a positioning method and application. The positioning technology based on the audio signal has the characteristics of high precision, good stability, strong adaptability and the like, and the processing and calculation are mostly carried out in a host CPU at present. When the audio data stream is processed in the coding and decoding chip through which the audio data stream must pass, the resources of a CPU are greatly saved, the response speed and accuracy of a positioning result are improved, and the upgrading of an electronic product is promoted. In the prior art, some audio coding and decoding chips are provided with functions common in other electronic terminals, such as a touch screen control function, a video coding and decoding function and the like, but a positioning function does not appear, so that the invention has innovation and feasibility.
Description
Technical Field
The invention belongs to the technical field of data processing, and particularly relates to an audio coding and decoding chip with a positioning function, a positioning method and application.
Background
At present, an audio codec chip: audio Codec, which is an Audio Codec, is a dedicated chip that can encode and decode digital Audio streams. On a hardware level, an audio codec refers to a stand-alone device that can encode analog audio into digital audio and decode digital audio into analog audio. Stated another way, it includes an analog-to-digital converter (ADC) and a digital-to-analog converter (DAC) that operate at the same clock. This is used in sound cards to support audio input and output.
Audio localization techniques: the audio ranging and positioning technology realizes the positioning and navigation functions based on the sound propagation rule, transmits sound signals according to a specific period and a user-defined coding mode by installing an audio broadcasting base station, realizes the distance measurement between a receiving end and the base station by using a mobile phone or a special receiver (capable of processing the sound signals), and further solves the position.
In the prior art, a CPU (central processing unit) of a terminal is adopted to process an audio stream signal, and finally, a positioning function is realized.
Through the above analysis, the problems and defects of the prior art are as follows:
(1) the existing audio chip is only used for data stream coding and decoding, and a small number of products have the functions of touch screen control, video coding and the like;
the audio chip occupies certain space and cost in most board cards of electronic products, but has a single function, is only used for basic processing such as data transmission or denoising, does not have higher functions, and has low utilization rate of audio data streams.
(2) The existing audio positioning technology occupies a large amount of resources of a terminal CPU, and meanwhile, due to the continuous real-time resolving requirement of the positioning technology, the positioning algorithm process is very easily interfered by other threads (such as display, data transmission and the like) which must be operated by a carried terminal, so that the stability, the real-time performance, the precision and the like are difficult to further improve, and the popularization and the use of the technology are not facilitated.
(3) The existing audio positioning technology is generally based on some wireless modules or technologies, the wireless modules are connected with a CPU through hardware and processed by software, so that the audio positioning system forms a complex coupling relationship, and the CPU thread also needs to be specially processed in a time-consuming manner.
The difficulty in solving the above problems and defects is:
most of the existing audio coding and decoding chips are based on inherent modes, generally, the calculation is limited, the traditional audio signals are subjected to basic processing, and complex signal modulation and demodulation or positioning related calculation is difficult to perform. Meanwhile, due to the specificity and particularity of the chip, the chip is difficult to cancel, and most electronic products are designed and used.
When audio-related positioning calculation is performed in the CPU, the audio data link is long, delay and distortion which may be experienced in the middle are large, and the quality of original data used for positioning calculation cannot be guaranteed. In addition, the operating system adopted by most mature electronic products cannot completely guarantee strict real-time performance, multithreading such as display software and background software often causes the blocking of a foreground program, and the audio positioning calculation process is based on continuous data flow and needs to perform continuous operation to obtain a result.
The positioning technology is performed around a terminal CPU, all peripheral devices and functions need to be coordinated by the CPU, and the positioning function is low in independence.
The significance of solving the problems and the defects is as follows:
the audio coding and decoding chip can not be cancelled temporarily, namely the product cost and the circuit space occupied by the audio coding and decoding chip are not possible to be optimized directly, but the functions of the audio coding and decoding chip are expanded, so that the value of the audio coding and decoding chip is improved, and the cost performance of the audio coding and decoding chip is increased to a certain extent.
The positioning calculation process of the soft processing in the CPU is placed in the special chip, so that the positioning part can be completely independent, and the reliability, the function expansibility and the like of the product are facilitated.
The calculation process in the CPU is placed in special processing hardware, which is beneficial to improving the performance of positioning calculation and is beneficial to popularization and application of the technology.
Disclosure of Invention
Aiming at the problems in the prior art, the invention provides an audio coding and decoding chip with a positioning function, a positioning method and application.
The invention is realized in this way, a method for positioning an audio codec chip with a positioning function, the method for positioning an audio codec chip with a positioning function includes:
and adding an audio positioning branch on the audio coding and decoding chip for processing the audio data stream. The core function of the branch is to have a Digital Signal Processing (DSP) function, including but not limited to basic mathematical operations such as addition, subtraction, multiplication, division, etc., and complex mathematical transformations such as FFT, IFFT, etc. The DSP can add the positioning signal into the transmitting end (namely coding) and control the transmitting logic thereof, or extract the designed signal (decoding) from the receiving end and obtain the arrival time thereof, and finally the position of the DSP or the matched equipment can be calculated through the matching of a plurality of pieces of equipment in the system. The encoding process is typically: assuming that the added characteristic (f, a) related to the transmitting base station is a way to modulate the frequency and amplitude of the audio signal, a direct time domain expression g (t) can be obtained through FFT transformation, etc., and further loaded into the audio signal to be transmitted.
In the demodulation process, the received signal s (t) is processed through IFFT, FFT and the like to obtain the frequency domain and time domain characteristics of the signal, and the frequency domain and time domain characteristics are further compared with a pre-stored characteristic library to obtain whether the positioning signal exists and which transmitting base station corresponds to the positioning signal.
Further, after the position of the self or the matching equipment is resolved, information exchange is carried out with a host CPU for transmission or storage.
Another objective of the present invention is to provide an audio codec chip with positioning function (fig. 3), which implements the positioning method.
Another object of the present invention is to provide an information data processing terminal including a memory and a processor, the memory storing a computer program, the computer program, when executed by the processor, causing the processor to execute the steps of:
and processing the audio data stream, adding the positioning signals into the transmitting end and the receiving end, and resolving the position of the self or the matched equipment according to the signals extracted by adding the transmitting end and the receiving end.
It is a further object of the present invention to provide a computer readable storage medium, in which a computer program is stored, which, when being executed by a processor, causes the processor to carry out the positioning method.
The invention also aims to provide a mobile phone carrying the audio coding and decoding chip with the positioning function.
The invention also aims to provide a wearable device carrying the audio coding and decoding chip with the positioning function.
The invention also aims to provide a television and various electronic products with the audio coding and decoding chip with the positioning function.
The invention also aims to provide an application of the positioning method in touch screen control and video coding and decoding of the electronic terminal.
By combining all the technical schemes, the invention has the advantages and positive effects that:
the invention integrates the software solution of the prior audio positioning technology into hardware, namely, the hardware solution is integrated into an audio coding and decoding chip, so that the audio coding and decoding chip has the positioning function, and the volume and the cost of the audio coding and decoding chip are not obviously increased.
In the future, most of devices using the chip have positioning capability, and when the audio positioning technology is popularized, the performance of the existing audio positioning technology is further improved by a hardware positioning solution, and the aspects of calculation speed, precision and the like are also improved.
Compared with the prior art, the invention has the advantages that:
the invention integrates the positioning technology into the widely existing audio coding and decoding chip, so that the chip has the receiving and transmitting capacity of the positioning signal and the positioning calculation capacity.
The existing audio coding and decoding chip is mainly used for compressing and decompressing digital audio data to an audio file or a streaming media audio coding format, and is widely applied to various electronic products such as mobile phones, wearable equipment, televisions and the like, but the existing audio coding and decoding chip has a single function and is not high in the utilization rate of signals.
The positioning technology based on the audio signal has the characteristics of high precision, good stability, strong adaptability and the like, and the processing and calculation are mostly carried out in a host CPU at present. When the audio data stream is processed in the coding and decoding chip through which the audio data stream must pass, the resources of a CPU are greatly saved, the response speed and accuracy of a positioning result are improved, and the upgrading of an electronic product is promoted.
Similarly, in the prior art, some audio encoding and decoding chips are provided with functions commonly found in other electronic terminals, such as a touch screen control function, a video encoding and decoding function and the like, but a positioning function does not appear, and the invention has innovativeness and feasibility.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings needed to be used in the embodiments of the present application will be briefly described below, and it is obvious that the drawings described below are only some embodiments of the present application, and it is obvious for those skilled in the art that other drawings can be obtained from the drawings without creative efforts.
Fig. 1 is a flowchart of a method for positioning an audio codec chip with a positioning function according to an embodiment of the present invention.
Fig. 2 is a general structure diagram of a conventional Codec according to an embodiment of the present invention.
In fig. 2: PGA: a program controlled amplifier; ADC: an analog-to-digital converter; DAC: a digital-to-analog converter; filter is a Filter; volume Control: controlling the volume; and (3) Limiter: an amplitude limiter; control Interface: a control interface; data Interface: and a data interface.
Fig. 3 is a Codec structure diagram with positioning function according to the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention more apparent, the present invention is further described in detail with reference to the following embodiments. It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
In view of the problems in the prior art, the present invention provides a method for positioning an audio codec chip with a positioning function, which is described in detail below with reference to the accompanying drawings.
As shown in fig. 1, the present invention designs a novel chip, and the method for positioning an audio codec chip with a positioning function includes:
s101, on the basis of a universal audio coding and decoding chip and a structure thereof, a branch is added and can be specially used for processing audio data streams;
s102, adding (transmitting end) and extracting (receiving end) the positioning signal;
and S103, simultaneously, the position of the self or the matched equipment can be calculated according to the added and extracted signals, and the information is exchanged with the CPU of the host computer for transmission or storage.
The invention also provides an audio coding and decoding chip with a positioning function, and the audio coding and decoding chip with the positioning function implements the positioning method.
Fig. 2 is a general structure diagram of a conventional Codec according to an embodiment of the present invention. In fig. 2: PGA: a program controlled amplifier; ADC: an analog-to-digital converter; DAC: a digital-to-analog converter; filter is a Filter; volume Control: controlling the volume; and (3) Limiter: an amplitude limiter; control Interface: a control interface; data Interface: and a data interface.
Fig. 3 is a block diagram of an audio Codec chip (Codec structure with positioning function) with positioning function according to an embodiment of the present invention.
For a traditional Codec, an external microphone device senses an audio signal, converts the audio signal into an analog electrical signal, enters a Codec chip, becomes a digital signal after passing through an amplifier and an analog-to-digital converter inside the Codec chip, generally passes through some preset filtering units to form a data stream more suitable for processing and storage, and is read by an external CPU through a data interface. Conversely, the CPU can also send data to be output in the program to the Codec through the data interface, and the data is converted into analog electrical signals by the digital-to-analog converter and the amplifier after operations such as filtering, and then the analog electrical signals are transmitted to devices such as a speaker for playing.
For Codec with positioning function, the original audio signal collected by ADC will flow into DSP part which can process digital signal, through basic mathematical operation such as addition, subtraction, multiplication and division, and complex mathematical transformation such as FFT, IFFT, etc., the specially designed positioning signal contained in the signal is detected, and the characteristic and detection time of the signal are transmitted to CPU through data interface, which can be used to obtain the propagation time or time difference of signal sent by the device sending signal, and further based on the known position of the sending device, the self position is calculated by intersection principle. Conversely, when the CPU transmits the positioning signal through the Codec, the DSP part in the Codec may also modulate the positioning signal into the transmission data stream through its arithmetic logic, and output the positioning signal through the speaker.
In the description of the present invention, "a plurality" means two or more unless otherwise specified; the terms "upper", "lower", "left", "right", "inner", "outer", "front", "rear", "head", "tail", and the like, indicate orientations or positional relationships based on the orientations or positional relationships shown in the drawings, are only for convenience in describing and simplifying the description, and do not indicate or imply that the device or element referred to must have a particular orientation, be constructed in a particular orientation, and be operated, and thus, should not be construed as limiting the invention. Furthermore, the terms "first," "second," "third," and the like are used for descriptive purposes only and are not to be construed as indicating or implying relative importance.
It should be noted that the embodiments of the present invention can be realized by hardware, software, or a combination of software and hardware. The hardware portion may be implemented using dedicated logic; the software portions may be stored in a memory and executed by a suitable instruction execution system, such as a microprocessor or specially designed hardware. Those skilled in the art will appreciate that the apparatus and methods described above may be implemented using computer executable instructions and/or embodied in processor control code, such code being provided on a carrier medium such as a disk, CD-or DVD-ROM, programmable memory such as read only memory (firmware), or a data carrier such as an optical or electronic signal carrier, for example. The apparatus and its modules of the present invention may be implemented by hardware circuits such as very large scale integrated circuits or gate arrays, semiconductors such as logic chips, transistors, or programmable hardware devices such as field programmable gate arrays, programmable logic devices, etc., or by software executed by various types of processors, or by a combination of hardware circuits and software, e.g., firmware.
The above description is only for the purpose of illustrating the present invention and the appended claims are not to be construed as limiting the scope of the invention, which is intended to cover all modifications, equivalents and improvements that are within the spirit and scope of the invention as defined by the appended claims.
Claims (10)
1. A method for positioning an audio codec chip with a positioning function comprises:
the method is characterized in that branches are added on an audio coding and decoding chip and used for processing audio data streams, positioning signals are added into a transmitting end and a receiving end, and the position of the audio coding and decoding chip or the position of a matched device is resolved according to signals extracted by the transmitting end and the receiving end.
2. The method as claimed in claim 1, wherein the processing the audio data stream comprises: processing the audio data by using basic mathematical operations such as addition, subtraction, multiplication, division and the like, and FFT and IFFT transformation;
the resolving the position of the self or the cooperating device comprises: and adding the positioning signal into the transmitting terminal and controlling the transmitting logic, or extracting the designed signal from the receiving terminal and acquiring the arrival time, and finally resolving the position of the self or the matched equipment through the matching of a plurality of pieces of equipment in the system.
3. The method for locating the audio codec chip with the locating function according to claim 1, wherein after the position of the device itself or the matching device is resolved, the device exchanges information with a host CPU for transmission or storage.
4. An audio codec chip with a positioning function, wherein the audio codec chip with the positioning function implements the positioning method according to any one of claims 1 to 3.
5. An information data processing terminal characterized by comprising a memory and a processor, the memory storing a computer program that, when executed by the processor, causes the processor to perform the steps of:
and processing the audio data stream, adding the positioning signals into the transmitting end and the receiving end, and resolving the position of the self or the matched equipment according to the signals extracted by adding the transmitting end and the receiving end.
6. A computer-readable storage medium storing a computer program which, when executed by a processor, causes the processor to perform the positioning method according to any one of claims 1 to 3.
7. A mobile phone carrying the audio coding/decoding chip with positioning function of claim 4.
8. A wearable device carrying the audio codec chip with positioning function of claim 4.
9. A television and various electronic products carrying the audio codec chip with positioning function of claim 4.
10. An application of the positioning method according to any one of claims 1 to 3 in touch screen control and video encoding and decoding of an electronic terminal.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202110211339.6A CN113009411A (en) | 2021-02-25 | 2021-02-25 | Audio coding and decoding chip with positioning function, positioning method and application |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202110211339.6A CN113009411A (en) | 2021-02-25 | 2021-02-25 | Audio coding and decoding chip with positioning function, positioning method and application |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| CN113009411A true CN113009411A (en) | 2021-06-22 |
Family
ID=76386429
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN202110211339.6A Pending CN113009411A (en) | 2021-02-25 | 2021-02-25 | Audio coding and decoding chip with positioning function, positioning method and application |
Country Status (1)
| Country | Link |
|---|---|
| CN (1) | CN113009411A (en) |
Citations (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN103503503A (en) * | 2011-02-23 | 2014-01-08 | 数字标记公司 | Audio localization using audio signal encoding and recognition |
| CN103917886A (en) * | 2011-08-31 | 2014-07-09 | 弗兰霍菲尔运输应用研究公司 | Direction of Arrival Estimation Using Watermarked Audio Signals and Microphone Arrays |
| CN104412609A (en) * | 2012-07-05 | 2015-03-11 | Lg电子株式会社 | Method and apparatus for processing digital service signals |
-
2021
- 2021-02-25 CN CN202110211339.6A patent/CN113009411A/en active Pending
Patent Citations (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN103503503A (en) * | 2011-02-23 | 2014-01-08 | 数字标记公司 | Audio localization using audio signal encoding and recognition |
| CN103917886A (en) * | 2011-08-31 | 2014-07-09 | 弗兰霍菲尔运输应用研究公司 | Direction of Arrival Estimation Using Watermarked Audio Signals and Microphone Arrays |
| CN104412609A (en) * | 2012-07-05 | 2015-03-11 | Lg电子株式会社 | Method and apparatus for processing digital service signals |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| CN113421578A (en) | Audio processing method and device, electronic equipment and storage medium | |
| CN112863545B (en) | Performance test method, device, electronic equipment and computer readable storage medium | |
| CN108880649B (en) | Antenna configuration method, device, equipment and storage medium of terminal | |
| US8352666B2 (en) | Signal transmission interface and digital broadcast receiving device | |
| JP2025528666A (en) | Pairing method based on two-way communication and video audio entertainment system | |
| CN114710173B (en) | Interference signal filtering method and device, electronic equipment and storage medium | |
| CN113009411A (en) | Audio coding and decoding chip with positioning function, positioning method and application | |
| US20240292039A1 (en) | Method of switching audio input and output applied to live streaming, and live streaming device | |
| CN113889140A (en) | Audio signal playing method and device and electronic equipment | |
| CN112243182B (en) | Pickup circuit, method and device | |
| CN113495712A (en) | Automatic volume adjustment method, apparatus, medium, and device | |
| CN112634884A (en) | Method of controlling output audio, method of outputting audio, apparatus, electronic device, and computer-readable storage medium | |
| CN110600022B (en) | Audio processing method and device and computer storage medium | |
| US20240040191A1 (en) | Livestreaming audio processing method and device | |
| US12340784B2 (en) | Audio processing method, audio processing apparatus and device | |
| CN100555251C (en) | Play the method for the radio station broadcast signal of institute's connection mobile phone reception on computers | |
| CN114387986A (en) | Audio processing method, medium, device and computing equipment | |
| CN102005232A (en) | Terminal with music and lyric sharing function | |
| CN118471240B (en) | Audio playing device, audio receiving device and audio system | |
| CN112600585A (en) | TR (transmitter-receiver) assembly, signal processing method and related equipment | |
| CN113382119A (en) | Method, device, readable medium and electronic equipment for eliminating echo | |
| CN112307161A (en) | Method and apparatus for playing audio | |
| WO2021015314A1 (en) | Mobile terminal having integrated radio function, and integrated radio system using same | |
| KR100653967B1 (en) | Receiving performance measurement system and method using analysis function of mobile communication terminal | |
| CN102769795B (en) | Onboard Android platform and china mobile multimedia broadcasting (CMMB) playing method thereof |
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 | ||
| RJ01 | Rejection of invention patent application after publication |
Application publication date: 20210622 |
|
| RJ01 | Rejection of invention patent application after publication |