CN109672958A - Control method for playing back and equipment - Google Patents

Control method for playing back and equipment Download PDF

Info

Publication number
CN109672958A
CN109672958A CN201811536721.9A CN201811536721A CN109672958A CN 109672958 A CN109672958 A CN 109672958A CN 201811536721 A CN201811536721 A CN 201811536721A CN 109672958 A CN109672958 A CN 109672958A
Authority
CN
China
Prior art keywords
earphone
danger coefficient
danger
sent
coefficient
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
Application number
CN201811536721.9A
Other languages
Chinese (zh)
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.)
Goertek Techology Co Ltd
Original Assignee
Goertek Techology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Goertek Techology Co Ltd filed Critical Goertek Techology Co Ltd
Priority to CN201811536721.9A priority Critical patent/CN109672958A/en
Publication of CN109672958A publication Critical patent/CN109672958A/en
Pending legal-status Critical Current

Links

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

Abstract

The embodiment of the present application provides a kind of control method for playing back and equipment.In some exemplary embodiments of the application, the position being currently located by the earphone that the terminal device that earphone or earphone communicate to connect is sent, the position being currently located according to earphone, determine earphone current environment region to the potential danger coefficient of user for wearing earphone, danger coefficient is sent to earphone, the broadcast state of earphone is adjusted according to danger coefficient for earphone, for different zones environment locating for user, the sound of earphone is adaptively adjusted, increase the intelligence degree of earphone, the probability that Personal Risk occurs because wearing earphone for user is reduced to a certain extent, promote user experience.

Description

