CN117793077A - Communication system and soft-hard volume adjusting method thereof - Google Patents

Communication system and soft-hard volume adjusting method thereof Download PDF

Info

Publication number
CN117793077A
CN117793077A CN202410200419.5A CN202410200419A CN117793077A CN 117793077 A CN117793077 A CN 117793077A CN 202410200419 A CN202410200419 A CN 202410200419A CN 117793077 A CN117793077 A CN 117793077A
Authority
CN
China
Prior art keywords
volume
encoding
decoding module
configuration
communication system
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
Application number
CN202410200419.5A
Other languages
Chinese (zh)
Inventor
徐贵贤
苏先海
邓雷升
李欣阳
王才能
郭斌
贺华
李宇
潘宇
曾玲
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
CETC 30 Research Institute
Original Assignee
CETC 30 Research Institute
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by CETC 30 Research Institute filed Critical CETC 30 Research Institute
Priority to CN202410200419.5A priority Critical patent/CN117793077A/en
Publication of CN117793077A publication Critical patent/CN117793077A/en
Pending legal-status Critical Current

Links

Abstract

The invention discloses a communication system and a soft-hard volume adjusting method thereof, wherein the communication system comprises: a device configuration interface and a coding and decoding module; information interaction is arranged between the equipment configuration interface and the encoding and decoding module; the hardware impedance characteristic of the encoding and decoding module is a fixed value, and the equipment configuration interface is used for receiving the volume configuration parameters of the transmitting end and the volume configuration parameters of the receiving end and converting the parameters into configuration instructions to be sent to the encoding and decoding module on the premise of not adjusting the impedance parameters of the communication system; the encoding and decoding module is used for converting the received configuration instruction into corresponding volume adjustment parameters so as to adjust the volume of the input audio signal. The impedance of the encoding and decoding module is a fixed value, and the encoding and decoding module can adapt to the volume of different systems and has moderate volume on the premise of not adjusting the impedance parameters of a hardware circuit.

Description

Communication system and soft-hard volume adjusting method thereof
Technical Field
The invention relates to the technical field of wireless communication, in particular to a communication system and a soft-hard volume adjusting method thereof.
Background
In voice communication, impedance matching and volume are important factors affecting voice quality, the same communication system, different audio input devices at the transmitting end or different persons are used, different playing devices at the receiving end are used, and in order to ensure moderate volume, variable resistors are generally used in a coding and decoding circuit to realize amplification adjustment, but the impedance characteristics of different systems are different, and the impedance characteristics of different devices in the same system are different, so that the variable resistors of the coding and decoding modules need to be adjusted one by one during equipment, the workload is huge, and the circuit parameters cannot be ensured to be optimal values.
Disclosure of Invention
Aiming at the condition that the impedance of the unified coding and decoding module is a fixed value, on the premise of not adjusting the impedance parameter of a hardware circuit, the invention provides a communication system and a soft-hard volume adjusting method thereof, which ensure that the volume of the communication system is proper to adapt to different systems.
The invention discloses a communication system, which comprises: a device configuration interface and a coding and decoding module; information interaction is arranged between the equipment configuration interface and the encoding and decoding module; the hardware impedance characteristic of the encoding and decoding module is a fixed value, and the equipment configuration interface is used for receiving the volume configuration parameters of the transmitting end and the volume configuration parameters of the receiving end and converting the parameters into configuration instructions to be sent to the encoding and decoding module on the premise of not adjusting the impedance parameters of the communication system; the encoding and decoding module software is used for converting the received configuration instruction into corresponding volume adjustment parameters so as to adjust the volume of the input audio signal; the volume adjustment parameter includes a magnification or reduction.
Further, the encoding and decoding module is specifically configured to:
sampling the input audio according to the configuration instruction, amplifying or reducing the volume of a signal obtained by sampling by a first multiple, and encoding the processed signal to obtain a plurality of encoding code streams;
decoding the plurality of code streams, amplifying or reducing the volume of the decoded signal by a second multiple, performing digital-to-analog conversion on the processed signal, and outputting an analog signal.
Further, the data message format of the voice transmission in the communication system comprises a frame header and a code stream data body; the frame header includes a synchronization header, a frame type, a rate, and a version.
Further, when the characteristics of the external audio input device and the broadcasting device cannot be adjusted, in order to meet the volume requirement, the device configuration interface is specifically configured to:
multiplexing control frames of a frame type, and adding a definition of volume control of the control frame in a rate field; multiplexing the first byte of the code stream data body, filling the volume control value, and transmitting the configuration instruction to the encoding and decoding module through the original hardware interface, wherein other fields are consistent with the data message format of voice transmission to obtain the configuration instruction;
the encoding and decoding module is used for resolving and converting the volume control value and carrying out volume adjustment of corresponding times on the audio signal input by the encoding and decoding module.
The invention also discloses a soft-hard volume adjusting method of the communication system, which comprises the following steps:
information interaction is arranged between the equipment configuration interface and the encoding and decoding module; the hardware impedance characteristic of the encoding and decoding module is a fixed value, and on the premise of not adjusting the impedance parameter of the communication system, the equipment configuration interface receives the volume configuration parameter of the transmitting end and the volume configuration parameter of the receiving end, converts the parameters into configuration instructions and sends the configuration instructions to the encoding and decoding module; the coding and decoding module software converts the received configuration instruction into corresponding volume adjustment parameters so as to adjust the volume of the input audio signal; the volume adjustment parameter includes a magnification or reduction.
Further, according to the configuration instruction, the input audio is sampled, the volume of a signal obtained by sampling is amplified or reduced by a first multiple, and the processed signal is encoded to obtain a plurality of encoded code streams;
decoding the plurality of code streams, amplifying or reducing the volume of the decoded signal by a second multiple, performing digital-to-analog conversion on the processed signal, and outputting an analog signal.
Further, the data message format of the voice transmission in the communication system comprises a frame header and a code stream data body; the frame header includes a synchronization header, a frame type, a rate, and a version.
Further, when the characteristics of the external audio input device and the broadcasting device cannot be adjusted, multiplexing control frames of a frame type to meet the volume requirement, and adding a definition of volume control of one control frame in a rate field; multiplexing the first byte of the code stream data body, filling the volume control value, and transmitting the configuration instruction to the encoding and decoding module through the original hardware interface, wherein other fields are consistent with the data message format of voice transmission to obtain the configuration instruction; the encoding and decoding module analyzes and converts the volume control value, and carries out volume adjustment of corresponding times on the audio signal input by the encoding and decoding module.
Due to the adoption of the technical scheme, the invention has the following advantages:
1. the audio equipment of different systems has different characteristics, the amplitude of the input audio signals is different, the amplification factor of the output is also different, the volume which is too large and too small can cause uncomfortable hearing for a long time, the use feeling of a user is influenced, and the added soft and hard volume adjusting mechanism can enlarge or reduce the volume, so that the cost is minimum.
2. Parameter values are directly configured on the interface, and the operation and the use are simple; the sending volume and the receiving volume can be respectively adjusted, and can be amplified or reduced, so that the adaptation range is increased; the impedance characteristics of the system can be simultaneously considered.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings required for the description of the embodiments will be briefly described below, and it is apparent that the drawings in the following description are only some embodiments described in the embodiments of the present invention, and other drawings may be obtained according to these drawings for those skilled in the art.
Fig. 1 is a schematic diagram of a communication system according to an embodiment of the present invention;
FIG. 2 is a diagram illustrating a data message format according to an embodiment of the present invention;
FIG. 3 (a) is a block diagram of an encoding end according to an embodiment of the present invention;
fig. 3 (b) is a block diagram of a decoding end according to an embodiment of the present invention.
Detailed Description
The present invention will be further described with reference to the accompanying drawings and examples, wherein the examples are shown only in a partial, but not in all embodiments of the invention. All other embodiments obtained by those skilled in the art are intended to fall within the scope of the embodiments of the present invention.
The invention is mainly suitable for the communication system with a configuration interface, the coding and decoding functions are realized by software and the information interaction is realized with the configuration interface. An application scene of a certain system is taken as an example for explanation, and the configuration interface is suitable for upper computer software or equipment interfaces.
The requirements of the system on the coding and decoding module include: 1) The encoding and decoding module can accept configuration instructions; 2) The input and output amplitude of the encoding and decoding module can be independently adjusted; 3) The coding and decoding module software has the process of adjusting the input amplitude value and the output amplitude value.
When the characteristics of the external audio input device and the broadcasting device cannot be adjusted, the variable resistor workload of the coding and decoding module is huge to meet the volume requirement, and the circuit cannot be guaranteed to work in an optimal state. Therefore, the problem to be solved by the scheme is as follows: the impedance of the unified coding and decoding module is a fixed value, and on the premise of not adjusting external impedance parameters of a hardware circuit, the volume of the adaptive different systems is ensured to be moderate.
Referring to fig. 1, the present invention provides an embodiment of a communication system, comprising: a device configuration interface and a coding and decoding module; information interaction is arranged between the equipment configuration interface and the encoding and decoding module; the hardware impedance characteristic of the encoding and decoding module is a fixed value, and the equipment configuration interface is used for receiving the volume configuration parameters of the transmitting end and the volume configuration parameters of the receiving end and converting the parameters into configuration instructions to be sent to the encoding and decoding module on the premise of not adjusting the impedance parameters of the communication system; the encoding and decoding module software is used for converting the received configuration instruction into corresponding volume adjustment parameters so as to adjust the volume of the input audio signal; the volume adjustment parameter includes a magnification or reduction.
In this embodiment, the codec module is specifically configured to:
sampling the input audio according to the configuration instruction, amplifying or reducing the volume of a signal obtained by sampling by a first multiple, and encoding the processed signal to obtain a plurality of encoding code streams; fig. 3 (a) shows that the encoding end is enlarged or reduced M times.
Decoding the plurality of code streams, amplifying or reducing the volume of the decoded signal by a second multiple, performing digital-to-analog conversion on the processed signal, and outputting an analog signal. Fig. 3 (b) shows that the decoding end is enlarged or reduced N times.
In this embodiment, the data message format of voice transmission in the communication system includes a frame header and a stream data body; the frame header includes a sync header, frame type, rate and version, as shown in fig. 2.
In this embodiment, when the characteristics of the external audio input device and the broadcasting device cannot be adjusted, in order to meet the volume requirement, the device configuration interface is specifically configured to:
multiplexing control frames of a frame type, and adding a definition of volume control of the control frame in a rate field; multiplexing the first byte of the code stream data body, filling the volume control value, and transmitting the configuration instruction to the encoding and decoding module through the original hardware interface, wherein other fields are consistent with the data message format of voice transmission to obtain the configuration instruction;
the encoding and decoding module is used for resolving and converting the volume control value and carrying out volume adjustment of corresponding times on the audio signal input by the encoding and decoding module.
The invention also provides an embodiment of a soft-hard volume adjusting method of a communication system, which is applicable to the communication system described in the above embodiment, and comprises:
information interaction is arranged between the equipment configuration interface and the encoding and decoding module; the hardware impedance characteristic of the encoding and decoding module is a fixed value, and on the premise of not adjusting the impedance parameter of the communication system, the equipment configuration interface receives the volume configuration parameter of the transmitting end and the volume configuration parameter of the receiving end, converts the parameters into configuration instructions and sends the configuration instructions to the encoding and decoding module; the encoding and decoding module converts the received configuration instruction into corresponding volume adjustment parameters so as to adjust the volume of the input audio signal; the volume adjustment parameter includes a magnification or reduction.
In this embodiment, according to a configuration instruction, input audio is sampled, the volume of a signal obtained by sampling is amplified or reduced by a first multiple, and a processed signal is encoded to obtain a plurality of encoded code streams; fig. 3 (a) shows that the encoding end is enlarged or reduced M times.
Decoding the plurality of code streams, amplifying or reducing the volume of the decoded signal by a second multiple, performing digital-to-analog conversion on the processed signal, and outputting an analog signal. Fig. 3 (b) shows that the decoding end is enlarged or reduced N times.
In this embodiment, the data message format of voice transmission in the communication system includes a frame header and a stream data body; the frame header includes a sync header, frame type, rate and version, as shown in fig. 2.
In this embodiment, when the characteristics of the external audio input device and the broadcasting device cannot be adjusted, in order to meet the volume requirement, multiplexing control frames of a frame type, and adding a definition of volume control of one control frame in a rate field; multiplexing the first byte of the code stream data body, filling the volume control value, and transmitting the configuration instruction to the encoding and decoding module through the original hardware interface, wherein other fields are consistent with the data message format of voice transmission to obtain the configuration instruction; the encoding and decoding module analyzes and converts the volume control value, and carries out volume adjustment of corresponding times on the audio signal input by the encoding and decoding module.
Finally, it should be noted that: the above embodiments are only for illustrating the technical aspects of the present invention and not for limiting the same, and although the present invention has been described in detail with reference to the above embodiments, it should be understood by those of ordinary skill in the art that: modifications and equivalents may be made to the specific embodiments of the invention without departing from the spirit and scope of the invention, which is intended to be covered by the claims.

Claims (8)

1. A communication system, comprising: a device configuration interface and a coding and decoding module; information interaction is arranged between the equipment configuration interface and the encoding and decoding module; the hardware impedance characteristic of the encoding and decoding module is a fixed value, and the equipment configuration interface is used for receiving the volume configuration parameters of the transmitting end and the volume configuration parameters of the receiving end and converting the parameters into configuration instructions to be sent to the encoding and decoding module on the premise of not adjusting the impedance parameters of the communication system; the encoding and decoding module software is used for converting the received configuration instruction into corresponding volume adjustment parameters so as to adjust the volume of the input audio signal; the volume adjustment parameter includes a magnification or reduction.
2. The communication system according to claim 1, wherein the codec module is specifically configured to:
sampling the input audio according to the configuration instruction, amplifying or reducing the volume of a signal obtained by sampling by a first multiple, and encoding the processed signal to obtain a plurality of encoding code streams;
decoding the plurality of code streams, amplifying or reducing the volume of the decoded signal by a second multiple, performing digital-to-analog conversion on the processed signal, and outputting an analog signal.
3. The communication system of claim 1, wherein the data message format of voice transmissions in the communication system comprises a frame header and a stream data body; the frame header includes a synchronization header, a frame type, a rate, and a version.
4. A communication system according to claim 3, wherein, when the characteristics of the external audio input device and the playback device cannot be adjusted, the device configuration interface is specifically configured to:
multiplexing control frames of a frame type, and adding a definition of volume control of the control frame in a rate field; multiplexing the first byte of the code stream data body, filling the volume control value, and transmitting the configuration instruction to the encoding and decoding module through the original hardware interface, wherein other fields are consistent with the data message format of voice transmission to obtain the configuration instruction;
the encoding and decoding module is used for resolving and converting the volume control value and carrying out volume adjustment of corresponding times on the audio signal input by the encoding and decoding module.
5. A soft-hard volume adjustment method for a communication system, comprising:
information interaction is arranged between the equipment configuration interface and the encoding and decoding module; the hardware impedance characteristic of the encoding and decoding module is a fixed value, and on the premise of not adjusting the impedance parameter of the communication system, the equipment configuration interface receives the volume configuration parameter of the transmitting end and the volume configuration parameter of the receiving end, converts the parameters into configuration instructions and sends the configuration instructions to the encoding and decoding module; the encoding and decoding module converts the received configuration instruction into corresponding volume adjustment parameters so as to adjust the volume of the input audio signal; the volume adjustment parameter includes a magnification or reduction.
6. The method for adjusting soft and hard volume of a communication system according to claim 5, wherein the input audio is sampled according to the configuration command, the volume of the sampled signal is increased or decreased by a first multiple, and the processed signal is encoded to obtain a plurality of encoded code streams;
decoding the plurality of code streams, amplifying or reducing the volume of the decoded signal by a second multiple, performing digital-to-analog conversion on the processed signal, and outputting an analog signal.
7. The method of claim 5, wherein the data message format of the voice transmission in the communication system comprises a frame header and a stream data body; the frame header includes a synchronization header, a frame type, a rate, and a version.
8. The method for soft-hard volume adjustment of a communication system according to claim 7, wherein when characteristics of an external audio input device and a broadcasting device cannot be adjusted, multiplexing control frames of a frame type to meet a volume demand, and adding a definition of volume control of one control frame to a rate field; multiplexing the first byte of the code stream data body, filling the volume control value, and transmitting the configuration instruction to the encoding and decoding module through the original hardware interface, wherein other fields are consistent with the data message format of voice transmission to obtain the configuration instruction; the encoding and decoding module analyzes and converts the volume control value, and carries out volume adjustment of corresponding times on the audio signal input by the encoding and decoding module.
CN202410200419.5A 2024-02-23 2024-02-23 Communication system and soft-hard volume adjusting method thereof Pending CN117793077A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202410200419.5A CN117793077A (en) 2024-02-23 2024-02-23 Communication system and soft-hard volume adjusting method thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202410200419.5A CN117793077A (en) 2024-02-23 2024-02-23 Communication system and soft-hard volume adjusting method thereof

Publications (1)

Publication Number Publication Date
CN117793077A true CN117793077A (en) 2024-03-29

Family

ID=90391314

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202410200419.5A Pending CN117793077A (en) 2024-02-23 2024-02-23 Communication system and soft-hard volume adjusting method thereof

Country Status (1)

Country Link
CN (1) CN117793077A (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1291377A (en) * 1997-12-12 2001-04-11 夸尔柯姆股份有限公司 Audio codec with AGC Controlled by a vocoder
CN101304455A (en) * 2008-06-26 2008-11-12 中兴通讯股份有限公司 Apparatus and method for self-adaption adjusting mobile terminal acoustic environment
CN102170607A (en) * 2010-02-26 2011-08-31 嘉强电子股份有限公司 Wireless voice amplification system and volume control method of wireless microphone and wireless voice amplification system
CN107680612A (en) * 2017-10-27 2018-02-09 深圳市共进电子股份有限公司 Audio optimization unit and web camera
CN112614495A (en) * 2020-12-10 2021-04-06 北京华信声远科技有限公司 Software radio multi-system voice coder-decoder

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1291377A (en) * 1997-12-12 2001-04-11 夸尔柯姆股份有限公司 Audio codec with AGC Controlled by a vocoder
CN101304455A (en) * 2008-06-26 2008-11-12 中兴通讯股份有限公司 Apparatus and method for self-adaption adjusting mobile terminal acoustic environment
CN102170607A (en) * 2010-02-26 2011-08-31 嘉强电子股份有限公司 Wireless voice amplification system and volume control method of wireless microphone and wireless voice amplification system
CN107680612A (en) * 2017-10-27 2018-02-09 深圳市共进电子股份有限公司 Audio optimization unit and web camera
CN112614495A (en) * 2020-12-10 2021-04-06 北京华信声远科技有限公司 Software radio multi-system voice coder-decoder

Similar Documents

Publication Publication Date Title
KR100367000B1 (en) PC-based codec device for multichannel audio/speech and data with multimedia engine and input/output modules for multimedia data processing
WO1996018261B1 (en) High speed communications system for analog subscriber connections
JPH06505601A (en) Matching clock speeds in independent networks
EP0722634B1 (en) Method and apparatus for speech transmission in a mobile communications system
US5696699A (en) Integrated cellular data/voice communication system working under one operating system
US6324515B1 (en) Method and apparatus for asymmetric communication of compressed speech
JPS594246A (en) Voice transmission system passing disturbing transmission pathway
US5862491A (en) Use of control channel information to enhance data throughput of an integrated cellular communication system
CN117793077A (en) Communication system and soft-hard volume adjusting method thereof
JP3249471B2 (en) Mobile communication method
US5259001A (en) ADPCM decoder with an integral digital receive gain and method therefor
CN211019029U (en) Coding and decoding integrated audio and video processor
CN110995395B (en) Channel coding method for DMB file transmission
EP2450882A1 (en) Multiple description audio coding and decoding method, device and system
CN203014945U (en) Mobile terminal
CN112423197A (en) Method and device for realizing multipath Bluetooth audio output
CN107346662B (en) Wireless digital voice baseband transmission system and method thereof
US5956320A (en) Cell assembling/disassembling system for asynchronous transfer mode network
TW202405793A (en) Audio compression device, audio compression system and audio compression method
JP3105597B2 (en) Audio coding device
EP0981220A2 (en) Method and apparatus for encoding rate control information in a data transmission system
KR200259976Y1 (en) audio transmission system using an ADSL
CN115834777A (en) Airborne audio processing system
CN114710639A (en) Video signal conversion system, method and device
CN114189303A (en) Multimode receiving-FM-CDR-converted emergency broadcast adapter

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