CN114979358A - Contextual model switching method, mobile terminal and wearable device - Google Patents

Contextual model switching method, mobile terminal and wearable device Download PDF

Info

Publication number
CN114979358A
CN114979358A CN202110193517.7A CN202110193517A CN114979358A CN 114979358 A CN114979358 A CN 114979358A CN 202110193517 A CN202110193517 A CN 202110193517A CN 114979358 A CN114979358 A CN 114979358A
Authority
CN
China
Prior art keywords
user
mobile terminal
contextual model
mode
state
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202110193517.7A
Other languages
Chinese (zh)
Inventor
陈盼
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Oneplus Technology Shenzhen Co Ltd
Original Assignee
Oneplus Technology Shenzhen Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Oneplus Technology Shenzhen Co Ltd filed Critical Oneplus Technology Shenzhen Co Ltd
Priority to CN202110193517.7A priority Critical patent/CN114979358A/en
Publication of CN114979358A publication Critical patent/CN114979358A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

Landscapes

  • Telephone Function (AREA)

Abstract

The embodiment of the application relates to a contextual model switching method, a mobile terminal and a storage medium, wherein the contextual model switching method comprises the steps of receiving state information of a user detected by wearable equipment, determining whether the user is in a motion state according to the state information, and switching the contextual model of the mobile terminal according to the state information if the user is determined to be in the motion state.

Description

Contextual model switching method, mobile terminal and wearable device
Technical Field
The invention relates to the technical field of contextual model switching, in particular to a contextual model switching method, a mobile terminal and wearable equipment.
Background
With the development of technology, the functions of mobile terminals are more and more diversified, and people can use the mobile terminals to handle various matters. The contextual model of the mobile terminal includes various modes, such as a standard mode, a conference mode, a sleep mode, an outdoor mode, and the like, and the mobile terminal has different working modes in different modes.
When a user is in the process of exercise, such as in the process of running or playing a ball, the mobile terminal of the user receives instant messages such as message notifications and telephones from time to time, and if the user wears the earphone in the process of exercise, the instant messages can be received through the earphone, the instant messages can cause the user to be interfered, the exercise of the user can be interrupted frequently by the instant messages, the user cannot concentrate on the exercise, and the exercise experience of the user is influenced.
Disclosure of Invention
The invention solves at least one of the technical problems to a certain extent, and provides a contextual model switching method, a mobile terminal and wearable equipment.
In a first aspect, an embodiment of the present invention provides a contextual model switching method, which is applied to a mobile terminal, where the mobile terminal is in communication connection with a wearable device, and the method includes:
receiving state information of a user detected by the wearable device;
determining whether the user is in a motion state according to the state information;
and if so, switching the contextual model of the mobile terminal into the disturbance-free mode according to the state information.
In some embodiments, said determining whether said user is in motion from said state information comprises:
determining whether the body of the user is in a continuous swing state according to the state information;
and if so, determining that the user is in the motion state.
In some embodiments, the state information includes swing information of at least one body part of the user, and the determining whether the body of the user is in a continuous swing state according to the state information includes:
determining whether the body of the user reaches the swing times of a first preset threshold value in unit time according to the swing information of at least one body part of the user;
and if so, determining that the body of the user is in a continuous swing state.
In some embodiments, the status information includes a real-time heart rate of the user, and the determining whether the user is in motion from the status information includes:
and if the real-time heart rate of the user is greater than or equal to a second preset threshold value, determining that the user is in a motion state.
In some embodiments, the status information includes an amount of change in sweat on a skin surface of the user, and the determining whether the user is in motion from the status information includes:
and if the variation of sweat on the skin surface of the user is larger than or equal to a third preset threshold, determining that the user is in a motion state.
In some embodiments, the switching the contextual model of the mobile terminal to the do-not-disturb mode according to the state information includes:
and switching the contextual model of the mobile terminal into a meditation mode or a do-not-disturb mode according to the state information.
In some embodiments, the state information further includes a gesture action, and after determining that the user is in a motion state, the switching the contextual model of the mobile terminal to the do-not-disturb mode according to the state information further includes:
receiving the gesture motion detected by the wearable device;
and switching the contextual model of the mobile terminal into a meditation mode or a do-not-disturb mode according to the gesture actions.
In some embodiments, the method further comprises:
receiving a setting instruction of a working mode of the contextual model;
if the setting instruction accords with a first preset instruction, determining that the working mode of the contextual model is an autonomous mode;
if the setting instruction accords with a second preset instruction, determining that the working mode of the contextual model is an automatic mode, and receiving the state information of the user, which is detected by the wearable device, when the working mode of the contextual model is the automatic mode.
In a second aspect, an embodiment of the present invention provides a mobile terminal, where the mobile terminal includes:
the communication module is used for being in communication connection with the wearable device;
at least one processor; and the number of the first and second groups,
a memory communicatively coupled to the at least one processor; wherein, the first and the second end of the pipe are connected with each other,
the memory stores instructions executable by the at least one processor to enable the at least one processor to perform the method of scene mode switching as described above.
In a third aspect, an embodiment of the present invention provides a non-transitory computer-readable storage medium, which stores computer-executable instructions for causing a mobile terminal to execute the contextual model switching method described above.
Compared with the prior art, the invention at least has the following beneficial effects: the contextual model switching method is applied to a mobile terminal, the mobile terminal is in communication connection with wearable equipment, the contextual model switching method determines whether a user is in a motion state or not according to state information of the user detected by the wearable equipment by receiving the state information of the user, and if the user is determined to be in the motion state, the contextual model of the mobile terminal is switched according to the state information.
Drawings
One or more embodiments are illustrated by way of example in the accompanying drawings, which correspond to the figures in which like reference numerals refer to similar elements and which are not to scale unless otherwise specified.
Fig. 1 is a schematic view of an application scenario of a contextual model switching method according to an embodiment of the present invention;
fig. 2 is a schematic structural diagram of a mobile terminal according to an embodiment of the present invention;
fig. 3 is a flowchart of a method for switching contextual models according to an embodiment of the present invention;
FIG. 4 is a flowchart of step S32 of FIG. 3;
fig. 5 is a flowchart of a method for switching profiles according to another embodiment of the present invention;
fig. 6 is a schematic diagram of a contextual model switching apparatus according to an embodiment of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention more apparent, the present invention is described in further detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
It should be noted that, if not conflicted, the various features of the embodiments of the invention may be combined with each other within the scope of protection of the invention. Additionally, while functional block divisions are performed in apparatus schematics, with logical sequences shown in flowcharts, in some cases, steps shown or described may be performed in sequences other than block divisions in apparatus or flowcharts. The terms "first", "second", "third", and the like used in the present invention do not limit data and execution order, but distinguish the same items or similar items having substantially the same function and action.
Referring to fig. 1, fig. 1 is a schematic view of an application scenario of a contextual model switching method according to an embodiment of the present invention, as shown in fig. 1, the application scenario includes a mobile terminal 10, a wireless network 20, a wearable device 30, and a user 40. The user 40 wears the wearable device 30 and is in motion, specifically, the user 40 wears the wearable device 30 to run on a treadmill, the wearable device 30 is connected to the mobile terminal 10 in communication, and the two can transmit some data and information to each other, such as: the wearable device 30 can detect the motion information of the user 40, the sign state information of the user 40, and the like, and transmit the motion information or the sign information to the mobile terminal 10, so that the mobile terminal 40 switches the contextual model according to the motion information or the sign information.
Wearable device 30 may be any type of wearable device including, but not limited to, a bracelet, a watch, and AR/VR glasses, among others.
The wearable device 30 may be added with one or more functional modules according to the needs of actual situations, so that the wearable device 30 can implement corresponding functions. For example: in this embodiment, the wearable device 30 is provided with at least one of an accelerometer, an inertial navigation sensor, a gyroscope sensor, a speed sensor, a humidity sensor, and the like, and can be used to detect motion information, physiological signals (such as heart rate, respiration rate, body motion parameters, and the like), gesture actions, and the like of the user 40. Correspondingly, the wearable device 30 is provided with an information receiving and processing device for receiving and processing the information collected by the at least one sensor, and the wearable device 30 is further provided with a communication module for transmitting the processed information collected by the at least one sensor to the mobile terminal 10, and performing corresponding processing and analysis by the mobile terminal 10.
The mobile terminal 10 may be of any type including a communication module for establishing a communication connection with the wearable device 30, and the mobile terminal 10 according to the embodiment of the present invention may include various handheld devices with wireless communication functions, such as a mobile phone, a tablet computer, and the like. The present embodiment is described by taking a mobile phone as an example.
The wireless network 20 may be a wireless communication network for establishing a data transmission channel between two nodes based on any type of data transmission principle, such as a bluetooth network, a WiFi network, a wireless cellular network or a combination thereof located in different signal frequency bands.
The contextual model of the mobile terminal 10 may include various modes, and in the normal operation mode, the mobile terminal may receive a short message or a voice call, and generally, during the exercise, the user prefers to wear an earphone, so that the user may receive instant messages such as a short message or a voice call through the earphone.
However, in the process of the user 40 moving, if the instant message received by the mobile terminal 10 is too much, the user 40 may not be able to concentrate on the movement, the exercise of the user 40 may be interrupted by the instant message frequently, which affects the user's movement experience, and if before the movement, the user 40 manually switches the contextual model of the mobile terminal 10 to enter the contextual model such as the do-not-disturb model, which prevents the mobile terminal 10 from disturbing the user's movement during the movement of the user 40, the user 40 may forget to switch the contextual model of the mobile terminal 10 back to the normal working model after the movement is finished, which may not process the instant message or the voice call in time, which affects the use experience of the user 40. Therefore, if the profile of the mobile terminal 10 can be automatically switched during the movement of the user 40, the user experience can be greatly improved if the user 40 is prevented from being disturbed by the instant message.
With continued reference to fig. 2, the mobile terminal includes a memory 102 and a processor 101, the processor 101 is a control center of the mobile terminal, connects various parts of the entire mobile terminal by using various interfaces and lines, and performs various functions of the mobile terminal 10 and processes data by running or executing software programs and/or modules stored in the memory 102 and calling up data stored in the memory 102, thereby performing overall monitoring of the mobile terminal 10. Processor 101 includes one or more processing units.
The processor 101 and the memory 102 may be connected by a bus or other means, such as the bus connection in fig. 2.
The memory 102, which is a non-volatile computer-readable storage medium, may be used to store non-volatile software programs, non-volatile computer-executable programs, and modules, such as program instructions/modules corresponding to the scene mode switching method in any of the method embodiments described below. The processor 101 executes various functional applications and data processing of the mobile terminal by running non-volatile software programs, instructions and modules stored in the memory 102, that is, functions of the scene mode switching method provided by the method embodiments described below.
The memory 102 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 embodiments, memory 102 may optionally include memory located remotely from processor 101, which may be connected to processor 101 via 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 program instructions/modules are stored in the memory 102 and, when executed by the one or more processing units, perform a method of scene mode switching in any of the method embodiments described below.
The applicable scenarios of the scene mode switching method provided in the following embodiments are not limited to the application environment shown in fig. 1, such as that the user can perform a motion on another motion device, or perform a motion without using a motion device, or perform some head motions.
Fig. 3 is an embodiment of a contextual model switching method according to an embodiment of the present invention. As shown in fig. 3, the method for switching the scene mode includes the following steps:
s31: receiving state information of a user detected by the wearable device;
s32: determining whether the user is in a motion state according to the state information;
s33: and if so, switching the contextual model of the mobile terminal into the disturbance-free mode according to the state information.
The user wears the wearable device in advance, and the wearable device establishes communication connection with the mobile terminal, and the wearable device can detect various state information of the user, for example: and determining whether the user is in a motion state or not according to at least one type of state information of at least one of the state information of the user, the physiological sign information or the gesture information of the user, and switching the contextual model of the mobile terminal according to the at least one type of state information in the motion state.
In the motion state, the mobile terminal may switch the current mode to a do-not-disturb mode, such as meditation mode or do-not-disturb mode, the meditation mode being a heavy do-not-disturb mode in which the mobile terminal is not available for 30 minutes, the do-not-disturb mode being a lightweight do-not-disturb mode in which the mobile terminal masks all notification messages, incoming calls, etc. The mobile terminal switches the contextual model according to the state information, prevents the user from being disturbed by instant messages such as short messages, message notifications or telephones and the like in the motion process, and can concentrate on the motion;
and when the user is in a non-motion state, the mobile terminal determines that the user is not in the motion state at present according to the state information detected by the wearable device, if the current contextual model of the mobile terminal is a normal mode, the contextual model of the mobile terminal can be selected not to be switched, the normal mode is continuously kept, if the current contextual model of the mobile terminal is the non-normal mode, and if the current contextual model of the mobile terminal is the non-normal mode, the non-disturbance mode can be switched to the normal mode, so that the user can timely process the instant information of the mobile terminal in the non-motion state.
To sum up, under the user is in motion state, mobile terminal according to the user's that wearable equipment detected state information, automatic switch-over mobile terminal's contextual model for the user avoids mobile terminal's disturbance, can be absorbed in the motion more, promotes user experience.
In some embodiments, there are many ways to determine whether the user is in the motion state according to the state information, and according to the difference of the state information, determine whether the user is in the motion state in different ways, where the state information includes at least one of the motion information, the physiological sign information, or the gesture information of the user, and then according to at least one of the motion information, the physiological sign information, or the gesture information of the user, and the corresponding preset condition, determine whether the user is in the motion state. Specifically, as shown in fig. 4, step S32 includes:
s321: determining whether the body of the user is in a continuous swing state according to the state information;
s322: and if so, determining that the user is in the motion state.
During the exercise, the body of the user is generally in a continuous swing state or a regular continuous swing state, the continuous swing of the body may include the swing of at least one body part such as an arm, a leg, and/or a head of the user, and it may be determined whether the body of the user is in the continuous swing state through the number of swings of the at least one body part in a unit time. The specific value of the first preset threshold may be set according to the user's needs, for example, if the user's exercise is a light exercise, such as some stretching exercises, the first preset threshold may be set to be smaller, and if the user's exercise is a violent exercise, such as running or playing a ball, the first preset threshold may be set to be larger.
In some embodiments, it may also be determined whether the user is in a motion state through physiological characteristic information of the user, for example, whether the user is in the motion state is determined according to a real-time heart rate of the user, and generally, if the user is in the motion state, the real-time heart rate of the user may be increased relative to a normal heart rate, and the heart rate may be accelerated, so that the real-time heart rate of the user is obtained through the wearable device, and if the real-time heart rate of the user is greater than or equal to a second preset threshold, it is determined that the user is in the motion state. Another example is: the method comprises the steps of determining whether a user is in a motion state or not according to the sweat change on the skin surface of the user, when the user is in the motion state, due to the increase of activity, the user easily sweats or the sweat on the skin surface is increased, and the moisture content of the skin surface is increased.
In some embodiments, in order to determine whether a user is in a motion state more accurately, whether the user is in the motion state is determined based on a body swing state of the user, a real-time heart rate of the user, and a skin surface sweat variation of the user, specifically, first, whether the body of the user reaches a swing frequency of a first preset threshold in a unit time is determined according to swing information of at least one body part of the user, if so, the body of the user is determined to be in a regular swing state, then, whether the real-time heart rate of the user is greater than or equal to a second preset threshold is determined, if so, whether the user is in the motion state is determined according to the skin surface sweat variation of the user, so as to eliminate a heart rate acceleration phenomenon caused by a physiological disease of some users, and if the skin surface sweat variation of the user is greater than or equal to a third preset threshold, and then determining that the user is in a motion state, and switching the contextual model of the mobile terminal into the disturbance-free mode according to the state information. Whether the user is in the motion state or not is judged based on the body swing state of the user, the real-time heart rate of the user and the variation of sweat on the surface of the skin of the user, the judgment accuracy can be improved, and the state of the user can be determined more accurately.
After the user is determined to be in a motion state, the contextual model of the mobile terminal is switched to an interference-free mode according to the state information of the user, wherein the interference-free mode comprises two modes, namely a meditation mode and a do-not-disturb mode, the contextual model of the mobile terminal can be switched to the meditation mode or the do-not-disturb mode according to the state information, specifically, if the state information is the swing information of at least one body part of the user, when the swing frequency of the user in a body unit time is greater than or equal to a third preset threshold value and less than or equal to a fifth preset threshold value, the contextual model of the mobile terminal is switched to the do-not-disturb mode, and when the swing frequency of the user in the body unit time is greater than the fifth preset threshold value, the contextual model of the mobile terminal is switched to the meditation mode; if the state information is the real-time heart rate of the user, when the real-time heart rate of the user is larger than or equal to a second preset threshold value and smaller than or equal to a sixth preset threshold value, switching the contextual model of the mobile terminal into a do-not-disturb mode, and when the real-time heart rate of the user is larger than the sixth preset threshold value, switching the contextual model of the mobile terminal into a meditation mode; if the state information is the variation of sweat on the skin surface of the user, when the variation of sweat on the skin surface of the user is greater than or equal to a third preset threshold and less than or equal to a seventh preset threshold, the contextual model of the mobile terminal is switched to the do-not-disturb mode, and when the variation of sweat on the skin surface of the user is greater than the seventh preset threshold, the contextual model of the mobile terminal is switched to the zen mode.
In some embodiments, if the state information is a moving speed, when the moving speed of the user is greater than or equal to an eighth preset threshold and less than or equal to a ninth preset threshold, the contextual model of the mobile terminal is switched to the do-not-disturb mode, and when the moving speed of the user is greater than the ninth preset threshold, the contextual model of the mobile terminal is switched to the zen mode.
The fifth preset threshold, the sixth preset threshold, the seventh preset threshold, the eighth preset threshold and the ninth preset threshold may be set according to a user requirement.
In some embodiments, after determining that the user is in the motion state, the contextual model of the mobile terminal may be further switched to the disturbance-free mode according to the gesture action of the user, specifically, the state information includes the gesture action, after determining that the user is in the motion state, the gesture action detected by the wearable device is received again, according to the gesture action, the contextual model of the mobile terminal is switched to the meditation mode or the disturbance-free mode, if the gesture action of the user conforms to a first preset gesture, the contextual model of the mobile terminal is switched to the meditation mode, and if the gesture action of the user conforms to a second preset gesture, the contextual model of the mobile terminal is switched to the disturbance-free mode, where both the first preset gesture and the second preset gesture may be set by the user in advance, such as: the first preset gesture is a motion of stretching out one finger, and the second preset gesture is a motion of stretching out two fingers. The contextual model switching method is implemented only when the working mode of the contextual model is the automatic mode, and if the working mode of the contextual model is not the automatic mode, the user may select the contextual model autonomously and process instant messages such as notification messages, short messages or calls autonomously, so that the working mode of the contextual model of the mobile terminal needs to be set before implementing the contextual model switching method, specifically, as shown in fig. 5, the contextual model switching method further includes:
s51: receiving a setting instruction of a working mode of the contextual model;
s52: if the setting instruction accords with a first preset instruction, determining that the working mode of the contextual model is an autonomous mode;
s53: if the setting instruction accords with a second preset instruction, determining that the working mode of the contextual model is an automatic mode, and receiving the state information of the user, which is detected by the wearable device, when the working mode of the contextual model is the automatic mode.
The setting instruction can be automatically acquired after being detected by the mobile terminal, and can also be transmitted to the mobile terminal after being detected by the wearable device, and then the mobile terminal receives the setting instruction. The setting instruction is in various forms, and the forms of the first preset instruction and the second preset instruction are changed along with the forms of the setting instruction, for example, the setting instruction is a voice signal, the first preset instruction and the second preset instruction are different voice signals, or the setting instruction is a gesture action, the first preset instruction and the second preset instruction are different gesture actions, the first preset instruction and the second preset instruction are both set by a user in advance, if the first preset instruction and the second preset instruction are respectively voice signals for entering an autonomous mode and entering an automatic mode, or the first preset instruction and the second preset instruction are respectively gesture actions for extending one finger and extending two fingers, and the like.
If the working mode of the contextual model is the automatic mode, receiving state information of a user detected by the wearable device, determining whether the user is in a motion state according to the state information, and if the user is in the motion state, switching the contextual model of the mobile terminal into the disturbance-free mode according to the state information.
If the working mode of the contextual model is the autonomous mode, the user can autonomously select the contextual model of the mobile terminal, further, the contextual model of the mobile terminal can be selected by gesture actions or voice information, and if the user does not select the disturbance-free mode, the user can also process instant information such as notification information, short message information or call information and the like of the mobile terminal through the gesture actions or the voice information, for example, answering or hanging up the call through different gesture actions, or answering or hanging up the call through a corresponding voice signal, replying the short message through a corresponding voice signal and the like.
Therefore, the user can independently select the working modes of different contextual models through different setting instructions, under the automatic mode, the user can be automatically prevented from being disturbed by the instant messages and be more concentrated on the movement under the movement state of the user, and under the automatic mode, the user can timely process the instant messages through gestures, actions, voice messages and other forms.
In conclusion, the contextual model switching method can enable the user to automatically switch the contextual model of the mobile terminal according to the state information of the user detected by the wearable device in the motion state, so that the user is free from being disturbed by the mobile terminal, can concentrate on the motion, and improves the user experience.
It should be noted that, in the foregoing embodiments, a certain order does not necessarily exist between the foregoing steps, and it can be understood by those skilled in the art from the description of the embodiments of the present invention that, in different embodiments, the foregoing steps may have different execution orders, that is, may be executed in parallel, may also be executed in an exchange manner, and the like.
As another aspect of the embodiments of the present invention, an embodiment of the present invention provides a contextual model switching device. The contextual model switching device may be a software module, where the software module includes a plurality of instructions, and the instructions are stored in a memory, and the processor may access the memory and call the instructions to execute the instructions, so as to complete the contextual model switching method described in the foregoing embodiments.
In some embodiments, the contextual model switching device may also be built by a hardware device, for example, the contextual model switching device may be built by one or more chips, and each chip may work in coordination with each other to complete the contextual model switching method described in each embodiment. For another example, the scene mode switching device may also be constructed by various logic devices, such as a general processor, a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), a Field Programmable Gate Array (FPGA), a single chip, an arm (acorn RISC machine) or other programmable logic device, discrete gate or transistor logic, discrete hardware components, or any combination of these components.
Referring to fig. 6, fig. 6 is a diagram illustrating a contextual model switching apparatus 600 according to an embodiment of the present invention, where the contextual model switching apparatus 600 includes a receiving module 61, a first determining module 62, and a switching module 63.
The receiving module 61 is configured to receive status information of a user detected by the wearable device;
the first determining module 62 is configured to determine whether the user is in a motion state according to the state information;
the switching module 63 is configured to switch the contextual model of the mobile terminal to the do-not-disturb mode according to the state information.
Therefore, the contextual model switching device can enable the user to automatically switch the contextual model of the mobile terminal according to the state information of the user detected by the wearable device in the motion state, so that the user is prevented from being disturbed by the mobile terminal, can be more attentive to the motion, and improves the user experience.
In some embodiments, the first determination module 62 is specifically configured to determine whether the body of the user is in a continuous swing state according to the state information; and if so, determining that the user is in a motion state.
In some embodiments, the status information includes swing information of at least one body part of the user, and the first determining module 62 is further specifically configured to determine whether the body of the user reaches a first preset threshold number of swings in a unit time according to the swing information of at least one body part of the user; and if so, determining that the body of the user is in a continuous swing state.
In some embodiments, the status information includes a real-time heart rate of the user, and the first determining module 62 is further specifically configured to: and if the real-time heart rate of the user is greater than or equal to a second preset threshold value, determining that the user is in a motion state.
In some embodiments, the status information includes a variation in sweat on a skin surface of the user, and the first determination module 62 is further specifically configured to: and if the variation of sweat on the skin surface of the user is larger than or equal to a third preset threshold, determining that the user is in a motion state.
In some embodiments, the switching module 63 is configured to switch the contextual model of the mobile terminal to the zen mode or the do-not-disturb mode according to the status information.
In some embodiments, the status information comprises a gesture action, and after determining that the user is in a motion state, switching module 63 is configured to receive the gesture action detected by the wearable device; and switching the contextual model of the mobile terminal into a meditation mode or a do-not-disturb mode according to the gesture actions.
In some embodiments, the contextual model switching apparatus 600 further includes a receiving module 64, configured to receive a setting instruction of an operating mode of the contextual model; a second determining module 65, configured to determine that the working mode of the contextual model is an autonomous mode if the setting instruction conforms to a first preset instruction; a third determining module 66, configured to determine that the working mode of the contextual model is an automatic mode if the setting instruction conforms to a second preset instruction, and receive the state information of the user detected by the wearable device when the working mode of the contextual model is the automatic mode.
It should be noted that the contextual model switching device can execute the contextual model switching method provided by the embodiment of the present invention, and has the corresponding functional modules and beneficial effects of the execution method. For technical details that are not described in detail in the embodiment of the contextual model switching device, reference may be made to the contextual model switching method provided in the embodiment of the present invention.
Embodiments of the present invention also provide a non-transitory computer-readable storage medium storing computer-executable instructions, which are executed by one or more processors, such as the processor 101 in fig. 2, so that the one or more processors can execute the method for switching the scene mode in any of the method embodiments.
An embodiment of the present invention further provides a computer program product, which includes a computer program stored on a non-transitory computer readable storage medium, where the computer program includes program instructions, and when the program instructions are executed by an electronic device, the electronic device is caused to execute any one of the scene mode switching methods.
In summary, the embodiment of the invention enables the user to automatically switch the contextual model of the mobile terminal according to the state information of the user detected by the wearable device in the motion state, so that the user is not disturbed by the mobile terminal, can concentrate on the motion, and improves the user experience.
The above-described embodiments of the apparatus or device are merely illustrative, wherein the unit modules described as separate parts may or may not be physically separate, and the parts displayed as module units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network module units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of the present embodiment.
Through the above description of the embodiments, those skilled in the art will clearly understand that each embodiment can be implemented by software plus a general hardware platform, and certainly can also be implemented by hardware. Based on such understanding, the technical solutions in essence or part contributing to the related art can be embodied in the form of a software product, which can be stored in a computer readable storage medium, such as ROM/RAM, magnetic disk, optical disk, etc., and includes several instructions for causing a computer device (which can be a personal computer, a server, or a network device, etc.) to execute the method according to various embodiments or some parts of embodiments.
Finally, it should be noted that: the above examples are only intended to illustrate the technical solution of the present invention, but not to limit it; within the idea of the invention, also technical features in the above embodiments or in different embodiments may be combined, steps may be implemented in any order, and there are many other variations of the different aspects of the invention as described above, which are not provided in detail for the sake of brevity; although the present invention has been described in detail with reference to the foregoing embodiments, it will be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; and the modifications or the substitutions do not make the essence of the corresponding technical solutions depart from the scope of the technical solutions of the embodiments of the present application.

Claims (10)

1. A scene mode switching method is applied to a mobile terminal, wherein the mobile terminal is in communication connection with a wearable device, and the method comprises the following steps:
receiving state information of a user detected by the wearable device;
determining whether the user is in a motion state according to the state information;
and if so, switching the contextual model of the mobile terminal into the disturbance-free mode according to the state information.
2. The method of claim 1, wherein determining whether the user is in motion based on the status information comprises:
determining whether the body of the user is in a continuous swing state according to the state information;
and if so, determining that the user is in the motion state.
3. The method of claim 2, wherein the status information comprises swing information of at least one body part of the user, and wherein determining whether the body of the user is in a continuous state of swing based on the status information comprises:
determining whether the body of the user reaches the swing times of a first preset threshold value in unit time according to the swing information of at least one body part of the user;
and if so, determining that the body of the user is in a continuous swing state.
4. The method of claim 1, wherein the status information comprises a real-time heart rate of the user, and wherein determining whether the user is in motion based on the status information comprises:
and if the real-time heart rate of the user is greater than or equal to a second preset threshold value, determining that the user is in a motion state.
5. The method of claim 1, wherein the status information includes an amount of change in skin surface sweat of the user, and wherein determining from the status information whether the user is in motion comprises:
and if the variation of sweat on the skin surface of the user is larger than or equal to a third preset threshold, determining that the user is in a motion state.
6. The method according to any one of claims 1 to 5, wherein the switching the contextual model of the mobile terminal to the do-not-disturb mode according to the status information comprises:
and switching the contextual model of the mobile terminal into a meditation mode or a do-not-disturb mode according to the state information.
7. The method according to any one of claims 2 to 5, wherein the state information further includes a gesture action, and after determining that the user is in a motion state, the switching the contextual mode of the mobile terminal to the do-not-disturb mode according to the state information further includes:
receiving the gesture motion detected by the wearable device;
and switching the contextual model of the mobile terminal into a meditation mode or a do-not-disturb mode according to the gesture actions.
8. The method of claim 1, further comprising:
receiving a setting instruction of a working mode of the contextual model;
if the setting instruction accords with a first preset instruction, determining that the working mode of the contextual model is an autonomous mode;
if the setting instruction accords with a second preset instruction, determining that the working mode of the contextual model is an automatic mode, and receiving the state information of the user, which is detected by the wearable device, when the working mode of the contextual model is the automatic mode.
9. A mobile terminal, characterized in that the mobile terminal comprises:
the communication module is used for being in communication connection with the wearable device;
at least one processor; and the number of the first and second groups,
a memory communicatively coupled to the at least one processor; wherein the content of the first and second substances,
the memory stores instructions executable by the at least one processor to enable the at least one processor to perform the method of scene mode switching according to any one of claims 1 to 8.
10. A non-transitory computer-readable storage medium storing computer-executable instructions for causing a mobile terminal to perform the contextual model switching method of any one of claims 1-8.
CN202110193517.7A 2021-02-20 2021-02-20 Contextual model switching method, mobile terminal and wearable device Pending CN114979358A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110193517.7A CN114979358A (en) 2021-02-20 2021-02-20 Contextual model switching method, mobile terminal and wearable device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110193517.7A CN114979358A (en) 2021-02-20 2021-02-20 Contextual model switching method, mobile terminal and wearable device

