CN108769849A - The control method and Related product of wearable device - Google Patents

The control method and Related product of wearable device Download PDF

Info

Publication number
CN108769849A
CN108769849A CN201810388477.XA CN201810388477A CN108769849A CN 108769849 A CN108769849 A CN 108769849A CN 201810388477 A CN201810388477 A CN 201810388477A CN 108769849 A CN108769849 A CN 108769849A
Authority
CN
China
Prior art keywords
angle
rotation
slope
wearable device
audio
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201810388477.XA
Other languages
Chinese (zh)
Inventor
郭富豪
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Guangdong Oppo Mobile Telecommunications Corp Ltd
Original Assignee
Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Guangdong Oppo Mobile Telecommunications Corp Ltd filed Critical Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority to CN201810388477.XA priority Critical patent/CN108769849A/en
Publication of CN108769849A publication Critical patent/CN108769849A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04RLOUDSPEAKERS, MICROPHONES, GRAMOPHONE PICK-UPS OR LIKE ACOUSTIC ELECTROMECHANICAL TRANSDUCERS; DEAF-AID SETS; PUBLIC ADDRESS SYSTEMS
    • H04R1/00Details of transducers, loudspeakers or microphones
    • H04R1/10Earpieces; Attachments therefor ; Earphones; Monophonic headphones
    • H04R1/1091Details not provided for in groups H04R1/1008 - H04R1/1083
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04RLOUDSPEAKERS, MICROPHONES, GRAMOPHONE PICK-UPS OR LIKE ACOUSTIC ELECTROMECHANICAL TRANSDUCERS; DEAF-AID SETS; PUBLIC ADDRESS SYSTEMS
    • H04R3/00Circuits for transducers, loudspeakers or microphones

Landscapes

  • Physics & Mathematics (AREA)
  • Engineering & Computer Science (AREA)
  • Acoustics & Sound (AREA)
  • Signal Processing (AREA)
  • Headphones And Earphones (AREA)

Abstract

This application provides a kind of control method of wearable device and Related product, the wearable device includes at least one earplug, which is characterized in that the earplug includes:Gyroscope, wireless transceiver and processor;Described method includes following steps:Receive the audio-frequency information or video information of the electronic equipment being connect with the wearable device;The angle for periodically detecting the wearable device obtains multiple angle values;The direction of rotation that wearable device is determined according to the multiple angle value determines the audio-frequency information or the broadcast strategy of the video information according to the direction of rotation.Technical solution provided by the present application has the advantages that user experience is high.

Description

