CN118574103A - Inter-device communication method, inter-device communication system, wearable device and storage medium - Google Patents
Inter-device communication method, inter-device communication system, wearable device and storage medium Download PDFInfo
- Publication number
- CN118574103A CN118574103A CN202410767593.8A CN202410767593A CN118574103A CN 118574103 A CN118574103 A CN 118574103A CN 202410767593 A CN202410767593 A CN 202410767593A CN 118574103 A CN118574103 A CN 118574103A
- Authority
- CN
- China
- Prior art keywords
- wearable device
- electronic device
- instruction
- wearable
- electronic
- 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
Links
- 238000000034 method Methods 0.000 title claims abstract description 62
- 238000004891 communication Methods 0.000 title claims abstract description 61
- 230000004044 response Effects 0.000 claims description 33
- 230000006870 function Effects 0.000 claims description 28
- 238000004590 computer program Methods 0.000 claims description 20
- 230000009429 distress Effects 0.000 claims description 10
- 230000033001 locomotion Effects 0.000 claims description 8
- 238000010586 diagram Methods 0.000 description 5
- 230000008569 process Effects 0.000 description 5
- 230000005540 biological transmission Effects 0.000 description 4
- 238000001514 detection method Methods 0.000 description 4
- 230000008878 coupling Effects 0.000 description 3
- 238000010168 coupling process Methods 0.000 description 3
- 238000005859 coupling reaction Methods 0.000 description 3
- 238000012806 monitoring device Methods 0.000 description 3
- 230000003993 interaction Effects 0.000 description 2
- 238000012544 monitoring process Methods 0.000 description 2
- 239000013307 optical fiber Substances 0.000 description 2
- 238000012545 processing Methods 0.000 description 2
- 230000009286 beneficial effect Effects 0.000 description 1
- 230000001010 compromised effect Effects 0.000 description 1
- 238000013461 design Methods 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 238000003825 pressing Methods 0.000 description 1
- 230000005236 sound signal Effects 0.000 description 1
- 238000006467 substitution reaction Methods 0.000 description 1
Landscapes
- Alarm Systems (AREA)
Abstract
The application provides an inter-device communication method, a system, a wearable device and a storage medium, wherein the method comprises the following steps: detecting a first operation of a first function key acting on the wearable device; if the first operation is a first preset operation, responding to the first operation, and sending a first instruction to a first electronic device in communication connection with the wearable device, wherein the first instruction is used for indicating the first electronic device to execute a first emergency event; and if the first operation is a second preset operation, responding to the first operation, and sending a second instruction to the first electronic equipment, wherein the second instruction is used for indicating the first electronic equipment to execute a second emergency event. According to the embodiment of the application, whether the wearer of the wearable device is in an emergency state is judged by detecting the operation on the function keys of the wearable device, and when the wearer is in the emergency state, the first electronic device executes an emergency event so as to help the wearer of the wearable device to be timely helped.
Description
Technical Field
The application belongs to the technical field of wearable devices, and particularly relates to an inter-device communication method, a system, a wearable device and a storage medium.
Background
When an emergency needs to be alerted, the mobile phone is the most commonly used alerting device. However, in some emergency situations, if the mobile phone is not nearby, the alarm can not be given by the mobile phone; or when the personal safety is threatened, the alarm is easily found by people by using the mobile phone. For example, when the old is at home alone, if the old falls suddenly and cannot climb up, the mobile phone is not at hand, and other simple and feasible alarm modes are needed under the condition.
Disclosure of Invention
The embodiment of the application provides a communication method, a communication system, a wearable device and a storage medium between devices, which can solve the problem that personal safety is possibly threatened because the communication method and the system cannot alarm through a mobile phone in some emergency scenes.
In a first aspect, an embodiment of the present application provides an inter-device communication method, applied to a wearable device, where the method includes:
detecting a first operation of a first function key acting on the wearable device;
If the first operation is a first preset operation, responding to the first operation, and sending a first instruction to a first electronic device in communication connection with the wearable device, wherein the first instruction is used for indicating the first electronic device to execute a first emergency event;
and if the first operation is a second preset operation, responding to the first operation, and sending a second instruction to the first electronic equipment, wherein the second instruction is used for indicating the first electronic equipment to execute a second emergency event.
In a possible implementation manner of the first aspect, the first emergency event is sending a distress command to a second electronic device, and contact information of the second electronic device is stored in the first electronic device;
the second emergency event is an instruction of audio information or video information collected by the first electronic equipment, and the audio information or the video information is sent to the second electronic equipment; or (b)
If the first operation is a second preset operation, after responding to the first operation, starting a recording function of the wearable equipment to acquire audio information; correspondingly, the second emergency event is sending the audio information collected by the wearable device to the second electronic device.
In a possible implementation manner of the first aspect, after the sending the second instruction to the first electronic device, the method further includes:
Receiving a third instruction, wherein the third instruction is used for indicating the wearable device to start a recording function of the wearable device; the third instruction is sent when the first electronic device collects that the sound of the wearable device wearer is smaller than a preset volume.
In a possible implementation manner of the first aspect, if the first operation is a first preset operation, after responding to the first operation, the method further includes:
The wearable device acquires position information of the wearable device by using a positioning sensor in the wearable device; correspondingly, the first instruction further comprises position information of the wearable device, and the first instruction is further used for indicating the first electronic device to send the position information of the wearable device to the second electronic device;
Or the first electronic equipment acquires the position information of the first electronic equipment; correspondingly, the first instruction further comprises position information of the first electronic device, and the first instruction is further used for indicating the first electronic device to send the position information of the first electronic device to the second electronic device.
In a possible implementation manner of the first aspect, if the first operation is a first preset operation, the sending, in response to the first operation, a first instruction to a first electronic device communicatively connected to the wearable device includes:
And if the first preset operation is detected to be executed for a plurality of times within the preset time, responding to the first operation, and sending a first instruction to a first electronic device in communication connection with the wearable device.
In a possible implementation manner of the first aspect, the first preset operation is at least one of clicking, double clicking and long pressing; the second preset operation is at least one of single click, double click and long press.
In a possible implementation manner of the first aspect, the method further includes:
The wearable device acquires gesture information of the wearable device by utilizing a motion sensor in the wearable device;
Determining whether a wearer of the wearable device falls according to the posture information;
if the wearable device wearer is determined to fall and the wearable device wearer is detected to be in a falling state all the time within the preset time, a first instruction is sent to the first electronic device in communication connection with the wearable device.
In a possible implementation manner of the first aspect, after the sending a first instruction to a first electronic device communicatively connected to the wearable device, the method further includes:
If the communication connection between the wearable device and the first electronic device is detected to be interrupted, or the wearable device does not receive a first response within a preset time, a fourth instruction is sent to a third electronic device in communication connection with the wearable device; the fourth instruction is configured to instruct the third electronic device to perform the first emergency event; the first response is a response sent by the first electronic device to the wearable device to receive the first instruction,
After the sending of the second instruction to the first electronic device, the method further includes:
if the communication connection between the wearable device and the first electronic device is detected to be interrupted, or the wearable device does not receive a second response within a preset time, a fifth instruction is sent to a third electronic device in communication connection with the wearable device; the fifth instructions are for instructing the third electronic device to perform the second emergency event; the second response is a response sent by the first electronic device to the wearable device to receive the second instruction.
In a second aspect, an embodiment of the present application provides a wearable device comprising a memory, a processor and a computer program stored in the memory and executable on the processor, the processor implementing the method according to any one of the first aspects when executing the computer program.
In a third aspect, an embodiment of the present application provides an inter-device communication system, including a first electronic device, a second electronic device, a wearable device, and a third electronic device;
The wearable device for performing the method of any of the first aspects.
In a fourth aspect, embodiments of the present application provide a computer-readable storage medium storing a computer program which, when executed by a processor, implements a method according to any one of the first aspects.
In a fifth aspect, embodiments of the present application provide a computer program product, which, when run on a wearable device, causes the wearable device to perform the method of any of the first aspects described above.
It will be appreciated that the advantages of the second to fifth aspects may be found in the relevant description of the first aspect, and are not described here again.
Compared with the prior art, the embodiment of the application has the beneficial effects that: according to the embodiment of the application, whether the wearer of the wearable device is in an emergency state is judged by detecting the operation on the function keys of the wearable device, and when the wearer is in the emergency state, the first electronic device executes an emergency event so as to help the wearer of the wearable device to be timely helped. And the function keys of the wearable device are operated differently, and the first electronic device can execute different emergency events, so that the on-site information of the wearer of the wearable device can be accurately transmitted.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings that are needed in the embodiments or the description of the prior art will be briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present application, and that other drawings can be obtained according to these drawings without inventive effort for a person skilled in the art.
Fig. 1 is a schematic structural diagram of an inter-device communication system according to an embodiment of the present application;
FIG. 2 is a schematic diagram of an interaction flow of a communication method between devices according to an embodiment of the present application;
Fig. 3 is a block diagram of an inter-device communication apparatus according to an embodiment of the present application.
Detailed Description
In the following description, for purposes of explanation and not limitation, specific details are set forth such as the particular system architecture, techniques, etc., in order to provide a thorough understanding of the embodiments of the present application. It will be apparent, however, to one skilled in the art that the present application may be practiced in other embodiments that depart from these specific details. In other instances, detailed descriptions of well-known systems, devices, circuits, and methods are omitted so as not to obscure the description of the present application with unnecessary detail.
It should be understood that the terms "comprises" and/or "comprising," when used in this specification and the appended claims, specify the presence of stated features, integers, steps, operations, elements, and/or components, but do not preclude the presence or addition of one or more other features, integers, steps, operations, elements, components, and/or groups thereof.
It should also be understood that the term "and/or" as used in the present specification and the appended claims refers to any and all possible combinations of one or more of the associated listed items, and includes such combinations.
As used in the present description and the appended claims, the term "if" may be interpreted as "when..once" or "in response to a determination" or "in response to detection" depending on the context. Similarly, the phrase "if a determination" or "if a [ described condition or event ] is detected" may be interpreted in the context of meaning "upon determination" or "in response to determination" or "upon detection of a [ described condition or event ]" or "in response to detection of a [ described condition or event ]".
Furthermore, the terms "first," "second," "third," and the like in the description of the present specification and in the appended claims, are used for distinguishing between descriptions and not necessarily for indicating or implying a relative importance.
Reference in the specification to "one embodiment" or "some embodiments" or the like means that a particular feature, structure, or characteristic described in connection with the embodiment is included in one or more embodiments of the application. Thus, appearances of the phrases "in one embodiment," "in some embodiments," "in other embodiments," and the like in the specification are not necessarily all referring to the same embodiment, but mean "one or more but not all embodiments" unless expressly specified otherwise. The terms "comprising," "including," "having," and variations thereof mean "including but not limited to," unless expressly specified otherwise.
Fig. 1 shows a block diagram of an inter-device communication system according to an embodiment of the present application, where the system includes: wearable device 10, first electronic device 11 and second electronic device 12.
The wearable device 10 of the embodiment of the present application may be a bracelet, a finger ring, a brooch, an earphone, a hearing aid, a watch, or the like, and the wearable device 10 is provided with a microprocessor and a first function key. The first function key may be a physical key, such as a press key, a knob key, a wave key, a push key, etc.; or virtual keys; but also touch keys.
The first electronic device 11 of the embodiment of the present application may be a mobile phone of a wearable device wearer, the second electronic device 12 may be a mobile phone of an emergency contact person, and the contact information of the second electronic device 12 is stored in the first electronic device 11. Specifically, the contact information may be a phone number, an email address, a communication friend, or the like.
The communication connection between the first electronic device 11 and the wearable device 10 is, for example, a bluetooth or WIFI connection between the first electronic device 11 and the wearable device 10.
The wearable device 10 has built-in pressure sensors and/or capacitance sensors, etc. for capturing various operations of the wearer of the wearable device, including key operations, which are capable of detecting physical changes or electrical signal changes when a key is pressed. Thus, the wearable device 10 can detect a first operation of a first function key acting on the smart ring. If the first operation is a first preset operation, responding to the first operation, and sending a first instruction to a first electronic device in communication connection with the wearable device 10, wherein the first instruction is used for instructing the first electronic device 11 to execute a first emergency event; if the first operation is a second preset operation, a second instruction is sent to the first electronic device 11 in response to the first operation, where the second instruction is used to instruct the first electronic device 11 to execute a second emergency event.
The first preset operation can be at least one of single click, double click and long press; the second preset operation may be at least one of a single click, a double click, a long press. It is noted that the first function key may refer to either a single key or two or more keys. For example, if the key a is pressed for a long time as a first preset operation, the wearable device sends a first instruction to the first electronic device, and if the key a or the key B is pressed for a double time as a second preset operation, the wearable device 10 sends a second instruction to the first electronic device 11. In order to prevent false touch, the key A and the key B can be simultaneously pressed for a long time as a first preset operation, and the key A and the key B can be simultaneously clicked as a second preset operation. There are many preset operations of the keys, and the present embodiment is not limited.
By way of example, the wearable device 10 takes the smart ring as an example, and in one possible scenario, since the smart ring is very small, operating the first function key on the smart ring is not easily found, so that when personal safety is compromised, an instruction can be sent to an emergency contact without being perceived. In another possible scene, if the old man wears the intelligent finger ring, when the old man falls down and cannot pick up the mobile phone or the mobile phone is not at the side, the old man only needs to perform key operation on the intelligent finger ring, and can send the distress command to the old man and the child, so that the purpose of timely rescuing is achieved.
According to the method, whether the wearer of the wearable device is in an emergency state or not is judged by detecting the operation on the function keys of the wearable device, and when the wearer is in the emergency state, the first electronic device executes an emergency event so as to help the wearer of the wearable device to be timely helped. And the function keys of the wearable device are operated differently, and the first electronic device can execute different emergency events, so that the on-site information of the wearer of the wearable device can be accurately transmitted.
The first emergency event may be sending a distress instruction to the second electronic device 12 prompting the wearer of the emergency contact wearable device to encounter an emergency situation.
In some alternative embodiments, the second emergency event is audio information or video information collected by the first electronic device 11 and the audio information or video information is sent to the second electronic device 12. That is, the first electronic device 11 turns on the audio or video recording and transmits the audio or video recording to the second electronic device 12. In other alternative embodiments, a sound recording module is disposed within the wearable device 10. If the first operation is a second preset operation, responding to the first operation, and starting a recording module of the wearable device 10 by the microprocessor to acquire audio information; accordingly, the second emergency event is the transmission of audio information collected by the wearable device 10 to the second electronic device 12. That is, the wearable device 10 starts recording, and the first electronic device 11 sends the recording collected by the wearable device to the second electronic device 12.
According to the method, the device and the system, the audio information or the video information is sent to the emergency contact person, so that the emergency contact person can know the sound or the video of the environment where the wearer of the wearable device is located, and further accurate judgment can be made. For example, in the event of a fall of an elderly person, the wearable device or the first electronic device may collect the voice or groan of the elderly person, thereby helping the emergency contact to learn about the real-time condition of the elderly person.
In some optional embodiments, a positioning sensor is provided in the wearable device 10, and the wearable device 10 acquires position information of the wearable device using the positioning sensor in the wearable device; accordingly, the first instruction further includes location information of the wearable device 10, and the first instruction is further configured to instruct the first electronic device 11 to send the location information of the wearable device to the second electronic device 12. In other alternative embodiments, the first electronic device 11 obtains location information of the first electronic device 11; correspondingly, the first instruction further includes location information of the first electronic device 11, and the first instruction is further used for instructing the first electronic device 11 to send the location information of the first electronic device 11 to the second electronic device 12.
The position information is sent to the emergency contact person, so that the emergency contact person can quickly find the wearer of the wearable device 10, and the wearer of the wearable device 10 is free from danger as soon as possible.
In some alternative embodiments, a motion sensor is provided in the wearable device 10, which may be a six-axis sensor or a nine-axis sensor. Acquiring pose information of the wearable device by using a motion sensor in the wearable device 10; determining whether a wearer of the wearable device falls according to the posture information; if it is determined that the wearer of the wearable device falls and it is detected that the wearer of the wearable device is in a falling state for a preset time, a first instruction is sent to a first electronic device 11 communicatively connected to the wearable device 10.
Considering that the old man may lose the movement capability temporarily after falling down, the gesture information of the wearable device 10 is obtained through the movement sensor in the embodiment, and then the gesture of the old man is obtained, if the old man is found to fall down and the duration exceeds the preset time, the old man is not required to operate the key, and the first instruction is directly sent to the second electronic device 12.
In some optional implementations, the inter-device communication system of the embodiments of the present application further includes: a third electronic device 13. The third electronic device 13 is in communication connection with the second electronic device 12, and when the communication connection between the wearable device 10 and the first electronic device 11 is detected to be interrupted, or the wearable device 10 does not receive the first response within a preset time, the wearable device 10 sends a fourth instruction to the third electronic device 13; the fourth instruction is for instructing the third electronic device 13 to perform the first emergency event; the first response is a response to the reception of the first instruction sent by the first electronic device 11 to the wearable device 10.
For example, the first electronic device 11 is turned off or the first instruction sent by the wearable device 10 to the first electronic device 11 is lost, which results in that the first electronic device 11 does not receive the first instruction, and thus the first electronic device 11 cannot execute the first emergency event, and the second electronic device 12 cannot receive the distress instruction. In order to reduce the case that the wearer of the wearable device 10 performs the first preset operation on the first function key, but the second electronic device 12 does not receive the call instruction, the third electronic device 13 is provided in this embodiment. The third electronic device 13 may be a computer or a home monitoring device or the like. Taking a computer as an example, when the third electronic device 13 detects that the communication connection between the wearable device 10 and the first electronic device 11 is interrupted, or the wearable device 10 does not receive the first response within a preset time, the wearable device 10 sends a fourth instruction to the computer; the fourth instruction is used for instructing the computer to send a distress instruction to the mobile phone of the emergency contact person. The computer sends the distress command to the mobile phone of the emergency contact person through chat software such as WeChat, QQ and the like; the short message can be sent to the mobile phone through the internet connection by third-party short message software such as handle SMS, PC SMS, teslaSMS and the like; in addition, the method can also be used in the modes of a mobile phone simulator, a webpage version short message platform, a mailbox and the like; when using these software/platforms, it is necessary to ensure that both the computer and the handset are connected to the internet, and to install corresponding software or applications on the handset. The third electronic device is exemplified by a monitoring device, and the monitoring device at least includes: front-end equipment, transmission equipment and back-end equipment. Front-end equipment cameras, lenses, holders, etc. The transmission part is responsible for transmitting the video/audio signals and control and alarm signals acquired by the front-end equipment to the back-end equipment, and the transmission medium comprises wires, wireless or optical fibers and the like. The back-end equipment is a command center for realizing the function of the whole monitoring equipment, and is used for processing video/audio data and sending a distress call instruction to a mobile phone of an emergency contact person when emergency situations such as falling of the old people are met. The emergency contact needs to install the mobile phone APP matched with the monitoring equipment in advance and complete relevant setting. When receiving the alarm information, the mobile phone APP can send out a notification, such as a push message, vibration or ringing, to remind an emergency contact to check.
Similarly, if the interruption of the communication connection between the wearable device 10 and the first electronic device 11 is detected, or the wearable device 10 does not receive the second response within the preset time, a fifth instruction is sent to the third electronic device 13; the fifth instruction is for instructing the third electronic device 13 to perform a second emergency event; the second response is a response to the reception of the second instruction sent by the first electronic device 11 to the wearable device 10.
By arranging the third electronic device 13, the third electronic device 13 can send the emergency instruction/the audio information or the video information of the wearable device wearer to the second electronic device 12 under the condition that the first electronic device 11 is turned off or the first instruction/the second instruction is lost, so that the stability and the practicability of the system are improved.
Fig. 2 shows a schematic flow chart of a method of communication between devices provided by the present application, which may be applied to the wearable device described above by way of example and not limitation. The method comprises the following steps:
s110: a first operation of a first function key acting on the wearable device is detected.
By way of example, the wearable device may be a wristband, finger ring, brooch or watch, or the like. The wearable device has built-in pressure sensors and/or capacitance sensors, etc. for capturing various operations of the wearer of the wearable device, including key operations, which are capable of detecting physical changes or electrical signal changes when a key is pressed.
S121: and if the first operation is a first preset operation, responding to the first operation, and sending a first instruction to a first electronic device in communication connection with the wearable device.
The first preset operation is at least one of a single click, a double click, and a long press. In order to avoid false touch as much as possible, the first preset operation can be combined with one click, double click and long press, or can be executed for multiple times.
The first electronic device may be, for example, a mobile phone of a wearer of the wearable device.
S122: and the first electronic equipment executes the first emergency event according to the first instruction, and the contact information of the second electronic equipment is stored in the first electronic equipment.
The second electronic device may be, for example, a cell phone of an emergency contact. The contact information may be a telephone number, an email address, a communication friend, etc. The first emergency event may be sending a distress command to the second electronic device.
S131: and if the first operation is a second preset operation, responding to the first operation and sending a second instruction to the first electronic equipment.
The second preset operation is at least one of a single click, a double click, and a long press.
S132: and the first electronic equipment executes the second emergency event according to the second instruction.
For example, the second emergency event is an instruction of audio information or video information collected by the first electronic device, and the audio information or the video information is sent to the second electronic device; or if the first operation is a second preset operation, starting a recording function of the wearable equipment to acquire audio information after responding to the first operation; accordingly, the second emergency event is sending the audio information collected by the wearable device to the second electronic device. That is, the audio information may be collected by the first electronic device or by the wearable device, specifically, by whom, and may be selected according to the actual situation.
Under an emergency scene, the instruction can be sent to the emergency contact person by simply operating the wearable device, so that the safety guarantee of the wearer of the wearable device is improved.
In some alternative embodiments, the audio information is specifically collected by the first electronic device or by the wearable device, determined by:
S141: the first electronic device collects the sound of the wearable device wearer according to the second instruction, judges whether the sound of the wearable device wearer collected by the first electronic device is larger than a preset volume, and if so, sends the audio information collected by the first electronic device to the second electronic device; if the first electronic device collects that the sound of the wearable device wearer is smaller than the preset volume, the first electronic device sends a third instruction to the wearable device.
S142: the wearable device receives the third instruction, and the wearable device starts the recording function of the wearable device according to the third instruction.
S143: the wearable device sends the collected audio information to the first electronic device, and the first electronic device sends the audio information collected by the wearable device to the second electronic device.
In one possible scenario, if the first electronic device is placed in a living room, and the old people fall down in a bathroom, at this time, the old people perform a second preset operation on the first function key on the intelligent ring, the first electronic device collects audio information and sends the audio information to the second electronic device, at this time, because the old people are far away from the first electronic device, the emergency contact person cannot hear the speaking voice of the old people clearly, and the emergency contact person cannot know what situation happens specifically between the first people. Aiming at the scene, when the first electronic equipment collects that the sound of the old people is smaller than the preset volume, the first electronic equipment sends a third instruction to the intelligent ring, the intelligent ring starts the recording function of the intelligent ring according to the third instruction, the intelligent ring sends the sound of the old people to the first electronic equipment, the first electronic equipment sends the sound of the old people to the second electronic equipment, and therefore the emergency contact can hear the sound of the old people more clearly.
In some alternative embodiments, after S120, the method further comprises:
S150: the wearable device acquires the position information of the wearable device by using a positioning sensor in the wearable device; correspondingly, the first instruction further comprises position information of the wearable device, and the first instruction is further used for indicating the first electronic device to send the position information of the wearable device to the second electronic device;
or the first electronic equipment acquires the position information of the first electronic equipment; correspondingly, the first instruction further comprises position information of the first electronic device, and the first instruction is further used for indicating the first electronic device to send the position information of the first electronic device to the second electronic device.
In one possible scenario, the old man gets lost in the outside, and the location of the old man is not clear, and the location function is not used, so that after the old man performs the first preset operation on the intelligent finger ring, the intelligent finger ring or the first electronic device obtains the location of the old man, and the first electronic device sends the location information to the second electronic device, so that the emergency contact person can know the location of the old man.
In some alternative embodiments, the method further comprises S161 and S162, specifically as follows:
S161: the wearable device acquires the posture information of the wearable device by utilizing a motion sensor in the wearable device, and determines whether a wearer of the wearable device falls down according to the posture information.
S162: if the wearer of the wearable device is determined to fall and the wearer of the wearable device is detected to be in a falling state all the time within the preset time, a first instruction is sent to a first electronic device in communication connection with the wearable device.
In one possible scenario, the elderly falls down in the home, and cannot make a call after falling down, nor can the smart ring be key operated. The six-axis sensor in the intelligent ring can be utilized to acquire the gesture information of the intelligent ring, the gesture of the old can be known according to the gesture information of the intelligent ring, so that whether the old falls down is judged, if the old falls down, and the old does not stand up or does not move in a preset time period, the intelligent ring sends a first instruction to the first electronic equipment, the first electronic equipment sends a distress instruction to the second electronic equipment according to the first instruction, and therefore emergency contacts know that the old encounters emergency.
In some alternative embodiments, after sending the first instruction to the first electronic device communicatively connected to the wearable device in S120, the method further includes S171-S173, specifically as follows:
S171: the first electronic device sends a first response to the wearable device to receive the first instruction.
S172: and if the communication connection between the wearable device and the first electronic device is detected to be interrupted, or the wearable device does not receive the first response within the preset time, sending a fourth instruction to a third electronic device in communication connection with the wearable device.
S173: and the third electronic equipment executes the first emergency event according to the fourth instruction.
In S130, after sending the second instruction to the first electronic device, the method further includes S174-S176, which specifically includes:
s174: the first electronic device sends a second response to the wearable device to receive the second instruction.
S175: and if the communication connection between the wearable device and the first electronic device is detected to be interrupted, or the wearable device does not receive the second response within the preset time, a fifth instruction is sent to a third electronic device in communication connection with the wearable device.
S176: the third electronic device performs a second emergency event according to the fifth instruction.
In one possible scenario, if the first electronic device fails to power down, bluetooth is disconnected between the intelligent ring and the first electronic device, or after the intelligent ring sends a first instruction/a second instruction to the first electronic device, the intelligent ring does not receive a response from the first electronic device, which indicates that there may be packet loss. When Bluetooth disconnection or packet loss occurs, the intelligent finger ring sends an instruction to the home computer, so that the home computer executes an emergency.
It should be understood that the sequence number of each step in the foregoing embodiment does not mean that the execution sequence of each process should be determined by the function and the internal logic, and should not limit the implementation process of the embodiment of the present application.
The wearable device comprises a communication module, a positioning sensor, a recording module, a first function key, a motion sensor, a memory, a processor and a computer program which is stored in the memory and can run on the processor, wherein the processor executes the computer program to realize the communication method between devices.
Corresponding to the inter-device communication method described in the above embodiments, fig. 3 shows a block diagram of the inter-device communication apparatus 300 provided in the embodiment of the present application, and for convenience of explanation, only the portions related to the embodiment of the present application are shown.
Referring to fig. 3, the apparatus includes:
the detection module 310 is configured to detect a first operation of a first function key acting on the wearable device.
And the execution module 320 is configured to, when the first operation is a first preset operation, send, in response to the first operation, a first instruction to a first electronic device communicatively connected to the wearable device, where the first instruction is used to instruct the first electronic device to execute the first emergency event. And when the first operation is a second preset operation, responding to the first operation, and sending a second instruction to the first electronic equipment, wherein the second instruction is used for indicating the first electronic equipment to execute a second emergency event.
It should be noted that, because the content of information interaction and execution process between the above devices/units is based on the same concept as the method embodiment of the present application, specific functions and technical effects thereof may be referred to in the method embodiment section, and will not be described herein.
It will be apparent to those skilled in the art that, for convenience and brevity of description, only the above-described division of the functional units and modules is illustrated, and in practical application, the above-described functional distribution may be performed by different functional units and modules according to needs, i.e. the internal structure of the apparatus is divided into different functional units or modules to perform all or part of the above-described functions. The functional units and modules in the embodiment may be integrated in one processing unit, or each unit may exist alone physically, or two or more units may be integrated in one unit, where the integrated units may be implemented in a form of hardware or a form of a software functional unit. In addition, the specific names of the functional units and modules are only for distinguishing from each other, and are not used for limiting the protection scope of the present application. The specific working process of the units and modules in the above system may refer to the corresponding process in the foregoing method embodiment, which is not described herein again.
Embodiments of the present application also provide a computer readable storage medium storing a computer program which, when executed by a processor, implements steps for implementing the various method embodiments described above.
Embodiments of the present application provide a computer program product which, when run on a mobile terminal, causes the mobile terminal to perform steps that enable the implementation of the method embodiments described above.
The integrated units, if implemented in the form of software functional units and sold or used as stand-alone products, may be stored in a computer readable storage medium. Based on such understanding, the present application may implement all or part of the flow of the method of the above embodiments, and may be implemented by a computer program to instruct related hardware, where the computer program may be stored in a computer readable storage medium, and when the computer program is executed by a processor, the computer program may implement the steps of each of the method embodiments described above. Wherein the computer program comprises computer program code which may be in source code form, object code form, executable file or some intermediate form etc. The computer readable medium may include at least: any entity or device capable of carrying computer program code to a wearable device, a recording medium, a computer Memory, a Read-Only Memory (ROM), a random access Memory (RAM, random Access Memory), an electrical carrier signal, a telecommunications signal, and a software distribution medium. Such as a U-disk, removable hard disk, magnetic or optical disk, etc. In some jurisdictions, computer readable media may not be electrical carrier signals and telecommunications signals in accordance with legislation and patent practice.
Program code embodied on a computer readable medium may be transmitted using any appropriate medium, including but not limited to wireless, wireline, optical fiber cable, RF, etc., or any suitable combination of the foregoing.
Computer program code for carrying out operations for embodiments of the present application may be written in one or more programming languages, including an object oriented programming language such as python, java, smalltalk, C ++ and conventional procedural programming languages, such as the "C" programming language or similar programming languages. The program code may execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer or entirely on the remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer through any kind of network, including a Local Area Network (LAN) or a Wide Area Network (WAN), or may be connected to an external computer (for example, through the Internet using an Internet service provider).
In the foregoing embodiments, the descriptions of the embodiments are emphasized, and in part, not described or illustrated in any particular embodiment, reference is made to the related descriptions of other embodiments.
Those of ordinary skill in the art will appreciate that the various illustrative elements and algorithm steps described in connection with the embodiments disclosed herein may be implemented as electronic hardware, or combinations of computer software and electronic hardware. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the solution. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present application.
In the embodiments provided by the present application, it should be understood that the disclosed apparatus/wearable device and method may be implemented in other ways. For example, the apparatus/wearable device embodiments described above are merely illustrative, e.g., the division of the modules or units is merely a logical functional division, and there may be additional divisions in actual implementation, e.g., multiple units or components may be combined or integrated into another system, or some features may be omitted, or not performed. Alternatively, the coupling or direct coupling or communication connection shown or discussed may be an indirect coupling or communication connection via interfaces, devices or units, which may be in electrical, mechanical or other forms.
The units described as separate units may or may not be physically separate, and units shown as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
The above embodiments are only for illustrating the technical solution of the present application, and not for limiting the same; although the application 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 scheme described in the foregoing embodiments can be modified or some technical features thereof can be replaced by equivalents; such modifications and substitutions do not depart from the spirit and scope of the technical solutions of the embodiments of the present application, and are intended to be included in the scope of the present application.
Claims (11)
1. An inter-device communication method, applied to a wearable device, the method comprising:
detecting a first operation of a first function key acting on the wearable device;
If the first operation is a first preset operation, responding to the first operation, and sending a first instruction to a first electronic device in communication connection with the wearable device, wherein the first instruction is used for indicating the first electronic device to execute a first emergency event;
and if the first operation is a second preset operation, responding to the first operation, and sending a second instruction to the first electronic equipment, wherein the second instruction is used for indicating the first electronic equipment to execute a second emergency event.
2. The method of inter-device communication of claim 1, wherein the first emergency event is sending a distress command to a second electronic device, contact information of the second electronic device being stored in the first electronic device;
the second emergency event is an instruction of audio information or video information collected by the first electronic equipment, and the audio information or the video information is sent to the second electronic equipment; or (b)
If the first operation is a second preset operation, after responding to the first operation, starting a recording function of the wearable equipment to acquire audio information; correspondingly, the second emergency event is sending the audio information collected by the wearable device to the second electronic device.
3. The method of inter-device communication of claim 2, wherein after the sending the second instruction to the first electronic device, the method further comprises:
Receiving a third instruction, wherein the third instruction is used for indicating the wearable device to start a recording function of the wearable device; the third instruction is sent when the first electronic device collects that the sound of the wearable device wearer is smaller than a preset volume.
4. The method of inter-device communication of claim 2, wherein if the first operation is a first preset operation, in response to the first operation, the method further comprises:
The wearable device acquires position information of the wearable device by using a positioning sensor in the wearable device; correspondingly, the first instruction further comprises position information of the wearable device, and the first instruction is further used for indicating the first electronic device to send the position information of the wearable device to the second electronic device;
Or the first electronic equipment acquires the position information of the first electronic equipment; correspondingly, the first instruction further comprises position information of the first electronic device, and the first instruction is further used for indicating the first electronic device to send the position information of the first electronic device to the second electronic device.
5. The method of inter-device communication according to claim 1, wherein if the first operation is a first preset operation, sending, in response to the first operation, a first instruction to a first electronic device communicatively connected to the wearable device, includes:
And if the first preset operation is detected to be executed for a plurality of times within the preset time, responding to the first operation, and sending a first instruction to a first electronic device in communication connection with the wearable device.
6. The method of inter-device communication of any of claims 1-5, wherein the first preset operation is at least one of a single click, a double click, a long press; the second preset operation is at least one of single click, double click and long press.
7. The method of inter-device communication according to any of claims 1-5, wherein the method further comprises:
The wearable device acquires gesture information of the wearable device by utilizing a motion sensor in the wearable device;
Determining whether a wearer of the wearable device falls according to the posture information;
if the wearable device wearer is determined to fall and the wearable device wearer is detected to be in a falling state all the time within the preset time, a first instruction is sent to the first electronic device in communication connection with the wearable device.
8. The method of inter-device communication according to any of claims 1-5, wherein after the sending of the first instruction to a first electronic device communicatively connected to the wearable device, the method further comprises:
If the communication connection between the wearable device and the first electronic device is detected to be interrupted, or the wearable device does not receive a first response within a preset time, a fourth instruction is sent to a third electronic device in communication connection with the wearable device; the fourth instruction is configured to instruct the third electronic device to perform the first emergency event; the first response is a response sent by the first electronic device to the wearable device to receive the first instruction,
After the sending of the second instruction to the first electronic device, the method further includes:
if the communication connection between the wearable device and the first electronic device is detected to be interrupted, or the wearable device does not receive a second response within a preset time, a fifth instruction is sent to a third electronic device in communication connection with the wearable device; the fifth instructions are for instructing the third electronic device to perform the second emergency event; the second response is a response sent by the first electronic device to the wearable device to receive the second instruction.
9. A wearable device comprising a memory, a processor and a computer program stored in the memory and executable on the processor, the processor implementing the method of any of claims 1 to 8 when the computer program is executed.
10. An inter-device communication system, comprising a first electronic device, a second electronic device, and a wearable device;
The wearable device for performing the method of any of claims 1-8.
11. A computer readable storage medium storing a computer program, characterized in that the computer program when executed by a processor implements the method according to any one of claims 1 to 8.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202410767593.8A CN118574103A (en) | 2024-06-13 | 2024-06-13 | Inter-device communication method, inter-device communication system, wearable device and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202410767593.8A CN118574103A (en) | 2024-06-13 | 2024-06-13 | Inter-device communication method, inter-device communication system, wearable device and storage medium |
Publications (1)
Publication Number | Publication Date |
---|---|
CN118574103A true CN118574103A (en) | 2024-08-30 |
Family
ID=92472412
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202410767593.8A Pending CN118574103A (en) | 2024-06-13 | 2024-06-13 | Inter-device communication method, inter-device communication system, wearable device and storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN118574103A (en) |
-
2024
- 2024-06-13 CN CN202410767593.8A patent/CN118574103A/en active Pending
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US10798552B2 (en) | Emergency call-for-help method and system based on fingerprint identification for mobile terminal, and mobile terminal | |
US20170188216A1 (en) | Personal emergency saver system and method | |
US10276027B2 (en) | Mobile device loss prevention | |
US20130005295A1 (en) | Method for mobile device to autonomously report emergency, and recording medium and system thereof | |
US9706380B1 (en) | Providing emergency notification and tracking data from a mobile device | |
CN109561420B (en) | Emergency help-seeking method and related equipment | |
CN107464406A (en) | Alarm method, system and corresponding wearable device based on wearable device | |
CN105931428A (en) | Alarming method and apparatus | |
CN107566604B (en) | Message reminding control method and user terminal | |
CN106778591B (en) | Alarm method and device and mobile terminal | |
CN110650243B (en) | Alarm method, alarm device, storage medium and terminal | |
CN111357006A (en) | Fatigue prompting method and terminal | |
KR20150011684A (en) | Apparatus and method for emergency call of mobile terminal | |
CN107908939A (en) | Terminal alarms method, apparatus and mobile terminal | |
US9338624B2 (en) | Cellular telephone and computer program comprising means for generating and sending an alarm message | |
CN209883226U (en) | Intelligent bracelet capable of sending multi-mode distress message | |
KR102553745B1 (en) | System for providing emergency alarming service using voice message | |
KR101564347B1 (en) | Terminal and method for requesting emergency relief | |
CN110062412B (en) | Wireless pairing method, system, storage medium and mobile terminal | |
CN103905982A (en) | System for emergency rescue | |
CN109041212B (en) | Positioning method and wearable device | |
CN118574103A (en) | Inter-device communication method, inter-device communication system, wearable device and storage medium | |
CN105224214A (en) | A kind of method for controlling dialing and intelligent watch | |
CN110209258A (en) | Repositioning method, device, server cluster, electronic equipment and storage medium | |
WO2016082494A1 (en) | Remote assistance method and system, server, terminal, and storage medium |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication |