CN112203181A - Automatic switching method and device of equalizer, electronic equipment and storage medium - Google Patents
Automatic switching method and device of equalizer, electronic equipment and storage medium Download PDFInfo
- Publication number
- CN112203181A CN112203181A CN202011027563.1A CN202011027563A CN112203181A CN 112203181 A CN112203181 A CN 112203181A CN 202011027563 A CN202011027563 A CN 202011027563A CN 112203181 A CN112203181 A CN 112203181A
- Authority
- CN
- China
- Prior art keywords
- equalizer
- information
- target
- song
- switching
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
- 238000000034 method Methods 0.000 title claims abstract description 41
- 238000004590 computer program Methods 0.000 claims description 4
- 238000010586 diagram Methods 0.000 description 7
- 230000006870 function Effects 0.000 description 6
- 230000003287 optical effect Effects 0.000 description 6
- 239000011435 rock Substances 0.000 description 4
- 230000004044 response Effects 0.000 description 3
- 230000009286 beneficial effect Effects 0.000 description 2
- 230000000694 effects Effects 0.000 description 2
- 239000013307 optical fiber Substances 0.000 description 2
- 230000002093 peripheral effect Effects 0.000 description 2
- 230000000644 propagated effect Effects 0.000 description 2
- 238000003491 array Methods 0.000 description 1
- 238000004891 communication Methods 0.000 description 1
- 238000013500 data storage Methods 0.000 description 1
- 230000007547 defect Effects 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 239000002360 explosive Substances 0.000 description 1
- 230000000149 penetrating effect Effects 0.000 description 1
- 230000008707 rearrangement Effects 0.000 description 1
- 239000004065 semiconductor Substances 0.000 description 1
- 238000006467 substitution reaction Methods 0.000 description 1
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04R—LOUDSPEAKERS, MICROPHONES, GRAMOPHONE PICK-UPS OR LIKE ACOUSTIC ELECTROMECHANICAL TRANSDUCERS; DEAF-AID SETS; PUBLIC ADDRESS SYSTEMS
- H04R1/00—Details of transducers, loudspeakers or microphones
- H04R1/10—Earpieces; Attachments therefor ; Earphones; Monophonic headphones
- H04R1/1041—Mechanical or electronic switches, or control elements
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04R—LOUDSPEAKERS, MICROPHONES, GRAMOPHONE PICK-UPS OR LIKE ACOUSTIC ELECTROMECHANICAL TRANSDUCERS; DEAF-AID SETS; PUBLIC ADDRESS SYSTEMS
- H04R1/00—Details of transducers, loudspeakers or microphones
- H04R1/10—Earpieces; Attachments therefor ; Earphones; Monophonic headphones
- H04R1/1091—Details not provided for in groups H04R1/1008 - H04R1/1083
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04R—LOUDSPEAKERS, MICROPHONES, GRAMOPHONE PICK-UPS OR LIKE ACOUSTIC ELECTROMECHANICAL TRANSDUCERS; DEAF-AID SETS; PUBLIC ADDRESS SYSTEMS
- H04R2201/00—Details of transducers, loudspeakers or microphones covered by H04R1/00 but not provided for in any of its subgroups
- H04R2201/10—Details of earpieces, attachments therefor, earphones or monophonic headphones covered by H04R1/10 but not provided for in any of its subgroups
Landscapes
- Physics & Mathematics (AREA)
- Engineering & Computer Science (AREA)
- Acoustics & Sound (AREA)
- Signal Processing (AREA)
- Reverberation, Karaoke And Other Acoustics (AREA)
Abstract
The invention discloses an automatic switching method and device of an equalizer, electronic equipment and a storage medium. The method comprises the following steps: receiving target song information sent by a target associated earphone, generating an equalizer query request carrying the target song information, sending the equalizer query request to a server, receiving feedback information returned by the server, determining target equalizer information corresponding to the target song information according to the feedback information, generating an equalizer adjusting instruction based on the target equalizer information, and sending the equalizer adjusting instruction to the target associated earphone so that the target associated earphone is switched to an equalizer corresponding to the target equalizer information. The problem of single equalizer when the user listens to the song is solved, the switching of the corresponding equalizer according to the song information is realized, and the experience of listening to the song of the user is improved.
Description
Technical Field
The embodiment of the invention relates to the technical field of multimedia application, in particular to an automatic switching method and device of an equalizer, electronic equipment and a storage medium.
Background
In recent years, under the background of rapid popularization of new-generation consumer electronics devices such as global smart phones and tablet computers, earphone products, particularly wireless earphone products, have shown an explosive growth trend. Compared with the traditional wired earphone, the Bluetooth earphone can only adjust the sound style through the structural hardware, and can also pertinently enhance or weaken the volume response of a certain frequency band through adjusting a software equalizer. For some earphones with a poor response in a certain frequency band, the response can be compensated by an equalizer. Users often have different requirements for different frequency bands when listening to different music. Common classes of equalizers are pop, rock, jazz, classical, live, etc. By adjusting the equalizer to compensate for the imperfections of the loudspeaker and sound field, various sources of sound and other special effects are compensated and modified.
For the earphone supporting the user to select the equalizer, the user is generally allowed to manually switch the needed equalizer in the matching app, that is, one favorite style is selected from the equalizers predefined by several manufacturers, and the equalizer will not be changed unless the user reselects another style. However, the songs heard by the user are not constant, and a single equalizer has not allowed the user to get the best experience of listening to the songs.
Disclosure of Invention
The invention provides an automatic switching method and device of an equalizer, electronic equipment and a storage medium, which are used for switching the corresponding equalizer according to song information and improving the experience of listening to songs of a user.
In a first aspect, an embodiment of the present invention provides an automatic switching method for an equalizer, which is applied to a client, and includes:
receiving target song information sent by a target associated earphone, and generating an equalizer query request carrying the target song information;
sending the equalizer query request to a server and receiving feedback information returned by the server;
determining target equalizer information corresponding to the target song information according to the feedback information, and generating an equalizer adjusting instruction based on the target equalizer information;
and sending the equalizer adjusting instruction to a target associated earphone so as to switch the target associated earphone to an equalizer corresponding to the target equalizer information.
In a second aspect, an embodiment of the present invention provides an automatic switching method for an equalizer, which is applied to a server, and includes:
receiving an equalizer query request sent by a client, and acquiring target song information associated with the equalizer query request;
inquiring equalizer associated information of the target song information, and generating feedback information based on the equalizer associated information;
and sending the feedback information to a client so that the client determines target equalizer information corresponding to the target song information according to the feedback information.
In a third aspect, an embodiment of the present invention further provides an automatic switching apparatus for an equalizer, where the apparatus is configured at a client, and the apparatus includes:
the request generation module is used for receiving target song information sent by a target associated earphone and generating an equalizer query request carrying the target song information;
the feedback information receiving module is used for sending the equalizer query request to a server and receiving feedback information returned by the server;
the instruction generating module is used for determining target equalizer information corresponding to the target song information according to the feedback information and generating an equalizer adjusting instruction based on the target equalizer information;
and the instruction sending module is used for sending the equalizer adjusting instruction to the target associated earphone so as to switch the target associated earphone to the equalizer corresponding to the target equalizer information.
In a fourth aspect, an embodiment of the present invention further provides an automatic switching apparatus for an equalizer, where the apparatus is configured in a server, and the apparatus includes:
the query request receiving module is used for receiving an equalizer query request sent by a client and acquiring target song information associated with the equalizer query request;
the feedback information generation module is used for inquiring the equalizer associated information of the target song information and generating feedback information based on the equalizer associated information;
and the feedback information sending module is used for sending the feedback information to the client so that the client can determine the target equalizer information corresponding to the target song information according to the feedback information.
In a fifth aspect, an embodiment of the present invention further provides an electronic device, where the electronic device includes:
one or more processors;
a storage device for storing one or more programs,
when the one or more programs are executed by the one or more processors, the one or more processors implement the automatic switching method of the equalizer according to the embodiment of the present invention.
In a sixth aspect, an embodiment of the present invention further provides a computer-readable storage medium, on which a computer program is stored, where the computer program, when executed by a processor, implements the automatic switching method for an equalizer according to the embodiment of the present invention.
The embodiment of the invention generates an equalizer query request carrying the target song information by receiving the target song information sent by the target associated earphone, sends the equalizer query request to the server, receives feedback information returned by the server, determines the target equalizer information corresponding to the target song information according to the feedback information, generates an equalizer adjusting instruction based on the target equalizer information, and sends the equalizer adjusting instruction to the target associated earphone, so that the target associated earphone is switched to the equalizer corresponding to the target equalizer information, the problem of a single equalizer when a user listens to songs is solved, the switching of the corresponding equalizer according to the song information is realized, and the experience of listening to songs of the user is improved.
Drawings
In order to more clearly illustrate the technical solutions of the exemplary embodiments of the present invention, a brief description is given below of the drawings used in describing the embodiments. It should be clear that the described figures are only views of some of the embodiments of the invention to be described, not all, and that for a person skilled in the art, other figures can be derived from these figures without inventive effort.
Fig. 1 is a schematic flowchart of an automatic switching method of an equalizer according to an embodiment of the present invention;
fig. 2 is a schematic flowchart of an automatic switching method of an equalizer according to a second embodiment of the present invention;
fig. 3 is a schematic flowchart of an automatic switching method of an equalizer according to a third embodiment of the present invention;
fig. 4 is a schematic structural diagram of an automatic switching apparatus of an equalizer according to a fourth embodiment of the present invention;
fig. 5 is a schematic structural diagram of an automatic switching apparatus of an equalizer according to a fifth embodiment of the present invention;
fig. 6 is a schematic structural diagram of an electronic device according to a sixth embodiment of the present invention.
Detailed Description
The present invention will be described in further detail with reference to the accompanying drawings and examples. It is to be understood that the specific embodiments described herein are merely illustrative of the invention and are not limiting of the invention. It should be further noted that, for the convenience of description, only some of the structures related to the present invention are shown in the drawings, not all of the structures.
Example one
Fig. 1 is a flowchart illustrating an automatic switching method for an equalizer according to an embodiment of the present invention, where the method is applied to a client, and is applicable to a case where a corresponding equalizer is determined according to song information and switched to the equalizer. The method specifically comprises the following steps:
s110, receiving target song information sent by the target associated earphone, and generating an equalizer query request carrying the target song information.
Wherein a target associated headset refers to a headset device associated with a client, such as a bluetooth headset associated with the client. The target associated earphone can communicate with the client, and the client can receive song information sent by the target associated earphone through a Bluetooth Low energy technology BLE (Bluetoh Low energy). The target song information refers to song information corresponding to a current song played on the target associated earphone, and at least comprises a song name and a song singer, so that the server can determine a unique target song according to the song name and the song singer, and the target song information can further comprise album information, album style, singer style and the like. The target song information may be information sent to the target associated earphone by an associated terminal of the target associated earphone based on an AVRCP (Audio Video Remote control Profile) protocol, where the associated terminal of the target associated earphone may be an electronic device, such as a mobile phone, a tablet computer, a smart watch, or a car stereo, that communicates with the target associated earphone and has a bluetooth connection function. And the target song information is sent to the target associated earphone by the associated terminal of the target associated earphone and then sent to the client by the target associated earphone.
In this embodiment, the equalizer query request is used to query equalizer information corresponding to the target song information, where the equalizer may be used to compensate and modify a sound source of the target song information, or adjust each frequency band signal of the target song information to compensate for defects of a speaker and a sound field, so as to improve a playing effect of the target song information, such as a rock equalizer, a pop equalizer, a dance equalizer, a blue tone equalizer, a classical equalizer, a jazz equalizer, a country equalizer, or an electronic music equalizer. Illustratively, the popularity equalizer properly heightens the bass and the treble of the target song so as to make the target song sound plump and soft, highlight the layering sense of the target song and convert the playing style of the target song into popular music; the dance music equalizer properly heightens the bass of the target song and properly lowers the middle-high sound so as to enable the bass of the target song to relax properly, reduce the penetrating power of the target song and convert the playing style of the target song into dance music; the classical equalizer properly reduces the middle-high pitch and the high pitch of the target song to reduce the sound layering of the target song, improve the sound softness of the target song and convert the playing style of the target song into classical. Optionally, the target song information is placed in a certain field or a request header of the equalizer query request, so that when the server receives the equalizer query request, the target song information in the equalizer query request can be extracted, and the corresponding equalizer information is queried according to the target song information.
And S120, sending the equalizer query request to a server, and receiving feedback information returned by the server.
The server is used for providing data query service and data storage service for the client. Specifically, the server queries corresponding equalizer information according to the target song information in the equalizer query request, and returns the query result as feedback information to the client. Optionally, when the server queries corresponding equalizer information according to the target song information, the server preferentially selects to query corresponding equalizer information from the associated database, where the associated database may be a database that is pre-established and stores a large amount of equalizer information manually selected by users, the equalizer information in the associated database corresponds to the song information one by one, and for the same equalizer selection of multiple users, the associated database may be repeatedly stored, so that the server may query equalizer information selected by most users according to the song information, and the associated database may be stored and updated at any time. If the server inquires equalizer information corresponding to the target song information in the associated database, generating feedback information carrying the equalizer information and sending the feedback information to the client; if the server does not inquire the equalizer information corresponding to the target song information in the associated database, inquiring the song style information corresponding to the target song information in the network based on the target song information, generating feedback information carrying the equalizer information and sending the feedback information to the client; and if the song style information corresponding to the target song information is not inquired in the network, generating an empty data packet or inquiring failure information serving as feedback information and sending the feedback information to the client. Correspondingly, the feedback information may carry any one of equalizer information, song style information, null data packets, and query failure information.
And S130, determining target equalizer information corresponding to the target song information according to the feedback information, and generating an equalizer adjusting instruction based on the target equalizer information.
The feedback information may carry any one of equalizer information, song style information, null data packets, and query failure information. Optionally, determining target equalizer information corresponding to the target song information according to the feedback information includes: taking equalizer information in the feedback information as target equalizer information; and when the feedback information does not contain the equalizer information, acquiring song style information in the feedback information, and determining target equalizer information based on the song style information.
The client pre-stores the corresponding relation between the song style information and the equalizer information, so that when the song style information is acquired, the song style information is compared with the pre-stored song style information, and after the matching is successful, the equalizer information corresponding to the song style information is used as target equalizer information. Specifically, if the equalizer information in the feedback information is extracted, the equalizer information is used as target equalizer information corresponding to the target song information; if equalizer information in the feedback information is not extracted, song style information in the feedback information is extracted, and target equalizer information corresponding to the target song information is determined according to the song style information, wherein the target equalizer information is determined to be a rock equalizer if the song style information is rock; if equalizer information and song style information in the feedback information are not extracted, extracting a null data packet or query failure information in the feedback information, determining song style information of the target song information according to the singer style or album style in the target song information, and determining target equalizer information corresponding to the target song information according to the song style information; and if the targeted song information does not comprise singer style or album style information, generating prompt information and sending the prompt information to the associated terminal of the targeted associated earphone so as to remind a targeted user that an equalizer can be manually selected for switching.
Specifically, the controller may store a plurality of correspondence relationships between the equalizer information and the equalizer adjustment instruction, compare the target equalizer information with the equalizer information corresponding to each equalizer adjustment instruction, and generate the equalizer adjustment instruction when matching is successful.
And S140, sending the equalizer adjusting instruction to the target associated earphone so as to switch the target associated earphone to the equalizer corresponding to the target equalizer information.
The equalizer adjustment instruction can enable the target associated earphone to switch the equalizer corresponding to the equalizer adjustment instruction, and the equalizer adjustment instruction includes target equalizer information. The target associated earphone stores the configuration information corresponding to each equalizer in advance, the equalizers and the configuration information present corresponding relations, so that when an equalizer adjusting instruction is received, the corresponding equalizers are determined according to the target equalizer information in the equalizer adjusting instruction, the corresponding equalizers are compared with the equalizers, when matching is successful, the corresponding configuration information of the corresponding equalizers is determined, automatic adjustment is carried out according to the configuration information, and automatic switching of the equalizers is achieved. Illustratively, the corresponding configuration information of the electronic music equalizer is to increase the signal amplitude in the frequency range of 4K-16Khz and decrease the signal amplitude in the frequency range of 250-500 hz; the corresponding configuration information of the rural equalizer is to increase the signal amplitude in the frequency range of 250-1000hz and reduce the signal amplitude in the frequency range of 30-125 hz; the corresponding configuration information for popular equalizers is to reduce the signal amplitude in the 250-2000hz frequency range.
According to the technical scheme, the equalizer query request carrying the target song information is generated by receiving the target song information sent by the target associated earphone, the equalizer query request is sent to the server, the feedback information returned by the server is received, the target equalizer information corresponding to the target song information is determined according to the feedback information, the equalizer adjusting instruction is generated based on the target equalizer information, and the equalizer adjusting instruction is sent to the target associated earphone, so that the target associated earphone is switched to the equalizer corresponding to the target equalizer information, the problem of a single equalizer when a user listens to songs is solved, switching of the corresponding equalizer according to the song information is achieved, and the experience of listening to songs of the user is improved.
On the basis of the technical scheme, the method further comprises the following steps: receiving equalizer switching information, and determining switching song information and switching equalizer information of the equalizer switching information; and generating an equalizer storage request based on the switching song information and the switching equalizer information, and sending the equalizer storage request to the server so that the server correspondingly stores the switching song information and the switching equalizer information in an associated database.
The equalizer switching information may be sent by the associated terminal of the target associated earphone, that is, the corresponding information of the equalizer manually selected by the target user on the associated terminal of the target associated earphone; the equalizer switching control instruction may also be sent by the target associated earphone, that is, the information corresponding to the equalizer manually selected by the target user on the target associated earphone, and it may be understood that a touch area may be provided on the target associated earphone, and the corresponding equalizer switching control instruction is generated by detecting a touch operation in the touch area. The equalizer switching information comprises switching song information and switching equalizer information, so that the server stores the switching song information and the switching equalizer information in the associated database after receiving the equalizer storage request, and the equalizer information corresponding to the song information is conveniently inquired in the associated database.
In the embodiment, the equalizer switching information is received, the switching song information and the switching equalizer information of the equalizer switching information are determined, the equalizer storage request is generated based on the switching song information and the switching equalizer information, and the equalizer storage request is sent to the server, so that the server correspondingly stores the switching song information and the switching equalizer information in the associated database, the equalizer manually selected by a user is stored, and the query speed of the server on the equalizer is improved.
Example two
Fig. 2 is a flowchart of an automatic switching method for an equalizer according to a second embodiment of the present invention, where this embodiment is applied to a server, and is applicable to a case where a corresponding equalizer is queried according to song information and the equalizer information is returned, and the method may be executed by an automatic switching apparatus for an equalizer, and the apparatus may be implemented by hardware and/or software and is configured in the server. The method specifically comprises the following steps:
s210, receiving an equalizer query request sent by a client, and acquiring target song information associated with the equalizer query request.
The equalizer query request is generated by the client according to target song information sent by the target associated earphone, and carries the target song information.
S220, inquiring the equalizer associated information of the target song information, and generating feedback information based on the equalizer associated information.
The equalizer association information refers to target equalizer information corresponding to the target song information or song style information corresponding to the target song information.
Optionally, equalizer information corresponding to the target song information is queried from the association database, and feedback information is generated based on the equalizer information; and when the equalizer information corresponding to the target song information does not exist in the associated database, acquiring the song style of the target song information, and generating feedback information based on the song style information.
The server compares the target song information with each song information in the associated database, and generates feedback information according to the equalizer information corresponding to the song information when matching is successful. And when the matching fails, namely the target song information and the corresponding equalizer information are not stored in the associated database, the server establishes network connection with each search engine, searches the song style of the target song information, generates feedback information according to the song style information and sends the feedback information to the client.
And S230, sending the feedback information to the client so that the client determines target equalizer information corresponding to the target song information according to the feedback information.
The feedback information comprises equalizer information or song style information, and after receiving the feedback information, the client can directly determine target equalizer information according to the equalizer information, and also can query corresponding equalizer information as the target equalizer information according to the song style information, and generate an equalizer adjusting instruction based on the target equalizer information and send the equalizer adjusting instruction to the target associated earphone.
According to the technical scheme, the target song information related to the equalizer query request is obtained by receiving the equalizer query request sent by the client, the equalizer related information of the target song information is queried, the feedback information is generated based on the equalizer related information, and the feedback information is sent to the client, so that the client determines the target equalizer information corresponding to the target song information according to the feedback information, the target related earphone is switched to the equalizer corresponding to the target equalizer information, the problem that a single equalizer is used when a user listens to songs is solved, switching of the corresponding equalizer according to the song information is achieved, and the experience of listening to songs of the user is improved.
On the basis of the technical scheme, the method further comprises the following steps: receiving an equalizer storage request sent by a client, and acquiring switching song information and switching equalizer information in the equalizer storage request; and correspondingly storing the switching song information and the switching equalizer information in an associated database.
In the embodiment, by receiving the equalizer storage request sent by the client, the switching song information and the switching equalizer information in the equalizer storage request are obtained, and the switching song information and the switching equalizer information are correspondingly stored in the associated database, so that the equalizer manually selected by the user is stored, and the query speed of the server on the equalizer is improved.
EXAMPLE III
Fig. 3 is a flowchart illustrating an automatic switching method of an equalizer according to a third embodiment of the present invention. This embodiment provides a preferred embodiment based on the above embodiments, and explanations of the same or similar terms as those in the above embodiments are omitted here for brevity. As shown in fig. 3, the method specifically includes the following steps:
s301, the target associated earphone sends target song information to the client.
S302, the client receives target song information sent by the target associated earphone, generates an equalizer query request carrying the target song information and sends the equalizer query request to the server.
S303, the server receives the equalizer query request sent by the client and acquires the target song information associated with the equalizer query request.
S304, the server inquires equalizer information corresponding to the target song information from the associated database, and generates feedback information based on the equalizer information; and when the equalizer information corresponding to the target song information does not exist in the associated database, acquiring the song style of the target song information, and generating feedback information based on the song style.
S305, the server sends the feedback information to the client.
S306, the client receives feedback information sent by the server, and equalizer information in the feedback information is used as target equalizer information; and when the feedback information does not contain the equalizer information, acquiring song style information in the feedback information, and determining target equalizer information based on the song style information.
And S307, the client generates an equalizer adjusting instruction based on the target equalizer information and sends the equalizer adjusting instruction to the target associated earphone.
And S308, the target associated earphone receives the equalizer adjusting instruction sent by the client and switches to the equalizer corresponding to the target equalizer information.
According to the technical scheme, a client receives target song information sent by a target associated earphone, generates an equalizer query request carrying the target song information and sends the equalizer query request to a server, the server receives the equalizer query request sent by the client, acquires the target song information associated with the equalizer query request, queries equalizer information corresponding to the target song information from an associated database, and generates feedback information based on the equalizer information; when the equalizer information corresponding to the target song information does not exist in the association database, the song style of the target song information is obtained, feedback information is generated based on the song style, the feedback information is sent to the client side, the client side generates an equalizer adjusting instruction based on the received feedback information sent by the server and sends the equalizer adjusting instruction to the target associated earphone, so that the target associated earphone is switched to the equalizer corresponding to the target equalizer information, the problem that a user listens to the song through a single equalizer is solved, switching of the corresponding equalizer according to the song information is achieved, and the experience of listening to the song of the user is improved.
Example four
Fig. 4 is a schematic structural diagram of an automatic switching apparatus for an equalizer according to a fourth embodiment of the present invention, where the automatic switching apparatus is configured at a client when a corresponding equalizer needs to be switched according to song information, the apparatus specifically includes: a request generating module 410, a feedback information receiving module 420, an instruction generating module 430 and an instruction transmitting module 440.
A request generating module 410, configured to receive target song information sent by a target associated earphone, and generate an equalizer query request carrying the target song information;
a feedback information receiving module 420, configured to send an equalizer query request to the server, and receive feedback information returned by the server;
the instruction generating module 430 is configured to determine target equalizer information corresponding to the target song information according to the feedback information, and generate an equalizer adjustment instruction based on the target equalizer information;
the instruction sending module 440 is configured to send the equalizer adjustment instruction to the target associated earphone, so that the target associated earphone is switched to the equalizer corresponding to the target equalizer information.
In this embodiment, a request generation module receives target song information sent by a target associated earphone, an equalizer query request carrying the target song information is generated, a feedback information receiving module sends the equalizer query request to a server and receives feedback information returned by the server, an instruction generation module determines target equalizer information corresponding to the target song information according to the feedback information, an equalizer adjustment instruction is generated based on the target equalizer information, and an equalizer adjustment instruction is sent to the target associated earphone based on the instruction sending module, so that the target associated earphone is switched to an equalizer corresponding to the target equalizer information, the problem of a single equalizer when a user listens to a song is solved, switching of the corresponding equalizer according to the song information is achieved, and the user experience of listening to the song is improved.
On the basis of the above apparatus, optionally, the instruction generating module 430 is further configured to use equalizer information in the feedback information as target equalizer information; and when the feedback information does not contain the equalizer information, acquiring song style information in the feedback information, and determining the target equalizer information based on the song style information.
Optionally, the apparatus further includes a storage request generation module, configured to receive the equalizer switching information, and determine switching song information and switching equalizer information of the equalizer switching information; and generating an equalizer storage request based on the switching song information and the switching equalizer information, and sending the equalizer storage request to the server so that the server correspondingly stores the switching song information and the switching equalizer information in an associated database.
The automatic switching device of the equalizer provided by the embodiment of the invention can execute the automatic switching method of the equalizer provided by any embodiment of the invention, and has the corresponding functional modules and beneficial effects of the execution method.
It should be noted that, the units and modules included in the system are merely divided according to functional logic, but are not limited to the above division as long as the corresponding functions can be realized; in addition, specific names of the functional units are only for convenience of distinguishing from each other, and are not used for limiting the protection scope of the embodiment of the invention.
EXAMPLE five
Fig. 5 is a schematic structural diagram of an automatic switching apparatus for an equalizer according to a fifth embodiment of the present invention, where the automatic switching apparatus is configured in a server in a situation that a corresponding equalizer needs to be switched according to song information, and the apparatus specifically includes: a query request receiving module 510, a feedback information generating module 520, and a feedback information transmitting module 530.
A query request receiving module 510, configured to receive an equalizer query request sent by a client, and obtain target song information associated with the equalizer query request;
a feedback information generating module 520, configured to query equalizer associated information of the target song information, and generate feedback information based on the equalizer associated information;
and a feedback information sending module 530, configured to send the feedback information to the client, so that the client determines, according to the feedback information, target equalizer information corresponding to the target song information.
In the embodiment, the query request receiving module receives an equalizer query request sent by the client, target song information associated with the equalizer query request is obtained, the equalizer association information of the target song information is queried based on the feedback information generating module, the feedback information is generated based on the equalizer association information, and the feedback information is sent to the client through the feedback information sending module, so that the client determines the target equalizer information corresponding to the target song information according to the feedback information, so that the target associated earphone is switched to the equalizer corresponding to the target equalizer information, the problem of a single equalizer when a user listens to a song is solved, switching of the corresponding equalizer according to the song information is realized, and the experience of listening to the song of the user is improved.
On the basis of the foregoing apparatus, optionally, the feedback information generating module 520 is further configured to query target equalizer information corresponding to the target song information from the association database, and generate feedback information based on the target equalizer information; and when the target equalizer information corresponding to the target song information does not exist in the associated database, acquiring the song style of the target song information, and generating feedback information based on the song style.
Optionally, the apparatus further includes a storage request receiving module, configured to receive an equalizer storage request sent by the client, and obtain song switching information and equalizer switching information in the equalizer storage request; and correspondingly storing the switching song information and the switching equalizer information in an associated database.
The automatic switching device of the equalizer provided by the embodiment of the invention can execute the automatic switching method of the equalizer provided by any embodiment of the invention, and has the corresponding functional modules and beneficial effects of the execution method.
It should be noted that, the units and modules included in the system are merely divided according to functional logic, but are not limited to the above division as long as the corresponding functions can be realized; in addition, specific names of the functional units are only for convenience of distinguishing from each other, and are not used for limiting the protection scope of the embodiment of the invention.
EXAMPLE six
Fig. 6 is a schematic structural diagram of an electronic device according to a sixth embodiment of the present invention. FIG. 6 illustrates a block diagram of an exemplary electronic device 60 suitable for use in implementing embodiments of the present invention. The electronic device 60 shown in fig. 6 is only an example, and should not bring any limitation to the functions and the scope of use of the embodiment of the present invention.
As shown in fig. 6, the electronic device 60 is in the form of a general purpose computing device. The components of the electronic device 60 may include, but are not limited to: one or more processors or processing units 601, a system memory 602, and a bus 603 that couples various system components including the system memory 602 and the processing unit 601.
The system memory 602 may include computer system readable media in the form of volatile memory, such as Random Access Memory (RAM)604 and/or cache memory 605. The electronic device 60 may further include other removable/non-removable, volatile/nonvolatile computer system storage media. By way of example only, storage system 606 may be used to read from and write to non-removable, nonvolatile magnetic media (not shown in FIG. 6, commonly referred to as a "hard drive"). Although not shown in FIG. 6, a magnetic disk drive for reading from and writing to a removable, nonvolatile magnetic disk (e.g., a "floppy disk") and an optical disk drive for reading from or writing to a removable, nonvolatile optical disk (e.g., a CD-ROM, DVD-ROM, or other optical media) may be provided. In these cases, each drive may be connected to the bus 603 by one or more data media interfaces. Memory 602 may include at least one program product having a set (e.g., at least one) of program modules that are configured to carry out the functions of embodiments of the invention.
A program/utility 608 having a set (at least one) of program modules 607 may be stored, for example, in memory 602, such program modules 607 including, but not limited to, an operating system, one or more application programs, other program modules, and program data, each of which examples or some combination thereof may comprise an implementation of a network environment. The program modules 607 generally perform the functions and/or methods of the described embodiments of the invention.
The processing unit 601 executes various functional applications and data processing by running a program stored in the system memory 602, for example, to implement an automatic switching method of an equalizer provided by an embodiment of the present invention.
EXAMPLE seven
An embodiment of the present invention further provides a storage medium containing computer-executable instructions, which when executed by a computer processor, are configured to perform a method for automatic switching of an equalizer.
The method comprises the following steps:
receiving target song information sent by a target associated earphone, and generating an equalizer query request carrying the target song information;
sending the equalizer query request to a server and receiving feedback information returned by the server;
determining target equalizer information corresponding to the target song information according to the feedback information, and generating an equalizer adjusting instruction based on the target equalizer information;
sending the equalizer adjusting instruction to the target associated earphone so as to switch the target associated earphone to the equalizer corresponding to the target equalizer information; and/or the presence of a gas in the gas,
receiving an equalizer query request sent by a client, and acquiring target song information associated with the equalizer query request;
inquiring equalizer associated information of the target song information, and generating feedback information based on the equalizer associated information;
and sending the feedback information to the client so that the client determines target equalizer information corresponding to the target song information according to the feedback information.
Computer storage media for embodiments of the invention may employ any combination of one or more computer-readable media. The computer readable medium may be a computer readable signal medium or a computer readable storage medium. A computer readable storage medium may be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination of the foregoing. More specific examples (a non-exhaustive list) of the computer readable storage medium would include the following: an electrical connection having one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing. In the context of this document, a computer readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device.
A computer readable signal medium may include a propagated data signal with computer readable program code embodied therein, for example, in baseband or as part of a carrier wave. Such a propagated data signal may take many forms, including, but not limited to, electro-magnetic, optical, or any suitable combination thereof. A computer readable signal medium may also be any computer readable medium that is not a computer readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device.
Program code embodied on a computer readable medium may be transmitted using any appropriate medium, including but not limited to wireless, wireline, optical fiber cable, RF, etc., or any suitable combination of the foregoing.
Computer program code for carrying out operations for embodiments of the present invention may be written in any combination of one or more programming languages, including an object oriented programming language such as Java, Smalltalk, C + + or the like and conventional procedural programming languages, such as the "C" programming language or similar programming languages. The program code may execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer or entirely on the remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer through any type of network, including a Local Area Network (LAN) or a Wide Area Network (WAN), or the connection may be made to an external computer (for example, through the Internet using an Internet service provider).
It is to be noted that the foregoing is only illustrative of the preferred embodiments of the present invention and the technical principles employed. It will be understood by those skilled in the art that the present invention 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 invention. Therefore, although the present invention has been described in greater detail by the above embodiments, the present invention is not limited to the above embodiments, and may include other equivalent embodiments without departing from the spirit of the present invention, and the scope of the present invention is determined by the scope of the appended claims.
Claims (10)
1. An automatic switching method of an equalizer, which is applied to a client, includes:
receiving target song information sent by a target associated earphone, and generating an equalizer query request carrying the target song information;
sending the equalizer query request to a server and receiving feedback information returned by the server;
determining target equalizer information corresponding to the target song information according to the feedback information, and generating an equalizer adjusting instruction based on the target equalizer information;
and sending the equalizer adjusting instruction to a target associated earphone so as to switch the target associated earphone to an equalizer corresponding to the target equalizer information.
2. The method of claim 1, wherein the determining target equalizer information corresponding to the target song information according to the feedback information comprises:
taking equalizer information in the feedback information as the target equalizer information;
and when the feedback information does not contain equalizer information, acquiring song style information in the feedback information, and determining the target equalizer information based on the song style information.
3. The method of claim 1, further comprising:
receiving equalizer switching information, and determining switching song information and switching equalizer information of the equalizer switching information;
and generating an equalizer storage request based on the switching song information and the switching equalizer information, and sending the equalizer storage request to a server so that the server correspondingly stores the switching song information and the switching equalizer information in an associated database.
4. An automatic switching method of an equalizer, which is applied to a server, includes:
receiving an equalizer query request sent by a client, and acquiring target song information associated with the equalizer query request;
inquiring equalizer associated information of the target song information, and generating feedback information based on the equalizer associated information;
and sending the feedback information to a client so that the client determines target equalizer information corresponding to the target song information according to the feedback information.
5. The method of claim 4, wherein the querying for equalizer associated information of the target song information, generating feedback information based on the equalizer associated information, comprises:
inquiring target equalizer information corresponding to the target song information from an associated database, and generating the feedback information based on the target equalizer information;
and when the target equalizer information corresponding to the target song information does not exist in the association database, acquiring the song style of the target song information, and generating the feedback information based on the song style.
6. The method of claim 4, further comprising:
receiving an equalizer storage request sent by a client, and acquiring switching song information and switching equalizer information in the equalizer storage request;
and correspondingly storing the switching song information and the switching equalizer information in an associated database.
7. An automatic switching apparatus of an equalizer, configured at a client, includes:
the request generation module is used for receiving target song information sent by a target associated earphone and generating an equalizer query request carrying the target song information;
the feedback information receiving module is used for sending the equalizer query request to a server and receiving feedback information returned by the server;
the instruction generating module is used for determining target equalizer information corresponding to the target song information according to the feedback information and generating an equalizer adjusting instruction based on the target equalizer information;
and the instruction sending module is used for sending the equalizer adjusting instruction to the target associated earphone so as to switch the target associated earphone to the equalizer corresponding to the target equalizer information.
8. An automatic switching apparatus of an equalizer, configured in a server, includes:
the query request receiving module is used for receiving an equalizer query request sent by a client and acquiring target song information associated with the equalizer query request;
the feedback information generation module is used for inquiring the equalizer associated information of the target song information and generating feedback information based on the equalizer associated information;
and the feedback information sending module is used for sending the feedback information to the client so that the client can determine the target equalizer information corresponding to the target song information according to the feedback information.
9. An electronic device, characterized in that the electronic device comprises:
one or more processors;
a storage device for storing one or more programs,
when executed by the one or more processors, cause the one or more processors to implement the method for automatic switching of an equalizer of claims 1-3; and/or implementing an automatic switching method of the equalizer as claimed in claims 4-6.
10. A computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, implements an automatic switching method of an equalizer according to claims 1-3; and/or implementing an automatic switching method of the equalizer as claimed in claims 4-6.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202011027563.1A CN112203181A (en) | 2020-09-25 | 2020-09-25 | Automatic switching method and device of equalizer, electronic equipment and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202011027563.1A CN112203181A (en) | 2020-09-25 | 2020-09-25 | Automatic switching method and device of equalizer, electronic equipment and storage medium |
Publications (1)
Publication Number | Publication Date |
---|---|
CN112203181A true CN112203181A (en) | 2021-01-08 |
Family
ID=74007579
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202011027563.1A Pending CN112203181A (en) | 2020-09-25 | 2020-09-25 | Automatic switching method and device of equalizer, electronic equipment and storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN112203181A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113993026A (en) * | 2021-10-19 | 2022-01-28 | 江苏米笛声学科技有限公司 | Earphone SVM machine learning self-adaptive adjusting method |
Citations (11)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
TW200722143A (en) * | 2005-10-04 | 2007-06-16 | Bpm Profile Llc | System and method for tailoring music to an activity |
US20080075303A1 (en) * | 2006-09-25 | 2008-03-27 | Samsung Electronics Co., Ltd. | Equalizer control method, medium and system in audio source player |
KR20090066819A (en) * | 2007-12-20 | 2009-06-24 | (주) 엘지텔레콤 | Apparatus and method of providing optimal equalizer value in mobile music player |
CN103037100A (en) * | 2012-12-21 | 2013-04-10 | 广东欧珀移动通信有限公司 | Method suitable for intelligently switching electrical quadrupole (EQ) sound effects of smart phones |
CN103177743A (en) * | 2013-01-30 | 2013-06-26 | 东莞宇龙通信科技有限公司 | Song playing method and device |
US20140016795A1 (en) * | 2012-07-10 | 2014-01-16 | Closeout Solutions, Llc | Personalized headphones and method of personalizing audio output |
CN104867512A (en) * | 2015-03-26 | 2015-08-26 | 加一联创电子科技有限公司 | Music data obtaining method, earphone, loudspeaker box, and music player |
CN105263086A (en) * | 2015-10-27 | 2016-01-20 | 小米科技有限责任公司 | Adjustment method of equalizer, device and intelligent speaker |
CN105704597A (en) * | 2014-11-28 | 2016-06-22 | 南京青衿信息科技有限公司 | Smart headphone provided with sound effect processing system |
CN108055409A (en) * | 2017-12-29 | 2018-05-18 | 西安蜂语信息科技有限公司 | Audio frequency playing method, equipment and system |
CN111541982A (en) * | 2020-04-28 | 2020-08-14 | 歌尔科技有限公司 | Sound effect regulation control method, processing terminal and earphone |
-
2020
- 2020-09-25 CN CN202011027563.1A patent/CN112203181A/en active Pending
Patent Citations (11)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
TW200722143A (en) * | 2005-10-04 | 2007-06-16 | Bpm Profile Llc | System and method for tailoring music to an activity |
US20080075303A1 (en) * | 2006-09-25 | 2008-03-27 | Samsung Electronics Co., Ltd. | Equalizer control method, medium and system in audio source player |
KR20090066819A (en) * | 2007-12-20 | 2009-06-24 | (주) 엘지텔레콤 | Apparatus and method of providing optimal equalizer value in mobile music player |
US20140016795A1 (en) * | 2012-07-10 | 2014-01-16 | Closeout Solutions, Llc | Personalized headphones and method of personalizing audio output |
CN103037100A (en) * | 2012-12-21 | 2013-04-10 | 广东欧珀移动通信有限公司 | Method suitable for intelligently switching electrical quadrupole (EQ) sound effects of smart phones |
CN103177743A (en) * | 2013-01-30 | 2013-06-26 | 东莞宇龙通信科技有限公司 | Song playing method and device |
CN105704597A (en) * | 2014-11-28 | 2016-06-22 | 南京青衿信息科技有限公司 | Smart headphone provided with sound effect processing system |
CN104867512A (en) * | 2015-03-26 | 2015-08-26 | 加一联创电子科技有限公司 | Music data obtaining method, earphone, loudspeaker box, and music player |
CN105263086A (en) * | 2015-10-27 | 2016-01-20 | 小米科技有限责任公司 | Adjustment method of equalizer, device and intelligent speaker |
CN108055409A (en) * | 2017-12-29 | 2018-05-18 | 西安蜂语信息科技有限公司 | Audio frequency playing method, equipment and system |
CN111541982A (en) * | 2020-04-28 | 2020-08-14 | 歌尔科技有限公司 | Sound effect regulation control method, processing terminal and earphone |
Non-Patent Citations (3)
Title |
---|
J. ESTREDER: "On Perceptual Audio Equalization for Multiple Users in Presence of Ambient Noise", 《2018 IEEE 10TH SENSOR ARRAY AND MULTICHANNEL SIGNAL PROCESSING WORKSHOP (SAM)》, 30 August 2018 (2018-08-30) * |
天音工作室: "《多***配置·优化疑难问题与技巧详解》", 28 February 2006, 上海科学普及出版社, pages: 185 * |
金勇: "《录音技术与数字音频制作》", 31 January 2012, 中国铁道出版社, pages: 99 - 100 * |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113993026A (en) * | 2021-10-19 | 2022-01-28 | 江苏米笛声学科技有限公司 | Earphone SVM machine learning self-adaptive adjusting method |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
KR102660922B1 (en) | Management layer for multiple intelligent personal assistant services | |
US10685656B2 (en) | Accessing multiple virtual personal assistants (VPA) from a single device | |
JP7053687B2 (en) | Last mile equalization | |
US6684249B1 (en) | Method and system for adding advertisements over streaming audio based upon a user profile over a world wide area network of computers | |
KR20040034688A (en) | Dynamic content delivery responsive to user requests | |
US8340797B2 (en) | Method and system for generating and processing digital content based on text-to-speech conversion | |
US20080113325A1 (en) | Tv out enhancements to music listening | |
US20090247096A1 (en) | Method And System For Integrated FM Recording | |
US9053710B1 (en) | Audio content presentation using a presentation profile in a content header | |
CN104601202A (en) | Method and terminal for realizing file search based on Bluetooth technology as well as Bluetooth device | |
WO2023011370A1 (en) | Audio playing method and apparatus | |
CN112203181A (en) | Automatic switching method and device of equalizer, electronic equipment and storage medium | |
CN106537933B (en) | Portable loudspeaker | |
CN112188342A (en) | Equalization parameter determination method and device, electronic equipment and storage medium | |
US20130178963A1 (en) | Audio system with adaptable equalization | |
CN108829370A (en) | Sound resource playback method, device, computer equipment and storage medium | |
CN112259076A (en) | Voice interaction method and device, electronic equipment and computer readable storage medium | |
US20190138265A1 (en) | Systems and methods for managing displayless portable electronic devices | |
US20200081681A1 (en) | Mulitple master music playback | |
CN115278456A (en) | Sound equipment and audio signal processing method | |
CN111159462A (en) | Method and terminal for playing songs | |
KR20080019859A (en) | Method for bookmarking information of digital broadcasting contents and downloading the bookmarked digital contents | |
CN112291660B (en) | Equalizer switching method, device, equipment and storage medium | |
JP2002341880A (en) | Music data distribution system | |
US20230237991A1 (en) | Server-based false wake word detection |
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 |