The control method and Related product of wearable device
Technical field
This application involves communication and accessories fields, and in particular to a kind of control method of wearable device and related production Product.
Background technology
In the prior art, mobile terminal (such as mobile phone, tablet computer) has become user's first choice and frequency of use highest Electronic device.With popularizing for smart mobile phone, the interaction of people and mobile phone is more and more diversified, and wireless headset is as smart mobile phone Common accessory, is commonly used, but existing wireless headset can only carry out some shirtsleeve operations, Wu Fayi by user According to the switching of the song of the rotation control wearable device of user, user experience is not high.
Apply for content
The embodiment of the present application provides a kind of control method and Related product of wearable device, can be according to user's The switching of the song of rotation control wearable device, to improve user experience.
In a first aspect, the embodiment of the present application provides a kind of wearable device, the wearable device includes at least one A earplug, the earplug include:Gyroscope, wireless transceiver and processor;The processor respectively with gyroscope and nothing It is connected between line transceiver;
The wireless transceiver, audio-frequency information for receiving the electronic equipment being connect with the wearable device or regards Frequency information;
The gyroscope, the angle for periodically detecting the wearable device obtain multiple angle values;
The processor, the direction of rotation for determining wearable device according to the multiple angle value, according to described in Direction of rotation determines the audio-frequency information or the broadcast strategy of the video information.
Second aspect, provides a kind of control method of wearable device, and the wearable device includes at least one Earplug, the earplug include:Gyroscope, wireless transceiver and processor;The processor respectively with gyroscope and wireless It is connected between transceiver;Described method includes following steps:
Receive the audio-frequency information or video information of the electronic equipment being connect with the wearable device;
The angle for periodically detecting the wearable device obtains multiple angle values;
The direction of rotation that wearable device is determined according to the multiple angle value, described in the determination of the direction of rotation The broadcast strategy of audio-frequency information or the video information.
The third aspect provides a kind of computer readable storage medium, computer journey of the storage for electronic data interchange Sequence, wherein the computer program makes computer execute the method that second aspect provides.
Fourth aspect, provides a kind of computer program product, and the computer program product includes storing computer journey The non-transient computer readable storage medium of sequence, the computer program are operable to that computer is made to execute second aspect offer Method.
Implement the embodiment of the present application, has the advantages that:
As can be seen that technical solution provided by the present application receives the audio-frequency information of electronic equipment in wireless transceiver 202 Or when video information, the angle for starting the periodically acquisition wearable device of gyroscope 201 obtains multiple angle values, then locates Reason device determines the direction of rotation of wearable device according to the angle value, and the audio-frequency information or video are determined according to the direction of rotation The broadcast strategy of information thereby realizes foundation to the rotation of wearable device to realize to audio-frequency information or video information Broadcasting realize control.
Description of the drawings
In order to more clearly explain the technical solutions in the embodiments of the present application, make required in being described below to embodiment Attached drawing is briefly described, it should be apparent that, the accompanying drawings in the following description is some embodiments of the present application, for ability For the those of ordinary skill of domain, without creative efforts, it can also be obtained according to these attached drawings other attached Figure.
Fig. 1 is a kind of network architecture schematic diagram of wearable device and wireless telecom equipment.
Fig. 1 a are a kind of structural schematic diagrams of wireless headset provided by the present application.
Fig. 1 b are a kind of another structural schematic diagrams of wireless headset provided by the present application.
Fig. 2 is a kind of structural schematic diagram of wearable device provided by the present application.
Fig. 3 a are the schematic diagrames of first angle curve provided by the embodiments of the present application.
Fig. 3 b are the schematic diagrames of second angle curve provided by the embodiments of the present application.
Fig. 4 is a kind of interval diagram of second angle curve provided by the embodiments of the present application.
Fig. 5 is a kind of flow diagram of the control method of wearable device disclosed in the embodiment of the present application.
Specific implementation mode
Below in conjunction with the attached drawing in the embodiment of the present application, technical solutions in the embodiments of the present application carries out clear, complete Site preparation describes, it is clear that described embodiment is some embodiments of the present application, instead of all the embodiments.Based on this Shen Please in embodiment, the every other implementation that those of ordinary skill in the art are obtained without creative efforts Example, shall fall in the protection scope of this application.
Term " first ", " second ", " third " in the description and claims of this application and the attached drawing and " Four " etc. be for distinguishing different objects, rather than for describing particular order.In addition, term " comprising " and " having " and it Any deformation, it is intended that cover and non-exclusive include.Such as it contains the process of series of steps or unit, method, be The step of system, product or equipment are not limited to list or unit, but further include the steps that optionally not listing or list Member, or further include optionally for the intrinsic other steps of these processes, method, product or equipment or unit.
Referenced herein " embodiment " is it is meant that a particular feature, structure, or characteristic described can wrap in conjunction with the embodiments It is contained at least one embodiment of the application.Each position in the description occur the phrase might not each mean it is identical Embodiment, nor the independent or alternative embodiment with other embodiments mutual exclusion.Those skilled in the art explicitly and Implicitly understand, embodiment described herein can be combined with other embodiments.
Wireless headset in the application is specifically as follows:Bluetooth headset, naturally it is also possible to for other wireless transmission methods Earphone, such as light conduction earphone etc., above-mentioned bluetooth headset can be common bluetooth headset, i.e., play sound by loudspeaker Earphone, certain above-mentioned bluetooth headset can also be bone conduction earphone, the application to the sound conduction mode of wireless headset not It limits.Above-mentioned wireless headset can be established with electronic device and be connected, and certainly in practical applications, which can also be list Only equipment, upper electronic device may include smart mobile phone (such as Android phone, iOS mobile phones, Windows Phone mobile phones Deng), tablet computer, palm PC, laptop, mobile internet device (MID, Mobile Internet Devices) Or Wearable etc., above-mentioned electronic device are only citings, and it is non exhaustive, including but not limited to above-mentioned electronic device, in order to retouch Above-mentioned electronic device is known as user equipment (User equipment, UE) in following example by the convenience stated.Certainly in reality In, above-mentioned user equipment is also not necessarily limited to above-mentioned realization form, such as can also include:Smart television, domestic robot, meter Calculate machine equipment etc..
Wireless telecom equipment involved by the embodiment of the present application may include various hand-held with wireless communication function Equipment, mobile unit, wearable device, computing device or other processing equipments for being connected to radio modem, and it is each The user equipment (User Equipment, UE) of kind form, mobile station (Mobile Station, MS), terminal device (terminal device) etc..Certainly in other application, above-mentioned wireless telecom equipment can also be network side equipment, example Such as base station, access point network side equipment.For convenience of description, apparatus mentioned above is referred to as wireless telecom equipment.
Referring to Fig. 1, Fig. 1 is a kind of network architecture signal for implementing display control method disclosed in the embodiment of the present application Figure, which may include electronic equipment and wireless headset, wherein wireless headset can be by wireless network (for example, blue Tooth, infrared ray or WiFi) it is communicated to connect with electronic equipment.It should be noted that wireless headset may include one or more ear Plug, the embodiment of the present application are not construed as limiting.In specific implementation, wireless headset can send pairing request to electronic equipment method, and electronics is set Standby to can receive the pairing request sent by wearable device, wearable device includes at least one individual components, and response pairing is asked It asks, the detection wearable device number of components that includes, shows the information of wearable device according to number of components, such as electricity, match To quantity etc..
As shown in Figure 1a, Fig. 1 a are a kind of structure charts of wireless headset provided by the embodiments of the present application, as shown in Figure 1a, Two earplugs are kept completely separate setting, certainly in practical applications, especially in the wireless headset of type of sports, among two earplugs One connector can also be set, for example, connecting two earplugs by connecting line as shown in Figure 1a, the application is in wireless headset Connection type between two earplugs does not limit.As shown in Figure 1 b, which includes:Two earplugs, each earplug packet It includes:Trackpad on 121 surface of earpiece is arranged in earpiece 121, which can also include:Wireless transceiver 122, Processing chip (being not drawn into figure) and gyroscope (being not drawn into figure), the processing chip and Trackpad, wireless transceiver and top It is electrically connected between spiral shell instrument, specifically, the mode of the electrical connection can be connected by bus mode, certainly in practical applications, Above-mentioned electrical connection can also be to be connected by other connection types.
Please refer to Fig.1 b, Fig. 1 b are a kind of structural schematic diagrams of wearable device 100 disclosed in the embodiment of the present application, can Wearable 100 includes storage and processing circuit 110, and the telecommunication circuit being connect with the storage and processing circuit 110 120 and audio component 140, wherein in some specific wearable devices 100, display module 130 can also be set or touched Control component.
Wearable device 100 may include control circuit, which may include storage and processing circuit 110. The storage and processing circuit 110 can be with memory, such as hard drive memory, nonvolatile memory (such as flash memory or use In the other electrically programmable read only memories etc. for forming solid state drive), volatile memory (such as it is either statically or dynamically random Access memory etc.) etc., the embodiment of the present application is not restricted.Processing circuit in storage and processing circuit 110 can be used for controlling The operating of electronic equipment 100 processed.The processing circuit can microprocessor based on one or more, microcontroller, at digital signal Manage device, baseband processor, power management unit, audio codec chip, application-specific integrated circuit, display-driver Ics Etc. realizing.
Storage and processing circuit 110 can be used for running the software in wearable device 100, such as voice over internet protocol (Voice over Internet Protocol, VOIP) call application program, simultaneous interpretation function, media play application Program, operation system function etc..These softwares can be used for executing some control operations, for example, the image based on camera is adopted Collection, the ambient light measurement based on ambient light sensor, the proximity sensor based on proximity sensor measure, based on such as luminous two The information display function that the positioning indicators such as the status indicator lamp of pole pipe are realized, the touch event detection based on touch sensor, Operation associated with wireless communication function is executed, operation associated with collecting and generating audio signal, with collection and processing Other functions etc. in the associated control operation of button press event data and wearable device 100, the application is implemented Example is not restricted.
Wearable device 100 can also include input-output circuit 150.Input-output circuit 150 can be used for making can Wearable 100 realizes that data are output and input, that is, allow wearable device 100 from outer equipment receiving data and Wearable device 100 is allowed to export data to external equipment from wearable device 100.Input-output circuit 150 can be with Further comprise sensor 170.Sensor 170 may include ambient light sensor, the proximity sensor based on light and capacitance, touch Sensor is touched (for example, being based on light touch sensor and/or capacitive touch sensors, wherein touch sensor can be touch-control A part for display screen can also be used as a touch sensor arrangement and independently use), acceleration transducer and other sensings Device etc..
Input-output circuit 150 (can also be shown including touch sensor array that is, display 130 can be touch-control Screen).Touch sensor can be the electricity formed by transparent touch sensor electrode (such as tin indium oxide (ITO) electrode) array Appearance formula touch sensor, or can be the touch sensor formed using other touching techniques, such as sound wave touch-control, it is pressure-sensitive to touch It touches, resistive touch, optical touch etc., the embodiment of the present application is not restricted.
Wearable device 100 can also include audio component 140.Audio component 140 can be used for setting to be wearable Standby 100 provide audio input and output function.Audio component 140 in wearable device 100 may include loud speaker, Mike Wind, buzzer, tone generator and other components for generating and detecting sound.
Telecommunication circuit 120 can be used for providing the ability with external device communication for electronic equipment 100.Telecommunication circuit 120 May include analog- and digital- input-output interface circuit, and the radio communication circuit based on radiofrequency signal and/or optical signal. Radio communication circuit in telecommunication circuit 120 may include radio-frequency transceiver circuitry, power amplifier circuit, low noise amplification Device, switch, filter and antenna.For example, the radio communication circuit in telecommunication circuit 120 may include for passing through transmitting The circuit of near-field communication (Near Field Communication, NFC) is supported with near-field coupling electromagnetic signal is received.Example Such as, telecommunication circuit 120 may include near-field communication aerial and near-field communication transceiver.Telecommunication circuit 120 can also include honeycomb Telephone transceiver and antenna, wireless lan transceiver circuit and antenna etc..
Wearable device 100 can further include battery, power management circuitry and other input-output units 160.Input-output unit 160 may include button, control stick, click wheel, scroll wheel, touch tablet, keypad, keyboard, photograph Machine, light emitting diode or other positioning indicators etc..
User can input a command for the operation of control wearable device 100 by input-output circuit 150, and Using the output data of input-output circuit 150 status information from wearable device 100 and its can be received to realize It is exported.
Referring to Fig.2, Fig. 2 is a kind of wearable device provided by the embodiments of the present application, which includes:Extremely A few earplug, the earplug include:Gyroscope 201, wireless transceiver 202 and processor 203;Wherein, processor 203 is distinguished It is connected between gyroscope 201 and wireless transceiver 202;The wearable device can specifically include:
Wireless transceiver 202, the audio-frequency information for receiving electronic equipment or video information;
Above-mentioned electronic device may include smart mobile phone (such as Android phone, iOS mobile phones, Windows Phone mobile phone Deng), tablet computer, palm PC, laptop, mobile internet device or Wearable etc., certainly in practical application In, above-mentioned user equipment is also not necessarily limited to above-mentioned realization form, such as can also include:Smart television, domestic robot, computer Equipment etc..
Above-mentioned wireless transceiver wireless communication connection mode include but not limited to:Bluetooth communication, RF communications, WIFI are logical The mode of letter, optic communication etc. wireless communication can also be the deformation of above-mentioned communication certainly in practical applications, The application specific implementation mode is not intended to limit the communication between wireless headset and electronic device, need to be only wireless communication ?.In addition, the quantity of above-mentioned electronic device does not also limit.
Gyroscope 201, the angle for periodically detecting wearable device obtain multiple angle values;
Processor 203, the direction of rotation for determining wearable device according to multiple angle value, according to the rotation side To the broadcast strategy for determining the audio-frequency information or video information.
Technical solution provided by the present application receives the audio-frequency information or video information of electronic equipment in wireless transceiver 202 When, the angle for starting the periodically acquisition wearable device of gyroscope 201 obtains multiple angle values, and then processor foundation should Angle value determines the direction of rotation of wearable device, and the broadcasting of the audio-frequency information or video information is determined according to the direction of rotation Strategy thereby realizes foundation to the rotation of wearable device to realize that the broadcasting to audio-frequency information or video information is realized Control.
Optionally, above-mentioned broadcast strategy is specifically as follows:F.F., rewind, next, any one in a upper head.When So in practical applications, above-mentioned broadcast strategy can also be that other similar strategies, the application specific implementation mode are not intended to limit The specific manifestation form of above-mentioned broadcast strategy.
Optionally, processor 203 are to rotate clockwise specifically for such as direction of rotation, it is determined that the audio-frequency information regards Frequency information executes fast-forward play or plays next broadcasting, if direction of rotation is rotation counterclockwise, it is determined that the audio-frequency information or Video information executes fast reverse play or a upper first broadcast is put.
Certainly in practical applications, the processing mode of above-mentioned processor 203 can also be in turn, that is,
Processor 203 is to rotate clockwise specifically for such as direction of rotation, it is determined that the audio-frequency information or video information are held Row fast reverse play or a upper first broadcast are put, if direction of rotation is rotation counterclockwise, it is determined that the audio-frequency information or video information execute Fast-forward play plays next broadcasting.
Above-mentioned rotation counterclockwise is rotated clockwise and can be carried out on the basis of the plane of the pleasant later Trackpad of earplug It rotates or rotates clockwise counterclockwise.
Optionally, processor 203, specifically for establishing angle coordinate system, the X-axis of the angle coordinate system is detection time, The Y-axis of the angle coordinate system is angle value, and multiple angle values, which are mapped in the angle coordinate system, obtains multiple points, and each pair of point is answered One angle value and a detection time connect with straight line the two neighboring point of multiple points to obtain first angle curve, The average value K for calculating the slope absolute value of two neighboring point in first angle curve, such as x-th point and the in first angle curve The slope K of x-1 pointx、x-1Absolute value be more than or equal to α * K (wherein α be more than 1), by x-th point from the first angle curve Deletion obtains second angle curve, obtains largest monotonic section and the largest monotonic section corresponding first of second angle curve Time interval is monotonic increase section as first time section is more than time threshold and largest monotonic section, is determined as counterclockwise Rotation is monotone decreasing section as first time section is more than time threshold and largest monotonic section, is determined as rotating clockwise.
Refering to Fig. 3 a, Fig. 3 a are the first angle curve synoptic diagram of the application, as shown in Figure 3a, in A points, due to it There are one larger variations for slope, and by experimental verification, A points at this time are likely to be the point of error detection, because detecting user When normal rotation earplug, the variation of slope will not generally be reacted there are one larger variation on curve, which compares Smoothly, it so for the variation similar to A points, needs to filter out, that is, deletes and obtain second angle curve, this avoid error detections Point to the influence that reversely judges of rotation, improve accuracy of detection.
It is the second angle curve synoptic diagram of the application, as shown in Figure 3b, corresponding slope refering to Fig. 3 b, Fig. 3 b It is smoother.
Optionally, processor 203 are specifically used for pressing all two neighboring points of detection time order traversal second angle curve Slope obtain n-1 slope, mutation slope is found out from n-1 slope, the mutation slope be mutated slope it is previous The polarity (i.e. positive and negative) of the slope slope opposite with the mutation slope, two neighboring mutation slope form a monotony interval, really The most monotony interval of all monotony interval midpoints quantity for determining second angle curve is determined as largest monotonic section.Wherein n is The total quantity for the point that second angle curve includes.
It is monotony interval schematic diagram refering to Fig. 4, Fig. 4, as shown in figure 4, having 3 monotony intervals, corresponding section 1 includes Point quantity it is most, so its be largest monotonic section.
A kind of control method of wearable device is provided refering to Fig. 5, Fig. 5, the wearable device includes at least One earplug, which is characterized in that the earplug includes:Gyroscope, wireless transceiver and processor;The processor respectively with It is connected between gyroscope and wireless transceiver;Described method includes following steps:
Step S501, the audio-frequency information or video information of the electronic equipment being connect with the wearable device are received;
Step S502, the angle for periodically detecting the wearable device obtains multiple angle values;
Step S503, the direction of rotation that wearable device is determined according to the multiple angle value, according to the rotation side To the determination audio-frequency information or the broadcast strategy of the video information.
Optionally, described to determine the audio-frequency information or the broadcast strategy tool of the video information according to the direction of rotation Body includes:
If the direction of rotation is to rotate clockwise, it is determined that the audio-frequency information or the video information execute F.F. and broadcast Next broadcasting is put or plays, such as direction of rotation is rotation counterclockwise, it is determined that the audio-frequency information or video letter Breath executes fast reverse play or a upper first broadcast is put.
Optionally, described to determine the audio-frequency information or the broadcast strategy tool of the video information according to the direction of rotation Body includes:
If the direction of rotation is to rotate clockwise, it is determined that the audio-frequency information or the video information execute rewind and broadcast It puts or a upper first broadcast is put, such as direction of rotation is rotation counterclockwise, it is determined that the audio-frequency information or the video information are held Row fast-forward play plays next broadcasting.
Optionally, above-mentioned to determine that the direction of rotation of wearable device specifically includes according to the multiple angle value:
Angle coordinate system is established, the X-axis of the angle coordinate system is detection time, and the Y-axis of the angle coordinate system is angle Multiple angle values are mapped in the angle coordinate system and obtain multiple points by angle value, and each pair of point answers an angle value and one The two neighboring point of multiple points is connected with straight line to obtain first angle curve, calculates the first angle by a detection time The average value K of the slope absolute value of two neighboring point in curve, as x-th point oblique with -1 point of xth in first angle curve Rate Kx、x-1Absolute value be more than or equal to α * K, by x-th point from the first angle curve delete obtain second angle curve, The corresponding first time section in largest monotonic section and largest monotonic section for obtaining second angle curve, such as first time area Between to be more than time threshold and largest monotonic section be monotonic increase section, determine that the direction of rotation is rotation counterclockwise, such as the It is monotone decreasing section that one time interval, which is more than time threshold and largest monotonic section, determines that the direction of rotation is rotation clockwise Turn, wherein the α values are more than or equal to 1.
Optionally, the largest monotonic section of above-mentioned acquisition second angle curve specifically includes:
N-1 slope is obtained by the slope of all two neighboring points of the order traversal second angle curve of detection time, from Mutation slope is found out in n-1 slope, the mutation slope is the polarity for the previous slope for being mutated slope and the mutation The opposite slope of slope, the two neighboring curve being mutated between slope form a monotony interval, determine that the second angle is bent The monotony interval that all monotony interval midpoints quantity of line is most is determined as largest monotonic section, and wherein n is second angle curve Including point total quantity.
The embodiment of the present application also provides a kind of computer storage media, wherein computer storage media storage is for electricity The computer program that subdata exchanges, it is any as described in above method embodiment which so that computer is executed A kind of some or all of the control method of wearable device step.
The embodiment of the present application also provides a kind of computer program product, and the computer program product includes storing calculating The non-transient computer readable storage medium of machine program, the computer program are operable to that computer is made to execute such as above-mentioned side Some or all of the control method of any type wearable device described in method embodiment step.
It should be noted that for each method embodiment above-mentioned, for simple description, therefore it is all expressed as a series of Combination of actions, but those skilled in the art should understand that, the application is not limited by the described action sequence because According to the application, certain steps can be performed in other orders or simultaneously.Secondly, those skilled in the art should also know It knows, embodiment described in this description belongs to alternative embodiment, involved action and module not necessarily the application It is necessary.
In the above-described embodiments, it all emphasizes particularly on different fields to the description of each embodiment, there is no the portion being described in detail in some embodiment Point, it may refer to the associated description of other embodiment.
In several embodiments provided herein, it should be understood that disclosed device, it can be by another way It realizes.For example, the apparatus embodiments described above are merely exemplary, for example, the unit division, it is only a kind of Division of logic function, formula that in actual implementation, there may be another division manner, such as multiple units or component can combine or can To be integrated into another system, or some features can be ignored or not executed.Another point, shown or discussed is mutual Coupling, direct-coupling or communication connection can be by some interfaces, the INDIRECT COUPLING or communication connection of device or unit, Can be electrical or other forms.
The unit illustrated as separating component may or may not be physically separated, aobvious as unit The component shown may or may not be physical unit, you can be located at a place, or may be distributed over multiple In network element.Some or all of unit therein can be selected according to the actual needs to realize the mesh of this embodiment scheme 's.
In addition, each functional unit in each embodiment of the application can be integrated in a processing unit, it can also It is that each unit physically exists alone, it can also be during two or more units be integrated in one unit.Above-mentioned integrated list The form that hardware had both may be used in member is realized, can also be realized in the form of software program module.
If the integrated unit is realized in the form of software program module and sells or use as independent product When, it can be stored in a computer-readable access to memory.Based on this understanding, the technical solution of the application substantially or Person says that all or part of the part that contributes to existing technology or the technical solution can body in the form of software products Reveal and, which is stored in a memory, including some instructions are used so that a computer equipment (can be personal computer, server or network equipment etc.) executes all or part of each embodiment the method for the application Step.And memory above-mentioned includes:USB flash disk, read-only memory (ROM, Read-Only Memory), random access memory The various media that can store program code such as (RAM, Random Access Memory), mobile hard disk, magnetic disc or CD.
One of ordinary skill in the art will appreciate that all or part of step in the various methods of above-described embodiment is can It is completed with instructing relevant hardware by program, which can be stored in a computer-readable memory, memory May include:Flash disk, read-only memory (English:Read-Only Memory, referred to as:ROM), random access device (English: Random Access Memory, referred to as:RAM), disk or CD etc..
The embodiment of the present application is described in detail above, specific case used herein to the principle of the application and Embodiment is expounded, the description of the example is only used to help understand the method for the present application and its core ideas; Meanwhile for those of ordinary skill in the art, according to the thought of the application, can in specific embodiments and applications There is change place, in conclusion the contents of this specification should not be construed as limiting the present application.

Claims (12)

1. a kind of wearable device, the wearable device includes at least one earplug, which is characterized in that the earplug packet It includes:Gyroscope, wireless transceiver and processor;The processor connects between gyroscope and wireless transceiver respectively;
The wireless transceiver, the audio-frequency information for receiving the electronic equipment being connect with the wearable device or video letter Breath;
The gyroscope, the angle for periodically detecting the wearable device obtain multiple angle values;
The processor, the direction of rotation for determining wearable device according to the multiple angle value, according to the rotation Direction determines the audio-frequency information or the broadcast strategy of the video information.
2. wearable device according to claim 1, which is characterized in that
The processor is to rotate clockwise specifically for such as described direction of rotation, it is determined that the audio-frequency information described regards Frequency information executes fast-forward play or plays next broadcasting, and such as direction of rotation is rotation counterclockwise, it is determined that the audio Information or the video information execute fast reverse play or a upper first broadcast is put.
3. wearable device according to claim 1, which is characterized in that
The processor is to rotate clockwise specifically for such as described direction of rotation, it is determined that the audio-frequency information described regards Frequency information executes fast reverse play or a upper first broadcast is put, and such as direction of rotation is rotation counterclockwise, it is determined that the audio-frequency information Or the video information executes fast-forward play or plays next broadcasting.
4. wearable device according to claim 1, which is characterized in that
The processor, specifically for establishing angle coordinate system, the X-axis of the angle coordinate system is detection time, the angle The Y-axis of coordinate system is angle value, and multiple angle values are mapped in the angle coordinate system and obtain multiple points, each pair of point answers one The two neighboring point of multiple points is connected with straight line to obtain first angle curve, be counted by a angle value and a detection time The average value K for calculating the slope absolute value of two neighboring point in the first angle curve, as in first angle curve x-th point with The slope K of -1 point of xthx、x-1Absolute value be more than or equal to α * K, x-th point is deleted from the first angle curve and is obtained Second angle curve obtains the corresponding first time area in largest monotonic section and largest monotonic section of second angle curve Between, it is monotonic increase section as first time section is more than time threshold and largest monotonic section, determines that the direction of rotation is Rotation counterclockwise is monotone decreasing section as first time section is more than time threshold and largest monotonic section, determines the rotation It is to rotate clockwise to turn direction, wherein the α values are more than or equal to 1.
5. wearable device according to claim 4, which is characterized in that
The processor is obtained specifically for the slope of all two neighboring points of order traversal second angle curve by detection time To n-1 slope, mutation slope is found out from n-1 slope, the mutation slope is the previous slope for being mutated slope The polarity slope opposite with the mutation slope, the two neighboring curve being mutated between slope form a monotony interval, determine The monotony interval that all monotony interval midpoints quantity of the second angle curve is most is determined as largest monotonic section, wherein n For the total quantity for the point that second angle curve includes.
6. a kind of control method of wearable device, which is characterized in that the wearable device includes at least one earplug, It is characterized in that, the earplug includes:Gyroscope, wireless transceiver and processor;The processor respectively with gyroscope with And it is connected between wireless transceiver;Described method includes following steps:
Receive the audio-frequency information or video information of the electronic equipment being connect with the wearable device;
The angle for periodically detecting the wearable device obtains multiple angle values;
The direction of rotation that wearable device is determined according to the multiple angle value determines the audio according to the direction of rotation The broadcast strategy of information or the video information.
7. according to the method described in claim 6, it is characterized in that, described determine the audio-frequency information according to the direction of rotation Or the broadcast strategy of the video information specifically includes:
If the direction of rotation is to rotate clockwise, it is determined that the audio-frequency information or the video information execute fast-forward play or Next broadcasting is played, such as direction of rotation is rotation counterclockwise, it is determined that the audio-frequency information or the video information are held Row fast reverse play or a upper first broadcast are put.
8. according to the method described in claim 6, it is characterized in that, described determine the audio-frequency information according to the direction of rotation Or the broadcast strategy of the video information specifically includes:
If the direction of rotation is to rotate clockwise, it is determined that the audio-frequency information or the video information execute fast reverse play or A upper first broadcast is put, if the direction of rotation is rotation counterclockwise, it is determined that the audio-frequency information or the video information execute soon Into playing or play next broadcasting.
9. according to the method described in claim 6, it is characterized in that, described determine wearable set according to the multiple angle value Standby direction of rotation specifically includes:
Angle coordinate system is established, the X-axis of the angle coordinate system is detection time, and the Y-axis of the angle coordinate system is angle value, Multiple angle values are mapped in the angle coordinate system and obtain multiple points, each pair of point answers an angle value and a detection The two neighboring point of multiple points is connected with straight line to obtain first angle curve, be calculated in the first angle curve by the time The average value K of the slope absolute value of two neighboring point, as in first angle curve x-th point with the slope K of -1 point of xthx、x-1 Absolute value be more than or equal to α * K, x-th point is deleted from the first angle curve and obtains second angle curve, obtains the The corresponding first time section in largest monotonic section and largest monotonic section of two angle curves, as first time section is more than Time threshold and largest monotonic section are monotonic increase section, determine that the direction of rotation is rotation counterclockwise, such as at the first time It is monotone decreasing section that section, which is more than time threshold and largest monotonic section, determines that the direction of rotation is to rotate clockwise, Described in α values be more than or equal to 1.
10. according to the method described in claim 9, it is characterized in that, the largest monotonic section for obtaining second angle curve It specifically includes:
N-1 slope is obtained by the slope of all two neighboring points of the order traversal second angle curve of detection time, from n-1 Mutation slope is found out in slope, the mutation slope is the polarity for the previous slope for being mutated slope and the mutation slope phase Anti- slope, the two neighboring curve being mutated between slope form a monotony interval, determine the institute of the second angle curve The monotony interval for having monotony interval midpoint quantity most is determined as largest monotonic section, and wherein n is that second angle curve includes The total quantity of point.
11. a kind of computer readable storage medium, which is characterized in that it stores the computer program for electronic data interchange, Wherein, the computer program makes computer execute such as claim 6-10 any one of them methods.
12. a kind of computer program product, which is characterized in that the computer program product includes storing computer program Non-transient computer readable storage medium, the computer program are operable to that computer is made to execute such as claim 6-10 Method described in one.
CN201810388477.XA 2018-04-26 2018-04-26 The control method and Related product of wearable device Pending CN108769849A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810388477.XA CN108769849A (en) 2018-04-26 2018-04-26 The control method and Related product of wearable device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810388477.XA CN108769849A (en) 2018-04-26 2018-04-26 The control method and Related product of wearable device

Publications (1)

Publication Number Publication Date
CN108769849A true CN108769849A (en) 2018-11-06

Family

ID=64011994

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810388477.XA Pending CN108769849A (en) 2018-04-26 2018-04-26 The control method and Related product of wearable device

Country Status (1)

Country Link
CN (1) CN108769849A (en)

Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN202395960U (en) * 2011-12-21 2012-08-22 深圳市同洲电子股份有限公司 Digital gyroscope based wireless earphone and system, and earphone data processing terminal
US20120245817A1 (en) * 2011-03-23 2012-09-27 Tk Holdings Inc. Driver assistance system
CN103674062A (en) * 2013-12-05 2014-03-26 广东电网公司电力科学研究院 Method to improve gyroscope measurement accuracy based on Allan variance and ARMA (Autoregressive moving average model) analysis
CN105100395A (en) * 2014-05-23 2015-11-25 Lg电子株式会社 Watch type mobile terminal and control method for mobile terminal
CN105320226A (en) * 2014-07-30 2016-02-10 Lg电子株式会社 Ring-type mobile terminal
CN106358112A (en) * 2016-10-31 2017-01-25 北京小米移动软件有限公司 Bluetooth earphone as well as operation method and device thereof
CN106525056A (en) * 2016-11-04 2017-03-22 杭州奥腾电子股份有限公司 Method for lane line detection by gyro sensor
CN106792307A (en) * 2016-11-29 2017-05-31 北京小米移动软件有限公司 Wireless headset and earphone adjusting method
CN107124679A (en) * 2017-04-27 2017-09-01 北京小米移动软件有限公司 The method and apparatus that multimedia file is played
CN107800864A (en) * 2016-09-06 2018-03-13 苹果公司 For with ancillary equipment wireless pairing and show on ancillary equipment status information equipment, method and graphic user interface
CN107950014A (en) * 2016-04-22 2018-04-20 苹果公司 Role swap is carried out between the wireless connectivity devices do not fastened

Patent Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20120245817A1 (en) * 2011-03-23 2012-09-27 Tk Holdings Inc. Driver assistance system
CN202395960U (en) * 2011-12-21 2012-08-22 深圳市同洲电子股份有限公司 Digital gyroscope based wireless earphone and system, and earphone data processing terminal
CN103674062A (en) * 2013-12-05 2014-03-26 广东电网公司电力科学研究院 Method to improve gyroscope measurement accuracy based on Allan variance and ARMA (Autoregressive moving average model) analysis
CN105100395A (en) * 2014-05-23 2015-11-25 Lg电子株式会社 Watch type mobile terminal and control method for mobile terminal
CN105320226A (en) * 2014-07-30 2016-02-10 Lg电子株式会社 Ring-type mobile terminal
CN107950014A (en) * 2016-04-22 2018-04-20 苹果公司 Role swap is carried out between the wireless connectivity devices do not fastened
CN107800864A (en) * 2016-09-06 2018-03-13 苹果公司 For with ancillary equipment wireless pairing and show on ancillary equipment status information equipment, method and graphic user interface
CN106358112A (en) * 2016-10-31 2017-01-25 北京小米移动软件有限公司 Bluetooth earphone as well as operation method and device thereof
CN106525056A (en) * 2016-11-04 2017-03-22 杭州奥腾电子股份有限公司 Method for lane line detection by gyro sensor
CN106792307A (en) * 2016-11-29 2017-05-31 北京小米移动软件有限公司 Wireless headset and earphone adjusting method
CN107124679A (en) * 2017-04-27 2017-09-01 北京小米移动软件有限公司 The method and apparatus that multimedia file is played

