CN112019948B - Intercommunication method for intercom equipment, intercom equipment and storage medium - Google Patents

Intercommunication method for intercom equipment, intercom equipment and storage medium Download PDF

Info

Publication number
CN112019948B
CN112019948B CN201910465550.3A CN201910465550A CN112019948B CN 112019948 B CN112019948 B CN 112019948B CN 201910465550 A CN201910465550 A CN 201910465550A CN 112019948 B CN112019948 B CN 112019948B
Authority
CN
China
Prior art keywords
output power
intercom device
audio signal
intercom
communication distance
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201910465550.3A
Other languages
Chinese (zh)
Other versions
CN112019948A (en
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.)
Beijing Xiaomi Mobile Software Co Ltd
Original Assignee
Beijing Xiaomi Mobile Software 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 Beijing Xiaomi Mobile Software Co Ltd filed Critical Beijing Xiaomi Mobile Software Co Ltd
Priority to CN201910465550.3A priority Critical patent/CN112019948B/en
Publication of CN112019948A publication Critical patent/CN112019948A/en
Application granted granted Critical
Publication of CN112019948B publication Critical patent/CN112019948B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04QSELECTING
    • H04Q5/00Selecting arrangements wherein two or more subscriber stations are connected by the same line to the exchange
    • H04Q5/24Selecting arrangements wherein two or more subscriber stations are connected by the same line to the exchange for two-party-line systems
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W52/00Power management, e.g. TPC [Transmission Power Control], power saving or power classes
    • H04W52/04TPC
    • H04W52/18TPC being performed according to specific parameters
    • H04W52/24TPC being performed according to specific parameters using SIR [Signal to Interference Ratio] or other wireless path parameters
    • H04W52/245TPC being performed according to specific parameters using SIR [Signal to Interference Ratio] or other wireless path parameters taking into account received signal strength
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W52/00Power management, e.g. TPC [Transmission Power Control], power saving or power classes
    • H04W52/04TPC
    • H04W52/18TPC being performed according to specific parameters
    • H04W52/28TPC being performed according to specific parameters using user profile, e.g. mobile speed, priority or network state, e.g. standby, idle or non transmission
    • H04W52/283Power depending on the position of the mobile
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Telephone Function (AREA)
  • Interconnected Communication Systems, Intercoms, And Interphones (AREA)
  • Mobile Radio Communication Systems (AREA)
  • Transceivers (AREA)

Abstract

The disclosure relates to a method for intercom equipment communication, intercom equipment and a storage medium, and belongs to the technical field of communication. The method comprises the following steps: and the quality of the first audio signal is determined by receiving the first audio signal sent by the second intercom equipment, so that the first output power of the first intercom equipment is determined, and the second audio signal obtained by transmitting the first output power is transmitted, compared with the case that the audio signal is transmitted by using the maximum transmitting power, the consumption of a battery of the intercom equipment is reduced, and the service time of the intercom equipment is prolonged.

Description

