[go: up one dir, main page]

CN108055694B - Communication control method of wearable device and wearable device - Google Patents

Communication control method of wearable device and wearable device Download PDF

Info

Publication number
CN108055694B
CN108055694B CN201711366461.0A CN201711366461A CN108055694B CN 108055694 B CN108055694 B CN 108055694B CN 201711366461 A CN201711366461 A CN 201711366461A CN 108055694 B CN108055694 B CN 108055694B
Authority
CN
China
Prior art keywords
wearable device
communication function
wearable
unit
information
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
Application number
CN201711366461.0A
Other languages
Chinese (zh)
Other versions
CN108055694A (en
Inventor
杨婷婷
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Guangdong Genius Technology Co Ltd
Original Assignee
Guangdong Genius Technology 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 Guangdong Genius Technology Co Ltd filed Critical Guangdong Genius Technology Co Ltd
Priority to CN201711366461.0A priority Critical patent/CN108055694B/en
Publication of CN108055694A publication Critical patent/CN108055694A/en
Application granted granted Critical
Publication of CN108055694B publication Critical patent/CN108055694B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W52/00Power management, e.g. Transmission Power Control [TPC] or power classes
    • H04W52/02Power saving arrangements
    • H04W52/0209Power saving arrangements in terminal devices
    • H04W52/0251Power saving arrangements in terminal devices using monitoring of local events, e.g. events related to user activity
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W52/00Power management, e.g. Transmission Power Control [TPC] or power classes
    • H04W52/02Power saving arrangements
    • H04W52/0209Power saving arrangements in terminal devices
    • H04W52/0261Power saving arrangements in terminal devices managing power supply demand, e.g. depending on battery level
    • H04W52/0274Power saving arrangements in terminal devices managing power supply demand, e.g. depending on battery level by switching on or off the equipment or parts thereof
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/02Services making use of location information
    • H04W4/025Services making use of location information using location based information parameters
    • 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

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Telephone Function (AREA)
  • Telephonic Communication Services (AREA)

Abstract

一种可穿戴设备的通信控制方法及可穿戴设备,包括:当可穿戴设备处于水环境时,利用运动传感器检测可穿戴设备的使用者的姿势是否为游泳姿势,如果是,提示预先与可穿戴设备建立连接的终端设备可穿戴设备的当前位置以及可穿戴设备将要关闭通信功能,并关闭可穿戴设备的通信功能。实施本发明实施例,能够当可穿戴设备的使用者游泳时,关闭可穿戴设备的通信功能,从而减小可穿戴设备的功耗。

Figure 201711366461

A communication control method for a wearable device and the wearable device, comprising: when the wearable device is in a water environment, using a motion sensor to detect whether the posture of the user of the wearable device is a swimming posture, if so, prompting a terminal device that has established a connection with the wearable device in advance of the current position of the wearable device and that the wearable device is about to turn off the communication function, and turning off the communication function of the wearable device. By implementing the embodiment of the present invention, the communication function of the wearable device can be turned off when the user of the wearable device is swimming, thereby reducing the power consumption of the wearable device.

Figure 201711366461

Description

Communication control method of wearable device and wearable device
Technical Field
The invention relates to the technical field of wearable equipment, in particular to a communication control method of wearable equipment and the wearable equipment.
Background
At present, most wearable devices on the market have waterproof functions, so people often wear the wearable devices when swimming. However, signals of the wearable device under water are weak, and the wearable device can continuously search for signals in the weak signal environment, so that the power consumption of the wearable device is high.
Disclosure of Invention
The embodiment of the invention discloses a communication control method of wearable equipment and the wearable equipment, which can reduce the power consumption of the wearable equipment.
The first aspect of the embodiments of the present invention discloses a communication control method for a wearable device, including:
detecting whether the wearable device is in a water environment;
when the wearable device is detected to be in the water environment, detecting whether the posture of a user of the wearable device is a swimming posture by using a motion sensor;
if so, sending first prompt information to terminal equipment which is connected with the wearable equipment in advance, and closing the communication function of the wearable equipment;
wherein the first prompt message is used to prompt a user of the wearable device to swim at a current location where the wearable device is located and that the wearable device is to turn off the communication function.
As an optional implementation manner, in the first aspect of the embodiment of the present invention, the detecting whether the wearable device is in an aqueous environment includes:
detecting whether water detection contacts on the wearable equipment are in a conducting state or not;
if so, determining that the wearable device is in the water environment;
after the closing of the communication function of the wearable device, the method further comprises:
detecting whether the water detection contacts are changed from the conduction state to the non-conduction state or not;
if so, determining that the wearable equipment is in a water outlet state, and judging whether the wearable equipment keeps the water outlet state within a preset time period, wherein the water outlet state is used for indicating that the wearable equipment leaves the water environment;
when the wearable device is judged to keep the water outlet state within the preset time period, starting a communication function of the wearable device, and sending second prompt information to the terminal device;
the starting time of the preset time period is the time when the conduction state between the water detection contacts is changed into the non-conduction state, and the second prompt message is used for prompting that the user of the wearable device finishes swimming and the wearable device recovers the communication function.
As an optional implementation manner, in the first aspect of the embodiment of the present invention, after detecting that the gesture of the user of the wearable device is not the swimming gesture by using the motion sensor, the method further includes:
recording the duration of the wearable device in the water environment, and judging whether the duration is longer than a specified duration;
if yes, detecting the position of the wearable equipment by using a positioning device;
when the position is detected to be a preset hot spring position, sending third prompt information to the terminal equipment, and closing the communication function of the wearable equipment; wherein the third prompting message is used for prompting a user of the wearable device to bubble hot springs at a current location where the wearable device is located and the wearable device is to turn off the communication function;
when the position is detected to be a preset sea position, sending fourth prompt information to the terminal equipment, closing the communication function of the wearable equipment, and judging whether the wearable equipment is connected with the diving device or not;
when the wearable device is judged to be connected with the diving device, displaying the residual oxygen content contained in the diving device and the usable time length of the residual oxygen on a display screen of the wearable device;
wherein the fourth prompting message is used for prompting a user of the wearable device to dive at a current location where the wearable device is located and the wearable device is to turn off the communication function.
As an optional implementation manner, in the first aspect of the embodiment of the present invention, after the sending the first prompt message to the terminal device that previously establishes a connection with the wearable device, and before the closing the communication function of the wearable device, the method further includes:
detecting whether a response returned by the terminal equipment according to the first prompt message is received, and if so, executing the communication function of closing the wearable equipment;
when detecting that the response returned by the terminal equipment according to the first prompt message is not received, the method further comprises the following steps:
setting a communication function of the wearable device to prohibit sending information but allow receiving information;
when target information sent by other terminal equipment is received or an instruction for sending the information is detected to be sent by a user of the wearable equipment, the communication function of the wearable equipment is set to allow the information to be sent and the information to be received, and the target information is information which needs to be replied by the user of the wearable equipment in time.
As an optional implementation manner, in the first aspect of this embodiment of the present invention, after the turning off the communication function of the wearable device, the method further includes:
recording the closing duration of the communication function of the wearable device;
judging whether the closing time length reaches a preset time length, if so, starting a communication function of the wearable device, and detecting whether communication information sent by other terminal devices is received;
when detecting that the communication information sent by the other terminal equipment is received, sending fifth prompt information, wherein the fifth prompt information is used for prompting a user of the wearable equipment to receive the communication information sent by the other terminal equipment;
and when detecting that the communication information sent by the other terminal equipment is not received, closing the communication function of the wearable equipment.
A second aspect of an embodiment of the present invention discloses a wearable device, including:
the first detection unit is used for detecting whether the wearable equipment is in a water environment or not;
a second detection unit, configured to detect whether a gesture of a user of the wearable device is a swimming gesture using a motion sensor when the first detection unit detects that the wearable device is in the water environment;
a sending unit, configured to send, when the second detection unit detects that the gesture of the user of the wearable device is a swimming gesture, first prompt information to a terminal device that has previously established a connection with the wearable device, where the first prompt information is used to prompt the user of the wearable device to swim at a current location where the wearable device is located and that the wearable device is to close the communication function;
the first closing unit is used for closing the communication function of the wearable device after the sending unit sends the first prompt message to the terminal device which is connected with the wearable device in advance.
As an optional implementation manner, in a second aspect of the embodiment of the present invention, the first detection unit includes:
the detection subunit is used for detecting whether the water detection contacts on the wearable equipment are in a conducting state or not;
the determining subunit is used for determining that the wearable device is in the water environment when the detecting subunit detects that the water detection contacts are in the conducting state;
the second detection unit is further used for detecting whether the water detection contacts are changed from the conduction state to the non-conduction state after the first closing unit closes the communication function of the wearable device;
the wearable device, further comprising:
the determining unit is used for determining that the wearable device is in a water outlet state when the second detecting unit detects that the conduction state between the water detection contacts is changed into the non-conduction state, wherein the water outlet state is used for indicating that the wearable device leaves the water environment;
the first judging unit is used for judging whether the wearable device keeps the water outlet state within a preset time period or not when the second detecting unit detects that the water detection contact is changed from the conduction state to the non-conduction state;
the first starting unit is used for starting a communication function of the wearable device when the first judging unit judges that the wearable device keeps the water outlet state in the preset time period, and the starting time of the preset time period is the time when the conduction state between the water detection contacts is changed into the non-conduction state;
the sending unit is further configured to send second prompt information to the terminal device after the first starting unit starts the communication function of the wearable device, where the second prompt information is used to prompt that the user of the wearable device finishes swimming and the wearable device recovers the communication function.
As an optional implementation manner, in the second aspect of the embodiment of the present invention, the method further includes:
a first recording unit for recording the time length of the wearable device in the water environment after the second detection unit detects that the posture of the user of the wearable device is not the swimming posture by using the motion sensor;
the first judging unit is further configured to judge whether the duration recorded by the first recording unit is greater than a specified duration;
the second detection unit is further configured to detect the position of the wearable device by using a positioning device when the first determination unit determines that the duration is longer than the specified duration;
the sending unit is further configured to send third prompt information to the terminal device when the second detection unit detects that the position is a preset hot spring position, and send fourth prompt information to the terminal device when the second detection unit detects that the position is a preset ocean position; wherein the third prompting message is used for prompting the user of the wearable device to bubble hot springs at the current position where the wearable device is located and the wearable device is to close the communication function, and the fourth prompting message is used for prompting the user of the wearable device to dive at the current position where the wearable device is located and the wearable device is to close the communication function;
a second closing unit, configured to close a communication function of the wearable device after the sending unit sends the third prompt information or the fourth prompt information to the terminal device;
the first judging unit is further configured to judge whether the wearable device is connected with the diving apparatus or not when the second detecting unit detects that the position is a preset ocean position;
and the display unit is used for displaying the residual oxygen content and the usable duration of the residual oxygen on the display screen of the wearable device when the first judgment unit judges that the wearable device is connected with the diving device.
As an alternative implementation, in the second aspect of the embodiment of the present invention,
the second detection unit is further configured to detect whether a response returned by the terminal device according to the first prompt information is received after the sending unit sends the first prompt information to the terminal device that is connected with the wearable device in advance;
the first closing unit is specifically configured to close a communication function of the wearable device when the second detection unit detects that a response returned by the terminal device according to the first prompt information is received;
the wearable device, further comprising:
the setting unit is used for setting the communication function of the wearable device to be forbidden to send information but allowed to receive information when the second detection unit detects that the response returned by the terminal device according to the first prompt message is not received;
the setting unit is further configured to set a communication function of the wearable device to allow sending and receiving of information when target information sent by other terminal devices is received or an instruction for sending the information is detected to be sent by a user of the wearable device, where the target information is information that the user of the wearable device needs to reply in time.
As an optional implementation manner, in the second aspect of the embodiment of the present invention, the method further includes:
a second recording unit, configured to record a closing duration for closing the communication function of the wearable device after the first closing unit or the second closing unit closes the communication function of the wearable device;
a second judging unit, configured to judge whether the closing duration recorded by the second recording unit reaches a preset duration;
the second starting unit is used for starting the communication function of the wearable device when the second judging unit judges that the closing duration reaches the preset duration;
the second detection unit is further configured to detect whether communication information sent by other terminal devices is received after the second starting unit starts the communication function of the wearable device;
the sending unit is further configured to send fifth prompt information when the second detecting unit detects that the communication information sent by the other terminal device is received, where the fifth prompt information is used for prompting a user of the wearable device to receive the communication information sent by the other terminal device;
and the third closing unit is used for closing the communication function of the wearable device when the second detection unit detects that the communication information sent by the other terminal device is not received.
A third aspect of an embodiment of the present invention discloses a wearable device, including:
a memory storing executable program code;
a processor coupled with the memory;
the processor calls the executable program code stored in the memory to execute the communication control method of the wearable device disclosed by the first aspect of the embodiment of the invention.
A fourth aspect of the embodiments of the present invention discloses a computer-readable storage medium storing a computer program, where the computer program causes a computer to execute the communication control method for a wearable device disclosed in the first aspect of the embodiments of the present invention.
A fifth aspect of the embodiments of the present invention discloses a computer program product, which, when running on a computer, causes the computer to execute some or all of the steps of the communication control method for a wearable device disclosed in the first aspect of the embodiments of the present invention.
A sixth aspect of the present embodiment discloses an application publishing platform, where the application publishing platform is configured to publish a computer program product, where when the computer program product runs on a computer, the computer is enabled to execute some or all of the steps of the communication control method for a wearable device disclosed in the first aspect of the present embodiment.
Compared with the prior art, the embodiment of the invention has the following beneficial effects:
in the embodiment of the invention, when the wearable device is in a water environment, the motion sensor is used for detecting whether the gesture of a user of the wearable device is a swimming gesture, if so, the current position of the wearable device of the terminal device which is connected with the wearable device in advance and the communication function of the wearable device to be closed are prompted, and the communication function of the wearable device is closed.
For example, when the user of the wearable device is a child, and the user of the terminal device that is connected with the wearable device in advance is a parent, and when the child wears the wearable device for swimming, the wearable device sends prompt information to the terminal device used by the parent, so that the parent can know the reason and the scene for closing the communication function, unnecessary worry is avoided, and meanwhile, the purpose of reducing the power consumption of the wearable device is achieved.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings needed to be used in the embodiments will be briefly described below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art that other drawings can be obtained according to these drawings without creative efforts.
Fig. 1 is a schematic flowchart of a communication control method of a wearable device according to an embodiment of the present invention;
fig. 2 is a schematic flow chart of a communication control method of another wearable device disclosed in the embodiment of the invention;
fig. 3 is a flowchart illustrating a communication control method of another wearable device according to an embodiment of the disclosure;
fig. 4 is a schematic structural diagram of a wearable device disclosed in the embodiment of the invention;
FIG. 5 is a schematic structural diagram of another wearable device disclosed in the embodiments of the present invention;
FIG. 6 is a schematic structural diagram of another wearable device disclosed in the embodiments of the present invention;
fig. 7 is a schematic structural diagram of another wearable device disclosed in the embodiment of the invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. 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 is to be noted that the terms "comprises" and "comprising" and any variations thereof in the embodiments and drawings of the present invention are intended to cover non-exclusive inclusions. For example, a process, method, system, article, or apparatus that comprises a list of steps or elements is not limited to only those steps or elements listed, but may alternatively include other steps or elements not listed, or inherent to such process, method, article, or apparatus.
The embodiment of the invention discloses a communication control method of wearable equipment, which can reduce the power consumption of the wearable equipment. The following are detailed below.
Example one
Referring to fig. 1, fig. 1 is a schematic flowchart illustrating a communication control method of a wearable device according to an embodiment of the present invention. As shown in fig. 1, the communication control method of the wearable device may include the steps of:
101. the wearable device detects whether the wearable device is in a water environment, if so, step 102 is executed, and if not, the process is ended.
As an alternative embodiment, when the wearable device detects that the wearable device is not in the water environment, the following steps may be further performed:
the wearable device detects whether a signal of the wearable device is in a weak signal state or an unstable signal state;
when detecting that the signal of the wearable device is in a weak signal state or an unstable signal state, step 103 is executed, and when detecting that the signal of the wearable device is not in the weak signal state or the unstable signal state, the process is ended.
By implementing the alternative implementation mode, as long as the signal of the wearable device is too weak or unstable, the first prompt message can be sent to the terminal device which is connected with the wearable device in advance, and the communication function of the wearable device can be turned off. The process expands the condition range of communication control of the wearable device, and can control communication of the wearable device under various different scenes, so that power consumption is better saved.
102. The wearable device detects whether the gesture of the user of the wearable device is a swimming gesture by using the motion sensor, if so, step 103 is executed, and if not, the process is ended.
As an alternative embodiment, the wearable device detecting whether the gesture of the user of the wearable device is the swimming gesture using the motion sensor may include:
the wearable device acquires arm motion information of a user of the wearable device by using the motion sensor; the arm movement information at least comprises an arm swinging direction, an arm swinging frequency and an arm swinging force;
the wearable device matches the acquired arm movement information with pre-stored arm movement information during swimming to obtain a matching degree;
when the matching degree is larger than the preset matching degree, the wearable device determines that the posture of the user of the wearable device is a swimming posture.
As another alternative, after the wearable device detects the gesture of the user of the wearable device as a swimming gesture using the motion sensor, the following steps may be further performed:
the method comprises the steps that the wearable device obtains swimming posture information of a user of the wearable device, wherein the swimming posture information at least comprises arm movement information of the user of the wearable device;
the wearable equipment matches the swimming posture information with pre-stored standard swimming posture information to obtain a matching degree, and outputs the matching degree;
and if the matching degree is lower than the preset minimum matching degree, the wearable device outputs a standard swimming teaching video on a display screen of the wearable device, so that a user of the wearable device swims according to the swimming posture taught in the standard swimming teaching video.
By implementing the optional implementation mode, the wearable device can acquire arm motion information of a user of the wearable device through the motion sensor, and judge whether the posture of the user of the wearable device is a swimming posture or not according to the arm motion information, the accuracy rate of judging the swimming posture is improved, in addition, the judgment process can judge the difference between the nonstandard swimming posture and the non-swimming posture by utilizing the accurate motion sensor, when the posture of the user of the wearable device is judged to be the nonstandard swimming posture, a standard swimming teaching video can be output for the reference of the user, the functions of the wearable device are enriched, and the user can obtain better swimming experience.
103. The wearable device sends first prompt information to a terminal device which is connected with the wearable device in advance, and the communication function of the wearable device is closed.
In the embodiment of the invention, the first prompt message is used for prompting the user of the wearable device to swim at the current position where the wearable device is located and the wearable device is to close the communication function. Optionally, the first prompt message may be "the child currently swims in location a, temporarily closes the communication, and notifies you after swimming, which is not limited in the embodiment of the present invention.
For example, when the user of the wearable device is a child and the user of the terminal device, which has previously established a connection with the wearable device, is a parent, when the wearable device detects that the wearable device is in a water environment, it is further detected whether the gesture of the user (child) of the wearable device is a swimming gesture, if the child is in the swimming gesture in the water environment, it is determined that the child is swimming, at this time, first prompt information is sent to the terminal device used by the parent to prompt the parent and the child to swim somewhere, and the wearable device used by the child is to turn off the communication function, so that the parent can timely know where the child is and the wearable device of the child is to turn off the communication function, thereby avoiding unnecessary worry that the parent cannot timely contact the child because the wearable device of the child turns off the communication function, and at the same time, the communication function of the wearable device is closed, and the power consumption of the wearable device can be reduced.
It can be seen that, with the communication control method of the wearable device described in fig. 1, when the wearable device is in a water environment, the motion sensor is used to detect whether the gesture of the user of the wearable device is a swimming gesture, and if so, the wearable device prompts the current location of the terminal device that has previously established a connection with the wearable device and that the wearable device is to turn off the communication function, and turns off the communication function of the wearable device. The process achieves the purpose of reducing the power consumption of the wearable device by closing the communication function of the wearable device underwater.
Example two
Referring to fig. 2, fig. 2 is a schematic flowchart illustrating another communication control method of a wearable device according to an embodiment of the present invention. As shown in fig. 2, the communication control method of the wearable device may include the steps of:
201. the wearable device detects whether the wearable device is in a water environment, if so, step 202 is executed, and if not, the process is ended.
As an alternative embodiment, the wearable device detecting whether the wearable device is in the water environment may include:
the wearable equipment detects whether water detection contacts on the wearable equipment are in a conducting state or not;
if so, it is determined that the wearable device is in a water environment.
By implementing the implementation mode, whether the wearable device is in the water environment can be judged more accurately by utilizing the conduction condition of the water detection contact on the wearable device, so that the reliability of closing the communication function of the wearable device is improved.
202. The wearable device detects whether the gesture of the user of the wearable device is a swimming gesture by using the motion sensor, if so, step 203 is executed, and if not, step 207 is executed.
203. The wearable device sends first prompt information to a terminal device which is connected with the wearable device in advance, and the communication function of the wearable device is closed.
Optionally, after step 203 is executed, the following steps may also be executed:
204. the wearable device detects whether the water detection contacts are changed from a conduction state to a non-conduction state, if so, the wearable device is determined to be in a water outlet state, step 205 is executed, and if not, the process is ended.
In the embodiment of the invention, the water outlet state is used for indicating that the wearable device leaves the water environment.
In the embodiment of the invention, when the water detection contacts on the wearable device are in a conduction state, the wearable device is in a water environment, and when the water detection contacts on the wearable device are in a non-conduction state, the wearable device is not in the water environment. When the wearable device detects that the water outlet detection contacts are changed from a conduction state to a non-conduction state, determining that the wearable device leaves from the water environment, determining that the wearable device is in the water outlet state, and executing step 205; and when the wearable equipment detects that the water outlet detection contact is not changed into a non-conduction state from a conduction state, determining that the wearable equipment is still in the water environment, and ending the process.
205. The wearable device judges whether the wearable device keeps a water outlet state within a preset time period, if so, step 206 is executed, and if not, the process is ended.
In the embodiment of the invention, the starting time of the preset time period is the time when the conduction state between the water detection contacts is changed into the non-conduction state. Wherein the preset time period may be a preset time period, such as ten minutes, and when the preset time period is ten minutes, the step 206 is executed when the wearable device leaves the water environment for ten minutes.
206. The wearable device starts the communication function of the wearable device and sends second prompt information to the terminal device.
In the embodiment of the invention, the second prompt message is used for prompting that the user of the wearable device finishes swimming and the wearable device recovers the communication function. This process is in time resumeed communication function when the user of wearable equipment swims and finishes, ensures that wearable equipment can normal use communication function to, make the terminal equipment user can in time learn the state that swims finish and the communication function resumes the condition, avoided unnecessary worry.
207. And the wearable equipment records the duration of the wearable equipment in the water environment, judges whether the duration is longer than a specified duration, if so, executes the step 208, and if not, ends the process.
In the embodiment of the invention, when the wearable device is detected to be in the water environment and the posture of the user of the wearable device is not the swimming posture, the duration of the wearable device in the water environment is recorded, if the duration of the wearable device in the water environment is less than or equal to the designated duration, the wearable device is not in the underwater operation state, and if the user of the wearable device only wears the wearable device to wash hands, the wearable device detects water splashed by a faucet, and at the moment, the process is ended. If the duration of the wearable device in the water environment is longer than the specified duration, the wearable device is considered to be in the underwater operation state, for example, the user of the wearable device wears the wearable device to bubble hot springs or wears the wearable device to dive, at this time, step 208 is executed.
208. The wearable device detects the position of the wearable device by using the positioning device, and if the position is detected to be a preset hot spring position, step 209 is executed, and if the position is detected to be a preset ocean position, steps 210 to 211 are executed.
In the embodiment of the invention, the wearable device stores an offline map in advance in the wearable device, wherein the offline map can be freely downloaded by a user of the wearable device, and the offline map at least comprises a preset hot spring position or a preset ocean position. When the wearable device detects that the position of the wearable device is the preset hot spring position by using the positioning device, step 209 is executed, and when the position of the wearable device is detected to be the preset ocean position, steps 210 to 211 are executed.
209. And the wearable device sends third prompt information to the terminal device and closes the communication function of the wearable device.
In this embodiment of the present invention, the third prompting message is used to prompt the user of the wearable device to bubble hot springs at the current location where the wearable device is located and that the wearable device is to turn off the communication function.
210. And the wearable device sends fourth prompt information to the terminal device and closes the communication function of the wearable device.
In this embodiment of the present invention, the fourth prompting message is used to prompt the user of the wearable device to dive at the current location where the wearable device is located and that the wearable device is to turn off the communication function.
211. The wearable device judges whether the wearable device is connected with the diving device, if yes, step 212 is executed, and if not, the process is ended.
In the embodiment of the present invention, the wearable device and the diving apparatus may be connected through a preset connection line on the diving apparatus, when the wearable device and the diving apparatus are connected, step 212 is executed, and when the wearable device and the diving apparatus are not connected, the process is ended.
212. The wearable device displays the remaining oxygen content included by the diving equipment and the length of time that the remaining oxygen is available on the display screen of the wearable device.
By implementing steps 207 to 212, after it is detected that the gesture of the user of the wearable device is not the swimming gesture, if the duration of the wearable device in the water environment is longer than the specified duration, the location device is used to detect the location of the wearable device, if the location of the wearable device is the preset spa location, the location device can also send prompt information to the terminal device to prompt the user of the wearable device to bubble the spa and the wearable device to close the communication function, and if the location of the wearable device is the preset sea location, the location device can also send prompt information to the terminal device to prompt the user of the wearable device to dive and the wearable device to close the communication function. And when the position that wearable equipment is located is preset ocean position, can also detect whether wearable equipment establishes connection with the dive device, if establish, can show remaining oxygen content and the length of time that remaining oxygen is usable that the dive device includes on wearable equipment's display screen. This process not only can carry out communication function's control when the user of wearable equipment swims, can also show remaining oxygen content and the usable length of time of oxygen on wearable equipment's screen when wearable equipment is in predetermineeing the ocean position and establishes being connected with diving equipment, has increased wearable equipment's function, can make the user obtain the oxygen information that diving equipment includes directly perceivedly, promotes user's dive and experiences.
Therefore, the communication control method of the wearable device described in fig. 2 is implemented, and the purpose of reducing the power consumption of the wearable device is achieved.
In addition, with the communication control method of the wearable device described in fig. 2, after the wearable device leaves the water environment for a period of time, the communication function of the wearable device is automatically turned on, and second prompt information is sent to the terminal device that establishes a connection with the wearable device to prompt the terminal device that the wearable device has finished swimming and the communication function has been turned on. This process is in time resumeed communication function when the user of wearable equipment swims and finishes, ensures that wearable equipment can normal use communication function to, make the terminal equipment user can in time learn the state that swims finish and the communication function resumes the condition, avoided unnecessary worry.
In addition, by implementing the communication control method of the wearable device described in fig. 2, the communication function can be controlled when the user of the wearable device swims, and the residual oxygen content and the usable duration of oxygen can be displayed on the screen of the wearable device when the wearable device is in the preset sea position and is connected with the diving device, so that the functions of the wearable device are increased, the user can intuitively acquire the oxygen information included in the diving device, and the diving experience of the user is improved.
EXAMPLE III
Referring to fig. 3, fig. 3 is a schematic flowchart illustrating another communication control method of a wearable device according to an embodiment of the present invention. As shown in fig. 3, the communication control method of the wearable device may include the steps of:
301. the wearable device detects whether the wearable device is in a water environment, if so, step 302 is executed, and if not, the process is ended.
302. The wearable device detects whether the gesture of the user of the wearable device is a swimming gesture by using the motion sensor, if so, the steps 303 to 304 are executed, and if not, the step 309 is executed.
303. The wearable device sends first prompt information to a terminal device which is connected with the wearable device in advance.
In the embodiment of the invention, the first prompt message is used for prompting the user of the wearable device to swim at the current position where the wearable device is located and the wearable device is to close the communication function.
304. The wearable device detects whether a response returned by the terminal device according to the first prompt message is received, if so, step 305 is executed, and if not, step 306 to step 307 are executed.
In the embodiment of the present invention, when the wearable device receives the response returned by the terminal device according to the first prompt message, it indicates that the user of the terminal device has seen the first prompt message, that is, the user of the terminal device (e.g., a parent of the user of the wearable device) has already known that the user of the wearable device is swimming and is about to turn off the communication function, at this time, step 305 is executed; when the wearable device does not receive the response returned by the terminal device according to the first prompt message, it indicates that the user of the terminal device may not see the first prompt message, and at this time, steps 306 to 307 are executed.
305. The wearable device turns off the communication function of the wearable device.
306. The wearable device sets the communication function of the wearable device to prohibit sending information but allow receiving information.
307. When target information sent by other terminal equipment is received or an instruction for sending information is sent by a user of the wearable equipment is detected, the wearable equipment sets the communication function of the wearable equipment to allow the information to be sent and the information to be received.
In the embodiment of the invention, the target information is information which needs to be replied by the user of the wearable device in time. Optionally, the wearable device may analyze a keyword included in the target information sent by the other terminal device, and determine whether the keyword includes a content that needs to be replied by the user of the wearable device in time, where the content that needs to be replied by the user of the wearable device in time may be "quick return", "power return", and the like, and the embodiment of the present invention is not limited. When the response returned by the terminal equipment is not received, the communication function of the wearable equipment can be set to prohibit sending the information and allow receiving the information, so that the information can be received, and the power consumption can be reduced by prohibiting sending the information; and when receiving information which is urgently required to be replied or receiving an instruction of sending the information sent by a user of the wearable device, the wearable device can be set to allow the user of the wearable device to allow the information to be sent at the moment when the information is required to be sent.
Optionally, after step 305 is executed, step 308 to step 316 may also be executed, wherein for the detailed description of step 308 to step 316, please refer to the detailed description of step 204 to step 212 in embodiment two, which is not described again in this embodiment of the present invention.
Optionally, after the step 305 is executed, the following steps may also be executed:
317. the wearable device records the closing time length of the communication function of the wearable device, judges whether the closing time length reaches the preset time length, if so, executes step 318, and if not, ends the process.
318. The wearable device starts the communication function of the wearable device, and detects whether the communication information sent by other terminal devices is received, if yes, step 319 is executed, and if not, step 305 is executed.
In the embodiment of the invention, after the wearable device closes the communication function, the communication function can be automatically opened to receive information when the preset time is reached, if the information is received, the user is reminded of receiving the information, and if the information is not received, the communication function is continuously closed. This procedure reduces the possibility of missing important information by turning on the communication function at intervals to receive information, thereby increasing the reliability of communication control.
319. And the wearable device sends fifth prompt information.
In the embodiment of the present invention, the fifth prompting message is used to prompt a user of the wearable device to receive communication information sent by other terminal devices.
Therefore, the communication control method of the wearable device described in fig. 3 is implemented, and the purpose of reducing the power consumption of the wearable device is achieved.
In addition, by implementing the communication control method of the wearable device described in fig. 3, the communication function is recovered in time when the user of the wearable device finishes swimming, so that the wearable device can be ensured to use the communication function normally, and the user of the terminal device can know the swimming finishing state and the recovery condition of the communication function in time, thereby avoiding unnecessary worry.
In addition, by implementing the communication control method of the wearable device described in fig. 3, not only can the communication function be controlled when the user of the wearable device swims, but also the residual oxygen content and the usable duration of oxygen can be displayed on the screen of the wearable device when the wearable device is in the preset sea position and is connected with the diving device, so that the functions of the wearable device are increased, the user can intuitively acquire the oxygen information included in the diving device, and the diving experience of the user is improved.
In addition, implementing the communication control method of the wearable device described in fig. 3, when a response returned by the terminal device is not received, the communication function of the wearable device can be set to prohibit sending information but allow accepting information, so that not only can information be received, but also power consumption can be reduced by prohibiting sending information; and when receiving information which is urgently required to be replied or receiving an instruction of sending the information sent by a user of the wearable device, the wearable device can be set to allow the user of the wearable device to allow the information to be sent at the moment when the information is required to be sent.
In addition, with the communication control method of the wearable device described in fig. 3, after the wearable device closes the communication function, the communication function can be automatically turned on to receive information when a preset time period is reached, if the information is received, the user is reminded of receiving the information, and if the information is not received, the communication function continues to be closed. This procedure reduces the possibility of missing important information by turning on the communication function at intervals to receive information, thereby increasing the reliability of communication control.
Example four
Referring to fig. 4, fig. 4 is a schematic structural diagram of a wearable device according to an embodiment of the present invention. As shown in fig. 4, the wearable device 400 may include a first detection unit 401, a second detection unit 402, a transmission unit 403, and a first closing unit 404, wherein:
the first detection unit 401 is configured to detect whether the wearable device is in a water environment.
As an alternative embodiment, when the first detection unit 401 detects that the wearable device is not in the water environment, the first detection unit 401 is further configured to:
detecting whether a signal of the wearable device is in a weak signal state or an unstable signal state;
when detecting that the signal of the wearable device is in a weak signal state or an unstable signal state, triggering the start sending unit 403 to send first prompt information to the terminal device that is connected with the wearable device in advance, where the first prompt information is used to prompt a user of the wearable device to swim at a current location where the wearable device is located and the wearable device is to close a communication function.
By implementing the optional implementation mode, the condition range of communication control of the wearable device is expanded, and communication of the wearable device can be controlled under various different scenes, so that power consumption is better saved.
A second detection unit 402, configured to detect whether the gesture of the user of the wearable device is a swimming gesture using the motion sensor when the first detection unit 401 detects that the wearable device is in a water environment.
As an alternative embodiment, the second detecting unit 402 may detect whether the gesture of the user of the wearable device is a swimming gesture using a motion sensor, including:
the second detection unit 402 acquires arm motion information of the user of the wearable device by using the motion sensor; the arm movement information at least comprises an arm swinging direction, an arm swinging frequency and an arm swinging force;
the second detection unit 402 matches the acquired arm movement information with pre-stored arm movement information during swimming to obtain a matching degree;
when the matching degree is greater than the preset matching degree, the second detection unit 402 determines that the gesture of the user of the wearable device is a swimming gesture.
As another alternative, after the second detecting unit 402 detects the gesture of the user of the wearable device as the swimming gesture by using the motion sensor, the second detecting unit 402 is further configured to:
obtaining swimming posture information of a user of the wearable equipment, wherein the swimming posture information at least comprises arm movement information of the user of the wearable equipment;
matching the swimming posture information with pre-stored standard swimming posture information to obtain a matching degree, and outputting the matching degree;
and if the matching degree is lower than the preset minimum matching degree, outputting a standard swimming teaching video on a display screen of the wearable device so that a user of the wearable device swims according to the swimming posture taught in the standard swimming teaching video.
By implementing the optional implementation mode, the accuracy of judging the swimming posture is improved, the functions of the wearable device are enriched, and a user can obtain better swimming experience.
A sending unit 403, configured to send, when the second detecting unit 402 detects that the gesture of the user of the wearable device is a swimming gesture, first prompt information to a terminal device that has previously established a connection with the wearable device, where the first prompt information is used to prompt the user of the wearable device to swim at a current location where the wearable device is located and the wearable device is to close a communication function.
A first closing unit 404, configured to close a communication function of the wearable device after the sending unit 403 sends the first prompt information to the terminal device that has previously established a connection with the wearable device.
Specifically, after the sending unit 403 sends the first prompt information to the terminal device that has previously established a connection with the wearable device, the sending unit 403 may send a trigger instruction to the first closing unit 404 to trigger the first closing unit 404 to close the communication function of the wearable device.
Therefore, the wearable device described in fig. 4 is implemented, and the purpose of reducing the power consumption of the wearable device is achieved.
EXAMPLE five
Referring to fig. 5, fig. 5 is a schematic structural diagram of another wearable device disclosed in the embodiment of the present invention. Wherein the wearable device 400 shown in fig. 5 is optimized from the wearable device 400 shown in fig. 4, compared to the wearable device 400 shown in fig. 4, in the wearable device shown in fig. 5:
the first detection unit 401 includes:
and the detection sub-unit 4011 is used for detecting whether the water detection contacts on the wearable equipment are in a conducting state or not.
And the determining sub-unit 4012 is configured to determine that the wearable device is in a water environment when the detecting sub-unit 4011 detects that the water detecting contacts are in a conducting state.
The second detecting unit 402 is further configured to detect whether the water detection contacts are changed from a conducting state to a non-conducting state after the first closing unit 404 closes the communication function of the wearable device.
Specifically, after the first closing unit 404 closes the communication function of the wearable device, the first closing unit 404 sends a trigger instruction to the second detecting unit 402 to trigger the second detecting unit 402 to detect whether the water detection contact is changed from a conductive state to a non-conductive state.
The wearable device 400 shown in fig. 5 may further include:
the determining unit 405 is configured to determine that the wearable device is in a water outlet state when the second detecting unit 402 detects that the water outlet detection contacts are changed from a conduction state to a non-conduction state, where the water outlet state is used to indicate that the wearable device leaves the water environment.
The first determining unit 406 is configured to determine whether the wearable device maintains the water outlet state within a preset time period when the second detecting unit 402 detects that the water outlet detecting contacts are changed from the conducting state to the non-conducting state.
A first starting unit 407, configured to start a communication function of the wearable device when the first determining unit 406 determines that the wearable device maintains the water outlet state within a preset time period, where a starting time of the preset time period is a time when the water detection contact changes from the conduction state to the non-conduction state.
The sending unit 403 is further configured to send, after the first starting unit 407 starts the communication function of the wearable device, second prompt information to the terminal device, where the second prompt information is used to prompt that the user of the wearable device finishes swimming and the wearable device recovers the communication function.
Specifically, after the first opening unit 407 opens the communication function of the wearable device, the first opening unit 407 may send a trigger instruction to the sending unit 403 to trigger the sending unit 403 to send the second prompt information to the terminal device.
Optionally, the wearable device 400 shown in fig. 5 may further include:
a first recording unit 408 for recording a length of time that the wearable device is in the water environment after the second detection unit 402 detects with the motion sensor that the gesture of the user of the wearable device is not a swimming gesture.
The first judging unit 406 is further configured to judge whether the time duration recorded by the first recording unit 408 is greater than a specified time duration.
The second detecting unit 402 is further configured to detect the position of the wearable device by using the positioning device when the first determining unit 406 determines that the duration is longer than the specified duration.
A sending unit 403, configured to send a third prompt message to the terminal device when the second detecting unit 402 detects that the location is the preset spa location, and send a fourth prompt message to the terminal device when the second detecting unit 402 detects that the location is the preset ocean location; the third prompt message is used for prompting a user of the wearable device to bubble hot springs at the current position where the wearable device is located and the wearable device to close the communication function, and the fourth prompt message is used for prompting the user of the wearable device to dive at the current position where the wearable device is located and the wearable device to close the communication function.
A second closing unit 409, configured to close the communication function of the wearable device after the sending unit 403 sends the third prompt information or the fourth prompt information to the terminal device.
Specifically, after the sending unit 403 sends the third prompt message or the fourth prompt message to the terminal device, the sending unit 403 may send a trigger instruction to the second closing unit 409 to trigger the second closing unit 409 to close the communication function of the wearable device.
The first determining unit 406 is further configured to determine whether the wearable device is connected to the diving apparatus when the second detecting unit 402 detects that the position is the preset ocean position.
The display unit 410 is configured to display, on a display screen of the wearable device, a remaining oxygen content included in the diving apparatus and a time length during which the remaining oxygen is available, when the first determination unit 406 determines that the wearable device and the diving apparatus are connected.
Therefore, the wearable device described in fig. 5 is implemented, and the purpose of reducing the power consumption of the wearable device is achieved.
In addition, the wearable device described in fig. 5 is implemented, so that the communication function is timely recovered when the user of the wearable device finishes swimming, the wearable device can be ensured to normally use the communication function, the user of the terminal device can timely know the swimming finishing state and the recovery condition of the communication function, and unnecessary worry is avoided.
In addition, the wearable device described in fig. 5 is implemented, functions of the wearable device are added, a user can intuitively acquire oxygen information included in the diving apparatus, and diving experience of the user is improved.
EXAMPLE six
Referring to fig. 6, fig. 6 is a schematic structural diagram of another wearable device disclosed in the embodiment of the present invention. Wherein the wearable device 400 shown in fig. 6 is optimized from the wearable device 400 shown in fig. 5, compared to the wearable device 400 shown in fig. 5, in the wearable device shown in fig. 6:
the second detecting unit 402 is further configured to detect whether a response returned by the terminal device according to the first prompt information is received after the sending unit 403 sends the first prompt information to the terminal device that has previously established a connection with the wearable device.
Specifically, after the sending unit 403 sends the first prompt information to the terminal device that has previously established a connection with the wearable device, the sending unit 403 may send a trigger instruction to the second detecting unit 402 to trigger the second detecting unit 402 to detect whether a response returned by the terminal device according to the first prompt information is received.
The first closing unit 404 is specifically configured to close the communication function of the wearable device when the second detecting unit 402 detects that a response returned by the terminal device according to the first prompt information is received.
The wearable device 400 shown in fig. 6 may further include:
a setting unit 411, configured to set the communication function of the wearable device to prohibit sending information but allow receiving information when the second detecting unit 402 detects that no response returned by the terminal device according to the first prompting information is received.
The setting unit 411 is further configured to, when receiving target information sent by another terminal device or detecting that a user of the wearable device sends an instruction to send information, set the communication function of the wearable device to allow sending and receiving information, where the target information is information that the user of the wearable device needs to reply in time.
Optionally, the wearable device 400 shown in fig. 6 may further include:
a second recording unit 412, configured to record a closing duration for closing the communication function of the wearable device after the first closing unit 404 or the second closing unit 409 closes the communication function of the wearable device.
Specifically, after the first closing unit 404 or the second closing unit 409 closes the communication function of the wearable device, the first closing unit 404 or the second closing unit 409 sends a trigger instruction to the second recording unit 412 to trigger the second recording unit 412 to record the closing duration of the communication function of the wearable device.
The second determining unit 413 is configured to determine whether the closing time period recorded by the second recording unit 412 reaches the preset time period.
A second opening unit 414, configured to open the communication function of the wearable device when the second determining unit 413 determines that the closing duration reaches the preset duration.
The second detecting unit 402 is further configured to detect whether communication information sent by another terminal device is received after the second starting unit 414 starts the communication function of the wearable device.
Specifically, after the second starting unit 414 starts the communication function of the wearable device, the second starting unit 414 sends a trigger instruction to the second detecting unit 402 to trigger the second detecting unit 402 to detect whether the communication information sent by the other terminal device is received.
The sending unit 403 is further configured to send, when the second detecting unit 402 detects that the communication information sent by the other terminal device is received, fifth prompt information, where the fifth prompt information is used to prompt the user of the wearable device to receive the communication information sent by the other terminal device.
A third closing unit 415, configured to close the communication function of the wearable device when the second detecting unit 402 detects that the communication information sent by the other terminal device is not received.
It can be seen that the wearable device described in fig. 6 is implemented to achieve the purpose of reducing power consumption of the wearable device.
In addition, the wearable device described in fig. 6 is implemented, the communication function is timely recovered when the user of the wearable device finishes swimming, the wearable device can be ensured to normally use the communication function, and the user of the terminal device can timely know the swimming finishing state and the communication function recovery condition, so that unnecessary worry is avoided.
In addition, the wearable device described in fig. 6 is implemented, functions of the wearable device are added, a user can intuitively acquire oxygen information included in the diving apparatus, and diving experience of the user is improved.
In addition, the wearable device described in fig. 6 is implemented, so that the control mode is more diversified, and the wearable device meets various requirements of users, so that the users can not miss important information and can also reduce power consumption.
In addition, implementing the wearable device described in fig. 6 reduces the possibility of missing important information by turning on the communication function at intervals to receive information, thereby increasing the reliability of communication control.
EXAMPLE seven
Referring to fig. 7, fig. 7 is a schematic structural diagram of another wearable device disclosed in the embodiment of the present invention. As shown in fig. 7, the wearable device may include:
a memory 701 in which executable program code is stored;
a processor 702 coupled to the memory 701;
the processor 702 calls the executable program code stored in the memory 701 to execute the communication control method of the wearable device in any one of fig. 1 to 3.
The embodiment of the invention discloses a computer-readable storage medium which stores a computer program, wherein the computer program enables a computer to execute a communication control method of any one wearable device in figures 1-3.
In various embodiments of the present invention, it should be understood that the sequence numbers of the above-mentioned processes do not imply an inevitable order of execution, and the execution order of the processes should be determined by their functions and inherent logic, and should not constitute any limitation on the implementation process of the embodiments of the present invention.
In the embodiments provided herein, it should be understood that "B corresponding to A" means that B is associated with A from which B can be determined. It should also be understood, however, that determining B from a does not mean determining B from a alone, but may also be determined from a and/or other information.
In addition, functional units in the embodiments of the present invention may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, and can also be realized in a form of a software functional unit.
The integrated units, if implemented as software functional units and sold or used as a stand-alone product, may be stored in a computer accessible memory. Based on such understanding, the technical solution of the present invention, which is a part of or contributes to the prior art in essence, or all or part of the technical solution, can be embodied in the form of a software product, which is stored in a memory and includes several requests for causing a computer device (which may be a personal computer, a server, a network device, or the like, and may specifically be a processor in the computer device) to execute part or all of the steps of the above-described method of each embodiment of the present invention.
It will be understood by those skilled in the art that all or part of the steps in the methods of the embodiments described above may be implemented by instructions associated with a program, which may be stored in a computer-readable storage medium, where the storage medium includes Read-Only Memory (ROM), Random Access Memory (RAM), Programmable Read-Only Memory (PROM), Erasable Programmable Read-Only Memory (EPROM), One-time Programmable Read-Only Memory (OTPROM), Electrically Erasable Programmable Read-Only Memory (EEPROM), compact disc-Read-Only Memory (CD-ROM), or other Memory, magnetic disk, magnetic tape, or magnetic tape, Or any other medium which can be used to carry or store data and which can be read by a computer.
The communication control method of the wearable device and the wearable device disclosed in the embodiments of the present invention are described in detail above, and a specific example is applied in the description to explain the principle and the implementation of the present invention, and the description of the above embodiments is only used to help understanding the method and the core idea of the present invention; meanwhile, for a person skilled in the art, according to the idea of the present invention, there may be variations in the specific embodiments and the application scope, and in summary, the content of the present specification should not be construed as a limitation to the present invention.

Claims (10)

1. A communication control method of a wearable device, comprising:
detecting whether the wearable device is in a water environment;
when the wearable device is detected to be in the water environment, detecting whether the posture of a user of the wearable device is a swimming posture by using a motion sensor;
if so, sending first prompt information to terminal equipment which is connected with the wearable equipment in advance, and closing the communication function of the wearable equipment;
wherein the first prompt message is used to prompt a user of the wearable device to swim at a current location where the wearable device is located and that the wearable device is to turn off the communication function.
2. The method of claim 1, wherein the detecting whether the wearable device is in an aquatic environment comprises:
detecting whether water detection contacts on the wearable equipment are in a conducting state or not;
if so, determining that the wearable device is in the water environment;
after the closing of the communication function of the wearable device, the method further comprises:
detecting whether the water detection contacts are changed from the conduction state to the non-conduction state or not;
if so, determining that the wearable equipment is in a water outlet state, and judging whether the wearable equipment keeps the water outlet state within a preset time period, wherein the water outlet state is used for indicating that the wearable equipment leaves the water environment;
when the wearable device is judged to keep the water outlet state within the preset time period, starting a communication function of the wearable device, and sending second prompt information to the terminal device;
the starting time of the preset time period is the time when the conduction state between the water detection contacts is changed into the non-conduction state, and the second prompt message is used for prompting that the user of the wearable device finishes swimming and the wearable device recovers the communication function.
3. The method of claim 2, wherein after detecting with the motion sensor that the gesture of the user of the wearable device is not a swimming gesture, the method further comprises:
recording the duration of the wearable device in the water environment, and judging whether the duration is longer than a specified duration;
if yes, detecting the position of the wearable equipment by using a positioning device;
when the position is detected to be a preset hot spring position, sending third prompt information to the terminal equipment, and closing the communication function of the wearable equipment; wherein the third prompting message is used for prompting a user of the wearable device to bubble hot springs at a current location where the wearable device is located and the wearable device is to turn off the communication function;
when the position is detected to be a preset sea position, sending fourth prompt information to the terminal equipment, closing the communication function of the wearable equipment, and judging whether the wearable equipment is connected with the diving device or not;
when the wearable device is judged to be connected with the diving device, displaying the residual oxygen content contained in the diving device and the usable time length of the residual oxygen on a display screen of the wearable device;
wherein the fourth prompting message is used for prompting a user of the wearable device to dive at a current location where the wearable device is located and the wearable device is to turn off the communication function.
4. The method of claim 3, wherein after the sending the first prompt message to the terminal device that previously established the connection with the wearable device and before the closing the communication function of the wearable device, the method further comprises:
detecting whether a response returned by the terminal equipment according to the first prompt message is received, and if so, executing the communication function of closing the wearable equipment;
when detecting that the response returned by the terminal equipment according to the first prompt message is not received, the method further comprises the following steps:
setting a communication function of the wearable device to prohibit sending information but allow receiving information;
when target information sent by other terminal equipment is received or an instruction for sending the information is detected to be sent by a user of the wearable equipment, the communication function of the wearable equipment is set to allow the information to be sent and the information to be received, and the target information is information which needs to be replied by the user of the wearable equipment in time.
5. The method of any of claims 1-4, wherein after the shutting down the communication function of the wearable device, the method further comprises:
recording the closing duration of the communication function of the wearable device;
judging whether the closing time length reaches a preset time length, if so, starting a communication function of the wearable device, and detecting whether communication information sent by other terminal devices is received;
when detecting that the communication information sent by the other terminal equipment is received, sending fifth prompt information, wherein the fifth prompt information is used for prompting a user of the wearable equipment to receive the communication information sent by the other terminal equipment;
and when detecting that the communication information sent by the other terminal equipment is not received, closing the communication function of the wearable equipment.
6. A wearable device, comprising:
the first detection unit is used for detecting whether the wearable equipment is in a water environment or not;
a second detection unit, configured to detect whether a gesture of a user of the wearable device is a swimming gesture using a motion sensor when the first detection unit detects that the wearable device is in the water environment;
a sending unit, configured to send, when the second detection unit detects that the gesture of the user of the wearable device is a swimming gesture, first prompt information to a terminal device that has previously established a connection with the wearable device, where the first prompt information is used to prompt the user of the wearable device to swim at a current location where the wearable device is located and that the wearable device is to close a communication function;
the first closing unit is used for closing the communication function of the wearable device after the sending unit sends the first prompt message to the terminal device which is connected with the wearable device in advance.
7. The wearable device according to claim 6, wherein the first detection unit comprises:
the detection subunit is used for detecting whether the water detection contacts on the wearable equipment are in a conducting state or not;
the determining subunit is used for determining that the wearable device is in the water environment when the detecting subunit detects that the water detection contacts are in the conducting state;
the second detection unit is further used for detecting whether the water detection contacts are changed from the conduction state to the non-conduction state after the first closing unit closes the communication function of the wearable device;
the wearable device, further comprising:
the determining unit is used for determining that the wearable device is in a water outlet state when the second detecting unit detects that the conduction state between the water detection contacts is changed into the non-conduction state, wherein the water outlet state is used for indicating that the wearable device leaves the water environment;
the first judging unit is used for judging whether the wearable device keeps the water outlet state within a preset time period or not when the second detecting unit detects that the water detection contact is changed from the conduction state to the non-conduction state;
the first starting unit is used for starting a communication function of the wearable device when the first judging unit judges that the wearable device keeps the water outlet state in the preset time period, and the starting time of the preset time period is the time when the conduction state between the water detection contacts is changed into the non-conduction state;
the sending unit is further configured to send second prompt information to the terminal device after the first starting unit starts the communication function of the wearable device, where the second prompt information is used to prompt that the user of the wearable device finishes swimming and the wearable device recovers the communication function.
8. The wearable device of claim 7, further comprising:
a first recording unit for recording the time length of the wearable device in the water environment after the second detection unit detects that the posture of the user of the wearable device is not the swimming posture by using the motion sensor;
the first judging unit is further configured to judge whether the duration recorded by the first recording unit is greater than a specified duration;
the second detection unit is further configured to detect the position of the wearable device by using a positioning device when the first determination unit determines that the duration is longer than the specified duration;
the sending unit is further configured to send third prompt information to the terminal device when the second detection unit detects that the position is a preset hot spring position, and send fourth prompt information to the terminal device when the second detection unit detects that the position is a preset ocean position; wherein the third prompting message is used for prompting the user of the wearable device to bubble hot springs at the current position where the wearable device is located and the wearable device is to close the communication function, and the fourth prompting message is used for prompting the user of the wearable device to dive at the current position where the wearable device is located and the wearable device is to close the communication function;
a second closing unit, configured to close a communication function of the wearable device after the sending unit sends the third prompt information or the fourth prompt information to the terminal device;
the first judging unit is further configured to judge whether the wearable device is connected with the diving apparatus or not when the second detecting unit detects that the position is a preset ocean position;
and the display unit is used for displaying the residual oxygen content and the usable duration of the residual oxygen on the display screen of the wearable device when the first judgment unit judges that the wearable device is connected with the diving device.
9. The wearable device of claim 8,
the second detection unit is further configured to detect whether a response returned by the terminal device according to the first prompt information is received after the sending unit sends the first prompt information to the terminal device that is connected with the wearable device in advance;
the first closing unit is specifically configured to close a communication function of the wearable device when the second detection unit detects that a response returned by the terminal device according to the first prompt information is received;
the wearable device, further comprising:
the setting unit is used for setting the communication function of the wearable device to be forbidden to send information but allowed to receive information when the second detection unit detects that the response returned by the terminal device according to the first prompt message is not received;
the setting unit is further configured to set a communication function of the wearable device to allow sending and receiving of information when target information sent by other terminal devices is received or an instruction for sending the information is detected to be sent by a user of the wearable device, where the target information is information that the user of the wearable device needs to reply in time.
10. The wearable device according to any of claims 6-9, further comprising:
a second recording unit, configured to record a closing duration for closing the communication function of the wearable device after the first closing unit or the second closing unit closes the communication function of the wearable device;
a second judging unit, configured to judge whether the closing duration recorded by the second recording unit reaches a preset duration;
the second starting unit is used for starting the communication function of the wearable device when the second judging unit judges that the closing duration reaches the preset duration;
the second detection unit is further configured to detect whether communication information sent by other terminal devices is received after the second starting unit starts the communication function of the wearable device;
the sending unit is further configured to send fifth prompt information when the second detecting unit detects that the communication information sent by the other terminal device is received, where the fifth prompt information is used for prompting a user of the wearable device to receive the communication information sent by the other terminal device;
and the third closing unit is used for closing the communication function of the wearable device when the second detection unit detects that the communication information sent by the other terminal device is not received.
CN201711366461.0A 2017-12-18 2017-12-18 Communication control method of wearable device and wearable device Active CN108055694B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201711366461.0A CN108055694B (en) 2017-12-18 2017-12-18 Communication control method of wearable device and wearable device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201711366461.0A CN108055694B (en) 2017-12-18 2017-12-18 Communication control method of wearable device and wearable device

Publications (2)

Publication Number Publication Date
CN108055694A CN108055694A (en) 2018-05-18
CN108055694B true CN108055694B (en) 2020-03-27

Family

ID=62133694

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201711366461.0A Active CN108055694B (en) 2017-12-18 2017-12-18 Communication control method of wearable device and wearable device

Country Status (1)

Country Link
CN (1) CN108055694B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108939512B (en) * 2018-07-23 2020-05-19 大连理工大学 A Swimming Attitude Measurement Method Based on Wearable Sensors
CN113483827A (en) * 2021-07-26 2021-10-08 西安芯海微电子科技有限公司 Wearable device, and data processing method and device of wearable device
CN115802451A (en) * 2021-09-09 2023-03-14 华为技术有限公司 A method and device for reducing power consumption

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105302284A (en) * 2014-07-28 2016-02-03 华为技术有限公司 Control method, apparatus and system for intelligent wearable device
CN105376417A (en) * 2015-12-09 2016-03-02 广东小天才科技有限公司 Automatic control method and automatic control system for flight mode
CN105682196A (en) * 2016-01-13 2016-06-15 北京小米移动软件有限公司 Communication control method and device and wearable device
CN105718023A (en) * 2016-01-15 2016-06-29 小天才科技有限公司 Method and system for detection of switching operating mode of watch under water

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10257782B2 (en) * 2015-07-30 2019-04-09 Google Llc Power management by powering off unnecessary radios automatically
CN106846720A (en) * 2016-12-30 2017-06-13 肇庆高新区黑阳科技有限公司 A kind of electronic monitoring device and its control method

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105302284A (en) * 2014-07-28 2016-02-03 华为技术有限公司 Control method, apparatus and system for intelligent wearable device
CN105376417A (en) * 2015-12-09 2016-03-02 广东小天才科技有限公司 Automatic control method and automatic control system for flight mode
CN105682196A (en) * 2016-01-13 2016-06-15 北京小米移动软件有限公司 Communication control method and device and wearable device
CN105718023A (en) * 2016-01-15 2016-06-29 小天才科技有限公司 Method and system for detection of switching operating mode of watch under water

Also Published As

Publication number Publication date
CN108055694A (en) 2018-05-18

Similar Documents

Publication Publication Date Title
CN106097659B (en) Drowning monitoring method based on wearable device and wearable device
CN108055694B (en) Communication control method of wearable device and wearable device
US10706844B2 (en) Information processing system and information processing method for speech recognition
US20160210034A1 (en) Method and apparatus for switching display mode
EP3162284A1 (en) Communication method, apparatus and system for wearable device
CN105204628A (en) Voice control method based on visual awakening
KR20160127117A (en) Performing actions associated with individual presence
CN111182385B (en) A voice interactive control method and smart speaker
CN104978025B (en) A kind of method and terminal of information alert
CN110022528A (en) Position information display method and device based on video call
CN108510986A (en) Voice interactive method, device, electronic equipment and computer readable storage medium
CN108039025A (en) Drowning alarm method based on wearable device and wearable device
CN108833721B (en) Emotion analysis method based on call, user terminal and system
CN107483741A (en) A kind of based reminding method and device, terminal and readable storage medium storing program for executing
CN108600924B (en) A kind of speaker drainage method and wearable device
CN111143909A (en) Anti-lost detection method for wearable device and wearable device
WO2016136044A1 (en) Information processing system and method
CN105141785A (en) Telephone answering method and device
CN109819111A (en) A kind of control method, device, equipment and storage medium
JP2019008113A (en) Electronic apparatus, emotion information acquisition system, program and emotion information acquisition method
CN108376566A (en) Method for predicting occurrence probability of muscle spasm and wearable device
CN110177234B (en) A video call method and wearable device based on scene recognition
CN108922116A (en) A kind of alarm method and device based on intelligent terminal
EP3886412B1 (en) Display device
CN111077989B (en) A screen control method based on electronic equipment and electronic equipment

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