Dual-channel pairing method and mobile device

By using sound source localization and beamforming technology, the system automatically pairs dual-channel sound signals, solving the problem of users being unable to identify the channels of smart speakers and improving the stereo sound experience.

CN118945557APending Publication Date: 2024-11-12ACER INC
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202310517029.6
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-05-09
Publication Date
2024-11-12

AI Technical Summary

Technical Problem

Users often cannot determine which output in a smart speaker group is the left or right channel, resulting in an inability to enjoy stereo sound.

Method used

The relative positions between the two sound playback devices and the mobile device are determined by sound source localization technology, the effective range is defined, and the two-channel sound signals are automatically paired based on beamforming technology.

Benefits of technology

Automatic pairing of dual channels enhances the user experience and ensures that users can experience stereo sound.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118945557A_ABST
    Figure CN118945557A_ABST
Patent Text Reader

Abstract

The invention provides a dual-channel pairing method and a mobile device. In the method, an effective range is defined according to a first positional relationship between two sound playing devices and a reference target. A second positional relationship between the mobile device and the effective range is determined. And determining a first corresponding relation between the two sound playing devices and the sound signals of the left sound channel and the right sound channel according to the second position relation. And playing the sound signals of the left sound channel and the right sound channel respectively through the two sound playing devices according to the first corresponding relation. Therefore, the existing problem that the sound channel cannot be confirmed can be solved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to an audio processing technology, and in particular, to a dual-channel pairing method and a mobile device. Background Art

[0002] Smart speakers can be used to wirelessly connect electronic devices and play music. After the mobile device is connected to the smart speaker group, it can output two-channel sound signals to the smart speaker group respectively, allowing users to experience actual stereo sound effects.

[0003] However, users usually do not know which sound signal output by the smart speaker is the left channel or the right channel. Summary of the invention

[0004] The present invention is directed to a dual-channel pairing method and a mobile device, which can solve the above-mentioned problems.

[0005] According to an embodiment of the present invention, a dual-channel pairing method is applicable to two sound playback devices and a mobile device having a speaker and a microphone array. The pairing method includes (but is not limited to) the following steps: defining an effective range according to a first positional relationship between the two sound playback devices and a reference target. The first positional relationship is whether the reference target is located between the two sound playback devices, and the effective range is a range extending from the position between the two sound playback devices toward both sides of the reference target. Determine a second positional relationship between the mobile device and the effective range. The second positional relationship includes whether the mobile device is located within the effective range and whether the mobile device is not located within the effective range. The second positional relationship is determined based on a third positional relationship between the two sound playback devices and the mobile device. The third positional relationship is the relative position between any two of the two sound playback devices and the mobile device, and the third positional relationship is determined based on the power obtained by one of the two sound playback devices and the mobile device receiving a test sound signal played by the other of the two sound playback devices and the mobile device through beamforming technology. Determine a first corresponding relationship between the two sound playback devices and the sound signals of the left channel and the right channel according to the second positional relationship. The first corresponding relationship includes a sound signal corresponding to the left channel of one of the two sound playback devices and a sound signal corresponding to the right channel of the other of the two sound playback devices. A second correspondence between the two sides of the effective range and the left channel and the right channel is defined. The second correspondence includes that one of the two sides of the effective range corresponds to the sound signal of the left channel, and the other of the two sides of the effective range corresponds to the sound signal of the right channel. The sound signals of the left channel and the right channel are played respectively by two sound playing devices according to the first correspondence.

[0006] According to an embodiment of the present invention, the mobile device includes (but is not limited to) a communication transceiver, a memory and a processor. The memory is used to store program codes. The processor is coupled to the communication transceiver and the memory. The processor is configured to execute the program code to: define the effective range according to the first position relationship between the two sound playing devices and the reference target, determine the second position relationship between the mobile device and the effective range, determine the first corresponding relationship between the two sound playing devices and the sound signals of the left channel and the right channel according to the second position relationship, and play the sound signals of the left channel and the right channel respectively through the two sound playing devices according to the first corresponding relationship. The first position relationship is whether the reference target is located between the two sound playing devices, and the effective range is the range extending from the position between the two sound playing devices to both sides of the reference target. The second position relationship includes that the mobile device is located within the effective range, and the mobile device is not located within the effective range. The second position relationship is determined based on the third position relationship between the two sound playing devices and the mobile device. The third positional relationship is the relative position between any two of the two sound playback devices and the mobile device, and the third positional relationship is determined based on the power obtained by one of the two sound playback devices and the mobile device receiving the test sound signal played by the other of the two sound playback devices and the mobile device through the beamforming technology. The first corresponding relationship includes one of the two sound playback devices corresponding to the sound signal of the left channel, and the other of the two sound playback devices corresponding to the sound signal of the right channel. The second corresponding relationship between the two sides of the effective range and the left channel and the right channel has been defined. The second corresponding relationship includes one of the two sides of the effective range corresponding to the sound signal of the left channel, and the other of the two sides of the effective range corresponding to the sound signal of the right channel.

[0007] Based on the above, the dual-channel pairing method and mobile device according to the embodiment of the present invention determine the relative positions between the two sound playback devices and the mobile device through the sound source localization technology, determine whether the mobile device is located within the effective range for forming the dual-channel effect, and pair the dual-channel sound signal and the two sound playback devices accordingly. In this way, the dual-channel can be automatically paired. BRIEF DESCRIPTION OF THE DRAWINGS

[0008] The accompanying drawings are included to provide a further understanding of the present invention and are incorporated in and constitute a part of this specification. The drawings illustrate embodiments of the present invention and together with the description serve to explain the principles of the present invention.

[0009] Figure 1 is a block diagram of components of a system according to an embodiment of the present invention;

[0010] Figure 2 is a flow chart of a distance determination method according to an embodiment of the present invention;

[0011] Figure 3is a schematic diagram of the positional relationship between two sound playback devices according to an embodiment of the present invention;

[0012] Figure 4 is a flow chart of a dual-channel pairing method according to an embodiment of the present invention;

[0013] Figure 5 is a schematic diagram of the positional relationship between two sound playing devices and a mobile device according to an embodiment of the present invention;

[0014] Fig. 6A is a schematic diagram of an effective range according to an embodiment of the present invention;

[0015] Figure 6B is a schematic diagram of an effective range according to another embodiment of the present invention;

[0016] Figure 7 is a flowchart of pairing confirmation and prompting according to an embodiment of the present invention;

[0017] Fig. 8A is a schematic diagram illustrating a device located within an effective range according to an embodiment of the present invention;

[0018] Figure 8B is a schematic diagram illustrating a state that is not within a valid range according to an embodiment of the present invention.

[0019] Description of Figure Numbers

[0020] 1: system;

[0021] 10: mobile device;

[0022] 11, 21, 31: microphone array;

[0023] 12, 22, 32: speakers;

[0024] 13, 23, 33: communication transceiver;

[0025] 14, 24, 34: memory;

[0026] 15, 25, 35: processor;

[0027] 20, 30: sound playing device;

[0028] S210-S230, S410-S440, S710-S730: steps;

[0029] d 12 d 13 d 23 :Relative distance;

[0030] θ 12 ,θ 21 :angle;

[0031] θ1, θ2: relative angles;

[0032] A1, A2: effective range;

[0033] L1, L2: connection;

[0034] AP1, AP2, AP3: apex;

[0035] 40: display;

[0036] P1, P2: position;

[0037] E1, E2: Edge. DETAILED DESCRIPTION

[0038] Reference will now be made in detail to exemplary embodiments of the present invention, examples of which are illustrated in the accompanying drawings. Whenever possible, the same reference numerals are used in the drawings and the description to refer to the same or like parts.

[0039] Figure 1 is a block diagram of components of a system 1 according to an embodiment of the present invention. Figure 1 The system 1 includes (but is not limited to) a mobile device 10 and two sound playing devices 20 and 30 .

[0040] The mobile device 10 may be a smart phone, a tablet computer, a laptop computer, a smart assistant device, a wearable device or other electronic devices.

[0041] The mobile device 10 includes (but is not limited to) a microphone array 11 , a speaker 12 , a communication transceiver 13 , a memory 14 , and a processor 15 .

[0042] The microphone array 11 includes a plurality of microphones. These microphones may be dynamic, condenser, or electret condenser microphones, or may be other electronic components that can receive sound waves (e.g., human voice, ambient sound, machine operation sound, etc.) (i.e., receive or record sound) and convert them into sound signals, an analog-to-digital converter, a filter, and an audio processor. In one embodiment, the microphone array 11 is used to receive / record sound.