Intercommunication method for intercom equipment, intercom equipment and storage medium
Technical Field
The disclosure relates to the technical field of communication, and in particular relates to a method for communication of intercom equipment, intercom equipment and a storage medium.
Background
Along with the improvement of living standard, more and more people are willing to walk out of the city to approach the nature and participate in activities such as outdoor exercises or self-driving tour. Since the cell phone signal coverage is not wide enough, there may be areas that are not covered by the cell phone signal or where the cell phone signal is weak. Therefore, interphones capable of maintaining good communication regardless of the geographical location are favored by outdoor lovers.
At present, interphones are all interphones with fixed output power; for example, interphones with output power of 0.5W, 2W, 5W, and the like. When talking through the interphone, the interphone transmits an audio signal through the output power. For example, if the output power is 5W, the intercom transmits an audio signal by the output power of 5W when talking through the intercom.
Disclosure of Invention
The disclosure provides a method and a device for intercom equipment communication, intercom equipment and a storage medium. The technical scheme is as follows.
According to a first aspect of embodiments of the present disclosure, there is provided a method of intercom device communication, the method comprising:
receiving a first audio signal sent by second intercom equipment, and determining the signal quality of the first audio signal;
determining a first output power of the first intercom device according to the signal quality;
and setting the output power of the first intercom device as the first output power, and transmitting a second audio signal acquired by the first intercom device through the first output power.
In one possible implementation, the determining the signal quality of the first audio signal includes:
and obtaining the signal-to-noise ratio of the first audio signal according to the first audio signal, wherein the signal-to-noise ratio is used for representing the signal quality.
In another possible implementation manner, the determining, according to the signal quality, the first output power of the first intercom device includes:
according to the signal quality, determining the communication distance between the second intercom equipment and the first intercom equipment from the corresponding relation between the signal quality and the communication distance;
and determining the first output power of the first intercom equipment according to the communication distance.
In another possible implementation manner, the determining, according to the communication distance, the first output power of the first intercom device includes:
when the communication distance is larger than a preset communication distance, increasing second output power to obtain the first output power, wherein the second output power is the current output power of the first intercom device;
when the communication distance is equal to the preset communication distance, the second output power is used as the first output power;
and when the communication distance is smaller than the preset communication distance, reducing the second output power to obtain the first output power.
In another possible implementation manner, before the second output power is increased to obtain the first output power, the method further includes:
Determining whether the second output power has been the maximum output power of the first intercom device;
when the second output power is not the maximum output power of the first intercom device, executing the step of increasing the second output power to obtain the first output power;
and when the second output power is the maximum output power of the first intercom device, taking the second output power as the first output power.
In another possible implementation manner, the determining, according to the communication distance, the first output power of the first intercom device includes:
determining a communication distance range in which the communication distance is located according to the communication distance;
and determining the first output power of the first intercom device from the corresponding relation between the communication distance range and the output power according to the communication distance range.
In another possible implementation manner, the determining, according to the communication distance, the first output power of the first intercom device includes:
determining an adjustment factor, the adjustment factor being used to characterize a ratio between a communication distance and an output power of the first intercom device;
And adjusting the current second output power of the first intercom equipment through the adjusting coefficient to obtain the first output power.
In another possible implementation manner, before the determining the first output power of the first intercom device according to the signal quality, the method further includes:
identifying a user identifier corresponding to the first audio signal based on the first audio signal;
when the user identifier is a user identifier of a specified type, setting the output power of the first intercom device to be the maximum output power of the first intercom device;
and when the user identifier is not the user identifier of the appointed type, executing the step of determining the first output power of the first intercom equipment according to the signal quality.
In another possible implementation manner, before the determining the first output power of the first intercom device according to the signal quality, the method further includes:
collecting the second audio signal;
setting the output power of the first intercom device to the maximum output power of the first intercom device when a specified keyword is included in the content of the second audio signal;
And when the specified keyword does not exist in the content of the second audio signal, the step of determining the first output power of the first intercom device is performed.
According to a second aspect of embodiments of the present disclosure, there is provided an apparatus for intercom communication, the apparatus comprising:
the receiving module is configured to receive a first audio signal sent by the second intercom equipment;
a first determination module configured to determine a signal quality of the first audio signal;
a second determining module configured to determine a first output power of the first intercom device according to the signal quality;
and the transmitting module is configured to set the output power of the first intercom device as the first output power, and transmit a second audio signal acquired by the first intercom device through the first output power.
In a possible implementation manner, the first determining module is further configured to obtain a signal-to-noise ratio of the first audio signal according to the first audio signal, where the signal-to-noise ratio is used to characterize the signal quality.
In another possible implementation manner, the second determining module is further configured to determine, according to the signal quality, a communication distance between the second intercom device and the first intercom device from a correspondence between signal quality and communication distance; and determining the first output power of the first intercom equipment according to the communication distance.
In another possible implementation manner, the second determining module is further configured to increase a second output power to obtain the first output power when the communication distance is greater than a preset communication distance, where the second output power is a current output power of the first intercom device; when the communication distance is equal to the preset communication distance, the second output power is used as the first output power; and when the communication distance is smaller than the preset communication distance, reducing the second output power to obtain the first output power.
In another possible implementation, the apparatus further includes:
the third determination module is further configured to determine whether the second output power is already the maximum output power of the first intercom device;
the second determining module is further configured to increase the second output power to obtain the first output power when the second output power is not the maximum output power of the first intercom device;
and a first setting module configured to take the second output power as the first output power when the second output power is already the maximum output power of the first intercom device.
In another possible implementation manner, the third determining module is configured to determine a communication distance range in which the communication distance is located according to the communication distance; and determining the first output power of the first intercom device from the corresponding relation between the communication distance range and the output power according to the communication distance range.
In another possible implementation manner, the second determining module is further configured to determine an adjustment coefficient, where the adjustment coefficient is used to characterize a ratio between a communication distance and an output power of the first intercom device; and adjusting the current second output power of the first intercom equipment through the adjusting coefficient to obtain the first output power.
In another possible implementation, the apparatus further includes:
an identification module configured to identify, based on the first audio signal, a user identification corresponding to the first audio signal;
a second setting module configured to set, when the user identifier is a user identifier of a specified type, an output power of the first intercom device to be a maximum output power of the first intercom device;
the second determining module is further configured to determine a first output power of the first intercom device according to the signal quality when the user identification is not a user identification of a specified type.
In another possible implementation, the apparatus further includes:
an acquisition module configured to acquire the second audio signal;
a third setting module configured to set an output power of the first intercom device to a maximum output power of the first intercom device when a specified keyword is included in the content of the second audio signal;
the second determining module is further configured to determine a first output power of the first intercom device when the specified keyword is not present in the content of the second audio signal.
According to a third aspect of the embodiments of the present disclosure, there is provided an intercom apparatus, including:
one or more processors;
a memory for storing the one or more processor-executable instructions;
wherein the one or more processors are configured to perform the method of intercom device communication as described in the first aspect above.
According to a fourth aspect of the embodiments of the present disclosure, there is provided a non-transitory computer readable storage medium, wherein the computer readable storage medium has instructions stored thereon, and the instructions are executed by a processor of the intercom device to complete the intercom device communication method described in the first aspect.
The technical scheme provided by the embodiment of the disclosure can comprise the following beneficial effects:
the quality of the first audio signal is determined by receiving the first audio signal sent by the second intercom device, so that the first output power of the first intercom device is determined, and the second audio signal obtained by transmitting the first output power is transmitted, compared with the case that the audio signal is transmitted by using the maximum transmitting power, the consumption of a battery of the intercom device is reduced, the service time of the intercom device is prolonged, and the communication quality among intercom devices is ensured.
It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the disclosure.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the disclosure and together with the description, serve to explain the principles of the disclosure.
FIG. 1 is an implementation environment of intercom device communications, shown in accordance with an exemplary embodiment;
FIG. 2 is a flow chart illustrating a method of intercom communication, according to an exemplary embodiment;
FIG. 3 is a flow chart illustrating another method of intercom communication, according to an exemplary embodiment;
FIG. 4 is a flow chart illustrating another method of intercom communication, according to an exemplary embodiment;
FIG. 5 is a block diagram illustrating an apparatus for intercom communication, according to an exemplary embodiment;
fig. 6 is a block diagram of a intercom device, shown in accordance with an exemplary embodiment.
Detailed Description
Reference will now be made in detail to exemplary embodiments, examples of which are illustrated in the accompanying drawings. When the following description refers to the accompanying drawings, the same numbers in different drawings refer to the same or similar elements, unless otherwise indicated. The implementations described in the following exemplary examples are not representative of all implementations consistent with the present disclosure. Rather, they are merely examples of apparatus and methods consistent with some aspects of the present disclosure as detailed in the accompanying claims.
FIG. 1 is an implementation environment of intercom device communication, including a second intercom device and a first intercom device, according to an exemplary embodiment; the second intercom device and the first intercom device establish communication connection through a frequency modulation mode, so that communication between the second intercom device and the first intercom device is achieved. The second intercom device and the first intercom device are adjusted to the same frequency, so that communication connection is established. The second intercom device may be any device having an intercom function, for example, the second intercom device may be an intercom, or a wearable device such as a watch and a bracelet having an intercom function. The first intercom device may be any device having an intercom function, for example, the first intercom device may also be an intercom, or a wearable device such as a watch or a bracelet having an intercom function. The maximum output power of the second intercom device may be 0.5W, 2W, 5W, 10W, or the like, and similarly, the maximum output function of the first intercom device may be 0.5W, 2W, 5W, 10W, or the like. The maximum output power of the second intercom device may be the same as or different from the maximum output power of the first intercom device.
It should be noted that the implementation environment may include a plurality of second intercom devices, where the first intercom device may establish communication connection with the plurality of second intercom devices through a frequency modulation manner, so as to implement communication between the first intercom device and the plurality of second intercom devices.
In the embodiment of the disclosure, when the second intercom device and the first intercom device communicate, the second intercom device and/or the first intercom device may adjust output power of the second intercom device and/or the first intercom device according to a communication distance between the second intercom device and the first intercom device.
Fig. 2 is a flow chart illustrating a method of intercom communication according to an exemplary embodiment, as shown in fig. 2, including the following steps.
In step S201, the first intercom device receives the first audio signal transmitted by the second intercom device, and determines the signal quality of the first audio signal.
In step S202, the first intercom device determines a first output power of the first intercom device according to the signal quality.
In step S203, the first intercom device sets the output power of the first intercom device to a first output power, and transmits the second audio signal acquired by the first intercom device through the first output power.
In the embodiment of the disclosure, the quality of the first audio signal is determined by receiving the first audio signal sent by the second intercom device, so that the first output power of the first intercom device is determined, and compared with the case that the audio signal is transmitted by using the maximum transmission power, the second audio signal obtained by transmitting the first output power reduces the loss of the battery of the intercom device and prolongs the service time of the intercom device.
Fig. 3 is a flow chart illustrating another method of intercom communication, according to an exemplary embodiment, including the following steps, as shown in fig. 3.
In step S301, the first intercom device establishes a communication connection with the second intercom device.
When the first intercom device and the second intercom device are communicated, the first intercom device and the second intercom device are communicated through a frequency modulation mode.
In step S302, the second intercom device transmits the first audio signal to the first intercom device via the communication connection.
It should be noted that, the first audio signal may be a first audio signal sent after the first intercom device and the second intercom device establish a communication connection, or may be a non-first audio signal sent after the second intercom device and the first intercom device establish a communication connection.
Another point to be noted is that after the first intercom device establishes a connection with the second intercom device, the first intercom device may actively transmit the third audio signal to the second intercom device through the communication connection. When the first intercom device transmits the third audio signal for the first time, the first intercom device can transmit the third audio signal through the maximum output power of the first intercom device, can transmit the third audio signal through the minimum output power of the first intercom device, and can transmit the third audio signal through the appointed output power. The specified output power may be any output power between the minimum output power and the maximum output power, for example, the specified output power may be an average value of the minimum output power and the maximum output power, or the like.
In step S303, the first intercom device receives the first audio signal transmitted by the second intercom device, and determines the signal quality of the first audio signal.
The signal quality may be characterized by a signal to noise ratio or signal strength. In one possible implementation, when the signal quality is characterized by a signal-to-noise ratio, the step of the first intercom device determining the signal quality of the first audio signal may be: the first intercom equipment obtains the voice, the noise and the harmonic wave of the first audio signal according to the first audio signal, obtains first audio power according to the power of the voice, the power of the noise and the power of the harmonic wave, obtains second audio power according to the power of the noise and the power of the harmonic wave, and determines the ratio of the first audio power to the second audio power as the susceptance ratio of the first audio signal.
The first intercom device determines the sum of the power of voice, the power of noise and the power of harmonic wave as first audio power, and determines the sum of the power of noise and the power of harmonic wave as second audio power.
In another possible implementation, when the signal quality is characterized by an audio signal strength, the step of the first intercom device determining the signal quality of the first audio signal may be: the first intercom device determines the signal strength of the first audio signal and takes the signal strength of the first audio signal as the signal quality of the first audio signal.
Wherein the stronger the signal strength of the first audio signal, the higher the quality of the first audio signal; the weaker the signal strength of the first audio signal, the lower the quality of the first audio signal.
It should be further noted that, because the first intercom device may establish communication connection with the plurality of second intercom devices at the same time, when the first intercom device communicates with the plurality of second intercom devices at the same time, the first intercom device may receive a plurality of first audio signals within a preset time range, and the first intercom device selects one first audio signal with the lowest signal quality from the plurality of first audio signals, and then determines the signal quality of the selected first audio signal. The first intercom device may further select one of the plurality of first audio signals whose signal quality is close to the average value, and then determine the signal quality of the selected first audio signal.
In step S304, the first intercom device determines a communication distance between the second intercom device and the first intercom device according to the signal quality.
In one possible implementation manner, the correspondence between the signal quality and the communication distance is stored in the first intercom device, and the communication distance between the second intercom device and the first intercom device is determined from the correspondence between the signal quality and the communication distance according to the signal quality.
In another possible implementation manner, the relation between the signal quality range and the communication distance is stored in the first intercom device, the signal quality range in which the signal quality is located is determined according to the signal quality, and the communication distance between the second intercom device and the first intercom device is determined from the corresponding relation between the signal quality range and the communication distance.
In step S305, the first intercom device determines the first output power of the first intercom device according to the communication distance.
In this step, the disclosed embodiments enumerate three possible implementations:
in a first possible implementation, different communication distance ranges correspond to different output powers. The first intercom device determines a communication distance range in which the communication distance is located according to the communication distance, and determines first output power of the first intercom device from a corresponding relation between the communication distance range and the output power according to the communication distance range.
The first intercom device stores a correspondence between a communication distance range and output power, and each different communication distance range corresponds to one output power, for example, the first intercom device may be an intercom with a transmitting power of 0.5W, and the correspondence between the communication distance range and the output power is as follows: within 100 meters, 0.1W,100-500 meters 0.2W,500-1000 meters 0.3W,1000-2000 meters 0.4W and above 2000 meters 0.5W. When the communication distance is 1200 meters, the first intercom device determines that the first output power of the first intercom device is 0.4W from the corresponding relation between the communication distance range and the output power.
In a second possible implementation manner, the first intercom device determines an adjustment coefficient, where the adjustment coefficient is used to characterize a ratio between the communication distance and the output power of the first intercom device, and adjusts the current second output power of the first intercom device through the adjustment coefficient to obtain the first output power. After the first intercom device determines the adjustment coefficient, the ratio of the communication distance to the adjustment coefficient is determined as the first output power.
The adjustment coefficient may be an adjustment coefficient preset by the first intercom device; the first intercom device may also be determined according to the historical output power and the historical communication distance corresponding to the historical output power. The historical output power and the historical communication distance corresponding to the historical output power can be the output power and the communication distance of the audio signal with better quality.
In the embodiment of the disclosure, the first intercom device determines the adjustment coefficient according to the historical output power and the historical communication distance corresponding to the historical output power, and then adjusts the current second output power based on the adjustment coefficient, so that the accuracy of adjustment can be improved.
For example, the first intercom device may be an intercom with a transmitting power of 0.5W, the adjustment coefficient is 6000, the current second output power is 0.2W, when the communication distance between the second intercom device and the first intercom device is 900 meters, the first intercom device may need to be adjusted to 0.15W according to the adjustment coefficient, and the first intercom device reduces the current second output power to obtain the first output power.
In a third possible implementation manner, the first intercom device stores a preset communication distance, and the first intercom device compares the communication distance with the preset communication distance. When the communication distance is larger than the preset communication distance, the second output power is increased to obtain the first output power, wherein the second output power is the current output power of the first intercom equipment; when the communication distance is equal to the preset communication distance, the second output power is used as the first output power; and when the communication distance is smaller than the preset communication distance, reducing the second output power to obtain the first output power.
In a first implementation manner, the first intercom device determines a first value, and increases the second output power by the first value to obtain the first output power. The first intercom equipment stores a preset first value, and the second terminal acquires the stored first value. The first intercom device may also determine a first value based on a first difference between the preset communications distance and the communications distance. Accordingly, the step of determining the first value by the first intercom device may be: the first intercom equipment determines a first difference value, and obtains a first value corresponding to the first difference value from the corresponding relation between the difference value and the first value according to the first difference value.
The first intercom equipment determines a second numerical value, and reduces the second output power by the second numerical value to obtain the first output power. The first intercom device stores a preset second value, and the second terminal acquires the stored second value. The first intercom device may also determine the second value based on a first difference between the preset communications distance and the communications distance. Accordingly, the step of determining the second value by the first intercom device may be: the first intercom equipment determines a first difference value, and obtains a second value corresponding to the first difference value from the corresponding relation between the difference value and the second value according to the first difference value.
In a second implementation manner, the first intercom device stores a preset communication distance, a third output power, a fourth output power and a fifth output power, wherein the third output power is smaller than the fourth output power, and the fourth output power is smaller than the fifth output power. The first intercom device compares the communication distance with a preset communication distance. When the communication distance is larger than the preset communication distance, taking the fifth output power as the first output power; when the communication distance is equal to the preset communication distance, taking the fourth output power as the first output power; and when the communication distance is smaller than the preset communication distance, taking the first output power as the first output power.
For example, referring to fig. 4, the foregoing second intercom device and the first intercom device are both an intercom, where the preset communication distance of the first intercom device is 1000 meters, the signal-to-noise ratio is 12db, the first intercom device receives a first audio signal sent by the second intercom device, and the first intercom device characterizes signal quality according to the signal-to-noise ratio of the first audio signal, and when the signal-to-noise ratio is greater than 12db, it indicates that the communication distance between the second intercom device and the first intercom device is smaller than the preset communication distance; when the signal-to-noise ratio is equal to 12db, the signal quality of the first audio signal is unchanged, which means that the communication distance between the second intercom device and the first intercom device is equal to a preset communication distance; when the susceptance ratio is less than 12db, the signal quality of the first audio signal is reduced, indicating that the communication distance between the second intercom device and the first intercom device is equal to the preset communication distance.
It should be noted that, before the first intercom device adjusts up the current second output power, the first intercom device determines whether the second output power is already the maximum output power of the first intercom device; when the second output power is not the maximum output power of the first intercom device, executing the step of increasing the second output power to obtain the first output power; when the second output power is already the maximum output power of the first intercom device, the second output power is taken as the first output power.
In step S306, the first intercom device sets the output power of the first intercom device to a first output power, and transmits the second audio signal acquired by the first intercom device through the first output power.
The first intercom device sets the output power to the first output power at which the second audio signal is transmitted. After the transmission is completed, the first intercom device enters a standby state until receiving the first audio signal transmitted by the second intercom device, and the step S303 starts to be executed.
The second audio signal may be an audio signal that replies to the first audio signal, and after the first intercom device receives the first audio signal, whether there is an audio signal is detected; if the audio signal exists, the audio signal is collected, and the collected audio signal is used as a second audio signal.
It should be noted that, the step of the first intercom device collecting the second audio signal and the steps S304 to S305 have no time sequence. It is possible to collect the second audio signal first and then perform steps S304-S305, or it is possible to perform steps S304-S305 first and then collect the second audio signal, or collect the second audio signal during the process of performing steps S304-S305.
It should be further noted that, after the first intercom device receives the first audio signal sent by the second intercom device, the user identifier corresponding to the first audio signal may also be identified based on the first audio signal; when the user identifier is a user identifier of a specified type, setting the output power of the first intercom device as the maximum output power of the first intercom device; when the user identification is not the user identification of the specified type, a step of determining a communication distance between the second intercom device and the first intercom device according to the signal quality is performed, that is, step S304 is performed.
For example, the step of the first intercom device identifying the user identification may be: the first intercom equipment identifies the user identification corresponding to the first audio signal through a voiceprint identification technology on the received first audio signal; or the first intercom device analyzes the received first audio signal, wherein the first audio signal comprises the user identification, and the first intercom device identifies the user identification corresponding to the first audio signal.
After the first intercom device identifies the user identifier corresponding to the first audio signal, the step of judging the user type may be: the first intercom device stores a corresponding relation table of the user identification and the user type, and the first intercom device determines whether the user identification is the user identification of the appointed type according to the corresponding relation table.
The appointed type can be a boss, a family, appointed personnel and the like, the output power of the first intercom equipment is set to be the maximum output power of the first intercom equipment, and at the moment, the problem of electric quantity saving is not considered, so that the communication quality is preferentially ensured.
After the first intercom device collects the second audio signal, the content of the second audio signal can be judged. It is determined whether to adjust the output power of the first intercom device based on the content of the second audio signal. The step of the first intercom device judging the content of the second audio signal may be: the first intercom equipment analyzes the acquired second audio signal to obtain the content contained in the second audio signal; setting the output power of the first intercom device to the maximum output power of the first intercom device when the specified keyword is included in the content of the second audio signal; when the specified keyword does not exist in the content of the second audio signal, step S304 is performed to determine the communication distance between the second intercom device and the first intercom device according to the signal quality. The keywords may be a bank card, a password, a time point, a word preset by a user, and the like, and the content of the keywords is not particularly limited in the embodiment of the disclosure.
It should be noted that, after the second intercom device receives the second audio signal sent by the first intercom device, the output power of the second intercom device may also be adjusted according to the above method.
In the embodiment of the disclosure, the quality of the first audio signal is determined by receiving the first audio signal sent by the second intercom device, so that the communication distance between the second intercom device and the first intercom device is determined, the first output power of the first intercom device is adjusted according to the communication distance, and the obtained second audio signal is transmitted through the first output power, compared with the mode that the audio signal is transmitted by using the maximum transmission power, the consumption of a battery of the intercom device is reduced, and the service time of the intercom device is prolonged.
Fig. 5 is a block diagram illustrating an apparatus for intercom communication according to an exemplary embodiment. Referring to fig. 5, the apparatus includes a receiving module 501, a first determining module 502, a second determining module 503, and a transmitting module 504.
The receiving module 501 is configured to receive a first audio signal sent by a second intercom device;
a first determination module 502 configured to determine a signal quality of the first audio signal;
a second determining module 503 configured to determine a first output power of the first intercom device according to the signal quality;
The transmitting module 504 is configured to set the output power of the first intercom device to be a first output power, and transmit the second audio signal acquired by the first intercom device through the first output power.
In a possible implementation, the first determining module 502 is further configured to obtain a signal-to-noise ratio of the first audio signal from the first audio signal, where the signal-to-noise ratio is used to characterize the signal quality.
In another possible implementation manner, the second determining module 503 is further configured to determine, according to the signal quality, a communication distance between the second intercom device and the first intercom device from a correspondence relationship between the signal quality and the communication distance; and determining the first output power of the first intercom device according to the communication distance.
In another possible implementation manner, the second determining module 503 is further configured to increase the second output power to obtain the first output power when the communication distance is greater than the preset communication distance, where the second output power is the current output power of the first intercom device; when the communication distance is equal to the preset communication distance, the second output power is used as the first output power; and when the communication distance is smaller than the preset communication distance, reducing the second output power to obtain the first output power.
In another possible implementation, the apparatus further includes:
the third determining module is further configured to determine whether the second output power is already the maximum output power of the first intercom device;
the second determining module 503 is further configured to increase the second output power to obtain the first output power when the second output power is not the maximum output power of the first intercom device;
the first setting module is configured to take the second output power as the first output power when the second output power is already the maximum output power of the first intercom device.
In another possible implementation manner, the second determining module 503 is configured to determine, according to the communication distance, a communication distance range in which the communication distance is located; and determining the first output power of the first intercom device from the corresponding relation between the communication distance range and the output power according to the communication distance range.
In another possible implementation, the second determining module 503 is configured to determine an adjustment coefficient, where the adjustment coefficient is used to characterize a ratio between the communication distance and the output power of the first intercom device; and adjusting the current second output power of the first intercom equipment through the adjusting coefficient to obtain the first output power.
In another possible implementation, the apparatus further includes:
the identifying module is configured to identify a user identifier corresponding to the first audio signal based on the first audio signal;
the second setting module is configured to set the output power of the first intercom device as the maximum output power of the first intercom device when the user identification is the user identification of the specified type;
the second determining module 503 is further configured to determine the first output power of the first intercom device according to the signal quality when the user identification is not a user identification of a specified type.
In another possible implementation, the apparatus further includes:
an acquisition module configured to acquire a second audio signal;
a third setting module configured to set the output power of the first intercom device to the maximum output power of the first intercom device when a specified keyword is included in the content of the second audio signal;
the second determining module 503 is further configured to determine the first output power of the first intercom device when the specified keyword is not present in the content of the second audio signal.
In the embodiment of the disclosure, the quality of the first audio signal is determined by receiving the first audio signal sent by the second intercom device, so that the first output power of the first intercom device is adjusted, and the second audio signal obtained by transmitting the first output power is transmitted, compared with the case that the audio signal is transmitted by using the maximum transmitting power, the consumption of a battery of the intercom device is reduced, and the service time of the intercom device is prolonged.
Fig. 6 is a block diagram of a intercom device, shown in accordance with an exemplary embodiment. For example, intercom device 600 may be an intercom, a mobile phone, a computer, a digital broadcast terminal, a messaging device, a game console, a tablet device, a medical device, an exercise device, a personal digital assistant, or the like.
Referring to fig. 6, intercom device 600 may include one or more of the following components: a processing component 602, a memory 604, a power component 606, a multimedia component 608, an audio component 610, an input/output (I/O) interface 612, a sensor component 614, and a communication component 616.
The processing component 602 generally controls overall operation of the intercom device 600, such as operations associated with display, telephone calls, data communications, camera operations, and recording operations. The processing element 602 may include one or more processors 620 to execute instructions to perform all or part of the steps of the methods described above. Further, the processing component 602 can include one or more modules that facilitate interaction between the processing component 602 and other components. For example, the processing component 602 may include a multimedia module to facilitate interaction between the multimedia component 608 and the processing component 602.
The memory 604 is configured to store various types of data to support operations at the device 600. Examples of such data include instructions for any application or method operating on intercom device 600, contact data, phonebook data, messages, pictures, video, and the like. The memory 604 may be implemented by any type or combination of volatile or nonvolatile memory devices such as Static Random Access Memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic or optical disk.
The power component 606 provides power to the various components of the intercom 600. The power components 606 may include a power management system, one or more power sources, and other components associated with generating, managing, and distributing power for the intercom device 600.
The multimedia component 608 includes a screen between the intercom device 600 and the user that provides an output interface. In some embodiments, the screen may include a Liquid Crystal Display (LCD) and a Touch Panel (TP). If the screen includes a touch panel, the screen may be implemented as a touch screen to receive input signals from a user. The touch panel includes one or more touch sensors to sense touches, swipes, and gestures on the touch panel. The touch sensor may sense not only the boundary of a touch or slide action, but also the duration and pressure associated with the touch or slide operation. In some embodiments, the multimedia component 608 includes a front camera and/or a rear camera. The front-facing camera and/or the rear-facing camera may receive external multimedia data when the device 600 is in an operational mode, such as a shooting mode or a video mode. Each front camera and rear camera may be a fixed optical lens system or have focal length and optical zoom capabilities.
The audio component 610 is configured to output and/or input audio signals. For example, the audio component 610 includes a Microphone (MIC) configured to receive external audio signals when the intercom device 600 is in an operational mode, such as a call mode, a recording mode, and a voice recognition mode. The received audio signals may be further stored in the memory 604 or transmitted via the communication component 616. In some embodiments, audio component 610 further includes a speaker for outputting audio signals.
The I/O interface 612 provides an interface between the processing component 602 and peripheral interface modules, which may be a keyboard, click wheel, buttons, etc. These buttons may include, but are not limited to: homepage button, volume button, start button, and lock button.
The sensor assembly 614 includes one or more sensors for providing status assessment of various aspects of the intercom device 600. For example, the sensor assembly 614 may detect the on/off state of the device 600, the relative positioning of the components, such as the display and keypad of the intercom device 600, the sensor assembly 614 may also detect the change in position of the intercom device 600 or a component of the intercom device 600, the presence or absence of user contact with the intercom device 600, the orientation or acceleration/deceleration of the intercom device 600, and the change in temperature of the intercom device 600. The sensor assembly 614 may include a proximity sensor configured to detect the presence of nearby objects in the absence of any physical contact. The sensor assembly 614 may also include a light sensor, such as a CMOS or CCD image sensor, for use in imaging applications. In some embodiments, the sensor assembly 614 may also include an acceleration sensor, a gyroscopic sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.
The communication component 616 is configured to facilitate wired or wireless communication between the intercom device 600 and other devices. The intercom device 600 may access a wireless network based on a communication standard, such as WiFi,2G, or 3G, or a combination thereof. In one exemplary embodiment, the communication part 616 receives a broadcast signal or broadcast-related information from an external broadcast management system via a broadcast channel. In an exemplary embodiment, the communication component 616 further includes a Near Field Communication (NFC) module to facilitate short range communications.
In an exemplary embodiment, intercom device 600 may be implemented by one or more Application Specific Integrated Circuits (ASICs), digital Signal Processors (DSPs), digital Signal Processing Devices (DSPDs), programmable Logic Devices (PLDs), field Programmable Gate Arrays (FPGAs), controllers, microcontrollers, microprocessors, or other electronic elements for executing the methods described above.
In an exemplary embodiment, a non-transitory computer readable storage medium is also provided, such as memory 604, including instructions executable by processor 620 of intercom device 600 to perform the method described above. For example, the non-transitory computer readable storage medium may be ROM, random Access Memory (RAM), CD-ROM, magnetic tape, floppy disk, optical data storage device, etc
The present disclosure also provides a non-transitory computer readable storage medium, on which at least one instruction, at least one program, a code set, or an instruction set is stored, where the instruction, the program, the code set, or the instruction set is loaded and executed by a processor to implement the operations performed by the intercom device in the intercom device communication method of the foregoing embodiment.
Other embodiments of the disclosure will be apparent to those skilled in the art from consideration of the specification and practice of the disclosure disclosed herein. This disclosure is intended to cover any adaptations, uses, or adaptations of the disclosure following the general principles of the disclosure and including such departures from the present disclosure as come within known or customary practice within the art to which the disclosure pertains. It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the disclosure being indicated by the following claims.
It is to be understood that the present disclosure is not limited to the precise arrangements and instrumentalities shown in the drawings, and that various modifications and changes may be effected without departing from the scope thereof. The scope of the present disclosure is limited only by the appended claims.

