CN108882112B - Audio playing control method and device, storage medium and terminal equipment - Google Patents

Audio playing control method and device, storage medium and terminal equipment Download PDF

Info

Publication number
CN108882112B
CN108882112B CN201810669660.7A CN201810669660A CN108882112B CN 108882112 B CN108882112 B CN 108882112B CN 201810669660 A CN201810669660 A CN 201810669660A CN 108882112 B CN108882112 B CN 108882112B
Authority
CN
China
Prior art keywords
user
playing
information
unit
determining
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201810669660.7A
Other languages
Chinese (zh)
Other versions
CN108882112A (en
Inventor
林尚波
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Guangdong Oppo Mobile Telecommunications Corp Ltd
Original Assignee
Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Guangdong Oppo Mobile Telecommunications Corp Ltd filed Critical Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority to CN201810669660.7A priority Critical patent/CN108882112B/en
Publication of CN108882112A publication Critical patent/CN108882112A/en
Application granted granted Critical
Publication of CN108882112B publication Critical patent/CN108882112B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04RLOUDSPEAKERS, MICROPHONES, GRAMOPHONE PICK-UPS OR LIKE ACOUSTIC ELECTROMECHANICAL TRANSDUCERS; DEAF-AID SETS; PUBLIC ADDRESS SYSTEMS
    • H04R3/00Circuits for transducers, loudspeakers or microphones
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04RLOUDSPEAKERS, MICROPHONES, GRAMOPHONE PICK-UPS OR LIKE ACOUSTIC ELECTROMECHANICAL TRANSDUCERS; DEAF-AID SETS; PUBLIC ADDRESS SYSTEMS
    • H04R2420/00Details of connection covered by H04R, not provided for in its groups
    • H04R2420/05Detection of connection of loudspeakers or headphones to amplifiers

Abstract

In the method, user information of a user corresponding to a playing unit of playing equipment is identified; wherein the playback device comprises at least two playback units; determining a used playing unit according to the user information; and respectively controlling the audio data played by each used playing unit according to the user information. By adopting the technical scheme, the audio data played by each playing unit can be determined according to the condition that the playing unit of the playing device is used by the user, so that the audio data played by the playing unit is more in line with the use condition of the user.

Description

Audio playing control method and device, storage medium and terminal equipment
Technical Field
The embodiment of the application relates to the technical field of terminal equipment, in particular to an audio playing control method, an audio playing control device, a storage medium and terminal equipment.
Background
The playing device is a device for playing various audio frequencies, and may be a device for playing music or a device for playing broadcast, and with the development of the playing device technology, the types of the playing device are increasing, including a sound box, an earphone, a playing system, and the like. The playing device generally includes one or more speakers as a playing unit, and if the playing device includes a plurality of speakers, the audio output correspondingly also has corresponding different channel data, so that the sound played by the plurality of speakers is more realistic, but the audio playing mode of the existing playing device is insufficient and needs to be further optimized.
Disclosure of Invention
The audio playing control method, the audio playing control device, the storage medium and the terminal device provided by the embodiment of the application can optimize the existing audio playing mode.
In a first aspect, an embodiment of the present application provides an audio playing control method, including:
identifying user information of a user corresponding to a playing unit of playing equipment; wherein the playback device comprises at least two playback units;
determining a used playing unit according to the user information;
and respectively controlling the audio data played by each used playing unit according to the user information.
In a second aspect, an embodiment of the present application provides an audio playback control apparatus, including:
the information identification module is used for identifying user information of a user corresponding to a playing unit of the playing equipment; wherein the playback device comprises at least two playback units;
a playing unit determining module for determining a used playing unit according to the user information;
and the audio control module is used for respectively controlling the audio data played by each used playing unit according to the user information.
In a third aspect, an embodiment of the present application provides a computer-readable storage medium, on which a computer program is stored, where the computer program, when executed by a processor, implements an audio playing control method according to an embodiment of the present application.
In a fourth aspect, an embodiment of the present application provides a terminal device, including a memory, a processor, and a computer program stored on the memory and executable on the processor, where the processor executes the computer program to implement the audio playback control method according to the embodiment of the present application.
The audio playing control scheme provided by the embodiment of the application identifies the user information of a user corresponding to the playing unit of the playing device; wherein the playback device comprises at least two playback units; determining a used playing unit according to the user information; and respectively controlling the audio data played by each used playing unit according to the user information. By adopting the technical scheme, the audio data played by each playing unit can be determined according to the condition that the playing unit of the playing device is used by the user, so that the audio data played by the playing unit is more in line with the use condition of the user.
Drawings
Fig. 1 is a schematic flowchart of an audio playing control method according to an embodiment of the present application;
fig. 2 is a schematic flowchart of another audio playing control method according to an embodiment of the present application;
fig. 3 is a scene schematic diagram of an audio playing control method according to an embodiment of the present application;
fig. 4 is a schematic flowchart of another audio playing control method according to an embodiment of the present application;
fig. 5 is a schematic view of another audio playback control method according to an embodiment of the present application;
fig. 6 is a schematic view of another audio playback control method according to an embodiment of the present application;
fig. 7 is a schematic flowchart of another audio playing control method according to an embodiment of the present application;
fig. 8 is a schematic flowchart of another audio playing control method according to an embodiment of the present application;
fig. 9 is a schematic view of another audio playback control method according to an embodiment of the present application;
fig. 10 is a block diagram illustrating an audio playback control apparatus according to an embodiment of the present disclosure;
fig. 11 is a schematic structural diagram of a terminal device according to an embodiment of the present application;
fig. 12 is a schematic structural diagram of another terminal device according to an embodiment of the present application.
Detailed Description
The technical scheme of the application is further explained by the specific implementation mode in combination with the attached drawings. It is to be understood that the specific embodiments described herein are merely illustrative of the application and are not limiting of the application. It should be further noted that, for the convenience of description, only some of the structures related to the present application are shown in the drawings, not all of the structures.
Before discussing exemplary embodiments in more detail, it should be noted that some exemplary embodiments are described as processes or methods depicted as flowcharts. Although a flowchart may describe the steps as a sequential process, many of the steps can be performed in parallel, concurrently or simultaneously. In addition, the order of the steps may be rearranged. The process may be terminated when its operations are completed, but may have additional steps not included in the figure. The processes may correspond to methods, functions, procedures, subroutines, and the like.
The playing device includes, for example, an earphone or a playing sound, and when the user uses the playing device, in order to make the user have a better hearing experience, the sounds output by different playing units of the playing device are different. For example, the earphone includes two receivers, which respectively output left channel audio and right channel audio, and the audio heard by the user through the left and right ears is different, so as to obtain a more stereo auditory experience. However, if the user can only listen to the audio by using one receiver, the receiver can only output the left channel audio or the right channel audio, and the audio that the user can listen to is incomplete.
Fig. 1 is a schematic flowchart of an audio playback control method provided in an embodiment of the present application, where the method may be executed by an audio playback control apparatus, where the apparatus may be implemented by software and/or hardware, and may be generally integrated in a terminal device, or may be integrated in other devices installed with an operating system. As shown in fig. 1, the method includes:
s110, identifying user information of a user corresponding to a playing unit of the playing equipment; wherein the playback device comprises at least two playback units.
The playing device may be a device having an audio playing function, and may be an earphone device or an audio device. Optionally, when the user uses the playback device, the user information of the user corresponding to the playback unit of the playback device is identified. When the user uses the playing device, the user may start the playing device, or the user may establish a connection between the playing device and the audio source device, and use the playing device.
The playing device can be connected with the sound source device and receive the audio data output by the sound source device for playing. The sound source equipment is equipment which can output audio data and play through playing equipment. The sound source device may be a terminal device, and the terminal device may be a smart phone, a tablet computer, or other electronic devices with corresponding operating systems. The sound source device may also be an audio data storage device, and may be a hard disk, a USB flash disk (USB flash disk), or another storage device with an audio data storage function.
The playing unit is as follows: and the equipment can play the data aiming at the corresponding user or space. For example, if the playback device is an audio system, the playback unit may be a sound box included in the audio system. If the playback device is an earphone, the playback unit may be an earphone head included in the earphone. The playing device comprises at least two playing units, and the playing device can play for at least two users or at least two spaces.
The user information of the user is the use information of the user who is operating the playing unit, and comprises whether the playing unit has a corresponding user and/or the interactive information of the user and the playing unit. The interactive information may include relative positions of the playback unit and the user. For example, infrared data of the surroundings of the playback unit may be detected by an infrared detection device to determine a user corresponding to the playback unit and interactive information between the user and the playback unit. The infrared image information of the user can be determined through the infrared detection device, and the position of the user is determined so as to determine the relative position of the playing unit and the user.
And S111, determining the used playing unit according to the user information.
The used playing unit is a playing unit in a use state, and can be a playing unit used by a user after being started. Exemplarily, if the playback device is an earphone, if a user wears two receivers, both receivers are used as the playback unit; if the user only wears one receiver, one receiver is the used playback unit.
Whether the playing unit is used or not can be determined according to the user information of the user corresponding to the playing unit; if the playing unit has the corresponding user information of the user, the playing unit is indicated to be used by the user, and if the playing unit does not have the corresponding user information of the user, the playing unit is indicated to be not used.
For example, if the playback device is a sound system including a plurality of speakers, and a user activates some of the plurality of speakers, which number of playback units are used can be determined. For example, the used playing unit can be determined by arranging a fingerprint identification module on a start button of the playing unit, and acquiring fingerprint information of a user through the fingerprint identification module when the user touches the start button. Optionally, it may also be determined whether the playing unit is in a use state by determining whether the playing unit is turned on and/or whether the playing unit receives audio data to be played.
And S112, respectively controlling the audio data played by each used playing unit according to the user information.
And determining whether the playing unit has a corresponding user according to the user information of the user. The playing units of a playing device may have some playing units with corresponding users and some playing units without corresponding users.
The audio data played by the playing unit is: audio data obtained from an audio source device. For example, if the playing unit is a receiver of an earphone and the audio data is a music file in a smart phone, there are left channel audio data and right channel audio data corresponding to each receiver. If the playing unit is a plurality of sound boxes in the sound system, the sound system acquires the sound channel audio data aiming at each sound box, so that the plurality of sound boxes can output multi-channel stereo sound, and each sound box outputs corresponding sound channel audio data.
The situation of the used playback unit differs for each playback device, as does the user's need for the audio data output by the used playback unit. For example, if there is only one playback device of the playback device, the user's requirement for the audio data of the used receiver is complete audio data, and if the used receiver only outputs the audio data of the channel that the used receiver originally outputs, the user may not hear the complete audio information, and much audio information is lost. For example, if the playback device is an earphone, when a user only wears one of the receivers to listen to audio, the audio heard by the user is incomplete because the receiver can only output left channel audio or right channel audio. It is necessary to adjust the audio data of the worn receiver so that the user can hear the entire audio information.
The audio data played by each used playing unit is respectively controlled according to the user information, namely the user information corresponding to each used playing unit is determined, and the audio data corresponding to the user information is determined, so that the audio output by the used playing unit of the playing device can better meet the requirements of users.
Alternatively, the audio data played by each used playing unit may be controlled separately according to the number of used playing units. The audio data of the sound channel output by each playing unit can be redetermined according to the playing unit used by the user, so that the used playing unit can output the audio data with complete audio information.
In the audio playing control method provided in the embodiment of the application, user information of a user corresponding to a playing unit of playing equipment is identified; wherein the playback device comprises at least two playback units; determining a used playing unit according to the user information; and respectively controlling the audio data played by each used playing unit according to the user information. By adopting the technical scheme, the audio data played by each playing unit can be determined according to the condition that the playing unit of the playing device is used by a user, so that the audio data played by the playing unit is more in line with the use condition of the user.
Fig. 2 is a schematic flow chart of another audio playing control method provided in an embodiment of the present application, where based on the technical solution provided in the embodiment, an operation of identifying user information of a user corresponding to a playing unit of a playing device is optimized, and optionally, as shown in fig. 2, the method includes:
s120, acquiring corresponding biological characteristic information of a user through a playing unit of playing equipment, and determining user information of the user according to the biological characteristic information; wherein the playback device comprises at least two playback units.
Wherein the biometric information of the user includes physiological characteristic information that is inherent to the body of the user and can be distinguished from other users. Alternatively, the biometric information may be fingerprint information, face information, iris information, and the like of the user. The biometric information may determine information of a unique identity of the user.
The playback device may be integrated with a detection module for acquiring biometric information of a user, so that when the user uses the playback device, the playback device may directly acquire the biometric information of the user using the playback unit and determine the user information of the user according to the biometric information.
Since the biometric information is specific information of the user, if one playback unit has the biometric information of the corresponding user, it can be determined that the playback unit has the corresponding user. And the interactive information of the playing unit and the user can be determined through the biological characteristic information, the position of the user can be determined according to the biological characteristic information, and then the interactive information can be determined according to the position of the user. Illustratively, if the biometric information is face information, the position of the user can be determined by the face information, and then the interaction information between the playing unit and the user can be determined.
Optionally, a detection module for acquiring biometric information of the user is integrated on each playback unit. For example, if the playback device is an earphone, when the user wears the earphone, the biometric information of the user may be collected through a receiver of the earphone, and the user information of the user may be determined according to the biometric information.
The biometric information may determine information on the unique identity of the user in addition to the usage information of the user who is operating the playback unit.
Optionally, the heart rate information and/or the body temperature information of the corresponding user are acquired through a playing unit of the playing device, and the user information of the user is determined according to the heart rate information and/or the body temperature information.
Wherein, can be provided with the rhythm of the heart collection system that is used for gathering user's rhythm of the heart information on the broadcast unit, can also be the body temperature collection system who has set up the body temperature information that is used for gathering the user on the broadcast unit. The heart rate information includes the number of beats per minute of a person, and since each person has heart rate information specific to the person, for example, the heart rate information of the two persons is not generally synchronized, the heart rate information can be determined as user information of the user as information for distinguishing from other users. The body temperature information can be the measured skin temperature of the user, and the body temperature of each person is different, so that the body temperature information can also be used as the user information of the user, and the corresponding user of the playing device can be determined according to the heart rate information and/or the body temperature information. The heart rate information and/or the body temperature information may also be information for distinguishing from other users.
Optionally, the playing device is an earphone, and the playing unit is a receiver of the earphone; correspondingly, the ear identification information of the user is acquired through an ear information acquisition device on the telephone receiver, and the user information of the user is determined according to the ear identification information.
The playing device can be a headset, and the headset comprises a head-wire control headset or a head-wireless headset; the wireless headset includes a bluetooth headset. The receiver of the headphone is a part of the earphone for coming into close contact with the ear of a person and outputting audio. Headphones typically have a receiver that is close to, or larger than, the size of a person's ear. The receiver of the headset generally needs to be in contact with the ear of a person in a large area, or the ear of the person needs to be wrapped, so when the playing device is the headset, an ear information acquisition device can be arranged in the receiver of the playing device, and the ear identification information of the user is acquired through the ear information acquisition device arranged on the headset.
When a user uses the headset, the receivers of the headset can be optionally turned over, so that the sound output sides of the two receivers of the headset are outward and opposite in direction, and at the moment, two users can use one headset at the same time.
As shown in fig. 3, an ear information collecting device 22 is disposed on a side of the receiver of the headset 20 close to the ear, and when the user uses the headset, the ear information collecting device 22 will be close to the ear of the user, so as to collect the ear identification information of the user. Ear information collection device 22 can be the camera, and the camera can be 2D camera, 3D camera or infrared camera etc. and different characteristic image of user's ear can be gathered to different cameras, as ear identification information. The specific arrangement manner of the ear information collecting device may be determined according to the model and size of the headset, and is not limited herein.
When the playing device is a headset, the ear identification information of the user is collected through the ear information collection device on the headset, the ear identification information of the user can be directly collected after the user wears the headset, if the ear identification information can be collected, the receiver can be determined to correspond to the user, the position of the user can be determined according to the shape of the ear, and then the interactive information of the headset and the user is determined. In addition, the ear identification information can be matched with the pre-stored ear identification information to determine the user information of the user corresponding to the collected ear identification information.
Optionally, fingerprint information of the user can be collected through the headset, and user information of the user can be determined according to the fingerprint information of the user. When a user wears the headset, the two receivers of the headset generally need to be separated by hands and then sleeved on the head of the user for wearing. As shown in fig. 3, a fingerprint collection module 21 may be provided on the headset 20, and the fingerprint collection module 21 may be provided on a receiver of the headset at a position where a user's finger is easily touched, may be provided on an outer side of the receiver, and may be one side of a ring-shaped periphery of the receiver. As shown in fig. 3, when the user takes up the headset, the thumb of the user generally contacts with the outside of the receiver, and the fingerprint information of the user can be collected by the fingerprint collection module 21 arranged on the receiver; so that when the user takes up the headset, the fingerprint information of the user can be directly collected.
And S121, determining the used playing unit according to the user information.
And S122, respectively controlling the audio data played by each used playing unit according to the user information.
For the above-mentioned specific implementation of the operations, reference may be made to the above-mentioned related description, and further description is omitted here.
According to the embodiment of the application, the corresponding biological characteristic information of the user is acquired through the playing unit of the playing device, the user information of the user is determined according to the biological characteristic information, the biological characteristic information of the user can be directly acquired when the user uses the playing device and uses the playing unit, the user information of the user is determined according to the biological characteristic information, and the efficiency of determining the user information can be improved
Fig. 4 is a schematic flow chart of another audio playing control method provided in an embodiment of the present application, and on the basis of the technical solution provided in the foregoing embodiment, as shown in fig. 4, optionally, the method includes:
s130, acquiring corresponding biological characteristic information of a user through a playing unit of playing equipment, and determining user information of the user according to the biological characteristic information; wherein the playback device comprises at least two playback units.
S131, determining the used playing unit according to the user information.
For the above-mentioned specific implementation of the operations, reference may be made to the above-mentioned related description, and further description is omitted here.
S132, determining the identity information of the user according to the biological characteristic information.
The identity information of the user determined according to the biological characteristic information comprises information capable of determining the unique identity of the user. According to the identity information of the user, whether the user corresponding to the used playing unit of the playing device is a person or not can be further determined.
For example, if the playback device is an earphone, if two receivers both have user information of corresponding users, but it is possible that users corresponding to the two receivers may not be the same person, if the two receivers correspond to two users respectively, i.e. each user uses one receiver, accordingly, each receiver should output complete audio data, i.e. output audio data after mixing left and right channels. If the users corresponding to the two receivers are the same, the two receivers can output the corresponding left channel audio data and right channel audio data respectively. And further determining whether the users corresponding to the two used telephone receivers are the same person or not according to the identity information of the users.
S133, determining a play unit group according to the identity information corresponding to the play unit; each playing unit group comprises at least one playing unit, and the identity information corresponding to the at least one playing unit corresponds to the same user.
Because the playing units in each playing unit group correspond to the same user, the volume requirements of the users of the same playing unit group are the same; different play unit groups can respectively control the volume of each play group aiming at different users. One play unit group may include one play unit, or may include two or more play units.
Illustratively, as shown in fig. 5 and 6, the playback device is a line-control headphone connected to the terminal device 10, and the playback device includes two playback units, which are a headphone 23 and a headphone 24, respectively. As shown in fig. 5, user B listens to music using the playback device, both the receiver 23 and the receiver 24 are worn by user B, and the user identification information corresponding to both the receiver 23 and the receiver 24 is the user identification information of user B, so it can be determined that the receiver 23 and the receiver 24 belong to the same playback unit group, and the two receivers of the playback unit group can respectively play corresponding left channel audio data and right channel audio data.
As shown in fig. 6, user a and user B listen to music simultaneously using the playback apparatus, and receiver 23 and receiver 24 are respectively worn by user B and user a, and accordingly, the identity information of the user corresponding to receiver 23 is the identity information of user B, and the identity information of the user corresponding to receiver 24 is the identity information of user a; therefore, it can be determined that the receiver 23 and the receiver 24 belong to different play unit groups respectively, and further, the audio data played by the play units of the play unit groups can be determined respectively, so that both the user a and the user B can hear more accurate audio data.
S134, for each play unit group, determining user information of a user corresponding to a play unit of the playing device, and determining audio data played by the play unit of the play unit group according to the user information.
Each playing group corresponds to the same user, so that the audio data played by the playing units of the playing group is determined according to the user information of the user. If the play unit group comprises two receivers respectively corresponding to two ears of the same user, the two receivers can be determined to respectively output left and right channel audio data; if the play unit group comprises three sound boxes in a sound system, and the three sound boxes correspond to a user, multi-channel audio data can be output through the three sound boxes, so that the play unit group can play stereo.
According to the embodiment of the application, the playing unit groups are determined according to the identity information corresponding to the playing units, the user information of the user corresponding to the playing units of the playing equipment is determined for each playing unit group, the audio data played by the playing units of the playing unit groups are determined according to the user information, the audio data played by the playing unit groups corresponding to different users can be controlled respectively, the accuracy of the audio data output by the playing units can be further improved, and the using condition of the user can be better met.
Fig. 7 is a schematic flow chart of another audio playing control method provided in an embodiment of the present application, where based on the technical solutions provided in any of the embodiments, an operation of controlling, according to the user information, audio data played by each used playing unit is optimized, and optionally, as shown in fig. 7, the method includes:
s140, identifying user information of a user corresponding to a playing unit of the playing equipment; wherein the playback device comprises at least two playback units.
And S141, determining the used playing unit according to the user information.
For the above-mentioned specific implementation of the operations, reference may be made to the above-mentioned related description, and further description is omitted here.
S142, determining the relative position of each used playing unit and the corresponding user according to the user information.
S143, respectively controlling the audio data played by each used playing unit according to the relative position and the number of the used playing units.
Wherein, the relative position is the relative position of the playing unit and the corresponding ear of the user. Some audio data have corresponding audio data for different ears so that the user can hear real stereo audio.
The user information includes whether the playing unit has a corresponding user and/or interactive information between the user and the playing unit, the interactive information may include relative positions of the playing unit and the user, and the relative positions of the playing unit and the corresponding user may be determined according to the user information.
For example, if the playback device is an earphone, a general earphone will mark identifiers for left use and right use, such as "R" and "L", on two receivers, so that the user can wear the earphone accurately and get a better hearing feeling. However, for some receivers with completely symmetrical shapes, a user is difficult to directly judge whether the receiver is left or right, the user is obliged to wear the receiver accurately according to the identification, and finally the Toshiba left channel audio data can be listened to in the right ear and the right channel audio data can be listened to in the left ear.
The relative positions of the used playback units and the user can be determined based on the user information, and the audio data of each used playback unit can be controlled separately based on the relative positions and the number of used playback units. For example, if it is determined that a receiver that should be used in the right ear is located on the left side of the user, the audio data output from the receiver may be adjusted to left channel audio data.
Alternatively, as shown in fig. 8, according to the relative position and the number of the used playing units, respectively controlling the audio data played by each used playing unit may be further implemented by:
s144, determining the number of the sound channels according to the number of the used playing units; wherein each playback unit corresponds to a channel.
In this case, the audio data may include one channel or two or more channels for sound data determined by different usage spaces or usage positions when generating audio data. For example, if the playing device is an audio system, the playing unit used includes three or more speakers, each speaker has a corresponding channel, and each channel also outputs preset corresponding channel audio data, so that the user feels a better listening experience according to the audio output by the multiple speakers.
However, for a sound system with many sound boxes, a user may not use all the sound boxes, but only use some of the sound boxes, and if the audio is output according to the preset audio channel audio data, the user may not hear the complete audio information. The number of channels needs to be determined according to the number of used playback units. Illustratively, the sound system includes ten speakers, and the user uses only 5 of the speakers, so that the audio data to be played needs to be re-determined according to the speakers used.
S145, determining the audio channel data corresponding to each channel according to the number and the relative position, and sending the audio channel data of each channel to the corresponding playing unit for playing.
According to the number of the sound channels and the relative position of each playing unit and the user, the audio sound channel data corresponding to each sound channel can be determined again. For example, if 5 sound boxes are used by a user in the sound system, the audio channel data corresponding to each of the five sound boxes is: corresponding to five channels and audio channel data re-determined for each channel and the relative position of the user.
Optionally, if the number of the used playing units is one, correspondingly, it is determined that the audio channel data of the channel corresponding to the playing unit is mixed audio data, and the mixed audio data is sent to the used playing unit for playing.
The mixed audio data is mono audio data, and may be mixed audio data generated by mixing two or more channel audio data. For example, as shown in fig. 9, user B listens to music using a playback device, and user B only uses receiver 23, and then can determine the audio channel data of the channel corresponding to receiver 23 as mixed audio data, so that user B can listen to more complete audio information only through receiver 23.
According to the embodiment of the application, the relative position of each used playing unit and the corresponding user is determined according to the user information, and the audio data played by each used playing unit is respectively controlled according to the relative position and the number of the used playing units, so that the accuracy of the audio data played by the playing units can be further improved.
Fig. 10 is a block diagram of an audio playback control apparatus according to an embodiment of the present application, where the apparatus may execute an audio playback control method, and as shown in fig. 10, the apparatus includes:
an information identification module 210, configured to identify user information of a user corresponding to a playback unit of the playback device; wherein the playback device comprises at least two playback units;
a playing unit determining module 211, configured to determine a used playing unit according to the user information;
and an audio control module 212, configured to control the audio data played by each used playing unit according to the user information.
The audio playing control device provided in the embodiment of the application identifies the user information of a user corresponding to the playing unit of the playing equipment; wherein the playback device comprises at least two playback units; determining a used playing unit according to the user information; and respectively controlling the audio data played by each used playing unit according to the user information. By adopting the technical scheme, the audio data played by each playing unit can be determined according to the condition that the playing unit of the playing device is used by the user, so that the audio data played by the playing unit is more in line with the use condition of the user.
Optionally, the information identification module is specifically configured to:
the method comprises the steps of obtaining corresponding biological characteristic information of a user through a playing unit of playing equipment, and determining user information of the user according to the biological characteristic information.
Optionally, the information identification module is specifically configured to:
the method comprises the steps of obtaining heart rate information and/or body temperature information of a corresponding user through a playing unit of playing equipment, and determining user information of the user according to the heart rate information and/or the body temperature information.
Optionally, the playing device is an earphone, and the playing unit is a receiver of the earphone; correspondingly, the information identification module is specifically configured to:
and acquiring the ear identification information of the user through an ear information acquisition device on the telephone receiver, and determining the user information of the user according to the ear identification information.
Optionally, the method further comprises:
the identity information determining module is used for determining the identity information of the user according to the biological characteristic information after the biological characteristic information of the corresponding user is acquired through the playing unit of the playing device;
the playing unit group determining module is used for determining the playing unit group according to the identity information corresponding to the playing unit; each playing unit group comprises at least one playing unit, and the identity information corresponding to the at least one playing unit corresponds to the same user;
correspondingly, the audio control module is specifically configured to:
and for each play unit group, determining user information of a user corresponding to a play unit of the play equipment, and determining audio data played by the play unit of the play unit group according to the user information.
Optionally, the audio control module specifically includes:
the position determining module is used for determining the relative position of each used playing unit and the corresponding user according to the user information;
and the data control module is used for respectively controlling the audio data played by each used playing unit according to the relative position and the number of the used playing units.
Optionally, the data control module specifically includes:
a sound channel determining module for determining the number of sound channels according to the number of used playing units; each playing unit corresponds to one sound channel;
and the audio playing module is used for determining the audio channel data corresponding to each sound channel according to the number and the relative position and sending the audio channel data of each sound channel to the corresponding playing unit for playing.
Optionally, if the number of the used playback units is one, correspondingly, the audio playback module is specifically configured to:
and determining that the audio channel data of the channel corresponding to the playing unit is mixed audio data, and sending the mixed audio data to the used playing unit for playing.
The storage medium containing the computer-executable instructions provided by the embodiments of the present application is not limited to the audio playing control operation described above, and may also perform related operations in the audio playing control method provided by any embodiments of the present application.
Embodiments of the present application also provide a storage medium containing computer-executable instructions, which when executed by a computer processor, are configured to perform an audio playback control method, the method including:
identifying user information of a user corresponding to a playing unit of playing equipment; wherein the playback device comprises at least two playback units;
determining a used playing unit according to the user information;
and respectively controlling the audio data played by each used playing unit according to the user information.
Storage medium-any of various types of memory devices or storage devices. The term "storage medium" is intended to include: mounting media such as CD-ROM, floppy disk, or tape devices; computer system memory or random access memory such as DRAM, DDR RAM, SRAM, EDO RAM, Lanbas (Rambus) RAM, etc.; non-volatile memory such as flash memory, magnetic media (e.g., hard disk or optical storage); registers or other similar types of memory elements, etc. The storage medium may also include other types of memory or combinations thereof. In addition, the storage medium may be located in a first computer system in which the program is executed, or may be located in a different second computer system connected to the first computer system through a network (such as the internet). The second computer system may provide program instructions to the first computer for execution. The term "storage medium" may include two or more storage media that may reside in different locations, such as in different computer systems that are connected by a network. The storage medium may store program instructions (e.g., embodied as a computer program) that are executable by one or more processors.
The embodiment of the application provides a terminal device, and the terminal device can be integrated with the audio playing control device provided by the embodiment of the application.
Fig. 11 is a schematic structural diagram of a terminal device according to an embodiment of the present application, and the embodiment of the present application provides a terminal device 30, which includes a memory 31, a processor 32, and a computer program stored in the memory 31 and executable on the processor, where the processor executes the computer program to implement the audio playing control method according to the foregoing embodiment. The terminal device provided by the embodiment of the application can optimize the existing audio playing mode.
Fig. 12 is a schematic structural diagram of a terminal device according to an embodiment of the present application. As shown in fig. 12, the terminal device may include: a casing (not shown), a touch screen (not shown), touch keys (not shown), a memory 301, a Central Processing Unit (CPU) 302 (also called a processor, hereinafter referred to as CPU), a circuit board (not shown), and a power circuit (not shown). The circuit board is arranged in a space enclosed by the shell; the CPU302 and the memory 301 are disposed on the circuit board; the power supply circuit is used for supplying power to each circuit or device of the terminal equipment; the memory 301 is used for storing executable program codes; the CPU302 executes a computer program corresponding to the executable program code by reading the executable program code stored in the memory 301 to implement the steps of:
identifying user information of a user corresponding to a playing unit of playing equipment; wherein the playback device comprises at least two playback units;
determining a used playing unit according to the user information;
and respectively controlling the audio data played by each used playing unit according to the user information.
The terminal device further includes: peripheral interface 303, RF (Radio Frequency) circuitry 305, audio circuitry 306, speakers 311, power management chip 308, input/output (I/O) subsystems 309, touch screen 312, other input/control devices 310, and external ports 304, which communicate via one or more communication buses or signal lines 307.
It should be understood that the illustrated terminal device 300 is only one example of a terminal device, and that the terminal device 300 may have more or fewer components than shown in the figures, may combine two or more components, or may have a different configuration of components. The various components shown in the figures may be implemented in hardware, software, or a combination of hardware and software, including one or more signal processing and/or application specific integrated circuits.
The following describes in detail the terminal device for implementing audio play control provided in this embodiment, where the terminal device is a mobile phone as an example.
A memory 301, the memory 301 being accessible by a CPU302, a peripheral interface 303, or the like, the memory 301 may include high speed random access memory, and may also include non-volatile memory, such as one or more magnetic disk storage devices, flash memory devices, or other volatile solid state storage devices.
A peripheral interface 303, said peripheral interface 303 being capable of connecting input and output peripherals of the device to the CPU302 and the memory 301.
I/O subsystem 309, the I/O subsystem 309 may connect input and output peripherals on the device, such as touch screen 312 and other input/control devices 310, to the peripheral interface 303. The I/O subsystem 309 may include a display controller 3091 and one or more input controllers 3092 for controlling other input/control devices 310. Where one or more input controllers 3092 receive electrical signals from or send electrical signals to other input/control devices 310, the other input/control devices 310 may include physical buttons (push buttons, rocker buttons, etc.), dials, slide switches, joysticks, click wheels. It is noted that the input controller 3092 may be connected to any of the following: a keyboard, an infrared port, a USB interface, and a pointing device such as a mouse.
A touch screen 312, which touch screen 312 is an input interface and an output interface between the user terminal device and the user, displays visual output to the user, which may include graphics, text, icons, video, and the like.
The display controller 3091 in the I/O subsystem 309 receives electrical signals from the touch screen 312 or transmits electrical signals to the touch screen 312. The touch screen 312 detects a contact on the touch screen, and the display controller 3091 converts the detected contact into an interaction with a user interface object displayed on the touch screen 312, i.e., implements a human-machine interaction, and the user interface object displayed on the touch screen 312 may be an icon for running a game, an icon networked to a corresponding network, or the like. It is worth mentioning that the device may also comprise a light mouse, which is a touch sensitive surface that does not show visual output, or an extension of the touch sensitive surface formed by the touch screen.
The RF circuit 305 is mainly used to establish communication between the mobile phone and the wireless network (i.e., the network side), and implement data reception and transmission between the mobile phone and the wireless network. Such as sending and receiving short messages, e-mails, etc. In particular, the RF circuitry 305 receives and transmits RF signals, also referred to as electromagnetic signals, through which the RF circuitry 305 converts electrical signals to or from electromagnetic signals and communicates with communication networks and other devices. RF circuitry 305 may include known circuitry for performing these functions including, but not limited to, an antenna system, an RF transceiver, one or more amplifiers, a tuner, one or more oscillators, a digital signal processor, a CODEC (CODEC) chipset, a Subscriber Identity Module (SIM), and so forth.
The audio circuit 306 is mainly used to receive audio data from the peripheral interface 303, convert the audio data into an electric signal, and transmit the electric signal to the speaker 311.
And a speaker 311 for converting the voice signal received by the handset from the wireless network through the RF circuit 305 into sound and playing the sound to the user.
And the power management chip 308 is used for supplying power and managing power to the hardware connected with the CPU302, the I/O subsystem, and the peripheral interface.
The terminal device provided by the embodiment of the application can optimize the existing audio playing mode.
The audio playing control device, the storage medium and the terminal device provided in the above embodiments may execute the audio playing control method provided in any embodiment of the present application, and have corresponding functional modules and beneficial effects for executing the method. For details of the audio playback control method provided in any of the embodiments of the present application, reference may be made to the following description.
It is to be noted that the foregoing is only illustrative of the preferred embodiments of the present application and the technical principles employed. It will be understood by those skilled in the art that the present application is not limited to the particular embodiments described herein, but is capable of various obvious changes, rearrangements and substitutions as will now become apparent to those skilled in the art without departing from the scope of the application. Therefore, although the present application has been described in more detail with reference to the above embodiments, the present application is not limited to the above embodiments, and may include other equivalent embodiments without departing from the spirit of the present application, and the scope of the present application is determined by the scope of the appended claims.

Claims (6)

1. An audio playback control method, comprising:
acquiring biological characteristic information of a corresponding user through a playing unit of playing equipment, and determining user information of the user according to the biological characteristic information; the playing device comprises at least two playing units, and the user information of the user is the use information of the user who operates the playing units, and comprises whether the playing units have corresponding users and/or the interactive information of the user and the playing units;
determining a used playing unit according to the user information;
determining a play unit group according to the identity information corresponding to the play unit; each playing unit group comprises at least one playing unit, and the identity information corresponding to the at least one playing unit corresponds to the same user;
and for each play unit group, determining user information of a user corresponding to a play unit of the play equipment, and determining audio data played by the play unit of the play unit group according to the user information.
2. The method as claimed in claim 1, wherein the obtaining of the corresponding user's biometric information by the playback unit of the playback device and the determining of the user's user information based on the biometric information comprises:
the method comprises the steps of obtaining heart rate information and/or body temperature information of a corresponding user through a playing unit of playing equipment, and determining user information of the user according to the heart rate information and/or the body temperature information.
3. The method of claim 1, wherein the playback device is an earphone, and the playback unit is a receiver of the earphone; correspondingly, the method for acquiring the corresponding biological feature information of the user through the playing unit of the playing device and determining the user information of the user according to the biological feature information comprises the following steps:
and acquiring the ear identification information of the user through an ear information acquisition device on the telephone receiver, and determining the user information of the user according to the ear identification information.
4. An audio playback control apparatus, comprising:
the information identification module is used for acquiring the corresponding biological characteristic information of the user through a playing unit of the playing equipment and determining the user information of the user according to the biological characteristic information; the playing device comprises at least two playing units, and the user information of the user is the use information of the user who operates the playing units, and comprises whether the playing units have corresponding users and/or the interactive information of the user and the playing units;
a playing unit determining module for determining a used playing unit according to the user information;
the playing unit group determining module is used for determining the playing unit group according to the identity information corresponding to the playing unit; each playing unit group comprises at least one playing unit, and the identity information corresponding to the at least one playing unit corresponds to the same user;
and the audio control module is used for determining user information of a user corresponding to the playing unit of the playing equipment for each playing unit group, and determining audio data played by the playing unit of the playing unit group according to the user information.
5. A computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, carries out an audio playback control method according to any one of claims 1 to 3.
6. A terminal device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, wherein the processor implements the audio playback control method according to any one of claims 1 to 3 when executing the computer program.
CN201810669660.7A 2018-06-26 2018-06-26 Audio playing control method and device, storage medium and terminal equipment Active CN108882112B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810669660.7A CN108882112B (en) 2018-06-26 2018-06-26 Audio playing control method and device, storage medium and terminal equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810669660.7A CN108882112B (en) 2018-06-26 2018-06-26 Audio playing control method and device, storage medium and terminal equipment

Publications (2)

Publication Number Publication Date
CN108882112A CN108882112A (en) 2018-11-23
CN108882112B true CN108882112B (en) 2021-04-06

Family

ID=64294821

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810669660.7A Active CN108882112B (en) 2018-06-26 2018-06-26 Audio playing control method and device, storage medium and terminal equipment

Country Status (1)

Country Link
CN (1) CN108882112B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110213682A (en) * 2019-06-27 2019-09-06 温州众智科技有限公司 A kind of intelligent sound
CN110324742B (en) * 2019-07-01 2021-10-22 Oppo广东移动通信有限公司 Control method, earphone and storage medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102547502A (en) * 2010-12-17 2012-07-04 索尼爱立信移动通讯有限公司 Headset, headset use control method and terminal
CN105049999A (en) * 2015-07-09 2015-11-11 广东欧珀移动通信有限公司 Demonstration method of sound box subgroups, local server, mobile terminal and system
CN105491469A (en) * 2014-09-15 2016-04-13 Tcl集团股份有限公司 Method and system for controlling audio output mode based on wearing earphone state
CN107205198A (en) * 2017-06-13 2017-09-26 北京小米移动软件有限公司 The unlocking method and a device of microphone

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20180103858A1 (en) * 2015-03-12 2018-04-19 Medicomp, Inc. Earbud electrocardiogram monitor and associated systems and methods
CN105163220A (en) * 2015-09-29 2015-12-16 努比亚技术有限公司 Smart push method and earphone

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102547502A (en) * 2010-12-17 2012-07-04 索尼爱立信移动通讯有限公司 Headset, headset use control method and terminal
CN105491469A (en) * 2014-09-15 2016-04-13 Tcl集团股份有限公司 Method and system for controlling audio output mode based on wearing earphone state
CN105049999A (en) * 2015-07-09 2015-11-11 广东欧珀移动通信有限公司 Demonstration method of sound box subgroups, local server, mobile terminal and system
CN107205198A (en) * 2017-06-13 2017-09-26 北京小米移动软件有限公司 The unlocking method and a device of microphone

Also Published As

Publication number Publication date
CN108882112A (en) 2018-11-23

Similar Documents

Publication Publication Date Title
CN110764730B (en) Method and device for playing audio data
CN108886653B (en) Earphone sound channel control method, related equipment and system
CN108966067B (en) Play control method and related product
CN109067965B (en) Translation method, translation device, wearable device and storage medium
CN109254752B (en) 3D sound effect processing method and related product
CN108966080A (en) volume adjusting method, device, storage medium and terminal device
WO2018000764A1 (en) Method and device for automatic audio channel matching, and headphone
CN104159173A (en) Earphone, earphone application method, earphone control method and device as well as mobile terminal
US10114415B2 (en) Apparatus and method for processing audio signals
CN108541080A (en) First electronic equipment and the second electronic equipment carry out the method and Related product of Hui Lian
CN114727212B (en) Audio processing method and electronic equipment
CN108882112B (en) Audio playing control method and device, storage medium and terminal equipment
CN108923810A (en) Interpretation method and relevant device
CN109121069B (en) 3D sound effect processing method and related product
CN108632713B (en) Volume control method and device, storage medium and terminal equipment
CN108924705B (en) 3D sound effect processing method and related product
WO2022033176A1 (en) Audio play control method and apparatus, and electronic device and storage medium
CN115967887B (en) Method and terminal for processing sound image azimuth
CN109327766B (en) 3D sound effect processing method and related product
CN111372166B (en) Intelligent left and right ear identification method and related equipment
CN113727231B (en) Earphone volume adjusting method and equipment
CN108958481B (en) Equipment control method and related product
CN108260115A (en) Bluetooth equipment position information processing method, device, terminal device and storage medium
CN113676590A (en) Recording method, recording device, electronic equipment and storage medium
CN205232413U (en) Headset

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant