WO2017113372A1 - 一种音频业务的干扰控制方法以及终端 - Google Patents

一种音频业务的干扰控制方法以及终端 Download PDF

Info

Publication number
WO2017113372A1
WO2017113372A1 PCT/CN2015/100288 CN2015100288W WO2017113372A1 WO 2017113372 A1 WO2017113372 A1 WO 2017113372A1 CN 2015100288 W CN2015100288 W CN 2015100288W WO 2017113372 A1 WO2017113372 A1 WO 2017113372A1
Authority
WO
WIPO (PCT)
Prior art keywords
terminal
interference control
parameter
message
controlled range
Prior art date
Application number
PCT/CN2015/100288
Other languages
English (en)
French (fr)
Inventor
卢恒惠
梅敬青
Original Assignee
华为技术有限公司
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 华为技术有限公司 filed Critical 华为技术有限公司
Priority to EP15911997.3A priority Critical patent/EP3386124B1/en
Priority to PCT/CN2015/100288 priority patent/WO2017113372A1/zh
Priority to CN201580085540.7A priority patent/CN108432161B/zh
Priority to US16/067,043 priority patent/US10262648B2/en
Priority to CN201910985000.4A priority patent/CN110830063B/zh
Publication of WO2017113372A1 publication Critical patent/WO2017113372A1/zh

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04BTRANSMISSION
    • H04B1/00Details of transmission systems, not covered by a single one of groups H04B3/00 - H04B13/00; Details of transmission systems not characterised by the medium used for transmission
    • H04B1/06Receivers
    • H04B1/10Means associated with receiver for limiting or suppressing noise or interference
    • GPHYSICS
    • G10MUSICAL INSTRUMENTS; ACOUSTICS
    • G10KSOUND-PRODUCING DEVICES; METHODS OR DEVICES FOR PROTECTING AGAINST, OR FOR DAMPING, NOISE OR OTHER ACOUSTIC WAVES IN GENERAL; ACOUSTICS NOT OTHERWISE PROVIDED FOR
    • G10K11/00Methods or devices for transmitting, conducting or directing sound in general; Methods or devices for protecting against, or for damping, noise or other acoustic waves in general
    • G10K11/16Methods or devices for protecting against, or for damping, noise or other acoustic waves in general
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04BTRANSMISSION
    • H04B1/00Details of transmission systems, not covered by a single one of groups H04B3/00 - H04B13/00; Details of transmission systems not characterised by the medium used for transmission
    • H04B1/06Receivers
    • H04B1/10Means associated with receiver for limiting or suppressing noise or interference
    • H04B1/1027Means associated with receiver for limiting or suppressing noise or interference assessing signal quality or detecting noise/interference for the received signal
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04BTRANSMISSION
    • H04B15/00Suppression or limitation of noise or interference
    • 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
    • H04R3/002Damping circuit arrangements for transducers, e.g. motional feedback circuits
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/02Services making use of location information
    • H04W4/023Services making use of location information using mutual or relative location information between multiple location based services [LBS] targets or of distance thresholds
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/80Services using short range communication, e.g. near-field communication [NFC], radio-frequency identification [RFID] or low energy communication
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W88/00Devices specially adapted for wireless communication networks, e.g. terminals, base stations or access point devices
    • H04W88/02Terminal devices

Definitions

  • audio services are becoming more and more popular, such as mobile phone call services, voice messages, audio and video conferences, and the like.
  • audio services are often susceptible to interference from peripheral noise.
  • peripheral noise For example, in a home environment, when a TV is playing a program, if the user answers the call, its audio service will inevitably be affected by the noise of the TV program. interference.
  • how to reduce the noise interference is becoming more and more important.
  • the existing audio interference control technology mostly reduces noise on the terminal side.
  • the specific methods generally fall into two categories: 1) noise cancellation; 2) automatic adjustment of volume.
  • the noise is first detected, and then the reverse wave of the noise is generated, and the reverse wave of the noise is superimposed with the noise to achieve the purpose of eliminating noise.
  • the terminal when the terminal performs the audio service, if the surrounding environment noise is detected, the terminal automatically adjusts its own volume to achieve the purpose of resisting noise.
  • the efficiency of noise cancellation is reduced due to the need to configure an additional noise reduction device, and the noise reduction device cannot avoid the influence of noise on the audio service in the process of detecting noise.
  • the noise reduction effect is poor.
  • the method of automatically adjusting the volume is shown in the prior art, the volume of the terminal needs to be frequently increased, thereby reducing the service life of the terminal, and in the process of increasing the volume of the terminal, the power of the terminal is consumed, thereby causing the terminal. The waste of electrical energy, which in turn reduces the standby time of the terminal.
  • the present invention provides an interference control method and a terminal for an audio service that does not require an additional noise reduction device and is low in cost and has a good user experience.
  • a first aspect of the embodiments of the present invention provides an interference control method for an audio service, where the method includes:
  • the first terminal When the first terminal performs an audio service, the first terminal sends a first message to the second terminal by using a short-range wireless communication technology;
  • the first message carries an interference control parameter, where the interference control parameter is used to indicate an action performed by the second terminal;
  • the second terminal receives the first message
  • the second terminal determines, according to the first message, that the second terminal supports interference control:
  • Determining, by the second terminal, that the second terminal supports interference control according to the first message needs to meet two conditions:
  • the second terminal receives the first message sent by the first terminal by using a protocol layer, and the second terminal can correctly parse the first message;
  • the second terminal determines whether the setting that can be performed by the second terminal matches the interference control parameter that has been parsed, and if the matching, the second terminal determines that the second terminal can support interference Control, if not, the second terminal determines that the second terminal is unable to support interference control.
  • the second terminal determines to support the interference control according to the interference control parameter, and the second terminal is located within the controlled range, the second terminal adjusts its own setting according to the interference control parameter, so that the self-adjustment has been adjusted.
  • the second terminal reduces or avoids noise interference with the first terminal.
  • the first message further carries an interference control distance threshold parameter and a signal parameter
  • the second terminal determines that the second terminal is not located in the controlled range
  • the second terminal calculates a distance between the second terminal and the first terminal:
  • the second terminal is capable of determining, according to a distance between the second terminal and the first terminal, whether the second terminal is located within a controlled range, and only if the second terminal is controlled When the range is within the range, the first terminal performs interference control on the second terminal to avoid controlling the terminal that does not cause noise interference to the first terminal, and effectively guarantees that the The first terminal causes normal operation of the terminal with noise interference.
  • the first terminal determines a distance between the first terminal and the second terminal according to the signal parameter.
  • the first terminal determines that the second terminal is located in the controlled range.
  • the first terminal determines that the second terminal is not located in the controlled range.
  • the first terminal determines that the second terminal is located in a controlled range according to the signal parameter and the interference control distance threshold parameter, the first terminal generates the first message.
  • the first terminal is capable of determining, according to a distance between the second terminal and the first terminal, whether the second terminal is located within a controlled range, and only if the second terminal is controlled When the range is within the range, the first terminal performs interference control on the second terminal to avoid controlling the terminal that does not cause noise interference to the first terminal, and effectively guarantees that the First The normal operation of a terminal that causes noise interference at a terminal.
  • the second terminal supports the interference control, and the second terminal is located in the controlled range, And in a case that the second terminal is generating a sound, the second terminal adjusts its own setting according to the interference control parameter.
  • the first message further carries an interference control duration parameter
  • the second terminal starts a timer, and sets a timing of the timer to be equal to the interference control duration parameter
  • the second terminal If the second terminal does not receive the interference control end command sent by the first terminal, and if the second terminal needs to perform the work of generating a sound, The second terminal adjusts its own setting according to the interference control parameter;
  • the second terminal resumes its original setting.
  • the second terminal can adjust its own setting according to the interference control duration parameter, so that when the first terminal works, the second terminal can immediately resume setting, so that the second terminal does not When the first terminal is caused by noise interference, the second terminal can be immediately restored to normal operation, and unnecessary interference control is performed on the second terminal.
  • the method further includes:
  • the first terminal detects the displacement of the first terminal itself by using a self-contained inertial sensor
  • the inertial sensor is: an accelerometer, a gyroscope or a magnetometer.
  • the first terminal When the displacement exceeds a preset threshold, the first terminal sends a second message by using the short-range wireless communication technology
  • the second message carries an interference control distance threshold parameter and a signal parameter
  • the second terminal restores its original settings.
  • the first terminal can detect itself in the process of performing an audio service. Displacement, such that when the displacement exceeds a preset threshold, the first terminal sends the second message to the second terminal, so that the second terminal adjusts its own setting according to the interference control parameter, Therefore, the embodiment can adjust the audio interference control of different second terminals in time according to the change of the first terminal's own displacement, and improve the accuracy of the audio service interference control.
  • the interference control parameter is used to indicate that the action performed by the second terminal includes one or more of the following:
  • the signal parameter is a parameter related to distance measurement, and the signal parameter includes one or more of the following:
  • a second aspect of the embodiments of the present invention provides an interference control method for an audio service, where
  • the method includes:
  • the short-range wireless communication technology is Bluetooth technology, Wi-Fi (English full name, Wireless Fidelity: wireless high-fidelity) technology, infrared IR technology, or ultra-wideband technology.
  • the first message carries an interference control parameter, where the interference control parameter is used to indicate an action performed by the terminal;
  • the terminal determines, according to the first message, that the terminal supports interference control:
  • the terminal receives the first message sent by the another terminal through its protocol layer, and the terminal can correctly parse the first message;
  • the terminal determines whether the setting that the terminal can perform matches the interference control parameter that has been parsed. If the terminal matches, the terminal determines that the terminal can support interference control, if not If the match is made, the terminal determines that the terminal cannot support interference control.
  • the terminal determines to support interference control according to the interference control parameter, and the terminal is located in a controlled range, the terminal adjusts its own setting according to the interference control parameter, so that the terminal that has adjusted its own setting is lowered or Avoid noise interference to another terminal.
  • another terminal may send the first message to the terminal by using a short-range wireless communication technology, so that the interference control is supported at the terminal, and
  • the terminal can adjust its own setting according to the interference control parameter, effectively reducing the noise interference of the terminal to the other terminal, and the implementation process is simple, and no complicated process is required. Operation, low cost of implementation.
  • the first message further carries an interference control distance threshold parameter and a signal parameter
  • the terminal determines that the terminal is located in the controlled range.
  • the terminal determines that the terminal is not located in the controlled range
  • the terminal calculates a distance between the terminal and the other terminal as:
  • the terminal can determine, according to the distance between the terminal and the another terminal, whether the terminal is located within a controlled range, and only when the terminal is located within a controlled range, another terminal is
  • the terminal is subjected to interference control to avoid the situation that the terminal that does not cause noise interference to the other terminal is controlled, and the normal operation of the terminal that does not cause noise interference to the other terminal is effectively guaranteed.
  • the second implementation side of the second aspect of the embodiment of the present invention wherein, if the terminal supports the interference control, and the terminal is located in the controlled range, if the terminal is generating a sound, the terminal adjusts its own setting according to the interference control parameter.
  • the first message further carries an interference control duration parameter
  • the terminal starts a timer, and sets a timing of the timer to be equal to the interference control duration parameter
  • the terminal does not receive the interference control end command sent by the other terminal, and if the terminal needs to perform the work of generating sound, the terminal according to the The interference control parameter adjusts its own setting;
  • the terminal can adjust its own setting according to the interference control duration parameter, so that when the other terminal works, the terminal can immediately restore the setting, so that the terminal does not cause noise interference to another terminal.
  • the terminal can be guaranteed to resume normal operation immediately, and unnecessary interference control of the terminal can be avoided.
  • the method further includes:
  • the terminal determines that the terminal is beyond the controlled range according to the interference control distance threshold parameter and the signal parameter carried by the second message, the terminal restores its original setting.
  • the interference control parameter is used to indicate
  • the actions performed by the terminal include one or more of the following:
  • the signal parameters are parameters related to distance measurements, including one or more of the following:
  • a third aspect of the embodiments of the present invention provides a terminal, where the terminal includes an antenna, a processor, an input unit, an output unit, a storage unit, and a power source;
  • the input unit is configured to implement interaction between the user and the terminal and/or input information into the terminal;
  • the input unit may be a touch panel, or may be other human-computer interaction interfaces, such as a physical input key, a microphone, etc., and may be other external information capture devices, such as a camera;
  • the processor is a control center of the terminal, and connects various parts of the entire terminal by using various interfaces and lines, by running or executing software programs and/or modules stored in the storage unit, and calling data stored in the storage unit, To perform various functions of the terminal and/or process data.
  • the processor may be composed of an integrated circuit (IC), for example, may be composed of a single packaged IC, or may be composed of a plurality of packaged ICs having the same function or different functions;
  • the antenna is used to establish a communication channel
  • the output unit is optionally for image and/or output sound
  • the storage unit is configured to store a software program and a module, and the processor executes various functional applications of the terminal and implements data processing by running a software program and a module stored in the storage unit;
  • the storage unit mainly includes a program storage area and a data storage area
  • the power supply is used to power different components of the terminal to maintain its operation.
  • the antenna is configured to receive a first message, where the first message carries an interference control parameter, where the interference control parameter is used to indicate an action performed by the terminal;
  • the antenna receives the first message based on Bluetooth technology, Wi-Fi (English full name, Wireless Fidelity: wireless high fidelity) technology, infrared IR technology, or ultra-wideband technology.
  • the processor is configured to: when the interference control is determined according to the interference control parameter, and the terminal is located within a controlled range, the processor adjusts its own setting according to the interference control parameter, so that the adjusted The terminal set by itself reduces or avoids noise interference to the terminal that sends the first message;
  • the determining, by the terminal, that the terminal supports interference control according to the first message needs to meet two conditions:
  • the terminal receives the first message sent by a terminal that performs an audio service through a protocol layer, and the terminal can correctly parse the first message;
  • the terminal determines whether the setting that the terminal can perform matches the interference control parameter that has been parsed. If the terminal matches, the terminal determines that the terminal can support interference control, and if not, the terminal The terminal determines that the terminal is unable to support interference control.
  • the terminal determines to support interference control according to the interference control parameter, and the terminal is located in a controlled range, the terminal adjusts its own setting according to the interference control parameter, so that the terminal that has adjusted its own setting is lowered or Avoid noise interference to terminals that perform audio services.
  • the terminal may perform noise interference control by using the received first message, so that the interference control is supported at the terminal, and the terminal is located
  • the terminal can adjust its own setting according to the interference control parameter, which effectively reduces the noise interference of the terminal to the terminal that performs the audio service, and does not need to frequently adjust the terminal during the implementation process.
  • the volume of the device effectively saves the power of the terminal, and the implementation process is simple and the noise reduction effect is good.
  • the processor is further configured to: when the terminal performs an audio service, send a second message by using the antenna, where the second message carries the interference control parameter.
  • the terminal that performs the audio service sends the second message based on Bluetooth technology, Wi-Fi (English full name, Wireless Fidelity: Wireless High Fidelity) technology, infrared IR technology, or ultra-wideband technology.
  • the first message further carries an interference control distance threshold parameter and a signal parameter
  • the processor is further configured to determine, according to the interference control distance threshold parameter and the signal parameter carried in the first message,
  • the second terminal is located within the controlled range.
  • the terminal determines that the terminal is located within the controlled range.
  • the terminal determines that the terminal is not located in the controlled range
  • the terminal calculates a distance between the terminal and the terminal that performs the audio service as:
  • the terminal is configured to determine, according to a distance between the terminal and the terminal that performs the audio service, whether the terminal is located within a controlled range, and only when the terminal is located within a controlled range,
  • the terminal performing the audio service performs interference control on the terminal, and avoids the situation that the terminal that does not cause noise interference to the terminal that performs the audio service is controlled, thereby effectively ensuring that the performing audio service is not performed.
  • the terminal works normally due to noise interference.
  • the processor is configured to: when the interference control is determined according to the interference control parameter, and the terminal is located in a controlled range, the processor adjusts the setting according to the interference control parameter, specifically:
  • the processor is further configured to: when the terminal supports the interference control, and the terminal is located in the controlled range, and adjust the self setting according to the interference control parameter if the terminal is generating a sound .
  • a third aspect of the embodiments of the present invention or a first implementation of the third aspect of the embodiments of the present invention In a fourth implementation manner of the third aspect of the embodiment of the present invention,
  • the first message further carries an interference control duration parameter
  • the processor is configured to start a timer, and set a timing of the timer to be equal to the interference control duration parameter;
  • the terminal does not receive the interference control end command sent by the terminal that performs the audio service, and if the terminal needs to perform the work of generating sound, the terminal needs to perform the operation of generating the sound. Adjusting its own settings according to the interference control parameters;
  • the terminal can adjust its own setting according to the interference control duration parameter, so that when the terminal performing the audio service is completed, the terminal can immediately restore the setting, so that the terminal does not When the terminal performing the audio service causes noise interference, the terminal can be guaranteed to resume normal operation immediately, and unnecessary interference control of the terminal can be avoided.
  • the processor is further configured to: when the terminal performs an audio service, the terminal detects a displacement of the terminal;
  • the processor detects the displacement of the first terminal itself by means of a self-contained inertial sensor
  • the inertial sensor is: an accelerometer, a gyroscope or a magnetometer.
  • a third message is sent through the antenna, and the third message carries an interference control distance threshold parameter and a signal parameter.
  • the antenna is further configured to receive a fourth message
  • the processor is further configured to: if the processor determines, according to the interference control distance threshold parameter and the signal parameter carried by the fourth message, that the terminal is beyond the controlled range, the terminal restores its original setting. .
  • the terminal performing the audio service can detect the displacement of the audio service, so that the terminal performing the audio service will be the third when the displacement exceeds a preset threshold.
  • Sending a message to the terminal, so that the terminal adjusts according to the interference control parameter The self-setting, so that the embodiment can adjust the audio interference control to different terminals in time according to the change of the terminal's own displacement of the audio service, and improve the accuracy of the audio service interference control.
  • the interference control parameter is used to indicate that the action performed by the terminal includes one or more of the following:
  • the signal parameter is a parameter related to distance measurement, and the signal parameter includes one or more of the following:
  • the present invention provides an interference control method for an audio service and a terminal.
  • the first terminal can be powered by short-range wireless communication technology.
  • the carried interference control parameter adjusts the self-setting, so that the second terminal that has adjusted its own setting can effectively reduce or avoid the noise interference to the first terminal, and does not need to frequently adjust the second
  • the volume of the terminal effectively saves the power of the second terminal, and the implementation process is simple and the noise reduction effect is good.
  • 1 is a flow chart of steps of an embodiment of an interference control method for an audio service according to an embodiment of the present invention
  • FIG. 2 is a flow chart of another embodiment of an interference control method for an audio service according to an embodiment of the present invention.
  • FIG. 3 is a flow chart of steps of an embodiment of an interference control method for an audio service according to an embodiment of the present invention
  • FIG. 4 is another embodiment of an interference control method for an audio service according to an embodiment of the present invention. Step flow chart;
  • FIG. 5 is a schematic structural diagram of an embodiment of a terminal according to an embodiment of the present invention.
  • the first terminal may use Bluetooth technology, Wi-Fi (English full name, Wireless Fidelity: Wireless High Fidelity) technology, infrared IR technology, ultra-wideband technology, and the second terminal. Interact with information.
  • Wi-Fi Wireless Fidelity: Wireless High Fidelity
  • infrared IR infrared IR
  • ultra-wideband technology ultra-wideband technology
  • the first terminal shown in this embodiment is a terminal capable of performing an audio service.
  • the audio service may be related services for collecting audio and playing audio.
  • the audio service may be a terminal call service, a WeChat service, a voice short message service, an audio and video conference service, or the like.
  • the first terminal is not limited, as long as the first terminal can perform the audio service, for example, the first terminal may be a terminal device such as a smart phone, a tablet computer, or an in-vehicle terminal.
  • the second terminal shown in this embodiment is a terminal capable of causing noise interference to the first terminal that is performing the audio service.
  • the second terminal is not limited, as long as the second terminal in operation can cause noise interference to the first terminal that is performing the audio service, for example, the second The terminal can be a television, a washing machine, a vacuum cleaner, a smart phone, a tablet or an in-vehicle terminal.
  • first terminal and the second terminal may be the same terminal, or may be different terminals, which is not limited in this embodiment.
  • the interference control method for the audio service provided by the embodiment of the present invention is specifically described below with reference to FIG. 1 :
  • Step 101 When the first terminal performs an audio service, the first terminal sends the first message to the second terminal by using a short-range wireless communication technology.
  • the main feature of the short-range wireless communication technology is short communication distance, low cost, low power consumption, and ability to implement peer-to-peer communication.
  • the short-range wireless communication technology can be Bluetooth technology, Wi-Fi (English full name, Wireless Fidelity: Chinese full name, wireless high-fidelity) technology, infrared IR technology, ultra-wideband technology, and the like.
  • the first terminal broadcasts the first message by using the short-range wireless communication technology.
  • the first message carries an interference control parameter.
  • the interference control parameter is used to indicate an action performed by the second terminal.
  • the interference control parameter is not limited.
  • the second terminal performs the action indicated by the interference control parameter carried by the first message, the second terminal can reduce or avoid the The noise interference of the first terminal can be described.
  • Step 102 The second terminal receives the first message.
  • the second terminal may receive the first message based on Bluetooth technology, Wi-Fi (English full name, Wireless Fidelity), infrared IR technology, ultra-wideband technology, and the like.
  • Wi-Fi English full name, Wireless Fidelity
  • infrared IR technology ultra-wideband technology, and the like.
  • Step 103 The second terminal determines, according to the interference control parameter carried in the first message, that the second terminal supports interference control.
  • the determining, by the second terminal, that the second terminal supports interference control according to the first message needs to meet two conditions:
  • the second terminal receives the first message sent by the first terminal by using a protocol layer, and the second terminal can correctly parse the first message;
  • the second terminal determines whether the setting that can be performed by the second terminal matches the interference control parameter that has been parsed, and if the matching, the second terminal determines that the second terminal can support interference Control, if not, the second terminal determines that the second terminal is unable to support interference control.
  • the interference control parameter is not limited.
  • the second terminal may avoid or reduce the first terminal that is performing audio service.
  • the noise interference of the terminal can be.
  • the second terminal determines that the second terminal is capable of performing the action indicated by the interference control parameter, the second terminal determines that the second terminal can support interference control.
  • the interference control parameter in this embodiment may be one or more of the following:
  • the second terminal determines that the interference control parameter carried in the first message is pause playback and lowers the volume
  • the second terminal determines, according to its own setting, that the second terminal can perform pause play and And/or decreasing the volume
  • the second terminal may determine that the second terminal supports interference control
  • the second terminal determines, according to its own setting, that the second terminal is unable to perform pause playback and reduce volume
  • the first terminal The second terminal can determine that the second terminal does not support interference control.
  • Step 104 The second terminal determines, according to the first message, that the second terminal is located within a controlled range.
  • the controlled range is not limited.
  • the second terminal may cause interference to the first terminal that is performing audio service.
  • the first message further carries an interference control distance threshold parameter and a signal parameter.
  • the specific setting manner of the interference control distance threshold parameter is not limited.
  • the interference control distance threshold parameter may be pre-stored by the first terminal.
  • the first terminal may send different interference control distance threshold parameters to the second terminal according to different performed audio services;
  • control distance threshold list includes a correspondence between a call voice service and an interference control distance threshold parameter of 5 m, and if the first terminal performs a call voice service, the first terminal may be And transmitting, by the first message, an interference control distance threshold parameter of 5 m to the second terminal.
  • control distance threshold list includes an audio play service and an interference control distance of 10 m. If the first terminal performs the audio play service, the first terminal may send the interference control distance threshold parameter of 10 m to the second terminal by using the first message. .
  • the second terminal is capable of determining a distance between the second terminal and the first terminal according to the signal parameter.
  • the second terminal determines that the second terminal is located in the controlled range.
  • the second terminal determines that the second terminal is not located in the controlled range.
  • the following describes how the second terminal specifically determines the distance between the second terminal and the first terminal:
  • the signal parameter shown in this embodiment is a parameter related to distance measurement between the first terminal and the second terminal, and the signal parameter includes one or more of the following:
  • the method for the second terminal to specifically acquire the parameters of the signal is the prior art, and is not specifically described in this embodiment.
  • the second terminal calculates a distance between the second terminal and the first terminal, where
  • the manner in which the second terminal specifically determines the distance between the first terminal and the second terminal is an exemplary description, which is not limited, as long as the second terminal can determine the first The distance between the terminal and the second terminal is sufficient.
  • the first terminal may send location information of the first terminal to the second terminal;
  • the first terminal can be based on Bluetooth technology, Wi-Fi (English full name, Wireless Fidelity: full name, wireless high fidelity) technology, infrared IR technology, ultra-wideband technology And transmitting the location information of the first terminal to the second terminal.
  • Wi-Fi English full name, Wireless Fidelity: full name, wireless high fidelity
  • infrared IR infrared IR
  • ultra-wideband technology transmitting the location information of the first terminal to the second terminal.
  • the second terminal is capable of determining a distance between the first terminal and the second terminal according to location information of the second terminal and location information of the first terminal.
  • the location information may be absolute geographic location information (such as latitude and longitude information) or relative location coordinate information.
  • the terminal may also send the LCI (Location Context Identifier: full name, location context identifier) of the first terminal to the second terminal, if the second terminal determines the LCI of the second terminal Equal to the LCI of the first terminal, indicating that the second terminal is within the controlled range.
  • LCI Location Context Identifier: full name, location context identifier
  • the second terminal located in the controlled range needs to continue to perform the following steps, because the second terminal not located in the controlled range does not cause noise to the first terminal even if it works. interference.
  • Step 105 The second terminal adjusts its own setting according to the interference control parameter.
  • the second terminal is to adjust its own setting according to the interference control parameter, it is required to satisfy two conditions at the same time:
  • the second terminal supports the interference control (as shown in step 103);
  • the second terminal is located within a controlled range (as shown in step 104).
  • the following is an example of how the second terminal adjusts its own setting according to the interference control parameter, which is not limited, as long as the second terminal adjusts its own setting according to the interference control parameter, and can effectively reduce or avoid the The second terminal may interfere with the noise of the first terminal.
  • the first manner in which the second terminal adjusts its own setting may be:
  • the second terminal may be according to the Interference control parameters adjust their own settings
  • the second terminal may adjust its own setting according to the action.
  • the second terminal may adjust its own setting to be mute.
  • the second terminal may adjust its own setting according to any action.
  • the second terminal may select an action, for example, When the close action is selected, the second terminal can adjust its own setting to off.
  • the second terminal may be according to the user.
  • the selected action adjusts its own settings.
  • the second terminal determines that the second terminal is capable of performing the actions of muting, lowering the volume, suspending playing, and closing as indicated by the interference control parameter
  • the second terminal receives the selected instruction of the user, and the user
  • the second terminal can be notified of the action of lowering the volume by inputting a selection instruction, and the second terminal can adjust the self setting to decrease the volume according to an instruction input by the user for indicating the volume reduction.
  • the second way in which the second terminal adjusts its own settings may be:
  • the first message further carries an interference control duration parameter.
  • the second terminal may configure its own setting according to the interference control duration parameter and the interference control parameter.
  • the second terminal determines the interference control duration parameter, and the embodiment takes the interference control duration parameter as 10 minutes as an example;
  • the second terminal starts a timer, and sets the timing of the timer to be equal to the interference control duration parameter.
  • the timer has a timing of 10 minutes;
  • the second terminal determines the adjusted self-setting according to the interference control parameter, the second terminal determines, according to the interference control parameter, that the adjusted setting is to decrease the volume;
  • the second terminal sets its own configuration to reduce the volume
  • the second terminal resumes its original setting.
  • the third manner in which the second terminal adjusts its own settings may be:
  • the first message further carries an interference control duration parameter.
  • the second terminal may configure its own setting according to the interference control duration parameter and the interference control parameter.
  • the second terminal is configured to configure, according to the interference control duration parameter, a duration of the second terminal performing an action indicated by the interference control parameter.
  • the second terminal determines the interference control duration parameter, and the embodiment takes the interference control duration parameter as 1 minute as an example;
  • the second terminal determines the adjusted self-setting according to the interference control parameter, the second terminal determines, according to the interference control parameter, that the adjusted setting is muted;
  • the second terminal adjusts the mute set by itself, and starts a timer, and sets the time of the timer to be equal to the interference control duration parameter, and the time of the timer in the embodiment is 1 minute;
  • the second terminal When the second terminal does not receive the interference control end command sent by the first terminal, and if the timer time of the timer exceeds 1 minute, the second terminal restores its original setting.
  • the second terminal does not need to continue to perform interference control.
  • the first terminal may determine the interference control duration parameter according to the estimated result, for example, the first terminal estimates that the time required for performing the audio service is 1 minute, and the first terminal setting The interference control duration parameter is 1 minute.
  • Step 106 In the process of performing the audio service by the first terminal, the first terminal detects its own displacement, and when the displacement exceeds a preset threshold, the first terminal sends a second message to the Said second terminal.
  • the manner in which the first terminal detects its own displacement may be:
  • the first terminal detects the displacement of the first terminal itself by using a self-contained inertial sensor.
  • the inertial sensor may be an accelerometer, a gyroscope, a magnetometer or the like.
  • the manner in which the first terminal specifically detects the displacement of the first terminal itself is not limited.
  • the first terminal is further configured according to the location of the first terminal and the detected The difference in position of a terminal determines the displacement of the first terminal itself.
  • the second message carries the interference control distance threshold parameter and the signal parameter, and the specific description of the interference control distance threshold parameter and the signal parameter is shown in the above steps, and is not described in detail in this step.
  • the size of the preset threshold is not limited.
  • the second terminal does not generate noise interference to the first terminal. And/or, a new second terminal capable of receiving the second message transmitted by the first terminal by short-range wireless communication technology occurs.
  • Step 107 The second terminal receives the second message.
  • Step 108 The second terminal determines, according to the interference control distance threshold parameter and the signal parameter carried in the second message, whether the second terminal is located in the controlled range, and if yes, proceed to step 109, if not, Go to step 113.
  • the second terminal determines, according to the second message, whether the second terminal is located in the controlled range. For details, refer to the second terminal according to step 104. The process of determining whether the second terminal is located in the controlled range is not described in detail in the first step.
  • Step 109 The second terminal adjusts its own setting according to the interference control parameter.
  • the second terminal determines, according to the second message, that the second terminal supports the interference control, and the second terminal is located within a controlled range, the second terminal adjusts itself according to the interference control parameter. Settings.
  • the specific process of adjusting the setting by the second terminal according to the second message is as follows. For details, refer to the specific process of the second terminal adjusting the setting according to the first message, as shown in step 105. Do not repeat in the middle.
  • Step 110 The first terminal sends a third message to the second terminal.
  • the third message carries an interference control end command.
  • the first terminal may send the third message to the second terminal by using a short-range wireless communication technology.
  • the third message is used to instruct the second terminal to restore its original settings.
  • Step 111 The second terminal receives the third message.
  • the second terminal restores its original setting according to the received third message.
  • the second terminal may continue to play the original audio, turn on the sound, increase the volume, or restart the work, etc., so that the second terminal can restore the self setting to the second terminal according to the third message.
  • Step 113 The second terminal determines whether the self-setting has been adjusted. If yes, step 114 is performed, and if no, step 115 is performed.
  • Step 114 The second terminal restores its original settings.
  • the second terminal may determine that the second terminal is already the first before the first terminal displacement changes.
  • the terminal that causes the terminal to cause noise interference when the second terminal determines that the second terminal is not located in the controlled range according to the second message, the second terminal at this time is no longer If the first terminal causes noise interference, the second terminal can restore its original setting.
  • Step 115 The second terminal keeps the current working state unchanged.
  • the first terminal may send the first message to the second terminal by using a short-range wireless communication technology, so that the second terminal
  • the self-setting can be adjusted according to the interference control parameter carried in the first message, which effectively reduces the noise interference of the second terminal to the first terminal, and the implementation process is simple, no complicated operation is required, and the implementation cost is low.
  • the volume of the second terminal does not need to be adjusted frequently, thereby effectively saving the power of the second terminal, and the noise reduction effect is good.
  • the first terminal can detect its own displacement during the process of performing the audio service, so that when the displacement exceeds a preset threshold, the first terminal sends the second message to The second terminal, so that the second terminal determines, according to the second message, whether the second terminal is located in the controlled range, so that the embodiment can timely change according to the displacement of the first terminal itself. Adjusting the audio interference control of different second terminals improves the accuracy of the interference control of the audio service.
  • the first terminal does not perform screening on the second terminal, and when the first terminal performs an audio service, the first terminal may broadcast the first The message is used for interference control.
  • the following describes the interference control method of the audio service provided by the embodiment of the present invention, if the first terminal performs screening on the second terminal. of.
  • Step 201 When the first terminal performs an audio service, the first terminal sends a probe request frame.
  • the first terminal and the second terminal may perform information interaction based on Bluetooth technology, Wi-Fi (English full name, Wireless Fidelity: wireless high-fidelity) technology, infrared IR technology, and ultra-wideband technology.
  • Wi-Fi English full name, Wireless Fidelity: wireless high-fidelity
  • infrared IR technology infrared IR technology
  • ultra-wideband technology ultra-wideband technology
  • Step 202 The second terminal receives the probe request frame, and the second terminal feeds back a probe response frame to the first terminal according to the probe request frame.
  • the first terminal is capable of discovering the second terminal according to the probe response frame.
  • the first terminal can discover the second terminal by using the step 201 to the step 203. It is to be clarified that the steps 201 to 203 for discovering the second terminal in this embodiment are exemplary. , not limited.
  • Step 204 The first terminal sends a service discovery query frame to the second terminal.
  • the first terminal sends a service discovery query frame to the discovered second terminal.
  • Step 205 The second terminal receives the service discovery query frame, and feeds back a service response frame to the first terminal according to the service discovery query frame.
  • the second terminal indicates, by using the service response frame, functions and services that the second terminal can support.
  • the second terminal may indicate, by the service response frame, that the second terminal can support functions and services such as muting, lowering the volume, pausing playback, switching to the headset mode, and turning off.
  • functions and services such as muting, lowering the volume, pausing playback, switching to the headset mode, and turning off.
  • Step 206 The first terminal receives the service response frame.
  • the first terminal is capable of determining functions and services that the second terminal can support according to the service response.
  • the first terminal may determine, according to the service response frame fed back by the second terminal, a second terminal that meets its interference control requirement.
  • Step 207 The first terminal establishes short-range wireless communication with the second terminal.
  • Step 208 The first terminal sends a ranging message to the second terminal.
  • the first terminal indicates, by using the ranging message, the second terminal to feed back a signal parameter.
  • Step 209 The second terminal sends a signal parameter to the first terminal according to the ranging message.
  • the signal parameter shown in this embodiment is a parameter related to distance measurement, and the signal parameter includes one or more of the following:
  • Step 210 The first terminal receives the signal parameter, and determines, according to the signal parameter and the interference control distance threshold parameter, that the second terminal is located within a controlled range.
  • step 104 shown in FIG. 1 For details of how to set the interference control distance threshold parameter in the first terminal in this embodiment, please refer to step 104 shown in FIG. 1 , which is not specifically described in this embodiment.
  • the first terminal is capable of determining, according to a distance between the first terminal and the second terminal, whether the second terminal is located within a controlled range.
  • the first terminal determines that the second terminal is located in the controlled range.
  • the interference control distance threshold parameter is pre-stored in the first terminal.
  • the first terminal specifically determines the distance between the first terminal and the second terminal, as shown in step 104 shown in FIG. 1 , how the second terminal specifically determines the first
  • the distance between a terminal and the second terminal is not described in detail in this embodiment.
  • the manner in which the first terminal specifically determines the distance between the first terminal and the second terminal is an exemplary description, which is not limited, as long as the first terminal can determine the first The distance between the terminal and the second terminal is sufficient.
  • the first terminal may further request, by using the ranging message, the second terminal to feed back location information of the second terminal, where the first terminal is capable of according to the location information of the second terminal and the first terminal.
  • the location information determines a distance between the first terminal and the second terminal.
  • the location information may be absolute geographic location information (such as latitude and longitude information) or relative location coordinate information.
  • the first terminal determines, according to the distance between the second terminal and the first terminal, whether the second terminal is located in the controlled range, which is not limited. For example, the The first terminal may further request, by using the ranging message, the second terminal to feed back the LCI of the second terminal, if the first terminal determines that the LCI of the second terminal is equal to the LCI of the first terminal, Then the second terminal is located within the controlled range.
  • Step 211 The first terminal generates a first message if the first terminal determines that the second terminal is located in a controlled range according to the signal parameter and the interference control distance threshold parameter.
  • the first message carries an interference control parameter.
  • Step 212 The first terminal sends the first message to the second terminal located in a controlled range.
  • Step 213 The second terminal receives the first message, and determines that the second terminal supports interference control according to the interference control parameter carried in the first message.
  • step 103 the specific process of determining, by the second terminal, whether the second terminal supports the interference control according to the interference control parameter is shown in step 103 shown in FIG. 1 , and is specifically not performed in this embodiment. Narration.
  • Step 214 The second terminal adjusts its own setting according to the interference control parameter.
  • step 214 in this embodiment please refer to step 105 shown in FIG. 1 , which is not repeatedly described in this embodiment.
  • Step 215 In the process of performing the audio service by the first terminal, the first terminal detects its own displacement. When the displacement exceeds a preset threshold, the first terminal determines whether the second terminal is located. Within the controlled range, if yes, step 216 is performed, and if no, step 220 is performed.
  • Step 216 The first terminal generates a second message.
  • the first terminal detects a displacement of the first terminal, and when the displacement exceeds a preset threshold, the first terminal after the displacement movement determines the Whether the second terminal is within the controlled range.
  • the first terminal sends the second interference carrying distance threshold parameter and the signal parameter to the second terminal.
  • the message continues to step 217.
  • step 201 The specific process in which the first terminal that moves the displacement determines the second terminal that is located in the controlled range, as shown in step 201 to step 210, which is not described in detail in this step.
  • the specific process of the first terminal for detecting the displacement of the first terminal is shown in the step 106 shown in FIG. 1 , and is not described in detail in this embodiment.
  • Step 217 The first terminal sends the second message to the second terminal located in a controlled range.
  • Step 218 The second terminal receives the second message, and determines, according to the interference control parameter carried in the second message, whether the second terminal supports interference control.
  • Step 219 If the second terminal supports the interference control, and the second terminal is located in a controlled range, the second terminal adjusts its own setting according to the interference control parameter.
  • the second terminal shown in this step adjusts its own setting according to the second message, and how the second terminal adjusts its own setting according to the first message, as shown in step 214 shown in FIG. 2 .
  • the process, the specific process will not repeat them.
  • Step 220 The first terminal sends a third message to the second terminal.
  • the first terminal sends the third message to the second terminal in two ways:
  • the first terminal is directed to, by the step 215, when the displacement of the first terminal itself exceeds a preset threshold, and the first terminal determines that the second terminal is no longer located within the controlled range, the first terminal The second terminal that is no longer within the controlled range sends a third message.
  • the first terminal determines that the second terminal is not located. Within the controlled range, or if the first terminal determines that the LCI of the first terminal is different from the LCI of the second terminal, the first terminal determines that the second terminal is not located in the controlled Within the control range, the first terminal sends the third message to the second terminal.
  • step 219 after the second terminal adjusts its own setting according to the second message, if the first terminal determines to stop performing the audio service, at this time, the first The terminal does not need to perform interference control on the second terminal, and the first terminal sends the third message to the second terminal.
  • the third message carries an interference control end command.
  • the first terminal may send the third message to the second terminal by using a short-range wireless communication technology.
  • the third message is used to instruct the second terminal to restore its original settings.
  • Step 221 The second terminal receives the third message, and restores the original setting of the second terminal according to the third message.
  • the second terminal restores the original setting of the second terminal according to the received third message.
  • the second terminal can continue to play the original audio, turn on the sound, increase the volume, or restart the work.
  • the first terminal may send the first message to the second terminal located in a controlled range by using a short-range wireless communication technology, thereby
  • the second terminal can adjust the self-setting according to the interference control parameter carried in the first message, effectively reducing the noise interference of the second terminal to the first terminal, and the implementation process is simple, and the method is not needed.
  • the complicated operation has low implementation cost, and the volume of the second terminal does not need to be adjusted frequently during the implementation process, thereby effectively saving the power of the second terminal, and the noise reduction effect is good.
  • the first terminal can detect its own displacement during the process of performing the audio service, so that when the displacement exceeds a preset threshold, the first terminal sends the second message to
  • the second terminal is configured to enable the second terminal to adjust its own setting according to the interference control parameter, so that the embodiment can adjust the audio interference control of different second terminals in time according to the change of the first terminal's own displacement. Improve the accuracy of interference control of audio services.
  • the first terminal discovers a second terminal that can cause noise interference to the first terminal by performing information interaction with the second terminal.
  • the details are shown in FIG. 1 and FIG. 2 , and are not described in detail in this embodiment.
  • the manner in which the first terminal discovers the second terminal is only an optional example, which is not limited.
  • the first terminal performing an audio service can detect a surrounding noise condition and determine a volume level of ambient noise
  • the first terminal may be preset with a noise threshold. If the first terminal determines that the volume of the surrounding noise has been detected to be greater than or equal to the noise threshold, the first terminal may determine that the surrounding presence may cause The second terminal of the noise interference, the first terminal may perform interference control on the second terminal, where the specific manner in which the first terminal performs interference control on the second terminal is shown in FIG. 1 to The embodiment shown in FIG. 2 is not specifically described in this embodiment.
  • FIG. 1 to FIG. 2 illustrate an interference control method for an audio service provided by an embodiment of the present invention from the perspective of interaction, and the following is a perspective of a terminal capable of causing noise interference to other terminals performing audio services, as shown in FIG. 3;
  • the interference control method for the audio service provided by the embodiment of the present invention is described in detail.
  • Step 301 The terminal receives the first message by using a short-range wireless communication technology.
  • the terminal receives the first message sent by another terminal that is performing an audio service.
  • the terminal is not limited, as long as the sound generated by the terminal can cause interference to another terminal that is performing the audio service.
  • the terminal may be a television, a washing machine, a vacuum cleaner, a smart phone, a tablet computer, or an in-vehicle terminal.
  • the first message carries an interference control parameter.
  • step 301 of the embodiment the specific process of the terminal receiving the first message, as shown in step 102 of FIG. 1 , the specific process of the second terminal receiving the first message, specifically no longer Narration.
  • Step 302 The terminal determines, according to the interference control parameter carried in the first message, that the terminal supports interference control.
  • the terminal determines, according to the first message, whether the terminal supports the specific process of the interference control, as shown in step 103 shown in FIG. 1 , the second terminal determines according to the first message.
  • the specific process of the second terminal supports the interference control, which is not specifically described in this embodiment.
  • the interference control parameter in this embodiment may be one or more of the following:
  • the interference control parameter is not limited.
  • the terminal can avoid or reduce the noise interference of the terminal to another terminal that is performing the audio service. .
  • the terminal determines that the terminal is capable of performing the action indicated by the interference control parameter, the terminal determines that the terminal can support interference control.
  • the terminal determines that the terminal is unable to perform the action indicated by the interference control parameter, the terminal determines that the terminal is unable to support interference control.
  • Step 303 The terminal determines, according to the first message, that the terminal is located within a controlled range.
  • the terminal determines, according to the first message, a specific process that the terminal is located in a controlled range, as shown in step 104 shown in FIG. 1 , the second terminal determines, according to the first message,
  • the structural process in which the second terminal is located in the controlled range is not described in detail in this embodiment.
  • Step 304 The terminal adjusts its own setting according to the interference control parameter.
  • the specific process of the terminal is adjusted according to the interference control parameter, as shown in step 105 shown in FIG. 1 , the second terminal adjusts a specific process of setting according to the interference control parameter, specifically It will not be described in detail in this embodiment.
  • Step 305 The terminal receives the second message.
  • the other terminal detects its own displacement during the execution of the audio service, and when the displacement of the other terminal exceeds the preset threshold, the other terminal sends the second message to the terminal.
  • the process of sending the second message by another terminal is as shown in step 106 of FIG. 1 , and the process of sending the second message by the first terminal is not performed in this embodiment. Narration.
  • Step 306 The terminal determines, according to the interference control distance threshold parameter and the signal parameter carried in the second message, whether the terminal is located in the controlled range. If yes, proceed to step 307. If no, proceed to step 309.
  • the terminal determines, according to the second message, whether the terminal is located in the controlled range, as shown in step 108 shown in FIG.
  • the specific process of determining whether the second terminal is located in the controlled range by using the interference control distance threshold parameter and the signal parameter carried in the second message is not described in detail in this step.
  • Step 307 If the terminal supports the interference control, and the terminal is located in a controlled range, the terminal adjusts its own setting according to the interference control parameter.
  • the specific process of the terminal is adjusted according to the second message, and the specific process of the terminal setting the self-adjustment according to the first message, as shown in step 304, is not described in this step. .
  • Step 308 The terminal receives the third message, and restores its original setting according to the third message.
  • the third message carries an interference control end command.
  • the third message may be sent to the terminal by using a short-range wireless communication technology.
  • the third message is used to instruct the terminal to restore its original settings.
  • the terminal restores its original settings according to the received third message.
  • the terminal may continue to play the original audio, turn on the sound, increase the volume, or restart the work, etc., so that the terminal can restore the setting according to the third message to the setting when the interference control is not performed on the terminal. .
  • Step 309 The terminal determines whether the self-setting has been adjusted. If yes, step 310 is performed, and if no, step 311 is performed.
  • the terminal determines whether the specific process of setting the self has been adjusted. For details, refer to step 113 in the embodiment shown in FIG. 1 , where the second terminal determines whether the specific process of setting itself has been adjusted, specifically in the implementation. None will be repeated in the example.
  • Step 310 The terminal restores its original settings.
  • Step 311 The terminal keeps the current working state unchanged.
  • another terminal that is performing the audio service may send the first message to the terminal by using a short-range wireless communication technology, so that the terminal can be
  • the interference control parameter carried in the first message adjusts its own setting, which effectively reduces the noise interference of the terminal to another terminal that is performing an audio service, and the implementation process is simple, no complicated operation is required, and the implementation cost is low.
  • the volume of the terminal is not frequently adjusted, thereby effectively saving the power of the terminal, and the noise reduction effect is good.
  • the other terminal that is performing the audio service sends the second message to the terminal when the displacement of the terminal exceeds the preset threshold in the process of performing the audio service, so that the terminal according to the The second message determines whether the terminal is located in the controlled range, so that the embodiment can adjust the interference control of the audio service according to the change of the displacement of another terminal that is performing the audio service, and improve the interference control of the audio service. accuracy.
  • the following describes how to implement the interference control method of the audio service provided by the embodiment of the present invention when the terminal that is performing the audio service determines whether the terminal is located in the controlled range, as shown in FIG.
  • Step 401 The terminal receives the probe request frame.
  • the terminal receives the probe request frame sent by another terminal that is performing an audio service.
  • Step 402 The terminal sends a feedback probe response frame to another terminal.
  • the terminal is capable of discovering another terminal that is performing an audio service according to the probe request frame.
  • Step 403 The terminal receives a service discovery query frame sent by another terminal.
  • Step 404 The terminal feeds back a service response frame to another terminal according to the service discovery query frame.
  • the terminal indicates, by using the service response frame, functions and services that the terminal can support.
  • the terminal may indicate, by the service response frame, that the terminal can support functions and services such as mute, volume down, pause play, switch to headset mode, and off.
  • functions and services such as mute, volume down, pause play, switch to headset mode, and off.
  • Step 405 The terminal receives a ranging message.
  • another terminal may send a ranging message to the terminal.
  • Step 406 The terminal sends the signal parameter to another terminal according to the ranging message.
  • the signal parameter shown in this embodiment is a parameter related to distance measurement, and the signal parameter includes one or more of the following:
  • Another terminal that is performing an audio service can determine the distance between the other terminal and the terminal based on the signal parameters.
  • the specific process of the distance between the second terminal and the first terminal is specifically not described in this embodiment.
  • the other terminal determines the distance between the other terminal and the terminal according to the signal parameter sent by the terminal as an example, which is not limited.
  • another terminal may further request the terminal to feed back location information by using the ranging message.
  • the other terminal may determine a distance between the another terminal and the terminal according to location information of the terminal and location information of another terminal.
  • the location information may be absolute geographic location information (such as latitude and longitude information) or relative location coordinate information.
  • the other terminal can determine the terminal located within the controlled range according to the distance between the other terminal and the terminal.
  • Step 407 The terminal receives the first message.
  • the other terminal sends the first message to the terminal located in the controlled range by using the short-range wireless communication technology.
  • the size of the controlled range is not limited, as long as the terminal located in the controlled range can generate noise interference to the other terminal that is performing audio service.
  • the specific process of the terminal is specifically determined by the terminal in the controlled range, as shown in step 210 shown in FIG. 2, how the first terminal according to the first terminal and the The distance between the second terminals determines a specific process of the second terminal that is located in the controlled range, and is not specifically described in this embodiment.
  • Step 408 The terminal determines, according to the interference control parameter carried in the first message, that the terminal supports interference control.
  • the specific process of determining whether the terminal supports the interference control according to the interference control parameter is shown in step 213 shown in FIG. 2, and the second terminal is configured according to the first message.
  • the interference control parameter that is carried is used to determine a specific process for the second terminal to support the interference control, which is not specifically described in this embodiment.
  • Step 409 If the terminal supports the interference control, and the terminal is located in a controlled range, the terminal adjusts its own setting according to the interference control parameter.
  • Step 410 The terminal receives the second message, and determines, according to the interference control parameter carried in the second message, whether the terminal supports interference control.
  • the specific process for the second terminal that is performing the audio service to send the second message is as shown in step 215 to step 217 shown in FIG. 3, where the first terminal sends the second message.
  • the process is not described in detail in this embodiment.
  • the terminal determines, according to the second message, whether the terminal supports the interference control, and how the terminal determines whether the terminal supports the interference control according to the first message, as shown in step 408 shown in FIG. The specific process will not be described again.
  • Step 411 If the terminal supports the interference control, and the terminal is located in a controlled range, the terminal adjusts its own setting according to the interference control parameter.
  • the terminal shown in this step adjusts the process of setting itself according to the second message, as shown in step 409 shown in FIG. 4, how the terminal adjusts its own setting according to the first message, specifically The process will not go into details.
  • Step 412 The terminal receives the third message, and restores its original setting according to the third message.
  • the third message carries an interference control end command.
  • the first terminal sends the third message to the second terminal. Specifically, it will not be described in detail in this embodiment.
  • the third message may be sent to the terminal by using a short-range wireless communication technology.
  • the third message is used to instruct the terminal to restore its original settings.
  • the terminal restores its original settings according to the received third message.
  • the terminal can continue to play the original audio, turn on the sound, increase the volume, or restart the work.
  • the other terminal may send the first message to the terminal located in the controlled range by using a short-range wireless communication technology, so that the terminal can be Adjusting the self-setting according to the interference control parameter carried in the first message, effectively reducing the noise interference of the terminal to the another terminal, and the implementation process is simple, no complicated operation is required, the implementation cost is low, and the implementation is implemented. In the process, the volume of the terminal is not frequently adjusted, thereby effectively saving the power of the terminal, and the noise reduction effect is good.
  • another terminal can perform the sound During the frequency service, the displacement of the terminal is detected, so that when the displacement exceeds the preset threshold, the other terminal sends the second message and the third message to the terminal, so that the terminal according to the The second message determines whether the terminal is located in the controlled range, so that the terminal restores its original setting according to the third message, so that the embodiment can timely adjust the audio service according to the change of the displacement of the other terminal itself. Interference control improves the accuracy of interference control of audio services.
  • the terminal includes an antenna 501 and a processor 502.
  • the terminal further includes: an input unit 503, an output unit 504, a storage unit 505, a power source 506, and the like.
  • the input unit 503 is configured to implement user interaction with the terminal and/or information input into the terminal.
  • the input unit 503 may receive numeric or character information input by a user, and the input unit 503 may also receive a pressing operation or the like input by a user to cause the input unit 503 to generate a signal input related to user setting or function control. .
  • the input unit 503 may be a touch panel, or may be other human-computer interaction interfaces, such as a physical input key, a microphone, etc., and may be other external information capture devices, such as a camera.
  • a touch panel also called a touch screen or a touch screen, such as a user using a finger, a stylus, or the like, or any suitable object or accessory on or near the touch panel, according to a preset program.
  • a touch panel also called a touch screen or a touch screen, such as a user using a finger, a stylus, or the like, or any suitable object or accessory on or near the touch panel, according to a preset program.
  • the touch panel may include two parts: a touch detection device and a touch controller.
  • the touch detection device detects a touch operation of the user, converts the detected touch operation into an electrical signal, and transmits the electrical signal to the touch controller, and the touch controller receives the electrical signal from the touch detection device, and It is converted to contact coordinates and sent to processor 502.
  • the touch controller can also receive commands from the processor 502 and execute them.
  • Control panel In addition, it can be touched by various types such as resistive, capacitive, infrared, and surface acoustic waves. Control panel.
  • the physical input keys used by the input unit 503 may include, but are not limited to, a physical keyboard, a function key (such as a volume control button, a switch button, etc.), a trackball, a mouse, a joystick, and the like. kind or more.
  • the input unit 503 in the form of a microphone can collect the voice input by the user or the environment and convert it into a command executable by the processor 502 in the form of an electrical signal.
  • the input unit 503 may also be various types of sensor components, such as Hall devices, for detecting physical quantities of the terminal, such as force, moment, pressure, stress, position, displacement, speed. , acceleration, angle, angular velocity, number of revolutions, speed, and time when the working state changes, etc., are converted into electricity for detection and control.
  • sensor components such as Hall devices, for detecting physical quantities of the terminal, such as force, moment, pressure, stress, position, displacement, speed. , acceleration, angle, angular velocity, number of revolutions, speed, and time when the working state changes, etc.
  • Other sensor components may also include gravity sensors, three-axis accelerometers, gyroscopes, electronic compasses, ambient light sensors, proximity sensors, temperature sensors, humidity sensors, pressure sensors, heart rate sensors, fingerprint readers, and the like.
  • the processor 502 is a control center of the terminal, and connects various parts of the entire terminal by using various interfaces and lines, by running or executing software programs and/or modules stored in the storage unit, and calling data stored in the storage unit, Perform various functions and/or process data of the terminal.
  • the processor 502 may be composed of an integrated circuit (IC), for example, may be composed of a single packaged IC, or may be composed of a plurality of packaged ICs having the same function or different functions.
  • IC integrated circuit
  • the processor 502 may include only a central processing unit (CPU), or may be a GPU, a digital signal processor (DSP), and a control chip in the communication unit (for example, a baseband). A combination of chips).
  • CPU central processing unit
  • DSP digital signal processor
  • control chip in the communication unit for example, a baseband
  • the CPU may be a single operation core, and may also include multiple operation cores.
  • the antenna 501 is used to establish a communication channel.
  • Output unit 504 is optional for image and/or output sound.
  • the output unit 504 can output an image
  • the output image can be text, picture, and/or video.
  • the output unit 504 may comprise a reflective display, such as electrophoretic A display, or a display that utilizes an Interferometric Modulation of Light.
  • the output unit 504 can include a single display or multiple displays of different sizes.
  • the touch panel used by the input unit 503 can also serve as a display panel of the output unit.
  • the touch panel detects a touch or proximity gesture operation thereon, it is transmitted to the processor 502 to determine the type of the touch event, and then the processor 502 provides a corresponding visual output on the display panel according to the type of the touch event. .
  • the input unit 503 and the output unit 504 are two independent components to implement the input and output functions of the terminal, in some embodiments, the touch panel and the display panel may be integrated to implement the terminal. Input and output functions.
  • the output unit 504 can display various graphical user interfaces (GUIs) as virtual control components, including but not limited to windows, scroll axes, icons, and scrapbooks, for the user to touch. The way to operate.
  • GUIs graphical user interfaces
  • output unit 504 includes a filter and an amplifier for filtering and amplifying the video output by processor 502.
  • the output unit 504 also includes a digital to analog converter for converting the audio signal output by the processor 502 from a digital format to an analog format.
  • the storage unit 505 can be used to store software programs and modules, and the processor 502 executes various functional applications of the terminal and implements data processing by running software programs and modules stored in the storage unit 505.
  • the storage unit 505 mainly includes a program storage area and a data storage area.
  • the program storage area may store an operating system, at least one function required application, such as a sound playing program, an image playing program, etc.; the data storage area may store data created according to the use of the terminal (such as audio data, phone book) and many more.
  • the storage unit 505 may include a volatile memory, such as a non-volatile volatile random access memory (NVRAM), a phase change random access memory (Phase Change RAM, PRAM for short). ), a magnetoresistive random access memory (MRAM), or a non-volatile memory, such as at least one disk storage device, an electronically erasable programmable read only memory (Electrically Erasable Programmable Read-Only Memory, EEPROM for short), flash memory device, such as NOR flash memory or NAND flash memory.
  • NVRAM non-volatile volatile random access memory
  • Phase Change RAM Phase Change RAM
  • MRAM magnetoresistive random access memory
  • EEPROM Electrically Erasable Programmable Read-Only Memory
  • the non-volatile memory stores the operating system and applications executed by the processor 502.
  • the processor 502 loads the running program and data from the non-volatile memory into the memory and stores the digital content in a plurality of storage devices.
  • the operating system includes controls and management of conventional system tasks such as memory management, storage device control, power management, etc., as well as various components and/or drivers that facilitate communication between various hardware and software.
  • the operating system may be an Android system of Google Inc., an iOS system developed by Apple Corporation, a Windows operating system developed by Microsoft Corporation, or an embedded operating system such as Vxworks.
  • the application includes any application installed on the terminal, including but not limited to browser, email, instant messaging service, word processing, keyboard virtual, widget, encryption, digital rights management, voice recognition, voice Copy, locate (such as those provided by GPS), music playback, and more.
  • Power source 506 is used to power different components of the terminal to maintain its operation.
  • the power source 506 can be a built-in battery, such as a conventional lithium ion battery, a nickel metal hydride battery, etc., and also includes an external power source 506 that directly supplies power to the terminal, such as an AC adapter.
  • the power source 506 can also be more widely defined.
  • the power source 506 can also include a power source 506 management system, a charging system, a power source 506 fault detecting circuit, a power source 506 converter or an inverter, and a power source.
  • a 506 status indicator (such as a light emitting diode), and any other component associated with the power generation, management, and distribution of the terminal.
  • the following describes the specific functions of the antenna 501 and the processor 502 when performing interference control on the terminal provided by the embodiment of the present invention.
  • the terminal shown in this embodiment serves as an interference terminal capable of causing noise interference to other terminals performing audio services.
  • the antenna 501 is configured to receive a first message.
  • the terminal receives, by using the antenna 501, the first message sent by another terminal that is performing an audio service.
  • the first message carries an interference control parameter.
  • the processor 502 configured to: when the interference control is determined according to the interference control parameter, and the terminal is located within a controlled range, the processor adjusts its own setting according to the interference control parameter, so that the self-adjustment is adjusted.
  • the terminal reduces or avoids noise interference to the terminal transmitting the first message.
  • the processor 502 determines, according to the first message, whether the terminal supports the specific process of the interference control, as shown in step 103 shown in FIG. 1 , the second terminal is according to the first
  • the interference control parameter carried in the message determines a specific process for the second terminal to support the interference control, which is not specifically described in this embodiment.
  • the interference control parameter in this embodiment may be one or more of the following:
  • the interference control parameter is not limited.
  • the terminal can avoid or reduce the noise interference of the terminal to another terminal that is performing the audio service. .
  • the processor 502 determines that the terminal is capable of performing the action indicated by the interference control parameter, the processor 502 determines that the terminal can support interference control.
  • the processor 502 determines that the terminal is unable to perform the action indicated by the interference control parameter, the processor 502 determines that the terminal is unable to support interference control.
  • the processor 502 is further configured to: if the terminal supports the interference control, and the terminal is located in the controlled range, adjust the self setting according to the interference control parameter.
  • the terminal is located within a controlled range.
  • the processor 502 adjusts the specific process of setting itself according to the interference control parameter, as shown in step 105 shown in FIG. 1 , the specific process of the second terminal adjusting its own setting according to the interference control parameter. Specifically, it will not be described in detail in this embodiment.
  • another terminal that is performing the audio service may send the first message to the terminal by using a short-range wireless communication technology, so that When the terminal supports the interference control, and the terminal is located in the controlled range, the terminal can adjust its own setting according to the interference control parameter, effectively reducing the terminal to another audio service being executed.
  • the noise interference of the terminal is simple, the implementation process is not required, and the implementation cost is low. In the implementation process, the volume of the terminal is not frequently adjusted, thereby effectively saving the power of the terminal, and the noise reduction effect is good.
  • the processor 502 determines whether the terminal is located in a controlled range
  • the first message further includes an interference control distance threshold parameter and a signal parameter
  • the processor 502 is further configured to: Determining, according to the interference control distance threshold parameter and the signal parameter carried in the first message, whether the terminal is located within a controlled range.
  • the signal parameter is a parameter related to distance measurement, and the signal parameter includes one or more of the following:
  • the processor 502 determines, according to the interference control distance threshold parameter and the signal parameter carried in the first message, whether the terminal is located in a controlled range, as shown in step 303 of Figure 3.
  • the terminal determines, according to the first message, a specific process that the terminal is located in a controlled range, which is not specifically described in this embodiment.
  • the specific process of the terminal is specifically determined by the terminal in the controlled range. For details, refer to step 211 shown in FIG. 2, how the first terminal according to the first terminal and the The distance between the second terminals determines a specific process of the second terminal that is located in the controlled range, and is not specifically described in this embodiment.
  • the processor 502 is further configured to: when the terminal supports the interference control, and the terminal is located in the controlled range, and adjust the self according to the interference control parameter if the terminal is generating sound Settings.
  • the processor 502 adjusts a specific process of setting the self according to the interference control parameter, as shown in step 105 shown in FIG. 1 , the second terminal adjusts its own setting according to the interference control parameter.
  • the specific process is not described in detail in this embodiment.
  • the first message further carries an interference control duration parameter
  • the processor 502 is further configured to: when the terminal supports the interference control, and the terminal is located in the controlled range, the terminal according to the The interference control duration parameter and the interference control parameter configure their own settings.
  • the terminal adjusts the specific process of setting the self according to the interference control duration parameter, as shown in step 105 shown in FIG. 1 , the second terminal according to the specific process of adjusting the setting itself.
  • the details are not described in detail in this embodiment.
  • the antenna 501 is further configured to receive a fourth message.
  • the processor 502 is capable of determining that the displacement of the terminal that is performing the audio service has moved according to the fourth message, and the displacement exceeds a preset threshold.
  • the processor 502 is further configured to determine, according to the interference control distance threshold parameter and the signal parameter carried in the fourth message, whether the terminal is located in the controlled range;
  • the processor 502 determines, according to the fourth message, whether the terminal is located in the controlled range, as shown in step 108 shown in FIG. 1 , the second terminal is configured according to the second terminal.
  • the process of determining, by the second message, the interference control threshold parameter and the signal parameter to determine whether the second terminal is located in the controlled range is not described in this embodiment.
  • the processor 502 is further configured to: if the terminal exceeds the controlled range, the terminal restores the original setting of the terminal.
  • the processor 502 controls the specific process of the terminal to restore its original settings. For details, refer to step 211 shown in FIG. 2, where the second terminal restores its original setting process. This description will not be repeated.
  • the terminal shown in this embodiment may also be a terminal that is performing an audio service.
  • the antenna 501 is further configured to receive a signal parameter sent by another terminal, where the processor 502 is further configured to: when the terminal performs an audio service, determine the another according to the signal parameter and the interference control distance threshold parameter. The second message is generated when the terminal is within the controlled range.
  • the processor 502 is further configured to send, by using the antenna 501, a second message, when the terminal performs an audio service, where The second message carries the interference control parameter.
  • the processor 502 is further configured to: when the terminal performs an audio service, the terminal detects a displacement of the terminal, and when the displacement exceeds a preset threshold, sending, by using the antenna 501, The third message carries the interference control distance threshold parameter and the signal parameter.
  • the specific process of the third message is sent by the processor 502 by using the antenna 501.
  • the first terminal detects the displacement of the first terminal.
  • the first terminal sends a second message to the second terminal, which is not specifically described in this embodiment.
  • the processor 502 determines, according to the first message received by the antenna 501, that the terminal supports interference control, and the terminal is located in the In the controlled range, the self-setting is adjusted according to the interference control parameter, and if the processor 502 receives the fourth message through the antenna 501, it can determine that the movement of the terminal displacement of the audio service is exceeded. The threshold is then the processor 502 re-determines whether the terminal is within the controlled range.
  • the processor 502 may send a second message that can perform interference control on the interfering terminal through the antenna 501, and if the terminal is in the process of performing an audio service, The processor 502 can also send a third message through the antenna 501 when the displacement exceeds a preset threshold. It can be seen that, in the process of performing interference control, the implementation process is simple, no complicated operation is required, the implementation cost is low, and the accuracy of the audio service interference control is improved.

Landscapes

  • Engineering & Computer Science (AREA)
  • Signal Processing (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Physics & Mathematics (AREA)
  • Acoustics & Sound (AREA)
  • Multimedia (AREA)
  • Telephone Function (AREA)
  • Noise Elimination (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

本发明提供了一种音频业务的干扰控制方法以及终端,所述方法包括当第一终端执行音频业务时,通过短距离无线通信技术发送第一消息,第二终端根据所述第一消息判断所述第二终端是否支持干扰控制,若所述第二终端支持所述干扰控制,并且所述第二终端位于受控范围内,所述第二终端根据所述干扰控制参数调整自身设置。可见,在第一终端对第二终端进行干扰控制的过程中,无需降噪设备,所述第一终端即可将所述第一消息发送给所述第二终端,以使所述第二终端调整自身设置,实现过程简单,无需复杂的操作,成本低。

Description

一种音频业务的干扰控制方法以及终端 技术领域
本发明涉及通信技术领域,尤其涉及的是一种低成本,且实现简单的音频业务的干扰控制方法以及终端。
背景技术
随着信息技术和网络技术的发展,音频业务日益广泛普及,如手机通话业务、语音短信、音视频会议等。在日常生活中,音频业务执行时通常易受到周边噪声的干扰,如在家庭环境下,当电视机正在播放节目时,若用户接听电话,则其音频业务不可避免地会被电视节目的噪声所干扰。在音频业务应用日益广泛的大背景下,如何降低对其的噪声干扰变得愈发重要。
现有音频干扰控制技术多为终端侧降噪,具体方法通常分两类:1)噪声消除;2)自动调节音量。第一种方法,首先检测噪声,然后生成噪声的反向波,将噪声的反向波与噪声相叠加以达到消除噪声的目的。第二种方法,当终端在执行音频业务时,若检测到周边环境噪声,则终端自动调节自身音量,达到抵抗噪声的目的。
若采用现有技术所示的噪声消除的方法,因需要配置额外的降噪设备,则降低了噪声消除的效率,而且所述降噪设备在检测噪声的过程中无法避免噪声对音频业务的影响,降噪效果差。若选择现有技术所示的自动调节调节音量的方法时,需要频繁的提高终端的音量,从而降低了终端的使用寿命,而且提升终端音量的过程中,需要耗费终端的电能,从而造成了终端电能的浪费,进而降低了终端的待机时长。
发明内容
本发明提供了一种无需增加额外的降噪设备,且低成本,用户体验效果好的音频业务的干扰控制方法以及终端。
本发明实施例第一方面提供了一种音频业务的干扰控制方法,所述的方法包括:
当第一终端执行音频业务时,所述第一终端通过短距离无线通信技术向第二终端发送第一消息;
所述短距离无线通信技术为蓝牙技术、Wi-Fi(英文全称,Wireless Fidelity:中文全称,无线高保真)技术、红外IR技术、或超宽带技术。
其中,所述第一消息中携带干扰控制参数,所述干扰控制参数用于指示所述第二终端所执行的动作;
所述第二终端接收所述第一消息;
所述第二终端根据所述第一消息确定所述第二终端支持干扰控制:
所述第二终端根据所述第一消息确定所述第二终端支持干扰控制需要满足两个条件:
1)、所述第二终端接收所述第一终端通过其协议层面发送的所述第一消息,所述第二终端能够对所述第一消息进行正确的解析;
2)、所述第二终端确定所述第二终端能够执行的设置是否与已解析出来的所述干扰控制参数相匹配,若匹配,则所述第二终端确定所述第二终端能够支持干扰控制,若不匹配,则所述第二终端确定所述第二终端不能够支持干扰控制。
当所述第二终端根据所述干扰控制参数确定支持干扰控制,并且所述第二终端位于受控范围内时,所述第二终端根据所述干扰控制参数调整自身设置,使得已调整自身设置的所述第二终端降低或避免对所述第一终端的噪声干扰。
本实现方式中,在对第二终端进行干扰控制的过程中,所述第一终端可通过短距离无线通信技术将所述第一消息发送给所述第二终端,从而使得在所述第二终端支持所述干扰控制,并且所述第二终端位于受控范围内时,所述第二终端即可根据所述干扰控制参数调整自身设置,有效的降低了所述第二终端对所述第一终端的噪声干扰,且实现过程中,无需频繁的调节所述第二终端的音量,从而有效的节省了第二终端的电能,而且实现过程简单,降噪效果好。
结合本发明实施例第一方面,本发明实施例第一方面的第一种实现方式中,所述第一消息还携带有干扰控制距离门限参数和信号参数;
所述第二终端根据所述信号参数确定所述第二终端与所述第一终端之间的距离;
若所述第二终端与所述第一终端之间的距离小于所述干扰控制距离门限参数,则所述第二终端确定所述第二终端位于所述受控范围内。
若所述第二终端与所述第一终端之间的距离大于或等于所述干扰控制距离门限参数,则所述第二终端确定所述第二终端不位于所述受控范围内;
所述第二终端计算所述第二终端与所述第一终端之间的距离为:
所述第二终端根据所述信号参数确定所述第一终端发送所述第一消息的发送时间为t1;
所述第二终端根据所述信号参数确定所述第二终端接收到所述第一消息的信号接收时间t2;
则所述第一终端与所述第二终端之间的距离D=(t2-t1)*C。
其中,C为电磁波的传播速度,C=3×108m/s。
本实现方式中,所述第二终端能够根据所述第二终端与所述第一终端之间的距离确定所述第二终端是否位于受控范围内,只有在所述第二终端位于受控范围内时,所述第一终端才会对所述第二终端进行干扰控制,避免对不会对所述第一终端造成噪声干扰的终端进行控制的情况,有效的保障了不会对所述第一终端造成噪声干扰的终端的正常工作。
结合本发明实施例第一方面,本发明实施例第一方面的第二种实现方式中,所述第一终端根据所述信号参数确定所述第一终端和所述第二终端之间的距离;
所述第一终端根据所述第一终端与所述第二终端之间的距离确定所述第二终端是否位于受控范围内。
若所述第二终端与所述第一终端之间的距离小于所述干扰控制距离门限参数,则所述第一终端确定所述第二终端位于所述受控范围内。
若所述第二终端与所述第一终端之间的距离大于或等于所述干扰控制距离门限参数,则所述第一终端确定所述第二终端不位于所述受控范围内。
若所述第一终端根据所述信号参数和干扰控制距离门限参数确定所述第二终端位于受控范围内,则所述第一终端生成所述第一消息。
本实现方式中,所述第一终端能够根据所述第二终端与所述第一终端之间的距离确定所述第二终端是否位于受控范围内,只有在所述第二终端位于受控范围内时,所述第一终端才会对所述第二终端进行干扰控制,避免对不会对所述第一终端造成噪声干扰的终端进行控制的情况,有效的保障了不会对所述第 一终端造成噪声干扰的终端的正常工作。
结合本发明实施例第一方面,本发明实施例第一方面的第三种实现方式中,若所述第二终端支持所述干扰控制,并且所述第二终端位于所述受控范围内,且在所述第二终端正在产生声音的情况下,所述第二终端根据所述干扰控制参数调整自身设置。
结合本发明实施例第一方面,本发明实施例第一方面的第四种实现方式中,所述第一消息中还携带干扰控制持续时间参数;
所述第二终端启动计时器,并将所述计时器的计时时间设定成与所述干扰控制持续时间参数相等;
若所述第二终端在没有接收到所述第一终端发送的干扰控制结束命令情况下,且在所述计时器的计时时间内,若所述第二终端需要进行产生声音的工作,则所述第二终端根据所述干扰控制参数调整自身设置;
若所述计时器超时,则所述第二终端恢复自身原先的设置。
本实现方式中,所述第二终端能够根据干扰控制持续时间参数调整自身设置,使得当所述第一终端工作完成,所述第二终端能够立即恢复设置,从而使得在所述第二终端不会对所述第一终端造成噪声干扰时,能够保障所述第二终端立即恢复正常工作,避免对所述第二终端进行不必要的干扰控制。
结合本发明实施例第一方面至本发明实施例第一方面的第四种实现方式任一所述的方法,本发明实施例第一方面的第五种实现方式中,所述方法还包括:
所述第一终端通过自带的惯性传感器检测所述第一终端自身的位移;
其中,所述惯性传感器为:加速度计、陀螺仪或磁力计。
当所述位移超出预设的阈值时,所述第一终端通过所述短距离无线通信技术发送第二消息;
其中,所述第二消息携带干扰控制距离门限参数和信号参数;
所述第二终端接收所述第二消息,当所述第二终端根据所述第二消息携带的干扰控制距离门限参数和信号参数确定所述第二终端超出所述受控范围内时,则所述第二终端恢复自身原先的设置。
本实现方式中,所述第一终端能够在执行音频业务的过程中,检测自身的 位移,从而在所述位移超出预设的阈值时,所述第一终端将所述第二消息发送给所述第二终端,以使所述第二终端根据所述干扰控制参数调整自身设置,从而使得本实施例能够根据所述第一终端自身位移的变化及时调节对不同第二终端的音频干扰控制,提升了音频业务干扰控制的准确性。
结合本发明实施例第一方面至本发明实施例第一方面的第五种实现方式任一所述的方法,本发明实施例第一方面的第六种实现方式中,
所述干扰控制参数用于指示所述第二终端所执行的动作包括以下所示一项或多项:
静音、降低音量、暂停播放、切换成耳机模式或关闭。
结合本发明实施例第一方面的第二种实现方式至本发明实施例第一方面的第六种实现方式任一所述的方法,本发明实施例第一方面的第七种实现方式中,所述信号参数为与距离测量相关的参数,所述信号参数包括以下所示一个或多个:
信号接收时间、发送时间,接收信号功率和发送信号功率。
本发明实施例第二方面提供了一种音频业务的干扰控制方法,
所述的方法包括:
终端通过短距离无线通信技术接收正在执行音频业务的另一终端发送的第一消息;
所述短距离无线通信技术为蓝牙技术、Wi-Fi(英文全称,Wireless Fidelity:中文全称,无线高保真)技术、红外IR技术、或超宽带技术。
其中,所述第一消息中携带干扰控制参数,所述干扰控制参数用于指示所述终端所执行的动作;
所述终端根据所述第一消息确定所述终端支持干扰控制:
所述终端根据所述第一消息确定所述终端支持干扰控制需要满足两个条件:
1)、所述终端接收所述另一终端通过其协议层面发送的所述第一消息,所述终端能够对所述第一消息进行正确的解析;
2)、所述终端确定所述终端能够执行的设置是否与已解析出来的所述干扰控制参数相匹配,若匹配,则所述终端确定所述终端能够支持干扰控制,若不 匹配,则所述终端确定所述终端不能够支持干扰控制。
当所述终端根据所述干扰控制参数确定支持干扰控制,并且所述终端位于受控范围内时,所述终端根据所述干扰控制参数调整自身设置,使得已调整自身设置的所述终端降低或避免对另一终端的噪声干扰。
本实现方式中,在对终端进行干扰控制的过程中,另一终端可通过短距离无线通信技术将所述第一消息发送给所述终端,从而使得在所述终端支持所述干扰控制,并且所述终端位于受控范围内时,所述终端即可根据所述干扰控制参数调整自身设置,有效的降低了所述终端对所述另一终端的噪声干扰,且实现过程简单,无需复杂的操作,实现成本低。
结合本发明实施例的第二方面,本发明实施例的第二方面的第一种实现方式中,所述第一消息还携带有干扰控制距离门限参数和信号参数;
所述终端根据所述信号参数确定所述终端与所述另一终端之间的距离;
若所述终端与所述另一终端之间的距离小于所述干扰控制距离门限参数,则所述终端确定所述终端位于所述受控范围内。
若所述终端与所述另一终端之间的距离大于或等于所述干扰控制距离门限参数,则所述终端确定所述终端不位于所述受控范围内;
所述终端计算所述终端与所述另一终端之间的距离为:
所述终端根据所述信号参数确定所述另一终端发送所述第一消息的发送时间为t1;
所述终端根据所述信号参数确定所述终端接收到所述第一消息的信号接收时间t2;
则所述另一终端与所述终端之间的距离D=(t2-t1)*C。
其中,C为电磁波的传播速度,C=3×108m/s。
本实现方式中,所述终端能够根据所述终端与所述另一终端之间的距离确定所述终端是否位于受控范围内,只有在所述终端位于受控范围内时,另一终端才会对所述终端进行干扰控制,避免对不会对所述另一终端造成噪声干扰的终端进行控制的情况,有效的保障了不会对所述另一终端造成噪声干扰的终端的正常工作。
结合本发明实施例的第二方面,本发明实施例的第二方面的第二种实现方 式中,若所述终端支持所述干扰控制,并且所述终端位于所述受控范围内,在所述终端正在产生声音的情况下,所述终端根据所述干扰控制参数调整自身设置。
结合本发明实施例的第二方面,本发明实施例的第二方面的第三种实现方式中,所述第一消息中还携带干扰控制持续时间参数;
所述终端启动计时器,并将所述计时器的计时时间设定成与所述干扰控制持续时间参数相等;
若所述终端在没有接收到所述另一终端发送的干扰控制结束命令情况下,且在所述计时器的计时时间内,若所述终端需要进行产生声音的工作,则所述终端根据所述干扰控制参数调整自身设置;
若所述计时器超时,则所述终端恢复自身原先的设置。
本实现方式中,所述终端能够根据干扰控制持续时间参数调整自身设置,使得当另一终端工作完成,所述终端能够立即恢复设置,从而使得在所述终端不会对另一终端造成噪声干扰时,能够保障所述终端立即恢复正常工作,避免对所述终端进行不必要的干扰控制。
结合本发明实施例的第二方面至第二方面的第三种实现方式任一所述的方法,本发明实施例的第二方面的第四种实现方式中,所述方法还包括:
所述终端接收第二消息,所述第二消息携带干扰控制距离门限参数和信号参数;
当所述终端根据所述第二消息携带的干扰控制距离门限参数和信号参数确定所述终端超出所述受控范围内时,则所述终端恢复自身原先的设置。
结合本发明实施例的第二方面至第二方面的第四种实现方式任一所述的方法,本发明实施例的第二方面的第五种实现方式中,所述干扰控制参数用于指示所述终端所执行的动作包括以下所示一项或多项:
静音、降低音量、暂停播放、切换成耳机模式或关闭。
结合本发明实施例的第二方面至第二方面的第四种实现方式任一所述的方法,本发明实施例的第二方面的第五种实现方式中,
结合本发明实施例的第二方面的第一种实现方式至第二方面的第五种实现方式任一所述的方法,本发明实施例的第二方面的第六种实现方式中,所述 信号参数为与距离测量相关的参数,所述信号参数包括以下所示一个或多个:
信号接收时间、发送时间,接收信号功率和发送信号功率。
本发明实施例第三方面提供了一种终端,所述终端包括天线、处理器、输入单元、输出单元、存储单元以及电源等部件;
这些部件通过一条或多条总线进行通信;
所述输入单元用于实现用户与终端的交互和/或信息输入到终端中;
所述输入单元可以是触控面板,也可以是其他人机交互界面,例如实体输入键、麦克风等,还可是其他外部信息撷取装置,例如摄像头等;
所述处理器为终端的控制中心,利用各种接口和线路连接整个终端的各个部分,通过运行或执行存储在存储单元内的软件程序和/或模块,以及调用存储在存储单元内的数据,以执行终端的各种功能和/或处理数据。所述处理器可以由集成电路(Integrated Circuit,简称IC)组成,例如可以由单颗封装的IC所组成,也可以由连接多颗相同功能或不同功能的封装IC而组成;
所述天线用于建立通信信道;
所述输出单元可选的用于影像和/或输出声音;
所述存储单元可用于存储软件程序以及模块,处理器通过运行存储在存储单元的软件程序以及模块,从而执行终端的各种功能应用以及实现数据处理;
所述存储单元主要包括程序存储区和数据存储区;
所述电源用于给终端的不同部件进行供电以维持其运行。
具体的,所述天线,用于接收第一消息,其中,所述第一消息中携带干扰控制参数,所述干扰控制参数用于指示所述终端所执行的动作;
其中,所述天线基于蓝牙技术、Wi-Fi(英文全称,Wireless Fidelity:中文全称,无线高保真)技术、红外IR技术、或超宽带技术接收所述第一消息。
具体的,所述处理器,用于当根据所述干扰控制参数确定支持干扰控制,并且所述终端位于受控范围内时,所述处理器根据所述干扰控制参数调整自身设置,使得已调整自身设置的所述终端降低或避免对发送所述第一消息的终端的噪声干扰;
其中,所述终端根据所述第一消息确定所述终端支持干扰控制需要满足两个条件:
1)、所述终端接收执行音频业务的终端通过其协议层面发送的所述第一消息,所述终端能够对所述第一消息进行正确的解析;
2)、所述终端确定所述终端能够执行的设置是否与已解析出来的所述干扰控制参数相匹配,若匹配,则所述终端确定所述终端能够支持干扰控制,若不匹配,则所述终端确定所述终端不能够支持干扰控制。
当所述终端根据所述干扰控制参数确定支持干扰控制,并且所述终端位于受控范围内时,所述终端根据所述干扰控制参数调整自身设置,使得已调整自身设置的所述终端降低或避免对执行音频业务的终端的噪声干扰。
本实现方式中,在对终端进行干扰控制的过程中,所述终端可通过接收到的所述第一消息进行噪声干扰控制,从而使得在所述终端支持所述干扰控制,并且所述终端位于受控范围内时,所述终端即可根据所述干扰控制参数调整自身设置,有效的降低了所述终端对执行音频业务的终端的噪声干扰,且实现过程中,无需频繁的调节所述终端的音量,从而有效的节省了终端的电能,而且实现过程简单,降噪效果好。
结合本发明实施例的第三方面,本发明实施例第三方面的第一种实现方式中,
所述处理器,还用于当所述终端执行音频业务时,通过所述天线发送第二消息,其中,所述第二消息中携带所述干扰控制参数。
其中,执行音频业务的终端基于蓝牙技术、Wi-Fi(英文全称,Wireless Fidelity:中文全称,无线高保真)技术、红外IR技术、或超宽带技术发送所述第二消息。
结合本发明实施例的第三方面或本发明实施例第三方面的第一种实现方式,本发明实施例第三方面的第二种实现方式中,
所述第一消息还携带有干扰控制距离门限参数和信号参数,所述处理器,还用于根据所述第一消息中携带的所述干扰控制距离门限参数和所述信号参数确定所述第二终端位于所述受控范围内。
所述终端根据所述信号参数确定所述终端与执行音频业务的终端之间的距离;
若所述终端与所述执行音频业务的终端之间的距离小于所述干扰控制距 离门限参数,则所述终端确定所述终端位于所述受控范围内。
若所述终端与所述执行音频业务的终端之间的距离大于或等于所述干扰控制距离门限参数,则所述终端确定所述终端不位于所述受控范围内;
所述终端计算所述终端与所述执行音频业务的终端之间的距离为:
所述终端根据所述信号参数确定所述执行音频业务的终端发送所述第一消息的发送时间为t1;
所述终端根据所述信号参数确定所述终端接收到所述第一消息的信号接收时间t2;
则所述执行音频业务的终端与所述终端之间的距离D=(t2-t1)*C。
其中,C为电磁波的传播速度,C=3×108m/s。
本实现方式中,所述终端能够根据所述终端与所述执行音频业务的终端之间的距离确定所述终端是否位于受控范围内,只有在所述终端位于受控范围内时,所述执行音频业务的终端才会对所述终端进行干扰控制,避免对不会对所述执行音频业务的终端造成噪声干扰的终端进行控制的情况,有效的保障了不会对所述执行音频业务的终端造成噪声干扰的终端的正常工作。
结合本发明实施例第三方面的第一种实现方式,本发明实施例第三方面的第三种实现方式中,
所述天线,还用于接收另一终端发送的信号参数,所述处理器还用于当所述终端执行音频业务时,根据所述信号参数和干扰控制距离门限参数确定所述另一终端位于受控范围内,则生成所述第二消息。
结合本发明实施例的第三方面或本发明实施例第三方面的第一种实现方式,本发明实施例第三方面的第三种实现方式中,
所述处理器,用于当根据所述干扰控制参数确定支持干扰控制,并且所述终端位于受控范围内时,所述处理器根据所述干扰控制参数调整自身设置,具体为:
所述处理器,还用于当所述终端支持所述干扰控制,并且所述终端位于所述受控范围内,在所述终端正在产生声音的情况下,根据所述干扰控制参数调整自身设置。
结合本发明实施例的第三方面或本发明实施例第三方面的第一种实现方 式,本发明实施例第三方面的第四种实现方式中,
所述第一消息中还携带干扰控制持续时间参数;
所述处理器,用于启动计时器,并将所述计时器的计时时间设定成与所述干扰控制持续时间参数相等;
若所述终端在没有接收到所述执行音频业务的终端发送的干扰控制结束命令情况下,且在所述计时器的计时时间内,若所述终端需要进行产生声音的工作,则所述终端根据所述干扰控制参数调整自身设置;
若所述计时器超时,则所述终端恢复自身原先的设置。
本实现方式中,所述终端能够根据干扰控制持续时间参数调整自身设置,使得当所述执行音频业务的终端工作完成,所述终端能够立即恢复设置,从而使得在所述终端不会对所述执行音频业务的终端造成噪声干扰时,能够保障所述终端立即恢复正常工作,避免对所述终端进行不必要的干扰控制。
结合本发明实施例的第三方面至本发明实施例第三方面的第四种实现方式,本发明实施例第三方面的第五种实现方式中,
所述处理器,还用于在所述终端执行音频业务的过程中,所述终端检测自身的位移;
其中,所述处理器通过自带的惯性传感器检测所述第一终端自身的位移;
其中,所述惯性传感器为:加速度计、陀螺仪或磁力计。
当所述位移超出预设的阈值时,通过所述天线发送第三消息,所述第三消息携带干扰控制距离门限参数和信号参数。
结合本发明实施例的第三方面至本发明实施例第三方面的第四种实现方式,本发明实施例第三方面的第六种实现方式中,
所述天线,还用于接收第四消息;
所述处理器,还用于若所述处理器根据所述第四消息携带的干扰控制距离门限参数和信号参数确定所述终端超出所述受控范围内时,所述终端恢复自身原先的设置。
本实现方式中,所述执行音频业务的终端能够在执行音频业务的过程中,检测自身的位移,从而在所述位移超出预设的阈值时,所述执行音频业务的终端将所述第三消息发送给所述终端,以使所述终端根据所述干扰控制参数调整 自身设置,从而使得本实施例能够根据所述执行音频业务的终端自身位移的变化及时调节对不同终端的音频干扰控制,提升了音频业务干扰控制的准确性。
结合本发明实施例的第三方面至本发明实施例第三方面的第六种实现方式,本发明实施例第三方面的第七种实现方式中,
所述干扰控制参数用于指示所述终端所执行的动作包括以下所示一项或多项:
静音、降低音量、暂停播放、切换成耳机模式或关闭。
结合本发明实施例的第三方面至本发明实施例第三方面的第七种实现方式,本发明实施例第三方面的第八种实现方式中,
所述信号参数为与距离测量相关的参数,所述信号参数包括以下所示一个或多个:
信号接收时间、发送时间,接收信号功率和发送信号功率。
本发明提供了一种音频业务的干扰控制方法以及终端,在第一终端对第二终端进行干扰控制的过程中,无需额外降噪设备,所述第一终端可通过短距离无线通信技术将第一消息发送给所述第二终端,从而使得在所述第二终端支持所述干扰控制,并且所述第二终端位于受控范围内时,所述第二终端即可根据所述第一消息携带的干扰控制参数调整自身设置,从而使得已调整自身设置的所述第二终端能够有效的降低或避免对所述第一终端的噪声干扰,且实现过程中,无需频繁的调节所述第二终端的音量,从而有效的节省了第二终端的电能,而且实现过程简单,降噪效果好。
附图说明
图1为本发明实施例所提供的音频业务的干扰控制方法的一种实施例步骤流程图;
图2为本发明实施例所提供的音频业务的干扰控制方法的另一种实施例步骤流程图;
图3为本发明实施例所提供的音频业务的干扰控制方法的一种实施例步骤流程图;
图4为本发明实施例所提供的音频业务的干扰控制方法的另一种实施例 步骤流程图;
图5为本发明实施例所提供的终端的一种实施例结构示意图。
具体实施方式
首先对能够实现本发明实施例所示的干扰控制方法的系统进行说明。
本实施例所示的系统包括第一终端以及第二终端,其中,所述第一终端和所述第二终端之间能够进行信息的交互。
具体的,本实施例中,所述第一终端可通过蓝牙技术、Wi-Fi(英文全称,Wireless Fidelity:中文全称,无线高保真)技术、红外IR技术、超宽带技术与所述第二终端进行信息的交互。
具体的,本实施例所示的第一终端为能够执行音频业务的终端。
其中,所述音频业务可为采集音频和播放音频的相关业务,例如,所述音频业务可为终端通话业务、微信业务、语音短信业务、音视频会议业务等。
本实施例对所述第一终端不做限定,只要所述第一终端能够执行所述音频业务即可,例如,所述第一终端可为智能手机、平板电脑、车载终端等终端设备。
本实施例所示的第二终端为能够对正在执行音频业务的第一终端造成噪声干扰的终端。
本实施例中,对所述第二终端不做限定,只要工作中的所述第二终端能够对正在执行所述音频业务的所述第一终端造成噪声干扰即可,例如,所述第二终端可为电视、洗衣机、吸尘器、智能手机、平板电脑或车载终端等。
可见,所述第一终端与所述第二终端可为相同的终端,也可为不相同的终端,具体在本实施例中不做限定。
以下结合图1所示对本发明实施例所提供的音频业务的干扰控制方法进行具体说明:
步骤101、当第一终端执行音频业务时,所述第一终端通过短距离无线通信技术向第二终端发送第一消息。
其中,所述短距离无线通信技术主要特点是通信距离短,且低成本,低功耗和能够实现对等通信。
具体的,短距离无线通信技术可为蓝牙技术、Wi-Fi(英文全称,Wireless Fidelity:中文全称,无线高保真)技术、红外IR技术、超宽带技术等。
短距离无线通信技术的实现过程请参见现有技术所示,具体在本实施例中不做赘述。
具体的,本实施例中,所述第一终端通过所述短距离无线通信技术广播所述第一消息。
其中,所述第一消息中携带干扰控制参数。
具体的,所述干扰控制参数用于指示所述第二终端所执行的动作。
本实施例对所述干扰控制参数不做限定,只要所述第二终端执行所述第一消息所携带的所述干扰控制参数所指示的动作时,所述第二终端能够降低或避免对所述第一终端的噪声干扰即可。
步骤102、所述第二终端接收所述第一消息。
可选的,所述第二终端可基于蓝牙技术、Wi-Fi(英文全称,Wireless Fidelity:中文全称,无线高保真)技术、红外IR技术、超宽带技术等接收所述第一消息。
步骤103、所述第二终端根据所述第一消息中携带的所述干扰控制参数确定所述第二终端支持干扰控制。
具体的,所述第二终端根据所述第一消息确定所述第二终端支持干扰控制需要满足两个条件:
1)、所述第二终端接收所述第一终端通过其协议层面发送的所述第一消息,所述第二终端能够对所述第一消息进行正确的解析;
2)、所述第二终端确定所述第二终端能够执行的设置是否与已解析出来的所述干扰控制参数相匹配,若匹配,则所述第二终端确定所述第二终端能够支持干扰控制,若不匹配,则所述第二终端确定所述第二终端不能够支持干扰控制。
本实施例对所述干扰控制参数不做限定,只要所述第二终端执行所述干扰控制参数所示的动作时,能够避免或降低所述第二终端对正在执行音频业务的所述第一终端的噪声干扰即可。
具体的,若所述第二终端确定所述第二终端能够执行所述干扰控制参数所示的动作,则所述第二终端确定所述第二终端能够支持干扰控制。
若所述第二终端确定所述第二终端不能够执行所述干扰控制参数所示的动作,则所述第二终端确定所述第二终端不能够支持干扰控制。
具体的,本实施例中的所述干扰控制参数可选的为以下所示的一项或多项:
静音、降低音量、暂停播放、切换成耳机模式、关闭等。
例如,若所述第二终端确定所述第一消息中携带的所述干扰控制参数为暂停播放以及降低音量,若所述第二终端根据自身的设置确定所述第二终端能够执行暂停播放和/或降低音量,则所述第二终端即可确定第二终端支持干扰控制,若所述第二终端根据自身的设置确定所述第二终端不能够执行暂停播放和降低音量,则所述第二终端即可确定第二终端不支持干扰控制,
步骤104、所述第二终端根据所述第一消息确定所述第二终端位于受控范围内。
本实施例对受控范围不做限定,只要所述第二终端位于所述受控范围内时,所述第二终端能够对正在执行音频业务的所述第一终端造成干扰即可。
其中,所述第一消息中还携带有干扰控制距离门限参数和信号参数。
本实施例中,所述干扰控制距离门限参数的具体设置方式不做限定。
可选的,所述干扰控制距离门限参数可为所述第一终端预先存储的。
可选的,所述第一终端可存储有控制距离门限列表,所述控制距离门限列表包括第一终端所执行的不同的音频业务与不同的干扰控制距离门限参数的对应关系。
具体的,所述第一终端即可根据所执行的音频业务的不同将不同的干扰控制距离门限参数发送给所述第二终端;
更具体的,例如,所述控制距离门限列表包括通话语音业务与5m的干扰控制距离门限参数的对应关系,则若所述第一终端执行的是通话语音业务,则所述第一终端即可通过所述第一消息将5m的干扰控制距离门限参数发送给所述第二终端。
还例如,所述控制距离门限列表包括音频播放业务与10m的干扰控制距 离门限参数的对应关系,则若所述第一终端执行的是音频播放业务,则所述第一终端即可通过所述第一消息将10m的干扰控制距离门限参数发送给所述第二终端。
本实施例中,所述第二终端能够根据所述信号参数确定所述第二终端与所述第一终端之间的距离。
若所述第二终端与所述第一终端之间的距离小于所述干扰控制距离门限参数,则所述第二终端确定所述第二终端位于所述受控范围内。
若所述第二终端与所述第一终端之间的距离大于或等于所述干扰控制距离门限参数,则所述第二终端确定所述第二终端不位于所述受控范围内。
以下对所述第二终端具体是如何确定所述第二终端与所述第一终端之间的距离的进行说明:
其中,本实施例所示的所述信号参数为所述第一终端与所述第二终端之间距离测量相关的参数,所述信号参数包括如下一个或多个:
信号接收时间、发送时间,接收信号功率和发送信号功率。
所述第二终端具体如何获取所述信号的参数的为现有技术,具体在本实施例中不做赘述。
所述第二终端计算所述第二终端与所述第一终端之间的距离可为:
所述第二终端根据所述信号参数确定所述第一终端发送所述第一消息的发送时间为t1;
所述第二终端根据所述信号参数确定所述第二终端接收到所述第一消息的信号接收时间t2;
则所述第一终端与所述第二终端之间的距离D=(t2-t1)*C。
其中,C为电磁波的传播速度,通常取C=3×108m/s。
当然,本实施例对所述第二终端具体如何确定所述第一终端与所述第二终端的距离的方式为示例性说明,不做限定,只要所述第二终端能够确定所述第一终端与所述第二终端之间的距离即可。
例如,所述第一终端可将所述第一终端的位置信息发送给所述第二终端;
具体的,所述第一终端能够基于蓝牙技术、Wi-Fi(英文全称,Wireless Fidelity:中文全称,无线高保真)技术、红外IR技术、超宽带技术 等将所述第一终端的位置信息发送给所述第二终端。
所述第二终端能够根据所述第二终端的位置信息和所述第一终端的位置信息确定所述第一终端与所述第二终端之间的距离。
其中,所述位置信息可为绝对地理位置信息(如经纬度信息),或者为相对位置坐标信息。
所述第二终端根据所述第二终端与所述第一终端之间的距离确定所述第二终端是否位于所述受控范围内为示例性说明,不做限定,还例如,所述第一终端还可将所述第一终端的LCI(英文全称,Location Context Identifier:中文全称,位置上下文标识符)发送给所述第二终端,若所述第二终端确定所述第二终端的LCI与所述第一终端的LCI相等,则说明第二终端位于受控范围内。
本实施例中,只有位于受控范围内的所述第二终端才需要继续执行以下步骤,因不位于受控范围内的所述第二终端即便工作也不会对所述第一终端造成噪声干扰。
步骤105、所述第二终端根据所述干扰控制参数调整自身设置。
本实施例中,若要实现所述第二终端根据所述干扰控制参数调整自身设置的目的,则需要同时满足两个条件:
1)、所述第二终端支持所述干扰控制(如步骤103所示);
2)、所述第二终端位于受控范围内(如步骤104所示)。
以下对所述第二终端如何根据所述干扰控制参数调整自身设置进行示例说明,不做限定,只要所述第二终端根据所述干扰控制参数调整自身设置后,能够有效的降低或者避免所述第二终端对所述第一终端的噪声干扰即可。
所述第二终端调整自身设置的第一种方式可为:
若所述第二终端支持所述干扰控制,并且所述第二终端位于所述受控范围内,且在所述第二终端正在产生声音的情况下,所述第二终端即可根据所述干扰控制参数调整自身设置;
具体的,若所述第二终端确定所述第二终端能够执行所述干扰控制参数所示的某一项动作时,所述第二终端可根据该项动作调节自身设置。
例如,若所述第二终端确定所述第二终端能够执行所述干扰控制参数所示的静音动作时,则所述第二终端即可将自身设置调整为静音。
或者,若所述第二终端确定所述第二终端能够执行所述干扰控制参数所示的多项动作时,所述第二终端可根据任一动作调节自身设置。
例如,若所述第二终端确定所述第二终端能够执行所述干扰控制参数所示的静音、降低音量、暂停播放、关闭等动作时,所述第二终端可任选一个动作,例如,选择关闭动作,则所述第二终端即可将自身设置调整为关闭。
或者,若所述第二终端确定所述第二终端能够执行所述干扰控制参数所示的多项动作时,所述第二终端接收用户的选定指令,则所述第二终端可根据用户选定的动作调节自身设置。
例如,若所述第二终端确定所述第二终端能够执行所述干扰控制参数所示的静音、降低音量、暂停播放、关闭等动作时,所述第二终端接收用户的选定指令,用户可通过输入选定指令通知所述第二终端选定降低音量的动作,则所述第二终端即可根据用户输入的用于指示降低音量的指令将自身设置调整为降低音量。
所述第二终端调整自身设置的第二种方式可为:
可选的,在本种调整设置方式中,所述第一消息还携带干扰控制持续时间参数。
本实施例中,若所述第二终端当前未产生声音,则所述第二终端可根据干扰控制持续时间参数和所述干扰控制参数配置自身设置。
例如,所述第二终端确定所述干扰控制持续时间参数,本实施例以所述干扰控制持续时间参数为10分钟为例;
所述第二终端启动计时器,并将所述计时器的计时时间设定成与所述干扰控制持续时间参数相等,本实施例中所述计时器的计时时间10分钟;
若所述第二终端根据所述干扰控制参数确定所调整的自身设置,本实施例以所述第二终端根据所述干扰控制参数确定所调整的设置为降低音量;
若所述第二终端在没有接收到所述第一终端发送的干扰控制结束命令情况下,且在所述计时器的计时时间内,若所述第二终端需要进行产生声音的工作,则所述第二终端将自身的配置设置为降低音量;
在所述第二终端降低音量的过程中,若所述计时器超时,则所述第二终端恢复自身原先的设置。
所述第二终端调整自身设置的第三种方式可为:
可选的,在本种调整设置方式中,所述第一消息还携带干扰控制持续时间参数。
本实施例中,若所述第二终端当前正在产生声音,则所述第二终端可根据干扰控制持续时间参数和所述干扰控制参数配置自身设置。
具体的,所述第二终端能够根据所述干扰控制持续时间参数配置所述第二终端执行所述干扰控制参数所示的动作的持续时间。
例如,所述第二终端确定所述干扰控制持续时间参数,本实施例以所述干扰控制持续时间参数为1分钟为例;
若所述第二终端根据所述干扰控制参数确定所调整的自身设置,本实施例以所述第二终端根据所述干扰控制参数确定所调整的设置为静音;
所述第二终端调整自身设置的静音,并启动计时器,并将所述计时器的计时时间设定成与所述干扰控制持续时间参数相等,本实施例中所述计时器的计时时间1分钟;
在所述第二终端没有接收到所述第一终端发送的干扰控制结束命令情况下,且若所述计时器的计时时间超过1分钟,则所述第二终端恢复自身原先的设置。
超过所述干扰控制持续时间参数的情况下,所述第二终端无需继续进行干扰控制。
所述第二终端调整自身设置的第三种方式中,对所述第一终端具体如何确定所述干扰控制持续时间参数方法的不做限定,例如,所述第一终端在确定执行所述音频业务时,对所执行的音频业务的时间进行估计,或者根据所述第一终端历史上执行该音频业务的时间进行平均以估计本次执行音频业务所需要的时间。
所述第一终端即可根据估计的结果确定所述干扰控制持续时间参数,例如,所述第一终端估计本次执行音频业务所需要的时间为1分钟,则所述第一终端设定所述干扰控制持续时间参数为1分钟。
步骤106、在所述第一终端执行音频业务的过程中,所述第一终端检测自身的位移,当所述位移超出预设的阈值时,所述第一终端将第二消息发送给所 述第二终端。
具体的,所述第一终端通过所述短距离无线通信技术发送所述第二消息。
更具体的,所述第一终端检测自身的位移的方式可为:
所述第一终端通过自带的惯性传感器检测所述第一终端自身的位移。
其中,所述惯性传感器可为:加速度计、陀螺仪、磁力计等。
本实施例对所述第一终端具体如何检测所述第一终端自身的位移的方式不做限定,例如,所述第一终端还根据检测前的所述第一终端的位置与检测后的第一终端的位置的差值确定所述第一终端自身的位移。
其中,所述第二消息携带干扰控制距离门限参数和信号参数,所述干扰控制距离门限参数和信号参数的具体说明请详见上述步骤所示,具体在本步骤中不做赘述。
本实施例对所述预设的阈值的大小不做限定,只要所述第一终端自身的位移超出预设的阈值时,所述第二终端不会再对所述第一终端产生噪声干扰,和/或,出现新的能够通过短距离无线通信技术接收到所述第一终端发送的所述第二消息的第二终端。
步骤107、所述第二终端接收所述第二消息。
步骤108、所述第二终端根据所述第二消息携带的干扰控制距离门限参数和信号参数判断所述第二终端是否位于所述受控范围内,若是,则进行步骤109,若否,则进行步骤113。
本实施例中,所述第二消息的具体说明请详见上述步骤所示的对所述第一消息的说明,具体在本实施例中不做赘述。
本实施例中,所述第二终端根据所述第二消息判断所述第二终端是否位于所述受控范围内的具体过程,请详见步骤104所示的所述第二终端根据所述第一消息判断所述第二终端是否位于受控范围内的过程,具体在本步骤中不做赘述。
步骤109、所述第二终端根据所述干扰控制参数调整自身设置。
在所述第二终端根据所述第二消息确定所述第二终端支持所述干扰控制,并且所述第二终端位于受控范围内时,所述第二终端根据所述干扰控制参数调整自身设置。
其中,所述第二终端根据所述第二消息调整自身设置的具体过程,请详见步骤105所示的所述第二终端根据所述第一消息调整自身设置的具体过程,具体在本步骤中不做赘述。
步骤110、所述第一终端向所述第二终端发送第三消息。
其中,所述第三消息携带有干扰控制结束命令。
在所述第一终端确定结束音频业务时,所述第一终端即可通过短距离无线通信技术向所述第二终端发送所述第三消息。
所述第三消息用于指示所述第二终端恢复自身原先的设置。
步骤111、所述第二终端接收所述第三消息。
步骤112、所述第二终端根据所述第三消息恢复自身原先的设置。
所述第二终端根据已接收到的所述第三消息恢复自身原先的设置。
具体的,所述第二终端可继续播放原音频、开启声音、提高音量或者重新开始工作等,使得所述第二终端能够根据所述第三消息将自身设置恢复成未对所述第二终端进行干扰控制时的设置。
步骤113、所述第二终端确定是否已调整过自身设置,若是,则执行步骤114,若否,则执行步骤115。
步骤114、所述第二终端恢复自身原先的设置。
若所述第二终端确定所述第二终端已调整过自身设置,则所述第二终端即可确定在所述第一终端位移发生改变前,所述第二终端为已对所述第一终端造成噪声干扰的终端,则在所述第二终端在根据所述第二消息判断出所述第二终端不位于所述受控范围内时,此时的所述第二终端已不会对所述第一终端造成噪声干扰,则所述第二终端即可恢复自身原先的设置。
步骤115、所述第二终端保持当前工作状态不变。
若所述第二终端确定所述第二终端未调整过自身设置,则所述第二终端即可确定在所述第一终端位移发生改变后,所述第二终端为新的能够接收到所述第一终端通过短距离无线通信技术发送的所述第二消息的终端,则所述第二终端在根据所述第二消息判断出所述第二终端不位于所述受控范围内时,此时的所述第二终端不会对所述第一终端造成噪声干扰,则所述第二终端可保持当前的工作状态不变。
本实施例中,在对第二终端进行干扰控制的过程中,所述第一终端可通过短距离无线通信技术将所述第一消息发送给所述第二终端,从而使得所述第二终端可根据所述第一消息携带的所述干扰控制参数调整自身设置,有效的降低了所述第二终端对所述第一终端的噪声干扰,且实现过程简单,无需复杂的操作,实现成本低,且实现过程中,无需频繁的调节所述第二终端的音量,从而有效的节省了第二终端的电能,而且降噪效果好。而且本实施例中,所述第一终端能够在执行音频业务的过程中,检测自身的位移,从而在所述位移超出预设的阈值时,所述第一终端将所述第二消息发送给所述第二终端,使得所述第二终端根据所述第二消息判断所述第二终端是否位于所述受控范围内,从而使得本实施例能够根据所述第一终端自身位移的变化及时调整对不同第二终端的音频干扰控制,提升了音频业务干扰控制的准确性。
图2所示的音频业务的干扰控制方法中,所述第一终端不对所述第二终端进行筛选,当所述第一终端执行音频业务时,所述第一终端可广播发送所述第一消息以进行干扰控制,以下结合图3所示说明,若所述第一终端对所述第二终端进行筛选的情况下,是如何实现本发明实施例所提供的所述音频业务的干扰控制方法的。
步骤201、当第一终端执行音频业务时,第一终端发送探测请求帧。
具体的,所述第一终端在执行音频业务时,所述第一终端即可发送所述探测请求帧。
具体的,所述第一终端和所述第二终端可基于蓝牙技术、Wi-Fi(英文全称,Wireless Fidelity:中文全称,无线高保真)技术、红外IR技术、超宽带技术进行信息的交互。
步骤202、第二终端接收所述探测请求帧,且所述第二终端根据所述探测请求帧向所述第一终端反馈探测响应帧。
步骤203、所述第一终端接收所述探测响应帧。
所述第一终端能够根据所述探测响应帧发现所述第二终端。
本实施例通过步骤201至步骤203,使得所述第一终端能够发现第二终端,需明确的是,本实施例用于发现所述第二终端的步骤201至步骤203所示为示例性说明,不做限定。
步骤204、所述第一终端向所述第二终端发送服务发现查询帧。
本实施例中,所述第一终端向已发现的所述第二终端发送服务发现查询帧。
步骤205、所述第二终端接收所述服务发现查询帧,并根据所述服务发现查询帧向所述第一终端反馈服务响应帧。
本实施例中,所述第二终端通过所述服务响应帧指示所述第二终端可支持的功能和服务。
例如,所述第二终端可通过所述服务响应帧指示所述第二终端能够支持静音、降低音量、暂停播放、切换成耳机模式、关闭等功能和服务。
步骤206、所述第一终端接收所述服务响应帧。
所述第一终端能够根据所述服务响应确定所述第二终端可支持的功能和服务。
例如,所述第一终端根据所述服务响应帧确定所述第二终端能够支持静音、降低音量、暂停播放、切换成耳机模式、关闭等功能和服务。
所述第一终端可根据所述第二终端反馈的所述服务响应帧确定满足其干扰控制需求的第二终端。
步骤207、所述第一终端建立与所述第二终端之间的短距离无线通信。
步骤208、所述第一终端向所述第二终端发送测距消息。
本实施例中,所述第一终端通过所述测距消息指示所述第二终端反馈信号参数。
步骤209、所述第二终端根据所述测距消息将信号参数发送给所述第一终端。
其中,本实施例所示的所述信号参数为与距离测量相关的参数,所述信号参数包括如下一个或多个:
信号接收时间、发送时间,接收信号功率和发送信号功率。
步骤210、所述第一终端接收所述信号参数,并根据所述信号参数和干扰控制距离门限参数确定所述第二终端位于受控范围内。
本实施例中所述第一终端如何设置所述干扰控制距离门限参数的具体说明请详见图1所示的步骤104,具体在本实施例中不做赘述。
本实施例中,所述第一终端能够根据所述第一终端与所述第二终端之间的距离确定所述第二终端是否位于受控范围内。
若所述第二终端与所述第一终端之间的距离小于所述干扰控制距离门限参数,则所述第一终端确定所述第二终端位于所述受控范围内。
若所述第二终端与所述第一终端之间的距离大于或等于所述干扰控制距离门限参数,则所述第一终端确定所述第二终端不位于所述受控范围内。
本实施例中,所述干扰控制距离门限参数为预先存储在所述第一终端内的。
其中,所述第一终端具体如何确定所述第一终端与所述第二终端之间的距离的,请详见图1所示的步骤104中,所述第二终端具体如何确定所述第一终端与所述第二终端之间的距离的,具体在本实施例中不再赘述。
当然,本实施例对所述第一终端具体如何确定所述第一终端与所述第二终端的距离的方式为示例性说明,不做限定,只要所述第一终端能够确定所述第一终端与所述第二终端之间的距离即可。
例如,第一终端还可通过所述测距消息请求所述第二终端反馈所述第二终端的位置信息,所述第一终端能够根据所述第二终端的位置信息和所述第一终端的位置信息确定所述第一终端与所述第二终端之间的距离。
其中,所述位置信息可为绝对地理位置信息(如经纬度信息),或者为相对位置坐标信息。
上述所述第一终端根据所述第二终端与所述第一终端之间的距离确定所述第二终端是否位于所述受控范围内为示例性说明,不做限定,还例如,所述第一终端还可通过所述测距消息请求所述第二终端反馈所述第二终端的LCI,若所述第一终端确定所述第二终端的LCI与所述第一终端的LCI相等,则说明第二终端位于受控范围内。
步骤211、若所述第一终端根据所述信号参数和干扰控制距离门限参数确定所述第二终端位于受控范围内,则所述第一终端生成第一消息。
其中,所述第一消息中携带干扰控制参数。
步骤212、所述第一终端向位于受控范围内的所述第二终端发送所述第一消息。
步骤213、所述第二终端接收所述第一消息,根据所述第一消息中携带的所述干扰控制参数确定所述第二终端支持干扰控制。
本步骤中,所述第二终端如何根据所述干扰控制参数判断所述第二终端是否支持干扰控制的具体过程请详见图1所示的步骤103所示,具体在本实施例中不做赘述。
步骤214、所述第二终端根据所述干扰控制参数调整自身设置。
本实施例中的步骤214的具体实现过程,请详见图1所示的步骤105,具体在本实施例中不再赘述。
步骤215、在所述第一终端执行音频业务的过程中,所述第一终端检测自身的位移,当所述位移超出预设的阈值时,所述第一终端确定所述第二终端是否位于受控范围内,若是,则执行步骤216,若否,则执行步骤220。
步骤216、所述第一终端生成第二消息。
具体的,在所述第一终端执行音频业务的过程中,所述第一终端检测自身的位移,当所述位移超出预设的阈值时,发生位移移动后的所述第一终端确定所述第二终端是否位于受控范围内。
更具体的,若移动位移后的所述第一终端确定位于受控范围的第二终端,则所述第一终端向所述第二终端发送携带的干扰控制距离门限参数和信号参数的第二消息,则继续执行步骤217。
其中,位移发生了移动的所述第一终端确定位于受控范围内的所述第二终端的具体过程,请详见上述步骤201至步骤210所示,具体在本步骤中不做赘述。
其中,所述第一终端检测自身位移的具体过程请详见图1所示的步骤106所示,具体在本实施例中不做赘述。
步骤217、所述第一终端向位于受控范围内的所述第二终端发送所述第二消息。
步骤218、所述第二终端接收所述第二消息,根据所述第二消息中携带的所述干扰控制参数判断所述第二终端是否支持干扰控制。
其中,所述第二终端根据所述第二消息确定是否支持干扰控制的具体过程,请详见图2所示的步骤213所示的,所述第二终端如何根据第一消息判断 所述第二终端是否支持干扰控制,具体过程不再赘述。
步骤219、若所述第二终端支持所述干扰控制,并且所述第二终端位于受控范围内,所述第二终端根据所述干扰控制参数调整自身设置。
本步骤所示的所述第二终端根据所述第二消息调整自身设置的过程,请详见图2所示的步骤214所示的所述第二终端如何根据所述第一消息调整自身设置的过程,具体过程不再赘述。
步骤220、所述第一终端向所述第二终端发送第三消息。
本实施例中,所述第一终端向所述第二终端发送所述第三消息的情况有两种:
一种是,经由步骤215,当所述第一终端自身的位移超出预设的阈值,且所述第一终端确定所述第二终端不再位于受控范围内时,所述第一终端向已不再位于受控范围内的第二终端发送第三消息。
具体的,若所述第一终端确定所述第二终端与所述第一终端之间的距离大于或等于所述干扰控制距离门限参数,则所述第一终端确定所述第二终端不位于所述受控范围内,或者,若所述第一终端确定所述第一终端的LCI与所述第二终端的LCI不同,则所述第一终端确定所述第二终端不位于所述受控范围内,则所述第一终端向所述第二终端发送所述第三消息。
另一种是,执行步骤219所示的过程中,所述第二终端根据所述第二消息调整自身设置后,若所述第一终端确定停止执行音频业务时,此时,所述第一终端无需对所述第二终端进行干扰控制,则所述第一终端向所述第二终端发送所述第三消息。
其中,所述第三消息携带有干扰控制结束命令。
在所述第一终端确定结束音频业务时,所述第一终端即可通过短距离无线通信技术向所述第二终端发送所述第三消息。
所述第三消息用于指示所述第二终端恢复自身原先的设置。
步骤221、所述第二终端接收所述第三消息,并根据所述第三消息恢复所述第二终端原先的设置。
所述第二终端根据已接收到的所述第三消息恢复所述第二终端原先的设置。
具体的,所述第二终端可继续播放原音频、开启声音、提高音量或者重新开始工作等。
本实施例中,在对第二终端进行干扰控制的过程中,所述第一终端可通过短距离无线通信技术将所述第一消息发送给位于受控范围内的所述第二终端,从而使得所述第二终端即可根据所述第一消息携带的所述干扰控制参数调整自身设置,有效的降低了所述第二终端对所述第一终端的噪声干扰,且实现过程简单,无需复杂的操作,实现成本低,且实现过程中,无需频繁的调节所述第二终端的音量,从而有效的节省了第二终端的电能,降噪效果好。而且本实施例中,所述第一终端能够在执行音频业务的过程中,检测自身的位移,从而在所述位移超出预设的阈值时,所述第一终端将所述第二消息发送给所述第二终端,以使所述第二终端根据所述干扰控制参数调整自身设置,从而使得本实施例能够根据所述第一终端自身位移的变化及时调节对不同第二终端的音频干扰控制,提升了音频业务干扰控制的准确性。
图1和图2所示的实施例中,所述第一终端通过与所述第二终端之间进行信息交互的方式以发现能够对所述第一终端造成噪声干扰的第二终端,具体请详见图1和图2所示,具体在本实施例中不做赘述。
当然,图1和图2所示的实施例中,所述第一终端发现所述第二终端的方式仅仅为可选的示例,不做限定。
例如,执行音频业务的所述第一终端可检测周围的噪声情况,并确定周围噪声的音量大小;
所述第一终端可预先设置有噪声阈值,若所述第一终端确定已检测到周围噪声的音量大小大于或等于所述噪声阈值,则所述第一终端即可确定周围存在可对自身造成噪声干扰的第二终端,则所述第一终端即可对所述第二终端进行干扰控制,其中,所述第一终端对所述第二终端进行干扰控制的具体方式请见图1至图2所示的实施例,具体在本实施例中不做赘述。
图1至图2所示从交互的角度对本发明实施例所提供的音频业务的干扰控制方法进行了说明,以下结合图3所示从能够对执行音频业务的其他终端造成噪声干扰的终端的角度对本发明实施例所提供的音频业务的干扰控制方法进行详细说明。
步骤301、终端通过短距离无线通信技术接收第一消息。
具体的,所述终端接收正在执行音频业务的另一终端发送的所述第一消息。
本实施例对所述终端不做限定,只要所述终端所产生的声音能够对正在执行音频业务的另一终端造成干扰即可。
例如,所述终端可为电视、洗衣机、吸尘器、智能手机、平板电脑或车载终端等。
其中,短距离无线通信技术的说明请详见图1所述的步骤101,具体在本实施例中不做赘述。
其中,所述第一消息中携带干扰控制参数。
本实施例步骤301中,所述终端接收所述第一消息的具体过程,请详见图1所示的步骤102中,所述第二终端接收所述第一消息的具体过程,具体不再赘述。
步骤302、所述终端根据所述第一消息中携带的所述干扰控制参数确定所述终端支持干扰控制。
本实施例中,所述终端根据所述第一消息判断所述终端是否支持干扰控制的具体过程,请详见图1所示的步骤103中,所述第二终端根据所述第一消息确定所述第二终端支持干扰控制的具体过程,具体在本实施例中不做赘述。
具体的,本实施例中的所述干扰控制参数可选的为以下所示的一项或多项:
静音、降低音量、暂停播放、切换成耳机模式、关闭等。
本实施例对所述干扰控制参数不做限定,只要所述终端执行所述干扰控制参数所示的动作时,能够避免或降低所述终端对正在执行音频业务的另一终端的噪声干扰即可。
具体的,若所述终端确定所述终端能够执行所述干扰控制参数所示的动作,则所述终端确定所述终端能够支持干扰控制。
若所述终端确定所述终端不能够执行所述干扰控制参数所示的动作,则所述终端确定所述终端不能够支持干扰控制。
步骤303、所述终端根据所述第一消息确定所述终端位于受控范围内。
其中,所述终端根据所述第一消息确定所述终端位于受控范围内的具体过程,请详见图1所示的步骤104所示,所述第二终端根据所述第一消息确定所述第二终端位于受控范围内的结构过程,具体在本实施例中不做赘述。
步骤304、所述终端根据所述干扰控制参数调整自身设置。
其中,所述终端根据所述干扰控制参数调整自身设置的具体过程,请详见图1所示的步骤105所示,所述第二终端根据所述干扰控制参数调整自身设置的具体过程,具体在本实施例中不做赘述。
步骤305、所述终端接收第二消息。
具体的,另一终端在执行音频业务的过程中,检测自身的位移,当另一终端的位移超出预设的阈值时,另一终端将所述第二消息发送给所述终端。
本实施例中,另一终端发送所述第二消息的过程请详见图1所示的步骤106中,所述第一终端发送所述第二消息的过程,具体在本实施例中不做赘述。
步骤306、所述终端根据所述第二消息携带的干扰控制距离门限参数和信号参数判断所述终端是否位于所述受控范围内,若是,则进行步骤307,若否,则进行步骤309。
本实施例中,所述终端根据所述第二消息判断所述终端是否位于所述受控范围内的具体过程,请详见图1所示的步骤108所示的所述第二终端根据所述第二消息携带的干扰控制距离门限参数和信号参数判断所述第二终端是否位于所述受控范围内的具体过程,具体在本步骤中不做赘述。
步骤307、若所述终端支持所述干扰控制,并且所述终端位于受控范围内,所述终端根据所述干扰控制参数调整自身设置。
其中,所述终端根据所述第二消息调整自身设置的具体过程,请详见步骤304所示的所述终端根据所述第一消息调整自身设置的具体过程,具体在本步骤中不做赘述。
步骤308、所述终端接收第三消息,并根据所述第三消息恢复自身原先的设置。
其中,所述第三消息携带有干扰控制结束命令。
另一终端确定需要结束音频业务时,即可通过短距离无线通信技术向所述终端发送所述第三消息。
所述第三消息用于指示所述终端恢复自身原先的设置。
所述终端根据已接收到的所述第三消息恢复自身原先的设置。
具体的,所述终端可继续播放原音频、开启声音、提高音量或者重新开始工作等,使得所述终端能够根据所述第三消息将自身设置恢复成未对所述终端进行干扰控制时的设置。
步骤309、所述终端确定是否已调整过自身设置,若是,则执行步骤310,若否,则执行步骤311。
其中,所述终端确定是否已调整过自身设置的具体过程,请详见图1所示的实施例步骤113中,所述第二终端确定是否已调整过自身设置的具体过程,具体在本实施例中不做赘述。
步骤310、所述终端恢复自身原先的设置。
其中,所述终端恢复自身原先的设置的具体过程,请详见图1所示的实施例步骤114中,所述第二终端恢复自身原先的设置的具体过程,具体在本实施例中不做赘述。
步骤311、所述终端保持当前工作状态不变。
其中,所述终端保持当前工作状态不变的具体过程,请详见图1所示的实施例步骤115中,所述第二终端保持当前工作状态不变的具体过程,具体在本实施例中不做赘述。
本实施例中,在对终端进行干扰控制的过程中,正在执行音频业务的另一终端可通过短距离无线通信技术将所述第一消息发送给所述终端,从而使得所述终端即可根据所述第一消息携带的所述干扰控制参数调整自身设置,有效的降低了所述终端对正在执行音频业务的另一终端的噪声干扰,且实现过程简单,无需复杂的操作,实现成本低,且实现过程中,无需频繁的调节所述终端的音量,从而有效的节省了终端的电能,而且降噪效果好。而且本实施例中,正在执行音频业务的另一终端在执行音频业务的过程中自身的位移超出预设的阈值时,将所述第二消息发送给所述终端,使得所述终端根据所述第二消息判断所述终端是否位于所述受控范围内,从而使得本实施例能够根据正在执行音频业务的另一终端自身位移的变化及时调整音频业务的干扰控制,提升了音频业务干扰控制的准确性。
以下结合图4所示说明若由正在执行音频业务的另一终端确定所述终端是否位于受控范围内时,是如何实现本发明实施例所提供的所述音频业务的干扰控制方法的。
步骤401、终端接收探测请求帧。
其中,所述终端接收正在执行音频业务的另一终端发送的所述探测请求帧。
步骤402、所述终端向另一终端发送反馈探测响应帧。
所述终端能够根据所述探测请求帧发现正在执行音频业务的另一终端。
步骤403、所述终端接收另一终端发送的服务发现查询帧。
步骤404、所述终端根据所述服务发现查询帧向另一终端反馈服务响应帧。
本实施例中,所述终端通过所述服务响应帧指示所述终端可支持的功能和服务。
例如,所述终端可通过所述服务响应帧指示所述终端能够支持静音、降低音量、暂停播放、切换成耳机模式、关闭等功能和服务。
步骤405、所述终端接收测距消息。
所述另一终端接收到所述反馈服务响应帧后,另一终端即可将测距消息发送给所述终端。
步骤406、所述终端根据所述测距消息将信号参数发送给另一终端。
其中,本实施例所示的所述信号参数为与距离测量相关的参数,所述信号参数包括如下一个或多个:
信号接收时间、发送时间,接收信号功率和发送信号功率。
正在执行音频业务的另一终端即可根据所述信号参数确定另一终端和所述终端之间的距离。
本实施例中,另一终端根据所述信号参数确定另一终端和所述终端之间的距离的具体过程,请详见图2所示的步骤210中,所述第一终端计算所述第二终端与所述第一终端之间的距离的具体过程,具体在本实施例中不做赘述。
当然,另一终端根据所述终端发送的所述信号参数确定另一终端与所述终端之间的距离为示例说明,不做限定。
例如,另一终端还可通过所述测距消息请求所述终端反馈位置信息。
另一终端可根据所述终端的位置信息和另一终端的位置信息确定所述另一终端与所述终端之间的距离。
其中,所述位置信息可为绝对地理位置信息(如经纬度信息),或者为相对位置坐标信息。
另一终端即可根据另一终端和所述终端之间的距离确定位于受控范围内的所述终端。
步骤407、所述终端接收第一消息。
本实施例中,另一终端通过所述短距离无线通信技术向位于受控范围内所述终端发送所述第一消息。
本实施例对所述受控范围的大小不做限定,只要位于所述受控范围内的所述终端能够对正在进行音频业务的所述另一终端产生噪声干扰即可。
其中,所述另一终端具体如何确定位于受控范围内的所述终端的具体过程,请详见图2所示的步骤210中,所述第一终端如何根据所述第一终端与所述第二终端之间的距离确定位于所述受控范围内的第二终端的具体过程,具体在本实施例中不做赘述。
步骤408、所述终端根据所述第一消息中携带的所述干扰控制参数确定所述终端支持干扰控制。
本步骤中,所述终端如何根据所述干扰控制参数判断所述终端是否支持干扰控制的具体过程请详见图2所示的步骤213所示,所述第二终端根据所述第一消息中携带的所述干扰控制参数确定所述第二终端支持干扰控制的具体过程,具体在本实施例中不做赘述。
步骤409、若所述终端支持所述干扰控制,并且所述终端位于受控范围内,所述终端根据所述干扰控制参数调整自身设置。
本实施例中所述终端根据所述干扰控制参数调整自身设置的具体过程,请详见图2所示的步骤214所示的,所述第二终端根据所述干扰控制参数调整自身设置的具体过程,具体在本实施例中不做赘述。
步骤410、所述终端接收第二消息,根据所述第二消息中携带的所述干扰控制参数判断所述终端是否支持干扰控制。
本实施例中,正在执行音频业务的另一终端发送所述第二消息的具体过程请详见图3所示的步骤215至步骤217中,所述第一终端发送所述第二消息的具体过程,具体在本实施例中不做赘述。
其中,所述终端根据所述第二消息确定是否支持干扰控制的具体过程,请详见图4所示的步骤408所示的所述终端如何根据第一消息判断所述终端是否支持干扰控制,具体过程不再赘述。
步骤411、若所述终端支持所述干扰控制,并且所述终端位于受控范围内,所述终端根据所述干扰控制参数调整自身设置。
本步骤所示的所述终端根据所述第二消息调整自身设置的过程,请详见图4所示的步骤409所示的所述终端如何根据所述第一消息调整自身设置的过程,具体过程不再赘述。
步骤412、所述终端接收第三消息,并根据所述第三消息恢复自身原先的设置。
其中,所述第三消息携带有干扰控制结束命令。
正在执行音频业务的另一终端发送所述第三消息的具体情况请详见图2所示的步骤220所示,所述第一终端向所述第二终端发送所述第三消息的情况,具体在本实施例中不做赘述。
在另一终端确定结束音频业务时,即可通过短距离无线通信技术向所述终端发送所述第三消息。
所述第三消息用于指示所述终端恢复自身原先的设置。
所述终端根据已接收到的所述第三消息恢复自身原先的设置。
具体的,所述终端可继续播放原音频、开启声音、提高音量或者重新开始工作等。
本实施例中,在对终端进行干扰控制的过程中,另一终端可通过短距离无线通信技术将所述第一消息发送给位于受控范围内的所述终端,从而使得所述终端即可根据所述第一消息携带的所述干扰控制参数调整自身设置,有效的降低了所述终端对所述另一终端的噪声干扰,且实现过程简单,无需复杂的操作,实现成本低,且实现过程中,无需频繁的调节所述终端的音量,从而有效的节省了终端的电能,而且降噪效果好。而且本实施例中,另一终端能够在执行音 频业务的过程中,检测自身的位移,从而在所述位移超出预设的阈值时,另一终端将所述第二消息、第三消息发送给所述终端,使得所述终端根据所述第二消息判断所述终端是否位于所述受控范围内,使得所述终端根据所述第三消息恢复自身原先的设置,从而使得本实施例能够根据另一终端自身位移的变化及时调整音频业务的干扰控制,提升了音频业务干扰控制的准确性。
以下结合图5所示的对本发明实施例所提供的终端的结构进行详细说明:
所述终端包括天线501和处理器502。
具体的,所述终端还包括:输入单元503、输出单元504、存储单元505、电源506等部件。
这些部件通过一条或多条总线进行通信。本领域技术人员可以理解,图中示出的终端的结构并不构成对本发明的限定,它既可以是总线形结构,也可以是星型结构,还可以包括比图示更多或更少的部件,或者组合某些部件,或者不同的部件布置。
所述输入单元503用于实现用户与终端的交互和/或信息输入到终端中。
例如,所述输入单元503可以接收用户输入的数字或字符信息,所述输入单元503也可接收用户输入的按压操作等,以使所述输入单元503产生与用户设置或功能控制有关的信号输入。
在本发明具体实施方式中,所述输入单元503可以是触控面板,也可以是其他人机交互界面,例如实体输入键、麦克风等,还可是其他外部信息撷取装置,例如摄像头等。
触控面板,也称为触摸屏或触控屏,比如用户使用手指、触笔等任何适合的物体或附件在触控面板上或接近触控面板的位置的操作动作,并根据预先设定的程式驱动相应的连接装置。
可选的,触控面板可包括触摸检测装置和触摸控制器两个部分。
其中,触摸检测装置检测用户的触摸操作,并将检测到的触摸操作转换为电信号,以及将所述电信号传送给触摸控制器,触摸控制器从触摸检测装置上接收所述电信号,并将它转换成触点坐标,再送给处理器502。
所述触摸控制器还可以接收处理器502发来的命令并执行。
此外,可以采用电阻式、电容式、红外线以及表面声波等多种类型实现触 控面板。
在本发明的其他实施方式中,输入单元503所采用的实体输入键可以包括但不限于物理键盘、功能键(比如音量控制按键、开关按键等)、轨迹球、鼠标、操作杆等中的一种或多种。麦克风形式的输入单元503可以收集用户或环境输入的语音并将其转换成电信号形式的、处理器502可执行的命令。
在本发明的其他一些实施方式中,所述输入单元503还可以是各类传感器件,例如霍尔器件,用于侦测终端的物理量,例如力、力矩、压力、应力、位置、位移、速度、加速度、角度、角速度、转数、转速以及工作状态发生变化的时间等,转变成电量来进行检测和控制。
其他的一些传感器件还可以包括重力感应计、三轴加速计、陀螺仪、电子罗盘、环境光传感器、接近传感器、温度传感器、湿度传感器、压力传感器、心率传感器、指纹识别器等。
处理器502为终端的控制中心,利用各种接口和线路连接整个终端的各个部分,通过运行或执行存储在存储单元内的软件程序和/或模块,以及调用存储在存储单元内的数据,以执行终端的各种功能和/或处理数据。所述处理器502可以由集成电路(Integrated Circuit,简称IC)组成,例如可以由单颗封装的IC所组成,也可以由连接多颗相同功能或不同功能的封装IC而组成。
举例来说,处理器502可以仅包括中央处理器(Central Processing Unit,简称CPU),也可以是GPU、数字信号处理器(Digital Signal Processor,简称DSP)、及通信单元中的控制芯片(例如基带芯片)的组合。
在本发明实施方式中,CPU可以是单运算核心,也可以包括多运算核心。
所述天线501用于建立通信信道。
输出单元504可选的用于影像和/或输出声音。
若所述输出单元504可输出影像,则所输出的影像可为文字、图片和/或视频。
所述输出单元504可包括显示面板,例如采用LCD(Liquid Crystal Display,液晶显示器)、OLED(Organic Light-Emitting Diode,有机发光二极管)、场发射显示器(field emission display,简称FED)等形式来配置的显示面板。
或者所述输出单元504可以包括反射式显示器,例如电泳式(electrophoretic) 显示器,或利用光干涉调变技术(Interferometric Modulation of Light)的显示器。
所述输出单元504可以包括单个显示器或不同尺寸的多个显示器。
在本发明的具体实施方式中,上述输入单元503所采用的触控面板亦可同时作为输出单元的显示面板。
例如,当触控面板检测到在其上的触摸或接近的手势操作后,传送给处理器502以确定触摸事件的类型,随后处理器502根据触摸事件的类型在显示面板上提供相应的视觉输出。
虽然在图5中,输入单元503与输出单元504是作为两个独立的部件来实现终端的输入和输出功能,但是在某些实施例中,可以将触控面板与显示面板集成一体而实现终端的输入和输出功能。
例如,所述输出单元504可以显示各种图形化用户接口(Graphical User Interface,简称GUI)以作为虚拟控制部件,包括但不限于窗口、卷动轴、图标及剪贴簿,以供用户通过触控方式进行操作。
在本发明具体实施方式中,输出单元504包括滤波器及放大器,用来将处理器502所输出的视频滤波及放大。输出单元504还包括数字模拟转换器,用来将处理器502所输出的音频信号从数字格式转换为模拟格式。
存储单元505可用于存储软件程序以及模块,处理器502通过运行存储在存储单元505的软件程序以及模块,从而执行终端的各种功能应用以及实现数据处理。
存储单元505主要包括程序存储区和数据存储区。
其中,程序存储区可存储操作系统、至少一个功能所需的应用程序,比如声音播放程序、图像播放程序等等;数据存储区可存储根据终端的使用所创建的数据(比如音频数据、电话本等)等。
在本发明具体实施方式中,存储单元505可以包括易失性存储器,例如非挥发性动态随机存取内存(Nonvolatile Random Access Memory,简称NVRAM)、相变化随机存取内存(Phase Change RAM,简称PRAM)、磁阻式随机存取内存(Magetoresistive RAM,简称MRAM)等,还可以包括非易失性存储器,例如至少一个磁盘存储器件、电子可擦除可编程只读存储器 (Electrically Erasable Programmable Read-Only Memory,简称EEPROM)、闪存器件,例如反或闪存(NOR flash memory)或是反及闪存(NAND flash memory)。
非易失存储器储存处理器502所执行的操作系统及应用程序。所述处理器502从所述非易失存储器加载运行程序与数据到内存并将数字内容储存于大量储存装置中。所述操作系统包括用于控制和管理常规系统任务,例如内存管理、存储设备控制、电源管理等,以及有助于各种软硬件之间通信的各种部件和/或驱动器。在本发明实施方式中,所述操作系统可以是Google公司的Android系统、Apple公司开发的iOS系统或Microsoft公司开发的Windows操作系统等,或者是Vxworks这类的嵌入式操作系统。
所述应用程序包括安装在终端上的任何应用,包括但不限于浏览器、电子邮件、即时消息服务、文字处理、键盘虚拟、窗口小部件(Widget)、加密、数字版权管理、语音识别、语音复制、定位(例如由全球定位系统提供的功能)、音乐播放等等。
电源506用于给终端的不同部件进行供电以维持其运行。作为一般性理解,所述电源506可以是内置的电池,例如常见的锂离子电池、镍氢电池等,也包括直接向终端供电的外接电源506,例如AC适配器等。
在本发明的一些实施方式中,所述电源506还可以作更为广泛的定义,例如还可以包括电源506管理系统、充电系统、电源506故障检测电路、电源506转换器或逆变器、电源506状态指示器(如发光二极管),以及与终端的电能生成、管理及分布相关联的其他任何部件。
以下对应用本发明实施例所提供的所述终端进行干扰控制时,所述天线501和所述处理器502的具体功能进行说明;
其中,本实施例所示的终端作为能够对其他执行音频业务的终端造成噪声干扰的干扰终端。
所述天线501,用于接收第一消息。
具体的,所述终端通过所述天线501接收正在执行音频业务的另一终端发送的所述第一消息。
其中,所述第一消息中携带干扰控制参数。
所述处理器502,用于当根据所述干扰控制参数确定支持干扰控制,并且所述终端位于受控范围内时,所述处理器根据所述干扰控制参数调整自身设置,使得已调整自身设置的所述终端降低或避免对发送所述第一消息的终端的噪声干扰。
本实施例中,所述处理器502根据所述第一消息判断所述终端是否支持干扰控制的具体过程,请详见图1所示的步骤103中,所述第二终端根据所述第一消息中携带的所述干扰控制参数确定所述第二终端支持干扰控制的具体过程,具体在本实施例中不做赘述。
具体的,本实施例中的所述干扰控制参数可选的为以下所示的一项或多项:
静音、降低音量、暂停播放、切换成耳机模式、关闭等。
本实施例对所述干扰控制参数不做限定,只要所述终端执行所述干扰控制参数所示的动作时,能够避免或降低所述终端对正在执行音频业务的另一终端的噪声干扰即可。
具体的,若所述处理器502确定所述终端能够执行所述干扰控制参数所示的动作,则所述处理器502确定所述终端能够支持干扰控制。
若所述处理器502确定所述终端不能够执行所述干扰控制参数所示的动作,则所述处理器502确定所述终端不能够支持干扰控制。
所述处理器502,还用于若所述终端支持所述干扰控制,并且所述终端位于所述受控范围内,根据所述干扰控制参数调整自身设置。
本实施例中,若要实现所述处理器502根据所述干扰控制参数调整自身设置的目的,则需要同时满足两个条件:
1)、所述终端支持所述干扰控制;
2)、所述终端位于受控范围内。
其中,所述处理器502根据所述干扰控制参数调整自身设置的具体过程,请详见图1所示的步骤105所示的所述第二终端根据所述干扰控制参数调整自身设置的具体过程,具体在本实施例中不做赘述。
本实施例中,在对终端进行干扰控制的过程中,正在执行音频业务的另一终端可通过短距离无线通信技术将所述第一消息发送给所述终端,从而使得在 所述终端支持所述干扰控制,并且所述终端位于受控范围内时,所述终端即可根据所述干扰控制参数调整自身设置,有效的降低了所述终端对正在执行音频业务的另一终端的噪声干扰,且实现过程简单,无需复杂的操作,实现成本低。且实现过程中,无需频繁的调节所述终端的音量,从而有效的节省了终端的电能,而且降噪效果好。
可选的,若由所述处理器502判断所述终端是否位于受控范围内,则所述第一消息中还携带有干扰控制距离门限参数和信号参数,所述处理器502,还用于根据所述第一消息中携带的所述干扰控制距离门限参数和所述信号参数判断所述终端是否位于受控范围内。
所述信号参数为与距离测量相关的参数,所述信号参数包括如下一个或多个:
信号接收时间、发送时间,接收信号功率和发送信号功率。
其中,所述处理器502根据所述第一消息中携带的所述干扰控制距离门限参数和所述信号参数判断所述终端是否位于受控范围内的具体过程,请详见图3步骤303所示,所述终端根据所述第一消息确定所述终端位于受控范围内的具体过程,具体在本实施例中不做赘述。
其中,所述另一终端具体如何确定位于受控范围内的所述终端的具体过程,请详见图2所示的步骤211中,所述第一终端如何根据所述第一终端与所述第二终端之间的距离确定位于所述受控范围内的第二终端的具体过程,具体在本实施例中不做赘述。
所述处理器502,还用于当所述终端支持所述干扰控制,并且所述终端位于所述受控范围内,在所述终端正在产生声音的情况下,根据所述干扰控制参数调整自身设置。
本实施例中,所述处理器502根据所述干扰控制参数调整自身设置的具体过程,请详见图1所示的步骤105中,所述第二终端根据所述干扰控制参数调整自身设置的具体过程,具体在本实施例中不再赘述。
所述第一消息中还携带干扰控制持续时间参数,所述处理器502,还用于当所述终端支持所述干扰控制,并且所述终端位于所述受控范围内,所述终端根据所述干扰控制持续时间参数和所述干扰控制参数配置自身设置。
本实施例中,所述终端根据所述干扰控制持续时间参数调整自身设置的具体过程,请详见图1所示的步骤105中,所述第二终端根据所述调整自身设置的具体过程,具体在本实施例中不再赘述。
所述天线501,还用于接收第四消息;
其中,本实施例所示的所述第四消息的具体说明,请详见图1实施例中所述第二终端接收到的第二消息的说明,具体在本实施例中不再赘述。
即所述处理器502能够根据所述第四消息确定正在执行音频业务的终端的位移发生了移动,且所述位移超出预设的阈值。
所述处理器502,还用于根据所述第四消息携带的干扰控制距离门限参数和信号参数判断所述终端是否位于所述受控范围内;
本实施例中,所述处理器502根据所述第四消息确定所述终端是否位于所述受控范围内的具体过程,请详见图1所示的步骤108中,所述第二终端根据所述第二消息携带的干扰控制距离门限参数和信号参数判断所述第二终端是否位于所述受控范围内的具体过程,在本实施例中不做赘述。
所述处理器502,还用于若所述终端超出所述受控范围,所述终端恢复所述终端原先的设置。
本实施例中,所述处理器502控制所述终端恢复自身原先的设置的具体过程,请详见图2所示的步骤211中,所述第二终端恢复自身原先的设置的具体过程,在本实施例中不做赘述。
可选的,本实施例所示的终端还可为正在执行音频业务的终端,若要实现本实施例所示的正在执行音频业务的终端对其他干扰终端进行干扰控制,则本实施例中,所述天线501,还用于接收另一终端发送的信号参数,所述处理器502还用于当所述终端执行音频业务时,根据所述信号参数和干扰控制距离门限参数确定所述另一终端位于受控范围内,则生成所述第二消息。
具体的,若本实施例所提供的所述终端为执行音频业务的终端,则所述处理器502,还用于当所述终端执行音频业务时,通过所述天线501发送第二消息,其中,所述第二消息中携带所述干扰控制参数。
其中,本实施例所示的所述第二消息的具体说明,请详见图1所示的步骤101中,所述第一终端所发送的所述第一消息的说明,具体在本实施例中不做 赘述。
可选的,所述处理器502,还用于在所述终端执行音频业务的过程中,所述终端检测自身的位移,当所述位移超出预设的阈值时,通过所述天线501发送第三消息,所述第三消息携带干扰控制距离门限参数和信号参数。
本实施例中,所述处理器502通过所述天线501发送第三消息的具体过程,请详见图1所示的步骤106中,在所述第一终端执行音频业务的过程中,所述第一终端检测自身的位移,当所述位移超出预设的阈值时,所述第一终端将第二消息发送给所述第二终端的具体过程,具体在本实施例中不做赘述。
本实施例中,若所述终端为需要进行干扰控制的干扰终端时,则所述处理器502根据所述天线501接收到的第一消息确定所述终端支持干扰控制,且所述终端位于所述受控范围内,根据所述干扰控制参数调整自身设置,且若所述处理器502通过所述天线501接收到第四消息即可确定正在执行音频业务的终端位移的移动超过的预设的阈值,则所述处理器502重新判断所述终端是否位于所述受控范围内。若所述终端为正在执行音频业务的终端,则所述处理器502可通过所述天线501发送能够对干扰终端进行干扰控制的第二消息,且在执行音频业务的过程中,若所述终端位移超出预设的阈值时,所述处理器502还可通过所述天线501发送第三消息。可见,采用本实施例所示的终端,在进行干扰控制的过程中,实现过程简单,无需复杂的操作,实现成本低,提升了音频业务干扰控制的准确性。
所属领域的技术人员可以清楚地了解到,为描述的方便和简洁,上述描述的系统,装置和单元的具体工作过程,可以参考前述方法实施例中的对应过程,在此不再赘述。
以上实施例仅用以说明本发明的技术方案,而非对其限制;尽管参照前述实施例对本发明进行了详细的说明,本领域的普通技术人员应当理解:其依然可以对前述各实施例所记载的技术方案进行修改,或者对其中部分技术特征进行等同替换;而这些修改或者替换,并不使相应技术方案的本质脱离本发明各实施例技术方案的精神和范围。

Claims (25)

  1. 一种音频业务的干扰控制方法,其特征在于,所述的方法包括:
    当第一终端执行音频业务时,所述第一终端通过短距离无线通信技术发送第一消息给第二终端,其中,所述第一消息中携带干扰控制参数,所述干扰控制参数用于指示所述第二终端所执行的动作;
    所述第二终端接收所述第一消息,当所述第二终端根据所述干扰控制参数确定支持干扰控制,并且所述第二终端位于受控范围内时,所述第二终端根据所述干扰控制参数调整自身设置,使得已调整自身设置的所述第二终端降低或避免对所述第一终端的噪声干扰。
  2. 根据权利要求1所述的方法,其特征在于,所述第一消息还携带有干扰控制距离门限参数和信号参数,则所述第二终端位于受控范围内具体为:
    所述第二终端根据所述第一消息中携带的所述干扰控制距离门限参数和所述信号参数确定所述第二终端位于所述受控范围内。
  3. 根据权利要求1所述的方法,其特征在于,所述第一终端通过短距离无线通信技术发送第一消息给第二终端之前,所述方法还包括:
    所述第一终端接收所述第二终端发送的信号参数;
    若所述第一终端根据所述信号参数和干扰控制距离门限参数确定所述第二终端位于受控范围内,则所述第一终端生成所述第一消息。
  4. 根据权利要求1所述的方法,其特征在于,当所述第二终端根据所述干扰控制参数确定支持干扰控制,并且所述第二终端位于受控范围内时,所述第二终端根据所述干扰控制参数调整自身设置,具体为:
    当所述第二终端支持所述干扰控制,并且所述第二终端位于所述受控范围内,在所述第二终端正在产生声音的情况下,所述第二终端根据所述干扰控制参数调整自身设置。
  5. 根据权利要求1所述的方法,其特征在于,所述第一消息中还携带干扰控制持续时间参数,当所述第二终端根据所述干扰控制参数确定支持干扰控制,并且所述第二终端位于受控范围内时,所述第二终端根据所述干扰控制参数调整自身设置,具体为:
    当所述第二终端支持所述干扰控制,并且所述第二终端位于所述受控范围 内,所述第二终端根据所述干扰控制持续时间参数和所述干扰控制参数配置自身设置。
  6. 根据权利要求1-5任一所述的方法,其特征在于,所述方法还包括:
    在所述第一终端执行音频业务的过程中,所述第一终端检测自身的位移,当所述位移超出预设的阈值时,所述第一终端通过所述短距离无线通信技术发送第二消息,所述第二消息携带干扰控制距离门限参数和信号参数;
    所述第二终端接收所述第二消息,当所述第二终端根据所述第二消息携带的干扰控制距离门限参数和信号参数确定所述第二终端超出所述受控范围内时,则所述第二终端恢复自身设置。
  7. 根据权利要求1-6任一所述的方法,其特征在于,所述干扰控制参数用于指示所述第二终端所执行的动作包括以下所示一项或多项:
    静音、降低音量、暂停播放、切换成耳机模式或关闭。
  8. 根据权利要求3-7任一所述的方法,其特征在于,所述信号参数为与距离测量相关的参数,所述信号参数包括以下所示一个或多个:
    信号接收时间、发送时间,接收信号功率和发送信号功率。
  9. 一种音频业务的干扰控制方法,其特征在于,所述的方法包括:
    终端通过短距离无线通信技术接收第一消息,其中,所述第一消息中携带干扰控制参数,所述干扰控制参数用于指示所述终端所执行的动作;
    当所述终端根据所述干扰控制参数确定支持干扰控制,并且所述终端位于受控范围内时,所述终端根据所述干扰控制参数调整自身设置,使得已调整自身设置的所述终端降低或避免对另一终端的噪声干扰。
  10. 根据权利要求9所述的方法,其特征在于,所述第一消息还携带有干扰控制距离门限参数和信号参数,则所述终端位于受控范围内具体为:
    所述终端根据所述第一消息中携带的所述干扰控制距离门限参数和所述信号参数确定所述终端位于所述受控范围内。
  11. 根据权利要求9所述的方法,其特征在于,若所述终端支持所述干扰控制,并且所述终端位于受控范围内,所述终端根据所述干扰控制参数调整自身设置,具体为:
    若所述终端支持所述干扰控制,并且所述终端位于所述受控范围内,在所 述终端正在产生声音的情况下,所述终端根据所述干扰控制参数调整自身设置。
  12. 根据权利要求9所述的方法,其特征在于,所述第一消息中还携带干扰控制持续时间参数,当所述终端根据所述干扰控制参数确定支持干扰控制,并且所述终端位于受控范围内时,所述终端根据所述干扰控制参数调整自身设置,具体为:
    当所述终端支持所述干扰控制,并且所述终端位于所述受控范围内,所述终端根据所述干扰控制持续时间参数和所述干扰控制参数配置自身设置。
  13. 根据权利要求9-12任一所述的方法,其特征在于,所述方法还包括:
    所述终端接收第二消息,所述第二消息携带干扰控制距离门限参数和信号参数;
    当所述终端根据所述第二消息携带的干扰控制距离门限参数和信号参数确定所述终端超出所述受控范围内时,则所述终端恢复自身设置。
  14. 根据权利要求9-13任一所述的方法,其特征在于,所述干扰控制参数用于指示所述终端所执行的动作包括以下所示一项或多项:
    静音、降低音量、暂停播放、切换成耳机模式或关闭。
  15. 根据权利要求10-14任一所述的方法,其特征在于,所述信号参数为与距离测量相关的参数,所述信号参数包括以下所示一个或多个:
    信号接收时间、发送时间,接收信号功率和发送信号功率。
  16. 一种终端,其特征在于,所述终端包括天线和处理器,其中:
    所述天线,用于接收第一消息,其中,所述第一消息中携带干扰控制参数,所述干扰控制参数用于指示所述终端所执行的动作;
    所述处理器,用于当根据所述干扰控制参数确定支持干扰控制,并且所述终端位于受控范围内时,所述处理器根据所述干扰控制参数调整自身设置,使得已调整自身设置的所述终端降低或避免对发送所述第一消息的终端的噪声干扰。
  17. 根据权利要求16所述的终端,其特征在于,所述处理器,还用于当所述终端执行音频业务时,通过所述天线发送第二消息,其中,所述第二消息中携带所述干扰控制参数。
  18. 根据权利要求16或17所述的终端,其特征在于,所述第一消息还携带有干扰控制距离门限参数和信号参数,所述处理器,还用于根据所述第一消息中携带的所述干扰控制距离门限参数和所述信号参数确定所述第二终端位于所述受控范围内。
  19. 根据权利要求17所述的终端,其特征在于,所述天线,还用于接收另一终端发送的信号参数,所述处理器还用于当所述终端执行音频业务时,根据所述信号参数和干扰控制距离门限参数确定所述另一终端位于受控范围内,则生成所述第二消息。
  20. 根据权利要求16或17所述的终端,其特征在于,所述处理器,用于当根据所述干扰控制参数确定支持干扰控制,并且所述终端位于受控范围内时,所述处理器根据所述干扰控制参数调整自身设置,具体为:
    所述处理器,还用于当所述终端支持所述干扰控制,并且所述终端位于所述受控范围内,在所述终端正在产生声音的情况下,根据所述干扰控制参数调整自身设置。
  21. 根据权利要求16或17所述的终端,其特征在于,所述第一消息中还携带干扰控制持续时间参数,所述处理器,用于当根据所述干扰控制参数确定支持干扰控制,并且所述终端位于受控范围内时,所述处理器根据所述干扰控制参数调整自身设置,具体为:
    所述处理器,还用于当所述终端支持所述干扰控制,并且所述终端位于所述受控范围内,所述终端根据所述干扰控制持续时间参数和所述干扰控制参数配置自身设置。
  22. 根据权利要求16-21任一所述的终端,其特征在于,所述处理器,还用于在所述终端执行音频业务的过程中,所述终端检测自身的位移,当所述位移超出预设的阈值时,通过所述天线发送第三消息,所述第三消息携带干扰控制距离门限参数和信号参数。
  23. 根据权利要求16-21任一所述的终端,其特征在于,所述天线,还用于接收第四消息;
    所述处理器,还用于若所述处理器根据所述第四消息携带的干扰控制距离门限参数和信号参数确定所述终端超出所述受控范围内时,所述终端恢复自身 设置。
  24. 根据权利要求16-23任一所述的终端,其特征在于,所述干扰控制参数用于指示所述终端所执行的动作包括以下所示一项或多项:
    静音、降低音量、暂停播放、切换成耳机模式或关闭。
  25. 根据权利要求16-24任一所述的终端,其特征在于,所述信号参数为与距离测量相关的参数,所述信号参数包括以下所示一个或多个:
    信号接收时间、发送时间,接收信号功率和发送信号功率。