Similar Documents

Publication Publication Date Title
US10075582B2 (en) Terminal control method and apparatus, and terminal
CN104571498B (en) A kind of application program launching method
CN108958696A (en) Principal and subordinate's earphone method for handover control and Related product
CN109068206A (en) Principal and subordinate's earphone method for handover control and Related product
CN108769387A (en) Application control method and relevant device
CN109639367A (en) The method of adjustment and Related product of electromagnetic interference
CN108541080A (en) First electronic equipment and the second electronic equipment carry out the method and Related product of Hui Lian
CN108737923A (en) Volume adjusting method and related product
CN108495049A (en) Filming control method and Related product
CN109144454A (en) double-sided screen display control method and related product
CN109067965A (en) Interpretation method, translating equipment, wearable device and storage medium
CN108833779A (en) Filming control method and Related product
CN108882084B (en) Wearable equipment electric quantity balancing method and related product
CN109743129A (en) Electromagnetic interference control method and Related product
CN108834013B (en) Wearable equipment electric quantity balancing method and related product
CN110475020A (en) Apparatus control method and Related product
CN108955759A (en) The wearing detection method and Related product of wearable device
CN109144455A (en) display control method and related product
CN104301824B (en) Line traffic control equipment, controller, method and device
CN108923810A (en) Interpretation method and relevant device
CN108769401A (en) Signal detecting method and related product
WO2020025033A1 (en) Volume-based master-slave switching method and related products
CN104536781A (en) Terminal
CN108649671B (en) Wireless charging circuit and wearable equipment
CN108955758A (en) The wearing detection method and Related product of wearable device

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20181106

RJ01 Rejection of invention patent application after publication