[0043] The loudspeaker 12 can be various types of loudspeakers or amplifiers. In one embodiment, the loudspeaker 12 is used to play sound.

[0044] The communication transceiver 13 may support Bluetooth, Wi-Fi or other wireless communication transceiver circuits. The communication transceiver 13 may include a digital to analog converter, an analog to digital converter, an amplifier, a filter and / or a mixer. In one embodiment, the communication transceiver 13 is used to receive signals / data / information from an external device (e.g., a sound playback device 20 / 30).

[0045] The memory 14 may be any type of fixed or removable random access memory (RAM), read only memory (ROM), flash memory, hard disk drive (HDD), solid-state drive (SSD) or similar components. In one embodiment, the memory 14 is used to store program code, software modules, configurations, data (e.g., sound signals, algorithm parameters, etc.) or files, and its embodiments will be described in detail later.

[0046] The processor 15 is coupled to the microphone array 11, the speaker 12, the communication transceiver 13 and the memory 14. The processor 15 can be a central processing unit (CPU), a graphics processing unit (GPU), or other programmable general-purpose or special-purpose microprocessor (Microprocessor), a digital signal processor (Digital Signal Processor, DSP), a programmable controller, a field programmable gate array (Field Programmable Gate Array, FPGA), an application-specific integrated circuit (Application-Specific Integrated Circuit, ASIC), a neural network accelerator or other similar components or a combination of the above components. In one embodiment, the processor 15 is used to execute all or part of the operations of the mobile device 10, and can load and execute various program codes, software modules, files and data stored in the memory 14. In some embodiments, the functions of the processor 15 can be implemented by software or chips.

[0047] The sound playback device 20 may be a wireless speaker, a smart speaker, or a smart assistant device.

[0048] The sound playing device 20 includes (but is not limited to) a microphone array 21 , a speaker 22 , a communication transceiver 23 , a memory 24 and a processor 25 .

[0049] The functions and implementations of the microphone array 21, the speaker 22, the communication transceiver 23, the memory 24 and the processor 25 may refer to the descriptions of the microphone array 11, the speaker 12, the communication transceiver 13, the memory 14 and the processor 15 respectively, and will not be repeated here.

[0050] In one embodiment, the processor 25 is used to execute all or part of the operations of the sound playback device 20, and can load and execute various program codes, software modules, files and data stored in the memory 24. In some embodiments, the functions of the processor 25 can be implemented by software or chips.

[0051] In one embodiment, the processor 25 may integrate functions such as analog-to-digital converters, digital-to-analog converters, amplifiers, filters, or other audio processing components. In some embodiments, the aforementioned functions may be implemented by one or more audio processing components, respectively.

[0052] The sound playback device 30 may be a wireless speaker, a smart speaker, or a smart assistant device.

[0053] The sound playing device 30 includes (but is not limited to) a microphone array 31 , a speaker 32 , a communication transceiver 33 , a memory 34 and a processor 35 .

[0054] The functions and implementations of the microphone array 31 , the speaker 32 , the communication transceiver 33 , the memory 34 and the processor 35 may refer to the descriptions of the microphone array 11 , the speaker 12 , the communication transceiver 13 , the memory 14 and the processor 15 , respectively, and will not be repeated here.

[0055] In one embodiment, the processor 35 is used to execute all or part of the operations of the sound playback device 30, and can load and execute various program codes, software modules, files and data stored in the memory 34. In some embodiments, the functions of the processor 35 can be implemented by software or chips.

[0056] In one embodiment, the processor 35 may integrate functions such as analog-to-digital converters, digital-to-analog converters, amplifiers, filters, or other audio processing components. In some embodiments, the aforementioned functions may be implemented by one or more audio processing components, respectively.

[0057] In one embodiment, the mobile device 10 may be loaded with an application for controlling the sound playback device 20 / 30. The functions of the application are, for example, EQ setting, activation / deactivation, or volume adjustment.

[0058] In one embodiment, the mobile device 10 can transmit the sound signal to the sound playing device 20 / 30 via a wireless network. The processor 25 / 35 of the sound playing device 20 / 30 can convert the digital signal into an analog signal, increase the sound signal to a suitable volume, and finally play the sound signal through the speaker 22 / 32.

[0059] In one embodiment, the received sound signal collected / recorded by the microphone array 21 / 31 may be converted from an analog signal to a digital signal and transmitted to the mobile device 10 via a wireless network.

[0060] Hereinafter, the method described in the embodiment of the present invention will be described with reference to the components and modules in the mobile device 10 and the sound playing devices 20 and 30. The various processes of the method can be adjusted according to the implementation situation and are not limited thereto.

[0061] Figure 2 is a flow chart of a method for determining a spacing according to an embodiment of the present invention. Figure 2 , the processor 15 determines the distance between the two sound playing devices 20 and 30 (step S210). Specifically, the two sound playing devices 20 and 30 can play test sound signals respectively. The test sound signal can be an ultrasonic signal or a high-frequency sound signal with a fixed frequency or a variable frequency. Ultrasonic or high frequency may refer to a frequency above 20 kilohertz (kHz). Alternatively, the test sound signal can be any type of music, speech, ambient sound or white noise. On the other hand, while the sound playing device 20 / 30 is playing the test sound signal through its speaker 22 / 32, the other sound playing device 30 / 20 is recording or receiving sound through the microphone array 31 / 21.

[0062] The processor 15 can obtain the received sound signal from the sound playing device 20 / 30 (i.e., the received sound signal obtained by receiving or recording the test sound signal, respectively) through the communication transceiver 13. The processor 15 can determine the distance between the two sound playing devices 20 and 30 according to the power of the received sound signal. If the signal power is stronger, the distance between the two sound playing devices 20 and 30 is shorter; if the signal power is lower, the distance between the two sound playing devices 20 and 30 is longer. For example, the signal power is inversely proportional to the square of the distance, but it may still be affected by factors such as the environment and the sensitivity of the receiver. The memory 14 can store a plurality of corresponding relationships or formulas between the signal power and the distance in advance for the decision of the distance.

[0063] Figure 3 is a schematic diagram of the positional relationship between two sound playback devices 20 and 30 according to an embodiment of the present invention. Figure 3, this positional relationship is the relative position of the two sound playback devices 20, 30. The relative position can be determined by the relative distance and angle. Assuming that the characteristics of the test sound signal and the speaker 22 / 32 are known, the processor 15 can determine the relative distance d based on the received sound signal. 12 (ie, the distance between the two sound playing devices 20, 30).

[0064] For the relative angle (ie, the angle θ between the sound playback device 20 and the sound playback device 30), 12 or the angle θ of the sound playback device 30 relative to the sound playback device 20 21 ), the microphone array 21 / 31 can form beams in multiple sound receiving directions (or pointing angles). The microphone array 21 / 31 can form beams based on beamforming technology. Beamforming can adjust the parameters of the basic units of the phase array (for example, phase and amplitude) so that signals at certain angles obtain constructive interference, while signals at other angles obtain destructive interference. Therefore, different parameters will form different beam patterns, and the sound receiving directions of their main beams may be different. The processor 15 can predefine or generate multiple sound receiving directions based on user input operations. For example, every 10° between -90° and 90° is used as a sound receiving direction.

[0065] During the process of playing the test sound signal, each time the microphone array 21 / 31 switches to a specific directional angle, the processor 15 measures the signal power obtained by the beam sound reception at the current directional angle through the microphone array 21 / 31. The processor 15 can determine the relative angle based on the signal power obtained by the beam sound reception at those directional angles, and the relative angle is related to the directional angle with a higher signal power. For example, the processor 15 can define a power threshold and determine whether the signal power corresponding to each directional angle is greater than the power threshold. If the signal power corresponding to this directional angle is greater than the signal threshold, the processor 15 can determine that there is a sound source (i.e., another sound playback device 20 / 30) at this directional angle, and use this directional angle as the relative angle relative to the sound playback device 30 / 20. If the signal power corresponding to this directional angle is not greater than the signal threshold, the processor 15 can determine that there is no sound source (i.e., another sound playback device 20 / 30) at this directional angle. For another example, the processor 15 selects one or a specific number of directional angles with the highest signal power as the relative angle. It should be noted that the signal threshold may be determined in advance based on experiments or default information, and may be changed based on actual needs.