PCT/CN2015/100288 2015-12-31 2015-12-31 一种音频业务的干扰控制方法以及终端 WO2017113372A1 (zh)

Priority Applications (5)

Application Number Priority Date Filing Date Title
EP15911997.3A EP3386124B1 (en) 2015-12-31 2015-12-31 Audio service interference control method and terminal
PCT/CN2015/100288 WO2017113372A1 (zh) 2015-12-31 2015-12-31 一种音频业务的干扰控制方法以及终端
CN201580085540.7A CN108432161B (zh) 2015-12-31 2015-12-31 一种音频业务的干扰控制方法以及终端
US16/067,043 US10262648B2 (en) 2015-12-31 2015-12-31 Method for controlling interference in audio service and terminal
CN201910985000.4A CN110830063B (zh) 2015-12-31 2015-12-31 一种音频业务的干扰控制方法以及终端

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2015/100288 WO2017113372A1 (zh) 2015-12-31 2015-12-31 一种音频业务的干扰控制方法以及终端

Publications (1)

Publication Number Publication Date
WO2017113372A1 true WO2017113372A1 (zh) 2017-07-06

Family

ID=59224278

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2015/100288 WO2017113372A1 (zh) 2015-12-31 2015-12-31 一种音频业务的干扰控制方法以及终端

