CN109947249A - Exchange method, wearable device and the computer storage medium of wearable device - Google Patents
Exchange method, wearable device and the computer storage medium of wearable device Download PDFInfo
- Publication number
- CN109947249A CN109947249A CN201910201464.1A CN201910201464A CN109947249A CN 109947249 A CN109947249 A CN 109947249A CN 201910201464 A CN201910201464 A CN 201910201464A CN 109947249 A CN109947249 A CN 109947249A
- Authority
- CN
- China
- Prior art keywords
- wearable device
- view
- air
- touch event
- gesture
- 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.)
- Granted
Links
- 238000000034 method Methods 0.000 title claims abstract description 44
- 238000013507 mapping Methods 0.000 claims description 36
- 238000004590 computer program Methods 0.000 claims description 10
- 230000001133 acceleration Effects 0.000 claims description 9
- 238000004422 calculation algorithm Methods 0.000 claims description 9
- 238000012986 modification Methods 0.000 claims description 8
- 230000004048 modification Effects 0.000 claims description 8
- 230000001105 regulatory effect Effects 0.000 claims description 7
- 230000003993 interaction Effects 0.000 claims description 5
- 229910002056 binary alloy Inorganic materials 0.000 claims description 2
- 238000012545 processing Methods 0.000 description 16
- 230000006870 function Effects 0.000 description 15
- 230000006854 communication Effects 0.000 description 14
- 238000004891 communication Methods 0.000 description 13
- 230000002452 interceptive effect Effects 0.000 description 10
- 238000010586 diagram Methods 0.000 description 7
- 230000006399 behavior Effects 0.000 description 5
- 238000005452 bending Methods 0.000 description 3
- 230000008901 benefit Effects 0.000 description 3
- 230000000694 effects Effects 0.000 description 3
- 238000005516 engineering process Methods 0.000 description 3
- 238000010295 mobile communication Methods 0.000 description 3
- 230000003287 optical effect Effects 0.000 description 3
- 230000008569 process Effects 0.000 description 3
- 238000004088 simulation Methods 0.000 description 3
- 230000005540 biological transmission Effects 0.000 description 2
- 238000001514 detection method Methods 0.000 description 2
- 230000005764 inhibitory process Effects 0.000 description 2
- 239000004973 liquid crystal related substance Substances 0.000 description 2
- 230000007774 longterm Effects 0.000 description 2
- 230000003068 static effect Effects 0.000 description 2
- OKTJSMMVPCPJKN-UHFFFAOYSA-N Carbon Chemical compound [C] OKTJSMMVPCPJKN-UHFFFAOYSA-N 0.000 description 1
- 240000007594 Oryza sativa Species 0.000 description 1
- 235000007164 Oryza sativa Nutrition 0.000 description 1
- 238000004364 calculation method Methods 0.000 description 1
- 230000008859 change Effects 0.000 description 1
- 238000006243 chemical reaction Methods 0.000 description 1
- 238000005314 correlation function Methods 0.000 description 1
- 230000001419 dependent effect Effects 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 239000012769 display material Substances 0.000 description 1
- 230000005611 electricity Effects 0.000 description 1
- 230000008030 elimination Effects 0.000 description 1
- 238000003379 elimination reaction Methods 0.000 description 1
- 229910021389 graphene Inorganic materials 0.000 description 1
- 230000005484 gravity Effects 0.000 description 1
- 238000003780 insertion Methods 0.000 description 1
- 230000037431 insertion Effects 0.000 description 1
- 238000005259 measurement Methods 0.000 description 1
- 238000012544 monitoring process Methods 0.000 description 1
- 230000000149 penetrating effect Effects 0.000 description 1
- 235000009566 rice Nutrition 0.000 description 1
- 230000005236 sound signal Effects 0.000 description 1
- 238000010897 surface acoustic wave method Methods 0.000 description 1
- 238000012360 testing method Methods 0.000 description 1
- 238000012795 verification Methods 0.000 description 1
- 230000000007 visual effect Effects 0.000 description 1
Landscapes
- User Interface Of Digital Computer (AREA)
Abstract
The invention discloses a kind of exchange methods of wearable device, comprising the following steps: when the sensor of wearable device detects gesture high up in the air, obtains the corresponding operation data of the gesture high up in the air;It is simulated according to the operation data and pre-stored data agreement, obtains the corresponding touch event sequence of the gesture high up in the air;According to the display information of the touch event sequence and the wearable device current window, determines the corresponding operational order of the gesture high up in the air and execute.The invention also discloses a kind of wearable device and computer storage mediums.When wearable device detects gesture high up in the air in the present invention, it simulates to obtain touch event sequence according to the corresponding operation data of gesture high up in the air, wearable device determines the corresponding operational order of touch event sequence, and execute the operational order, the space-by-space operation of wearable device is realized, so that the operation of wearable device more intelligence is flexibly.
Description
Technical field
The present invention relates to the exchange method of wearable device field more particularly to wearable device, wearable device and meters
Calculation machine storage medium.
Background technique
Gesture (mid-air gestures) high up in the air is that one kind is contactless, is able to use family to be grasped with freehand manner
The aerial gesture made, essence are a kind of natural human-computer interaction modes for not carrying out any inconvenience to user gesture interacting strip.Due to
The display screen of wearable device is smaller, and gesture identification high up in the air is directly applied to wearable device according to the prior art and is handed over
Mutually there are technical problem, the interaction that wearable device how is more intelligently carried out based on gesture high up in the air, which is become, currently urgently to be solved
Certainly the technical issues of.
Summary of the invention
The main purpose of the present invention is to provide a kind of exchange method of wearable device, wearable device and computers to deposit
Storage media, it is intended to solve current wearable device interactive mode technical problem not smart enough.
To achieve the above object, the present invention provides the exchange method of wearable device, the interaction side of the wearable device
Method the following steps are included:
When the sensor of wearable device detects gesture high up in the air, the corresponding operation data of the gesture high up in the air is obtained;
It is simulated according to the operation data and pre-stored data agreement, obtains the corresponding touch event of the gesture high up in the air
Sequence;
According to the display information of the touch event sequence and the wearable device current window, the hand high up in the air is determined
The corresponding operational order of gesture simultaneously executes.
Optionally, described when the sensor of wearable device detects gesture high up in the air, it is corresponding to obtain the gesture high up in the air
Operation data the step of after, comprising:
Whether the sensor obtains the sliding speed in the operation data, and judge the sliding speed in default speed
Spend section;
In the sliding speed not in the pre-set velocity interval, the wearable device exports prompt information, to mention
Show that the wearable device corresponds to the new gesture high up in the air of user's input;
In the sliding speed in the pre-set velocity interval, the sensor by the operation data be packaged into two into
Format processed simultaneously reports to ccf layer.
Optionally, described to be simulated according to the operation data and pre-stored data agreement, obtain the gesture pair high up in the air
The step of touch event sequence answered, comprising:
The ccf layer of the wearable device obtains sliding speed and glide direction in the operation data;
When the glide direction is upward or downward, the ccf layer is obtained under the wearable device use state
Longitudinal screen size, and sliding distance is calculated according to longitudinal screen size and the sliding speed;In the glide direction
When being leftward or rightward, the ccf layer obtains the lateral screen size under the wearable device use state, and according to institute
It states lateral screen size and the sliding speed calculates sliding distance;
According to the acceleration algorithm in the sliding distance and pre-stored data agreement, it is corresponding to obtain the gesture high up in the air
Move sequence of events;
By move event modification is down event at first in the move sequence of events, by the last one move event
It is changed to up event, obtains the corresponding touch event sequence of the gesture high up in the air.
Optionally, the display information according to the touch event sequence and the wearable device current window, really
The step of determining the corresponding operational order of the gesture high up in the air and executing, comprising:
Traverse the corresponding view tree of the current window;
When there is the first object view comprising presetting hand gesture attribute value in the view tree, by the touch event sequence
Column are sent to the corresponding first view control of the first object view;
The first view control obtains preset instructions operation corresponding with touch event sequence described in event mapping table
Instruction, and execute the operational order.
Optionally, the display information according to the touch event sequence and the wearable device current window, really
The step of determining the corresponding operational order of the gesture high up in the air and executing, comprising:
Traverse the corresponding view tree of the current window;
There is no when the first object view comprising presetting hand gesture attribute value in the view tree, the view tree is obtained
In each view display setting;
The the second target view determined in view tree is set according to the display, and the touch event sequence is sent to
The corresponding 2nd view control of the second target view;
The 2nd view control obtains preset instructions operation corresponding with touch event sequence described in event mapping table
Instruction, and execute the operational order.
Optionally, when the first object view existed in the view tree comprising presetting hand gesture attribute value, by institute
After stating the step of touch event sequence is sent to the first object view corresponding first view control, comprising:
The first view control inquiry preset instructions and event mapping table;
In preset instructions operational order corresponding with the touch event sequence is not present in event mapping table, hold
Row step: the display setting of each view in the view tree is obtained.
Optionally, described that the second target view determined in view tree is arranged according to the display, and by the touch thing
Part sequence is sent to the step of the second target view corresponding 2nd view control, comprising:
Using display size in the view tree, record has the view of rollability as second in maximum and rollability label
Target view, wherein the display setting includes: display size and rollability label;
The touch event sequence is sent to the corresponding 2nd view control of the second target view by the ccf layer.
Optionally, the display information according to the touch event sequence and the wearable device current window, really
The step of determining the corresponding operational order of the gesture high up in the air and executing, comprising:
According to the display information of the touch event sequence and the wearable device current window, the hand high up in the air is determined
The corresponding operational order of gesture;
When the operational order is that slide instructs, the sliding speed in the operation data is obtained, is obtained default
The corresponding display of sliding speed described in sliding tables of data is regulated the speed, and is regulated the speed and slided by the display.
In addition, to achieve the above object, the present invention also provides a kind of wearable devices;
The wearable device includes: memory, processor and is stored on the memory and can be in the processor
The computer program of upper operation, in which:
The computer program realizes the exchange method of wearable device as described above when being executed by the processor
Step.
In addition, to achieve the above object, the present invention also provides computer storage mediums;
Computer program, the realization when computer program is executed by processor are stored in the computer storage medium
The step of such as exchange method of above-mentioned wearable device.
Exchange method, wearable device and the computer storage for a kind of wearable device that the embodiment of the present invention proposes are situated between
Matter obtains the corresponding operation data of the gesture high up in the air when the sensor of wearable device detects gesture high up in the air;According to institute
It states operation data and pre-stored data agreement is simulated, obtain the corresponding touch event sequence of the gesture high up in the air;According to described
The display information of touch event sequence and the wearable device current window determines the corresponding operational order of the gesture high up in the air
And it executes.When wearable device detects gesture high up in the air in the present embodiment, wearable device is according to the corresponding operation of gesture high up in the air
Digital simulation, realization corresponding touch event sequence when gesture high up in the air is mapped in wearable device, then, wearable device
It determines the corresponding operational order of touch event sequence, and executes the operational order, realize the space-by-space operation of wearable device, make
Obtain the operation more intelligence of wearable device flexibly.
Detailed description of the invention
The drawings herein are incorporated into the specification and forms part of this specification, and shows and meets implementation of the invention
Example, and be used to explain the principle of the present invention together with specification.
In order to more clearly explain the embodiment of the invention or the technical proposal in the existing technology, to embodiment or will show below
There is attached drawing needed in technical description to be briefly described, it should be apparent that, for those of ordinary skill in the art
Speech, without any creative labor, is also possible to obtain other drawings based on these drawings.
Fig. 1 is a kind of hardware structural diagram of embodiment of wearable device provided in an embodiment of the present invention;
Fig. 2 is a kind of hardware schematic of embodiment of wearable device provided by the embodiments of the present application;
Fig. 3 is a kind of hardware schematic of embodiment of wearable device provided by the embodiments of the present application;
Fig. 4 is a kind of hardware schematic of embodiment of wearable device provided by the embodiments of the present application;
Fig. 5 is the flow diagram of the exchange method first embodiment of wearable device of the present invention;
Fig. 6 is the flow diagram of the exchange method second embodiment of wearable device of the present invention;
Fig. 7 is a kind of hardware schematic of embodiment of wearable device provided by the embodiments of the present application.
The embodiments will be further described with reference to the accompanying drawings for the realization, the function and the advantages of the object of the present invention.
Specific embodiment
It should be appreciated that the specific embodiments described herein are merely illustrative of the present invention, it is not intended to limit the present invention.
In subsequent description, it is only using the suffix for indicating such as " module ", " component " or " unit " of element
Be conducive to explanation of the invention, itself there is no a specific meaning.Therefore, " module ", " component " or " unit " can mix
Ground uses.
The wearable device provided in the embodiment of the present invention includes that Intelligent bracelet, smartwatch and smart phone etc. move
Dynamic terminal.With the continuous development of Screen Technology, the appearance of the screens form such as flexible screen, Folding screen, smart phone etc. is mobile eventually
End can also be used as wearable device.The wearable device provided in the embodiment of the present invention may include: RF (Radio
Frequency, radio frequency) unit, WiFi module, audio output unit, A/V (audio/video) input unit, sensor, display
The components such as unit, user input unit, interface unit, memory, processor and power supply.
It will be illustrated by taking wearable device as an example in subsequent descriptions, referring to Fig. 1, its each implementation to realize the present invention
A kind of hardware structural diagram of wearable device of example, which may include: RF (Radio
Frequency, radio frequency) unit 101, WiFi module 102, audio output unit 103, A/V (audio/video) input unit 104,
Sensor 105, display unit 106, user input unit 107, interface unit 108, memory 109, processor 110, Yi Ji electricity
The components such as source 111.It will be understood by those skilled in the art that wearable device structure shown in Fig. 1 is not constituted to wearable
The restriction of equipment, wearable device may include perhaps combining certain components or difference than illustrating more or fewer components
Component layout.
It is specifically introduced below with reference to all parts of the Fig. 1 to wearable device:
Radio frequency unit 101 can be used for receiving and sending messages or communication process in, signal sends and receivees, specifically, radio frequency list
Uplink information can be sent to base station by member 101, after the downlink information that in addition can also be sent base station receives, be sent to wearing
The processor 110 of formula equipment is handled, and base station can be to the downlink information that radio frequency unit 101 is sent and be sent out according to radio frequency unit 101
What the uplink information sent generated, it is also possible to actively push away to radio frequency unit 101 after the information update for detecting wearable device
It send, for example, base station can penetrating to wearable device after detecting that geographical location locating for wearable device changes
Frequency unit 101 sends the message informing of geographical location variation, and radio frequency unit 101, can should after receiving the message informing
The processor 110 that message informing is sent to wearable device is handled, and it is logical that the processor 110 of wearable device can control the message
Know on the display panel 1061 for being shown in wearable device;In general, radio frequency unit 101 include but is not limited to antenna, at least one
Amplifier, transceiver, coupler, low-noise amplifier, duplexer etc..In addition, radio frequency unit 101 can also pass through channel radio
Letter communicated with network and other equipment, specifically may include: by wireless communication with the server communication in network system, example
Such as, wearable device can download file resource from server by wireless communication, for example can download and answer from server
With program, after wearable device completes the downloading of a certain application program, if the corresponding file of the application program in server
Resource updates, then the server can be by wireless communication to the message informing of wearable device push resource updates, to remind
User is updated the application program.Any communication standard or agreement can be used in above-mentioned wireless communication, including but not limited to
GSM (Global System of Mobile communication, global system for mobile communications), GPRS (General
Packet Radio Service, general packet radio service), CDMA2000 (Code Division Multiple
Access2000, CDMA 2000), WCDMA (Wideband Code Division Multiple Access, broadband code
Point multiple access), TD-SCDMA (Time Division-Synchronous Code Division Multiple Access, the time-division
S-CDMA-Synchronous Code Division Multiple Access), (Frequency Division Duplexing-Long Term Evolution, frequency division are double by FDD-LTE
Work long term evolution) and TDD-LTE (Time Division Duplexing-Long Term Evolution, time division duplex are long-term
Evolution) etc..
In one embodiment, wearable device 100 can access existing communication network by insertion SIM card.
In another embodiment, wearable device 100 can be come real by the way that esim card (Embedded-SIM) is arranged
Existing communication network is now accessed, by the way of esim card, the inner space of wearable device can be saved, reduce thickness.
It is understood that although Fig. 1 shows radio frequency unit 101, but it is understood that, radio frequency unit 101 its
And it is not belonging to must be configured into for wearable device, it can according to need within the scope of not changing the essence of the invention and save completely
Slightly.Wearable device 100 can realize the communication connection with other equipment or communication network separately through wifi module 102,
The embodiment of the present invention is not limited thereto.
WiFi belongs to short range wireless transmission technology, and wearable device can help user to receive and dispatch by WiFi module 102
Email, browsing webpage and access streaming video etc., it provides wireless broadband internet access for user.Although Fig. 1
WiFi module 102 is shown, but it is understood that, and it is not belonging to must be configured into for wearable device, it completely can root
It is omitted within the scope of not changing the essence of the invention according to needs.
Audio output unit 103 can be in call signal reception pattern, call mode, record in wearable device 100
When under the isotypes such as mode, speech recognition mode, broadcast reception mode, by radio frequency unit 101 or WiFi module 102 it is received or
The audio data that person stores in memory 109 is converted into audio signal and exports to be sound.Moreover, audio output unit
103 can also provide audio output relevant to the specific function that wearable device 100 executes (for example, call signal reception sound
Sound, message sink sound etc.).Audio output unit 103 may include loudspeaker, buzzer etc..
A/V input unit 104 is for receiving audio or video signal.A/V input unit 104 may include graphics processor
(Graphics Processing Unit, GPU) 1041 and microphone 1042, graphics processor 1041 is in video acquisition mode
Or the image data of the static images or video obtained in image capture mode by image capture apparatus (such as camera) carries out
Reason.Treated, and picture frame may be displayed on display unit 106.Through graphics processor 1041, treated that picture frame can be deposited
Storage is sent in memory 109 (or other storage mediums) or via radio frequency unit 101 or WiFi module 102.Mike
Wind 1042 can connect in telephone calling model, logging mode, speech recognition mode etc. operational mode via microphone 1042
Quiet down sound (audio data), and can be audio data by such acoustic processing.Audio that treated (voice) data can
To be converted to the format output that can be sent to mobile communication base station via radio frequency unit 101 in the case where telephone calling model.
Microphone 1042 can be implemented various types of noises elimination (or inhibition) algorithms and send and receive sound to eliminate (or inhibition)
The noise generated during frequency signal or interference.
As shown in Figure 1, as may include that operating system, network are logical in a kind of memory 109 of computer storage medium
Believe that the interactive program of module, Subscriber Interface Module SIM and wearable device, processor 110 can be used for calling in memory 109
The interactive program of the wearable device of storage, and execute following steps:
When the sensor of wearable device detects gesture high up in the air, the corresponding operation data of the gesture high up in the air is obtained;
It is simulated according to the operation data and pre-stored data agreement, obtains the corresponding touch event of the gesture high up in the air
Sequence;
According to the display information of the touch event sequence and the wearable device current window, the hand high up in the air is determined
The corresponding operational order of gesture simultaneously executes.
Further, processor 110 can be used for calling the interactive program of the wearable device stored in memory 109,
Described in also executing when the sensor of wearable device detects gesture high up in the air, the corresponding operation data of the gesture high up in the air is obtained
The step of after, comprising:
Whether the sensor obtains the sliding speed in the operation data, and judge the sliding speed in default speed
Spend section;
In the sliding speed not in the pre-set velocity interval, the wearable device exports prompt information, to mention
Show that the wearable device corresponds to the new gesture high up in the air of user's input;
In the sliding speed in the pre-set velocity interval, the sensor by the operation data be packaged into two into
Format processed simultaneously reports to ccf layer.
Further, processor 110 can be used for calling the interactive program of the wearable device stored in memory 109,
Also execute it is described simulated according to the operation data and pre-stored data agreement, obtain the corresponding touch thing of the gesture high up in the air
The step of part sequence, comprising:
The ccf layer of the wearable device obtains sliding speed and glide direction in the operation data;
When the glide direction is upward or downward, the ccf layer is obtained under the wearable device use state
Longitudinal screen size, and sliding distance is calculated according to longitudinal screen size and the sliding speed;In the glide direction
When being leftward or rightward, the ccf layer obtains the lateral screen size under the wearable device use state, and according to institute
It states lateral screen size and the sliding speed calculates sliding distance;
According to the acceleration algorithm in the sliding distance and pre-stored data agreement, it is corresponding to obtain the gesture high up in the air
Move sequence of events;
By move event modification is down event at first in the move sequence of events, by the last one move event
It is changed to up event, obtains the corresponding touch event sequence of the gesture high up in the air.
Further, processor 110 can be used for calling the interactive program of the wearable device stored in memory 109,
The display information according to the touch event sequence and the wearable device current window is also executed, is determined described high up in the air
The corresponding operational order of gesture and the step of execute, comprising:
Traverse the corresponding view tree of the current window;
When there is the first object view comprising presetting hand gesture attribute value in the view tree, by the touch event sequence
Column are sent to the corresponding first view control of the first object view;
The first view control obtains preset instructions operation corresponding with touch event sequence described in event mapping table
Instruction, and execute the operational order.
Further, processor 110 can be used for calling the interactive program of the wearable device stored in memory 109,
The display information according to the touch event sequence and the wearable device current window is also executed, is determined described high up in the air
The corresponding operational order of gesture and the step of execute, comprising:
Traverse the corresponding view tree of the current window;
There is no when the first object view comprising presetting hand gesture attribute value in the view tree, the view tree is obtained
In each view display setting;
The the second target view determined in view tree is set according to the display, and the touch event sequence is sent to
The corresponding 2nd view control of the second target view;
The 2nd view control obtains preset instructions operation corresponding with touch event sequence described in event mapping table
Instruction, and execute the operational order.
Further, processor 110 can be used for calling the interactive program of the wearable device stored in memory 109,
When also executing the first object view existed in the view tree comprising presetting hand gesture attribute value, by the touch event
Sequence was sent to after the step of first object view corresponding first view control, comprising:
The first view control inquiry preset instructions and event mapping table;
In preset instructions operational order corresponding with the touch event sequence is not present in event mapping table, hold
Row step: the display setting of each view in the view tree is obtained.
Further, processor 110 can be used for calling the interactive program of the wearable device stored in memory 109,
The second target view being arranged in determining view tree according to the display is also executed, and the touch event sequence is sent
The step of the 2nd view control corresponding to the second target view, comprising:
Using display size in the view tree, record has the view of rollability as second in maximum and rollability label
Target view, wherein the display setting includes: display size and rollability label;
The touch event sequence is sent to the corresponding 2nd view control of the second target view by the ccf layer.
Further, processor 110 can be used for calling the interactive program of the wearable device stored in memory 109,
The display information according to the touch event sequence and the wearable device current window is also executed, is determined described high up in the air
The corresponding operational order of gesture and the step of execute, comprising:
According to the display information of the touch event sequence and the wearable device current window, the hand high up in the air is determined
The corresponding operational order of gesture;
When the operational order is that slide instructs, the sliding speed in the operation data is obtained, is obtained default
The corresponding display of sliding speed described in sliding tables of data is regulated the speed, and is regulated the speed and slided by the display.
In one embodiment, wearable device 100 includes one or more cameras, by opening camera,
It can be realized the capture to image, realize the functions such as take pictures, record a video, the position of camera, which can according to need, to be configured.
Wearable device 100 further includes at least one sensor 105, for example, optical sensor, motion sensor and other
Sensor.Specifically, optical sensor includes ambient light sensor and proximity sensor, wherein ambient light sensor can be according to ring
The light and shade of border light adjusts the brightness of display panel 1061, proximity sensor can when wearable device 100 is moved in one's ear,
Close display panel 1061 and/or backlight.As a kind of motion sensor, accelerometer sensor can detect in all directions
The size of (generally three axis) acceleration, can detect that size and the direction of gravity, can be used to identify mobile phone posture when static
It (for example pedometer, is struck using (such as horizontal/vertical screen switching, dependent game, magnetometer pose calibrating), Vibration identification correlation function
Hit) etc..
In one embodiment, wearable device 100 further includes proximity sensor, by using proximity sensor, is worn
The formula equipment of wearing can be realized non-contact manipulation, provide more modes of operation.
In one embodiment, wearable device 100 further includes heart rate sensor, when wearing, by close to using
Person can be realized the detecting of heart rate.
In one embodiment, wearable device 100 can also include that fingerprint sensor can by reading fingerprint
Realize the functions such as safety verification.
Display unit 106 is for showing information input by user or being supplied to the information of user.Display unit 106 can wrap
Display panel 1061 is included, liquid crystal display (Liquid Crystal Display, LCD), Organic Light Emitting Diode can be used
Forms such as (Organic Light-Emitting Diode, OLED) configure display panel 1061.
In one embodiment, display panel 1061 uses flexible display screen, and wearable using flexible display screen is set
For when wearing, screen is able to carry out bending, to more be bonded.Optionally, the flexible display screen can use OLED screen
Body and graphene screen body, in other embodiments, the flexible display screen is also possible to other display materials, the present embodiment
It is not limited thereto.
In one embodiment, the display panel 1061 of wearable device can take rectangle, ring when convenient for wearing
Around.In other embodiments, other modes can also be taken.
User input unit 107 can be used for receiving the number or character information of input, and generate and wearable device
User setting and the related key signals input of function control.Specifically, user input unit 107 may include touch panel 1071
And other input equipments 1072.Touch panel 1071, also referred to as touch screen collect the touch behaviour of user on it or nearby
Make (for example user uses any suitable objects or attachment such as finger, stylus on touch panel 1071 or in touch panel
Operation near 1071), and corresponding attachment device is driven according to preset formula.Touch panel 1071 may include touching
Two parts of detection device and touch controller.Wherein, the touch orientation of touch detecting apparatus detection user, and detect touch behaviour
Make bring signal, transmits a signal to touch controller;Touch controller receives touch information from touch detecting apparatus, and
It is converted into contact coordinate, then gives processor 110, and order that processor 110 is sent can be received and executed.This
Outside, touch panel 1071 can be realized using multiple types such as resistance-type, condenser type, infrared ray and surface acoustic waves.In addition to touching
Panel 1071 is controlled, user input unit 107 can also include other input equipments 1072.Specifically, other input equipments 1072
It can include but is not limited to physical keyboard, function key (such as volume control button, switch key etc.), trace ball, mouse, operation
One of bar etc. is a variety of, specifically herein without limitation.
In one embodiment, one or more buttons have can be set in the side of wearable device 100.Button can be with
The various ways such as short-press, long-pressing, rotation are realized, to realize a variety of operating effects.The quantity of button can be different to be multiple
It can be applied in combination between button, realize a variety of operating functions.
Further, touch panel 1071 can cover display panel 1061, when touch panel 1071 detect on it or
After neighbouring touch operation, processor 110 is sent to determine the type of touch event sequence, is followed by subsequent processing device 110 according to touching
The type for touching sequence of events provides corresponding visual output on display panel 1061.Although in Fig. 1, touch panel 1071 with
Display panel 1061 is the function that outputs and inputs of realizing wearable device as two independent components, but in certain realities
It applies in example, touch panel 1071 and display panel 1061 can be integrated and be realized the function that outputs and inputs of wearable device,
Specifically herein without limitation.For example, when receiving the message informing of a certain application program by radio frequency unit 101, processor
110 can control and show the message informing in a certain predeterminable area of display panel 1061, the predeterminable area and touch surface
The a certain region of plate 1071 is corresponding, can be to display panel by carrying out touch control operation to a certain region of touch panel 1071
The message informing shown in corresponding region on 1061 is controlled.
Interface unit 108 be used as at least one external device (ED) connect with wearable device 100 can by interface.Example
Such as, external device (ED) may include wired or wireless headphone port, external power supply (or battery charger) port, You Xianhuo
Wireless data communications port, memory card port, the port for connecting the device with identification module, audio input/output (I/O) end
Mouth, video i/o port, ear port etc..Interface unit 108 can be used for receiving the input from external device (ED) (for example, number
It is believed that breath, electric power etc.) and the input received is transferred to one or more elements in wearable device 100 or can
For transmitting data between wearable device 100 and external device (ED).
In one embodiment, wearable device 100 interface unit 108 using contact structure, by contact with
Corresponding other equipment connection, realizes the functions such as charging, connection.Use contact can be with waterproof.
Memory 109 can be used for storing software program and various data.Memory 109 can mainly include storing program area
The storage data area and, wherein storing program area can (such as the sound of application program needed for storage program area, at least one function
Sound playing function, image player function etc.) etc.;Storage data area can store according to mobile phone use created data (such as
Audio data, phone directory etc.) etc..In addition, memory 109 may include high-speed random access memory, it can also include non-easy
The property lost memory, a for example, at least disk memory, flush memory device or other volatile solid-state parts.
Processor 110 is the control centre of wearable device, utilizes various interfaces and the entire wearable device of connection
Various pieces, by running or execute the software program and/or module that are stored in memory 109, and call and be stored in
Data in memory 109 execute the various functions and processing data of wearable device, to carry out to wearable device whole
Monitoring.Processor 110 may include one or more processing units;Preferably, processor 110 can integrate application processor and modulation
Demodulation processor, wherein the main processing operation system of application processor, user interface and application program etc., modulation /demodulation processing
Device mainly handles wireless communication.It is understood that above-mentioned modem processor can not also be integrated into processor 110.
Wearable device 100 can also include the power supply 111 (such as battery) powered to all parts, it is preferred that power supply
111 can be logically contiguous by power-supply management system and processor 110, thus charged by power-supply management system realization management,
The functions such as electric discharge and power managed.
Although Fig. 1 is not shown, wearable device 100 can also be including bluetooth module etc., and details are not described herein.It is wearable to set
Standby 100, by bluetooth, can connect with other terminal devices, realize communication and the interaction of information.
Fig. 2-Fig. 4 is please referred to, is the structure under a kind of a kind of embodiment of wearable device provided in an embodiment of the present invention
Schematic diagram.Wearable device in the embodiment of the present invention, including flexible screen.In wearable device expansion, flexible screen is in
Strip;When wearable device is in wearing state, flexible screen bending is annular in shape.Fig. 2 and Fig. 3 show wearable device
Structural schematic diagram when screen is unfolded, Fig. 4 show structural schematic diagram when wearable device screen-bending.
It is proposed on the basis of the hardware embodiment of above-mentioned wearable device: the first of the exchange method of wearable device
Embodiment;The exchange method of the wearable device is applied in wearable device.
Referring to Fig. 5, in the first embodiment of the exchange method of wearable device of the present invention, the friendship of the wearable device
Mutually method includes:
Step S10 obtains the corresponding behaviour of the gesture high up in the air when the sensor of wearable device detects gesture high up in the air
Make data.
A kind of sensor is included at least in wearable device, specifically, the sensor of wearable device can in the present embodiment
To include one of infrared sensor, ambient light sensor and proximity sensor or several, for example, infrared sensor is benefit
A kind of sensor of data processing is carried out with infrared ray, infrared sensor is measured for contactless temperature, in the present embodiment
Middle infrared sensor is measured by contactless temperature, judges whether there is gesture high up in the air;Ambient light sensor can be according to environment light
The light and shade of line changes to detect gesture high up in the air, that is, can be to wearing when user carries out slide above wearable device dial plate
The environment light of formula equipment is blocked, and causes the environment light of wearable device to change, in the present embodiment the ring of wearable device
Border optical sensor can detecte the variation of environment light, and according to the variational regularity of environment light, judge whether there is gesture high up in the air;
Proximity sensor is to replace contact measurements mode, the mobile message of proximity sensor energy test object and the presence such as limit switch
Information, which is converted to electric signal, can be realized non-contact manipulation, for example, capacitive proximity sensor, close to sensing in the present embodiment
Device is according to the mobile message detected and there are information to judge whether there is gesture high up in the air.
In the present embodiment when the sensor of wearable device detects gesture high up in the air, it is corresponding that sensor obtains gesture high up in the air
Operation data, wherein operation data includes but are not limited to sliding time, glide direction and sliding speed (are managed for convenience
One or more of sliding speed is slip speed in the solution present invention).
Step S20 is simulated according to the operation data and pre-stored data agreement, and it is corresponding to obtain the gesture high up in the air
Touch event sequence.
Operation data is transmitted to the data processing system of wearable device by the sensor of wearable device in the present embodiment
It is handled, data processing system parses operation data to obtain glide direction and sliding speed, and simulates corresponding touch
Sequence of events, specifically, step S20, comprising:
Step S21, the ccf layer of the wearable device obtain sliding speed and glide direction in the operation data.
Collected operation data is transferred to data processing system (the wearable device data of wearable device by sensor
Processing system is determined according to certain situation, that is, data processing system can analogize to Android system), in data processing system
Ccf layer receives operation data, and obtains the sliding speed in operation data and glide direction.
Step S22, when the glide direction is upward or downward, the ccf layer obtains the wearable device and uses
Longitudinal screen size under state, and sliding distance is calculated according to longitudinal screen size and the sliding speed;Described
When glide direction is leftward or rightward, the ccf layer obtains the lateral screen size under the wearable device use state,
And sliding distance is calculated according to the lateral screen size and the sliding speed.
When ccf layer determines that glide direction is upward or downward, ccf layer obtains vertical under wearable device use state
To screen size, ccf layer calculates sliding distance according to longitudinal screen size and sliding speed;For example, being preset in wearable device
Speed with apart from mapping table, pre-set velocity in mapping table the corresponding sliding distance of 2 metre per second (m/s) of sliding speed be screen size
Overall length, sliding speed is 3/4ths screen lengths that 1.5 metre per second (m/s)s correspond to that sliding distance is screen size, and sliding speed is
1 metre per second (m/s) corresponds to the half screen length that sliding distance is screen size, and the screen of current wearable device is flexible screen, indulges
It is 4cm to screen size, sliding speed is 1.5 metre per second (m/s)s, then corresponds to 3 centimetres of 3/4ths screen size.
Similarly, in the present embodiment when glide direction is leftward or rightward, ccf layer obtains wearable device use state
Under lateral screen size, ccf layer after getting lateral screen size, ccf layer according to pre-set velocity with apart from mapping
Table determines that sliding speed calculates sliding distance.
Step S23 obtains the gesture high up in the air according to the acceleration algorithm in the sliding distance and pre-stored data agreement
Corresponding move sequence of events.
Pre-stored data agreement in ccf layer includes preset acceleration algorithm in pre-stored data agreement, and ccf layer can root
According to the operation of acceleration algorithm accurately analog subscriber, the corresponding move sequence of events of the gesture high up in the air is obtained;For example, accelerating
The acceleration for spending the gesture high up in the air of pre-set user in algorithm is square of 1 metre per second (m/s), sliding distance 4cm, every 0.01 second correspondence one
A move event, the initial velocity in operation data are 0, then ccf layer is according to the acceleration in sliding distance and pre-stored data agreement
The number that degree algorithm determines that wearable device collects move event is 20, and by 20 move events temporally successive suitable
Sequence rearranges move sequence of events.
Step S24, by move event modification is down event at first in the move sequence of events, by the last one
Move event modification is up event, obtains the corresponding touch event sequence of the gesture high up in the air.
The move event modification to sort in move sequence of events at first is down event by ccf layer, that is, user presses
The screen of wearable device is pressed, the last one move event modification of ccf layer is up event by ccf layer, that is, user leaves wearing
The screen of formula equipment, ccf layer is using down event, a series of move event and up event as the corresponding touch of gesture high up in the air
Sequence of events.
Step S30 determines institute according to the display information of the touch event sequence and the wearable device current window
It states the corresponding operational order of gesture high up in the air and executes.
The ccf layer of wearable device obtains touch event sequence, and preset instructions and event mapping table in ccf layer are preset
Instruction and pre-set operational order in event mapping table and event mapping relations, for example, preset instructions and event mapping table
In include: touch event series 1 is corresponding to increase volume 5, and ccf layer is corresponding aobvious according to touch event retrieval current window
Show information.
When wearable device detects gesture high up in the air in the present embodiment, wearable device is according to the corresponding operation of gesture high up in the air
Digital simulation, realization corresponding touch event sequence when gesture high up in the air is mapped in wearable device, then, wearable device
It determines the corresponding operational order of touch event sequence, and executes the operational order, realize the space-by-space operation of wearable device, make
Obtain the operation more intelligence of wearable device flexibly.
In addition, being preset in sliding tables of data to improve the default sliding tables of data of the operating experience wearable device of user
Different sliding speeds corresponds to different displays and regulates the speed, for example, sliding speed is that the corresponding display of 1 metre per second (m/s) regulates the speed 1
Centimeters per second;Specifically, when operational order is that slide instructs, ccf layer obtains the sliding speed in operation data, obtains
It takes the corresponding display of sliding speed in default sliding tables of data to regulate the speed, and regulates the speed and slided by the display.This
Determine that display is regulated the speed by the service speed of gesture high up in the air in embodiment, more convenient user checks.
Further, wearable device of the present invention is proposed on the basis of first embodiment of the invention referring to Fig. 6
The second embodiment of exchange method.
The present embodiment be in the first implementation after step S10 the step of, sensor has operation data in the present embodiment
Effect property is determined that specifically, the exchange method of the wearable device includes:
Step S40, the sensor obtain the sliding speed in the operation data, and whether judge the sliding speed
In pre-set velocity interval.
Whether sensor obtains the sliding speed in operation data, judge sliding speed in pre-set velocity interval, wherein pre-
If speed interval refers to pre-set sliding speed section, pre-set velocity interval can be according to user demand flexible setting, example
Such as, pre-set velocity interval is set as 1 metre per second (m/s) to 2 metre per second (m/s)s.
Step S50, in the sliding speed not in the pre-set velocity interval, the wearable device output prompt letter
Breath, to prompt the wearable device to correspond to the new gesture high up in the air of user's input.
Determine sliding speed not in pre-set velocity interval in sensor, that is, the sliding speed of gesture high up in the air it is too fast or
It crosses slowly, sensor is all determined as invalid operation data, and then, operation data is sent to by the sensor of wearable device in vain wears
The processor of formula equipment is worn, processor receives the invalid information of operation data, and exports prompt information, to prompt wearable device
The new gesture high up in the air of corresponding user's input.
Step S60, in the sliding speed in the pre-set velocity interval, the sensor seals the operation data
It dresses up binary format and reports to ccf layer.
Sliding speed is determined in pre-set velocity interval in sensor, and operation data format conversion is binary system by sensor
Format and encapsulate report to ccf layer;Sensor analyzes operation data in the present embodiment, excludes invalid operand
According to, so that the data processing of gesture high up in the air is more intelligent, and at the same time, when sensor determines that operation data is effective, sensing
Operation data is converted to binary data by device, the amount of data transmission is reduced, so that data processing is more convenient.
Further, the exchange method of wearable device of the present invention is proposed on the basis of the above embodiment of the present invention
3rd embodiment;The present embodiment is the refinement of step S30 in first embodiment.
A kind of implementation that operational order is determined according to touch event sequence is specifically illustrated in the present embodiment, specifically
The exchange method on ground, the wearable device includes:
Step S31 traverses the corresponding view tree of the current window.
Ccf layer obtains the corresponding view tree of current window, and traverses the view tree, that is, ccf layer obtains each of view tree
The unlimited level of view tree is unfolded for the view leaf of level, ccf layer, obtain each view leaf value predetermined, view,
Pattern etc..
Step S32, when there is the first object view comprising presetting hand gesture attribute value in the view tree, by the touching
It touches sequence of events and is sent to the corresponding first view control of the first object view.
When ccf layer determines the first object view existed in view tree comprising presetting hand gesture attribute value, that is, ccf layer
Middle preset attribute value set has default hand gesture attribute value comprising multiple in preset attribute value set, and ccf layer obtains in view tree
The corresponding attribute of each view, and whether judge in the corresponding attribute of each view comprising the default hand in preset attribute value set
Gesture attribute value, when including default hand gesture attribute value in the corresponding attribute of some view in view tree, ccf layer is by the view
As first object view, touch event sequence is sent to the corresponding first view control of first object view by ccf layer,
In, the first view control can be understood as the corresponding adjustment programme of first object view.
For example, the playback of songs page is shown in wearable device current window, the corresponding view tree packet of the playback of songs page
Include: the lyrics show that view, topic show that view, song adjust view and volume adjustment view, wherein ccf layer traversal song is broadcast
The corresponding view tree of the page is put, determines the operation that ccf layer will receive comprising default hand gesture attribute value in volume adjustment view
Data glide direction: upwards, sliding speed is that 1.2 metre per second (m/s)s are sent to the corresponding view control of volume adjustment view.
Step S33, the first view control obtain touch event sequence pair described in preset instructions and event mapping table
The operational order answered, and execute the operational order.
Preset instructions and event mapping table in first view control, preset instructions refer to pre-set with event mapping table
Operational order and event mapping table, for example, including in preset instructions and event mapping table: touch event 1 corresponding increase sound of series
Amount 5;First view control obtains preset instructions operational order corresponding with touch event sequence in event mapping table, and executes behaviour
It instructs.
It supports to apply customized gesture operation, by the preset attribute value set in ccf layer, preset category in the present embodiment
Property value set in comprising default hand gesture attribute value, detect there is the target comprising default hand gesture attribute in view tree in ccf layer
When view, operation is adjusted to target view, that is, can be some special in music or picture library etc. in the present embodiment
Interface is arranged default hand gesture attribute value, to support special operation, such as at picture library interface, slides up and down to zoom in or out
Picture horizontally slips to switch picture;So that the control of wearable device is more intelligent.
Further, in this embodiment giving another realization side for determining operational order according to touch event sequence
Formula, specifically, the exchange method of the wearable device includes:
Step S34 obtains institute there is no when the first object view comprising presetting hand gesture attribute value in the view tree
State the display setting of each view in view tree.
Determine that ccf layer obtains there is no when the first object view comprising presetting hand gesture attribute value in view tree in ccf layer
The display of each view in view tree is taken to be arranged, wherein display setting includes: display size and rollability label, for example, working as front window
Window is arranged for the time in mouth, and it includes: date setting view that the time, which is arranged in window, hour, view was arranged and view is arranged in minute,
Display size in the display setting of view is arranged in date are as follows: long 0.5cm wide 0.5cm, record, which has, in rollability label has and can roll
Dynamic property;Hour setting view shows display size in setting are as follows: long 1cm wide 0.5cm, record, which has, in rollability label has and can roll
Dynamic property;Display size in display setting with minute setting view are as follows: long 0.5cm wide 0.5cm, record has tool in rollability label
Having can rollability.
The the second target view determined in view tree is arranged according to the display in step S35, and by the touch event sequence
Column are sent to the corresponding 2nd view control of the second target view.
Specifically, step S35 includes:
Record in display size maximum in the view tree and rollability label there is the view of rollability to make by step a
For the second target view;
The touch event sequence is sent to the second target view corresponding second by step b, the ccf layer
View control.
Step S37, the 2nd view control obtain touch event sequence pair described in preset instructions and event mapping table
The operational order answered, and execute the operational order.
2nd view control preset instructions and event mapping table, preset instructions and event mapping table refer to pre-set behaviour
Make instruction and event mapping table, for example, including in preset instructions and event mapping table: touch event series 2 is corresponding to slide 1 li
Rice;2nd view control obtains preset instructions operational order corresponding with touch event sequence in event mapping table, and executes institute
State operational order.
Gesture of soaring aloft in the present embodiment can be for view maximum and rotatable in current window, in this way could most
The content of big degree sliding display.By needing to be traversed for view tree, successively judge the visibility of view with can rollability, obtain most
After excellent view, touch event sequence is handed down to the corresponding view control of the optimal view and handled by ccf layer, executes the icepro
The corresponding operational order of empty-handed gesture, to realize the upper and lower of wearable device or the effect that horizontally slips.
It should be added that: step S33 in the present embodiment, the first view control obtain preset instructions and thing
The corresponding operational order of touch event sequence described in part mapping table, and after executing the operational order further include: default
When instruction is with operational order corresponding there is no touch event sequence in event mapping table, execute in step S34: described in acquisition
The display setting of each view in view tree.
For example, first object view be volume adjustment view, the corresponding first view control of first object view, first
Include in preset instructions and event mapping table in view control, the preset instructions and event mapping table: 1, presetting touch event sequence
The corresponding operational order of column upward sliding is to increase volume;2, presetting the corresponding operational order of touch event sequence slide downward is
Reduce volume;The touch event sequence that gesture respective operations digital simulation high up in the air obtains be slide to the left, then, the first view control
Part determines the operational order corresponding with touch event sequence is not present in event mapping table in preset instructions, at this point, executing step
In S34: obtaining the display setting of each view in the view tree.By ensure that user grasps to traversal view in the present embodiment
The validity of work.
Based on above-mentioned each embodiment, it can be seen that if the equipment is wrist-watch, bracelet or wearable device
When, the screen of the equipment can not overlay device watchband region, can also be with the watchband region of overlay device.Here, this hair
Bright to propose a kind of optional embodiment, in the present embodiment, the equipment for wrist-watch, bracelet or wearable can be set
Standby, the equipment includes screen and interconnecting piece.The screen can be flexible screen, and the interconnecting piece can be watchband.It can
Choosing, the screen of the equipment or the viewing area of screen can be partly or completely covered on the watchband of equipment.Such as Fig. 7
Shown, Fig. 7 is a kind of a kind of hardware schematic of embodiment of wearable device provided by the embodiments of the present application, the equipment
Screen extends to two sides, and part is covered on the watchband of equipment.In other embodiments, the screen of the equipment can also be with
All it is covered on the watchband of the equipment.
In addition, the embodiment of the present invention also proposes a kind of computer storage medium.
Computer program, the realization when computer program is executed by processor are stored in the computer storage medium
Operation in the exchange method of wearable device provided by the above embodiment.
It should be noted that, in this document, relational terms such as first and second and the like are used merely to a reality
Body/operation/object is distinguished with another entity/operation/object, without necessarily requiring or implying these entity/operations/
There are any actual relationship or orders between object;The terms "include", "comprise" or its any other variant meaning
Covering non-exclusive inclusion, so that the process, method, article or the system that include a series of elements not only include that
A little elements, but also including other elements that are not explicitly listed, or further include for this process, method, article or
The intrinsic element of system.In the absence of more restrictions, the element limited by sentence "including a ...", is not arranged
Except there is also other identical elements in process, method, article or the system for including the element.
For device embodiment, since it is substantially similar to the method embodiment, related so describing fairly simple
Place illustrates referring to the part of embodiment of the method.The apparatus embodiments described above are merely exemplary, wherein making
It may or may not be physically separated for the unit of separate part description.In can selecting according to the actual needs
Some or all of the modules realize the purpose of the present invention program.Those of ordinary skill in the art are not making the creative labor
In the case where, it can it understands and implements.
The serial number of the above embodiments of the invention is only for description, does not represent the advantages or disadvantages of the embodiments.
Through the above description of the embodiments, those skilled in the art can be understood that above-described embodiment side
Method can be realized by means of software and necessary general hardware platform, naturally it is also possible to by hardware, but in many cases
The former is more preferably embodiment.Based on this understanding, technical solution of the present invention substantially in other words does the prior art
The part contributed out can be embodied in the form of software products, which is stored in one as described above
In storage medium (such as ROM/RAM, magnetic disk, CD), including some instructions are used so that a wearable device (can be wrist-watch
Deng) execute method described in each embodiment of the present invention.
The above is only a preferred embodiment of the present invention, is not intended to limit the scope of the invention, all to utilize this hair
Equivalent structure or equivalent flow shift made by bright specification and accompanying drawing content is applied directly or indirectly in other relevant skills
Art field, is included within the scope of the present invention.
Claims (10)
1. a kind of exchange method of wearable device, which is characterized in that the exchange method of the wearable device includes following step
It is rapid:
When the sensor of wearable device detects gesture high up in the air, the corresponding operation data of the gesture high up in the air is obtained;
It is simulated according to the operation data and pre-stored data agreement, obtains the corresponding touch event sequence of the gesture high up in the air
Column;
According to the display information of the touch event sequence and the wearable device current window, the gesture pair high up in the air is determined
The operational order answered and execution.
2. the exchange method of wearable device as described in claim 1, which is characterized in that the sensing in wearable device
When device detects gesture high up in the air, after the step of obtaining the gesture high up in the air corresponding operation data, comprising:
Whether the sensor obtains the sliding speed in the operation data, and judge the sliding speed in pre-set velocity area
Between;
In the sliding speed not in the pre-set velocity interval, the wearable device exports prompt information, to prompt
It states wearable device and corresponds to the new gesture high up in the air of user's input;
In the sliding speed in the pre-set velocity interval, the operation data is packaged into binary system lattice by the sensor
Formula simultaneously reports to ccf layer.
3. the exchange method of wearable device as described in claim 1, which is characterized in that it is described according to the operation data and
The step of pre-stored data agreement is simulated, and the gesture high up in the air corresponding touch event sequence is obtained, comprising:
The ccf layer of the wearable device obtains sliding speed and glide direction in the operation data;
When the glide direction is upward or downward, the ccf layer obtains the longitudinal direction under the wearable device use state
Screen size, and sliding distance is calculated according to longitudinal screen size and the sliding speed;The glide direction be to
It is left or to the right when, the ccf layer obtains the lateral screen size under the wearable device use state, and according to the cross
Sliding distance is calculated to screen size and the sliding speed;
According to the acceleration algorithm in the sliding distance and pre-stored data agreement, the corresponding move thing of the gesture high up in the air is obtained
Part sequence;
By move event modification is down event at first in the move sequence of events, by the last one move event modification
For up event, the corresponding touch event sequence of the gesture high up in the air is obtained.
4. the exchange method of wearable device as described in claim 1, which is characterized in that described according to the touch event sequence
The display information of column and the wearable device current window, the step for determining the corresponding operational order of the gesture high up in the air and executing
Suddenly, comprising:
Traverse the corresponding view tree of the current window;
When there is the first object view comprising presetting hand gesture attribute value in the view tree, the touch event sequence is sent out
Send the first view control corresponding to the first object view;
The first view control obtains preset instructions operational order corresponding with touch event sequence described in event mapping table,
And execute the operational order.
5. the exchange method of wearable device as described in claim 1, which is characterized in that described according to the touch event sequence
The display information of column and the wearable device current window, the step for determining the corresponding operational order of the gesture high up in the air and executing
Suddenly, comprising:
Traverse the corresponding view tree of the current window;
It is each in the view tree there is no obtaining when the first object view comprising presetting hand gesture attribute value in the view tree
The display of view is arranged;
The the second target view determined in view tree is set according to the display, and described in the touch event sequence is sent to
The corresponding 2nd view control of second target view;
The 2nd view control obtains preset instructions operational order corresponding with touch event sequence described in event mapping table,
And execute the operational order.
6. the exchange method of wearable device as described in claim 4 or 5, which is characterized in that described in the view tree
In the presence of comprising preset hand gesture attribute value first object view when, the touch event sequence is sent to the first object
After the step of view corresponding first view control, comprising:
The first view control inquiry preset instructions and event mapping table;
In preset instructions operational order corresponding with the touch event sequence is not present in event mapping table, step is executed
It is rapid: to obtain the display setting of each view in the view tree.
7. the exchange method of wearable device as claimed in claim 5, which is characterized in that described to be arranged really according to the display
Determine the second target view in view tree, and the touch event sequence is sent to the second target view corresponding second
The step of view control, comprising:
Using display size in the view tree, record has the view of rollability as the second target in maximum and rollability label
View, wherein the display setting includes: display size and rollability label;
The touch event sequence is sent to the corresponding 2nd view control of the second target view by the ccf layer.
8. the exchange method of wearable device as described in claim 1, which is characterized in that described according to the touch event sequence
The display information of column and the wearable device current window, the step for determining the corresponding operational order of the gesture high up in the air and executing
Suddenly, comprising:
According to the display information of the touch event sequence and the wearable device current window, the gesture pair high up in the air is determined
The operational order answered;
When the operational order is that slide instructs, the sliding speed in the operation data is obtained, default sliding is obtained
The corresponding display of sliding speed described in tables of data is regulated the speed, and is regulated the speed and slided by the display.
9. a kind of wearable device, which is characterized in that the wearable device includes: memory, processor and is stored in described
On memory and the computer program that can run on the processor, in which:
It realizes when the computer program is executed by the processor and wearable is set as described in any item of the claim 1 to 8
The step of standby exchange method.
10. a kind of computer storage medium, which is characterized in that be stored with computer program, institute in the computer storage medium
State the interaction side realized when computer program is executed by processor such as wearable device described in any item of the claim 1 to 8
The step of method.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910201464.1A CN109947249B (en) | 2019-03-15 | 2019-03-15 | Interaction method of wearable device, wearable device and computer storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910201464.1A CN109947249B (en) | 2019-03-15 | 2019-03-15 | Interaction method of wearable device, wearable device and computer storage medium |
Publications (2)
Publication Number | Publication Date |
---|---|
CN109947249A true CN109947249A (en) | 2019-06-28 |
CN109947249B CN109947249B (en) | 2024-03-19 |
Family
ID=67008984
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201910201464.1A Active CN109947249B (en) | 2019-03-15 | 2019-03-15 | Interaction method of wearable device, wearable device and computer storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109947249B (en) |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110989844A (en) * | 2019-12-16 | 2020-04-10 | 广东小天才科技有限公司 | Input method, watch, system and storage medium based on ultrasonic waves |
CN111142655A (en) * | 2019-12-10 | 2020-05-12 | 上海博泰悦臻电子设备制造有限公司 | Interaction method, terminal and computer readable storage medium |
CN111255022A (en) * | 2020-01-16 | 2020-06-09 | 珠海格力电器股份有限公司 | Method and device for controlling water tank, storage medium and electronic device |
CN112162476A (en) * | 2020-10-28 | 2021-01-01 | 广东小天才科技有限公司 | Flexible surrounding screen smart watch and information interaction method |
CN112639689A (en) * | 2020-04-30 | 2021-04-09 | 华为技术有限公司 | Control method, device and system based on air-separating gesture |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2017152531A1 (en) * | 2016-03-07 | 2017-09-14 | 中国科学院计算技术研究所 | Ultrasonic wave-based air gesture recognition method and system |
CN108874121A (en) * | 2018-04-28 | 2018-11-23 | 努比亚技术有限公司 | Control method, wearable device and the computer readable storage medium of wearable device |
CN108920052A (en) * | 2018-06-26 | 2018-11-30 | Oppo广东移动通信有限公司 | page display control method and related product |
-
2019
- 2019-03-15 CN CN201910201464.1A patent/CN109947249B/en active Active
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2017152531A1 (en) * | 2016-03-07 | 2017-09-14 | 中国科学院计算技术研究所 | Ultrasonic wave-based air gesture recognition method and system |
CN108874121A (en) * | 2018-04-28 | 2018-11-23 | 努比亚技术有限公司 | Control method, wearable device and the computer readable storage medium of wearable device |
CN108920052A (en) * | 2018-06-26 | 2018-11-30 | Oppo广东移动通信有限公司 | page display control method and related product |
Non-Patent Citations (2)
Title |
---|
HONG LI等: "WiFinger: talk to your smart devices with finger-grained gesture", 《UBICOMP\'16》 * |
佚名: "遍历控件树查找控件", pages 1 - 3, Retrieved from the Internet <URL:https://blog.csdn.net/zhubaitian/article/details/50212937?ivk_sa=1024320u> * |
Cited By (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111142655A (en) * | 2019-12-10 | 2020-05-12 | 上海博泰悦臻电子设备制造有限公司 | Interaction method, terminal and computer readable storage medium |
CN110989844A (en) * | 2019-12-16 | 2020-04-10 | 广东小天才科技有限公司 | Input method, watch, system and storage medium based on ultrasonic waves |
CN111255022A (en) * | 2020-01-16 | 2020-06-09 | 珠海格力电器股份有限公司 | Method and device for controlling water tank, storage medium and electronic device |
CN112639689A (en) * | 2020-04-30 | 2021-04-09 | 华为技术有限公司 | Control method, device and system based on air-separating gesture |
WO2021217570A1 (en) * | 2020-04-30 | 2021-11-04 | 华为技术有限公司 | Air gesture-based control method and apparatus, and system |
CN112162476A (en) * | 2020-10-28 | 2021-01-01 | 广东小天才科技有限公司 | Flexible surrounding screen smart watch and information interaction method |
Also Published As
Publication number | Publication date |
---|---|
CN109947249B (en) | 2024-03-19 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN109947249A (en) | Exchange method, wearable device and the computer storage medium of wearable device | |
CN108965608A (en) | A kind of alarm clock setting method folds terminal and computer readable storage medium | |
CN108897473A (en) | A kind of interface display method and terminal | |
CN109947327A (en) | A kind of interface inspection method, wearable device and computer readable storage medium | |
CN110362369A (en) | Wearable device control method, wearable device and computer readable storage medium | |
CN109976609A (en) | Slide response method, wearable device and computer readable storage medium | |
CN110187822A (en) | A kind of terminal and the control method for screen display applied to terminal | |
CN110324497A (en) | A kind of method of controlling operation thereof and terminal | |
CN110069132A (en) | Application control method, intelligent wearable device and computer readable storage medium | |
CN109799912A (en) | A kind of display control method, equipment and computer readable storage medium | |
CN109857317A (en) | A kind of control method and terminal device of terminal device | |
CN110401434A (en) | Wearable device control method, wearable device and computer readable storage medium | |
CN109933400A (en) | Display interface layout method, wearable device and computer readable storage medium | |
CN110175066A (en) | Wearable device, interaction control method and computer readable storage medium | |
CN110175008A (en) | Method, wearable device and the computer readable storage medium of operating terminal | |
CN107885450B (en) | Realize the method and mobile terminal of mouse action | |
CN110086929A (en) | Breath screen display methods, mobile phone, wearable device and computer readable storage medium | |
CN110032308A (en) | A kind of page display method, terminal and computer readable storage medium | |
CN110109603A (en) | A kind of page operation method, wearable device and computer readable storage medium | |
CN110262748A (en) | Wearable device control method, wearable device and computer readable storage medium | |
CN110162369A (en) | Wearable device and its icon arrangement method and computer readable storage medium | |
CN110083205A (en) | Page switching method, wearable device and computer readable storage medium | |
CN110177208A (en) | A kind of association control method of video record, equipment and computer readable storage medium | |
CN109947325A (en) | Application icon display methods, wearable device and computer readable storage medium | |
CN109918014A (en) | Page display method, wearable device and computer readable storage medium |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |