CN114650485A - Signal transmission method and device, computer equipment and storage medium - Google Patents

Signal transmission method and device, computer equipment and storage medium Download PDF

Info

Publication number
CN114650485A
CN114650485A CN202011504915.8A CN202011504915A CN114650485A CN 114650485 A CN114650485 A CN 114650485A CN 202011504915 A CN202011504915 A CN 202011504915A CN 114650485 A CN114650485 A CN 114650485A
Authority
CN
China
Prior art keywords
sound
audio signal
signal
state
audio
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
CN202011504915.8A
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.)
Guangxi 3Nod Digital Technology Co Ltd
Original Assignee
Guangxi 3Nod Digital Technology Co Ltd
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 Guangxi 3Nod Digital Technology Co Ltd filed Critical Guangxi 3Nod Digital Technology Co Ltd
Priority to CN202011504915.8A priority Critical patent/CN114650485A/en
Publication of CN114650485A publication Critical patent/CN114650485A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04RLOUDSPEAKERS, MICROPHONES, GRAMOPHONE PICK-UPS OR LIKE ACOUSTIC ELECTROMECHANICAL TRANSDUCERS; DEAF-AID SETS; PUBLIC ADDRESS SYSTEMS
    • H04R3/00Circuits for transducers, loudspeakers or microphones

Landscapes

  • Physics & Mathematics (AREA)
  • Engineering & Computer Science (AREA)
  • Acoustics & Sound (AREA)
  • Signal Processing (AREA)
  • Circuit For Audible Band Transducer (AREA)

Abstract

The application discloses signal transmission method, device, computer equipment and storage medium relates to the technical field of wired communication, the method includes that the level corresponding to a first sound box is obtained from an input/output interface, the audio signal state of the first sound box is judged according to the level, the output audio signal of a second sound box is controlled according to the audio signal state, wherein the first sound box and the second sound box are connected through an audio connecting line, namely, the audio output of the other sound box is controlled through a wired signal, a circuit does not need to be modified in a large quantity, the cost is saved, and the noise problem in the audio transmission process is reduced.

Description

Signal transmission method and device, computer equipment and storage medium
Technical Field
The present application relates to the field of wired communication technologies, and in particular, to a signal transmission method and apparatus, a computer device, and a storage medium.
Background
As audio connection lines (AUX) are used more and more widely, more and more scenes of electric sound signals are transmitted. Carry out audio signal transmission's in-process between independent stereo set, for example, when stereo set A transmits the audio frequency to stereo set B, inevitable can have some noises also to transmit to stereo set B through the audio connecting wire, leads to stereo set B to export some noises, influences the broadcast effect of stereo set, influences user experience very much.
In addition, two independent stereos do not have a direct communication mode, and the audio B can output all the audio input by the audio a, even if the audio is noise, in order to reduce the noise output of the audio a, hardware is generally required to be modified greatly in a circuit of the audio a, so that the output of the noise of the audio a is reduced, and the noise input to the audio B is reduced. Therefore, the existing noise solving mode is complex, and the hardware cost is high.
Disclosure of Invention
The embodiment of the application aims to provide a signal transmission method to solve the problem that noise reduction cost is high in an audio transmission process.
In order to solve the above technical problem, an embodiment of the present application provides a signal transmission method, including the following steps:
acquiring a level corresponding to the first sound from the input/output interface;
judging the state of the audio signal of the first sound according to the level;
and controlling the output audio signal of the second sound according to the state of the audio signal, wherein the first sound and the second sound are connected through an audio connecting line.
Further, the judging the state of the audio signal of the first sound according to the level includes:
and when the detected level is less than a preset minimum level threshold value, determining that the audio signal state of the first sound is a mute state, otherwise, determining that the audio signal state of the first sound is a non-mute state.
Further, after determining the state of the audio signal of the first sound according to the level, the method further includes:
marking the audio signal state as a corresponding signal label;
and transmitting the signal tag to a second sound box through an audio connecting line.
Further, controlling the output audio signal of the second sound according to the state of the audio signal includes:
when the signal label indicates a non-mute state, detecting whether the second sound equipment has an audio signal input;
when an audio signal is input, switching the initial mute signal state of the second sound equipment to a non-mute state, and controlling the audio signal to be output as an output audio signal;
when the signal label indicates a mute state, the output audio signal of the second sound is cut off.
Further, when the signal tag indicates a non-mute state, detecting whether the second sound has an audio signal input includes:
acquiring an input voltage of an audio signal;
if the input voltage is greater than a preset voltage threshold, determining that an audio signal is input;
and setting the audio signal as a non-mute label and transmitting the non-mute label to the second sound to inform the second sound of the audio signal input.
In order to solve the above technical problem, an embodiment of the present application further provides a signal transmission device, including first stereo set, second stereo set and audio frequency connecting wire, first stereo set and second stereo set pass through the audio frequency connecting wire and connect, the signal transmission device includes:
the acquisition module is used for acquiring the level corresponding to the first sound from the input/output interface;
the judging module is used for judging the audio signal state of the first sound equipment according to the level;
and the control module is used for controlling the output audio signal of the second sound equipment according to the state of the audio signal.
Further, the judging module includes:
and the determining unit is used for determining that the audio signal state of the first sound is in a mute state when the detected level is less than a preset minimum level threshold, and otherwise, determining that the audio signal state of the first sound is in a non-mute state.
Further, the signal transmission device includes:
the label module is used for marking the state of the audio signal as a corresponding signal label;
and the transmission module is used for enabling the signal label to pass through the audio connecting line.
Further, the control module includes:
the detection unit is used for detecting whether the second sound equipment has audio signals input or not when the signal label indicates a non-mute state;
the switching unit is used for switching the initial mute signal state of the second sound to the non-mute state when the audio signal is input, and controlling the audio signal to be output as the output audio signal;
and a cutting unit for cutting off the output audio signal of the second sound when the signal label indicates a mute state.
Further, the detection unit includes:
the acquisition subunit is used for acquiring the input voltage of the audio signal;
the determining subunit is used for determining that an audio signal is input if the input voltage is greater than a preset voltage threshold;
and the transmitting subunit is used for setting the audio signal as a non-mute label and transmitting the non-mute label to the second sound to inform the second sound of the input of the audio signal.
In order to solve the above technical problem, an embodiment of the present application further provides a computer device, which includes a memory and a processor, where the memory stores a computer program, and the processor implements the steps of the signal transmission method when executing the computer program.
In order to solve the above technical problem, an embodiment of the present application further provides a computer-readable storage medium, where a computer program is stored, and the computer program, when executed by a processor, implements the steps of the signal transmission method described above.
Compared with the prior art, the embodiment of the application mainly has the following beneficial effects:
the level corresponding to the first sound equipment is obtained from the input/output interface, the audio signal state of the first sound equipment is judged according to the level, the output audio signal of the second sound equipment is controlled according to the audio signal state, the first sound equipment and the second sound equipment are connected through the audio connecting line, namely, the audio output of the other sound equipment is controlled through a wired signal, the circuit is not required to be modified in a large quantity, the cost is saved, and the noise problem in the audio transmission process is reduced.
Drawings
In order to more clearly illustrate the solution of the present application, the drawings needed for describing the embodiments of the present application will be briefly described below, and it is obvious that the drawings in the following description are some embodiments of the present application, and that other drawings can be obtained by those skilled in the art without inventive effort.
FIG. 1 is an exemplary system architecture diagram to which the present application may be applied;
fig. 2 is a structural diagram of an AUX line four-section plug provided in the present application;
FIG. 3 is a flow chart of one embodiment of a method of signal transmission provided herein;
FIG. 4 is a schematic block diagram of an embodiment of a signal transmission device provided herein;
FIG. 5 is a schematic block diagram of one embodiment of a computer device provided herein.
Detailed Description
Unless defined otherwise, all technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this application belongs; the terminology used in the description of the application herein is for the purpose of describing particular embodiments only and is not intended to be limiting of the application; the terms "including" and "having," and any variations thereof, in the description and claims of this application and the description of the above figures are intended to cover non-exclusive inclusions. The terms "first," "second," and the like in the description and claims of this application or in the foregoing drawings are used for distinguishing between different objects and not for describing a particular sequential order.
Reference herein to "an embodiment" means that a particular feature, structure, or characteristic described in connection with the embodiment can be included in at least one embodiment of the application. The appearances of the phrase in various places in the specification are not necessarily all referring to the same embodiment, nor are separate or alternative embodiments mutually exclusive of other embodiments. It is explicitly and implicitly understood by one skilled in the art that the embodiments described herein can be combined with other embodiments.
In order to make the technical solutions better understood by those skilled in the art, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the accompanying drawings.
As shown in fig. 1, the system architecture 100 may include terminal devices 101, 102, 103, a network 104, and a server 105. The network 104 serves as a medium for providing communication links between the terminal devices 101, 102, 103 and the server 105. Network 104 may include various connection types, such as wired, wireless communication links, or fiber optic cables, to name a few.
The user may use the terminal devices 101, 102, 103 to interact with the server 105 via the network 104 to receive or send messages or the like. The terminal devices 101, 102, 103 may have various communication client applications installed thereon, such as a web browser application, a shopping application, a search application, an instant messaging tool, a mailbox client, social platform software, and the like.
The terminal devices 101, 102, 103 may be various electronic devices having a display screen and supporting web browsing, including but not limited to smart phones, tablet computers, e-book readers, MP3 players (Moving Picture Experts Group Audio Layer III, mpeg compression standard Audio Layer 3), MP4 players (Moving Picture Experts Group Audio Layer IV, mpeg compression standard Audio Layer 4), laptop portable computers, desktop computers, and the like.
The server 105 may be a server providing various services, such as a background server providing support for pages displayed on the terminal devices 101, 102, 103.
It should be noted that the signal transmission method provided in the embodiments of the present application is generally executed by a server/terminal device, and accordingly, the signal transmission apparatus is generally disposed in the server/terminal device.
It should be understood that the number of terminal devices, networks, and servers in fig. 1 is merely illustrative. There may be any number of terminal devices, networks, and servers, as desired for implementation.
With continuing reference to fig. 2, fig. 2 is a structure diagram of a four-section plug of an AUX line provided in the present application, where the first 3 sections are a left channel L, a right channel R, and a ground line (i.e., GND in the drawing), respectively, that is, when an audio transmission device is connected to the AUX line (hereinafter referred to as an audio connection line), the four-section plug can be used to transmit an audio signal, and the 4 th section interface is an MUTE interface and is used to connect to a sound port. For example, the port of the first sound device is connected with the MUTE interface of the 4 th interface, and the second sound device is connected with the first three interfaces, that is, the first sound device is used for transmitting audio signals, and the second sound device is used for outputting the audio signals, so that the communication between the sound devices is realized. The audio output of the other sound is controlled through the wired signal, and the circuit does not need to be modified in a large quantity, so that the cost is saved, and the output efficiency of the audio signal is improved.
The AUX interface (Auxiliary) is an audio input interface, and can input audio of electronic audio devices including mp3 (a general headphone jack), and can output music in these devices through a car audio.
Further, by defining the AUX interface, it can be used to transmit and convert audio. For a non-bluetooth sound, the inside of the sound has no music, and to achieve the purpose of playing music, the sound must be connected with a related audio output device, and the AUX interface provides a port for connecting the sound and the audio output device. In addition, for the AUX interface in the non-audio device, the AUX interface of mp3, notebook computer, etc. can be used by inserting into the earphone, so as to play sound to the outside, i.e. the audio and the earphone function are similar, the volume of the device which can not play sound or has too small volume for playing sound can be changed through the AUX interface, and the audio plays the role of expanding the volume of the device.
With continuing reference to fig. 3, a flow diagram of one embodiment of a method of signal transmission of the present application is shown. The signal transmission method comprises the following steps:
s301: and acquiring the level corresponding to the first sound from the input/output interface.
The first sound device is a sound device, i.e. a loudspeaker, which is a transducer and an electronic component for converting an electronic signal into sound, and may be one or more devices constituting a common audio transmission device of a sound group.
Before the second audio device is powered on and started, the chip on the terminal device connected to the first audio device and the second audio device needs to be configured with relevant parameters, such as GPIO (general-purpose input-output interface), clock, and the like.
After the first sound and the second sound are connected through the audio connecting line, the second sound acquires the Level corresponding to the first sound through an input/output interface on the device, for example, the Level (Level) of the first sound is represented by using a quasi-peak sound meter (PPM meter) indication signal or a quasi-peak Level of sound signal voltage. Wherein the level determines the quality of the terminal equipment of the whole sound.
The input/output interface of an audio device typically has level value flags or selection keys, such as: 0dBm, 0.775v, +4dB, 0dBu, and so on. The level value at the input interface of an audio device is generally the input sensitivity of the device. The input level value of an audio device represents the signal level value (most of the time, the nominal value and the maximum value) that the audio device is allowed to input. Typically, the audio device has a nominal output value (which may be power or level) at a nominal level value (0dB) of the input signal. Generally, the input level of an audio device is closely related to its input sensitivity. The range of the nominal input levels of the various sound devices and the input levels or modes may be different (i.e., different sensitivities), some of which are labeled with only 0dB, and some of which are selected from-10 dB and +4dB or +10 dB. Generally, the setting is unified according to the condition of the sound equipment or system, otherwise, if the level value of the input signal is lower than the input sensitivity, the output power or level of the sound equipment is insufficient; if the input signal level value is outside the device input level range, distortion in the audio device output may result. The output level of the audio device is similar to the input level case, but the audio device output level is more specific to the connected load impedance requirements. In general, 0.775v to 0dB defined as an output level is assumed to be a load of a constant impedance (generally 600 Ω). The output level value may also increase if the load impedance increases. In addition, there are some input-output levels expressed in dBv and dBu, which generally specify: since 0dBv is 1.0V 0dBu is 1.0uV, the sensitivities of the various types of acoustic equipment differ in value, meaning also differs, and the reference value also differs. Even for the same type of device, their sensitivity may differ significantly in value. The sensitivity of general high pitch loudspeaker is higher, some can reach more than 100dB/m/W, the sensitivity of general low pitch loudspeaker is lower, the low may only be about 80 dB/m/W. For other devices, the input sensitivity is typically on the basis of 0dB, but a few devices have-10 dB and +4dB options. The maximum input and output levels are very different, and some of them may be +10dB, +15dB, or +24dB, +32dB or even higher without distortion.
Therefore, the second sound device obtains the level corresponding to the first sound device through the input/output interface to determine the sensitivity of the first sound device, and further judges whether the first sound device is in a distortion state when transmitting the audio signal.
S302: and judging the audio signal state of the first sound according to the level.
Wherein the audio signal state comprises a mute state and a non-mute state.
Further, the determining the state of the audio signal of the first sound according to the level specifically includes:
and when the level is detected to be smaller than a preset minimum level threshold value, determining that the audio signal state of the first sound is a mute state, otherwise, determining that the audio signal state of the first sound is a non-mute state.
The minimum level threshold value can be set according to sound equipment, for example, any value in 1V-2V, and the minimum level threshold value is set to be 1.7V. When the detected level is less than 1.7V, the output power of the first sound is 0, namely the first sound is in a mute state and has no noise interference. If the detected level is greater than or equal to 1.7V, the first sound is powered out, namely, the first sound is in a non-mute state.
Further, after determining the state of the audio signal of the first sound according to the level, the method further includes:
marking the audio signal state as a corresponding signal label;
and transmitting the signal tag to a second sound through an audio connecting line.
In the embodiment of the application, the state of the audio signal is marked, and a field, a character or a number can be used as a signal label, so that the signal label is used as an instruction to control the operation state of the second sound. For example, the signal label in the mute state is marked as M1, the signal label in the non-mute state is compared with M0, and the marking manner of the signal label is not limited herein.
When the state of the first sound equipment is determined to be the mute state through the level, the signal label corresponding to the mute state is identified to be M1, the signal label M1 is transmitted to the second sound equipment through the audio connecting line, and the non-audio signal output of the second sound equipment is controlled. If the state of the first audio is determined to be the non-mute state by the level, it is recognized that the signal flag corresponding to the non-mute state is M ═ 0, and the process proceeds to step S303.
S303: and controlling the output audio signal of the second sound device according to the state of the audio signal, wherein the first sound device and the second sound device are connected through an audio connecting line.
In this embodiment of the present application, the process of controlling the second sound device specifically includes:
when the signal label indicates a non-mute state, detecting whether the second sound equipment has an audio signal input;
when an audio signal is input, switching the initial mute signal state of the second sound equipment to a non-mute state, and controlling the audio signal to be output as an output audio signal;
when the signal label indicates a mute state, the output audio signal of the second sound is cut off.
Specifically, when the signal tag indicates a non-mute state, detecting whether the second sound has an audio signal input includes:
acquiring an input voltage of an audio signal;
if the input voltage is greater than a preset voltage threshold, determining that an audio signal is input;
and setting the audio signal as a non-mute label and transmitting the non-mute label to the second sound to inform the second sound of the audio signal input.
The preset voltage threshold may be set according to the sound equipment, for example, the preset voltage threshold is 5mv, for example, when it is detected that the input voltage of the audio signal of the second sound equipment is greater than 5mv, it is indicated that an audio signal is input, otherwise, no audio signal is input, if no audio signal is input to the second sound equipment, the audio signal is set as a non-silent tag, the non-silent tag may be set in a manner of characters, numbers, and the like, where the non-silent tag is not limited, and is used to indicate an instruction of power amplifier output configuration, for example, the non-silent tag is set to SIG ═ 0, the power amplifier output is reconfigured for the second sound equipment according to the instruction corresponding to the non-silent tag, so that the second sound equipment can normally output the audio signal after the power amplifier is reconfigured.
When the signal tag indicates a mute state, for example, the flag SIG is 1, which indicates that the second sound B is always in a mute state, and at this time, the second sound power amplifier does not output, that is, the output audio signal of the second sound is cut off.
The audio signal control between two independent stereo sets is realized through the audio frequency connecting wire, and when first stereo set was in the silence state, second stereo set B was in the silence state equally to avoid some noise to export from the second stereo set. In addition, the state of the sound equipment is quickly transmitted to the sound of the opposite side in a signal label mode, so that the sound can quickly react when receiving the signal label, the output of the sound to the audio signal is quickly controlled, and the effective output of the sound to the audio signal is improved.
In the embodiment of the application, obtain the level that first stereo set corresponds from input/output interface, judge the audio signal state of first stereo set according to the level, according to the output audio signal of audio signal state control second stereo set, wherein, first stereo set and second stereo set pass through the audio frequency connecting wire and connect, show the audio signal state through the mode of signal label promptly, be favorable to stereo set ability quick response when receiving the signal label, and then the output of quick control stereo set to audio signal, the effective output of stereo set to the audio frequency has been improved, and simultaneously, the audio output of another stereo set is controlled through wired signal, need not to carry out a large amount of revisions to the circuit, the cost is not only practiced thrift, and the noise problem in the audio transmission process has been reduced.
It will be understood by those skilled in the art that all or part of the processes of the methods of the embodiments described above can be implemented by a computer program, which can be stored in a computer-readable storage medium, and can include the processes of the embodiments of the methods described above when the computer program is executed. The storage medium may be a non-volatile storage medium such as a magnetic disk, an optical disk, a Read-Only Memory (ROM), or a Random Access Memory (RAM).
It should be understood that, although the steps in the flowcharts of the figures are shown in order as indicated by the arrows, the steps are not necessarily performed in order as indicated by the arrows. The steps are not performed in the exact order shown and may be performed in other orders unless explicitly stated herein. Moreover, at least a portion of the steps in the flow chart of the figure may include multiple sub-steps or multiple stages, which are not necessarily performed at the same time, but may be performed at different times, and the order of execution is not necessarily sequential, but may be performed alternately or alternately with other steps or at least a portion of the sub-steps or stages of other steps.
With further reference to fig. 4, as an implementation of the method shown in fig. 3, the present application provides an embodiment of a signal transmission apparatus, where the embodiment of the apparatus corresponds to the embodiment of the method shown in fig. 3, and the apparatus may be specifically applied to various electronic devices.
As shown in fig. 4, the signal transmission device according to this embodiment includes a first sound device, a second sound device, and an audio connection line, where the first sound device and the second sound device are connected by the audio connection line, and the signal transmission device further includes: an acquisition module 401, a judgment module 402 and a control module 403. Wherein:
an obtaining module 401, configured to obtain a level corresponding to the first sound from the input/output interface;
a judging module 402, configured to judge an audio signal state of the first sound according to the level;
and a control module 403, configured to control an output audio signal of the second sound device according to the state of the audio signal.
Further, the determining module 402 includes:
and the determining unit is used for determining that the audio signal state of the first sound is a mute state when the detected level is less than a preset minimum level threshold, and otherwise, determining that the audio signal state of the first sound is a non-mute state.
Further, the signal transmission device includes:
the label module is used for marking the state of the audio signal as a corresponding signal label;
and the transmission module is used for enabling the signal label to pass through the audio connecting line.
Further, the control module 403 includes:
the detection unit is used for detecting whether the second sound equipment has audio signals input or not when the signal label indicates a non-mute state;
the switching unit is used for switching the initial mute signal state of the second sound equipment to the non-mute state when an audio signal is input, and controlling the audio signal to be output as an output audio signal;
and a cutting unit for cutting off the output audio signal of the second sound when the signal label indicates a mute state.
Further, the detection unit includes:
the acquisition subunit is used for acquiring the input voltage of the audio signal;
the determining subunit is used for determining that an audio signal is input if the input voltage is greater than a preset voltage threshold;
and the transmitting subunit is used for setting the audio signal as a non-mute label and transmitting the non-mute label to the second sound to inform the second sound of the input of the audio signal.
With regard to the signal transmission apparatus in the above-described embodiment, the specific manner in which each module performs the operation has been described in detail in the embodiment related to the method, and will not be elaborated herein.
In order to solve the technical problem, an embodiment of the present application further provides a computer device. Referring to fig. 5, fig. 5 is a block diagram of a basic structure of a computer device according to the present embodiment.
The computer device 5 comprises a memory 51, a processor 52, a network interface 53 communicatively connected to each other via a system bus. It is noted that only a computer device 5 having components 51-53 is shown, but it is understood that not all of the shown components are required to be implemented, and that more or fewer components may be implemented instead. As will be understood by those skilled in the art, the computer device is a device capable of automatically performing numerical calculation and/or information processing according to a preset or stored instruction, and the hardware includes, but is not limited to, a microprocessor, an Application Specific Integrated Circuit (ASIC), a Programmable Gate Array (FPGA), a Digital Signal Processor (DSP), an embedded device, and the like.
The computer device can be a desktop computer, a notebook, a palm computer, a cloud server and other computing devices. The computer equipment can carry out man-machine interaction with a user in a keyboard mode, a mouse mode, a remote controller mode, a touch panel mode or a voice control equipment mode.
The memory 51 includes at least one type of readable storage medium including a flash memory, a hard disk, a multimedia card, a card-type memory (e.g., SD or D signaling memory, etc.), a Random Access Memory (RAM), a Static Random Access Memory (SRAM), a read-only memory (ROM), an electrically erasable programmable read-only memory (EEPROM), a programmable read-only memory (PROM), a magnetic memory, a magnetic disk, an optical disk, and the like. In some embodiments, the memory 51 may be an internal storage unit of the computer device 5, such as a hard disk or a memory of the computer device 5. In other embodiments, the memory 51 may also be an external storage device of the computer device 5, such as a plug-in hard disk, a Smart Media Card (SMC), a Secure Digital (SD) Card, a Flash memory Card (Flash Card), and the like, which are provided on the computer device 5. Of course, the memory 51 may also comprise both an internal storage unit of the computer device 5 and an external storage device thereof. In this embodiment, the memory 51 is generally used for storing an operating system installed in the computer device 5 and various types of application software, such as program codes of signal transmission methods. Further, the memory 51 may also be used to temporarily store various types of data that have been output or are to be output.
The processor 52 may be a Central Processing Unit (CPU), controller, microcontroller, microprocessor, or other data Processing chip in some embodiments. The processor 52 is typically used to control the overall operation of the computer device 5. In this embodiment, the processor 52 is configured to execute the program code stored in the memory 51 or process data, for example, execute the program code of the signal transmission method.
The network interface 53 may comprise a wireless network interface or a wired network interface, and the network interface 53 is generally used for establishing a communication connection between the computer device 5 and other electronic devices.
The present application further provides another embodiment, which is to provide a computer-readable storage medium storing a signal transmission program, which is executable by at least one processor to cause the at least one processor to execute the steps of the signal transmission method as described above.
Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner. Based on such understanding, the technical solutions of the present application or portions thereof that contribute to the prior art may be embodied in the form of a software product, where the computer software product is stored in a storage medium (such as a ROM/RAM, a magnetic disk, and an optical disk), and includes several instructions for enabling a terminal device (which may be a mobile phone, a computer, a server, an air conditioner, or a network device) to execute the method according to the embodiments of the present application.
It is to be understood that the above-described embodiments are merely illustrative of some, but not restrictive, of the broad invention, and that the appended drawings illustrate preferred embodiments of the invention and do not limit the scope of the invention. This application is capable of embodiments in many different forms and is provided for the purpose of enabling a thorough understanding of the disclosure of the application. Although the present application has been described in detail with reference to the foregoing embodiments, it will be apparent to one skilled in the art that modifications can be made to the embodiments described in the foregoing detailed description, or equivalents can be substituted for some of the features described therein. All equivalent structures made by using the contents of the specification and the drawings of the present application are directly or indirectly applied to other related technical fields and are within the protection scope of the present application.