Country Status (4)

Country Link
US (1) US10262648B2 (zh)
EP (1) EP3386124B1 (zh)
CN (2) CN108432161B (zh)
WO (1) WO2017113372A1 (zh)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10562449B2 (en) * 2017-09-25 2020-02-18 Ford Global Technologies, Llc Accelerometer-based external sound monitoring during low speed maneuvers
CN110062103A (zh) * 2019-03-06 2019-07-26 惠州Tcl移动通信有限公司 接收设备的输出音量控制方法及其移动终端、存储介质
CN110233934B (zh) * 2019-05-31 2021-02-09 北京小米移动软件有限公司 电子设备控制方法、装置及计算机可读存储介质
US11272382B2 (en) * 2020-03-26 2022-03-08 Cypress Semiconductor Corporation Interference reduction for wireless communications devices
CN113689687A (zh) * 2021-08-30 2021-11-23 三星电子(中国)研发中心 基于超宽带的设备控制方法和装置

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20020193125A1 (en) * 2001-06-15 2002-12-19 Bryan Smith Method and apparatus for a user to avoid unintentional calls in a mobile telephone network
CN102111314A (zh) * 2010-12-30 2011-06-29 广州市聚晖电子科技有限公司 一种基于蓝牙传输的智能家居语音控制系统及方法
CN104601838A (zh) * 2014-12-18 2015-05-06 深圳狗尾草智能科技有限公司 一种语音、无线控制智能家用电器操作系统
CN104936094A (zh) * 2015-05-26 2015-09-23 广州番禺巨大汽车音响设备有限公司 一种基于nfc实现音响控制的方法及系统