Control method for playing back and equipment
Technical field
This application involves intelligent terminal technical field more particularly to a kind of control method for playing back and equipment.
Background technique
Now, earphone is chiefly used in mobile phone, walkman, radio, portable electronic game sum digit reproducing apparatus for phonotape etc., is listened Song, voice, recording, radio reception.When user wears earphone, the volume that earphone issues is communicated directly to human ear, if what earphone issued Volume is excessive, can cause to damage to the hearing of user, if the volume that earphone issues is too small, user can hear earphone broadcasting Content influences the using effect of user.
Currently, wireless headset is convenient and practical, by the favor of user, wireless headset multi-pass cross key or communication terminal into Row control and adjusting, it is often necessary to be manually operated, operate comparatively laborious.
Summary of the invention
The many aspects of the application provide a kind of control method for playing back and equipment, for different zones ring locating for user The sound of earphone is adaptively adjusted in border, increases the intelligence degree of earphone, promotes user experience.
The embodiment of the present application provides a kind of control method for playing back, is suitable for server, which comprises
The position that the earphone that reception earphone or the terminal device communicated to connect with earphone are sent is currently located;
According to the position that the earphone is currently located, determine earphone current environment region to the wearing earphone The potential danger coefficient of user;
The danger coefficient is sent to the earphone, so that the earphone adjusts the earphone according to the danger coefficient Broadcast state.
The embodiment of the present application also provides a kind of control method for playing back, is suitable for earphone, which comprises
Obtain the position that the earphone is currently located;
The position is sent to server, so that the server determines that the earphone is presently according to the position Potential danger coefficient of the environmental area to the user for wearing the earphone;
The danger coefficient that the server is sent is received, and adjusts the broadcasting of the earphone according to the danger coefficient State.
The embodiment of the present application also provides a kind of broadcast control device, comprising:
Receiving module, the current institute of the earphone for receiving earphone or with the terminal device transmission of earphone communication connection Position;
Determining module, for determining that earphone current environment region potentially endangers to the user for wearing the earphone Dangerous coefficient;
Sending module, for the danger coefficient to be sent to the earphone, so that the earphone is according to the dangerous system Number adjusts the broadcast state of the earphone.
The embodiment of the present application also provides a kind of server, comprising: communication component, one or more processors and one Or multiple storages play the memory of control program;
The communication component, the current institute of earphone for receiving earphone or with the terminal device transmission of earphone communication connection Position, and danger coefficient is sent to the earphone;
One or more of processors realize above-mentioned control method for playing back when for executing the broadcasting control program The step of.
The embodiment of the present application also provides a kind of broadcast control device, comprising:
Obtain module, the position being currently located for obtaining the earphone;
Sending module, for the position to be sent to server, so that the server determines institute according to the position State potential danger coefficient of the earphone current environment region to the user for wearing the earphone;
Receiving module, the danger coefficient sent for receiving the server, and adjusted according to the danger coefficient The broadcast state of the earphone.
The embodiment of the present application also provides a kind of earphone, comprising: position sensor, communication component, and one or more processors, And one or more storages play the memory of control program;
The position sensor, the position being currently located for obtaining the earphone;
The communication component, for the position to be sent to server, and the danger that reception server is sent Coefficient;
One or more of processors realize any institute of claim 4-6 when for executing the broadcasting control program The step of control method for playing back stated.
In some exemplary embodiments of the application, pass through the ear for the terminal device transmission that earphone or earphone communicate to connect The position that machine is currently located, the position being currently located according to earphone determine earphone current environment region to wearing earphone The potential danger coefficient of user, is sent to earphone for danger coefficient, adjusts the broadcast state of earphone according to danger coefficient for earphone, For different zones environment locating for user, the sound of earphone is adaptively adjusted, increases the intelligence degree of earphone, one Determine to reduce the probability that Personal Risk occurs because wearing earphone for user in degree, promotes user experience.
Detailed description of the invention
The drawings described herein are used to provide a further understanding of the present application, constitutes part of this application, this Shen Illustrative embodiments and their description please are not constituted an undue limitation on the present application for explaining the application.In the accompanying drawings:
Fig. 1 is a kind of configuration diagram for broadcasting control system that the application exemplary embodiment provides;
Fig. 1 a is a kind of structure chart for earphone that the application exemplary embodiment provides;
Fig. 2 a is a kind of method flow diagram for control method for playing back that the application exemplary embodiment provides;
Fig. 2 b is a kind of method flow diagram for control method for playing back that the application exemplary embodiment provides;
Fig. 3 is a kind of method flow diagram for more detailed control method for playing back that the application exemplary embodiment provides;
Fig. 4 is a kind of structural block diagram for broadcast control device that the application exemplary embodiment provides;
Fig. 5 is the structural block diagram for another broadcast control device that the application exemplary embodiment provides;
Fig. 6 is a kind of structural block diagram for server that the application exemplary embodiment provides;
Fig. 7 is a kind of structural block diagram for earphone that the application exemplary embodiment provides.
Specific embodiment
To keep the purposes, technical schemes and advantages of the application clearer, below in conjunction with the application specific embodiment and Technical scheme is clearly and completely described in corresponding attached drawing.Obviously, described embodiment is only the application one Section Example, instead of all the embodiments.Based on the embodiment in the application, those of ordinary skill in the art are not doing Every other embodiment obtained under the premise of creative work out, shall fall in the protection scope of this application.
For cumbersome technical problem is manually operated existing for current earphone, in some exemplary embodiments of the application, The position being currently located by the earphone that the terminal device that earphone or earphone communicate to connect is sent, is currently located according to earphone Position determines that the potential danger coefficient of user for wearing earphone, danger coefficient is sent to for earphone current environment region Earphone adjusts the broadcast state of earphone for earphone, for different zones environment locating for user, to earphone according to danger coefficient Sound is adaptively adjusted, and the intelligence degree of earphone is increased, and reduces user to a certain extent because wearing earphone and the person occurs Dangerous probability promotes user experience.
Below in conjunction with attached drawing, the technical scheme provided by various embodiments of the present application will be described in detail.
Fig. 1 is a kind of configuration diagram for broadcasting control system 10 that the application exemplary embodiment provides.Such as Fig. 1 institute Show, which includes: terminal device 10a, earphone 10b and server 10c.Broadcasting control system 10 is not by network Environmental restrictions can be applied in LAN environment, can also be applied in the internet environments such as wide area network, Metropolitan Area Network (MAN).
In the present embodiment, the way of realization of terminal device 10a can there are many, such as can be smart phone, intelligence Speaker, PC, wearable device, tablet computer etc..Terminal device 10a generally includes at least one processor and at least one Memory.The quantity of processor and memory depends on the configuration and type of terminal device 10a.Memory may include volatibility , such as RAM also may include non-volatile, such as read-only memory (Read-Only Memory, ROM), flash memory etc., It or can also simultaneously include two kinds of.Be typically stored in memory operating system (Operating System, OS), One or more application program also can store program data etc..Other than processor and memory, terminal device 10a It can also include audio-video component etc..
In the present embodiment, the type of earphone 10b is not construed as limiting, can is headphone, In-Ear Headphones etc..Ear Position sensor can also be set on machine, for obtaining the location of earphone information.
In the present embodiment, server 10c can be established with terminal device 10a and/or earphone 10b and be communicated to connect, predominantly Terminal device 10a and earphone 10b provide data and support, calculate service and some management services, not Limited service device 10c Realize that form, such as server 10c can be the server apparatus such as General Server, Cloud Server, cloud host, virtual center. Wherein, the composition of server 10c equipment mainly includes processor, hard disk, memory, system bus etc. and general computer rack Structure type.
Wherein, server 10c can be and wirelessly or non-wirelessly connect with terminal device 10a and earphone 10b.Optionally, terminal The communication modes such as WIFI, bluetooth, infrared can be respectively adopted in equipment 10a and earphone 10b and server 10C is established and communicated to connect.Or Person, terminal device 10a and earphone 10b can also be established by mobile network and server 10c and be communicated to connect.Wherein, mobile network The network formats of network can be 2G (GSM), 2.5G (GPRS), 3G (WCDMA, TD-SCDMA, CDMA2000, UTMS), 4G (LTE), any one in 4G+ (LTE+), WiMax etc..
In the present embodiment, terminal device 10a and earphone 10b can be communicated by wired mode or wirelessly Connection.For example, terminal device 10a has signal output interface, earphone 10b has signal input interface, then can be by wired Mode interconnects the voice signal output interface of terminal device 10a and the voice signal input interface of earphone 10b.Example again Such as, the wireless communication module of adaptation, such as bluetooth module, WIFI module, network interface card are deployed in terminal device 10a and earphone 10b Deng, then terminal device 10a and earphone 10b can by wireless communication module realize be wirelessly connected.
Fig. 1 a is a kind of structure chart for earphone that the application exemplary embodiment provides.Including processor module, audio solution Code module, wireless communication module, noise reduction module, GPS module.Processor module respectively with audio decoder module, radio communication mold Block, noise reduction module, GPS module connection, GPS module is for obtaining the position that earphone is presently in.Earphone can also include battery The components such as group module, battery charging module, USB interface, loudspeaker output and microphone input.
Broadcasting control system 10 as shown in connection with fig. 1, from server side, Fig. 2 a provides for the application exemplary embodiment A kind of control method for playing back method flow diagram.As shown in Figure 2 a, this method comprises:
The position that the earphone that the terminal device that S2011: receiving earphone or communicates to connect with earphone is sent is currently located;
S2012: the position being currently located according to earphone determines earphone current environment region to the user for wearing earphone Potential danger coefficient;
S2013: being sent to earphone for danger coefficient, so that earphone is according to the broadcast state of danger coefficient adjustment earphone.
Broadcasting control system 10 as shown in connection with fig. 1, from earphone angle, Fig. 2 b is what the application exemplary embodiment provided A kind of method flow diagram of control method for playing back.As shown in Figure 2 b, this method comprises:
S2021: the position that earphone is currently located is obtained;
S2022: being sent to server for position, so that server determines earphone current environment region pair according to position Wear the potential danger coefficient of the user of earphone;
S2023: receiving the danger coefficient that server is sent, and the broadcast state of earphone is adjusted according to danger coefficient.
In the present embodiment, the mode for obtaining the position that earphone is currently located may include following two ways:
Mode one, earphone pass through the position sensor being arranged thereon and acquire the position that earphone is currently located;
Mode two, terminal device pass through the position that the position sensor acquisition terminal equipment being arranged thereon is currently located, and The position that the position that terminal device is currently located is currently located as earphone.In this approach, earphone communicates with connection In general distance all will not be too far for the position of terminal device, therefore, can be using the position that terminal device is currently located as ear The position that machine is currently located.
After earphone or terminal device obtain the position that earphone is currently located by position sensor, by the current institute of the earphone Position be sent to server, the position that server is currently located according to earphone determines earphone current environment region pair Wear the potential danger coefficient of user of earphone.It should be noted that danger coefficient includes earphone current environment region itself There are certain danger levels, for example, earphone current environment region, there are road, the risk factors such as wagon flow can also include ear Noise in machine current environment region causes greatly very much user that can hear dangerous tip sound around and cause dangerous promotion, example Such as, noise caused by stream of people's wagon flow etc.;Danger coefficient can be specific value, or identify dangerous grade.In this reality In example, the position that server is currently located according to earphone determines earphone current environment region dangerous system potential to user Several modes has and is not limited to following two kinds of embodiments:
Embodiment one: the existing compartmentalization map of location lookup being currently located according to earphone determines the current institute of earphone Locate environmental area;By earphone current environment region, is matched, obtained in environmental area and danger coefficient mapping relations With the danger coefficient of earphone current environment Region Matching.
Embodiment two: the existing compartmentalization map of location lookup being currently located according to earphone determines the current institute of earphone Locate environmental area;According to the environmental information in earphone current environment region, calculate earphone current environment region to The potential danger coefficient in family.
In above embodiment one, user carries out region division forming region to the environmental map being stored in server Change map, and the danger coefficient in each region is marked.Wherein, user combines building, road, people in each regional environment The informixes such as stream, wagon flow, Construction Condition calculate the danger coefficient in each region, and by the danger coefficient in each region in environmental map In each region be marked;The position that server is currently located according to earphone searches existing compartmentalization map, determines earphone Current environment region;Mapping relations of the server by earphone current environment region, in environmental area and danger coefficient In matched, obtain the danger coefficient with earphone current environment Region Matching.
In above embodiment two, server carries out region division to the environmental map being stored in server and forms area Domain map, and the environmental information in each region of combination calculates the danger coefficient in each region.Server is currently located according to earphone Existing compartmentalization map is searched in position, determines earphone current environment region;In conjunction with being built in earphone local environment region It builds after the information such as object, road, the stream of people, wagon flow, Construction Condition the operations such as are weighted, are averaged, obtains earphone current environment Region is to the potential danger coefficient of user.
After server obtains danger coefficient, which is sent to earphone, earphone receives basis after the danger coefficient The broadcast state of danger coefficient adjustment earphone.In the present embodiment, the broadcast state of earphone may include broadcast sound volume value and drop It makes an uproar state.The broadcast state that earphone is adjusted according to danger coefficient, may include following several but is not limited to following several realization shapes Formula:
Form one: danger coefficient is the numerical value for reflecting danger classes, such as 1 indicates that the first estate, 2 indicate the second grade, 3 Indicate tertiary gradient etc..By danger classes numerical value, reflected in danger classes numerical value, the broadcast sound volume value of earphone, noise reduction state It penetrates in relationship and is matched, to obtain the corresponding broadcast sound volume value of danger classes and noise reduction state.
Form two: danger coefficient is the specific value for reflecting danger level;According to danger coefficient, inquire danger coefficient range with The mapping relations of danger classes, to obtain danger classes;According to danger classes, the broadcast state of earphone is adjusted.By danger classes, It is matched in danger classes, the broadcast sound volume value of earphone, the mapping relations of noise reduction state, it is corresponding to obtain danger classes Broadcast sound volume value and noise reduction state.
Form three: danger coefficient is the specific value for reflecting danger level.If danger coefficient is less than the coefficient threshold of setting, open With the decrease of noise functions of earphone, noise reduction is carried out with the audio signal played to earphone, and/or, increase the broadcast sound volume of earphone.If danger Dangerous coefficient is greater than or equal to the coefficient threshold of setting, closes the decrease of noise functions of earphone, to forbid the audio signal played to earphone Noise reduction is carried out, and/or, reduce the broadcast sound volume of earphone.
In the embodiment of above-mentioned form one, user establishes danger classes numerical value, earphone broadcast sound volume value, noise reduction shape in advance The mapping relations of state.After earphone receives the danger classes numerical value stored in the compartmentalization map map that server is sent, endangering Dangerous level value, the broadcast sound volume value of earphone are matched in the mapping relations of noise reduction state, corresponding to obtain danger classes Broadcast sound volume value and noise reduction state.For example, when 1 danger classes, the decrease of noise functions of earphone is opened, while by the broadcast sound volume of earphone It is adjusted to the first volume value, when 2 danger classes, opens the decrease of noise functions of earphone, while the broadcast sound volume of earphone is adjusted to the second sound Magnitude;When 3 danger classes, the decrease of noise functions of earphone is closed, while the broadcast sound volume of earphone is adjusted to third volume value;4 is dangerous When grade, the decrease of noise functions of earphone is closed, while the broadcast sound volume of earphone is adjusted to the 4th volume value;When 5 danger classes, close The decrease of noise functions of earphone, while the broadcast sound volume of earphone is adjusted to the 5th volume value, wherein the first volume value, the second volume value, Third volume value, the 4th volume value and the 5th volume value are sequentially reduced.Wherein, the first volume value, the second volume value, third volume Value, the 4th volume value, the 5th volume value, danger classes numerical value, the broadcast sound volume value of earphone, noise reduction state are not limited to above-mentioned reality Example is applied, user can be according to the actual situation to the first volume value, the second volume value, third volume value, the 4th volume value, the five notes of traditional Chinese music Magnitude, danger classes numerical value, the broadcast sound volume value of earphone, noise reduction state are set.
In the embodiment of above-mentioned form two, user establishes the mapping relations of danger coefficient range and danger classes in advance, After earphone receives the danger coefficient of server transmission, the mapping relations of danger coefficient range and danger classes are inquired, to obtain Danger classes;Then according to danger classes, the broadcast state of earphone is adjusted.A kind of mode that may be implemented is that user builds in advance Vertical danger classes, earphone broadcast sound volume value, the mapping relations of noise reduction state, in danger classes, the broadcast sound volume value of earphone, noise reduction It is matched in the mapping relations of state, to obtain the corresponding broadcast sound volume value of danger classes and noise reduction state.Danger classes, It is matched in the broadcast sound volume value of earphone, the mapping relations of noise reduction state, to obtain the corresponding broadcast sound volume value of danger classes With noise reduction state.Wherein, danger classes, the broadcast sound volume value of earphone, the mapping relations of noise reduction state can be by users according to reality Border situation is set, and danger classes, the broadcast sound volume value of earphone, the achievable embodiment of the mapping relations of noise reduction state can Referring to the description of embodiment in form one, details are not described herein.
In the embodiment of above-mentioned form three, coefficient threshold is set in advance in user, when danger coefficient is less than the coefficient of setting When threshold value, the decrease of noise functions of earphone is enabled, when danger coefficient is more than or equal to the coefficient threshold of setting, closes the noise reduction function of earphone Can, meanwhile, it can be in conjunction with the broadcast sound volume of actual conditions adjustment earphone.When danger coefficient is less than the coefficient threshold of setting, increase The broadcast sound volume of big earphone;Optionally, according to danger coefficient and volume threshold corresponding relationship, conjunction corresponding with danger coefficient is determined Manage volume value;If the broadcast sound volume of earphone is less than reasonable volume value, increase the broadcast sound volume of earphone, but be no more than reasonable volume Value.When danger coefficient is more than or equal to the coefficient threshold of setting, reduce the broadcast sound volume of earphone;Optionally, according to danger coefficient With volume threshold corresponding relationship, reasonable volume value corresponding with danger coefficient is determined;If the broadcast sound volume of earphone is greater than reasonable sound Magnitude then reduces the broadcast sound volume of earphone, until being not more than reasonable volume value.The present embodiment is to reasonable volume value, coefficient threshold It is not construed as limiting, user can adjust according to the actual situation.
In conjunction with the description of the various embodiments described above, Fig. 3 is that one kind that the application exemplary embodiment provides more detailed is broadcast The method flow diagram of place control method.As shown in figure 3, this method comprises:
S301: earphone obtains the position that earphone is currently located;
S302: position is sent to server by earphone;
S303: server receives the position that the earphone that earphone is sent is currently located;
S304: the position that server is currently located according to earphone determines earphone current environment region to wearing earphone The potential danger coefficient of user;
S305: danger coefficient is sent to earphone by server;
S306: earphone receives the danger coefficient that server is sent, and the broadcast state of earphone is adjusted according to danger coefficient.
In the application control method for playing back embodiment, sent by the terminal device that earphone or earphone communicate to connect The position that earphone is currently located, the position being currently located according to earphone determine earphone current environment region to wearing earphone The potential danger coefficient of user, danger coefficient is sent to earphone, for earphone according to danger coefficient adjust earphone broadcasting shape State is adaptively adjusted the sound of earphone for different zones environment locating for user, increases the intelligent journey of earphone Degree reduces the probability that Personal Risk occurs because wearing earphone for user to a certain extent, promotes user experience.
Fig. 4 is a kind of structural block diagram for broadcast control device that the application exemplary embodiment provides, as shown in figure 4, should Broadcast control device includes receiving module 401, determining module 402 and sending module 403.
Receiving module 401, the current institute of earphone for receiving earphone or with the terminal device transmission of earphone communication connection Position;
Determining module 402, for determining earphone current environment region dangerous system potential to the user for wearing earphone Number;
Sending module 403, for danger coefficient to be sent to earphone, so that earphone adjusts broadcasting for earphone according to danger coefficient Put state.
Optionally it is determined that module 402 determines earphone current environment region pair in the position being currently located according to earphone When wearing the potential danger coefficient of user of earphone, it is specifically used for: the existing region of location lookup being currently located according to earphone Change map, determines earphone current environment region;By earphone current environment region, reflected in environmental area and danger coefficient It penetrates in relationship and is matched, obtain the danger coefficient with earphone current environment Region Matching.
Optionally it is determined that module 402 determines earphone current environment region pair in the position being currently located according to earphone When wearing the potential danger coefficient of user of earphone, it is specifically used for: the existing region of location lookup being currently located according to earphone Change map, determines earphone current environment region;According to the environmental information in earphone current environment region, earphone is calculated Current environment region is to the potential danger coefficient of user.
Correspondingly, the embodiment of the present application also provides a kind of computer readable storage medium for being stored with computer program.When Computer-readable recording medium storage computer program, and when computer program is executed by one or more processors, cause one A or multiple processors execute each step in the control method for playing back embodiment of respective server end.
Fig. 5 is the structural block diagram for another broadcast control device that the application exemplary embodiment provides, as shown in figure 5, The broadcast control device includes obtaining module 501, sending module 502 and receiving module 503.
Obtain module 501, the position being currently located for obtaining earphone;
Sending module 502, for position to be sent to server, so that server determines that earphone is presently according to position Potential danger coefficient of the environmental area to the user for wearing earphone;
Receiving module 503, for receiving the danger coefficient of server transmission, and according to the broadcasting of danger coefficient adjustment earphone State.
Optionally, receiving module 503 is specifically used for: when adjusting the broadcast state of earphone according to danger coefficient according to danger Dangerous coefficient inquires the mapping relations of danger coefficient range and danger classes, to obtain danger classes;According to danger classes, adjustment The broadcast state of earphone.
Optionally, receiving module 503 is being specifically used for when adjusting the broadcast state of earphone according to danger classes: will be dangerous Grade is matched in danger classes, the broadcast sound volume value of earphone, the mapping relations of noise reduction state, to obtain danger classes Corresponding broadcast sound volume value and noise reduction state.
Optionally, receiving module 503 is specific to use when adjusting the broadcast state of the earphone according to the danger coefficient In: if the danger coefficient is less than the coefficient threshold of setting, the decrease of noise functions of the earphone is enabled, with what is played to the earphone Audio signal carries out noise reduction, and/or, increase the broadcast sound volume of the earphone;If the danger coefficient is greater than or equal to setting Coefficient threshold closes the decrease of noise functions of the earphone, to forbid carrying out noise reduction to the audio signal that the earphone plays, and/or, Reduce the broadcast sound volume of the earphone.
Optionally, receiving module 503 is specifically used for when increasing the broadcast sound volume of the earphone: according to danger coefficient with Volume threshold corresponding relationship determines reasonable volume value corresponding with the danger coefficient;If the broadcast sound volume of the earphone is less than The reasonable volume value increases the broadcast sound volume of the earphone, but is no more than the reasonable volume value.
Optionally, receiving module 503 is specifically used for: in the broadcast sound volume for reducing the earphone according to danger coefficient and sound Threshold value corresponding relationship is measured, determines reasonable volume value corresponding with the danger coefficient;If the broadcast sound volume of the earphone is greater than institute Reasonable volume value is stated, then reduces the broadcast sound volume of the earphone, until being not more than the reasonable volume value.
Correspondingly, the embodiment of the present application also provides a kind of computer readable storage medium for being stored with computer program.When Computer-readable recording medium storage computer program, and when computer program is executed by one or more processors, cause one A or multiple processors execute each step in corresponding earphone end control method for playing back embodiment.
In the application broadcast control device embodiment, sent by the terminal device that earphone or earphone communicate to connect The position that earphone is currently located, the position being currently located according to earphone determine earphone current environment region to wearing earphone The potential danger coefficient of user, danger coefficient is sent to earphone, for earphone according to danger coefficient adjust earphone broadcasting shape State is adaptively adjusted the sound of earphone for different zones environment locating for user, increases the intelligent journey of earphone Degree reduces the probability that Personal Risk occurs because wearing earphone for user to a certain extent, promotes user experience.
Fig. 6 is a kind of structural block diagram for server that the application exemplary embodiment provides, as shown in fig. 6, the server It include: that communication component 603, one or more processors 601, and one or more storages play the memory of control program 602;Server can also including power supply module 604 etc. necessary component.
Communication component 603, the current institute of earphone for receiving earphone or with the terminal device transmission of earphone communication connection Position, and danger coefficient is sent to earphone;
One or more processors 601 play control program for executing, to be used for: receiving earphone or logical with earphone The position that the earphone that the terminal device of letter connection is sent is currently located;The position being currently located according to earphone determines that earphone is current Local environment region is to the potential danger coefficient of user for wearing earphone;Danger coefficient is sent to earphone, for earphone according to The broadcast state of danger coefficient adjustment earphone.
Optionally, one or more processors 601, the position being currently located according to earphone determine that earphone is presently in ring Border region is to the potential danger coefficient of user for wearing earphone, and to be used for: the location lookup being currently located according to earphone is existing Compartmentalization map determines earphone current environment region;By earphone current environment region, in environmental area and dangerous system It is matched in number mapping relations, obtains the danger coefficient with earphone current environment Region Matching.
Optionally, one or more processors 601, the position being currently located according to earphone determine that earphone is presently in ring Border region is to the potential danger coefficient of user for wearing earphone, and to be used for: the location lookup being currently located according to earphone is existing Compartmentalization map determines earphone current environment region;According to the environmental information in earphone current environment region, calculate Earphone current environment region is to the potential danger coefficient of user.
Correspondingly, the embodiment of the present application also provides a kind of computer readable storage medium for being stored with computer program.When Computer-readable recording medium storage computer program, and when computer program is executed by one or more processors, cause one A or multiple processors execute each step in the control method for playing back embodiment of respective server end.
In the application server example, worked as by the earphone that the terminal device that earphone or earphone communicate to connect is sent The position at preceding place, the position being currently located according to earphone determine earphone current environment region to the user for wearing earphone Danger coefficient is sent to earphone by potential danger coefficient, adjusts the broadcast state of earphone according to danger coefficient for earphone, for Different zones environment locating for user, is adaptively adjusted the sound of earphone, increases the intelligence degree of earphone, certain journey The probability that Personal Risk occurs because wearing earphone for user is reduced on degree, promotes user experience.
Fig. 7 is a kind of structural block diagram for earphone that the application exemplary embodiment provides, as shown in fig. 7, the earphone includes: Communication component 701, one or more processors 702, and one or more storages play the memory 703 of control program, position Set sensor 704;
Position sensor 704, the position being currently located for obtaining earphone;
Communication component 701, for position to be sent to server, and the danger coefficient that reception server is sent;
Further, the earphone of the application exemplary embodiment can also include audio processing modules, noise reduction module, loudspeaking Device;Communication component 701 is bluetooth module;Audio processing modules, for handling audio signal;Noise reduction module, for pair Audio signal is handled;Loudspeaker is used for playing audio signal.Can also including power supply module 705 etc. necessary component.
One or more processors 702 play control program for executing, to be used for: obtaining the position that earphone is currently located It sets;Position is sent to server, so that server determines earphone current environment region to wearing earphone according to position The potential danger coefficient of user;The danger coefficient that server is sent is received, and adjusts the broadcasting shape of earphone according to danger coefficient State.
Optionally, one or more processors 702 adjust the broadcast state of earphone according to danger coefficient, to be used for: according to Danger coefficient inquires the mapping relations of danger coefficient range and danger classes, to obtain danger classes;According to danger classes, adjust The broadcast state of whole earphone.
Optionally, one or more processors 702 adjust the broadcast state of earphone according to danger classes, to be used for: will Danger classes is matched in danger classes, the broadcast sound volume value of earphone, the mapping relations of noise reduction state, to obtain danger The corresponding broadcast sound volume value of grade and noise reduction state.
Optionally, one or more processors 702 adjust the broadcast state of the earphone according to the danger coefficient, with For: if the danger coefficient is less than the coefficient threshold of setting, the decrease of noise functions of the earphone is enabled, to play to the earphone Audio signal carry out noise reduction, and/or, increase the broadcast sound volume of the earphone;If the danger coefficient is greater than or equal to setting Coefficient threshold, close the decrease of noise functions of the earphone, with forbid to the earphone play audio signal carry out noise reduction, and/ Or, reducing the broadcast sound volume of the earphone.
Optionally, one or more processors 702 increase the broadcast sound volume of the earphone, to be used for: according to danger coefficient With volume threshold corresponding relationship, reasonable volume value corresponding with the danger coefficient is determined;If the broadcast sound volume of the earphone is small In the reasonable volume value, increase the broadcast sound volume of the earphone, but is no more than the reasonable volume value.
Optionally, one or more processors 702 reduce the broadcast sound volume of the earphone, to be used for: according to danger coefficient With volume threshold corresponding relationship, reasonable volume value corresponding with the danger coefficient is determined;If the broadcast sound volume of the earphone is big In the reasonable volume value, then reduce the broadcast sound volume of the earphone, until being not more than the reasonable volume value.
Correspondingly, the embodiment of the present application also provides a kind of computer readable storage medium for being stored with computer program.When Computer-readable recording medium storage computer program, and when computer program is executed by one or more processors, cause one A or multiple processors execute each step in corresponding earphone end control method for playing back embodiment.
In the application earphone embodiment, the earphone sent by the terminal device that earphone or earphone communicate to connect is current The position at place, the position being currently located according to earphone determine that earphone current environment region is latent to the user for wearing earphone Danger coefficient, danger coefficient is sent to earphone, for earphone according to danger coefficient adjust earphone broadcast state, for Different zones environment locating for family, is adaptively adjusted the sound of earphone, increases the intelligence degree of earphone, to a certain degree The upper probability for reducing user and Personal Risk occurring because wearing earphone, promotes user experience.
Have between equipment and other equipment where communication component in above-mentioned Fig. 6 and Fig. 7 is configured to facilitate communication component The communication of line or wireless mode.Equipment where communication component can access the wireless network based on communication standard, such as WiFi, 2G or 3G or their combination.In one exemplary embodiment, communication component receives via broadcast channel and comes from external broadcasting management The broadcast singal or broadcast related information of system.In one exemplary embodiment, the communication component further includes near-field communication (NFC) technology, radio frequency identification (RFID) technology, Infrared Data Association (IrDA) technology, ultra wide band (UWB) technology and bluetooth (BT) Technology etc., to promote short range communication.
Power supply module in above-mentioned Fig. 6 and Fig. 7, the various assemblies of equipment provide electric power where power supply module.Power supply group Part may include power-supply management system, one or more power supplys and other with generated for equipment where power supply module, management and point With the associated component of electric power.
It should be understood by those skilled in the art that, the embodiment of the present invention can provide as method, system or computer program Product.Therefore, complete hardware embodiment, complete software embodiment or reality combining software and hardware aspects can be used in the present invention Apply the form of example.Moreover, it wherein includes the computer of computer usable program code that the present invention, which can be used in one or more, The computer program implemented in usable storage medium (including but not limited to magnetic disk storage, CD-ROM, optical memory etc.) produces The form of product.
The present invention be referring to according to the method for the embodiment of the present invention, the process of equipment (system) and computer program product Figure and/or block diagram describe.It should be understood that every one stream in flowchart and/or the block diagram can be realized by computer program instructions The combination of process and/or box in journey and/or box and flowchart and/or the block diagram.It can provide these computer programs Instruct the processor of general purpose computer, special purpose computer, Embedded Processor or other programmable data processing devices to produce A raw machine, so that being generated by the instruction that computer or the processor of other programmable data processing devices execute for real The device for the function of being specified in present one or more flows of the flowchart and/or one or more blocks of the block diagram.
These computer program instructions, which may also be stored in, is able to guide computer or other programmable data processing devices with spy Determine in the computer-readable memory that mode works, so that it includes referring to that instruction stored in the computer readable memory, which generates, Enable the manufacture of device, the command device realize in one box of one or more flows of the flowchart and/or block diagram or The function of being specified in multiple boxes.
These computer program instructions also can be loaded onto a computer or other programmable data processing device, so that counting Series of operation steps are executed on calculation machine or other programmable devices to generate computer implemented processing, thus in computer or The instruction executed on other programmable devices is provided for realizing in one or more flows of the flowchart and/or block diagram one The step of function of being specified in a box or multiple boxes.
In a typical configuration, calculating equipment includes one or more processors (CPU), input/output interface, net Network interface and memory.
Memory may include the non-volatile memory in computer-readable medium, random access memory (RAM) and/or The forms such as Nonvolatile memory, such as read-only memory (ROM) or flash memory (flash RAM).Memory is computer-readable medium Example.
Computer-readable medium includes permanent and non-permanent, removable and non-removable media can be by any method Or technology come realize information store.Information can be computer readable instructions, data structure, the module of program or other data. The example of the storage medium of computer includes, but are not limited to phase change memory (PRAM), static random access memory (SRAM), moves State random access memory (DRAM), other kinds of random access memory (RAM), read-only memory (ROM), electric erasable Programmable read only memory (EEPROM), flash memory or other memory techniques, read-only disc read only memory (CD-ROM) (CD-ROM), Digital versatile disc (DVD) or other optical storage, magnetic cassettes, tape magnetic disk storage or other magnetic storage devices Or any other non-transmission medium, can be used for storage can be accessed by a computing device information.As defined in this article, it calculates Machine readable medium does not include temporary computer readable media (transitory media), such as the data-signal and carrier wave of modulation.
It should also be noted that, the terms "include", "comprise" or its any other variant are intended to nonexcludability It include so that the process, method, commodity or the equipment that include a series of elements not only include those elements, but also to wrap Include other elements that are not explicitly listed, or further include for this process, method, commodity or equipment intrinsic want Element.In the absence of more restrictions, the element limited by sentence "including a ...", it is not excluded that including described want There is also other identical elements in the process, method of element, commodity or equipment.
The above description is only an example of the present application, is not intended to limit this application.For those skilled in the art For, various changes and changes are possible in this application.All any modifications made within the spirit and principles of the present application are equal Replacement, improvement etc., should be included within the scope of the claims of this application.

Claims (12)

1. a kind of control method for playing back is suitable for server, which is characterized in that the described method includes:
The position that the earphone that reception earphone or the terminal device communicated to connect with earphone are sent is currently located;
According to the position that the earphone is currently located, determine earphone current environment region to the use for wearing the earphone The potential danger coefficient in family;
The danger coefficient is sent to the earphone, so that the earphone adjusts broadcasting for the earphone according to the danger coefficient Put state.
2. the method according to claim 1, wherein according to the position that the earphone is currently located, described in determination Earphone current environment region is to the potential danger coefficient of user for wearing the earphone, comprising:
The existing compartmentalization map of location lookup being currently located according to the earphone, determines earphone current environment area Domain;
By earphone current environment region, matched in environmental area and danger coefficient mapping relations, obtain with The danger coefficient of the earphone current environment Region Matching.
3. the method according to claim 1, wherein according to the position that the earphone is currently located, described in determination Earphone current environment region is to the potential danger coefficient of user for wearing the earphone, comprising:
The existing compartmentalization map of location lookup being currently located according to the earphone, determines earphone current environment area Domain;
According to the environmental information in earphone current environment region, earphone current environment region is calculated to institute State the potential danger coefficient of user.
4. a kind of control method for playing back is suitable for earphone, which is characterized in that the described method includes:
Obtain the position that the earphone is currently located;
The position is sent to server, so that the server determines the earphone current environment according to the position Potential danger coefficient of the region to the user for wearing the earphone;
The danger coefficient that the server is sent is received, and adjusts the broadcasting shape of the earphone according to the danger coefficient State.
5. according to the method described in claim 4, it is characterized in that, adjusting the broadcasting shape of the earphone according to the danger coefficient State, comprising:
According to danger coefficient, the mapping relations of danger coefficient range and danger classes are inquired, to obtain danger classes;
According to the danger classes, the broadcast state of the earphone is adjusted.
6. according to the method described in claim 5, it is characterized in that, adjust the broadcast state of the earphone according to danger classes, Include:
By the danger classes, matched in danger classes, the broadcast sound volume value of earphone, the mapping relations of noise reduction state, To obtain the corresponding broadcast sound volume value of danger classes and noise reduction state.
7. according to the method described in claim 4, it is characterized in that, adjusting the broadcasting shape of the earphone according to the danger coefficient State, comprising:
If the danger coefficient is less than the coefficient threshold of setting, the decrease of noise functions of the earphone is enabled, to play to the earphone Audio signal carry out noise reduction, and/or, increase the broadcast sound volume of the earphone;
If the danger coefficient is greater than or equal to the coefficient threshold of setting, the decrease of noise functions of the earphone is closed, to forbid to institute The audio signal for stating earphone broadcasting carries out noise reduction, and/or, reduce the broadcast sound volume of the earphone.
8. the method according to the description of claim 7 is characterized in that
Increase the broadcast sound volume of the earphone, comprising:
According to danger coefficient and volume threshold corresponding relationship, reasonable volume value corresponding with the danger coefficient is determined;
If the broadcast sound volume of the earphone is less than the reasonable volume value, increase the broadcast sound volume of the earphone, but be no more than institute State reasonable volume value.
Reduce the broadcast sound volume of the earphone, comprising:
According to danger coefficient and volume threshold corresponding relationship, reasonable volume value corresponding with the danger coefficient is determined;
If the broadcast sound volume of the earphone is greater than the reasonable volume value, reduce the broadcast sound volume of the earphone, until less In the reasonable volume value.
9. a kind of broadcast control device characterized by comprising
Receiving module, what the earphone that the terminal device for receiving earphone or communicating to connect with earphone is sent was currently located Position;
Determining module, for determining earphone current environment region dangerous system potential to the user for wearing the earphone Number;
Sending module, for the danger coefficient to be sent to the earphone, so that the earphone is according to the danger coefficient tune The broadcast state of the whole earphone.
10. a kind of server characterized by comprising communication component, one or more processors and one or more are deposited Storage plays the memory of control program;
The communication component, what the earphone that the terminal device for receiving earphone or communicating to connect with earphone is sent was currently located Position, and danger coefficient is sent to the earphone;
One or more of processors, for execute it is described play control program when realize that claim 1-3 is any described The step of control method for playing back.
11. a kind of broadcast control device characterized by comprising
Obtain module, the position being currently located for obtaining the earphone;
Sending module, for the position to be sent to server, so that the server determines the ear according to the position Potential danger coefficient of the machine current environment region to the user for wearing the earphone;
Receiving module, the danger coefficient sent for receiving the server, and according to danger coefficient adjustment The broadcast state of earphone.
12. a kind of earphone characterized by comprising position sensor, communication component, one or more processors and one Or multiple storages play the memory of control program;
The position sensor, the position being currently located for obtaining the earphone;
The communication component, for the position to be sent to server, and the danger coefficient that reception server is sent;
One or more of processors, for execute it is described play control program when realize that claim 4-9 is any described The step of control method for playing back.
CN201811536721.9A 2018-12-14 2018-12-14 Control method for playing back and equipment Pending CN109672958A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811536721.9A CN109672958A (en) 2018-12-14 2018-12-14 Control method for playing back and equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811536721.9A CN109672958A (en) 2018-12-14 2018-12-14 Control method for playing back and equipment