[0066] In some embodiments, the processor 15 can improve the accuracy of the prediction of the relative angle through AI-beamforming technology. For example, the machine learning model is trained according to the characteristics and reception strength of the microphone array 31 / 21 and the actual position of the sound source, so that the machine learning model can infer the sound source position corresponding to the data to be evaluated (for example, the reception strength of the microphone array 31 / 21). In this way, interference can be effectively avoided.

[0067] In another embodiment, the processor 15 may estimate the relative angle of the sound playback device 20 / 30 relative to the other sound playback device 30 / 20 based on the angle of arrival (AOA or degree of arrival, DOA) positioning technology. For example, the processor 15 may determine the relative angle based on the time difference between two sound waves of the test sound signal respectively reaching the microphone array 31 / 21 of the other sound playback device 30 / 20 after being reflected by the sound playback device 20 / 30 and the distance between two adjacent microphones of the microphone array 31 / 21.

[0068] The processor 15 determines whether the distance between the two sound playback devices 20 and 30 is less than the length limit (step S220). Specifically, the length limit is one of the limits of the effective range for forming a two-channel effect. The length limit is, for example, 50 centimeters, 1 meter, or 2 meters, and may be changed according to the specifications or capabilities of the speakers 22 and 32 of the two sound playback devices 20 and 30. The effective range will be described in detail in the subsequent embodiments.

[0069] In response to the spacing between the two sound playback devices 20 and 30 being less than the length limit, the processor 15 prompts that the spacing is less than the length limit or prompts that the spacing should be greater than the length limit (step S230). For example, a voice command, music or warning sound is played through the speaker 12 / 22 / 32. For another example, the prompt content is presented through a display (not shown). In response to the spacing between the two sound playback devices 20 and 30 not being less than the length limit, the processor 15 executes subsequent dual-channel pairing steps (for example, enters step S410). That is, the user is guided by the prompt to separate the two sound playback devices 20 and 30 until the spacing between them is greater than the length limit.

[0070] Figure 4 is a flow chart of a dual-channel pairing method according to an embodiment of the present invention. Figure 4, the processor 15 defines the effective range according to the first position relationship between the two sound playing devices 20, 30 and the reference target (step S410). Specifically, the first position relationship is whether the reference target is located between the two sound playing devices 20, 30. The reference target can be a hypothetical user. Generally speaking, when the user's head is located at a specific position relative to the two sound playing devices 20, 30 and listens to the sound signals of the left channel and the right channel, a dual-channel experience can be felt. In one embodiment, the processor 15 can regard the position of the mobile device 10 as the head position of the user.

[0071] Figure 5 is a schematic diagram of the positional relationship between two sound playback devices 20, 30 and a mobile device 10 according to an embodiment of the present invention. Figure 5 , which is the relative position between any two of the two sound playback devices 20, 30 and the mobile device 10. As described above, the relative position can be determined by the relative distance and angle. The processor 15 can determine the relative distance d based on the power of the test sound signal played by the other of the two sound playback devices 20, 30 and the mobile device 10 received by one of the two sound playback devices 20, 30 and the mobile device 10 through the beamforming technology. 13 d 23 (i.e., the distances between the two sound playback devices 20, 30 and the mobile device 10, respectively) and the relative angles θ1, θ2 (i.e., the angles of the two sound playback devices 20, 30 relative to the mobile device 10, respectively). The determination of the relative positions can be based on the above description (e.g., Figure 2 Step S210 and Figure 3 ), which will not be repeated here.

[0072] On the other hand, the effective range is the range extending from the position between the two sound playback devices 20 and 30 toward both sides of the reference target. This position can be the midpoint between the two sound playback devices 20 and 30 or any point on the line connecting the two. The effective range can be regarded as the range within which the user's hearing sense can feel the binaural experience.

[0073] Fig. 6A is a schematic diagram of an effective range A1 according to an embodiment of the present invention. Fig. 6A, in response to the first positional relationship that the reference target is located outside the line L1 between the two sound playback devices 20 and 30, the processor 15 can define the effective range as the effective range A1 of the triangle. The AP1 vertex of the triangle is located at the position P1 (for example, the midpoint) between the two sound playback devices 20 and 30, and the other two vertices AP2 and AP3 of the triangle are located on both sides of the reference target (taking the mobile device 10 as an example) (for example, the two vertices AP2 and AP3 can be reached by extending straight lines from the two sides of the mobile device 10 to the left and right directions). In an application scenario, the display 40 is located on the line L1. That is, the two sound playback devices 20 and 30 are located on both sides of the display 40. The user's head is usually far away from the line L1. At this time, extending from the position P1 to both sides of the user's head can form the effective range A1.

[0074] Figure 6B is a schematic diagram of an effective range A2 according to another embodiment of the present invention. Figure 6B , in response to the first positional relationship that the reference target is located on the line L2 between the two sound playback devices 20 and 30, the processor 15 can define the effective range as a rectangular effective range A2. The center point of this rectangle is located at the position P2 between the two sound playback devices 20 and 30, and the opposite sides E1 and E2 of this rectangle are located on both sides of the reference target (taking the mobile device 10 as an example). In an application scenario, the user's head is located on the line L2. That is, the two sound playback devices 20 and 30 are located on both sides of the user's head. The display 40 may be far away from the line L2. At this time, extending from the position P2 to both sides of the user's head, an effective range A2 can be formed. That is, the range just located between the two sound playback devices 20 and 30.

[0075] In other embodiments, the shape, size and / or location of the effective range may also vary.

[0076] Please refer to Figure 4 , the processor 15 determines a second positional relationship between the mobile device 10 and the effective range (step S420). Specifically, the second positional relationship may be that the mobile device 10 is within the effective range, and that the mobile device 10 is not within the effective range. The second positional relationship is determined based on a third positional relationship between the two sound playing devices 20, 30 and the mobile device 10, and the third positional relationship is the relative position between any two of the two sound playing devices 20, 30 and the mobile device 10. The processor 15 may determine the third positional relationship based on the power obtained by receiving a test sound signal played by one of the two sound playing devices 20, 30 and the mobile device 10 through beamforming technology. The determination of the third positional relationship may refer to steps S210, Figure 3 and Figure 5Description (e.g., relative distance d 12 d 13 d 23 , angle θ 12 ,θ 21 , and / or relative angles θ1, θ2), which will not be elaborated here.

[0077] Since the effective range is defined based on the relative positions of the two sound playback devices 20 , 30 , whether the mobile device 10 is located within the effective range can be determined based on the third position relationship between the two sound playback devices 20 , 30 and the mobile device 10 .

[0078] Figure 7 is a flowchart of pairing confirmation and prompting according to an embodiment of the present invention. Figure 7 , the processor 15 may determine whether the mobile device 10 is within the effective range (step S710). Fig. 8A This is a schematic diagram illustrating the effective ranges A1 and A2 according to an embodiment of the present invention. Fig. 8A , the processor 15 may integrate the effective ranges A1 and A2 or select one of them as the effective range used for determination. Fig. 8A As shown, the mobile device 10 is located within the effective range A1.

[0079] For example, Figure 8B This is a schematic diagram illustrating an example of a device that is not within the effective range A1 or A2 according to an embodiment of the present invention. Figure 8B , the mobile device 10 is not within the effective ranges A1 and A2.

[0080] Please refer to Figure 7 In response to the mobile device 10 being not within the effective range, the processor 15 may prompt that the mobile device 10 is not within the effective range (step S720). Voice instructions, music or warning sounds are played through the speaker 12 / 22 / 32. For another example, the prompt content is presented through a display (not shown). This voice instruction or prompt content can further guide the user on how to make the mobile device 10 within the effective range. For example, a voice instruction to move the mobile device 10 to the right. Then, continue to confirm the second position relationship. On the other hand, in response to the mobile device 10 being within the effective range, the processor 15 may confirm the pairing (step S730). That is, the user is guided to move the mobile device 10 to the effective range through the prompt.

[0081] Please refer to Figure 4, the processor 15 determines a first correspondence between the two sound playback devices 20, 30 and the sound signals of the left channel and the right channel according to the second positional relationship (step S430). Specifically, the first correspondence includes that one of the two sound playback devices 20, 30 corresponds to the sound signal of the left channel, and the other of the two sound playback devices 20, 30 corresponds to the sound signal of the right channel. The processor 15 has defined a second correspondence between the two sides of the effective range and the left channel and the right channel. The second correspondence includes that one of the two sides of the effective range corresponds to the sound signal of the left channel, and the other of the two sides of the effective range corresponds to the sound signal of the right channel.

