CN104427101B - Electronic equipment, wearable device, state switching and identification information sending method - Google Patents

Electronic equipment, wearable device, state switching and identification information sending method Download PDF

Info

Publication number
CN104427101B
CN104427101B CN201310379168.3A CN201310379168A CN104427101B CN 104427101 B CN104427101 B CN 104427101B CN 201310379168 A CN201310379168 A CN 201310379168A CN 104427101 B CN104427101 B CN 104427101B
Authority
CN
China
Prior art keywords
electronic equipment
sensor
operating mode
wearable device
parameter
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201310379168.3A
Other languages
Chinese (zh)
Other versions
CN104427101A (en
Inventor
彭方振
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Lenovo Beijing Ltd
Original Assignee
Lenovo Beijing 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 Lenovo Beijing Ltd filed Critical Lenovo Beijing Ltd
Priority to CN201310379168.3A priority Critical patent/CN104427101B/en
Publication of CN104427101A publication Critical patent/CN104427101A/en
Application granted granted Critical
Publication of CN104427101B publication Critical patent/CN104427101B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Telephone Function (AREA)

Abstract

The invention discloses a kind of electronic equipment, wearable device, state switching and identification information sending method, overcome the shortcomings of current communicating terminal in wearing state earphone incoming call when ring simultaneously caused by unnecessary power consumption and to ambient enviroment formed noise pollution.This method comprises: when first electronic equipment is in the first operating mode, and first electronic equipment and the second electronic equipment are when being in data connection state, obtain first identifier information, wherein the first identifier information shows that second electronic equipment is in wearing state;According to the first identifier information, first electronic equipment is switched into the second operating mode from the first operating mode, wherein first operating mode is different with second operating mode.Embodiments herein only prompts to send a telegram here when earphone is in wearing state by earphone, avoids both communicating terminal and earphone play the tinkle of bells and the situation of electric energy occurs on additional waste communicating terminal.

Description

Electronic equipment, wearable device, state switching and identification information sending method
Technical field
The present invention relates to communication electronics technology more particularly to a kind of electronic equipment, wearable device, state switching method and Identification information sending method.
Background technique
The release of bluetooth headset, greatly facilitates mobile phone user, and user is allowed no longer to need to communicate mobile phone etc. Terminal can be conversed close to human body ear, while also having liberated the both hands of user and no longer having needed to be led in call with hand News terminal is attached to ear side.
In the implementation of the present invention, at least there is following technological deficiency in the discovery prior art to the present inventor: The design of current phone be when using bluetooth headset (or other kinds of earphone such as wired earphone), if any phone incoming call, Then mobile phone and bluetooth headset play incoming ring tone simultaneously, and user is reminded to receive calls.
In fact, the bluetooth headset in wearing state just has been able to play to be come to user reminding when phone incoming call The effect of electricity.Since mobile phone does not know the current wearing state of bluetooth headset, so mobile phone also plays bell simultaneously together with earphone Sound.
The mode that this mobile phone and earphone in wearing state all prompt incoming call wastes mobile phone and earphone Electric energy, and putting outside unnecessary ringing sound of cell phone under this situation also can be to ambient enviroment generation influence of noise.
Summary of the invention
The technical problem to be solved by the present invention is to overcome current communicating terminal sending a telegram here with the earphone in wearing state When unnecessary power consumption caused by ring and the deficiency of noise pollution is formed to ambient enviroment simultaneously.
In order to solve the above-mentioned technical problem, present invention firstly provides a kind of state switching methods, are applied to the first electronics Equipment, which comprises when first electronic equipment is in the first operating mode, and first electronic equipment and second When electronic equipment is in data connection state, first identifier information is obtained, wherein the first identifier information shows described second Electronic equipment is in wearing state;According to the first identifier information, first electronic equipment is cut from the first operating mode Shift to the second operating mode, wherein first operating mode is different with second operating mode.
Preferably, it is not defeated to second electronic equipment when first electronic equipment is in first operating mode Data out;When first electronic equipment is in second operating mode, Xiang Suoshu the second electronic equipment output data.
Preferably, when first electronic equipment is in first operating mode and meets a programmed alarm condition, institute It states the first electronic equipment and prompt information is exported by the first included output unit;First electronic equipment is in described the Two operating modes and when meeting the programmed alarm condition, first electronic equipment is at least sent to second electronic equipment The prompt information, so that second electronic equipment exports the prompt information by the second included output unit.
Preferably, the prompt information is sent to second electronic equipment in first electronic equipment, so that described While second electronic equipment exports the prompt information by the second included output unit, first electronic equipment is logical It crosses first output unit and exports the prompt information.
Preferably, the first identifier information includes the first parameter and the second parameter;First parameter is the first sensing The parameter of device acquisition, second parameter are the parameters of second sensor acquisition;Wherein, the first sensor and the second sensing Device is arranged on second electronic equipment.
Preferably, the first sensor is identical as the type of second sensor, and the first of the first sensor is adopted Collect region and the second pickup area of the second sensor is not be overlapped.
Preferably, when first electronic equipment is in second operating mode, and first electronic equipment and When two electronic equipments are in data connection state, second identifier information is obtained;The second identifier information shows second electricity Sub- equipment is not in wearing state;According to the second identifier information, by first electronic equipment from second Working mould Formula switches to first operating mode.
Embodiments herein additionally provides a kind of identification information sending method, is applied to the second electronic equipment to the first electricity Sub- equipment sends the identification information, and first electronic equipment can carry out between the first operating mode and the second operating mode Switching, first operating mode are different with second operating mode, wherein the described method includes: working as first electronics Equipment is in first operating mode, and when second electronic equipment and the first electronic equipment are in data connection state, To first electronic equipment send first identifier information so that first electronic equipment according to the first identifier information from First operating mode switches to second operating mode, wherein the first identifier information shows second electronics Equipment is in wearing state.
Preferably, the first identifier information includes the first parameter and the second parameter;First parameter is the first sensing The parameter of device acquisition, second parameter are the parameters of second sensor acquisition;Wherein, the first sensor and the second sensing Device is arranged on second electronic equipment.
Preferably, the first sensor is identical as the type of second sensor, and the first of the first sensor is adopted Collect region and the second pickup area of the second sensor is not be overlapped.
Preferably, the first sensor includes the first luminance sensor, and the second sensor is passed including the second brightness Sensor;First luminance sensor is arranged on the shell of the second electronic equipment output unit output this side of sound and detects Angle between direction and the direction of output unit output sound is less than or equal to 90 degree, the second luminance sensor setting On the shell of output unit output sound opposite direction and detection direction and the direction of output unit output sound are big In 90 degree;When first luminance sensor is under dark situation and second luminance sensor is under bright ring border, to institute It states the first electronic equipment and sends the first identifier information.
Preferably, when first electronic equipment is in second operating mode, and first electronic equipment and When two electronic equipments are in data connection state, the first electronic equipment of Xiang Suoshu sends second identifier information, so that described first Electronic equipment switches to first operating mode from second operating mode according to the second identifier information, wherein institute It states second identifier information and shows that second electronic equipment is not in wearing state.
Embodiments herein additionally provides a kind of electronic equipment, can be between the first operating mode and the second operating mode It switches over, first operating mode and second operating mode are different, wherein the equipment includes:
Data link unit;
Acquiring unit is set as being in first operating mode when the electronic equipment, and the electronic equipment passes through When the data link unit and a wearable device are in data connection state, first identifier information is obtained, wherein described the One identification information shows that the wearable device is in wearing state;
Switch unit, is set as according to the first identifier information, by the electronic equipment from first operating mode Switch to second operating mode.
Preferably, which includes:
Transmission unit, when being set as the electronic equipment and being in first operating mode, not to the wearable device Output data;When the electronic equipment is in second operating mode, Xiang Suoshu wearable device output data.
Preferably, which includes:
First output unit is set as the electronic equipment and is in first operating mode and meets a programmed alarm item Prompt information is exported when part;
Transmission unit is set as the electronic equipment and is in second operating mode and meets the programmed alarm condition When, the prompt information at least is sent to the wearable device, so that the wearable device is defeated by included second Unit exports the prompt information out.
Preferably, first output unit is set as mentioning in the transmission unit to described in wearable device transmission Show information, while so that the wearable device exports the prompt information by the second included output unit, output The prompt information.
Preferably, the first identifier information that the acquiring unit obtains includes the first parameter and the second parameter;It is described First parameter is the parameter of first sensor acquisition, and second parameter is the parameter of second sensor acquisition;Wherein, described One sensor and second sensor are arranged in the wearable device.
Preferably, the acquiring unit is set as being in second operating mode, and the electricity when the electronic equipment When sub- equipment and wearable device are in data connection state, second identifier information is obtained;The second identifier information shows institute It states wearable device and is not in wearing state;The switch unit is set as according to the second identifier information, by the electronics Equipment switches to first operating mode from second operating mode.
Embodiments herein additionally provides a kind of wearable device, is applied to send identification information to an electronic equipment, The electronic equipment can switch between the first operating mode and the second operating mode, first operating mode and described Second operating mode is different, wherein the equipment includes:
Data link unit;
Transmission unit, when the electronic equipment is in first operating mode, and the wearable device pass through it is described When data link unit and electronic equipment are in data connection state, Xiang Suoshu electronic equipment sends first identifier information, so that The electronic equipment switches to second operating mode from first operating mode according to the first identifier information, In, the first identifier information shows that the wearable device is in wearing state.
Preferably, which includes:
First sensor and second sensor;
Wherein, the first identifier information that the transmission unit is sent includes the first parameter and the second parameter;Described One parameter is the parameter of first sensor acquisition, and second parameter is the parameter of the second sensor acquisition.
Preferably, the first sensor is identical as the type of second sensor, and the first of the first sensor is adopted Collect region and the second pickup area of the second sensor is not be overlapped.
Preferably, the first sensor includes the first luminance sensor, and the second sensor is passed including the second brightness Sensor;First luminance sensor is arranged on the shell of the second electronic equipment output unit output this side of sound and detects Angle between direction and the direction of output unit output sound is less than or equal to 90 degree, the second luminance sensor setting On the shell of output unit output sound opposite direction and detection direction and the direction of output unit output sound are big In 90 degree;Wherein, first luminance sensor is under dark situation and when second luminance sensor is under bright ring border, The transmission unit sends the first identifier information to the electronic equipment.
Preferably, the transmission unit is set as being in second operating mode, and the electricity when the electronic equipment When sub- equipment and wearable device are in data connection state, Xiang Suoshu electronic equipment sends second identifier information, so that described Electronic equipment switches to first operating mode from second operating mode according to the second identifier information, wherein institute It states second identifier information and shows that the wearable device is not in wearing state.
Compared with prior art, embodiments herein only prompts to send a telegram here when earphone is in wearing state by earphone, It avoids communicating terminal and earphone from both playing the tinkle of bells and the situation of electric energy occurs on additional waste communicating terminal, while also reducing Pollution of the tinkle of bells to ambient enviroment on communicating terminal.
Other features and advantages of the present invention will be illustrated in the following description, also, partly becomes from specification It obtains it is clear that understand through the implementation of the invention.The objectives and other advantages of the invention can be by specification, right Specifically noted structure is achieved and obtained in claim and attached drawing.
Detailed description of the invention
Attached drawing is used to provide to further understand technical solution of the present invention, and constitutes part of specification, with this The embodiment of application technical solution for explaining the present invention together, does not constitute the limitation to technical solution of the present invention.
Fig. 1 is a kind of flow diagram of state switching method of the embodiment of the present application of the embodiment of the present application.
Fig. 2 is the organigram of the electronic equipment of the embodiment of the present application.
Fig. 3 is the organigram of the wearable device of the embodiment of the present application.
Specific embodiment
To make the objectives, technical solutions, and advantages of the present invention clearer, below in conjunction with attached drawing to the present invention Embodiment be described in detail.It should be noted that in the absence of conflict, in the embodiment and embodiment in the application Feature can mutual any combination.
Step shown in the flowchart of the accompanying drawings can be in a computer system such as a set of computer executable instructions It executes.Also, although logical order is shown in flow charts, and it in some cases, can be to be different from herein suitable Sequence executes shown or described step.
A kind of state switching method of the embodiment of the present application is applied to the first electronic equipment, as shown in Figure 1, the state is cut Changing method mainly includes following content:
Step S110, when the first electronic equipment is in the first operating mode, and the first electronic equipment and the second electronic equipment When in data connection state, first identifier information is obtained.The first identifier information shows that the second electronic equipment is in and wears shape State.
First electronic equipment is switched to the second work from the first operating mode according to first identifier information by step S120 Mode.First operating mode and the second operating mode are different.
Embodiments herein, first electronic equipment are such as the mobile terminal with call function, second electronics Equipment is such as earphone.Between mobile terminal and earphone, data connection can be kept by wired mode, this kind of earphone is such as Wired earphone.Between mobile terminal and earphone, data connection can also be kept wirelessly, this kind of earphone is such as wireless Earphone such as bluetooth headset etc..
First operating mode of the first electronic equipment, for example be that incoming call prompting sound or others are played by terminal itself Various audio datas.Second operating mode of the first electronic equipment, for example, be by earphone play incoming call prompting sound or other Various audio datas.Various audio datas above-mentioned, can be incoming call prompting sound, be also possible to be pacified on the first electronic equipment Sound caused by the application at runtime of dress, such as the sound that game, music player, radio etc. generate.
When first electronic equipment is in the first operating mode above-mentioned, incoming call prompting sound or others are played by itself Various audio datas, it is not to the second electronic equipment output data at this time.First electronic equipment is in the second Working mould above-mentioned When formula, incoming call prompting sound or other various audio datas are played by the second electronic equipment, it sets to the second electronics at this time Standby output data.
In embodiments herein, when the first electronic equipment is in the first operating mode and meets a programmed alarm condition, First electronic equipment passes through the first output unit included by itself and exports prompt information.The reservation implied condition is such as first Electronic equipment be arranged to incoming call when prompted by way of ring, under such situation, in the first operating mode first Electronic equipment can play incoming call prompting sound by this output unit of the playback equipment of its own when being connected to incoming call.
In embodiments herein, when the first electronic equipment is in the second operating mode and meets programmed alarm condition, the One electronic equipment at least sends prompt information to the second electronic equipment, so that the second electronic equipment is defeated by second included by it Unit exports prompt information out.Under such situation, the first electronic equipment in the second operating mode is when being connected to incoming call (output unit of sound namely the phonation unit of earphone can be exported on such as earphone by the playback equipment of the second electronic equipment Deng) this output unit broadcasting incoming call prompting sound.In embodiments herein, the first electronic equipment is sent to the second electronic equipment Prompt information, while so that the second electronic equipment exports prompt information by the second included output unit, the first electronics Equipment can also export prompt information by the first output unit.
In embodiments herein, first identifier information, which can be, shows the second electronic equipment by what sensor detected Information in wearing state.This sensor such as can be can pass through on the phonation unit that the second electronic equipment is arranged in Sense temperature variation, brightness change, distance change or pressure change etc. detect whether the second electronic equipment is in wearing shape The sensor of state.Accordingly, the sensor can be temperature sensor, luminance sensor, range sensor or pressure and pass Sensor etc..
For example, being arranged on the second electronic equipment phonation unit and capable of being bonded when being in wearing state the temperature of human antrum auris Sensor is spent, is detecting that (temperature sensor detects that the temperature of something is in pre- in the temperature close to human antrum auris for it If the temperature range close to human antrum auris) when, can export show the second electronic equipment be in wearing state first mark Know information.For another example, it is arranged on the second electronic equipment phonation unit and human antrum auris can be bonded when being in wearing state Luminance sensor it is in dark situation (luminance sensor collects the brightness value of pickup area lower than preset bright detecting Threshold value is spent, whether the phonation unit which can effectively distinguish the second electronic equipment fits in human antrum auris or human body Other positions) under brightness when, the first identifier information for showing that the second electronic equipment is in wearing state can be exported.Compare again Such as, setting can be bonded or close to human antrum auris or human body on the second electronic equipment phonation unit and when being in wearing state The range sensor at other positions is detecting that it is in fitting or (range sensor detects itself and periphery close to something The minimum distance of object is lower than preset distance threshold, which can effectively distinguish a certain position of the second electronic equipment Whether be bonded or close to a certain position of human body) position when, can export and show that the second electronic equipment is in wearing state First identifier information.For another example, setting can be bonded human body on the second electronic equipment phonation unit and when being in wearing state The pressure sensor of ear canal is detecting that it is in fitting something and (pressure sensor detects by the position of certain pressure Its pressure between something is lower than preset pressure threshold, which can effectively distinguish a certain of the second electronic equipment Whether position fits in human antrum auris or other positions of human body) when, it can export and show that the second electronic equipment is in wearing shape The first identifier information of state.
In detecting the application whether the second electronic equipment is in wearing state using a sensor, there is some Application scenarios cause to judge by accident and cannot accurately export first identifier information, to should export first identifier under the situation of part Information and do not export, or output when should not export first identifier information and mistakenly first identifier information.This situation Appearance, be easy to influence user experience, and facilitate user
For example, when detecting the second electronic equipment using temperature sensor and whether being in wearing state, due to big compression ring There is overlapping parts with human body temperature for border temperature, so even the second electronic equipment is not worn and is placed on by the side of, It is possible that mistakenly exporting because environment temperature is close with human antrum auris temperature and showing that the second electronic equipment is in wearing state First identifier information.
Similarly, detect whether the second electronic equipment is in the application of wearing state using a luminance sensor, There is will be close to other situations (such as the second electronic equipment is located in bag or in knapsack) of human antrum auris dark situation accidentally It is considered the situation of human antrum auris dark situation.Detect whether the second electronic equipment is in wearing shape using a range sensor State application in, there is also will close to other positions (such as the second electronic equipment is located in the pocket of user) of human body or its The situation (such as the second electronic equipment is located in bag or in knapsack) of his object is mistakenly considered the situation close to human antrum auris. Detect whether the second electronic equipment is in the application of wearing state using a pressure sensor, there is also will be bonded people The situation (such as of other positions (such as the second electronic equipment is located in the pocket of user and receives extruding) of body or other objects Two electronic equipments be located in bag or in knapsack and be constantly squeezed) be mistakenly considered the situation for being bonded human antrum auris.
In embodiments herein, first identifier information includes the first parameter and the second parameter.First parameter is the first biography The parameter of sensor acquisition, the second parameter are the parameters of second sensor acquisition.First sensor is arranged at second sensor On second electronic equipment.By the first parameter and the second parameter in first identifier information, to show that the second electronic equipment is in Wearing state.
The first sensor being arranged on above-mentioned second electronic equipment can be identical with the type of second sensor, can also not It is identical.
When the type for two sensors being arranged on the second electronic equipment is identical, two sensors can all be such as bright It spends sensor or two sensors can all be range sensor etc..It is set using two sensors to carry out the second electronics The standby detection for whether being in wearing state, all detects that the second electronics is set in two detectors at a possibility that can reducing erroneous judgement When in the state being close with wearing state, just shows that the second electronic equipment is in the output of the first electronic equipment and wear shape The first identifier information of state.
Embodiments herein can also carry out whether the second electronic equipment is in wearing shape using more sensors The detection of state all detects that the second electronic equipment is in and wears shape in the sensors of these wholes or most sensor When the state that state is close, just show that the second electronic equipment is in the first identifier letter of wearing state to the output of the first electronic equipment Breath.More sensors are set and are decided whether by the working condition of wherein all or part of sensor to the first electronics Equipment output shows that the second electronic equipment is in the first identifier information of wearing state, can further decrease the second electronic equipment Whether the erroneous judgement possibility of wearing state is in.
Sensor there are two same type is set in embodiments herein, on the second electronic equipment such as earphone, than Two luminance sensors on some output unit (or referred to as sounding component) of earphone output sound are such as set, In the first luminance sensor be arranged in output unit output this side of sound shell on, detection direction and the output unit are defeated The angle between the direction of sound is less than or equal to 90 degree out, and in the detection direction of the first luminance sensor and the output unit Effect is best when the direction of output sound is identical.The shell of output unit output sound opposite direction is arranged in second luminance sensor On, the direction of detection direction and output unit output sound is greater than 90 degree.The pickup area of the two sensors is not overlapped. In this case, the first parameter that the first luminance sensor detects, the second parameter detected with the second luminance sensor When different, be possible to show that the second electronic equipment is in wearing state.Specifically, when the first luminance sensor detects Crape ring Border and the second luminance sensor detect that (brightness value that luminance sensor collects pickup area is higher than preset brightness in bright ring border Threshold value) when, just show that the second electronic equipment is in the first identifier information of wearing state to the output of the first electronic equipment.At other Under situation, such as when the first luminance sensor and the second luminance sensor all detect dark situation or the first luminance sensor All detect that bright ring border or the first luminance sensor detect bright ring border and the second luminance sensor with the second luminance sensor Detect dark situation, these situations not can be shown that the second electronic equipment is in wearing state, to will not all trigger to first Electronic equipment output shows that the second electronic equipment is in the first identifier information of wearing state.It can be seen that the two brightness pass Sensor is configured in such a manner, can be reduced as far as possible a possibility that erroneous judgement.For example earphone is placed on and closes up and lighttight Bao Zhong keeps data connection with communicating terminal, and when the communicating terminal has incoming call at this time, the first luminance sensor detects Crape ring Border and the second luminance sensor also detects that dark situation show that earphone is in wearing state to will not send to communicating terminal First identifier information.
In embodiments herein, setting is there are two range sensor and to the first electronic equipment on the second electronic equipment Transmission shows that the second electronic equipment is in the situation of the first identifier information of wearing state, can compare and be provided on above-mentioned earphone The situation of two luminance sensors is understood.Be characterized by two range sensors one of them (hereinafter referred to as first away from From sensor) it is arranged when the second electronic equipment is in wearing state at the position of fitting or close human body, another is (hereinafter referred to as Second distance sensor) the second electronic equipment of setting when being in wearing state far from the position of human body at.The two sensors Pickup area is not overlapped.In this case, the first parameter that first distance sensor detects is examined with second distance sensor When the second parameter difference measured, be possible to show that the second electronic equipment is in wearing state.Specifically, when first distance passes Sensor detects fitting or close something and second distance sensor detects it at a distance from the object of periphery greater than preset When distance threshold, just show that the second electronic equipment is in the first identifier information of wearing state to the output of the first electronic equipment.? Under other situations, for example, when first distance sensor and second distance sensor all detect fitting perhaps close to something or First distance sensor and second distance sensor all detect respectively the distance apart from oneself periphery object be greater than it is preset away from Its second distance greater than preset distance threshold at a distance from the object of periphery is detected from threshold value or first distance sensor Sensor detects that fitting or close something, these situations not can be shown that the second electronic equipment is in wearing state, thus It will not all trigger to the output of the first electronic equipment and show that the second electronic equipment is in the first identifier information of wearing state.Thus may be used See, the two range sensors are configured in such a manner, can also be reduced as far as possible a possibility that erroneous judgement.
Two different types of sensors can also be set on the second electronic equipment such as earphone, for example a brightness passes Sensor and a range sensor are arranged on some output unit of earphone, and wherein luminance sensor is arranged in output unit On the shell for exporting this side of sound, the angle between detection direction and the direction of output unit output sound is less than or equal to 90 degree, range sensor is arranged on the shell of output unit output this side of sound, and detection zone is backwards to the output unit Export the direction of sound.The pickup area of the two sensors is not overlapped.When luminance sensor detects dark situation and apart from biography Sensor detects when being greater than preset distance threshold with the minimum distance of periphery object, just shows the to the output of the first electronic equipment Two electronic equipments are in the first identifier information of wearing state.Second electronic equipment is located at for the pickup area of range sensor Output unit exports on the direction of sound, and the pickup area of luminance sensor is located at the phase negative side of output unit output sound When upward, it is less than preset distance threshold and luminance sensor inspection with the minimum distance of periphery object when range sensor is detected When measuring bright ring border, just show that the second electronic equipment is in the first identifier information of wearing state to the output of the first electronic equipment.
In embodiments herein, it can also be arranged on the same output unit of the second electronic equipment more than two Same type sensor, or more than two different types of sensors.It is of course also possible in multiple outputs of the second electronic equipment It is respectively provided with the sensor of two or more same types on unit, or two or more different types of biographies are set Sensor.
In embodiments herein, when the first electronic equipment is in the second operating mode, and the first electronic equipment and second When electronic equipment is in data connection state, second identifier information is obtained.The second identifier information shows the second electronic equipment not In wearing state.According to the second identifier information, the first electronic equipment can be switched into the first work from the second operating mode Operation mode.When such as earphone is not in wearing state to the second electronic equipment, if the first electronic equipment such as communicating terminal is also at this time Incoming call prompting sound or other various audio datas are played by the second electronic equipment, then user can not effectively hear these Sound should change the operating mode of the first electronic equipment at this time, so that incoming call prompting sound etc. passes through the first electronic equipment itself Playback equipment play out, avoid missing incoming call answering due to the playback equipment because continuing to use the second electronic equipment, Huo Zhewu Method hears the sound corresponding to other various audio datas.
The identification information sending method of the embodiment of the present application, is applied to the second electronic equipment, and this method specifically includes that
When second electronic equipment and the first electronic equipment are in data connection state, the first mark is sent to the first electronic equipment Know information, first identifier information shows that the second electronic equipment is in wearing state.According to first identifier information, the first electronics is set It is standby to switch to the second operating mode from the first operating mode, wherein the first operating mode and the second operating mode are different.
In the identification information sending method of the embodiment of the present application, first identifier information includes the first parameter and the second parameter; First parameter is the parameter of first sensor acquisition, and the second parameter is the parameter of second sensor acquisition.First sensor and Two sensors are arranged on the second electronic equipment.
The above-mentioned first sensor being arranged on the second electronic equipment can be identical with the type of second sensor, can also be with It is not identical.
When the type for two sensors being arranged on the second electronic equipment is identical, two sensors such as can be bright It spends sensor or two sensors can be range sensor etc..It is set using two sensors to carry out the second electronics The standby detection for whether being in wearing state, all detects that the second electronics is set in two detectors at a possibility that can reducing erroneous judgement When for being in wearing state, just show that the second electronic equipment is in the first identifier letter of wearing state to the output of the first electronic equipment Breath.
Embodiments herein can also carry out whether the second electronic equipment is in wearing shape using more sensors The detection of state all detects that the second electronic equipment is in wearing state in these whole sensors or most sensor When, just show that the second electronic equipment is in the first identifier information of wearing state to the output of the first electronic equipment.Setting is more Sensor can further decrease the erroneous judgement possibility whether the second electronic equipment is in wearing state.
Sensor there are two same type is set in embodiments herein, on the second electronic equipment such as earphone, than As two luminance sensors on some output unit (or referred to as sounding component) of earphone are arranged, wherein the first brightness The pickup area of sensor is located on the direction of output unit output sound, and the pickup area of the second luminance sensor is located at should Output unit exports in the opposite direction of sound.The pickup area of the two sensors is not overlapped.When the first luminance sensor is examined It measures dark situation and the second luminance sensor detects that (brightness value that luminance sensor collects pickup area is higher than pre- in bright ring border If luminance threshold) when, just to the first electronic equipment output show the second electronic equipment be in wearing state first identifier believe Breath.The two luminance sensors are configured in such a manner, can be reduced as far as possible a possibility that erroneous judgement, for example earphone is placed on Close up and in lighttight packet, keep data connection with communicating terminal, when the communicating terminal has incoming call at this time, the first brightness is passed Sensor detects dark situation and the second luminance sensor also detects that dark situation, shows ear to will not send to communicating terminal Machine is in the first identifier information of wearing state.
Two different types of sensors can also be set on the second electronic equipment such as earphone, for example a brightness passes Sensor and a range sensor are arranged on some output unit of earphone, and wherein the pickup area of luminance sensor is located at The output unit exports on the direction of sound, and the pickup area of range sensor is located at the phase negative side of output unit output sound Upwards.The pickup area of the two sensors is not overlapped.When luminance sensor detects dark situation and range sensor detects When being greater than preset distance threshold with the minimum distance of periphery object, just show the second electronic equipment to the output of the first electronic equipment First identifier information in wearing state.It is defeated that second electronic equipment output unit is located at for the pickup area of range sensor Out on the direction of sound, and the pickup area of luminance sensor be located at the output unit output sound opposite direction on when, when Range sensor detects that being less than preset distance threshold and luminance sensor with the minimum distance of periphery object detects bright ring When border, just show that the second electronic equipment is in the first identifier information of wearing state to the output of the first electronic equipment.
In embodiments herein, it can also be arranged on the same output unit of the second electronic equipment more than two Same type sensor, or more than two different types of sensors.It is of course also possible in multiple outputs of the second electronic equipment It is respectively provided with the sensor of two or more same types on unit, or two or more different types of biographies are set Sensor.
In embodiments herein, when the first electronic equipment is in the second operating mode, and the first electronic equipment and second When electronic equipment is in data connection state, to the first electronic equipment send second identifier information so that the first electronic equipment according to The first operating mode is switched to from the second operating mode according to second identifier information, wherein second identifier information shows the second electronics Equipment is not in wearing state.
The a kind of electronic equipment of the embodiment of the present application can be cut between the first operating mode and the second operating mode It changes, the first operating mode and the second operating mode are different.If the electronic equipment of Fig. 2, the embodiment of the present application mainly include data Connection unit 210, acquiring unit 220 and switch unit 230, in which:
Acquiring unit 220 is connected with data link unit 210, is set as being in the first operating mode when electronic equipment, and When electronic equipment is in data connection state by data link unit 210 and a wearable device, first identifier information is obtained, Wherein, first identifier information shows that wearable device is in wearing state;
Switch unit 230 is connected with acquiring unit 220, is set as according to first identifier information, by electronic equipment from first Operating mode switches to the second operating mode.
If the electronic equipment of Fig. 2, the embodiment of the present application can also include a transmission unit 240, with 230 phase of switch unit Even, when being set as electronic equipment and be in the first operating mode, not to wearable device output data;Electronic equipment is in the second work When operation mode, to wearable device output data.
Such as Fig. 2, the electronic equipment of the embodiment of the present application can also include one first output being connected with switch unit 230 Unit 250 and a transmission unit 260.First output unit 250 is set as electronic equipment and is in the first operating mode and satisfaction Prompt information is exported when one programmed alarm condition.The transmission unit 260 is set as electronic equipment and is in the second operating mode and expires When sufficient programmed alarm condition, prompt information at least is sent to wearable device, so that wearable device passes through included second Output unit exports prompt information.
In the electronic equipment of the embodiment of the present application, the first output unit 250 is set as in transmission unit 260 to wearable Equipment sends prompt information, defeated while so that wearable device exports prompt information by the second included output unit Prompt information out.
In the electronic equipment of the embodiment of the present application, the first identifier information that acquiring unit 220 obtains includes the first parameter With the second parameter;First parameter is the parameter of first sensor acquisition, and the second parameter is the parameter of second sensor acquisition.First Sensor and second sensor are arranged in wearable device.
In the electronic equipment of the embodiment of the present application, acquiring unit 220 may be arranged as being in second when electronic equipment Operating mode, and when electronic equipment and wearable device are in data connection state, obtain second identifier information;Second identifier letter Breath shows that wearable device is not in wearing state.Switch unit 230 may be arranged as according to second identifier information, by electronics Equipment switches to the first operating mode from the second operating mode.
The wearable device of the embodiment of the present application is applied to send identification information to an electronic equipment, which can It is switched between the first operating mode and the second operating mode, the first operating mode and the second operating mode are different.Such as Fig. 3 Shown, which mainly includes data link unit 310 and transmission unit 320, in which:
Transmission unit 320 is connected with data link unit 310, is set as being in the first operating mode when electronic equipment, and When wearable device is in data connection state by data link unit 310 and electronic equipment, first is sent to electronic equipment Identification information, so that electronic equipment switches to the second operating mode from the first operating mode according to first identifier information, wherein the One identification information shows that wearable device is in wearing state.
As shown in figure 3, the wearable device of the embodiment of the present application, can also include first to be connected with transmission unit 320 Sensor 330 and second sensor 340.The first identifier information that transmission unit 320 is sent includes the first parameter and the second parameter; First parameter is the parameter that first sensor 330 acquires, and the second parameter is the parameter that second sensor 340 acquires.
In the wearable device of the embodiment of the present application, first sensor 330 is identical as the type of second sensor 340, and First pickup area of first sensor 330 and the second pickup area of second sensor 340 be not be overlapped.
In the wearable device of the embodiment of the present application, first sensor 330 includes the first luminance sensor, second sensor 340 include the second luminance sensor.First luminance sensor is arranged on the output unit of the second electronic equipment and pickup area On the direction of output unit output sound, the setting of the second luminance sensor is on the output unit and pickup area is located at this Output unit exports in the opposite direction of sound.First luminance sensor is under dark situation and the second luminance sensor is in bright When under environment, transmission unit 320 sends first identifier information to electronic equipment.
In the wearable device of the embodiment of the present application, transmission unit 320 is set as being in the second Working mould when electronic equipment Formula, and when electronic equipment and wearable device are in data connection state, second identifier information is sent to electronic equipment, so that electric Sub- equipment switches to the first operating mode from the second operating mode according to second identifier information, wherein second identifier information shows Wearable device is not in wearing state.
Those skilled in the art should be understood that each component part of equipment provided by above-mentioned the embodiment of the present application, And each step in method, they can be concentrated on a single computing device, or be distributed in multiple computing device institutes group At network on.Optionally, they can be realized with the program code that computing device can perform.It is thus possible to which they are deposited Storage be performed by computing device in the storage device, perhaps they are fabricated to each integrated circuit modules or by it In multiple modules or step be fabricated to single integrated circuit module to realize.In this way, the present invention is not limited to any specific Hardware and software combine.
Although disclosed herein embodiment it is as above, the content only for ease of understanding the present invention and use Embodiment is not intended to limit the invention.Technical staff in any fields of the present invention is taken off not departing from the present invention Under the premise of the spirit and scope of dew, any modification and variation, but the present invention can be carried out in the form and details of implementation Scope of patent protection, still should be subject to the scope of the claims as defined in the appended claims.

Claims (20)

1. a kind of state switching method is applied to the first electronic equipment, which comprises
When first electronic equipment is in the first operating mode, and first electronic equipment and the second electronic equipment are in number When according to connection status, first identifier information is obtained, wherein the first identifier information shows that second electronic equipment is in and wears Wear state;
According to the first identifier information, first electronic equipment is switched into the second operating mode from the first operating mode, Wherein, first operating mode is different with second operating mode;
The first identifier information includes the first parameter and the second parameter;First parameter is the ginseng of first sensor acquisition Number, second parameter are the parameters of second sensor acquisition;In the first parameter that first sensor detects and the second sensing When the second parameter difference that device detects, show that the second electronic equipment is in wearing state;
Wherein, the outer of the output of the first output unit on second electronic equipment sound side is arranged in the first sensor On shell, the output sound opposite direction of first output unit on second electronic equipment is arranged in the second sensor On shell;The pickup area of first sensor is located at the direction of the first output unit output prompt information of the second electronic equipment On, the pickup area of second sensor is located at the opposite direction of the first output unit output prompt information of the second electronic equipment On.
2. according to the method described in claim 1, wherein:
When first electronic equipment is in first operating mode, not to the second electronic equipment output data;
When first electronic equipment is in second operating mode, Xiang Suoshu the second electronic equipment output data.
3. according to the method described in claim 2, wherein:
When first electronic equipment is in first operating mode and meets a programmed alarm condition, first electronics is set It is standby that prompt information is exported by the first included output unit;
When first electronic equipment is in second operating mode and meets the programmed alarm condition, first electronics Equipment at least sends the prompt information to second electronic equipment, so that second electronic equipment passes through included the Two output units export the prompt information.
4. according to the method described in claim 3, wherein:
The prompt information is sent to second electronic equipment in first electronic equipment, so that second electronic equipment While exporting the prompt information by the second included output unit, first electronic equipment is defeated by described first Unit exports the prompt information out.
5. according to the method described in claim 1, wherein:
The first sensor is identical as the type of second sensor.
6. according to the method described in claim 1, wherein:
When first electronic equipment is in second operating mode, and at first electronic equipment and the second electronic equipment When data connection state, second identifier information is obtained;The second identifier information shows that second electronic equipment is not in Wearing state;
According to the second identifier information, first electronic equipment is switched into first work from second operating mode Operation mode.
7. a kind of identification information sending method is applied to the second electronic equipment to the first electronic equipment and sends the identification information, First electronic equipment can switch between the first operating mode and the second operating mode, first operating mode and Second operating mode is different, wherein the described method includes:
When first electronic equipment is in first operating mode, and at second electronic equipment and the first electronic equipment When data connection state, the first electronic equipment of Xiang Suoshu sends first identifier information, so that the first electronic equipment foundation The first identifier information switches to second operating mode from first operating mode, wherein the first identifier letter Breath shows that second electronic equipment is in wearing state;
The first identifier information includes the first parameter and the second parameter;First parameter is the ginseng of first sensor acquisition Number, second parameter are the parameters of second sensor acquisition;In the first parameter that first sensor detects and the second sensing When the second parameter difference that device detects, show that the second electronic equipment is in wearing state;
Wherein, the outer of the output of the first output unit on second electronic equipment sound side is arranged in the first sensor On shell, the output sound opposite direction of first output unit on second electronic equipment is arranged in the second sensor On shell;The pickup area of first sensor is located at the direction of the first output unit output prompt information of the second electronic equipment On, the pickup area of second sensor is located at the opposite direction of the first output unit output prompt information of the second electronic equipment On.
8. according to the method described in claim 7, wherein:
The first sensor is identical as the type of second sensor.
9. according to the method described in claim 8, wherein:
The first sensor includes the first luminance sensor, and the second sensor includes the second luminance sensor;
First luminance sensor is arranged on the shell of the second electronic equipment output unit output this side of sound and detects Angle between direction and the direction of output unit output sound is less than or equal to 90 degree, the second luminance sensor setting On the shell of output unit output sound opposite direction and detection direction and the direction of output unit output sound are big In 90 degree;
When first luminance sensor is under dark situation and second luminance sensor is under bright ring border, Xiang Suoshu One electronic equipment sends the first identifier information.
10. according to the method described in claim 7, wherein:
When first electronic equipment is in second operating mode, and at first electronic equipment and the second electronic equipment When data connection state, the first electronic equipment of Xiang Suoshu sends second identifier information, so that the first electronic equipment foundation The second identifier information switches to first operating mode from second operating mode, wherein the second identifier letter Breath shows that second electronic equipment is not in wearing state.
11. a kind of electronic equipment can switch between the first operating mode and the second operating mode, first Working mould Formula and second operating mode are different, wherein the electronic equipment includes:
Data link unit;
Acquiring unit is set as being in first operating mode when the electronic equipment, and the electronic equipment is described in When data link unit and a wearable device are in data connection state, first identifier information is obtained, wherein first mark Know information and shows that the wearable device is in wearing state;
Switch unit, is set as according to the first identifier information, and the electronic equipment is switched from first operating mode To second operating mode;
The wearable device includes:
First sensor and second sensor;
The first identifier information includes the first parameter and the second parameter;First parameter is the ginseng of first sensor acquisition Number, second parameter are the parameters of second sensor acquisition;In the first parameter that first sensor detects and the second sensing When the second parameter difference that device detects, show that wearable device is in wearing state;
Wherein, the shell of the output of the first output unit in wearable device sound side is arranged in the first sensor On, the shell of the output sound opposite direction of first output unit in the wearable device is arranged in the second sensor On;The pickup area of first sensor is located on the direction of the first output unit output prompt information of wearable device, and second The pickup area of sensor is located in the opposite direction of the first output unit output prompt information of wearable device.
12. electronic equipment according to claim 11, wherein the electronic equipment includes:
Transmission unit when being set as the electronic equipment and being in first operating mode, is not exported to the wearable device Data;When the electronic equipment is in second operating mode, Xiang Suoshu wearable device output data.
13. electronic equipment according to claim 12, wherein the electronic equipment includes:
First output unit, be set as the electronic equipment be in first operating mode and meet a programmed alarm condition when Export prompt information;
Transmission unit, when being set as the electronic equipment and being in second operating mode and meet the programmed alarm condition, The prompt information at least is sent to the wearable device, so that the wearable device is single by the second included output Member exports the prompt information.
14. electronic equipment according to claim 13, in which:
First output unit is set as sending the prompt information to the wearable device in the transmission unit, so that While the wearable device exports the prompt information by the second included output unit, the prompt letter is exported Breath.
15. electronic equipment according to claim 11, in which:
The first identifier information that the acquiring unit obtains includes the first parameter and the second parameter;First parameter is the The parameter of one sensor acquisition, second parameter are the parameters of second sensor acquisition;
Wherein, the first sensor and second sensor are arranged in the wearable device.
16. electronic equipment according to claim 11, in which:
The acquiring unit is set as being in second operating mode, and the electronic equipment and Ke Pei when the electronic equipment When wearing equipment and being in data connection state, second identifier information is obtained;The second identifier information shows the wearable device It is not in wearing state;
The switch unit is set as according to the second identifier information, and the electronic equipment is cut from second operating mode Shift to first operating mode.
17. a kind of wearable device is applied to send identification information to an electronic equipment, the electronic equipment can be in the first work It is switched between mode and the second operating mode, first operating mode is different with second operating mode, wherein should Wearable device includes:
Data link unit;
Transmission unit, when the electronic equipment is in first operating mode, and the wearable device passes through the data When connection unit and electronic equipment are in data connection state, Xiang Suoshu electronic equipment sends first identifier information, so that described Electronic equipment switches to second operating mode from first operating mode according to the first identifier information, wherein institute It states first identifier information and shows that the wearable device is in wearing state;
The wearable device includes:
First sensor and second sensor;
Wherein, the first identifier information that the transmission unit is sent includes the first parameter and the second parameter;First ginseng Number is the parameter of first sensor acquisition, and second parameter is the parameter of the second sensor acquisition;It is passed first When the second parameter difference that the first parameter and second sensor that sensor detects detect, shows that wearable device is in and wear State;
Wherein, the shell of the output of the first output unit in wearable device sound side is arranged in the first sensor On, the shell of the output sound opposite direction of first output unit in the wearable device is arranged in the second sensor On;The pickup area of first sensor is located on the direction of the first output unit output prompt information of wearable device, and second The pickup area of sensor is located in the opposite direction of the first output unit output prompt information of wearable device.
18. wearable device according to claim 17, in which:
The first sensor is identical as the type of second sensor.
19. wearable device according to claim 18, in which:
The first sensor includes the first luminance sensor, and the second sensor includes the second luminance sensor;
First luminance sensor is arranged on the shell of the wearable device output unit output this side of sound and examines The angle surveyed between direction and the direction of output unit output sound is less than or equal to 90 degree, and second luminance sensor is set It sets on the shell of output unit output sound opposite direction and detection direction and the output unit exports the direction of sound Greater than 90 degree;
Wherein, first luminance sensor is under dark situation and when second luminance sensor is under bright ring border, institute It states transmission unit and sends the first identifier information to the electronic equipment.
20. wearable device according to claim 17, in which:
The transmission unit is set as being in second operating mode, and the electronic equipment and Ke Pei when the electronic equipment When wearing equipment and being in data connection state, Xiang Suoshu electronic equipment sends second identifier information, so that the electronic equipment foundation The second identifier information switches to first operating mode from second operating mode, wherein the second identifier letter Breath shows that the wearable device is not in wearing state.
CN201310379168.3A 2013-08-27 2013-08-27 Electronic equipment, wearable device, state switching and identification information sending method Active CN104427101B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310379168.3A CN104427101B (en) 2013-08-27 2013-08-27 Electronic equipment, wearable device, state switching and identification information sending method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310379168.3A CN104427101B (en) 2013-08-27 2013-08-27 Electronic equipment, wearable device, state switching and identification information sending method

Publications (2)

Publication Number Publication Date
CN104427101A CN104427101A (en) 2015-03-18
CN104427101B true CN104427101B (en) 2019-07-26

Family

ID=52974977

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310379168.3A Active CN104427101B (en) 2013-08-27 2013-08-27 Electronic equipment, wearable device, state switching and identification information sending method

Country Status (1)

Country Link
CN (1) CN104427101B (en)

Families Citing this family (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106200889A (en) * 2015-05-05 2016-12-07 联想(北京)有限公司 Control method and Wearable
CN105282338A (en) * 2015-10-30 2016-01-27 东莞酷派软件技术有限公司 Message prompting method and system of mobile terminal
CN107241665A (en) * 2016-03-29 2017-10-10 峰范(北京)科技有限公司 Intelligent earphone
CN106453791A (en) * 2016-10-27 2017-02-22 宇龙计算机通信科技(深圳)有限公司 A sound signal output method and apparatus and an earphone state detection method and apparatus
KR102523178B1 (en) 2018-05-17 2023-04-19 삼성전자주식회사 Electronic apparatus and controlling method thereof
CN108810788B (en) * 2018-06-12 2021-09-03 歌尔科技有限公司 Wearing condition detection method and device of wireless earphone and wireless earphone
CN112055296B (en) * 2020-08-03 2022-11-18 歌尔科技有限公司 Earphone wearing state detection method and device and earphone
CN114302276A (en) * 2021-12-24 2022-04-08 歌尔科技有限公司 Event reminding method and device, earphone equipment and storage medium

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101098353A (en) * 2006-06-27 2008-01-02 明基电通股份有限公司 Earphone device capable of communicating with mobile communication equipment
KR20080035079A (en) * 2006-10-18 2008-04-23 삼성전자주식회사 Earphone for reducing battery power dissipation and method using it
CN101951534A (en) * 2010-07-09 2011-01-19 深圳桑菲消费通信有限公司 Method for additionally arranging sensor on earphone to adjust state of mobile terminal
CN103024193A (en) * 2012-12-25 2013-04-03 北京百度网讯科技有限公司 Mobile terminal and play control method and play control device for same

Also Published As

Publication number Publication date
CN104427101A (en) 2015-03-18

Similar Documents

Publication Publication Date Title
CN104427101B (en) Electronic equipment, wearable device, state switching and identification information sending method
CN109040887B (en) Master-slave earphone switching control method and related product
CN109068206B (en) Master-slave earphone switching control method and related product
CN111225346B (en) Connection switching method of wireless earphone, wireless earphone and storage medium
CN107306369B (en) Portable sound devices and method for controlling the portable sound devices
CN104378707B (en) A kind of earphone and the wearing electronic product with body temperature monitoring function
CN110691294B (en) Audio control method, charging box and wireless earphone device
US7725141B2 (en) Multi-functional detached mobile phone
CN102625219B (en) Including warning devices and the listening system of hearing prosthesis
CN104822103B (en) Earphone
US11234089B2 (en) Microphone hole blockage detection method, microphone hole blockage detection device, and wireless earphone
CN106664474B (en) Nursing system, nurse detection device and nurse notice device
KR20160119831A (en) Wearable electronic system
CN111736451A (en) Intelligent watch with embedded wireless earphone and information broadcasting method
CN105915724B (en) A kind of method, apparatus and terminal of incoming call handling
WO2016014260A1 (en) Personal wearable system that detects hazardous voltages and indicates direction of the source
CN203840537U (en) Loudspeaker module set
US11080985B2 (en) Alarm triggering device and circuitry therefor
US9712895B2 (en) Distributed wireless sensing system
CN204131693U (en) A kind of earphone and there is the wearing electronic product of body temperature monitoring function
CN108781320A (en) Wireless body Worn type personal device with loss detection function
CN108377453A (en) Method for running auditory prosthesis and auditory prosthesis
CN109275059A (en) Earphone, communicator and method
CN113194383A (en) Sound playing method and device, electronic equipment and readable storage medium
CN105049599A (en) Intelligent conversation method and device

Legal Events

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