Publications (1)

Publication Number Publication Date
CN109672958A true CN109672958A (en) 2019-04-23

Family

ID=66144826

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811536721.9A Pending CN109672958A (en) 2018-12-14 2018-12-14 Control method for playing back and equipment

Country Status (1)

Country Link
CN (1) CN109672958A (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111491231A (en) * 2020-03-16 2020-08-04 深圳市多亲科技有限公司 Method and device for playing alarm prompt tone by earphone and mobile terminal
CN111696577A (en) * 2020-06-05 2020-09-22 北京搜狗科技发展有限公司 Reminding method and device and earphone
CN112702672A (en) * 2020-12-17 2021-04-23 北京搜狗科技发展有限公司 Adjusting method and device and earphone equipment
CN117041803A (en) * 2023-08-30 2023-11-10 江西瑞声电子有限公司 Earphone playing control method, electronic equipment and storage medium
CN117061927A (en) * 2023-08-30 2023-11-14 江西瑞声电子有限公司 Earphone playing control method, electronic equipment and storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20130018584A1 (en) * 2011-07-12 2013-01-17 Hon Hai Precision Industry Co., Ltd. Electronic device with work-mode switching function and method thereof
CN105262879A (en) * 2014-07-16 2016-01-20 宇龙计算机通信科技(深圳)有限公司 Volume gain control method and device and terminal
CN105611443A (en) * 2015-12-29 2016-05-25 歌尔声学股份有限公司 Control method and system of earphone and earphone
CN105939415A (en) * 2016-04-14 2016-09-14 Tcl集团股份有限公司 Security alert method and system in external auditory masking state
CN107071008A (en) * 2017-03-28 2017-08-18 北京小米移动软件有限公司 Localization method, device and the equipment of terminal device

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20130018584A1 (en) * 2011-07-12 2013-01-17 Hon Hai Precision Industry Co., Ltd. Electronic device with work-mode switching function and method thereof
CN105262879A (en) * 2014-07-16 2016-01-20 宇龙计算机通信科技(深圳)有限公司 Volume gain control method and device and terminal
CN105611443A (en) * 2015-12-29 2016-05-25 歌尔声学股份有限公司 Control method and system of earphone and earphone
CN105939415A (en) * 2016-04-14 2016-09-14 Tcl集团股份有限公司 Security alert method and system in external auditory masking state
CN107071008A (en) * 2017-03-28 2017-08-18 北京小米移动软件有限公司 Localization method, device and the equipment of terminal device

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111491231A (en) * 2020-03-16 2020-08-04 深圳市多亲科技有限公司 Method and device for playing alarm prompt tone by earphone and mobile terminal
CN111696577A (en) * 2020-06-05 2020-09-22 北京搜狗科技发展有限公司 Reminding method and device and earphone
CN112702672A (en) * 2020-12-17 2021-04-23 北京搜狗科技发展有限公司 Adjusting method and device and earphone equipment
CN117041803A (en) * 2023-08-30 2023-11-10 江西瑞声电子有限公司 Earphone playing control method, electronic equipment and storage medium
CN117061927A (en) * 2023-08-30 2023-11-14 江西瑞声电子有限公司 Earphone playing control method, electronic equipment and storage medium
CN117041803B (en) * 2023-08-30 2024-03-22 江西瑞声电子有限公司 Earphone playing control method, electronic equipment and storage medium
CN117061927B (en) * 2023-08-30 2024-03-22 江西瑞声电子有限公司 Earphone playing control method, electronic equipment and storage medium

Similar Documents

Publication Publication Date Title
CN109672958A (en) Control method for playing back and equipment
US20230070507A1 (en) Acoustic output apparatus and method thereof
US9510078B2 (en) Wireless earpiece with local audio cache
US20230308067A1 (en) Intelligent audio output devices
US10158934B2 (en) Case for multiple earpiece pairs
CN106164845B (en) Dynamic audio frequency horizontal adjustment based on concern
US9344793B2 (en) Audio apparatus and methods
CN109714663A (en) A kind of control method of earphone, earphone and storage medium
US8024596B2 (en) Personal wireless network power-based task distribution
CN108521521A (en) volume adjusting method, mobile terminal and computer readable storage medium
CN105722009A (en) Portable Apparatus And Method Of Controlling Location Information Of Portable Apparatus
CN107408386A (en) Electronic installation is controlled based on voice direction
KR20160075060A (en) Method for controlling function based on battery information and electronic device thereof
CN105049977A (en) Automatic earphone volume adjusting method and device
CN108536418A (en) A kind of method, apparatus and wireless sound box of the switching of wireless sound box play mode
CN109121035A (en) Earphone abnormality eliminating method, earphone, system and storage medium
CN103546617A (en) Voice adjusting method and terminal
US11721350B2 (en) Sound quality detection method and device for homologous audio and storage medium
CN109688498A (en) A kind of volume adjusting method, earphone and storage medium
US20190273980A1 (en) Wearable electronic devices configured to interface with portable wireless audio devices
CN107613113A (en) A kind of headset mode control method, device and computer-readable recording medium
CN110147557A (en) The charging box and storage medium of a kind of interpretation method, system and wireless headset
CN203933951U (en) Portable mobile wireless OK a karaoke club OK music microphone
US11956608B2 (en) System and method for adjusting audio parameters for a user
CN107425568A (en) Prevent battery from crossing the method, apparatus put, mobile terminal and storage medium

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
RJ01 Rejection of invention patent application after publication

Application publication date: 20190423

RJ01 Rejection of invention patent application after publication