Publications (1)

Publication Number Publication Date
CN114979358A true CN114979358A (en) 2022-08-30

Family

ID=82954036

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110193517.7A Pending CN114979358A (en) 2021-02-20 2021-02-20 Contextual model switching method, mobile terminal and wearable device

Country Status (1)

Country Link
CN (1) CN114979358A (en)

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105141769A (en) * 2015-09-02 2015-12-09 小米科技有限责任公司 Communication message processing method and device as well as terminal
CN105204632A (en) * 2015-09-14 2015-12-30 惠州Tcl移动通信有限公司 Method for controlling intelligent mobile terminal to enter silent mode and wearable device
CN106445073A (en) * 2016-09-28 2017-02-22 惠州Tcl移动通信有限公司 Method and system for automatic scene mode switching of mobile terminal
CN108043009A (en) * 2017-12-25 2018-05-18 珠海乐泰科技有限公司 A kind of basketball movement component for including smart motion wrist guard and its application method
CN108293080A (en) * 2015-11-26 2018-07-17 华为技术有限公司 A kind of method of contextual model switching
CN109545326A (en) * 2019-01-28 2019-03-29 吉林师范大学 Sports equipment based on motion monitoring analysis
CN109528209A (en) * 2018-11-14 2019-03-29 广东小天才科技有限公司 Motion state based reminding method, device, equipment and the storage medium of wearable device
CN209625427U (en) * 2019-03-11 2019-11-12 汕头大学 A kind of wearable controller

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105141769A (en) * 2015-09-02 2015-12-09 小米科技有限责任公司 Communication message processing method and device as well as terminal
CN105204632A (en) * 2015-09-14 2015-12-30 惠州Tcl移动通信有限公司 Method for controlling intelligent mobile terminal to enter silent mode and wearable device
CN108293080A (en) * 2015-11-26 2018-07-17 华为技术有限公司 A kind of method of contextual model switching
CN106445073A (en) * 2016-09-28 2017-02-22 惠州Tcl移动通信有限公司 Method and system for automatic scene mode switching of mobile terminal
CN108043009A (en) * 2017-12-25 2018-05-18 珠海乐泰科技有限公司 A kind of basketball movement component for including smart motion wrist guard and its application method
CN109528209A (en) * 2018-11-14 2019-03-29 广东小天才科技有限公司 Motion state based reminding method, device, equipment and the storage medium of wearable device
CN109545326A (en) * 2019-01-28 2019-03-29 吉林师范大学 Sports equipment based on motion monitoring analysis
CN209625427U (en) * 2019-03-11 2019-11-12 汕头大学 A kind of wearable controller