[0082] by Fig. 6A For example, the effective range A1 on the right side of the drawing corresponds to the sound signal of the right channel, and the effective range A1 on the left side of the drawing corresponds to the sound signal of the left channel. Assuming the application scenario is that the user faces the middle of the sound playback devices 20 and 30 (such as the location of the display 40). Therefore, in response to the second position that the mobile device 10 is located within the effective range, the processor 15 can determine that the first corresponding relationship is that the sound playback device 20 adjacent to the vertex AP2 corresponds to the sound signal of the left channel, and the sound playback device 30 adjacent to the vertex AP3 corresponds to the sound signal of the right channel.

[0083] by Figure 6B For example, the side E1 of the effective range A2 corresponds to the sound signal of the right channel, and the side E2 of the effective range A2 corresponds to the sound signal of the left channel. Assuming the application scenario is that the user's head is facing downward in the figure. Therefore, in response to the second position that the mobile device 10 is located within the effective range, the processor 15 can determine the first corresponding relationship as the sound playback device 20 adjacent to the side E1 corresponds to the sound signal of the right channel, and the sound playback device 20 adjacent to the side E2 corresponds to the sound signal of the left channel.

[0084] Assuming another application scenario, the user's head is facing upward in the figure. Therefore, in response to the second position that the mobile device 10 is located within the effective range, the processor 15 can determine the first corresponding relationship as the sound playback device 20 adjacent to the edge E1 corresponds to the sound signal of the left channel, and the sound playback device 20 adjacent to the edge E2 corresponds to the sound signal of the right channel.

[0085] Please refer to Figure 4, the processor 15 plays the sound signals of the left channel and the right channel respectively through the two sound playing devices 20 and 30 according to the first corresponding relationship (step S440). Specifically, the processor 15 transmits the sound signals of the left channel and the right channel to the two sound playing devices 20 and 30 respectively through the communication transceiver 13 according to the first corresponding relationship. For example, if the first corresponding relationship is that the sound playing devices 20 and 30 correspond to the left channel and the right channel respectively, the sound signal of the left channel is transmitted to the sound playing device 20, and the sound signal of the right channel is transmitted to the sound playing device 30. For another example, if the first corresponding relationship is that the sound playing devices 20 and 30 correspond to the right channel and the left channel respectively, the sound signal of the right channel is transmitted to the sound playing device 20, and the sound signal of the left channel is transmitted to the sound playing device 30. That is to say, after confirming that the mobile device 10 is within the effective range, the sound signals of the corresponding channels can be transmitted through the sound playing devices 20 and 30, and the dual-channel pairing is completed accordingly. When the user's head is located at the position of the mobile device 10 (within the effective range), the left channel and the right channel can be identified.

[0086] In summary, in the dual-channel pairing method and mobile device of the embodiment of the present invention, the sound source position (for example, the relative position of two sound playback devices and the mobile device) is determined based on beamforming, and whether the mobile device is located within the effective range is determined, and the dual-channel sound signals are paired accordingly. In this way, the convenience of pairing can be improved, and the existing problem of being unable to confirm the channels can be solved.

[0087] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention, rather than to limit it. Although the present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or replace some or all of the technical features therein with equivalents. However, these modifications or replacements do not cause the essence of the corresponding technical solutions to deviate from the scope of the technical solutions of the embodiments of the present invention.

Claims

1. A dual-channel pairing method, applicable to a dual-sound playback device and a mobile device having a speaker and a microphone array, characterized in that: The pairing method comprises: defining an effective range according to a first positional relationship between the two sound playback devices and a reference target, wherein the first positional relationship is whether the reference target is located between the two sound playback devices, and the effective range is a range extending from a position between the two sound playback devices toward two sides of the reference target; Determining a second positional relationship between the mobile device and the effective range, wherein the second positional relationship includes that the mobile device is located within the effective range and that the mobile device is not located within the effective range, and the second positional relationship is determined based on a third positional relationship between the two sound playback devices and the mobile device, the third positional relationship being a relative position between any two of the two sound playback devices and the mobile device, and the third positional relationship is determined based on power obtained by one of the two sound playback devices and the mobile device receiving a test sound signal played by the other of the two sound playback devices and the mobile device through a beamforming technology; Determining a first correspondence between the two sound playback devices and the sound signals of the left channel and the right channel according to the second positional relationship, wherein the first correspondence includes that one of the two sound playback devices corresponds to the sound signal of the left channel, and the other of the two sound playback devices corresponds to the sound signal of the right channel, and a second correspondence between the two sides of the effective range and the left channel and the right channel is defined, and the second correspondence includes that one of the two sides of the effective range corresponds to the sound signal of the left channel, and the other of the two sides of the effective range corresponds to the sound signal of the right channel; and The sound signals of the left channel and the right channel are played respectively by the two sound playing devices according to the first corresponding relationship.

