CN110286578A - A kind of method and device based on flip angle startup function - Google Patents
A kind of method and device based on flip angle startup function Download PDFInfo
- Publication number
- CN110286578A CN110286578A CN201910539494.3A CN201910539494A CN110286578A CN 110286578 A CN110286578 A CN 110286578A CN 201910539494 A CN201910539494 A CN 201910539494A CN 110286578 A CN110286578 A CN 110286578A
- Authority
- CN
- China
- Prior art keywords
- main body
- host main
- angle
- detection signal
- overturning
- 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
Classifications
-
- G—PHYSICS
- G04—HOROLOGY
- G04G—ELECTRONIC TIME-PIECES
- G04G17/00—Structural details; Housings
-
- G—PHYSICS
- G04—HOROLOGY
- G04G—ELECTRONIC TIME-PIECES
- G04G21/00—Input or output devices integrated in time-pieces
-
- G—PHYSICS
- G04—HOROLOGY
- G04G—ELECTRONIC TIME-PIECES
- G04G21/00—Input or output devices integrated in time-pieces
- G04G21/02—Detectors of external physical values, e.g. temperature
-
- G—PHYSICS
- G04—HOROLOGY
- G04G—ELECTRONIC TIME-PIECES
- G04G21/00—Input or output devices integrated in time-pieces
- G04G21/04—Input or output devices integrated in time-pieces using radio waves
Abstract
The embodiment of the present application discloses a kind of method and device based on flip angle startup function.The described method includes: receiving overturning detection signal, the overturning detection signal record has the rotary movement information of host main body;Signal, which is detected, according to the overturning determines whether host main body is flipped movement;When host main body is flipped movement, receiving angle detects signal, and the angle detection signal record has angle information of the host main body relative to watchcase;Judge whether the flip angle of host main body reaches preset threshold according to the angle detection signal;When the flip angle of host main body reaches preset threshold, start pre-set objective function.Technical solution provided by the embodiments of the present application, when wishing the quickly starting objective function, when the flip angle of overturning host main body to host main body reaches preset threshold, start pre-set objective function, it realizes the purpose of objective function quickly starting, optimizes user experience.
Description
Technical field
The invention relates to technical field of electronic equipment more particularly to a kind of sides based on flip angle startup function
Method and device.
Background technique
Smartwatch is becoming increasingly popular in the market by the functions such as immediate communication and positioning.In order to meet user more
There is turnable fuselage on the market in the needs of more shooting or video, and the intelligence of camera module is respectively provided with before and after fuselage
Wrist-watch.
Notification number be the Chinese utility model of CN208937930U disclose it is a kind of double take the photograph and the smart host of lateral turnover,
Including bearing support and host main body, the bearing support includes the first opposite side, and host main body is equipped with camera module, host sheet
Body is rotationally connected with the first opposite side, so that host main body can be with respect to bearing support along the lateral rotation of bearing support, so as to take the photograph
As mould group obtains different shooting angle.It is provided by the embodiment of the utility model double to take the photograph and the smart host and intelligence of lateral turnover
Wrist-watch can adjust rotational angle of the host main body with respect to bearing support according to the shooting demand of oneself, want to obtain oneself
Shooting angle, no longer need to rotate arm manually, effectively improve shooting effect and improve user usage experience.
As the function of smartwatch is more and more abundant, some functions are common functions or wish to open in a manner of more easily
Specific common function is moved, user also needs to click corresponding icon up in interactive interface when using these functions,
So that this operating method efficiency is lower.
Summary of the invention
The embodiment of the present application provides a kind of method and device based on flip angle startup function, in overturning host main body
When the preset objective function of quickly starting, operating efficiency is high, improves user experience.
In a first aspect, the embodiment of the present application provides a kind of method based on flip angle startup function, comprising:
Overturning detection signal is received, the overturning detection signal record has the rotary movement information of host main body;
Signal, which is detected, according to the overturning determines whether host main body is flipped movement;
When host main body is flipped movement, receiving angle detects signal, and the angle detection signal record has host
Angle information of the ontology relative to watchcase;
Judge whether the flip angle of host main body reaches preset threshold according to the angle detection signal;
When the flip angle of host main body reaches preset threshold, start pre-set objective function.
Further, the overturning detection signal examines host main body by Hall sensor and/or electronic switch
It measures.
Further, the angle detection signal is detected to obtain by infrared distance sensor to host main body.
Further, the objective function includes camera module, unlatching map, unlatching before camera module, unlatching after opening
One of dial feature, unlatching learning software or a variety of combinations.
Further, the method also includes:
After starting objective function, determine whether host main body occurs closed action according to overturning detection signal;
Host main body occur closed action when, according to pre-set target processing method to objective function at
Reason.
Further, the target processing method includes one of closing, holding, running background, query processing mode
Or a variety of combination.
In second aspect, the embodiment of the present application provides a kind of device based on flip angle startup function, comprising:
Overturning detection signal receiving module, for receiving overturning detection signal, the overturning detection signal record has host
The rotary movement information of ontology;
Judgment module is overturn, determines whether host main body is flipped movement for detecting signal according to the overturning;
Angle detection signal receiving module, for when host main body is flipped movement, receiving angle to detect signal, institute
It states angle detection signal and records the angle information for having host main body relative to watchcase;
Angle judgment module, for judging whether the flip angle of host main body reaches pre- according to the angle detection signal
If threshold value;
Start execution module, for starting pre-set mesh when the flip angle of host main body reaches preset threshold
Mark function.
Further, the overturning detection signal examines host main body by Hall sensor and/or electronic switch
It measures;The angle detection signal is detected to obtain by infrared distance sensor to host main body.
In the third aspect, the embodiment of the present application provides a kind of wearable device, comprising: host main body, watchcase, display
Screen, overturning detection mould group, angle detection mould group, memory and one or more processors;
The display screen, is set to host main body;
The host main body, side are rotationally connected with watchcase;
The overturning detects mould group, is set to host main body, for detecting whether host main body is flipped movement and defeated
Corresponding overturning detects signal out;
The angle detects mould group, is set to host main body, for detecting host main body relative to the angle of watchcase and defeated
Corresponding angle detection signal out;
The memory, is set to host main body, for storing one or more programs;
When one or more of programs are executed by one or more of processors, so that one or more of processing
Device realizes the method based on flip angle startup function as described in relation to the first aspect.
In fourth aspect, the embodiment of the present application provides a kind of storage medium comprising computer executable instructions, described
Computer executable instructions by computer processor when being executed for executing opening based on flip angle as described in relation to the first aspect
The method of dynamic function.
The embodiment of the present application is by pre-set objective function, when wishing the quickly starting objective function, overturning master
Machine ontology so that overturning detection the distance between the mould group and watchcase in host main body change, and generates corresponding overturning
Signal is detected, when determining that host main body is flipped movement according to overturning detection signal, the flip angle of host main body is carried out
Detection, and when whether the flip angle of host main body reaches preset threshold, start pre-set objective function, realizes target
The purpose of function quickly starting optimizes user experience.
Detailed description of the invention
Fig. 1 is a kind of flow chart of method based on flip angle startup function provided by the embodiments of the present application;
Fig. 2 is the flow chart of another method based on flip angle startup function provided by the embodiments of the present application;
Fig. 3 is a kind of structural schematic diagram of device based on flip angle startup function provided by the embodiments of the present application;
Fig. 4 is the structural schematic diagram of wearable device provided by the embodiments of the present application;
Fig. 5 is the functional block diagram of wearable device provided by the embodiments of the present application.
Specific embodiment
It is specifically real to the application with reference to the accompanying drawing in order to keep the purposes, technical schemes and advantages of the application clearer
Example is applied to be described in further detail.It is understood that specific embodiment described herein is used only for explaining the application,
Rather than the restriction to the application.It also should be noted that illustrating only for ease of description, in attached drawing related to the application
Part rather than full content.It should be mentioned that some exemplary realities before exemplary embodiment is discussed in greater detail
It applies example and is described as the processing or method described as flow chart.Although operations (or step) are described as sequence by flow chart
Processing, but many of these operations can be implemented concurrently, concomitantly or simultaneously.In addition, the sequence of operations
It can be rearranged.The processing can be terminated when its operations are completed, be not included in attached drawing it is also possible to have
Additional step.The processing can correspond to method, function, regulation, subroutine, subprogram etc..
Fig. 1 gives a kind of flow chart of method based on flip angle startup function provided by the embodiments of the present application, this
Embodiment provide the method based on flip angle startup function can by being executed based on the device of flip angle startup function,
The device based on flip angle startup function can be realized by way of hardware and/or software, and be integrated in wearable device
In.Wherein wearable device is smartwatch.
Illustratively, wearable device includes host main body and watchcase, and wherein watchcase can be removable with the watchband for wearing
Unload or be fixedly connected, the side of host main body is rotationally connected with watchcase by shaft so that host main body can relative to watchcase into
Row overturning.In order to make host main body be fixed on certain flip angle, damping structure is set between host main body and watchcase, such as
Using the elastic washer for being sheathed on shaft as damping structure, abutted respectively with host main body and watchcase, to host main body and
Relative rotation between watchcase provides frictional force, to realize the adjusting of host main body flip angle.
Optionally, driving device (such as micromotor) can also be arranged between host main body and watchcase to turn over host main body
Turn state to be controlled, which is controlled by the processor in host main body, and as the battery built in host main body into
Row power supply can be realized by the interactive interface input in the display screen that is arranged in host main body to the driving instruction of driving device
The overturning of host main body or the automation of closure.The battery is also used to provide power supply for each device of wearable device, for example aobvious
Display screen, processor, sensor, lighting device, communication device etc. provide power supply.Host main body front and rear sides (backwards to and face
To the two sides of watchcase) it is also respectively provided with preceding camera module and rear camera module, and it is controlled by processor.
Specifically, wearable device has network communicating function, it can be by the communication device built in host main body
Data communication is carried out with equipment such as other wearable devices, mobile phone, servers.Wherein, communication device includes wire communication dress
It sets and/or wireless communication device.
It is following to be described so that wearable device executes the method based on flip angle startup function as an example.It, should with reference to Fig. 1
Method based on flip angle startup function specifically includes:
S101: receiving overturning detection signal, and the overturning detection signal record has the rotary movement information of host main body.
Specifically, overturning detection signal can detect mould group to master as overturning by Hall sensor and/or electronic switch
Machine ontology is detected to obtain, and wherein Hall sensor and electronic switch are installed in one side of the host main body towards watchcase, right
Host main body is detected relative to the rotary movement of watchcase.
It should be noted that the output of Hall sensor and electronic switch is output switch parameter, that is, export 0 or 1 number
Which level signal, the overturning and closure two states, 0 and 1 two digital signal level for respectively representing host main body specifically represent
Kind state can be determined according to the concrete model of Hall sensor and electronic switch, represent closed state, 1 generation in the present embodiment with 0
Table rollover states, i.e., when host main body is closed (or host main body is bonded with watchcase) relative to watchcase, Hall sensor and electricity
The output valve of sub switch is 0, open in host main body relative to watchcase (or the angle between host main body and watchcase reaches threshold
When value) when, the output valve of Hall sensor and electronic switch is 1.Hall sensor and electronic switch can according to circumstances select one
It selects, can also be freely combined and be distributed in multiple positions, carry out the detection of rotary movement in multiple positions, reduce the feelings of erroneous judgement
Condition.
Further, overturning detection mould group is measured in real time the rotary movement of host main body, exports corresponding overturning
Signal is detected, and is sent in the processor or memory being arranged in host main body and is handled.
S102: signal is detected according to the overturning and determines whether host main body is flipped movement.
Specifically, the overturning that processor real-time reception overturning detection mould group is sent detects signal and is analyzed and processed, with
Judge whether host main body is flipped movement, and when confirming that host main body is flipped movement, generates angle detection and refer to
It enables.Illustratively, when the value of the switching value in the overturning detection signal of overturning detection mould group output becomes 1 from 0, it is believed that host
Rotary movement has occurred in ontology, and processor generates angle detection instruction at this time.
S103: when generating angle detection instruction, receiving angle detects signal, and the angle detection signal record has host
Angle information of the ontology relative to watchcase.
Illustratively, when generating angle detection instruction, have confirmed that host main body is flipped movement at this time, processor is rung
Angle detection signal should be received in angle detection instruction.
Further, angle detection signal, which passes through, detects mould group to host as angle for the sensing device of distance detection
Ontology is detected to obtain, and the sensing device in the embodiment of the present application for distance detection is carried out by taking infrared distance sensor as an example
It illustrates.Wherein infrared distance sensor is mounted on one side of the host main body towards watchcase, turns over to host main body relative to watchcase
Rotation is detected.
It should be noted that infrared distance sensor is digital output or analog output, and when exporting analog quantity, place
Analog output is converted to digital output through AD conversion module by reason device, and reflection is angle of the host main body relative to shell
Degree, the output valve size and machine ontology of infrared distance sensor can the infrared distance biographies of root relative to the relationship between the angle of shell
The concrete model of sensor determines, with the output valve size of infrared distance sensor and machine ontology relative to shell in the present embodiment
Relationship between angle is positive for correlation, i.e., when machine ontology is bigger relative to the angle of shell, infrared distance sensor
Output valve is bigger.Processor is converted into corresponding host main body when receiving the signal of angle detection mould group output
Flip angle.When the flip angle of host main body reaches preset threshold, it is believed that host main body has been overturn to can star target
Function and the position for not influencing objective function operation.
Further, when generating angle detection instruction, angle detects mould group and opens and to the flip angle of host main body
It is detected, exports corresponding angle detection signal, and be sent in the processor or memory being arranged in host main body and carry out
Processing.
S104: judge whether the flip angle of host main body reaches preset threshold according to the angle detection signal.
Specifically, processor real-time reception angle detects the angle detection signal that mould group is sent and is analyzed and processed, with
Judge whether the flip angle of host main body reaches preset threshold, and reaches preset threshold in the flip angle of confirmation host main body
When, generate objective function enabled instruction.
S105: when the flip angle of host main body reaches preset threshold, start pre-set objective function.
Illustratively, when generating objective function enabled instruction, have confirmed that the flip angle of host main body reaches pre- at this time
If threshold value, processor response opens objective function in objective function enabled instruction.Wherein the default of objective function can be by handing over
Operation on mutual interface carries out and (operates as carried out on a display screen or operated by key), or grasped by other terminals
Make and is uploaded through communication module, it can also default setting objective function.
Further, objective function includes camera module, unlatching map, unlatching dialing before camera module, unlatching after opening
One of function, unlatching learning software or a variety of combinations, in addition can will also be not turned on function as an optional target
Function does not open new function after opening host main body, remains at current operating status.
After preset objective function is to open for camera module, in camera module after needing quickly starting to open,
Host main body is overturn, overturning detection mould group detects rotary movement and the corresponding detection signal that overturns is sent to processor, handles
Device is flipped movement, and then the angle detection that receiving angle detection mould group is sent according to overturning detection signal confirmation host main body
Signal and the flip angle for analyzing host main body, and mould is imaged after controlling when the flip angle of host main body reaches preset threshold
Group is opened, and realizes the purpose of camera module after fast opening, and host main body is in rollover states, rear camera module energy at this time
Obtain the preferably camera shooting visual field.
It is above-mentioned, when wishing the quickly starting objective function, host main body is overturn, so that between host main body and watchcase
Relative angle changes, and generates corresponding overturning detection signal, is determining host main body according to overturning detection signal
When rotary movement, the flip angle of host main body is detected, and when flip angle reaches preset threshold, starting is set in advance
The objective function set realizes the purpose of objective function quickly starting, optimizes user experience.
On the basis of the above embodiments, Fig. 2 is given another kind provided by the embodiments of the present application and is opened based on flip angle
The flow chart of the method for dynamic function.The method based on flip angle startup function is to above-mentioned based on flip angle startup function
Method materialization.With reference to Fig. 2, the method based on flip angle startup function of being somebody's turn to do includes:
S201: receiving overturning detection signal, and the overturning detection signal record has the rotary movement information of host main body.
Specifically, overturning detection signal can detect mould group to master as overturning by Hall sensor and/or electronic switch
Machine ontology is detected to obtain, and wherein Hall sensor and electronic switch are installed in one side of the host main body towards watchcase, right
The rotary movement of host main body is detected.
Further, overturning detection mould group is measured in real time the rotary movement of host main body, exports corresponding overturning
Signal is detected, and is sent in the processor or memory being arranged in host main body and is handled.
S202: signal is detected according to the overturning and determines whether host main body is flipped movement.
Specifically, the overturning that processor real-time reception overturning detection mould group is sent detects signal and is analyzed and processed, with
Judge whether host main body is flipped movement, and when confirming that host main body is flipped movement, generates angle detection and refer to
It enables.
S203: when host main body is flipped movement, receiving angle detects signal, and the angle detection signal record has
Angle information of the host main body relative to watchcase.
Illustratively, when generating angle detection instruction, have confirmed that host main body is flipped movement at this time, processor is rung
Angle detection signal should be received in angle detection instruction.
Specifically, angle detection signal, which passes through, detects mould group to host sheet as angle for the sensing device of distance detection
Body is detected to obtain, and the sensing device in the embodiment of the present application for distance detection is explained by taking infrared distance sensor as an example
It states.Wherein infrared distance sensor is mounted on one side of the host main body towards watchcase, the overturning to host main body relative to watchcase
Movement is detected.
Further, when generating angle detection instruction, angle detects mould group and opens and to the flip angle of host main body
It is detected, exports corresponding angle detection signal, and be sent in the processor or memory being arranged in host main body and carry out
Processing.
S204: judge whether the flip angle of host main body reaches preset threshold according to the angle detection signal.
S205: when the flip angle of host main body reaches preset threshold, start pre-set objective function.
Specifically, processor real-time reception angle detects the angle detection signal that mould group is sent and is analyzed and processed, with
Judge whether the flip angle of host main body reaches preset threshold, and reaches preset threshold in the flip angle of confirmation host main body
When, generate objective function enabled instruction.
Further, after generating objective function enabled instruction, processor response opens mesh in objective function enabled instruction
Mark function.Wherein objective function it is default can be carried out by the operation on interactive interface (operate as carried out on a display screen or
Operated by key), or by other terminals carry out operate and uploaded through communication module, can also default setting objective function,
In goal-selling function, can icon show by way of or feature list mode for user select.
Illustratively, whether be provided with to the function of installing in wearable device, which can be applied to overturn for identification, is fast opened
Dynamic quickly starting mark, when selecting target instruction target word, processor reads the fast of the function of installing in wearable device
Victory starting mark shows that corresponding function is for selection if quickly starting mark corresponds to can be applied to overturning quickly starting,
Otherwise, corresponding function is not shown.
Further, objective function includes camera module, unlatching map, unlatching dialing before camera module, unlatching after opening
One of function, unlatching learning software or a variety of combinations, in addition can will also be not turned on function as an optional target
Function does not open new function after opening host main body, remains at current operating status.
S206: after starting objective function, determine whether host main body occurs closed action according to overturning detection signal.
Specifically, overturning detection mould group continues to detect the rotary movement of host main body after starting objective function
And export corresponding overturning detection signal.
Further, the overturning that processor real-time reception overturning detection mould group is sent detects signal and is analyzed and processed, with
Judge whether host main body has generation closed action, and when confirming that closed action occurs for host main body, generates at objective function
Reason instruction.Host main body occur closed action be interpreted as host main body from the state transformation opened be closed state (host
The state that one side of the ontology towards shell is bonded with watchcase).Illustratively, signal is detected in the overturning of overturning detection mould group output
In the value of switching value when becoming 0 from 1, it is believed that closed action has occurred in host main body, and processor, which generates, at this time is directed toward corresponding mesh
Mark the objective function process instruction of function.
S207: host main body occur closed action when, according to pre-set target processing method to objective function into
Row processing.
Further, after generating objective function process instruction, processor response is directed toward in objective function process instruction
Objective function handles the objective function having turned on.Wherein the default of target processing method can be by interactive interface
Operation carries out and (operates as carried out on a display screen or operated by key), or operate and through communicating by other terminals
Module uploads, can also default setting objective function (as closed).It is understood that the default of target processing method can apply
In all objective functions, can also the target processing method to each objective function be individually arranged.
Illustratively, target processing method includes one of closing, holding, running background, query processing mode or more
The combination of kind.
Optionally, after processor receives objective function process instruction, according to the mesh of objective function process instruction direction
Whether in operating status mark function, if so, running objective function is handled according to target processing method, it is no
Then, without processing.
After preset objective function is to open for camera module, in camera module after needing quickly starting to open,
Host main body is overturn, overturning detection mould group detects rotary movement and the corresponding detection signal that overturns is sent to processor, handles
Device is flipped movement, and then the angle detection that receiving angle detection mould group is sent according to overturning detection signal confirmation host main body
Signal and the flip angle for analyzing host main body, and mould is imaged after controlling when the flip angle of host main body reaches preset threshold
Group is opened, and realizes the purpose of camera module after fast opening, and host main body is in rollover states, rear camera module energy at this time
Obtain the preferably camera shooting visual field.
Host main body is closed after the use of camera module afterwards, overturning detection mould group detects closed action and will correspond to
Overturning detection signal is sent to processor, and according to overturning detection signal confirmation host main body closed action occurs for processor, and right
The operating status of camera module is detected afterwards;If close just closure host main body to rear camera module, take the photograph afterwards at this time
Picture mould group is in operating status, camera module after processor is closed;If close to rear camera module and reclosing host main body,
Camera module is in close state after at this time, is not handled rear camera module.
It is above-mentioned, when wishing the quickly starting objective function, host main body is overturn, so that between host main body and watchcase
Relative angle changes, and generates corresponding overturning detection signal, is determining host main body according to overturning detection signal
When rotary movement, the flip angle of host main body is detected, and when flip angle reaches preset threshold, that is, ensures host
Ontology is overturn to the position opened, and starts pre-set objective function, realizes the purpose of objective function quickly starting, and optimization is used
Family experience, and when being closed host main body, the objective function of unlatching is handled according to preset target processing method, into
One-step optimization user experience.
On the basis of the above embodiments, Fig. 3 is provided by the embodiments of the present application a kind of based on flip angle startup function
Device structural schematic diagram.With reference to Fig. 3, the device provided in this embodiment based on flip angle startup function includes overturning inspection
Signal receiving module 31, overturning judgment module 32, angle detection signal receiving module 33, angle judgment module 34 and starting is surveyed to hold
Row module 35.
Wherein, overturning detection signal receiving module 31, for receiving overturning detection signal, the overturning detection signal record
There is the rotary movement information of host main body 41;Judgment module 32 is overturn, determines host sheet for detecting signal according to the overturning
Whether body 41 is flipped movement;Angle detection signal receiving module 33, for connecing when host main body 41 is flipped movement
Angle detection signal is received, the angle detection signal record has angle information of the host main body 41 relative to watchcase 42;Angle is sentenced
Disconnected module 34, for judging whether the flip angle of host main body 41 reaches preset threshold according to the angle detection signal;It opens
Dynamic execution module 35, for starting pre-set objective function when the flip angle of host main body 41 reaches preset threshold.
It is above-mentioned, when wishing the quickly starting objective function, host main body 41 is overturn, so that host main body 41 and watchcase 42
Between relative angle change, and generate corresponding overturning detection signal, host sheet determined according to overturning detection signal
When body 41 is flipped movement, the flip angle of host main body 41 is detected, and when flip angle reaches preset threshold,
Start pre-set objective function, realize the purpose of objective function quickly starting, optimizes user experience.
Further, the overturning detection signal carries out host main body 41 by Hall sensor and/or electronic switch
Detection obtains;The angle detection signal is detected to obtain by infrared distance sensor to host main body 41.
Device provided by the embodiments of the present application based on flip angle startup function can be used for executing above-described embodiment and mention
The method based on flip angle startup function supplied, has corresponding function and beneficial effect.
The embodiment of the present application provides a kind of wearable device, which is smartwatch, and this wearable sets
It is standby to integrate the device provided by the embodiments of the present application based on flip angle startup function.Fig. 4 is provided by the embodiments of the present application
The structural schematic diagram of wearable device, with reference to Fig. 4, which includes host main body 41, watchband 43, watchcase 42, overturning
It detects mould group 44 and angle detects mould group 45, wherein watchcase 42 can be detachable with the watchband 43 for wearing or be fixedly connected, main
The side of machine ontology 41 is rotationally connected with watchcase 42 by shaft, so that host main body 41 can be overturn relative to watchcase 42.
In order to make host main body 41 be fixed on certain flip angle, damping structure is set between host main body 41 and watchcase 42, such as
It using the elastic washer for being sheathed on shaft as damping structure, is abutted respectively with host main body 41 and watchcase 42, to host sheet
Relative rotation between body 41 and watchcase 42 provides frictional force, to realize the adjusting of 41 flip angle of host main body.
Overturning detection mould group 44 is installed on host main body 41, and overturning detection mould group 44 is passed with the Hall being arranged towards watchcase 42
Sensor or electronic switch detect it the distance between with watchcase 42 as probe and export corresponding overturning detection signal;
Angle detection mould group 45 is installed on host main body 41, and adjacent with overturning detection mould group 44, and angle detects mould group 45 with towards table
The infrared distance sensor that shell 42 is arranged is detected and is exported relative to the angle of watchcase 42 to host main body 41 as probe
Corresponding angle detection signal.
Fig. 5 is the functional block diagram of wearable device provided by the embodiments of the present application.With reference to Fig. 4 and Fig. 5, the wearable device
It include: host main body 41, watchcase 42, overturning detection mould group 44, angle detection mould group 45, display screen 54, communication module 53, input
Device 55, output device 56, watchband 43, memory 52 and one or more processors 51 are with 1 processor 51 in Fig. 5
Example;The display screen 54, is set to host main body 41;The host main body 41, side are rotationally connected with watchcase 42;The watchband
43, for being worn on manpower and fixed watchcase 42;The memory 52, is set to host main body 41, for storing one or more
A program;The overturning detects mould group 44, host main body 41 is set to, for detecting whether host main body 41 is flipped movement
And export corresponding overturning detection signal;The angle detects mould group 45, host main body 41 is set to, for detecting host main body
41 relative to watchcase 42 angle and export corresponding angle detection signal;The overturning of the wearable device detects mould group 44, angle
Degree detection mould group 45, display screen 54, communication module 53, input unit 55, output device 56, memory 52 and processor 51 can be with
It is connected by bus or other modes, in Fig. 5 for being connected by bus.When one or more of programs are by described one
A or multiple processors 51 execute, and are based on turning over as provided by above-described embodiment so that one or more of processors 51 are realized
The method of gyration startup function.
Memory 52 is used as a kind of computer readable storage medium, can be used for storing software program, journey can be performed in computer
Sequence and module, the corresponding program instruction of the method based on flip angle startup function as described in the application any embodiment/
Module is (for example, overturning detection signal receiving module 31, overturning judgment module in the device based on flip angle startup function
32, angle detection signal receiving module 33, angle judgment module 34 and starting execution module 35).Memory 52 can mainly include
Storing program area and storage data area, wherein storing program area can application journey needed for storage program area, at least one function
Sequence;Storage data area, which can be stored, uses created data etc. according to equipment.In addition, memory 52 may include that high speed is random
Access memory, can also include nonvolatile memory, a for example, at least disk memory, flush memory device or other
Non-volatile solid state memory part.In some instances, memory 52 can further comprise remotely located relative to processor 51
Memory, these remote memories can pass through network connection to equipment.The example of above-mentioned network includes but is not limited to interconnect
Net, intranet, local area network, mobile radio communication and combinations thereof.
Communication module 53 is used to establish with equipment such as other wearable devices, mobile phone, servers and be wirelessly connected, and carries out
Data transmission.Display screen 54 is arranged on the wearable device, and is arranged backwards to watchcase 42, and display screen 54 can be used for controlled
Image is shown in processor 51, is also used to other message of the transmission of video-stream processor 51.
Input unit 55 can be used for receiving the number or character information of input, and output device 56 may include loudspeaker
Deng.It should be noted that the concrete composition of input unit 55 and output device 56 may be set according to actual conditions.
Software program, instruction and the module that processor 51 is stored in memory 52 by operation, thereby executing equipment
Various function application and data processing, that is, realize the above-mentioned method based on flip angle startup function.
The wearable device of above-mentioned offer can be used for executing provided by the above embodiment based on flip angle startup function
Method has corresponding function and beneficial effect.
The embodiment of the present application also provides a kind of storage medium comprising computer executable instructions, the computer can be held
Row instruction, for executing a kind of method based on flip angle startup function, should be based on overturning when being executed by computer processor
The method of angle startup function includes: to receive overturning detection signal, and the overturning detection signal record has the overturning of host main body
Action message;Signal, which is detected, according to the overturning determines whether host main body is flipped movement;It is flipped in host main body
When movement, receiving angle detects signal, and the angle detection signal record has angle information of the host main body relative to watchcase;Root
Judge whether the flip angle of host main body reaches preset threshold according to the angle detection signal;In the flip angle of host main body
When reaching preset threshold, start pre-set objective function.
Storage medium --- any various types of memory devices or storage equipment.Term " storage medium " is intended to wrap
It includes: install medium, such as CD-ROM, floppy disk or magnetic tape equipment;Computer system memory or random access memory, such as
DRAM, DDR RAM, SRAM, EDO RAM, Lan Basi (Rambus) RAM etc.;Nonvolatile memory, such as flash memory, magnetic medium
(such as hard disk or optical storage);Register or the memory component of other similar types etc..Storage medium can further include other
Memory of type or combinations thereof.In addition, storage medium can be located at program in the first computer system being wherein performed,
Or can be located in different second computer systems, second computer system is connected to the by network (such as internet)
One computer system.Second computer system can provide program instruction to the first computer for executing." storage is situated between term
Matter " may include may reside in different location (such as by network connection different computer systems in) two or
More storage mediums.Storage medium can store the program instruction that can be performed by one or more processors and (such as implement
For computer program).
Certainly, a kind of storage medium comprising computer executable instructions, computer provided by the embodiment of the present application
The method based on flip angle startup function that executable instruction is not limited to the described above, can also be performed the application and arbitrarily implements
Relevant operation in method based on flip angle startup function provided by example.
The device based on flip angle startup function, wearable device and the storage medium provided in above-described embodiment can be held
Method based on flip angle startup function provided by row the application any embodiment, not detailed description in the above-described embodiments
Technical detail, reference can be made to the application any embodiment provided by the method based on flip angle startup function.
The technical principle that above are only the preferred embodiment of the application and used.The application is not limited to spy described here
Determine embodiment, various significant changes, readjustment and the substitution being able to carry out for a person skilled in the art are not departing from
The protection scope of the application.Therefore, although being described in further detail by above embodiments to the application, this Shen
Above embodiments please be not limited only to, can also include other more equivalence enforcements in the case where not departing from the application design
Example, and scope of the present application is determined by the scope of the claims.
Claims (10)
1. a kind of method based on flip angle startup function characterized by comprising
Overturning detection signal is received, the overturning detection signal record has the rotary movement information of host main body;
Signal, which is detected, according to the overturning determines whether host main body is flipped movement;
When host main body is flipped movement, receiving angle detects signal, and the angle detection signal record has host main body
Angle information relative to watchcase;
Judge whether the flip angle of host main body reaches preset threshold according to the angle detection signal;
When the flip angle of host main body reaches preset threshold, start pre-set objective function.
2. the method according to claim 1 based on flip angle startup function, which is characterized in that the overturning detection letter
Number host main body is detected to obtain by Hall sensor and/or electronic switch.
3. the method according to claim 1 based on flip angle startup function, which is characterized in that the angle detection letter
Number host main body is detected to obtain by infrared distance sensor.
4. the method according to claim 1 based on flip angle startup function, which is characterized in that the objective function packet
One of include after unlatching camera module before camera module, unlatching, open map, open dial feature, open learning software or
A variety of combinations.
5. the method according to claim 1 based on flip angle startup function, which is characterized in that the method is also wrapped
It includes:
After starting objective function, determine whether host main body occurs closed action according to overturning detection signal;
When closed action occurs for host main body, objective function is handled according to pre-set target processing method.
6. the method according to claim 4 based on flip angle startup function, which is characterized in that the target processing side
Method includes one of closing, holding, running background, query processing mode or a variety of combinations.
7. a kind of device based on flip angle startup function characterized by comprising
Overturning detection signal receiving module, for receiving overturning detection signal, the overturning detection signal record has host main body
Rotary movement information;
Judgment module is overturn, determines whether host main body is flipped movement for detecting signal according to the overturning;
Angle detection signal receiving module, for when host main body is flipped movement, receiving angle to detect signal, the angle
Degree detection signal record has angle information of the host main body relative to watchcase;
Angle judgment module, for judging whether the flip angle of host main body reaches default threshold according to the angle detection signal
Value;
Start execution module, for when the flip angle of host main body reaches preset threshold, starting pre-set target function
Energy.
8. the device according to claim 7 based on flip angle startup function, which is characterized in that the overturning detection letter
Number host main body is detected to obtain by Hall sensor and/or electronic switch;The angle detection signal passes through infrared
Range sensor is detected to obtain to host main body.
9. a kind of wearable device characterized by comprising host main body, watchcase, display screen, overturning detection mould group, angle inspection
Survey mould group, memory and one or more processors;
The display screen, is set to host main body;
The host main body, side are rotationally connected with watchcase;
The overturning detects mould group, is set to host main body, for detecting whether host main body is flipped movement and output pair
The overturning detection signal answered;
The angle detects mould group, is set to host main body, for detecting host main body relative to the angle of watchcase and output pair
The angle detection signal answered;
The memory, is set to host main body, for storing one or more programs;
When one or more of programs are executed by one or more of processors, so that one or more of processors are real
The existing method a method as claimed in any one of claims 1 to 5 based on flip angle startup function.
10. a kind of storage medium comprising computer executable instructions, which is characterized in that the computer executable instructions by
For executing the method a method as claimed in any one of claims 1 to 5 based on flip angle startup function when computer processor executes.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910539494.3A CN110286578B (en) | 2019-06-20 | 2019-06-20 | Method and device for starting function based on turning angle |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910539494.3A CN110286578B (en) | 2019-06-20 | 2019-06-20 | Method and device for starting function based on turning angle |
Publications (2)
Publication Number | Publication Date |
---|---|
CN110286578A true CN110286578A (en) | 2019-09-27 |
CN110286578B CN110286578B (en) | 2021-12-21 |
Family
ID=68005180
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201910539494.3A Active CN110286578B (en) | 2019-06-20 | 2019-06-20 | Method and device for starting function based on turning angle |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN110286578B (en) |
Citations (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1862445A (en) * | 2006-06-16 | 2006-11-15 | 北京中星微电子有限公司 | Notebook computer with calling eard and/or file scanning function |
US20130163390A1 (en) * | 2011-10-26 | 2013-06-27 | Richard Carl Gossweiler, III | Smart-watch including flip up display |
CN104461604A (en) * | 2013-09-25 | 2015-03-25 | 联想(北京)有限公司 | Information processing method and electronic equipment |
CN105137743A (en) * | 2015-10-15 | 2015-12-09 | 京东方科技集团股份有限公司 | Intelligent watch |
CN204945639U (en) * | 2015-08-26 | 2016-01-06 | 陈家骏 | There is the smart watch of card insert type enlargement module |
CN106557021A (en) * | 2016-10-14 | 2017-04-05 | 杭州联络互动信息科技股份有限公司 | A kind of screen based on intelligent watch lights method and apparatus, intelligent watch |
CN107577349A (en) * | 2017-09-14 | 2018-01-12 | 广东欧珀移动通信有限公司 | Man-machine interaction method and device, mobile terminal, computer-readable recording medium |
CN207706235U (en) * | 2018-01-27 | 2018-08-07 | 朱文雄 | A kind of convertible camera of mobile phone |
CN108833622A (en) * | 2018-06-08 | 2018-11-16 | Oppo广东移动通信有限公司 | Control method, control assembly and the electronic equipment of sliding equipment |
CN208937926U (en) * | 2018-09-29 | 2019-06-04 | 广东小天才科技有限公司 | A kind of turnover intelligent wearable device of equipment body |
-
2019
- 2019-06-20 CN CN201910539494.3A patent/CN110286578B/en active Active
Patent Citations (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1862445A (en) * | 2006-06-16 | 2006-11-15 | 北京中星微电子有限公司 | Notebook computer with calling eard and/or file scanning function |
US20130163390A1 (en) * | 2011-10-26 | 2013-06-27 | Richard Carl Gossweiler, III | Smart-watch including flip up display |
CN104461604A (en) * | 2013-09-25 | 2015-03-25 | 联想(北京)有限公司 | Information processing method and electronic equipment |
CN204945639U (en) * | 2015-08-26 | 2016-01-06 | 陈家骏 | There is the smart watch of card insert type enlargement module |
CN105137743A (en) * | 2015-10-15 | 2015-12-09 | 京东方科技集团股份有限公司 | Intelligent watch |
CN106557021A (en) * | 2016-10-14 | 2017-04-05 | 杭州联络互动信息科技股份有限公司 | A kind of screen based on intelligent watch lights method and apparatus, intelligent watch |
CN107577349A (en) * | 2017-09-14 | 2018-01-12 | 广东欧珀移动通信有限公司 | Man-machine interaction method and device, mobile terminal, computer-readable recording medium |
CN207706235U (en) * | 2018-01-27 | 2018-08-07 | 朱文雄 | A kind of convertible camera of mobile phone |
CN108833622A (en) * | 2018-06-08 | 2018-11-16 | Oppo广东移动通信有限公司 | Control method, control assembly and the electronic equipment of sliding equipment |
CN208937926U (en) * | 2018-09-29 | 2019-06-04 | 广东小天才科技有限公司 | A kind of turnover intelligent wearable device of equipment body |
Also Published As
Publication number | Publication date |
---|---|
CN110286578B (en) | 2021-12-21 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN109167894B (en) | Camera control method and device, mobile terminal and storage medium | |
CN110275734A (en) | A kind of method, apparatus, wearable device and storage medium overturning startup function | |
CN104375886B (en) | Information processing method, device and electronic equipment | |
CN104902171B (en) | A kind of camera angle correcting method and terminal | |
CN108920202B (en) | Application preloading management method and device, storage medium and intelligent terminal | |
CN110213414A (en) | A kind of drive control method, terminal and computer readable storage medium | |
CN109067964A (en) | Camera control method, device, mobile terminal and storage medium | |
CN109976633B (en) | Interface interaction method and device, electronic equipment and storage medium | |
WO2016095353A1 (en) | Terminal power consumption-controlling method, device and terminal | |
CN105068632A (en) | Terminal charging method and device and terminal | |
CN108833709A (en) | A kind of the starting method and mobile terminal of camera | |
WO2022156598A1 (en) | Bluetooth connection method and apparatus, and electronic device | |
CN109324518A (en) | Housed device control method, device, equipment and storage medium | |
CN110213489A (en) | A kind of control method, device and terminal device | |
CN109684825A (en) | A kind of right management method and terminal device | |
CN104158962A (en) | Mobile terminal display screen control method and mobile terminal display screen control system | |
CN107105165A (en) | The switching method and device of a kind of exposal model | |
CN105390120A (en) | Bright screen control method and device | |
CN108184021A (en) | A kind of application operation condition control method and mobile terminal | |
CN106034323A (en) | Wireless-terminal-based automatic recovery method and relevant apparatus for data connection | |
CN110286578A (en) | A kind of method and device based on flip angle startup function | |
CN106527863A (en) | Protective cover based interface display method and apparatus | |
CN102880390A (en) | Method and system for mobile terminal to enter into sleep mode | |
CN110399074A (en) | Picture joining method, device, mobile terminal and storage medium | |
CN109788144A (en) | A kind of image pickup method and terminal 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 | ||
GR01 | Patent grant | ||
GR01 | Patent grant |