Claims (6)

1. A method of intercom device communication, applied to a first intercom device, the method comprising:
receiving a first audio signal sent by second intercom equipment, wherein the second intercom equipment and the first intercom equipment are connected in a frequency modulation mode;
based on the first audio signal, identifying a user identifier corresponding to the first audio signal through a voiceprint identification technology; or analyzing the first audio signal, and identifying a user identifier corresponding to the first audio signal, wherein the first audio signal comprises the user identifier;
when the user identification corresponding to the first audio signal is determined to be the user identification of the appointed type according to the stored corresponding relation table of the user identification and the user type, setting the output power of the first intercom device as the maximum output power of the first intercom device; when the user identifier corresponding to the first audio signal is not the user identifier of the appointed type, determining a first output power of the first intercom device according to the signal quality of the first audio signal;
collecting a second audio signal, wherein the second audio signal is an audio signal for replying to the first audio signal;
Setting the output power of the first intercom device to the maximum output power of the first intercom device when a specified keyword is included in the content of the second audio signal; when the specified keyword does not exist in the content of the second audio signal, determining a first output power of the first intercom device according to the signal quality of the first audio signal;
setting the output power of the first intercom device as the first output power, and transmitting the second audio signal acquired by the first intercom device through the first output power;
wherein the determining the first output power of the first intercom device according to the signal quality of the first audio signal includes:
according to the first audio signal, the voice, noise and harmonic waves of the first audio signal are obtained; obtaining first audio power according to the power of the voice, the power of the noise and the power of the harmonic wave, obtaining second audio power according to the power of the noise and the power of the harmonic wave, and determining the ratio of the first audio power to the second audio power as the susceptance ratio of the first audio signal;
According to the susceptance ratio, determining the communication distance between the second intercom equipment and the first intercom equipment from the corresponding relation between the signal quality and the communication distance;
determining an adjustment coefficient, wherein the adjustment coefficient is used for representing the ratio between the communication distance and the output power of the first intercom device, the adjustment coefficient is determined according to the historical output power of a third audio signal and the historical communication distance corresponding to the historical output power, and the quality of the third audio signal is superior to other audio signals in the historical audio signals;
and adjusting the current second output power of the first intercom equipment through the adjusting coefficient, and determining the first output power of the first intercom equipment.
2. The method according to claim 1, wherein the method further comprises:
when the communication distance is larger than a preset communication distance, the second output power is increased to obtain the first output power, wherein the second output power is the current output power of the first intercom device;
when the communication distance is equal to the preset communication distance, the second output power is used as the first output power;
And when the communication distance is smaller than the preset communication distance, reducing the second output power to obtain the first output power.
3. The method of claim 2, wherein the increasing the second output power results in the first output power, the method further comprising:
determining whether the second output power has been the maximum output power of the first intercom device;
when the second output power is not the maximum output power of the first intercom device, executing the step of increasing the second output power to obtain the first output power;
and when the second output power is the maximum output power of the first intercom device, taking the second output power as the first output power.
4. The method according to claim 1, wherein the method further comprises:
determining a communication distance range in which the communication distance is located according to the communication distance;
and determining the first output power of the first intercom equipment from the corresponding relation between the communication distance range and the output power according to the communication distance range.
5. An intercom device, comprising:
One or more processors;
a memory for storing the one or more processor-executable instructions;
wherein the one or more processors are configured to perform the method of intercom device communication of any of claims 1-4.
6. A non-transitory computer-readable storage medium having instructions stored thereon that are executed by a processor of an intercom device to perform the method of intercom device communication of any of claims 1-4.
CN201910465550.3A 2019-05-30 2019-05-30 Intercommunication method for intercom equipment, intercom equipment and storage medium Active CN112019948B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910465550.3A CN112019948B (en) 2019-05-30 2019-05-30 Intercommunication method for intercom equipment, intercom equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910465550.3A CN112019948B (en) 2019-05-30 2019-05-30 Intercommunication method for intercom equipment, intercom equipment and storage medium