Similar Documents

Publication Publication Date Title
CN109391792B (en) Video communication method, device, terminal and computer readable storage medium
CN107277266B (en) Mode switching method and device
CN105549858B (en) A kind of display methods and user terminal
US11234089B2 (en) Microphone hole blockage detection method, microphone hole blockage detection device, and wireless earphone
CN104937520A (en) Method and apparatus for automatically adjusting the operation of notifications based on changes in physical activity level
CN105511609A (en) Information processing method and electronic equipment
CN109150220A (en) Wearable device and its adjusting method of elasticity, computer storage medium
CN111338838A (en) Method for controlling frequency of central processing unit and related device
CN106105170B (en) Apparatus and method for facilitating wireless communication based on implicit user cues
CN109256151B (en) Call voice regulation and control method and device, mobile terminal and readable storage medium
CN109413526A (en) Headset control method, device, electronic equipment and storage medium
CN107951466A (en) A kind of quarter-bell control method, apparatus and system
CN105516234A (en) Wearable intelligent equipment heartbeat control device and method
CN108733193A (en) Method, apparatus, storage medium and the intelligent terminal of adjustment frame per second
CN105446578B (en) A kind of information processing method, the first electronic equipment and wearable electronic equipment
CN104601780A (en) Method for controlling call recording
CN104811549B (en) The method and mobile terminal of a kind of calling
CN105704287A (en) Method and device for reminding voice call transfer and wearable device
CN114979358A (en) Contextual model switching method, mobile terminal and wearable device
WO2018121337A1 (en) Method and apparatus for reminder message
CN108304123A (en) Page display control method and related product
CN109905851A (en) A kind of reminding method and terminal device
CN115040116A (en) Method and device for monitoring activity of wearable equipment
CN109819110B (en) Motion control method and related device
CN108600071A (en) A kind of sharing method and mobile terminal of virtual portrait

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