Claims (10)

1. A method of signal transmission, the method comprising:
acquiring a level corresponding to the first sound from the input/output interface;
judging the state of the audio signal of the first sound according to the level;
and controlling an output audio signal of a second sound device according to the state of the audio signal, wherein the first sound device and the second sound device are connected through an audio connecting line.
2. The signal transmission method according to claim 1, wherein the determining the audio signal state of the first sound according to the level comprises:
and when the level is detected to be smaller than a preset minimum level threshold value, determining that the audio signal state of the first sound is a mute state, otherwise, determining that the audio signal state of the first sound is a non-mute state.
3. The signal transmission method according to claim 2, wherein after the determining the state of the audio signal of the first sound device according to the level, the method further comprises:
marking the audio signal state as a corresponding signal label;
and transmitting the signal tag to the second sound box through the audio connecting line.
4. The signal transmission method according to claim 3, wherein the controlling the output audio signal of the second sound device according to the audio signal state comprises:
when the signal label indicates a non-mute state, detecting whether an audio signal is input into the second sound equipment;
when an audio signal is input, switching the initial mute signal state of the second sound equipment to a non-mute state, and controlling the audio signal to be output as an output audio signal;
and when the signal label indicates a mute state, the output audio signal of the second sound is cut off.
5. The signal transmission method according to claim 4, wherein the detecting whether the second sound has an audio signal input when the signal tag indicates a non-mute state comprises:
acquiring an input voltage of an audio signal;
if the input voltage is larger than a preset voltage threshold value, determining that an audio signal is input;
and setting the audio signal as a non-mute label, and transmitting the non-mute label to the second sound to inform the second sound of the audio signal input.
6. A signal transmission device, includes first stereo set, second stereo set and audio frequency connecting wire, first stereo set with the second stereo set passes through the audio frequency connecting wire and connects, its characterized in that, signal transmission device includes:
the acquisition module is used for acquiring the level corresponding to the first sound from the input/output interface;
the judging module is used for judging the audio signal state of the first sound equipment according to the level;
and the control module is used for controlling the output audio signal of the second sound according to the state of the audio signal.
7. The signal transmission apparatus according to claim 6, wherein the determining module comprises:
and the determining unit is used for determining that the state of the audio signal of the first sound is in a mute state when the level is detected to be smaller than a preset minimum level threshold, and otherwise, determining that the state is in a non-mute state.
8. The signal transmission apparatus according to claim 7, characterized in that the signal transmission apparatus comprises:
the label module is used for marking the audio signal state as a corresponding signal label;
and the transmission module is used for transmitting the signal label to the second sound box through the audio connecting line.
9. A computer device comprising a memory in which a computer program is stored and a processor which, when executing the computer program, implements the steps of the signal transmission method according to any one of claims 1 to 5.
10. A computer-readable storage medium, characterized in that a computer program is stored thereon, which computer program, when being executed by a processor, carries out the steps of the signal transmission method according to one of claims 1 to 5.
CN202011504915.8A 2020-12-18 2020-12-18 Signal transmission method and device, computer equipment and storage medium Pending CN114650485A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011504915.8A CN114650485A (en) 2020-12-18 2020-12-18 Signal transmission method and device, computer equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011504915.8A CN114650485A (en) 2020-12-18 2020-12-18 Signal transmission method and device, computer equipment and storage medium

Publications (1)

Publication Number Publication Date
CN114650485A true CN114650485A (en) 2022-06-21

Family

ID=81991411

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011504915.8A Pending CN114650485A (en) 2020-12-18 2020-12-18 Signal transmission method and device, computer equipment and storage medium

Country Status (1)

Country Link
CN (1) CN114650485A (en)

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN2833720Y (en) * 2005-05-26 2006-11-01 台均科技(深圳)有限公司 Audio/USB signal multiplexing cable, play storage device, and multiplexed transmission and play storage system
CN102195581A (en) * 2010-03-18 2011-09-21 承景科技股份有限公司 Method for adjusting volume of digital audio signal
CN202750221U (en) * 2012-07-18 2013-02-20 东莞宇龙通信科技有限公司 External audio broadcasting device
CN103702048A (en) * 2013-12-27 2014-04-02 乐视致新电子科技(天津)有限公司 Method and system for eliminating television noise
CN104409079A (en) * 2014-11-03 2015-03-11 北京有恒斯康通信技术有限公司 Method and device for audio superposition
CN104602160A (en) * 2014-11-25 2015-05-06 李世煌 Digital loudspeaker and connection method thereof
CN204887386U (en) * 2015-06-26 2015-12-16 东莞市利焰电子科技有限公司 2. 1 sound channel stereo set
CN105282653A (en) * 2014-07-11 2016-01-27 国民技术股份有限公司 Audio-insertion automatic wake-up apparatus and audio-insertion automatic wake-up method

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN2833720Y (en) * 2005-05-26 2006-11-01 台均科技(深圳)有限公司 Audio/USB signal multiplexing cable, play storage device, and multiplexed transmission and play storage system
CN102195581A (en) * 2010-03-18 2011-09-21 承景科技股份有限公司 Method for adjusting volume of digital audio signal
CN202750221U (en) * 2012-07-18 2013-02-20 东莞宇龙通信科技有限公司 External audio broadcasting device
CN103702048A (en) * 2013-12-27 2014-04-02 乐视致新电子科技(天津)有限公司 Method and system for eliminating television noise
CN105282653A (en) * 2014-07-11 2016-01-27 国民技术股份有限公司 Audio-insertion automatic wake-up apparatus and audio-insertion automatic wake-up method
CN104409079A (en) * 2014-11-03 2015-03-11 北京有恒斯康通信技术有限公司 Method and device for audio superposition
CN104602160A (en) * 2014-11-25 2015-05-06 李世煌 Digital loudspeaker and connection method thereof
CN204887386U (en) * 2015-06-26 2015-12-16 东莞市利焰电子科技有限公司 2. 1 sound channel stereo set