Publications (2)

Publication Number Publication Date
CN112019948A CN112019948A (en) 2020-12-01
CN112019948B true CN112019948B (en) 2023-05-30

Family

ID=73501542

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910465550.3A Active CN112019948B (en) 2019-05-30 2019-05-30 Intercommunication method for intercom equipment, intercom equipment and storage medium

Country Status (1)

Country Link
CN (1) CN112019948B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114666749B (en) * 2022-05-18 2022-08-19 深圳市宇隆移动互联网有限公司 LoRa-based talkback method and system, computer equipment and storage medium
CN116963254B (en) * 2023-09-21 2023-11-24 中瑞科技术有限公司 Communication state-based intercom transmitting power optimization method and system

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105379367A (en) * 2014-03-05 2016-03-02 华为技术有限公司 Transmitting power control method and device
CN105578112A (en) * 2015-12-23 2016-05-11 努比亚技术有限公司 Video call method and device
CN107222912A (en) * 2017-06-08 2017-09-29 西安蜂语信息科技有限公司 A kind of method of adjust automatically transmission power, apparatus and system

Family Cites Families (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7720502B2 (en) * 2005-02-09 2010-05-18 Mitsubishi Electric Corporation Radio device and interference avoiding method by transmission power control
CN102761950B (en) * 2011-04-28 2017-02-01 上海无线通信研究中心 Self-adaption self-optimizing QoS (quality of service) transmission method for heterogeneous network
RU2667094C1 (en) * 2015-05-11 2018-09-14 Телефонактиеболагет Лм Эрикссон (Пабл) Energy efficient power transmission control
JP6865746B2 (en) * 2015-10-30 2021-04-28 華為技術有限公司Huawei Technologies Co.,Ltd. Data transmission method and equipment
CN107979705A (en) * 2017-10-25 2018-05-01 大唐终端技术有限公司 Chauvent's criterion method and device in a kind of intercom system
CN108282167A (en) * 2018-01-22 2018-07-13 福建科立讯通信有限公司 The intercom uttered long and high-pitched sounds can be solved closely to converse and method that solution is uttered long and high-pitched sounds
CN109151619A (en) * 2018-08-10 2019-01-04 北京小米移动软件有限公司 Data communications method and device

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105379367A (en) * 2014-03-05 2016-03-02 华为技术有限公司 Transmitting power control method and device
CN105578112A (en) * 2015-12-23 2016-05-11 努比亚技术有限公司 Video call method and device
CN107222912A (en) * 2017-06-08 2017-09-29 西安蜂语信息科技有限公司 A kind of method of adjust automatically transmission power, apparatus and system

Also Published As

Publication number Publication date
CN112019948A (en) 2020-12-01

Similar Documents

Publication Publication Date Title
CN108496395B (en) Paging synchronization indication method and device, paging synchronization method and device and base station
CN111461304B (en) Training method of classified neural network, text classification method, device and equipment
CN110691268B (en) Message sending method, device, server, mobile terminal and storage medium
CN110502444B (en) Testing method and testing device for image processing algorithm
CN110674343A (en) Account information processing method and device, server and terminal
CN112185388B (en) Speech recognition method, device, equipment and computer readable storage medium
US20240063980A1 (en) System information reception method and apparatus, and system information transmission method and apparatus
CN112291631A (en) Information acquisition method, device, terminal and storage medium
CN112019948B (en) Intercommunication method for intercom equipment, intercom equipment and storage medium
CN105721705B (en) Call quality control method and device and mobile terminal
US11561278B2 (en) Method and device for processing information based on radar waves, terminal, and storage medium
CN112509596A (en) Wake-up control method and device, storage medium and terminal
CN111541922A (en) Method, device and storage medium for displaying interface input information
CN107677363B (en) Noise prompting method and intelligent terminal
CN107277422B (en) Video call method, device and system
CN110868495A (en) Message display method and device
CN111354356B (en) Voice data processing method and device
CN107071859A (en) network connection processing method, device and terminal
CN109088920B (en) Evaluation method, device and equipment of intelligent sound box and storage medium
CN112489650A (en) Wake-up control method and device, storage medium and terminal
CN110784721A (en) Picture data compression method and device, electronic equipment and storage medium
CN113191792B (en) Task processing method, device, electronic equipment, storage medium and program product
CN109119075A (en) Speech recognition scene awakening method and device
CN113645695B (en) Method, device and storage medium for processing radio resource control link configuration signaling
CN114514791B (en) Configuration information indication and reference signal receiving method and device

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
GR01 Patent grant
GR01 Patent grant