Family Cites Families (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP5273850B2 (ja) 2008-11-05 2013-08-28 フリースケール セミコンダクター インコーポレイテッド 電子機器、電子機器の制御方法、電子機器の制御プログラム及び電子機器のコントロール装置
US8750850B2 (en) 2010-01-18 2014-06-10 Qualcomm Incorporated Context-aware mobile incorporating presence of other mobiles into context
JP2012080191A (ja) * 2010-09-30 2012-04-19 Panasonic Corp 車載用電子機器とそれを用いた自動車
KR101901202B1 (ko) * 2012-04-28 2018-09-27 삼성전자주식회사 오디오 출력 방법 및 장치
CN103338317B (zh) * 2013-06-24 2016-09-14 广东欧珀移动通信有限公司 根据来电情况控制影音设备的方法及系统
CN105340330B (zh) * 2013-06-28 2019-07-26 Lg电子株式会社 用于在直接通信系统中搜索装置的方法及使用该方法的装置
US9225463B2 (en) * 2014-01-14 2015-12-29 Lg Electronics Inc. Method and apparatus for cancelling interference
CN104869206B (zh) * 2014-02-20 2018-07-13 华为终端(东莞)有限公司 一种通信方法及终端

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20020193125A1 (en) * 2001-06-15 2002-12-19 Bryan Smith Method and apparatus for a user to avoid unintentional calls in a mobile telephone network
CN102111314A (zh) * 2010-12-30 2011-06-29 广州市聚晖电子科技有限公司 一种基于蓝牙传输的智能家居语音控制系统及方法
CN104601838A (zh) * 2014-12-18 2015-05-06 深圳狗尾草智能科技有限公司 一种语音、无线控制智能家用电器操作系统
CN104936094A (zh) * 2015-05-26 2015-09-23 广州番禺巨大汽车音响设备有限公司 一种基于nfc实现音响控制的方法及系统

Also Published As

Publication number Publication date
CN108432161B (zh) 2019-10-25
EP3386124A1 (en) 2018-10-10
CN110830063B (zh) 2021-05-11
CN108432161A (zh) 2018-08-21
US20190019488A1 (en) 2019-01-17
CN110830063A (zh) 2020-02-21
US10262648B2 (en) 2019-04-16
EP3386124B1 (en) 2020-05-13
EP3386124A4 (en) 2018-12-19

Similar Documents

Publication Publication Date Title
WO2019127868A1 (zh) 横竖屏切换方法、装置和终端
WO2018095129A1 (zh) 一种播放直播视频的方法和装置
WO2017113372A1 (zh) 一种音频业务的干扰控制方法以及终端
WO2016150331A1 (zh) 一种运行游戏客户端的方法和装置
US20150026649A1 (en) Method, apparatus and system for controlling computer terminal
CN108055408B (zh) 一种应用程序控制方法及移动终端
WO2017107714A1 (zh) 一种屏幕界面的切换方法、装置和终端
WO2015078145A1 (zh) 放大显示字体的方法和装置
WO2018095130A1 (zh) 一种确定直播时长的方法和系统
CN108024128B (zh) 蓝牙音乐播放的控制方法、装置、终端设备及存储介质
WO2016119580A1 (zh) 一种开启终端的语音输入功能的方法、装置和终端
WO2018049886A1 (zh) 建立热点的方法及终端设备
WO2016045027A1 (zh) 屏幕灵敏度调整方法和移动终端
CN106940997B (zh) 一种向语音识别系统发送语音信号的方法和装置
WO2018209555A1 (zh) 连接蓝牙设备的方法及终端设备
CN111371705B (zh) 一种下载任务执行方法及电子设备
WO2018166204A1 (zh) 一种控制指纹识别模组的方法、移动终端及存储介质
WO2013155918A1 (zh) 计划任务执行方法、装置、计算机可读存储介质、图形用户接口及移动终端
WO2019011335A1 (zh) 一种移动终端及其控制方法和可读存储介质
WO2019015562A1 (zh) 全视觉导航定位方法、智能终端及存储装置
WO2017031647A1 (zh) 一种检测触摸方式的方法及装置
WO2020001190A1 (zh) 应用程序界面显示方法、装置、可读存储介质及移动终端
WO2015078349A1 (zh) 麦克风收音状态的切换方法和装置
KR101876394B1 (ko) 단말기에 미디어 데이터를 재생하는 방법 및 장치
CN111083285A (zh) 一种移动终端通话定位系统和方法

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 15911997

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

WWE Wipo information: entry into national phase

Ref document number: 2015911997

Country of ref document: EP

ENP Entry into the national phase

Ref document number: 2015911997

Country of ref document: EP

Effective date: 20180705