CN110286578B - Method and device for starting function based on turning angle - Google Patents
Method and device for starting function based on turning angle Download PDFInfo
- Publication number
- CN110286578B CN110286578B CN201910539494.3A CN201910539494A CN110286578B CN 110286578 B CN110286578 B CN 110286578B CN 201910539494 A CN201910539494 A CN 201910539494A CN 110286578 B CN110286578 B CN 110286578B
- Authority
- CN
- China
- Prior art keywords
- angle
- detection signal
- host body
- starting
- turnover
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
Images
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
Landscapes
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- User Interface Of Digital Computer (AREA)
Abstract
The embodiment of the application discloses a method and a device for starting a function based on a turning angle. The method comprises the following steps: receiving a turnover detection signal, wherein the turnover detection signal records turnover action information of a host body; determining whether the main body is turned according to the turning detection signal; when the host body turns over, receiving an angle detection signal, wherein the angle detection signal records angle information of the host body relative to the watch case; judging whether the overturning angle of the host body reaches a preset threshold value or not according to the angle detection signal; and when the overturning angle of the host body reaches a preset threshold value, starting a preset target function. According to the technical scheme, when the target function is expected to be started quickly, when the overturning angle from the overturning host body to the host body reaches the preset threshold value, the preset target function is started, the purpose of quickly starting the target function is achieved, and user experience is optimized.
Description
Technical Field
The embodiment of the application relates to the technical field of electronic equipment, in particular to a method and a device for starting a function based on a turning angle.
Background
The smart watch is more and more popular in the market by means of functions such as instant calling and positioning. In order to satisfy more shooting of user or video needs, the fuselage that can overturn has appeared on the market to all set up the intelligent wrist-watch of the module of making a video recording around the fuselage.
The utility model discloses a chinese utility model that notice number is CN208937930U discloses a two intelligent host computers of taking photograph and side direction upset, including bearing support and host computer body, bearing support includes first opposite side, and the host computer body is equipped with the module of making a video recording, and the host computer body rotates to be connected in first opposite side to make the host computer body can bear the support relatively and rotate along the side direction that bears the support, so that the module of making a video recording obtains different shooting angles. The embodiment of the utility model provides a two intelligent host computers and intelligent wrist-watch of taking photograph and side direction upset can adjust the host computer body according to the shooting demand of oneself and bear the turned angle of support relatively to obtain the shooting angle that oneself wanted, need not manual rotation arm again, effectively improve the effect of shooting and improve user's use and experience.
As the functions of the smart watch become more and more abundant, some functions are common functions or it is desired to start specific common functions in a more convenient manner, and a user needs to click a corresponding function icon on an interactive interface when using the functions, so that the operating method is low in efficiency.
Disclosure of Invention
The embodiment of the application provides a method and a device for starting a function based on a turning angle, so that a preset target function can be quickly started when a host body is turned, the operation efficiency is high, and the user experience is improved.
In a first aspect, an embodiment of the present application provides a method for starting a function based on a flip angle, including:
receiving a turnover detection signal, wherein the turnover detection signal records turnover action information of a host body;
determining whether the main body is turned according to the turning detection signal;
when the host body turns over, receiving an angle detection signal, wherein the angle detection signal records angle information of the host body relative to the watch case;
judging whether the overturning angle of the host body reaches a preset threshold value or not according to the angle detection signal;
and when the overturning angle of the host body reaches a preset threshold value, starting a preset target function.
Furthermore, the overturn detection signal is obtained by detecting the main body through a Hall sensor and/or an electronic switch.
Furthermore, the angle detection signal is obtained by detecting the host body through an infrared distance sensor.
Furthermore, the target function comprises one or more of the combination of starting a rear camera module, starting a front camera module, starting a map, starting a dialing function and starting learning software.
Further, the method further comprises:
after the target function is started, determining whether the main body of the host machine is closed or not according to the overturning detection signal;
and when the host body is closed, processing the target function according to a preset target processing method.
Further, the target processing method comprises one or more of closing, keeping, background running and inquiry processing modes in combination.
In a second aspect, an embodiment of the present application provides an apparatus for starting a function based on a turning angle, including:
the overturning detection signal receiving module is used for receiving an overturning detection signal, and the overturning detection signal records overturning action information of the host body;
the overturning judgment module is used for determining whether the main body is overturned according to the overturning detection signal;
the angle detection signal receiving module is used for receiving an angle detection signal when the host body turns over, and the angle detection signal records angle information of the host body relative to the watch case;
the angle judging module is used for judging whether the overturning angle of the host body reaches a preset threshold value or not according to the angle detection signal;
and the starting execution module is used for starting a preset target function when the overturning angle of the host body reaches a preset threshold value.
Further, the overturning detection signal is obtained by detecting the main body of the main body through a Hall sensor and/or an electronic switch; the angle detection signal is obtained by detecting the host body through the infrared distance sensor.
In a third aspect, an embodiment of the present application provides a wearable device, including: the device comprises a host body, a watch shell, a display screen, a turnover detection module, an angle detection module, a memory and one or more processors;
the display screen is arranged on the host body;
one side of the main body is rotatably connected with the watchcase;
the overturning detection module is arranged on the host body and used for detecting whether the host body overturns and outputting a corresponding overturning detection signal;
the angle detection module is arranged on the host body and used for detecting the angle of the host body relative to the watch case and outputting a corresponding angle detection signal;
the memory is arranged on the host body and used for storing one or more programs;
when executed by the one or more processors, cause the one or more processors to implement the method for initiating a function based on a flip angle as described in the first aspect.
In a fourth aspect, embodiments of the present application provide a storage medium containing computer-executable instructions for performing the method of initiating a function based on a flip angle as described in the first aspect when executed by a computer processor.
Through the target function that sets up in advance, when wanting swiftly to start this target function, upset host computer body, make the distance between upset detection module and the watchcase on the host computer body change, and generate the upset detected signal that corresponds, when confirming the host computer body according to upset detected signal and taking place the upset action, detect the rotation angle of host computer body, and whether reach when predetermineeing the threshold value at the rotation angle of host computer body, start the target function that sets up in advance, realize the purpose that the target function swiftly starts, optimize user experience.
Drawings
Fig. 1 is a flowchart of a method for starting a function based on a turning angle according to an embodiment of the present disclosure;
FIG. 2 is a flow chart of another method for initiating a function based on a flip angle provided by an embodiment of the present application;
fig. 3 is a schematic structural diagram of an apparatus based on a turning angle starting function according to an embodiment of the present application;
fig. 4 is a schematic structural diagram of a wearable device provided in an embodiment of the present application;
fig. 5 is a schematic block diagram of a wearable device provided in an embodiment of the present application.
Detailed Description
In order to make the objects, technical solutions and advantages of the present application more apparent, specific embodiments of the present application will be described in detail with reference to the accompanying drawings. It is to be understood that the specific embodiments described herein are merely illustrative of the application and are not limiting of the application. It should be further noted that, for the convenience of description, only some but not all of the relevant portions of the present application are shown in the drawings. Before discussing exemplary embodiments in more detail, it should be noted that some exemplary embodiments are described as processes or methods depicted as flowcharts. Although a flowchart may describe the operations (or steps) as a sequential process, many of the operations can be performed in parallel, concurrently or simultaneously. In addition, the order of the operations may be re-arranged. The process may be terminated when its operations are completed, but may have additional steps not included in the figure. The processes may correspond to methods, functions, procedures, subroutines, and the like.
Fig. 1 is a flowchart of a method for starting a function based on a turning angle according to an embodiment of the present disclosure, where the method for starting a function based on a turning angle according to the present disclosure may be executed by a device for starting a function based on a turning angle, and the device for starting a function based on a turning angle may be implemented by hardware and/or software and integrated in a wearable device. Wherein the wearable device is a smart watch.
The wearable device comprises a host body and a watchcase, wherein the watchcase can be detachably or fixedly connected with a watchband used for wearing, and one side of the host body is rotatably connected with the watchcase through a rotating shaft, so that the host body can be turned relative to the watchcase. In order to fix the host body at a certain turnover angle, a damping structure is arranged between the host body and the watch case, if an elastic gasket sleeved on the rotating shaft is used as the damping structure, the damping structure is respectively abutted against the host body and the watch case to provide friction force for relative rotation between the host body and the watch case, so that the turnover angle of the host body is adjusted.
Optionally, a driving device (e.g., a micro motor) may be further disposed between the host body and the watch case to control the turning state of the host body, the driving device is controlled by a processor in the host body and is powered by a battery disposed in the host body, and a driving instruction for the driving device may be input through an interactive interface in a display screen disposed on the host body, so as to realize automation of turning or closing of the host body. The battery is also used to provide power to various components of the wearable device, such as to provide power to a display screen, processor, sensor, lighting, communication device, and the like. The front side and the rear side (the two sides facing back to and facing the watchcase) of the host body are respectively provided with a front camera module and a rear camera module and are controlled by the processor.
Specifically, the wearable device has a network communication function, and can perform data communication with other wearable devices, mobile phones, servers, and other devices through a communication device built in the host body. Wherein, the communication device comprises a wired communication device and/or a wireless communication device.
The following description takes as an example a method of the wearable device performing a flip angle based activation function. Referring to fig. 1, the method for starting the function based on the turning angle specifically includes:
s101: and receiving a turnover detection signal, wherein the turnover detection signal records the turnover action information of the host body.
Specifically, the turnover detection signal can be obtained by detecting the host body as a turnover detection module through the hall sensor and/or the electronic switch, wherein the hall sensor and the electronic switch are both installed on one surface of the host body facing the watchcase, and the turnover action of the host body relative to the watchcase is detected.
It should be noted that the outputs of the hall sensor and the electronic switch are switching value outputs, that is, 0 or 1 digital level signals are output, which respectively represent two states of turning and closing of the host body, and which state the two digital level signals of 0 and 1 specifically represent can be determined according to the specific models of the hall sensor and the electronic switch, in this embodiment, 0 represents the closed state and 1 represents the turned state, that is, when the host body is closed relative to the watch case (or the host body and the watch case are attached), the output values of the hall sensor and the electronic switch are both 0, and when the host body is turned open relative to the watch case (or the angle between the host body and the watch case reaches a threshold value), the output values of the hall sensor and the electronic switch are both 1. The Hall sensor and the electronic switch can be selected according to the situation, can also be freely combined and distributed at a plurality of positions, and the detection of the overturning action is carried out at the plurality of positions, so that the misjudgment situation is reduced.
Furthermore, the overturning detection module carries out real-time detection on the overturning action of the host body, outputs a corresponding overturning detection signal and sends the overturning detection signal to a processor or a memory arranged in the host body for processing.
S102: and determining whether the main body is turned according to the turning detection signal.
Specifically, the processor receives, in real time, the overturning detection signal sent by the overturning detection module and analyzes and processes the overturning detection signal to judge whether the host body overturns or not, and generates an angle detection instruction when the host body overturns is confirmed. For example, when the value of the switching value in the rollover detection signal output by the rollover detection module changes from 0 to 1, the processor generates an angle detection command when it is determined that the host body has performed a rollover operation.
S103: when an angle detection instruction is generated, an angle detection signal is received, and the angle detection signal records the angle information of the host body relative to the watch case.
Illustratively, when the angle detection command is generated, and the host body is confirmed to be turned, the processor receives the angle detection signal in response to the angle detection command.
Furthermore, the angle detection signal is detected as the angle detection module through the induction device that is used for distance detection to the host computer body and is obtained, and the induction device that is used for distance detection in this application embodiment explains with infrared distance sensor as an example. Wherein infrared distance sensor installs the one side that faces the watchcase at the host computer body, detects the upset action of host computer body for the watchcase.
It should be noted that the infrared distance sensor is digital output or analog output, when the analog output is output, the processor converts the analog output into digital output through the AD conversion module, which reflects the angle of the host body relative to the casing, and the relationship between the magnitude of the output value of the infrared distance sensor and the angle of the host body relative to the casing can be determined according to the specific model of the infrared distance sensor. And when receiving the signal output by the angle detection module, the processor converts the signal into a corresponding turnover angle of the host body. When the overturning angle of the host body reaches a preset threshold value, the host body is considered to be overturned to a position where the target function can be started and the running of the target function is not influenced.
Further, when generating the angle detection instruction, the angle detection module is opened and detects the turning angle of the host body, outputs a corresponding angle detection signal, and sends the angle detection signal to a processor or a memory arranged in the host body for processing.
S104: and judging whether the overturning angle of the host body reaches a preset threshold value according to the angle detection signal.
Specifically, the processor receives an angle detection signal sent by the angle detection module in real time and analyzes and processes the angle detection signal to judge whether the turning angle of the host body reaches a preset threshold value, and generates a target function starting instruction when the turning angle of the host body reaches the preset threshold value.
S105: and when the overturning angle of the host body reaches a preset threshold value, starting a preset target function.
Illustratively, when the target function starting instruction is generated, and it is confirmed that the turning angle of the host body reaches the preset threshold, the processor starts the target function in response to the target function starting instruction. The target function can be preset through operation on the interactive interface (such as operation on a display screen or operation through keys), or can be operated by other terminals and uploaded through the communication module, and the target function can also be set by default.
Furthermore, the target function comprises one or more of the combination of starting the rear camera module, starting the front camera module, starting the map, starting the dialing function and starting the learning software, and in addition, the unopened function can be used as an optional project function, namely, a new function is not opened after the host body is opened, and the current running state is still maintained.
Use predetermined target function as the example of the module of making a video recording after opening, when need swiftly start the module of making a video recording after opening, the upset host computer body, upset detection module detects the upset action and will correspond upset detection signal transmission to the treater, the treater confirms that the host computer body takes place the upset action according to upset detection signal, and then the angle detection signal that the angle detection module of receiving sending and the flip angle of analysis host computer body, and the module of making a video recording opens after the flip angle of host computer body reaches the control threshold value, realize swiftly opening the purpose of the module of making a video recording after, and the host computer body is in the upset state this moment, the module of making a video recording can obtain better field of vision of making a video recording after.
Above-mentioned, when wanting this target function of swift start, upset host computer body for relative angle between host computer body and the watchcase changes, and generates the upset detected signal that corresponds, when confirming the host computer body according to upset detected signal and taking place the upset action, detects the upset angle of host computer body, and when the upset angle reached and predetermines the threshold value, starts the target function that sets up in advance, realizes the purpose that the target function swiftly starts, optimizes user experience.
On the basis of the above embodiments, fig. 2 is a flowchart of another method for starting a function based on a flip angle according to an embodiment of the present application. The method for starting the function based on the turning angle is an embodiment of the method for starting the function based on the turning angle. Referring to fig. 2, the method of starting a function based on a flip angle includes:
s201: and receiving a turnover detection signal, wherein the turnover detection signal records the turnover action information of the host body.
Specifically, the turnover detection signal can be obtained by detecting the host body as a turnover detection module through the hall sensor and/or the electronic switch, wherein the hall sensor and the electronic switch are both arranged on one surface of the host body facing the watchcase, and the turnover action of the host body is detected.
Furthermore, the overturning detection module carries out real-time detection on the overturning action of the host body, outputs a corresponding overturning detection signal and sends the overturning detection signal to a processor or a memory arranged in the host body for processing.
S202: and determining whether the main body is turned according to the turning detection signal.
Specifically, the processor receives, in real time, the overturning detection signal sent by the overturning detection module and analyzes and processes the overturning detection signal to judge whether the host body overturns or not, and generates an angle detection instruction when the host body overturns is confirmed.
S203: when the main body is turned over, an angle detection signal is received, and the angle detection signal records the angle information of the main body relative to the watch case.
Illustratively, when the angle detection command is generated, and the host body is confirmed to be turned, the processor receives the angle detection signal in response to the angle detection command.
Specifically, the angle detection signal is detected as the angle detection module through the induction element that is used for apart from measuring and is obtained host computer body, and the induction element that is used for apart from measuring in this application embodiment uses infrared distance sensor as the example to explain. Wherein infrared distance sensor installs the one side that faces the watchcase at the host computer body, detects the upset action of host computer body for the watchcase.
Further, when generating the angle detection instruction, the angle detection module is opened and detects the turning angle of the host body, outputs a corresponding angle detection signal, and sends the angle detection signal to a processor or a memory arranged in the host body for processing.
S204: and judging whether the overturning angle of the host body reaches a preset threshold value according to the angle detection signal.
S205: and when the overturning angle of the host body reaches a preset threshold value, starting a preset target function.
Specifically, the processor receives an angle detection signal sent by the angle detection module in real time and analyzes and processes the angle detection signal to judge whether the turning angle of the host body reaches a preset threshold value, and generates a target function starting instruction when the turning angle of the host body reaches the preset threshold value.
Further, after the target function starting instruction is generated, the processor responds to the target function starting instruction to start the target function. The preset of the target function can be performed through operation on the interactive interface (such as operation on a display screen or operation through keys), or operation is performed through other terminals and uploaded through the communication module, the target function can be set by default, and when the target function is preset, the user can select the target function through an icon display mode or a function list mode.
Illustratively, a quick start identifier for identifying whether the function installed in the wearable device can be applied to turning quick start is set for the function installed in the wearable device, when a target instruction is selected, the processor reads the quick start identifier of the function installed in the wearable device, if the quick start identifier is applicable to turning quick start, the corresponding function is displayed for selection, otherwise, the corresponding function is not displayed.
Furthermore, the target function comprises one or more of the combination of starting the rear camera module, starting the front camera module, starting the map, starting the dialing function and starting the learning software, and in addition, the unopened function can be used as an optional project function, namely, a new function is not opened after the host body is opened, and the current running state is still maintained.
S206: and after the target function is started, determining whether the main body of the host computer is closed or not according to the overturning detection signal.
Specifically, after the target function is started, the overturning detection module continues to detect the overturning action of the host body and outputs a corresponding overturning detection signal.
Further, the processor receives the overturning detection signal sent by the overturning detection module in real time and analyzes and processes the overturning detection signal to judge whether the main body is closed or not, and generates a target function processing instruction when the main body is confirmed to be closed. The closing action of the main body is understood to mean that the main body is changed from a state of being opened to a state of being closed (a state that one surface of the main body facing the shell is attached to the watch shell). For example, when the value of the switching value in the rollover detection signal output by the rollover detection module changes from 1 to 0, the processor generates a target function processing command directed to the corresponding target function at the time when the host body is considered to be closed.
S207: and when the host body is closed, processing the target function according to a preset target processing method.
Further, after the target function processing instruction is generated, the processor responds to the target function pointed by the target function processing instruction to process the opened target function. The target processing method can be preset through operation on the interactive interface (such as operation on a display screen or operation through keys), or can be operated by other terminals and uploaded through the communication module, and target functions can be set by default (such as closing). It is to be understood that the preset of the target processing method may be applied to all target functions, and the target processing method of each target function may be individually set.
Illustratively, the target processing method includes one or more of closing, keeping, background running and inquiry processing modes.
Optionally, after the processor receives the target function processing instruction, according to whether the target function pointed by the target function processing instruction is in an operating state, if so, processing the operating target function according to the target processing method, otherwise, not processing.
Use predetermined target function as the example of the module of making a video recording after opening, when need swiftly start the module of making a video recording after opening, the upset host computer body, upset detection module detects the upset action and will correspond upset detection signal transmission to the treater, the treater confirms that the host computer body takes place the upset action according to upset detection signal, and then the angle detection signal that the angle detection module of receiving sending and the flip angle of analysis host computer body, and the module of making a video recording opens after the flip angle of host computer body reaches the control threshold value, realize swiftly opening the purpose of the module of making a video recording after, and the host computer body is in the upset state this moment, the module of making a video recording can obtain better field of vision of making a video recording after.
After the rear camera module is used, the host body is closed, the turnover detection module detects the closing action and sends a corresponding turnover detection signal to the processor, and the processor confirms that the host body is closed according to the turnover detection signal and detects the running state of the rear camera module; if the rear camera module is not closed, the host body is closed, the rear camera module is in a running state, and the processor closes the rear camera module; if close closed host computer body again to the module of making a video recording after to, the module of making a video recording after this moment is in the closed condition, does not handle the module of making a video recording after.
Above-mentioned, when wanting to swiftly start this target function, the host computer body overturns for the relative angle between host computer body and the watchcase changes, and generate corresponding upset detected signal, when confirming the host computer body according to upset detected signal and taking place the upset action, detect the upset angle of host computer body, and when the upset angle reaches preset threshold value, ensure that the host computer body overturns to the position of opening promptly, start the target function that sets up in advance, realize the purpose that the target function swiftly starts, optimize user experience, and when closed host computer body, handle the target function of opening according to predetermined target processing method, further optimize user experience.
On the basis of the above embodiments, fig. 3 is a schematic structural diagram of a device based on a turning angle starting function according to an embodiment of the present application. Referring to fig. 3, the apparatus for starting a function based on a flip angle provided in this embodiment includes a flip detection signal receiving module 31, a flip judgment module 32, an angle detection signal receiving module 33, an angle judgment module 34, and a start execution module 35.
The overturning detection signal receiving module 31 is configured to receive an overturning detection signal, where the overturning detection signal records overturning action information of the host body 41; the overturning judgment module 32 is configured to determine whether the main body 41 is overturned according to the overturning detection signal; an angle detection signal receiving module 33, configured to receive an angle detection signal when the host body 41 is turned over, where the angle detection signal records angle information of the host body 41 relative to the watch case 42; the angle judging module 34 is configured to judge whether the turning angle of the host body 41 reaches a preset threshold value according to the angle detection signal; the starting execution module 35 is configured to start a preset target function when the turning angle of the host body 41 reaches a preset threshold.
Above-mentioned, when wanting to swiftly start this target function, upset host computer body 41 for the relative angle between host computer body 41 and the watchcase 42 changes, and generates corresponding upset detected signal, when confirming that host computer body 41 takes place the upset action according to upset detected signal, detects host computer body 41's upset angle, and when upset angle reached preset threshold value, start the target function that sets up in advance, realize the purpose that target function swiftly starts, optimize user experience.
Further, the overturn detection signal is obtained by detecting the main body 41 through a hall sensor and/or an electronic switch; the angle detection signal is obtained by detecting the main body 41 through an infrared distance sensor.
The device based on the turning angle starting function provided by the embodiment of the application can be used for executing the method based on the turning angle starting function provided by the embodiment, and has corresponding functions and beneficial effects.
The embodiment of the application provides a wearable device, and this wearable device is intelligent wrist-watch, and this wearable device can integrate the device based on upset angle start-up function that this application embodiment provided. Fig. 4 is a schematic structural diagram of a wearable device provided in an embodiment of the present application, and referring to fig. 4, the wearable device includes a host body 41, a watchband 43, a watchcase 42, a turning detection module 44, and an angle detection module 45, where the watchcase 42 can be detachably or fixedly connected to the watchband 43 for wearing, and one side of the host body 41 is rotatably connected to the watchcase 42 through a rotating shaft, so that the host body 41 can be turned with respect to the watchcase 42. In order to fix the host body 41 at a certain turning angle, a damping structure is disposed between the host body 41 and the case 42, for example, an elastic washer sleeved on the rotating shaft is used as the damping structure, and the damping structure is abutted against the host body 41 and the case 42 respectively to provide friction force for relative rotation between the host body 41 and the case 42, thereby realizing adjustment of the turning angle of the host body 41.
The turnover detection module 44 is mounted on the main body 41, and the turnover detection module 44 detects a distance between the turnover detection module 44 and the watch case 42 by using a hall sensor or an electronic switch arranged toward the watch case 42 as a probe and outputs a corresponding turnover detection signal; the angle detection module 45 is mounted on the main body 41 and adjacent to the reverse detection module 44, and the angle detection module 45 detects an angle of the main body 41 with respect to the case 42 using an infrared distance sensor provided toward the case 42 as a probe and outputs a corresponding angle detection signal.
Fig. 5 is a schematic block diagram of a wearable device provided in an embodiment of the present application. Referring to fig. 4 and 5, the wearable device includes: the mobile phone comprises a host body 41, a watch case 42, a turning detection module 44, an angle detection module 45, a display 54, a communication module 53, an input device 55, an output device 56, a watch band 43, a memory 52 and one or more processors 51, wherein 1 processor 51 is taken as an example in fig. 5; the display screen 54 is arranged on the host body 41; the main body 41 is connected with the watchcase 42 in a rotating way; the watchband 43 is worn on a human hand and used for fixing the watchcase 42; the memory 52 is arranged in the host body 41 and used for storing one or more programs; the overturning detection module 44 is arranged on the host body 41 and is used for detecting whether the host body 41 overturns and outputting a corresponding overturning detection signal; the angle detection module 45 is arranged on the host body 41 and used for detecting the angle of the host body 41 relative to the watchcase 42 and outputting a corresponding angle detection signal; the turning detection module 44, the angle detection module 45, the display 54, the communication module 53, the input device 55, the output device 56, the memory 52 and the processor 51 of the wearable device may be connected by a bus or other means, for example, the connection by the bus is illustrated in fig. 5. When executed by the one or more processors 51, the one or more programs cause the one or more processors 51 to implement the method for initiating a function based on a flip angle as provided in the above embodiments.
The memory 52 is a computer readable storage medium, and can be used for storing software programs, computer executable programs, and modules, such as program instructions/modules corresponding to the method for starting a function based on a flip angle according to any embodiment of the present application (for example, the flip detection signal receiving module 31, the flip determination module 32, the angle detection signal receiving module 33, the angle determination module 34, and the start execution module 35 in the apparatus for starting a function based on a flip angle). The memory 52 may mainly include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application program required for at least one function; the storage data area may store data created according to use of the device, and the like. Further, the memory 52 may include high speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other non-volatile solid state storage device. In some examples, the memory 52 may further include memory located remotely from the processor 51, which may be connected to the device over a network. Examples of such networks include, but are not limited to, the internet, intranets, local area networks, mobile communication networks, and combinations thereof.
The communication module 53 is used for establishing wireless connection with other wearable devices, mobile phones, servers and other devices, and performing data transmission. A display screen 54 is provided on the wearable device and facing away from the watch case 42, the display screen 54 being operable to display images under the control of the processor 51 and also to display other messages sent by the processor 51.
The input device 55 may be used to receive input numeric or character information and the output device 56 may include a speaker or the like. It should be noted that the specific composition of the input device 55 and the output device 56 can be set according to actual conditions.
The processor 51 executes various functional applications of the device and data processing, i.e. the method of starting the function based on the flip angle described above, by running software programs, instructions and modules stored in the memory 52.
The wearable device provided by the embodiment can be used for executing the method for starting the function based on the turning angle, and has corresponding functions and beneficial effects.
Embodiments of the present application also provide a storage medium containing computer-executable instructions, which when executed by a computer processor, perform a method of initiating a function based on a flip angle, the method of initiating a function based on a flip angle comprising: receiving a turnover detection signal, wherein the turnover detection signal records turnover action information of a host body; determining whether the main body is turned according to the turning detection signal; when the host body turns over, receiving an angle detection signal, wherein the angle detection signal records angle information of the host body relative to the watch case; judging whether the overturning angle of the host body reaches a preset threshold value or not according to the angle detection signal; and when the overturning angle of the host body reaches a preset threshold value, starting a preset target function.
Storage medium-any of various types of memory devices or storage devices. The term "storage medium" is intended to include: mounting media such as CD-ROM, floppy disk, or tape devices; computer system memory or random access memory such as DRAM, DDR RAM, SRAM, EDO RAM, Lanbas (Rambus) RAM, etc.; non-volatile memory such as flash memory, magnetic media (e.g., hard disk or optical storage); registers or other similar types of memory elements, etc. The storage medium may also include other types of memory or combinations thereof. In addition, the storage medium may be located in a first computer system in which the program is executed, or may be located in a different second computer system connected to the first computer system through a network (such as the internet). The second computer system may provide program instructions to the first computer for execution. The term "storage medium" may include two or more storage media that may reside in different locations, such as in different computer systems that are connected by a network. The storage medium may store program instructions (e.g., embodied as a computer program) that are executable by one or more processors.
Of course, the storage medium provided in the embodiments of the present application contains computer-executable instructions, and the computer-executable instructions are not limited to the method for starting a function based on a flip angle as described above, and may also perform related operations in the method for starting a function based on a flip angle as provided in any embodiment of the present application.
The apparatus, the wearable device, and the storage medium provided in the foregoing embodiments may execute the method for starting the function based on the flip angle provided in any embodiment of the present application, and reference may be made to the method for starting the function based on the flip angle provided in any embodiment of the present application without detailed technical details described in the foregoing embodiments.
The foregoing is considered as illustrative of the preferred embodiments of the invention and the technical principles employed. The present application is not limited to the particular embodiments described herein, but is capable of various obvious changes, rearrangements and substitutions as will now become apparent to those skilled in the art without departing from the scope of the invention. Therefore, although the present application has been described in more detail with reference to the above embodiments, the present application is not limited to the above embodiments, and may include other equivalent embodiments without departing from the spirit of the present application, and the scope of the present application is determined by the scope of the claims.
Claims (10)
1. A method for starting a function based on a flip angle, comprising:
receiving a turnover detection signal, wherein the turnover detection signal records turnover action information of the host body relative to the watchcase;
determining whether the host body is turned relative to the watchcase or not according to the turning detection signal;
the overturning detection signal is output by an overturning detection module, and the overturning detection module is arranged on the host body;
when the host body turns over, receiving an angle detection signal, wherein the angle detection signal records angle information of the host body relative to the watch case;
judging whether the overturning angle of the host body reaches a preset threshold value or not according to the angle detection signal;
and when the overturning angle of the host body reaches a preset threshold value, starting a preset target function.
2. The method for starting the function based on the overturning angle according to claim 1, wherein the overturning detection signal is obtained by detecting a main body through a Hall sensor and/or an electronic switch.
3. The method for starting the function based on the overturning angle of claim 1, wherein the angle detection signal is obtained by detecting a host body through an infrared distance sensor.
4. The method for starting the function based on the turning angle of claim 1, wherein the target function comprises one or more of starting a rear camera module, starting a front camera module, starting a map, starting a dialing function and starting learning software.
5. The method for initiating a function based on a flip angle of claim 1, further comprising:
after the target function is started, determining whether the host body is closed relative to the watchcase or not according to the turnover detection signal;
and when the host body is closed relative to the watchcase, processing the target function according to a preset target processing method.
6. The method for starting functions based on the turning angle of claim 4, wherein the target processing method comprises one or more of closing, keeping, background running and inquiry processing modes in combination.
7. The utility model provides a device based on upset angle starts function which characterized in that includes:
the turnover detection signal receiving module is used for receiving a turnover detection signal, and the turnover detection signal records turnover action information of the host body relative to the watchcase;
the turnover judging module is used for determining whether the host body is turned relative to the watchcase or not according to the turnover detection signal, the turnover detection signal is output by the turnover detection module, and the turnover detection module is arranged on the host body;
the angle detection signal receiving module is used for receiving an angle detection signal when the host body turns over, and the angle detection signal records angle information of the host body relative to the watch case;
the angle judging module is used for judging whether the overturning angle of the host body reaches a preset threshold value or not according to the angle detection signal;
and the starting execution module is used for starting a preset target function when the overturning angle of the host body reaches a preset threshold value.
8. The device for starting the function based on the turning angle according to claim 7, wherein the turning detection signal is obtained by detecting the main body through a Hall sensor and/or an electronic switch; the angle detection signal is obtained by detecting the host body through the infrared distance sensor.
9. A wearable device, comprising: the device comprises a host body, a watch shell, a display screen, a turnover detection module, an angle detection module, a memory and one or more processors;
the display screen is arranged on the host body;
one side of the main body is rotatably connected with the watchcase;
the turnover detection module is arranged on the host body and used for detecting whether the host body turns relative to the watchcase or not and outputting a corresponding turnover detection signal;
the angle detection module is arranged on the host body and used for detecting the angle of the host body relative to the watch case and outputting a corresponding angle detection signal;
the memory is arranged on the host body and used for storing one or more programs;
when executed by the one or more processors, cause the one or more processors to implement a method for initiating a function based on a flip angle as recited in any of claims 1-5.
10. A storage medium containing computer-executable instructions for performing the method of initiating a function based on a flip angle of any of claims 1-5 when executed by a computer processor.
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 CN110286578A (en) | 2019-09-27 |
| CN110286578B true 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) |
Families Citing this family (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN115131791A (en) * | 2022-04-28 | 2022-09-30 | 广东小天才科技有限公司 | Translation method, device, wearable device and storage medium |
Citations (7)
| 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 |
| CN105137743A (en) * | 2015-10-15 | 2015-12-09 | 京东方科技集团股份有限公司 | Intelligent watch |
| CN204945639U (en) * | 2015-08-26 | 2016-01-06 | 陈家骏 | Smart watch with plug-in expansion module |
| CN106557021A (en) * | 2016-10-14 | 2017-04-05 | 杭州联络互动信息科技股份有限公司 | A kind of screen based on intelligent watch lights method and apparatus, intelligent watch |
| 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 and control assembly of sliding mechanism and electronic equipment |
| CN208937926U (en) * | 2018-09-29 | 2019-06-04 | 广东小天才科技有限公司 | Intelligent wearable device with turnover device body |
Family Cites Families (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US8279716B1 (en) * | 2011-10-26 | 2012-10-02 | Google Inc. | Smart-watch including flip up display |
| CN104461604A (en) * | 2013-09-25 | 2015-03-25 | 联想(北京)有限公司 | Information processing method and electronic equipment |
| CN107577349A (en) * | 2017-09-14 | 2018-01-12 | 广东欧珀移动通信有限公司 | Human-computer interaction method and device, mobile terminal, computer-readable storage medium |
-
2019
- 2019-06-20 CN CN201910539494.3A patent/CN110286578B/en active Active
Patent Citations (7)
| 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 |
| CN204945639U (en) * | 2015-08-26 | 2016-01-06 | 陈家骏 | Smart watch with plug-in expansion 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 |
| 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 and control assembly of sliding mechanism and electronic equipment |
| CN208937926U (en) * | 2018-09-29 | 2019-06-04 | 广东小天才科技有限公司 | Intelligent wearable device with turnover device body |
Also Published As
| Publication number | Publication date |
|---|---|
| CN110286578A (en) | 2019-09-27 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US12293073B2 (en) | Virtual smart phone | |
| EP2549723B1 (en) | Mobile terminal and method of controlling the same | |
| KR101876655B1 (en) | Screen control method and device | |
| KR101837333B1 (en) | Method and apparatus for awakening electronic device | |
| CN112424725B (en) | Application control method and electronic device | |
| CN108055408B (en) | Application program control method and mobile terminal | |
| EP2858344A1 (en) | Mobile terminal and control method thereof | |
| CN109067964B (en) | Camera control method and device, mobile terminal and storage medium | |
| CN110275734A (en) | Method and device for turning over starting function, wearable device and storage medium | |
| CN109286727B (en) | Operation control method and terminal equipment | |
| KR102089456B1 (en) | Mobile terminal | |
| CN108089891A (en) | A kind of application program launching method, mobile terminal | |
| CN105068632A (en) | Terminal charging method and device and terminal | |
| CN110286578B (en) | Method and device for starting function based on turning angle | |
| CN110830063B (en) | A kind of interference control method of audio service and terminal | |
| CN110139270B (en) | Wearable device pairing method, wearable device and computer readable storage medium | |
| EP3608771A1 (en) | Speech recognition method and electronic device for supporting the same | |
| CN110049537A (en) | Power saving method, device, equipment and storage medium for intelligent wearable equipment | |
| CN110543228A (en) | Wearable device, control method of wearable device, and readable storage medium | |
| CN110166693A (en) | Image acquisition method and image acquisition system | |
| EP4053675A1 (en) | Method and apparatus for controlling mobile terminal, and storage medium | |
| CN117781107A (en) | Tripod head stabilizer, tripod head shooting system, tracking method, device and equipment | |
| EP3886412B1 (en) | Display device | |
| CN108089462B (en) | Control method and device of electric equipment, mobile terminal equipment and electric equipment | |
| CN114594693A (en) | Device control method, 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 |