Specific embodiment
It should be appreciated that the specific embodiments described herein are merely illustrative of the present invention, it is not intended to limit the present invention.
In subsequent description, it is only using the suffix for indicating such as " module ", " component " or " unit " of elementBe conducive to explanation of the invention, itself there is no a specific meaning.Therefore, " module ", " component " or " unit " can mixGround uses.
The wearable device provided in the embodiment of the present invention includes that Intelligent bracelet, smartwatch and smart phone etc. moveDynamic terminal.With the continuous development of Screen Technology, the appearance of the screens form such as flexible screen, Folding screen, smart phone etc. is mobile eventuallyEnd can also be used as wearable device.The wearable device provided in the embodiment of the present invention may include: RF (RadioFrequency, radio frequency) unit, WiFi module, audio output unit, A/V (audio/video) input unit, sensor, displayThe components such as unit, user input unit, interface unit, memory, processor and power supply.
It will be illustrated by taking wearable device as an example in subsequent descriptions, referring to Fig. 1, its each implementation to realize the present inventionA kind of hardware structural diagram of wearable device of example, which may include: RF (RadioFrequency, radio frequency) unit 101, WiFi module 102, audio output unit 103, A/V (audio/video) input unit 104,Sensor 105, display unit 106, user input unit 107, interface unit 108, memory 109, processor 110, Yi Ji electricityThe components such as source 111.It will be understood by those skilled in the art that wearable device structure shown in Fig. 1 is not constituted to wearableThe restriction of equipment, wearable device may include perhaps combining certain components or difference than illustrating more or fewer componentsComponent layout.
It is specifically introduced below with reference to all parts of the Fig. 1 to wearable device:
Radio frequency unit 101 can be used for receiving and sending messages or communication process in, signal sends and receivees, specifically, radio frequency listUplink information can be sent to base station by member 101, and after the downlink information that in addition can also be sent base station receives, being sent to can be wornThe processor 110 for wearing equipment is handled, and base station can be to the downlink information that radio frequency unit 101 is sent and be sent out according to radio frequency unit 101What the uplink information sent generated, it is also possible to actively push away to radio frequency unit 101 after the information update for detecting wearable deviceIt send, for example, base station can penetrating to wearable device after detecting that geographical location locating for wearable device changesFrequency unit 101 sends the message informing of geographical location variation, and radio frequency unit 101, can should after receiving the message informingThe processor 110 that message informing is sent to wearable device is handled, and it is logical that the processor 110 of wearable device can control the messageKnow on the display panel 1061 for being shown in wearable device;In general, radio frequency unit 101 include but is not limited to antenna, at least oneAmplifier, transceiver, coupler, low-noise amplifier, duplexer etc..In addition, radio frequency unit 101 can also pass through channel radioLetter communicated with network and other equipment, specifically may include: by wireless communication with the server communication in network system, exampleSuch as, wearable device can download file resource from server by wireless communication, for example can download and answer from serverWith program, after wearable device completes the downloading of a certain application program, if the corresponding file of the application program in serverResource updates, then the server can be by wireless communication to the message informing of wearable device push resource updates, to remindUser is updated the application program.Any communication standard or agreement can be used in above-mentioned wireless communication, including but not limited toGSM (Global System of Mobile communication, global system for mobile communications), GPRS (GeneralPacket Radio Service, general packet radio service), CDMA2000 (Code Division Multiple Access2000, CDMA 2000), (Wideband Code Division Multiple Access, wideband code division are more by WCDMALocation), TD-SCDMA (Time Division-Synchronous Code Division Multiple Access, time division synchronousCDMA), (Frequency Division Duplexing-Long Term Evolution, frequency division duplex are long by FDD-LTEPhase evolution) and TDD-LTE (Time Division Duplexing-Long Term Evolution, time division duplex are drilled for a long timeInto) etc..
In one embodiment, wearable device 100 can access existing communication network by insertion SIM card.
In another embodiment, wearable device 100 can be come real by the way that esim card (Embedded-SIM) is arrangedExisting communication network is now accessed, by the way of esim card, the inner space of wearable device can be saved, reduce thickness.
It is understood that although Fig. 1 shows radio frequency unit 101, but it is understood that, radio frequency unit 101 itsAnd it is not belonging to must be configured into for wearable device, it can according to need within the scope of not changing the essence of the invention and save completelySlightly.Wearable device 100 can realize the communication connection with other equipment or communication network separately through wifi module 102,The embodiment of the present invention is not limited thereto.
WiFi belongs to short range wireless transmission technology, and wearable device can help user to receive and dispatch by WiFi module 102Email, browsing webpage and access streaming video etc., it provides wireless broadband internet access for user.Although Fig. 1WiFi module 102 is shown, but it is understood that, and it is not belonging to must be configured into for wearable device, it completely can rootIt is omitted within the scope of not changing the essence of the invention according to needs.
Audio output unit 103 can be in call signal reception pattern, call mode, record in wearable device 100When under the isotypes such as mode, speech recognition mode, broadcast reception mode, by radio frequency unit 101 or WiFi module 102 it is received orThe audio data that person stores in memory 109 is converted into audio signal and exports to be sound.Moreover, audio output unit103 can also provide audio output relevant to the specific function that wearable device 100 executes (for example, call signal reception soundSound, message sink sound etc.).Audio output unit 103 may include loudspeaker, buzzer etc..
A/V input unit 104 is for receiving audio or video signal.A/V input unit 104 may include graphics processor(Graphics Processing Unit, GPU) 1041 and microphone 1042, graphics processor 1041 is in video acquisition modeOr the image data of the static images or video obtained in image capture mode by image capture apparatus (such as camera) carries outReason.Treated, and picture frame may be displayed on display unit 106.Through graphics processor 1041, treated that picture frame can be depositedStorage is sent in memory 109 (or other storage mediums) or via radio frequency unit 101 or WiFi module 102.MikeWind 1042 can connect in telephone calling model, logging mode, speech recognition mode etc. operational mode via microphone 1042Quiet down sound (audio data), and can be audio data by such acoustic processing.Audio that treated (voice) data canTo be converted to the format output that can be sent to mobile communication base station via radio frequency unit 101 in the case where telephone calling model.Microphone 1042 can be implemented various types of noises elimination (or inhibition) algorithms and send and receive sound to eliminate (or inhibition)The noise generated during frequency signal or interference.
In one embodiment, wearable device 100 includes one or more cameras, by opening camera,It can be realized the capture to image, realize the functions such as take pictures, record a video, the position of camera, which can according to need, to be configured.
Wearable device 100 further includes at least one sensor 105, for example, optical sensor, motion sensor and otherSensor.Specifically, optical sensor includes ambient light sensor and proximity sensor, wherein ambient light sensor can be according to ringThe light and shade of border light adjusts the brightness of display panel 1061, proximity sensor can when wearable device 100 is moved in one's ear,Close display panel 1061 and/or backlight.As a kind of motion sensor, accelerometer sensor can detect in all directionsThe size of (generally three axis) acceleration, can detect that size and the direction of gravity, can be used to identify mobile phone posture when staticIt (for example pedometer, is struck using (such as horizontal/vertical screen switching, dependent game, magnetometer pose calibrating), Vibration identification correlation functionHit) etc..
In one embodiment, wearable device 100 further includes proximity sensor, can by using proximity sensorWearable device can be realized non-contact manipulation, provide more modes of operation.
In one embodiment, wearable device 100 further includes heart rate sensor, when wearing, by close to usingPerson can be realized the detecting of heart rate.
In one embodiment, wearable device 100 can also include that fingerprint sensor can by reading fingerprintRealize the functions such as safety verification.
Display unit 106 is for showing information input by user or being supplied to the information of user.Display unit 106 can wrapDisplay panel 1061 is included, liquid crystal display (Liquid Crystal Display, LCD), Organic Light Emitting Diode can be usedForms such as (Organic Light-Emitting Diode, OLED) configure display panel 1061.
In one embodiment, display panel 1061 uses flexible display screen, and wearable using flexible display screen setsFor when wearing, screen is able to carry out bending, to more be bonded.Optionally, the flexible display screen can use OLED screenBody and graphene screen body, in other embodiments, the flexible display screen is also possible to other display materials, the present embodimentIt is not limited thereto.
In one embodiment, the display panel 1061 of wearable device can take rectangle, ring when convenient for wearingAround.In other embodiments, other modes can also be taken.
User input unit 107 can be used for receiving the number or character information of input, and generate and wearable deviceUser setting and the related key signals input of function control.Specifically, user input unit 107 may include touch panel 1071And other input equipments 1072.Touch panel 1071, also referred to as touch screen collect the touch behaviour of user on it or nearbyMake (for example user uses any suitable objects or attachment such as finger, stylus on touch panel 1071 or in touch panelOperation near 1071), and corresponding attachment device is driven according to preset formula.Touch panel 1071 may include touchingTwo parts of detection device and touch controller.Wherein, the touch orientation of touch detecting apparatus detection user, and detect touch behaviourMake bring signal, transmits a signal to touch controller;Touch controller receives touch information from touch detecting apparatus, andIt is converted into contact coordinate, then gives processor 110, and order that processor 110 is sent can be received and executed.ThisOutside, touch panel 1071 can be realized using multiple types such as resistance-type, condenser type, infrared ray and surface acoustic waves.In addition to touchingPanel 1071 is controlled, user input unit 107 can also include other input equipments 1072.Specifically, other input equipments 1072It can include but is not limited to physical keyboard, function key (such as volume control button, switch key etc.), trace ball, mouse, operationOne of bar etc. is a variety of, specifically herein without limitation.
In one embodiment, one or more buttons have can be set in the side of wearable device 100.Button can be withThe various ways such as short-press, long-pressing, rotation are realized, to realize a variety of operating effects.The quantity of button can be different to be multipleIt can be applied in combination between button, realize a variety of operating functions.
Further, touch panel 1071 can cover display panel 1061, when touch panel 1071 detect on it orAfter neighbouring touch operation, processor 110 is sent to determine the type of touch event, is followed by subsequent processing device 110 according to touch thingThe type of part provides corresponding visual output on display panel 1061.Although in Fig. 1, touch panel 1071 and display panel1061 be the function that outputs and inputs of realizing wearable device as two independent components, but in certain embodiments,Touch panel 1071 and display panel 1061 can be integrated and be realized the function that outputs and inputs of wearable device, specifically hereinWithout limitation.For example, processor 110 can be controlled when receiving the message informing of a certain application program by radio frequency unit 101The message informing show in a certain predeterminable area of display panel 1061 by system, the predeterminable area and touch panel 1071 certainOne region is corresponding, can be to corresponding to area on display panel 1061 by carrying out touch control operation to a certain region of touch panel 1071The message informing shown in domain is controlled.
Interface unit 108 be used as at least one external device (ED) connect with wearable device 100 can by interface.ExampleSuch as, external device (ED) may include wired or wireless headphone port, external power supply (or battery charger) port, You XianhuoWireless data communications port, memory card port, the port for connecting the device with identification module, audio input/output (I/O) endMouth, video i/o port, ear port etc..Interface unit 108 can be used for receiving the input from external device (ED) (for example, numberIt is believed that breath, electric power etc.) and the input received is transferred to one or more elements in wearable device 100 or canFor transmitting data between wearable device 100 and external device (ED).
In one embodiment, wearable device 100 interface unit 108 using contact structure, by contact withCorresponding other equipment connection, realizes the functions such as charging, connection.Use contact can be with waterproof.
Memory 109 can be used for storing software program and various data.Memory 109 can mainly include storing program areaThe storage data area and, wherein storing program area can (such as the sound of application program needed for storage program area, at least one functionSound playing function, image player function etc.) etc.;Storage data area can store according to mobile phone use created data (such asAudio data, phone directory etc.) etc..In addition, memory 109 may include high-speed random access memory, it can also include non-easyThe property lost memory, a for example, at least disk memory, flush memory device or other volatile solid-state parts.
Processor 110 is the control centre of wearable device, utilizes various interfaces and the entire wearable device of connectionVarious pieces, by running or execute the software program and/or module that are stored in memory 109, and call and be stored inData in memory 109 execute the various functions and processing data of wearable device, to carry out to wearable device wholeMonitoring.Processor 110 may include one or more processing units;Preferably, processor 110 can integrate application processor and modulationDemodulation processor, wherein the main processing operation system of application processor, user interface and application program etc., modulation /demodulation processingDevice mainly handles wireless communication.It is understood that above-mentioned modem processor can not also be integrated into processor 110.
Wearable device 100 can also include the power supply 111 (such as battery) powered to all parts, it is preferred that power supply111 can be logically contiguous by power-supply management system and processor 110, thus charged by power-supply management system realization management,The functions such as electric discharge and power managed.
Although Fig. 1 is not shown, wearable device 100 can also be including bluetooth module etc., and details are not described herein.It is wearable to setStandby 100, by bluetooth, can connect with other terminal devices, realize communication and the interaction of information.
Fig. 2-Fig. 4 is please referred to, is the structure under a kind of a kind of embodiment of wearable device provided in an embodiment of the present inventionSchematic diagram.Wearable device in the embodiment of the present invention, including flexible screen.In wearable device expansion, flexible screen is inStrip;When wearable device is in wearing state, flexible screen bending is annular in shape.Fig. 2 and Fig. 3 show wearable deviceStructural schematic diagram when screen is unfolded, Fig. 4 show structural schematic diagram when wearable device screen-bending.
Based on above-mentioned each embodiment, it can be seen that if the equipment is wrist-watch, bracelet or wearable deviceWhen, the screen of the equipment can not overlay device watchband region, can also be with the watchband region of overlay device.Here, this ShenIt please propose a kind of optional embodiment, in the present embodiment, the equipment for wrist-watch, bracelet or wearable can be setStandby, the equipment includes screen and interconnecting piece.The screen can be flexible screen, and the interconnecting piece can be watchband.It canChoosing, the screen of the equipment or the viewing area of screen can be partly or completely covered on the watchband of equipment.Such as Fig. 5Shown, Fig. 5 is a kind of a kind of hardware schematic of embodiment of wearable device provided by the embodiments of the present application, the equipmentScreen extends to two sides, and part is covered on the watchband of equipment.In other embodiments, the screen of the equipment can also be withIt is all covered on the watchband of the equipment, the embodiment of the present application is not limited thereto.
Based on above-mentioned wearable device hardware configuration and communications network system, each embodiment of the method for the present invention is proposed.
Referring to Fig. 6, in wearable device volume adjusting method first embodiment of the present invention, wearable device volume adjustmentMethod includes:
Step S10 is obtained between wearable device and user's head when detecting that wearable device is adjusting volumeFirst distance and wearable device tune after volume;
The embodiment of the present invention is mainly the volume that is adjusted by user, in conjunction between wearable device and user's head away fromNoisy degree from, environment, determines the preferred volume of user, then the environment according to locating for wearable device, such as wearable deviceThe noisy degree of the distance between user's head, wearable device local environment dynamically adjusts the volume of wearable device, makesObtain the volume that the volume that user receives is always user preference.
When detecting that user is adjusting wearable device volume, the between wearable device and user's head is obtainedOne distance, and obtain volume after the tune of wearable device volume after the adjustment.Wherein it is possible to using some position on head as baseStandard, such as ear, then ear is exactly first distance at a distance from wearable device.The mode of detection first distance can be, and pass throughCamera acquisition user's head portrait simultaneously calculates first distance by algorithm, or by infrared sensor etc. detect first away fromFrom.
Wherein, first distance, refer to user when adjusting wearable device volume, the datum mark of user's head with it is wearableThe distance between equipment, user's head refer to the head of wearable device user.Volume after tune refers to that user sets wearableAfter standby volume adjustment, do not change wearable device volume in preset time again.Such as, user adjusts by wearable device volume 1To volume 2, in preset time 1 minute, do not change again, then volume 2 is volume after adjusting;If user is by wearable deviceAfter volume 1 is adjusted to volume 2, volume 2 is adjusted to volume 3 again after 30 seconds, does not change volume again in preset time 1 minute3, then volume 3 is volume after adjusting.
Optionally, the step of obtaining the first distance between wearable device and user's head include:
Step A1 acquires user's head portrait by wearable device camera;
When user adjusts wearable device volume, wearable device camera can be clapped the setting of wearable device cameraTake the photograph the position of user's head portrait;Wearable device camera referred herein, which can be, is integrated setting with wearable device,It is also possible to independent separate setting, but in order to accurately calculate user's head and wearable device by wearable device cameraBetween first distance, be preferably integrated setting with wearable device.In order to obtain wearable device and user's head itBetween first distance, firstly, by wearable device camera acquire user's head portrait.
The first distance between wearable device and user's head is calculated according to user's head portrait in step A2.
Then, collected user's head portrait is calculated by algorithm, the wearable device for calculating acquisition user's head portrait is taken the photographAs head is at a distance from user's head, to obtain the first distance between wearable device and user's head.For example, being based on userHead portrait occupied ratio in entirely shooting image, determines the first distance between wearable device and user's head, wherein theOne distance is inversely proportional with occupation proportion.
In the present embodiment, user's head portrait is acquired by wearable device camera, passes through algorithm further according to user's head portraitThe distance between wearable device camera and user's head is calculated, can accurately calculate wearable device and uses accountThe distance between portion, further to be provided according to the preferred volume that the distance between wearable device and user's head calculate userAccurate data.
Step S20 determines the preferred volume of user according to volume after first distance and tune;
Specifically, a kind of embodiment is to determine that volume is in the loss ratio for transmitting first distance generation after adjusting, and be based on damageIn the loss volume generated after transmitting first distance, (volume generates volume in transmission first distance after adjusting after the determining tune of loss-rateThe product of volume after loss ratio and tune), then volume after tune is subtracted to the loss volume that volume generates after adjusting, it is effective to obtain userReceived volume, using the effectively received volume of user as the preferred volume of user.A kind of embodiment is to determine volume after adjustingThe loss ratio that volume generates under the noisy degree of current environment after the loss ratio and tune that transmission first distance generates, and baseIn the loss volume generated after transmitting first distance, (volume produces volume in transmission first distance after adjusting after loss ratio is determined and adjustedThe product of volume after raw loss ratio and tune), adjust after volume generated under the noisy degree of current environment loss volume (i.e. adjust afterThe product of volume after loss ratio and tune that volume generates under the noisy degree of current environment), after volume after tune is then subtracted tuneThe loss volume of volume generation simultaneously subtracts the loss volume generated under the noisy degree of current environment, obtains user and effectively receivesVolume, using the effectively received volume of user as the preferred volume of user.The preferred volume of user will be used as subsequent adjustment canThe adjustment standard of the foundation of wearable device volume, wearable device volume is, when wearable device is sent out apart from user's head distanceWearable device volume is adjusted when changing or wearable device local environment change, and is guaranteed in wearable device volumeAfter adjustment, effective volume that user can receive remains the preferred volume of user.
Wherein, preferred volume, for volume after transmitting first distance, user receives effective volume after referring to tune.
Optionally, step S20 includes:
Step S21 obtains the first noisy degree of wearable device local environment;
When adjusting wearable device volume by sensor acquisition user, the size of the noisy sound of external environment,So that it is determined that the noisy degree of wearable device local environment.Wherein, the first noisy degree refers to that user is adjusting wearable deviceWhen volume, the size of the noisy sound of wearable device local environment, such as the decibel of noise.
Step S22 determines the preferred volume of user according to volume after the first noisy degree, first distance and tune.
Determine the volume noisy degree of volume in current environment after the loss ratio and tune that transmission first distance generates after adjustingThe loss ratio of lower generation, and based on loss ratio determine adjust after volume generated after transmit first distance loss volume (i.e. tune afterVolume transmission first distance generate loss ratio and tune after volume product), adjust after volume under the noisy degree of current environmentThe loss volume of generation, then volume after tune is subtracted to the loss volume that volume generates after adjusting (volume is in current environment after adjustingNoisy degree under after the loss ratio that generates and tune volume product) and subtract the loss generated under the noisy degree of current environmentVolume obtains the effectively received volume of user, using the effectively received volume of user as the preferred volume of user.
In the present embodiment, the noisy degree and wearable device of comprehensive wearable device local environment and user's headFirst distance, after volume transmits first distance under the noisy degree of current environment after tune, when being transmitted to user, user can be connectThe effective volume received, so that it is determined that the preferred volume of user, adjusts wearable device volume for subsequent automatic dynamic and be provided withAccurate foundation is imitated, so that the effective volume for being transferred to user remains the preferred volume of user.
Step S30 obtains the motion state of wearable device;
Specifically, wearable device can obtain the fortune of wearable device by motion sensor with in-built motion sensorThe move distance of dynamic direction and wearable device.Wherein, motion state refers to all directions of wearable device movement, withAnd the move distance of all directions.
Step S40 adjusts wearable device volume according to motion state and preferred volume.
Specifically, a kind of embodiment is, according to the motion state of wearable device, to judge that wearable device movement isNo deviation user's head.If wearable device movement does not need the volume of adjustment wearable device without departing from user's head.If wearable device movement deviate user's head, according to the motion state of wearable device calculate wearable device movement away fromFrom, and calculate wearable device movement after, wearable device is at a distance from user's head.Then it is moved according to wearable deviceAfterwards at a distance from user's head, the loss ratio of the volume under the distance is calculated;Loss ratio and user further according to volume it is inclinedGood volume, the volume adjusted needed for determining are how many, i.e., the target volume of determining wearable device;Finally, by wearable deviceVolume adjustment be target volume.
A kind of embodiment is, according to the motion state of wearable device, to judge whether wearable device movement deviatesUser's head.If wearable device movement further obtains wearable device current environment without departing from user's headNoisy degree and judge whether the noisy degree of wearable device current environment identical as the first noisy degree, if wearable setThe noisy degree of standby current environment is identical as the first noisy degree, then does not need the volume of adjustment wearable device;If wearableThe noisy degree of equipment current environment and the first noisy degree be not identical, it is determined that the local environment after wearable device movementLoss ratio under noisy degree, further according to the loudness loss ratio of local environment noisy degree and the preferred volume of user, needed for determiningThe volume of adjustment is how many, i.e., the target volume of determining wearable device;Finally, being target by the volume adjustment of wearable deviceVolume.
A kind of embodiment is, if wearable device movement deviates user's head, according to the movement shape of wearable deviceState calculates wearable device move distance, and after calculating wearable device movement, wearable device and user's head away fromFrom.Then after moving according to wearable device at a distance from user's head, the loss ratio of the volume under the distance is calculated, is obtainedThe noisy degree of local environment after wearable device movement, and determine after wearable device movement under the noisy degree of local environmentLoss ratio;Further according to local environment noisy degree loudness loss than after the movement of, wearable device at a distance from user's head under soundThe loss ratio of amount and the preferred volume of user, the volume adjusted needed for determining are how many, i.e., the target of determining wearable deviceVolume;Finally, being target volume by the volume adjustment of wearable device.
In the present embodiment, when user adjusts wearable device volume, by obtaining wearable device and user's headThe distance between and the tune of wearable device after volume, determine the preferred volume of user;And according to the movement of wearable deviceState dynamically adjusts the volume of wearable device, and the received effective volume of user is allowed to remain the preference sound of userAmount.It avoids since wearable device volume is fixed, when wearable device position changes, will lead to user can not understand knowledgeThe problem of not even identification is not less than wearable device sound.
Optionally, in wearable device volume adjusting method second embodiment of the present invention, based on reality described in above-mentioned Fig. 6Example is applied, step S40 includes:
Step S41 determines the second distance between wearable device and user's head according to motion state;
Specifically, according to the move distance of all directions of wearable device movement and all directions, judge wearableWhether equipment moving deviates user's head.If wearable device movement deviates user's head, according to wearable device movementDirection and distance, and calculate wearable device movement after, the distance between wearable device and user's head.Wherein, secondDistance, under the conditions of referring to that user does not have active accommodation wearable device, the distance between wearable device and user's head.
Step S42 determines the receivable effective volume ratio of user according to second distance;
Then the distance between with user's head after being moved according to wearable device, determine after wearable device movement withThe loss ratio of the lower volume of the distance between user's head;At a distance from after wearable device moves between user's headThe loss ratio of lower volume calculates the receivable effective volume ratio of user.Wherein, effective volume ratio refers to that user can receiveThe ratio between effective volume and the actual play volume of wearable device of wearable device.
Optionally, step S42 includes:
Step B1, if the first pre-determined distance when second distance is in user's running between wearable device and user's headSection, it is determined that effective volume ratio is the first preset value;
When second distance is in the first pre-determined distance section, (the distance between wearable device and user's head are inFirst pre-determined distance section), it is considered as user and is running, wearable device is closer to user's head, and effective volume ratio is arrangedFor the first preset value.Or according to all directions of wearable device movement and the move distance of all directions, judgement can be wornWear whether equipment deviates user's head.If wearable device deviates user's head, is further deviateed according to wearable device and usedThe direction of motion and move distance behind account portion, determine the amplitude of user's arm;And judge the size of the amplitude of user's arm, ifThe amplitude of user's arm is within a preset range, then it is assumed that user is running, and sets first for effective volume ratio at this time and presetsValue.Wherein, the first preset value can be arranged according to specific requirements, not limit the numerical value of the first preset value in the present embodimentSystem.First pre-determined distance section can be arranged according to specific requirements, in the present embodiment to the number in the first pre-determined distance sectionValue is with no restrictions.
Step B2, if the second pre-determined distance when second distance is in user's walking between wearable device and user's headSection, it is determined that effective volume ratio is the second preset value, wherein the second preset value is less than the first preset value.
When second distance is in the second pre-determined distance section, (the distance between wearable device and user's head are inSecond pre-determined distance section), it is considered as user and is walking, the distance between wearable device and user's head is maximum, will be hadEffect volume ratio is set as the first preset value.Or the movement of all directions and all directions according to wearable device movementDistance, judges whether wearable device deviates user's head.If wearable device deviates user's head, further basis can be wornThe direction of motion and move distance after wearing equipment deviation user's head, determine the amplitude of user's arm;And judge user's armThe size of amplitude, if the amplitude of user's arm is greater than preset threshold, then it is assumed that user is walking, and wearable device and uses accountThe distance between portion is maximum, sets the second preset value for effective volume ratio.Wherein, the second pre-determined distance section can basisSpecific requirements and be arranged, with no restrictions to the numerical value in the second pre-determined distance section in the present embodiment.Second preset value can rootIt is arranged according to specific requirements, with no restrictions to the numerical value of the second preset value in the present embodiment.Wherein, the second preset value is less thanOne preset value, to guarantee that the broadcast sound volume of wearable device when walking is greater than the broadcast sound volume in running, so that user existsThe effective volume received when walking and running remains the preferred volume of user.Because of user's arm bending when running, moreClose to user's head, loudness loss is smaller, and effective volume ratio is big;User's arm is vertical when walking, relatively from user's headFar, loudness loss is bigger, and effective volume ratio is small;As shown in fig. 7, Fig. 7 is user in running, wearable device and account is usedOne schematic diagram of a scenario in the distance between portion, wherein wearable device is worn in user's wrist, at this time user's arm bending,Wearable device is apart from user's head relative close.As shown in figure 8, Fig. 8 be user when walking, wearable device and use accountOne schematic diagram of a scenario in the distance between portion, wherein wearable device is worn in user's wrist, and user's arm is vertical at this time,Wearable device apart from user's head relatively far away from.
In the present embodiment, because of user's arm bending when running, closer to user's head, loudness loss is smaller, hasIt is big to imitate volume ratio;User's arm is vertical when walking, and relatively far away from from user's head, loudness loss is bigger, and effective volume ratio is small.By setting the second preset value for the volume effective ratio of user when walking and setting volume effective ratio of the user in runningThe first preset value is set to, and the second preset value is less than the first preset value, to guarantee the broadcasting sound of wearable device when walkingAmount is greater than the broadcast sound volume in running, so that effective volume that user receives in walking and running remains user'sPreferred volume;Wearable device volume is avoided to fix, for user in running or walking, wearable device deviates user's head,User can receive effective volume down of wearable device, cause user that can not understand that identification even identification is set less than wearableThe problem of standby sound.
Step S43 adjusts wearable device volume according to effective volume ratio, until the receivable effective volume of user isPreferred volume.
Using the preferred volume of user divided by effective volume ratio, the target volume of wearable device is obtained, i.e. determination can be wornWear the volume adjusted needed for equipment is how many;Finally, being target volume by the volume adjustment of wearable device, so that user can connectThe effective volume received is the preferred volume of user.If wearable device movement is without departing from user's head, not needing adjustment canThe volume of wearable device.
For example, the preferred volume of user is 20 decibels, when the head distance of wearable device and user are 60 centimetres, effectivelyVolume ratio is 80%, then is 25 decibels by the volume adjustment of wearable device;Wearable device and the head distance of user are 80Centimetre when, effective volume ratio be 50%, then by the volume adjustment of wearable device be 40 decibels.
In the present embodiment, by the motion state according to wearable device, determine wearable device and user's head itBetween distance, and according to the distance between wearable device and user's head determine the receivable effective volume ratio of user, according toThe receivable effective volume ratio of user adjusts wearable device volume;When so that wearable device position changing, Yong HujieThe effective volume received remains the preferred volume of user;Wearable device volume is avoided to fix, after user's arm motion,Wearable device deviates user's head, and user can receive effective volume down of wearable device, cause user that can not understandThe problem of identification is even identified less than wearable device sound.
Optionally, in wearable device volume adjusting method 3rd embodiment of the present invention, based on reality described in above-mentioned Fig. 6Example is applied, step S42 includes:
Step C10 obtains the second noisy degree of wearable device local environment
In the case where user does not have active accommodation wearable device volume, the noisy of external environment is obtained by sensorThe size of sound, so that it is determined that the noisy degree of wearable device local environment.Wherein, the second noisy degree refers to that user does not haveUnder the conditions of active accommodation wearable device, the size of the noisy sound of wearable device local environment, such as the decibel of noise.
Step C20 determines the receivable effective volume ratio of user according to second distance and the second noisy degree.
Specifically, a kind of embodiment is, if second distance is equal to first distance, to determine volume according to the second noisy degreeLoss ratio, the receivable effective volume ratio of user is then calculated according to the loss ratio of volume.
A kind of embodiment is, if second distance is not equal to first distance, it is determined that the volume generated under second distanceLoss ratio and the loudness loss generated under the second noisy degree ratio, then calculate effective volume ratio under second distance,And effective volume ratio under the second noisy degree, finally integrate second distance under effective volume ratio and in the second noisy degreeUnder effective volume ratio, calculate the receivable effective volume ratio of user.
In the present embodiment, by comprehensive wearable device at a distance from user's head and wearable device local environmentNoisy degree determines the receivable effective volume ratio of user, so that being accurately calculated for the receivable effective volume ratio of user, isIt further calculates the volume adjusted needed for wearable device and provides accurate data, so that wearable device sound adjustedAmount, the receivable effective volume of user more meets the preferred volume of user after transmission.
Optionally, step C20 includes:
Step C21 is determined caused by second distance apart from loss ratio;
It specifically, can be by presetting one apart from loss ratio caused by the distance between wearable device and user's headThe distance between a wearable device and user's head and the default mapping that there are one-to-one correspondence mapping relations apart from loss ratioTable;When determining caused by second distance apart from loss ratio, acquisition and wearable device and user directly in default mapping tableHead between distance there are mapping relations apart from loss ratio.
For example, when wearable device and the head distance of user are 60 centimetres, caused by apart from loss ratio 20%;It is wearableThe head distance of equipment and user be 80 centimetres when, caused by apart from loss ratio be 50%.
Optionally, step C21 includes:
Step E1, if the second pre-determined distance when second distance is in user's running between wearable device and user's headSection, it is determined that caused by second distance apart from loss ratio be third preset value;
When second distance is in the first pre-determined distance section, (the distance between wearable device and user's head are inFirst pre-determined distance section), it is considered as user and is running, wearable device is closer to user's head, will be caused by second distanceThird preset value is set as apart from loss ratio.Or according to wearable device deviate user's head after the direction of motion and movement away fromFrom determining the amplitude of user's arm;And judge the size of the amplitude of user's arm, if the amplitude of user's arm is in preset rangeIt is interior, then it is assumed that user is running, and wearable device is closer to user's head, will be arranged caused by second distance apart from loss ratioFor third preset value.Wherein, third preset value can be arranged according to specific requirements, in the present embodiment to third preset valueNumerical value is with no restrictions.First pre-determined distance section can be arranged according to specific requirements, in the present embodiment to first it is default away fromNumerical value from section is with no restrictions.
Step E2, if the second pre-determined distance when second distance is in user's walking between wearable device and user's headSection, it is determined that apart from loss ratio be the 4th preset value caused by second distance, wherein third preset value is default less than the 4thValue.
When second distance is in the second pre-determined distance section, (the distance between wearable device and user's head are inSecond pre-determined distance section), it is considered as user and is walking, the distance between wearable device and user's head is maximum, by theThe 4th preset value is set as apart from loss ratio caused by two distances.Or deviate the movement after user's head according to wearable deviceDirection and move distance determine the amplitude of user's arm;And judge the size of the amplitude of user's arm, if the amplitude of user's armGreater than preset threshold, then it is assumed that user is walking, the distance between wearable device and user's head be maximum, by second away fromLoss ratio is set as the 4th preset value with a distance from caused by.Wherein, the 4th preset value can be arranged according to specific requirements, at thisIn embodiment with no restrictions to the numerical value of the 4th preset value.Second pre-determined distance section can be arranged according to specific requirements,In the present embodiment with no restrictions to the numerical value in the second pre-determined distance section.
Wherein, third preset value is less than the 4th preset value, to guarantee that the broadcast sound volume of wearable device when walking is greater thanBroadcast sound volume in running, so that effective volume that user receives in walking and running remains the preference sound of userAmount.Because user's arm bending when running, closer to user's head, loudness loss is smaller;User's arm is vertical when walking, fromRelatively far away from, loudness loss is bigger for user's head;As shown in fig. 7, Fig. 7 is user in running, wearable device and userOne schematic diagram of a scenario on the distance between head, wherein wearable device is worn in user's wrist, at this time the user hand crook of the armSong, wearable device is apart from user's head relative close.As shown in figure 8, Fig. 8 be user when walking, wearable device and useOne schematic diagram of a scenario in the distance between account portion, wherein wearable device is worn in user's wrist, and user's arm hangs down at this timeDirectly, wearable device apart from user's head relatively far away from.
In the present embodiment, by setting the 4th preset value for the volume effective ratio of user when walking and by userIt is set as third preset value apart from loss ratio in running, and third preset value can be worn less than the 4th preset value with guaranteeThe broadcast sound volume of equipment when walking is worn greater than the broadcast sound volume in running, so that user received in walking and runningEffective volume remains the preferred volume of user;It avoids wearable device volume to fix, user, can in running or walkingWearable device deviates user's head, and user can receive effective volume down of wearable device, causes user that can not understand and knowsThe problem of not even identification is not less than wearable device sound
Step C22 determines noisy loss ratio caused by the second noisy degree;
Specifically, noisy loss ratio caused by the second noisy degree can pass through default second noisy degree and noisy damageThere is the default mapping table for corresponding mapping relations in loss-rate;When determining noisy loss ratio caused by the second noisy degree, directlyThere are loss ratios at a distance from mapping relations with the second noisy degree for acquisition in default mapping table.
For example, the second noisy degree be 60 decibels when, caused by noisy loss ratio 20%;It is 90 decibels in the second noisy degreeWhen, caused by noisy loss ratio be 50%.
Step C23 determines the receivable effective volume ratio of user according to apart from loss ratio and noisy loss ratio.
When user does not have active accommodation wearable device, determine that the distance between wearable device and user's head causeThe noisy loss ratio caused by the noisy degree of loss ratio and wearable device local environment after, according to apart from loss ratioTotal losses ratio is calculated with noisy loss ratio, then according to total losses effective volume ratio more receivable than determining user.
For example, being 20% apart from loss ratio, noisy loss ratio is 10%, then than 30%, user is receivable to be had total lossesImitating volume ratio is 70%.
In the present embodiment, it apart from loss ratio caused by by comprehensive wearable device at a distance from user's head, can wearNoisy loss ratio caused by the noisy degree of equipment local environment is worn, determines the total losses ratio of wearable device volume, so that it is determined thatThe receivable effective volume ratio of user, so that the receivable effective volume ratio of user is accurately calculated, to further calculateThe volume adjusted needed for wearable device provides accurate data, so that wearable device volume adjusted, after transmissionThe receivable effective volume of user more meets the preferred volume of user.
In addition, the embodiment of the present invention also proposes that a kind of wearable device, wearable device include: memory 109, processor110 and it is stored in the wearable device volume adjustment program that can be run on memory 109 and on processor 110, it is wearable to setStandby volume adjustment program realizes the step of above-mentioned each embodiment of wearable device volume adjusting method when being executed by processor 110Suddenly.
In addition, the readable storage medium storing program for executing is stored with one or one the present invention also provides a kind of readable storage medium storing program for executingA procedure above, the one or more programs can also be executed by one or more than one processor for realThe step of each embodiment of existing above-mentioned wearable device volume adjusting method.
The specific embodiment of wearable device and readable storage medium storing program for executing (i.e. computer readable storage medium) of the present inventionIt expands content and above-mentioned each embodiment of wearable device volume adjusting method is essentially identical, this will not be repeated here.
It should be noted that, in this document, the terms "include", "comprise" or its any other variant are intended to non-rowHis property includes, so that the process, method, article or the device that include a series of elements not only include those elements, andAnd further include other elements that are not explicitly listed, or further include for this process, method, article or device institute it is intrinsicElement.In the absence of more restrictions, the element limited by sentence "including a ...", it is not excluded that including being somebody's turn to doThere is also other identical elements in the process, method of element, article or device.
The serial number of the above embodiments of the invention is only for description, does not represent the advantages or disadvantages of the embodiments.
Through the above description of the embodiments, those skilled in the art can be understood that above-described embodiment sideMethod can be realized by means of software and necessary general hardware platform, naturally it is also possible to by hardware, but in many casesThe former is more preferably embodiment.Based on this understanding, technical solution of the present invention substantially in other words does the prior artThe part contributed out can be embodied in the form of software products, which is stored in a storage mediumIn (such as ROM/RAM, magnetic disk, CD), including some instructions are used so that a terminal (can be mobile phone, computer, serviceDevice, air conditioner or network equipment etc.) execute method described in each embodiment of the present invention.
The embodiment of the present invention is described with above attached drawing, but the invention is not limited to above-mentioned specificEmbodiment, the above mentioned embodiment is only schematical, rather than restrictive, those skilled in the artUnder the inspiration of the present invention, without breaking away from the scope protected by the purposes and claims of the present invention, it can also make very muchForm, all of these belong to the protection of the present invention.