Similar Documents

Publication Publication Date Title
CN105872253B (en) Live broadcast sound processing method and mobile terminal
EP3432136B1 (en) Sound effect configuration method and related device
CN109041024B (en) Code rate optimization method and device, electronic equipment and storage medium
CN111083289B (en) Audio playing method and device, storage medium and mobile terminal
CN106126159A (en) A kind of audio stream processing method and mobile terminal
CN106126172B (en) A kind of sound effect treatment method and mobile terminal
CN107633849B (en) Bluetooth device volume adjusting method, device and computer readable storage medium
CN109672775B (en) Method, device and terminal for adjusting awakening sensitivity
CN110633067A (en) Sound effect parameter adjusting method and mobile terminal
CN106413070A (en) Power adjusting method and mobile terminal
WO2020228226A1 (en) Instrumental music detection method and apparatus, and storage medium
CN111614329A (en) Power amplifier, electronic equipment, voltage control method and device
CN110086941B (en) Voice playing method and device and terminal equipment
CN106453909B (en) A kind of power regulating method and mobile terminal
CN104464746A (en) Voice filtering method and device and electron equipment
CN113362839A (en) Audio data processing method and device, computer equipment and storage medium
CN113157240A (en) Voice processing method, device, equipment, storage medium and computer program product
CN112259076A (en) Voice interaction method and device, electronic equipment and computer readable storage medium
CN105307078A (en) Sound box management method and user terminal
CN114650485A (en) Signal transmission method and device, computer equipment and storage medium
CN107910012B (en) Audio data processing method, device and system
CN105392087A (en) Loudspeaker box management method and user terminal
CN105895133A (en) Audio playing method and device and terminal device
CN111309224B (en) Sound effect adjusting method and device, storage medium and mobile terminal
CN111182153B (en) System language setting method and device, storage medium and mobile terminal

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