2. The dual-channel pairing method according to claim 1, wherein the step of defining the effective range according to the first positional relationship between the two sound playback devices and the reference target comprises: In response to the first positional relationship that the reference target is located outside the line between the two sound playback devices, the effective range is defined as a triangle, wherein the vertex of the triangle is located at the position between the two sound playback devices, and the other two vertices of the triangle are located on both sides of the reference target.

3. The dual-channel pairing method according to claim 1, wherein the step of defining the effective range according to the first positional relationship between the two sound playback devices and the reference target comprises: In response to the first positional relationship being that the reference target is located on a line between the two sound playback devices, the effective range is defined as a rectangle, wherein a center point of the rectangle is located at the position between the two sound playback devices, and two opposite sides of the rectangle are located at two sides of the reference target.

4. The dual-channel pairing method according to claim 1, further comprising: Determining whether the distance between the two sound playback devices is less than the length limit of the effective range; as well as It is indicated that the distance between the two sound playing devices is smaller than the length limit. The two-channel pairing method according to claim 1 , wherein the test sound signal is an ultrasonic signal.

6. A mobile device, characterized in that: include: Communications transceiver; A memory for storing program codes; as well as A processor is coupled to the communication transceiver and the memory and is configured to execute the program code to: defining an effective range according to a first positional relationship between the two sound playback devices and a reference target, wherein the first positional relationship is whether the reference target is located between the two sound playback devices, and the effective range is a range extending from the position between the two sound playback devices toward both sides of the reference target; Determining a second positional relationship between the mobile device and the effective range, wherein the second positional relationship includes that the mobile device is located within the effective range and that the mobile device is not located within the effective range, and the second positional relationship is determined based on a third positional relationship between the two sound playback devices and the mobile device, the third positional relationship being a relative position between any two of the two sound playback devices and the mobile device, and the third positional relationship is determined based on power obtained by one of the two sound playback devices and the mobile device receiving a test sound signal played by the other of the two sound playback devices and the mobile device through a beamforming technology; Determining a first correspondence between the two sound playback devices and the sound signals of the left channel and the right channel according to the second positional relationship, wherein the first correspondence includes that one of the two sound playback devices corresponds to the sound signal of the left channel, and the other of the two sound playback devices corresponds to the sound signal of the right channel, and a second correspondence between the two sides of the effective range and the left channel and the right channel is defined, and the second correspondence includes that one of the two sides of the effective range corresponds to the sound signal of the left channel, and the other of the two sides of the effective range corresponds to the sound signal of the right channel; as well as The audio signals of the left channel and the right channel are respectively transmitted to the two audio playback devices through the communication transceiver according to the first corresponding relationship.

7. The mobile device of claim 6, wherein the processor is further configured to: In response to the first positional relationship that the reference target is located outside the line between the two sound playback devices, the effective range is defined as a triangle, wherein the vertex of the triangle is located at the position between the two sound playback devices, and the other two vertices of the triangle are located on both sides of the reference target.

8. The mobile device of claim 6, wherein the processor is further configured to: In response to the first positional relationship being that the reference target is located on a line between the two sound playback devices, the effective range is defined as a rectangle, wherein a center point of the rectangle is located at the position between the two sound playback devices, and two opposite sides of the rectangle are located at two sides of the reference target.

9. The mobile device of claim 6, wherein the processor is further configured to: Determining whether the distance between the two sound playback devices is less than the length limit of the effective range; and It is indicated that the distance between the two sound playing devices is smaller than the length limit.

10. The mobile device of claim 6, wherein the test sound signal is an ultrasonic signal.