Method and system of underwater communication and corresponding device
Acoustic wave signals are used for effective underwater communication, addressing the attenuation of wireless signals in water, enabling long-distance communication with user-friendly identifiers and safety features.
Patent Information
- Application Number
- RU2026103900
- Authority / Receiving Office
- RU · RU
- Patent Type
- Patents
- Current Assignee / Owner
- Priority Date
- 2023-09-27
- Filing Date
- 2024-09-26
- Publication Date
- 2026-11-23
- Estimated Expiration
- 2044-09-26
AI Technical Summary
Traditional wireless communication methods, such as Bluetooth or radio frequency transmission, are severely attenuated in water, making long-distance underwater communication impossible.
Utilizing acoustic wave signals for underwater communication, which have lower attenuation in water, and incorporating features like user-set identifiers and environmental/physiological parameter monitoring to enhance communication range and safety.
Enables effective long-distance underwater communication with enhanced safety features, allowing users to identify senders, monitor environmental and physiological parameters, and maintain group communication.
Smart Images

Figure 00000001_ABST
Abstract
Description
[0001] Cross-reference to related application
[0002] This application claims priority to Chinese Patent Application No. 202311270413.7, filed with the National Intellectual Property Administration of China on September 27, 2023, and entitled "UNDERWATER COMMUNICATION METHOD AND SYSTEM, AND RELATED APPARATUS", which is incorporated herein by reference in its entirety.
[0003] Field of technology to which the invention relates
[0004] This application relates generally to the field of communications, and in particular to a method and system for underwater communications and a corresponding device.
[0005] Technology Level
[0006] With the continuous development of communication technology, more and more electronic devices support underwater communication, which greatly facilitates the work of users who need to carry out underwater work or who enjoy underwater sports such as scuba diving.
[0007] When the electronic device worn by the user is underwater, the user can use the electronic device to communicate with another electronic device through a traditional wireless communication method such as Bluetooth or radio frequency transmission.
[0008] However, in water, radio signals are greatly weakened, making long-distance underwater communication impossible.
[0009] Essence of the invention
[0010] This application provides a method and system for underwater communication and a corresponding device for implementing underwater communication between multiple electronic devices. Furthermore, the attenuation of the acoustic wave signal is lower than that of a traditional radio signal in water, and therefore the range of underwater communication can be increased by using the acoustic wave signal.
[0011] According to a first aspect, the present application provides a method for underwater communication applied in a first electronic device. The method includes: receiving a first operation of a user and, in response to the first operation, setting an identifier of the first electronic device to a first identifier; when the first electronic device is underwater, receiving a second operation of the user and, in response to the second operation, displaying one or more messages, where the one or more messages include a first message; and receiving a third selection operation performed by the user to send the first message, and, in response to the third operation, sending a first acoustic wave signal, where the first acoustic wave signal carries the first message and the first identifier.
[0012] Thus, underwater communication using acoustic wave signals has a greater range than traditional wireless communication. Furthermore, the transmitted information carries an identifier used to notify the receiver of the sender of the information.
[0013] In addition, the ID can be set by the user, and the user can also change the ID in different application scenarios. For example, the user ID in the first meeting refers to the instructor, and the user ID in the second meeting refers to the diving buddy. The user can set the ID to the instructor in the first meeting and change it to the diving buddy in the second meeting. In this way, the user can change the ID set in the electronic device based on the change in their ID, allowing the recipient to quickly identify the sender of the information based on the ID in the information.
[0014] In a possible implementation, before receiving the second operation, the method further includes the following: the first electronic device detects that the first electronic device is under water.
[0015] In a possible implementation, the first operation is an operation of selecting a first identifier, performed by the user; and the method further includes: displaying a list of identifiers before receiving the first operation, where the list of identifiers includes a plurality of identifiers, and this plurality of identifiers includes the first identifier.
[0016] In this way, the user can be provided with multiple additional identifiers to simplify the operations performed by the user and reduce the time required to complete them.
[0017] In a possible implementation, the first operation is an operation of entering the first identifier performed by the user.
[0018] This way, the user can also enter the ID.
[0019] In a possible implementation, the first electronic device further includes a first button, and the second operation is an operation performed by a user using the first button.
[0020] Thus, under water, the first electronic device can be activated by a button (including the crown, etc.) to display one or more messages.
[0021] In a possible implementation, the first electronic device further includes a second button and a third button; and receiving a third selection operation by the user, sending a first message and, in response to the third operation, sending a first acoustic wave signal includes: receiving an operation performed by the user on the second button, and, in response to the operation performed by the user on the second button, displaying a selection indicator on the first message, where the selection indicator indicates to the user that the first message is selected; and receiving an operation performed by the user on the third button, and, in response to the operation performed by the user on the third button, sending the first acoustic wave signal.
[0022] Thus, under water, the first electronic device can be activated by a button (including the crown, etc.) to send the first message.
[0023] In a possible implementation, the first electronic device may include a first button; a second operation is a pressing operation performed by the user on the first button; a third operation is a rotation operation performed by the user on the first button; or the third operation is a pressing operation performed by the user on the first button.
[0024] In another possible implementation, the first electronic device may include a first button and a second button; the second operation is a pressing operation performed by the user on the first button; the third operation is a rotation operation performed by the user on the second button; or the third operation is a pressing operation performed by the user on the second button.
[0025] It should be understood that the above multiple implementations are merely examples. The first electronic device may include one or more buttons, and the methods for performing the second and third operations may also be other methods. This is not limited to the present application.
[0026] In a possible implementation, the method further includes: monitoring a first physiological parameter of a user, where the first physiological parameter is any of the following: body temperature, heart rate, blood pressure, blood oxygen saturation, or the concentration of toxins in the central nervous system; and sending a second acoustic wave signal when the first electronic device is under water and during monitoring it is determined that the first physiological parameter is outside the first range, where the second acoustic wave signal carries second information and a first identifier, and the second information is used to notify the recipient that the first physiological parameter of the user of the first electronic device has deviated from the norm.
[0027] Thus, when it is determined during monitoring that any physiological parameter of the user has deviated from the norm, the first electronic device can be activated to send information to notify the partner that the user of the first electronic device is encountering an abnormal situation.
[0028] In a possible implementation, the method further includes: monitoring a first parameter of the environmental monitoring equipment, where the first parameter of the environmental monitoring equipment is any of the following: water temperature, water depth, water flow rate, ambient light intensity, water pressure, remaining oxygen, remaining safe underwater time, no-decompression underwater limit, or underwater diving duration;and sending a third acoustic wave signal when the first electronic device is under water and during monitoring it is determined that the first parameter of the environmental monitoring equipment is outside the second range, where the third acoustic wave signal carries third information and the first identifier, and the third information is used to notify the recipient that the first parameter of the environmental monitoring equipment of the first electronic device has deviated from the norm.
[0029] Therefore, when it is determined during monitoring that the parameter of the environmental monitoring equipment has deviated from the normal range, the first electronic device can be activated to send information to notify the partner that the equipment or environmental parameters of the first electronic device have deviated from the normal range.
[0030] In a possible implementation, the method further includes: monitoring the diving status, where the diving status includes one or more of the following: surfacing, diving, or stopping; and sending a fourth acoustic wave signal when the first parameter of the environmental monitoring equipment reaches a first value, where the fourth acoustic wave signal carries fourth information and a first identifier, the fourth information includes the first parameter of the environmental monitoring equipment and the first diving status, and the first diving status is the diving status of the first electronic device.
[0031] Therefore, when the environmental monitoring equipment parameter is found to have reached a certain value during monitoring, the first electronic device can be activated to simultaneously send the diving status and the environmental monitoring equipment parameter.
[0032] In a possible implementation, the method further includes: monitoring a first diving parameter, where the first diving parameter is any of the following parameters: stop duration, ascent rate, or dive rate; and sending a fifth acoustic wave signal when the first electronic device is under water and during monitoring it is determined that the first diving parameter is outside the third range, where the fifth acoustic wave signal carries fifth information and a first identifier, and the fifth information is used to notify the recipient that the first diving parameter of the first electronic device has deviated from the norm.
[0033] Therefore, when the diving parameter is detected to be abnormal during monitoring, the first electronic device can be activated to send information to notify the partner that the user of the first electronic device is encountering an abnormal situation.
[0034] It should be understood that the above numerous implementations are merely examples. In some possible implementations, the first electronic device may also send a special message upon detecting that one or more parameters, such as a physiological parameter, an environmental monitoring equipment parameter, a diving status, and a diving parameter, meet a certain condition. This is not limited to the present application.
[0035] In a possible implementation, the first acoustic wave signal further carries an identifier of the first group, and the identifier of the first group indicates that the first electronic device belongs to the first group; and the method further includes: before receiving the second operation, receiving a fourth operation of joining the user to the first group; broadcasting the identifier of the first group and the first identifier in response to the fourth operation; receiving the identifier of the first group and the second identifier sent by the second electronic device, where the second identifier is the identifier of the second electronic device; and displaying a list of participants of the first group, where the list of participants includes the first and second identifiers.
[0036] This way, electronic devices in the same group can communicate with each other.
[0037] In a possible implementation, the first acoustic wave signal further carries an identifier of the first group, and the identifier of the first group indicates that the first electronic device belongs to the first group. The method further includes: before receiving the second operation, receiving a fifth operation of creating the first group by the user; broadcasting the identifier of the first group and the first identifier in response to the fifth operation; receiving the identifier of the first group and the second identifier that were sent by the second electronic device, where the second identifier is the identifier of the second electronic device; and broadcasting the identifier of the first group and a list of participants of the first group, where the list of participants includes the first identifier and the second identifier.
[0038] Thus, the first electronic device can create the first group and determine in response to the group creation operation that the first electronic device is the group's central device. The central device can broadcast a list of the group's members after updating the member list.
[0039] In some other possible implementations, the first electronic device may also determine, based on one or more parameters such as an identifier (e.g., instructor) of the first electronic device, the device's operating resource (e.g., battery charge level), the time sequence for joining the group, etc., that the first electronic device is the central device of the group. This is not limited to the present application.
[0040] In a possible implementation, the method further includes: displaying the sixth information and the second identifier upon receiving the sixth acoustic wave signal sent by the second electronic device, where the sixth acoustic wave signal carries the sixth information, the identifier of the first group and the second identifier; and omitting displaying the seventh information upon receiving the seventh acoustic wave signal sent by the third electronic device, where the seventh acoustic wave signal carries the seventh information and the third identifier, wherein the third identifier is the identifier of the third electronic device, and the third electronic device does not belong to the first group.
[0041] Therefore, when receiving a message sent by an electronic device that does not belong to the same group, the message may not be displayed.
[0042] In a possible implementation, the method further includes: sending an eighth acoustic wave signal at a first time when the first electronic device is under water, wherein the eighth acoustic wave signal carries the first identifier and the first time; receiving, at a second time, a ninth acoustic wave signal sent by the second electronic device, wherein the ninth acoustic wave signal is an acoustic wave signal sent by the second electronic device when the second electronic device has received the eighth acoustic wave signal, and the ninth acoustic wave signal carries the time of sending the ninth acoustic wave signal and the second identifier of the second electronic device;and, in response to the ninth acoustic wave signal, outputting distance information based on the time of sending the ninth acoustic wave signal and the second time, wherein the distance information indicates a distance between the first electronic device and the second electronic device.
[0043] In this way, the first electronic device can detect the distance between the first electronic device and the second electronic device in real time, which facilitates the detection of the distance between the first electronic device and the partner and improves the safety of underwater diving.
[0044] In a possible implementation, before sending the eighth acoustic wave signal, the method further includes the following: the first electronic device receives an operation of turning on the distance control function performed by the user, and, in response to this operation, turns on the distance control function.
[0045] Thus, after the distance control function is turned on, the first electronic device can monitor the distance between the first electronic device and the second electronic device in real time.
[0046] In another possible implementation, the first electronic device may monitor the distance between the first electronic device and the second electronic device in real time without manual intervention by the user.
[0047] In a possible implementation, the method further includes: sending an eighth acoustic wave signal at a first time when the first electronic device is under water, wherein the eighth acoustic wave signal carries a first identifier; receiving, at a second time, a ninth acoustic wave signal sent by the second electronic device, wherein the ninth acoustic wave signal is an acoustic wave signal sent by the second electronic device when the second electronic device has received the eighth acoustic wave signal, and the ninth acoustic wave signal carries a second identifier of the second electronic device; sending a tenth acoustic wave signal at a third time, wherein the tenth acoustic wave signal carries the first identifier;receiving, at a fourth time, an eleventh acoustic wave signal sent by a second electronic device, wherein the eleventh acoustic wave signal is an acoustic wave signal sent by the second electronic device when the second electronic device has received the tenth acoustic wave signal, and the eleventh acoustic wave signal carries a second identifier of the second electronic device; and outputting a distance hint based on the first time interval and the second time interval, where the distance hint informs the user of a change in the distance between the first electronic device and the second electronic device, the first time interval is a time interval between the first time instant and the second time instant, and the second time interval is a time interval between the third time instant and the fourth time instant.
[0048] In this way, the first electronic device can detect the change in the distance between the first electronic device and the second electronic device in real time, thereby improving the safety of underwater diving.
[0049] In a possible implementation, outputting a distance hint based on a first time interval and a second time interval includes: outputting a first distance hint when the first time interval is greater than the second time interval, wherein the first request indicates to the user that the distance between the first electronic device and the second electronic device is decreasing; and outputting a second distance hint when the first time interval is less than the second time interval, wherein the second distance hint indicates to the user that the distance between the first electronic device and the second electronic device is increasing.
[0050] Thus, the distance prompt can be output in real time, indicating whether the distance between two electronic devices is increasing or decreasing.
[0051] In a possible implementation, the method further includes: displaying a first prompt before receiving the first operation, where the first prompt indicates to the user that the identifier of the first electronic device is not set; and receiving the first operation of the user and, in response to the first operation, setting the identifier of the first electronic device to the first identifier includes: receiving the first operation of the user and, in response to the first operation, displaying a second prompt, where the second prompt indicates to the user that the identifier of the first electronic device is the first identifier.
[0052] In this way, the first electronic device can set an identifier based on the user's operation.
[0053] According to a second aspect, the present application provides an underwater communication method applied to a buoy device, wherein the buoy device stores information about a first location, and the information about the first location indicates a location of the buoy device.The method includes: receiving, at a fifth time, a twelfth acoustic wave signal sent by a first electronic device from under water, where the twelfth acoustic wave signal carries a first identifier of the first electronic device and a first sending time, and the first sending time is the sending time of the twelfth acoustic wave signal; determining information about a second location based on the fifth time, the first sending time and information about the first location, where the information about the second location indicates the location of the first electronic device; and sending a first radio signal to a second electronic device that is not in water, where the first radio signal includes information about the second location.
[0054] In this way, the location information of the underwater electronic device can be transmitted to the shore electronic device via the buoy, so that the shore electronic device can determine the location of the underwater electronic device.
[0055] In a possible implementation, the method further includes: sending a thirteenth acoustic wave signal to the first electronic device after determining the second location information, where the thirteenth acoustic wave signal carries the second location information.
[0056] Thus, the beacon device may also transmit location information of the first electronic device to the first electronic device so that the user of the first electronic device can determine the location of the user.
[0057] According to a third aspect, the present application provides an electronic device. The electronic device is a first electronic device and includes one or more processors, one or more memory devices, a display, and a sound reproduction module. One or more memory devices are connected to one or more processors. One or more memory devices are configured to store program code. The program code includes computer instructions. When one or more processors execute the computer instructions, the first electronic device is activated to perform the underwater communication method according to any possible implementation of any of the above-mentioned aspects.
[0058] In a possible implementation, the sound reproduction module is attached to the rear portion of the housing of the first electronic device, and the sound reproduction module is configured to drive the rear portion of the housing, causing vibration and sending out an acoustic wave signal.
[0059] In this way, the acoustic wave signal can be directly transmitted into the water through the vibration of the rear body, thereby reducing transmission loss.
[0060] According to a fourth aspect, an embodiment of the present application provides a computer storage medium including computer instructions. When the computer instructions are executed in a first electronic device, the first electronic device is activated to perform an underwater communication method according to any possible implementation of any of the above-mentioned aspects.
[0061] According to a fifth aspect, an embodiment of the present application provides a software product. When the software product is launched in a first electronic device, the first electronic device is activated to perform an underwater communication method according to any possible implementation of any of the above-mentioned aspects.
[0062] Regarding the positive effects of the third aspect – the fifth aspect, one should refer to the positive effects of the first aspect.
[0063] According to a sixth aspect, the present application provides a buoyant device including one or more processors and one or more memory devices. The one or more memory devices are connected to one or more processors. The one or more memory devices are configured to store program code. The program code includes computer instructions. When one or more processors execute the computer instructions, the buoyant device begins to perform an underwater communication method according to any possible implementation of the second aspect.
[0064] According to a seventh aspect, an embodiment of the present application provides a computer storage medium including computer instructions. When the computer instructions are executed in a buoy device, the buoy device begins to perform an underwater communication method according to any possible implementation of the second aspect.
[0065] According to the eighth aspect, an embodiment of the present application provides a software product. When the software product is launched in a buoy, the buoy begins to perform an underwater communication method according to any possible implementation of the second aspect.
[0066] Regarding the positive effects of the sixth aspect – the eighth aspect, one should refer to the positive effects of the second aspect.
[0067] Brief description of drawings
[0068] Fig. 1A is a schematic representation of the architecture of an underwater communication system 10 according to an embodiment of the present application;
[0069] Fig. 1B is a schematic representation of the hardware structure of the electronic device 100 according to an embodiment of the present application;
[0070] Fig. 1C is a schematic diagram of a connection of a receiving module and a transmitting module for an acoustic wave signal according to an embodiment of the present application;
[0071] Fig. 1D is a schematic diagram of the arrangement of the sound reproduction module 170D in the electronic device 100 according to an embodiment of the present application;
[0072] Fig. 1E is a schematic diagram of another arrangement of the sound reproduction module 170D in the electronic device 100 according to an embodiment of the present application;
[0073] Fig. 1F is a schematic diagram of the relationship between the deformation of the sound reproduction module 170D and the waveform of the generated acoustic wave signal according to an embodiment of the present application;
[0074] Fig. 2A-2F are schematic representations of a group of interfaces for setting an identifier of an electronic device 100 according to an embodiment of the present application;
[0075] Fig. 3A-3F are schematic representations of a group of interfaces for sending information by an electronic device 100 underwater according to an embodiment of the present application;
[0076] Fig.4A-4E are schematic representations of a group of interfaces for connecting to / exiting from a group by an electronic device 100 according to an embodiment of the present application;
[0077] Fig. 5A-5F are schematic representations of a group of interfaces for setting the condition for sending information on the electronic device 100 according to an embodiment of the present application;
[0078] Fig. 5G is a schematic representation of an interface for receiving a confirmation message by an electronic device 100 according to an embodiment of the present application;
[0079] Fig. 5H is a schematic diagram of an interface for outputting a hint about changing the distance by the electronic device 100 according to an embodiment of the present application;
[0080] Fig. 6A is a schematic representation of an algorithm of an underwater communication method according to an embodiment of the present application;
[0081] Fig. 6B is a schematic diagram of the structure of an acoustic wave signal according to an embodiment of the present application;
[0082] Fig. 6C is a schematic representation of a waveform of an acoustic wave signal according to an embodiment of the present application;
[0083] Fig. 7 is a schematic representation of an algorithm for receiving, by an electronic device 200 underwater, target information sent by an electronic device 100 according to an embodiment of the present application;
[0084] Fig. 8 is a schematic representation of a group joining algorithm performed by an electronic device 100, according to an embodiment of the present application;
[0085] Fig. 9 is a schematic representation of another group joining algorithm performed by the electronic device 100 according to an embodiment of the present application;
[0086] Fig. 10 is a schematic representation of an algorithm of a method for determining a change in the distance between an electronic device 100 and an electronic device 200 based on underwater communication according to an embodiment of the present application;
[0087] Fig. 11 – schematic representation of functional modules of the electronic device 100 according to an embodiment of the present application;
[0088] Fig. 12 is a schematic representation of the architecture of the underwater communication system 20 according to an embodiment of the present application;
[0089] Fig. 13 is a schematic representation of an algorithm of an underwater communication method according to an embodiment of the present application; and
[0090] Fig. 14 is a schematic representation of an algorithm of another method of underwater communication according to an embodiment of the present application.
[0091] Detailed description of the invention
[0092] Below, a detailed description of the technical solutions provided in the embodiments of the present application is provided with reference to the accompanying drawings. In the descriptions of the embodiments of the present application, unless otherwise specified, the symbol " / " means "or." For example, A / B may denote A or B. The term "and / or" in this specification simply describes an association relationship for describing associated objects and indicates that three relationships may exist. For example, A and / or B may denote the following three cases: only A exists, both A and B exist, and only B exists. In addition, in the descriptions of the embodiments of the present application, "plural" means two or more.
[0093] The terms "first" and "second" as used herein are for descriptive purposes only and are not intended to indicate or denote relative importance or implicitly indicate the number of technical features specified. Thus, a feature defined by the terms "first" and "second" may explicitly or implicitly include one or more features. In the descriptions of embodiments of the present application, unless otherwise specified, "plurality" means two or more.
[0094] The term "user interface" (UI) in the following embodiments of the present application refers to a physical interface for interaction and information exchange between an application or operating system and a user, and implements the transformation between the internal form of information and the form acceptable to the user. The user interface is a source code written in a specific programming language, such as Java, or in an extensible markup language (XML). The interface source code is parsed and displayed on an electronic device, and finally presented as content that can be identified by the user. A frequently used form of user interface presentation is a graphical user interface (GUI), which is displayed in graphic form and which relates to a computer operation.A user interface may be a visual interface element, such as text, an icon, a button, a menu, a tab, a text field, a dialog box, a status bar, a navigation bar, or a widget, displayed on the display screen of an electronic device.
[0095] Fig. 1A shows a schematic diagram of the architecture of an underwater communication system 10 according to an embodiment of the present application.
[0096] As shown in Fig. 1A, the underwater communication system 10 may include an electronic device 100 and an electronic device 200.
[0097] The electronic device 100 may include one or more buttons, such as a button 11, a button 12, and a button 13. In some embodiments, the button 11 may be located at the 10 o'clock position of the electronic device 100, the button 12 is at the 2 o'clock position, and the button 13 is at the 4 o'clock position. The electronic device 200 may also include one or more buttons, such as a button 21, a button 22, and a button 23. For a description of the buttons of the electronic device 200, please refer to the corresponding description of the buttons of the electronic device 100." Details are not given here. After the electronic device 100 and the electronic device 200 are immersed in water, the user can perform operations such as sending and viewing information by pressing the button. 0098 When the electronic device 100 and the electronic device 200 are underwater, they can perform underwater communication using underwater acoustic communication technology. The electronic device 100 can generate an acoustic wave signal carrying information using a buzzer and transmit this signal into the surrounding environment using water as a propagation medium. The electronic device 200 can receive the acoustic wave signal carrying information through a microphone or sound sensor to perform underwater communication between the electronic device 100 and the electronic device 200. It can be understood that the electronic device 200 can also transmit information to the electronic device 100 in the above-mentioned manner. The acoustic wave signal can include an ultrasonic signal, a subsonic signal, and an acoustic wave signal that can be heard by the human ear.The frequency range of the acoustic wave signal is not limited in the embodiments of the present application.
[0099] In some embodiments, when neither the electronic device 100 nor the electronic device 200 is underwater, the electronic device 100 and the electronic device 200 can communicate with each other wirelessly, for example, via Bluetooth or a wireless local area network. This is not limited to the present application.
[0100] It can be understood that the embodiment shown in Fig. 1A is only an example. In the embodiments of the present application, the underwater communication system 10 may further include more electronic devices. In addition, the electronic device 100 (or electronic device 200) may also include more or fewer buttons, and the button arrangement may differ from the arrangement shown in the above-mentioned embodiment. This is not limited to the present application.
[0101] It should be noted that the electronic device 100 and the electronic device 200 may be a watch as shown in Fig. 1A or other wearable devices such as a bracelet and smart glasses. The specific types and shapes of the electronic devices 100 and 200 are not limited to the embodiments of the present application.
[0102] Fig. 1B shows a schematic diagram of the hardware structure of the electronic device 100.
[0103] The electronic device 100 may be a wearable device such as a watch, bracelet, or smart glasses. In the embodiments of the present application, the specific type of electronic device is not limited.
[0104] The electronic device 100 may include a processor 110, an internal memory 121, a universal serial bus (USB) interface 130, a charging control module 140, a power control module 141, a battery 142, an audio module 170, a speaker 170A, a receiver 170B, a microphone 170C, a sound reproduction module 170D, a sensor module 180, a button 190, a motor 191, an indicator 192, a display 194, etc. If necessary, the electronic device 100 may further include a wireless communication module 160, etc. The sensor module 180 may include one or more sensors, such as a pressure sensor 180A, a temperature sensor 180J, a touch sensor 180K, a heart rate sensor 180N, an illumination sensor 180O, and a depth sensor 180P.If necessary, the sensor module 180 may further include one or more of the following sensors: a gyroscopic sensor 180B, a magnetic sensor 180D, an acceleration sensor 180E, a distance sensor 180F, a sound sensor 180Q, etc.
[0105] It can be understood that the structure shown in this embodiment of the present application is not a particular limitation for the electronic device 100. In some other embodiments of the present application, the electronic device 100 may have more or fewer components than shown in the drawing, or have some components that are combined or some components that are separated, or have a different arrangement of components. The components shown in the drawing can be implemented using hardware, software, or a combination of software and hardware.
[0106] The processor 110 may include one or more processing units. For example, the processor 110 may include an application processor (AP), a modem processor, a graphics processing unit (GPU), an image signal processor (ISP), a controller, a video codec, a digital signal processor (DSP), a baseband processor, a neural network processing unit (NPU), and / or the like. The various processing units may be independent components or may be integrated into one or more processors.
[0107] The controller can generate a control signal based on the instruction opcode and the time sequence signal to control instruction fetching and instruction execution.
[0108] Processor 110 may additionally include memory configured to store instructions and data. In some embodiments, the memory in processor 110 is cache memory. The memory may store instructions or data that have been recently accessed or cyclically accessed by processor 110. If processor 110 needs to access instructions or data again, it can directly retrieve the instructions or data from the memory. This avoids repeated access and reduces the latency of processor 110, thereby improving system efficiency.
[0109] In some embodiments, the processor 110 may include one or more interfaces. The interface may include an inter-integrated circuit (I2C) interface, an inter-integrated circuit sound (I2S) interface, a pulse code modulation (PCM) interface, a universal asynchronous receiver / transmitter (UART) interface, a mobile industry processor interface (MIPI), a general-purpose input / output (GPIO) interface, a subscriber identity module (SIM) interface, a universal serial bus (USB) interface, and / or the like.
[0110] The charging control module 140 is configured to receive charging input from a charging device. The charging device may be wireless or wired. In some embodiments of wired charging, the charging control module 140 may receive charging input from a wired charger via the USB interface 130. In some embodiments of wireless charging, the charging control module 140 may receive wireless charging input using the wireless charging coil of the mobile terminal 100. During charging of the battery 142, the charging control module 140 may additionally supply power to the mobile terminal using the power control module 141.
[0111] The power management module 141 is configured to be connected to the battery 142, the charging control module 140 and the processor 110. The power management module 141 receives an input signal from the battery 142 and / or the charging control module 140 and supplies power to the processor 110, the internal memory 121, the display 194, the wireless communication module 160, etc. The power management module 141 can be further configured to monitor such parameters as the capacity of the battery, the number of charge / discharge cycles of the battery and the technical condition of the battery (electrical leakage or impedance). In some other embodiments, the power management module 141 can also be located in the processor 110. In some other embodiments, the power management module 141 and the charging control module 140 can also be located in the same component.
[0112] The wireless communication module 160 may provide a wireless communication solution applied in the electronic device 100 and including one or more of: a wireless local area network (WLAN) (for example, a wireless fidelity network (Wi-Fi)), Bluetooth technology (BT), a global navigation satellite system (GNSS), frequency modulation (FM), near field communication (NFC), infrared technology (IR) or the like. The wireless communication module 160 may be one or more components that combine at least one communication processing module. The wireless communication module 160 can receive an electromagnetic wave through an antenna, perform frequency demodulation and filtering of the electromagnetic wave signal, and send the processed signal to the processor 110.The wireless communication module 160 may further receive from the processor 110 a signal to be sent, perform frequency modulation and amplification of the signal, and convert the signal into an electromagnetic wave for emission through an antenna.
[0113] The electronic device 100 can implement a display function using a GPU, display 194, application processor, and the like. The GPU is a microprocessor for image processing and is connected to display 194 and the application processor. The GPU is configured to perform mathematical and geometric calculations and image rendering. Processor 110 may include one or more GPUs that execute software instructions to generate or modify information on the display.
[0114] Display 194 is configured to display images, videos, etc. Display 194 includes a display panel. The display panel may be a liquid crystal display (LCD). The display panel may be further manufactured using organic light-emitting diodes (OLEDs), active-matrix organic light-emitting diodes (AMOLEDs), flexible light-emitting diodes (FLEDs), mini light-emitting diodes, micro light-emitting diodes, micro OLEDs, quantum dot light-emitting diodes (QLEDs), or the like. In some embodiments, the electronic device 100 may include one or N displays 194, where N is a positive integer greater than 1.
[0115] The internal memory 121 may include one or more random access memories (RAM) and one or more nonvolatile memories (NVM). The RAM can be directly read and written by the processor 110. The RAM can be configured to store executable programs (e.g., machine instructions) in an operating system or other operating program and can be configured to store user data, application data, etc. The nonvolatile memory can also store executable programs, user and application data, etc., and can be preloaded into the RAM for direct reading and writing by the processor 110.
[0116] The audio module 170 may include a speaker 170A, a receiver 170B, a microphone 170C, an audio playback module 170D, and the like. The electronic device 100 can implement the audio function using the audio module 170, the speaker 170A, the receiver 170B, the microphone 170C, the audio playback module 170D, the application processor, and the like.
[0117] The audio module 170 is configured to convert digital audio information into an analog audio signal for output and is also configured to convert an analog audio input into a digital audio signal. The audio module 170 may further be configured to encode and decode the audio signal. In some embodiments, the audio module 170 may be located in the processor 110, or some functional modules of the audio module 170 may be located in the processor 110.
[0118] The 170A speaker, also called a "loudspeaker", is capable of converting an electrical audio signal into an acoustic wave signal.
[0119] The receiver 170B, also called an "earphone", is capable of converting an electrical audio signal into an acoustic wave signal.
[0120] Microphone 170C, also referred to as a "microphone" or "voice transmitter," is configured to convert an acoustic wave signal into an electrical signal. At least one microphone 170C may be located in the electronic device 100. In some other embodiments, two microphones 170C may be located in the electronic device 100 to capture the acoustic wave signal and implement a noise reduction function. In some other embodiments, three, four or more microphones 170C may be located in the electronic device 100 to capture the acoustic wave signal, reduce noise, further recognize the sound source, implement a directional recording function, etc. In embodiments of the present application, microphone 170C may be configured to capture an acoustic wave signal transmitted by another electronic device.
[0121] The sound reproduction module 170D may be configured to convert an electrical signal into an audio signal. In embodiments of the present application, the sound reproduction module 170D is configured to generate an acoustic wave signal carrying information. The sound reproduction module 170D may include a sensor, such as a moving coil sensor or a piezoelectric sensor, which can perform electro-acoustic conversion. In some embodiments, the sound reproduction module 170D may include a buzzer. In some other embodiments, the sound reproduction module 170D may include a sound reproduction component made of a piezoelectric material, such as a piezoelectric sheet. The piezoelectric sheet may have a ring shape, a semicircular ring shape, or another shape. This is not limited to the present application.
[0122] The pressure sensor 180A is configured to measure a pressure signal and can convert the pressure signal into an electrical signal. In some embodiments, the pressure sensor 180A can be located on the display 194. In some embodiments, the pressure sensor 180A can be further configured to measure a physiological parameter (e.g., blood pressure) of the user. In some other embodiments, the pressure sensor 180A can be configured to measure water pressure and determine the user's immersion depth based on the relationship between water pressure and water depth.
[0123] The gyroscopic sensor 180B can be configured to detect the position of the moving electronic device 100. In some embodiments, the angular velocity of the electronic device 100 around three axes (namely, the x, y, and z axes) can be determined using the gyroscopic sensor 180B. The gyroscopic sensor 180B can be configured to implement image stabilization during shooting. For example, when the shutter button is pressed, the gyroscopic sensor 180B determines the angle at which the electronic device 100 shakes and calculates, based on this angle, the distance by which the lens module should compensate for the shake so that the lens compensates for the shake of the electronic device 100 by reverse movement to implement image stabilization. The gyroscopic sensor 180B can also be used in a navigation scenario and a game scenario with motion recognition.
[0124] Magnetic sensor 180D includes a Hall sensor. Electronic device 100 can detect a magnetic field using magnetic sensor 180D.
[0125] Acceleration sensor 180E can detect acceleration values in various directions (typically along three axes) of electronic device 100. When electronic device 100 is stationary, the magnitude and direction of gravity can be determined. Acceleration sensor 180E can further be configured to detect the position of the electronic device and is used in applications such as switching between landscape and portrait modes or as a pedometer.
[0126] Distance sensor 180F is configured to measure distance. Electronic device 100 may measure distance using infrared radiation or laser radiation. In some embodiments, in a shooting scenario, electronic device 100 may measure distance using distance sensor 180F to achieve fast focusing. 0127 Temperature sensor 180J is configured to measure temperature. Temperature sensor 180J may include a body temperature sensor and a water temperature sensor. The body temperature sensor is configured to monitor the user's body temperature. The water temperature sensor may be configured to monitor the water temperature. In some embodiments, the temperature sensor may further monitor the temperature of electronic device 100.
[0128] The touch sensor 180K is also called a "touch device." The touch sensor 180K can be located on the display 194, and the touch sensor 180K and the display 194 form a touch screen, which is also called a "touch screen." The touch sensor 180K is configured to detect a touch performed on or near the touch sensor. The touch sensor can transmit the detected touch to the application processor to determine the type of touch event. The visual output associated with the touch can be performed through the display 194. In some other embodiments, the touch sensor 180K can also be located on the surface of the electronic device 100 in a location different from the location of the display 194.
[0129] The 180N heart rate sensor can be configured to monitor the heart rate of the user.
[0130] The illumination sensor 180O, also referred to as the ambient light sensor, is configured to measure the ambient light brightness. In this embodiment of the present application, the electronic device 100 can determine the user's environment based on the ambient light brightness detected by the illumination sensor 180O.
[0131] The depth sensor 180P can be configured to detect the depth of the electronic device 100 under water.
[0132] Sound sensor 180Q can be configured to capture an acoustic wave signal, allowing electronic device 100 to identify transmitted information from the captured acoustic wave signal. Sound sensor 180Q can be an acoustic-electric sensor, such as a moving coil sensor, a capacitive sensor, or a piezoelectric sensor.
[0133] The button 190 includes a power button, a volume control button, a crown, and the like. The button 190 may be a mechanical button or a touch button. The electronic device 100 may receive an input signal from the button and generate an input signal of the button associated with user settings and a functional control element of the electronic device 100. In this embodiment of the present application, the button 190 may include a button 11, a button 12, a button 13, and the like shown in Fig. 1A.
[0134] Motor 191 can generate vibration prompts. Motor 191 can be configured to provide vibration prompts for incoming information and haptic vibration feedback. When receiving different types of information, motor 191 can also produce different vibration feedback effects. The vibration feedback effect can also be customized by the user.
[0135] The indicator 192 may be a light indicator and may be configured to display the charging status and power change, or may be configured to display a message, notification, etc.
[0136] In this embodiment of the present application, with regard to the description of the hardware structure of the electronic device 200 and the hardware structure of another electronic device in the underwater communication system 10, reference should be made to the corresponding description of the hardware structure of the electronic device 100 shown in Fig. 1B. The details are not described again here.
[0137] Fig. 1C is a schematic diagram of a connection relationship of a receiving module and a transmitting module for an acoustic wave signal according to an embodiment of the present application.
[0138] As shown in Fig. 1C, the electronic device 100 may include a processor 110, a receiving module 101, a transmitting module 102, a filtering and amplifying circuit 103, a power amplifying circuit 104, an analog-to-digital converter 105, a digital-to-analog converter 106, and the like.
[0139] The receiving module 101 can capture an acoustic wave signal, and the receiving module 101 can include a sensor, such as a moving coil sensor or a piezoelectric sensor, capable of performing acoustic-electrical conversion. For example, the receiving module 101 can include one or more of the following elements: a microphone 170C, a sound sensor 180Q, and the like. The receiving module 101 can convert the captured acoustic wave signal into an electrical signal and send this electrical signal to the filtering and amplifying circuit 103.
[0140] The filtering and amplifying circuit 103 can filter and amplify the electrical signal sent by the receiving module 101, namely, filter the noise signal, amplify the electrical signal received as a result of filtering, and send the processed electrical signal to the analog-to-digital converter 105.
[0141] The analog-to-digital converter 105 can receive the electrical signal sent by the filtering and amplifying circuit 103, convert the electrical signal (namely, the analog signal) into a digital signal, and send the digital signal to the processor 110.
[0142] Processor 110 can receive a digital signal sent by analog-to-digital converter 105 and, based on this digital signal, determine information and an identifier carried in the received acoustic wave signal. After determining the information to be sent, processor 110 can further encode the information and the identifier of electronic device 100 to obtain a digital signal corresponding to the target information and send the digital signal corresponding to the target information to digital-to-analog converter 106.
[0143] Digital-to-analog converter 106 can receive the digital signal sent by processor 110 and convert the digital signal into an analog signal, namely, an electrical signal corresponding to the digital signal. Digital-to-analog converter 106 can then transmit the converted electrical signal to power amplification circuit 104.
[0144] After receiving the electrical signal sent by the digital-to-analog converter 106, the power amplification circuit 104 can amplify the electrical signal and send the processed electrical signal to the transmission module 102.
[0145] The transmission module 102 may include a sensor, for example, a moving coil sensor or a piezoelectric sensor, capable of performing electro-acoustic conversion. The transmission module 102 may receive an electrical signal sent by the power amplification circuit 104, convert the electrical signal into an acoustic wave signal, and then transmit the acoustic wave signal to the outside. In some embodiments, a transmission control circuit may be located in the transmission module 102, and the transmission control circuit is configured to control the transmission module 102 to transmit the acoustic wave signal. In some other embodiments, the transmission control circuit may be located outside the transmission module 102, connected to the transmission module 102, and configured to control the transmission module 102 to transmit the acoustic wave signal.
[0146] In some embodiments, the transmitting module 102 and the receiving module 101 may alternately use the same module and transmit or receive a signal in a half-duplex mode. This is not limited to the present application.
[0147] It should be noted that, with regard to the connection relationship between the receiving module and the transmitting module for the acoustic wave signal in each of the electronic device 200 and the other electronic device in the underwater communication system 10, reference should be made to the embodiment shown in Fig. 1C. The details will not be described again here.
[0148] Fig. 1D is a schematic diagram showing the location relationship of the audio reproducing module 170D in the electronic device 100 according to an embodiment of the present application.
[0149] As shown in Fig. 1D, the audio playback module 170D and the battery pack 142 can be sequentially arranged under the display 194. The audio playback module 170D can be fixed between the display 194 and the battery pack 142 using a support. The audio playback module 170D and the battery pack 142 can be respectively attached (for example, glued) to the upper and lower parts of the support. There is a gap (also called an upper gap) between the audio playback module 170D and the display 194, and there is a gap (also called a lower gap) between the audio playback module 170D and the battery pack 142. The upper gap and the lower gap can provide a reserve space for the upward and downward vibration of the audio playback module 170D.Additionally, as the battery expands after prolonged use, the lower gap may provide additional space for expansion. The support material may be an insulating material, or the support surface may be insulated. The support may have a ring structure (or other shape, such as rectangular), and the specific shape of the support may be determined by the shape of battery 142 and audio playback module 170D.
[0150] Therefore, a vibration space is reserved above and below the sound reproduction module 170D so as to allow the sound reproduction module 170D to vibrate and produce sound.
[0151] In the embodiment shown in Fig. 1D, the sound reproduction module 170D may be a buzzer.
[0152] Fig. 1E is a schematic diagram showing another arrangement relationship of the audio reproducing module 170D in the electronic device 100 according to an embodiment of the present application.
[0153] As shown in Fig. 1E, the audio playback module 170D can be located between the rear portion of the housing 151 and the battery 142 of the electronic device 100. The battery 142 can be located under the display 194. The rear portion of the housing 151 is the portion of the housing on the side close to the user's skin when the electronic device 100 is worn by the user. The audio playback module 170D can be tightly attached to the rear portion of the housing 151.
[0154] When the electronic device 100 is underwater and the sound reproduction module 170D vibrates and produces a sound, since the rear portion of the housing 151 and the sound reproduction module 170D are connected to each other, the sound reproduction module 170D can cause the rear portion of the housing 151 to vibrate together to transmit an acoustic wave signal into the water, and then transmit this acoustic wave signal to another electronic device through the water.
[0155] Thus, the sound reproduction module 170D can directly transmit the acoustic wave signal into the water by driving the rear part of the housing 151. It does not need to transmit the generated acoustic wave signal into the housing through the gas inside the housing and then transmit the acoustic wave signal into the water through the housing. This shortens the propagation path of the acoustic wave signal and improves propagation efficiency.
[0156] In the embodiment shown in Fig. 1E, the sound reproduction module 170D may be a piezoelectric sheet made of a piezoelectric material. The piezoelectric sheet may have various shapes. For example, if the housing of the electronic device 100 has a round shape, the piezoelectric sheet may be ring-shaped. In this case, a sensor may be located at a location inside the ring, and the sensor may be configured to monitor a physiological parameter, such as the heart rate of the user. It can be understood that the ring-shaped piezoelectric sheet shown here is only an example. In the embodiments of the present application, the piezoelectric sheet may also be formed in the shape of a square frame, a semicircle, a semicircular ring, or the like. This is not limited to the present application.
[0157] It can be understood that the embodiments shown in Fig. 1D and Fig. 1E are only two examples. In the embodiments of the present application, the sound reproduction module 170D can alternatively be located in another location of the electronic device 100. This is not limited to the present application. In addition, the sound reproduction module 170D and other related components presented in the embodiments of the present application are compact and easily integrated into a small electronic device, which makes it easier for the user to carry the electronic device.
[0158] In some embodiments, if the arrangement of the audio reproduction module 170D and each component of the electronic device 100 corresponds to the arrangement shown in Fig. 1E, the transmission module and the reception module can be integrated with a housing structure element, such as the rear housing 151, using an adhesive process or an injection molding process. If necessary, the transmission module and the reception module can alternately use the same module and transmit or receive a signal in half-duplex mode.
[0159] The relationship between the vibration of the 170D sound reproduction module and the waveform of the sound produced is described below.
[0160] As shown in Fig. 1F, the location of the sound reproduction module 170D when it does not vibrate can be called the initial location. During the vibration and sound generation process, the sound reproduction module 170D can deform upward or downward. The shape of the acoustic wave signal generated as a result of the vibration of the sound reproduction module 170D can be represented by a C1 curve in the two-dimensional coordinate system shown in Fig. 1F. In the two-dimensional coordinate system, the horizontal axis represents time, the vertical axis represents amplitude, and the C1 curve can represent the shape of the acoustic wave signal. The shape of the acoustic wave signal can be related to the deformation direction and the degree of deformation of the sound reproduction module 170D.
[0161] One period of the C1 curve is used as an example. In this period, the C1 curve may include a maximum point A1 and a minimum point A2. The amplitude of the maximum point A1 represents the maximum amplitude of the acoustic wave signal, and the amplitude corresponding to the minimum point A2 represents the minimum amplitude of the acoustic wave signal. In this period, the maximum point A1 can be generated when the sound reproduction module 170D is deformed upward to the highest position, and the minimum point A2 can be generated when the sound reproduction module 170D is deformed downward to the lowest position. A higher position of the sound reproduction module 170D indicates a higher signal amplitude at the maximum point A1, and a lower position of the sound reproduction module 170D indicates a higher absolute value of the signal amplitude at the minimum point A2.
[0162] It can be understood that Fig. 1F only shows the correspondence between the direction and amplitude of vibration of the sound reproduction module 170D and the waveform of the generated acoustic wave signal. In the embodiments of the present application, the waveform of the acoustic wave signal may alternatively be a waveform different from the waveform in the above-mentioned embodiment. This is not limited to the present application.
[0163] Embodiments of the present application provide a method of underwater communication. The method of underwater communication is applied in an electronic device 100. The method includes: receiving a first operation of a user and, in response to the first operation of the user, setting an identifier of the electronic device 100 to a first identifier; when the electronic device 100 is under water, receiving a second operation of the user and, in response to the second operation of the user, displaying one or more messages, where the one or more messages include a first message; and receiving a third selection operation performed by the user to send the first message, and, in response to the third operation, sending a first acoustic wave signal, where the first acoustic signal carries the first message and the first identifier.
[0164] Thus, the acoustic wave signal can be used as a data carrier for underwater communication. Furthermore, the attenuation of the acoustic wave signal during underwater propagation is small, and the propagation range is greater than that of traditional wireless communication.
[0165] The following describes the interface group diagrams for providing the underwater communication function and setting the identifier according to the embodiment of the present application.
[0166] For example, as shown in Fig. 2A, the electronic device 100 may display a main screen 210, and the main screen 210 may display a time such as “08:00”.
[0167] The electronic device 100 may receive a swipe down operation performed by the user on the main screen 210 and, in response to the swipe down operation, display a drop-down menu 220 shown in Fig. 2B. The drop-down menu 220 may include one or more controls, such as a do not disturb button, a location button, and an underwater communication control element 221.
[0168] The electronic device 100 may receive a tapping operation performed by the user on the underwater communication control element 221 and, in response to the tapping operation, display the underwater communication interface 230 shown in Fig. 2C.
[0169] As shown in Fig. 2C, the underwater communication interface 230 may include a switch 231, which may be configured to turn on or off the underwater communication function of the electronic device 100. The switch 231 may have two states: an on state and an off state, and the state of the switch 231 may indicate to the user whether the underwater communication function is turned on. In the embodiment shown in Fig. 2C, the switch 231 is shown in the off state, which indicates that the underwater communication function in the electronic device 100 is currently disabled. The underwater communication interface 230 may further include one or more settings records, such as an identifier record 232 and an attachment group record 233. In some embodiments, if the switch 231 is in the off state, the one or more settings records (including the identifier record 232, the attachment group record 233, etc.)n.) may be in an inactive state. In an inactive state, one or more settings records cannot initiate the display of the corresponding interfaces by the electronic device 100. In some other embodiments, if the switch 231 is in the off state, one or more settings records may be displayed in the underwater communication interface 230. This is not limited to the present application.
[0170] The electronic device 100 can accept a tapping operation performed by the user on the switch 231 and, in response to the tapping operation, as shown in Fig. 2D, switch the state of the switch 231 from the off state to the on state. After turning on the switch 231, one or more parameters of the underwater communication interface 230 can be switched from the inactive state to the normal state. In the normal state, one or more parameters can initiate the display of the corresponding interfaces by the electronic device 100. The identifier record 232 can be used to initiate the installation of the identifier by the electronic device 100. In the identifier record 232, an identifier prompt 232a can be additionally displayed, for example, the text "No identifier", to indicate to the user that the identifier is currently not installed.In some other embodiments, regardless of whether the switch 231 is in the on state, one or more parameters may be displayed in the underwater communication interface 230, and all of these parameters are in a normal state.
[0171] The electronic device 100 may receive a tapping operation performed by the user on the identifier record 232 and, in response to the tapping operation, display the identifier selection interface 240 shown in Fig. 2E.
[0172] As shown in Fig. 2E, one or more identifiers, such as "Instructor 1," "Instructor 2," "Student 1," and "Student 2," may be displayed in the identifier selection interface 240. As shown in Fig. 2E, the selection indicator 241 is displayed on the inscription "Instructor 1," and the selection indicator 241 may be a rectangular frame, another graphic image, a drawing, or the like. The selection indicator 241 may indicate to the user that the currently selected identifier is "Instructor 1." It should be noted that the electronic device 100 may accept a swipe operation performed by the user on the identifier selection interface 240 (or an operation performed by the user on a button), and, in response to the swipe operation, switch the selected identifier. The identifier selection interface 240 may further include an "OK" control element 242.The "All OK" control element 242 is used to initiate the installation of the currently selected identifier as the identifier of the electronic device 100.
[0173] The electronic device 100 may receive a tap performed by the user on the "All OK" control element 242 and, in response to the tapping operation, set the currently selected identifier 1 as the identifier of the electronic device 100 and display the underwater communication interface 230 shown in Fig. 2F. In some embodiments, if different identifiers are set for the electronic device 100, the lists of information displayed by it may be different, and these lists of information can be used by the user to select the information to be sent.
[0174] As shown in Fig. 2F, in the underwater communication 230, the identifier prompt 232a displayed in the identifier record field 232 may be the text "Instructor 1" and indicate to the user that the currently set identifier is the text "Instructor 1".
[0175] Thus, the electronic device 100 can turn on the underwater communication function before diving into water and set an ID based on the user's operation.
[0176] It can be understood that the embodiments shown in Figs. 2A-2F are only examples. In the embodiments of the present application, the electronic device 100 may also provide the underwater communication function in another way. In some embodiments, an underwater diving application may be installed in the electronic device 100. In this case, the electronic device 100 may provide the underwater communication function in the underwater diving application. In some other embodiments, the function related to underwater communication may also be installed in a sports application (or another application). In this case, the electronic device 100 may also provide the underwater communication function using the sports application. This is not limited to the present application.
[0177] The following describes diagrams of interface groups for sending information to another electronic device underwater using the electronic device 100 provided in the embodiments of the present application.
[0178] For example, when the electronic device 100 detects a user's dive, as shown in Fig. 3A, the electronic device 100 can display a diving status interface 310. The diving status interface 310 can include one or more diving indicators, such as the current remaining oxygen, dive depth, dive speed, maximum depth and average depth during this dive, and underwater time. The diving status interface 310 can also display the current time and battery level of the electronic device 100.
[0179] The electronic device 100 may accept an operation performed by the user on the button 11 and, in response to this operation, display the extended menu interface 320 shown in Fig. 3B.
[0180] As shown in Fig. 3B, a menu list can be displayed in the extended menu interface 320, and the menu list can include one or more options, for example, a gas switch option, a message list option 321, and a saved message viewing option 322. In Fig. 3B, a selection indicator 323 can be displayed on the message list option 321, and the selection indicator 323 indicates to the user that the currently selected option is the message list option 321. Regarding other contents of the selection indicator 323, please refer to the corresponding descriptions in the embodiment shown in Fig. 2E. If necessary, button operation prompts can be displayed in the extended menu interface 320 to prompt the user for the corresponding functions of the buttons.For example, the button operation prompt 324 displayed next to the button 11 may indicate to the user that an operation on the button 11 may initiate the electronic device 100 to return to the previous interface (namely, to the diving status interface 310). The button operation prompt 324 displayed next to the button 12 may indicate to the user that an operation on the button 12 may initiate the electronic device 100 to switch the currently selected option. The button operation prompt 326 displayed next to the button 13 may indicate to the user that an operation on the button 13 may initiate the electronic device 100 to display an interface corresponding to the currently selected option.
[0181] The electronic device 100 may accept an operation performed by the user on the button 13 and, in response to this operation, display the message list 330 shown in Fig. 3C.
[0182] As shown in Fig. 3C, the message list 330 may include one or more pieces of predetermined information, for example, predetermined information 331, predetermined information 332, and predetermined information 333. The predetermined information 331 may be the text "Maintain this depth", the predetermined information 332 may be the text "Bottom reached", and the predetermined information 333 may be the text "Low gas warning". As shown in Fig. 3C, a selection indicator 334 may be further displayed on the predetermined information 332, indicating to the user that the predetermined information 333 is selected. If necessary, a plurality of button operation prompts may be displayed in the message list 330. Regarding the specific content of the plurality of button operation prompts, reference should be made to the corresponding descriptions in the embodiment shown in Fig. 3B.
[0183] The electronic device 100 may receive an operation performed by the user on the button 13 and, in response to this operation, send an acoustic wave signal carrying the specified information 332 and display the sending interface 340 shown in Fig. 3D.
[0184] As shown in Fig. 3D, the sending status 341 can be displayed on the sending interface 340. The sending status can include “Sending,” “Sent,” “Sending Failed,” and the like. The sending status 341 can indicate to the user that information is currently being sent.
[0185] In some embodiments, the information sent may also be displayed in the interface 340 of the mandrel, and the information sent may include predetermined information (for example, predetermined information 332 shown in Fig. 3C) selected by the user and an identifier (namely, instructor 1) of the electronic device 100. If necessary, the information sent may include the depth at which the electronic device 100 is currently located and / or the sending time. For example, the information sent may be: "instructor 1 at a depth of 46.1 m, 5-23 10:25:31 bottom reached."
[0186] After the electronic device 100 completes sending, as shown in Fig. 3E, the electronic device 100 may update the sending status 341 in the sending interface 340 and change the sending status from “Sending” to “Sent”.
[0187] After turning on the underwater communication function, the electronic device 200 can, using a sound sensor and / or a microphone, capture an acoustic wave signal sent by the electronic device 100, and obtain, by analyzing the acoustic wave signal, information sent by the electronic device 100. As shown in Fig. 3F, when receiving information sent by the electronic device 100, the electronic device 200 can display an information prompt window 351 in the diving status interface 350. The content of the information sent by the electronic device 100 can be displayed in the information prompt window 351, for example, "Instructor 1 @ Depth 46.1 m, Bottom reached". It can be understood that after receiving the acoustic wave signal, the electronic device 200 can also output a reception reminder in the form of indicator flashing, vibration, sound, etc., to notify the user of the reception of the information.
[0188] It can be understood that after the electronic device 200 displays the information prompt window 351, the electronic device 200 can also send an acoustic wave signal carrying confirmation information to the electronic device 100 based on the user's operation. For the specific interface layout, refer to the corresponding descriptions of the embodiments shown in Figs. 3A-3E. The details are not described again here.
[0189] In some embodiments, after detecting that the electronic device 200 enters water, the electronic device 200 may also enable the underwater communication function and, using components such as an audio sensor and / or a microphone, capture an acoustic wave signal propagating in the water.
[0190] Thus, the electronic device 100 can send a message to the electronic device 200 (or another electronic device) underwater using an acoustic wave signal, or can receive a message sent by the electronic device 200, to realize long-distance underwater communication.
[0191] The following describes diagrams of interface groups for joining a group using the electronic device 100 according to an embodiment of the present application.
[0192] For example, as shown in Fig. 4A, the electronic device 100 displays the underwater communication interface 230, and the underwater communication interface 230 may be the same as the underwater communication interface 230 shown in Fig. 2F. The electronic device 100 may accept an operation performed by the user on the group joining record 233 and, in response to this operation, display the group joining interface 410 shown in Fig. 4B.
[0193] As shown in Fig. 4B, the group joining interface 410 may include a numeric keypad 411 and an input area 412. The electronic device 100 may receive an input operation performed by the user on the numeric keypad 411 and, in response to the input operation, display a numeric sequence, for example, "5678", entered by the user in the input area 412.
[0194] The electronic device 100 may add, based on the number sequence input by the user, the electronic device 100 to the group corresponding to the number sequence and display the member list interface 420 shown in Fig. 4C.
[0195] As shown in Fig. 4C, the identifiers of one or more group members may be displayed in the participant list interface 420, and all of the one or more group members belong to a group whose group identifier (ID) is 5678. The identifiers of one or more group members may include "Instructor 1", "Student 1", "Student 2", and the like. The participant list interface 420 may prompt the user about the number of members in the group and the identifier of each group member. The group ID, for example, "Group ID: No. 5678", may be further displayed in the participant list interface 420. If necessary, the participant list interface 420 may further include a return control 421 used to initiate the electronic device 100 to return to the underwater communication interface 230.
[0196] The electronic device 100 may accept an operation performed by the user on the button 12 and, in response to this operation, display the group control interface 430 shown in Fig. 4D.
[0197] As shown in Fig. 4D, the group operation interface 430 may include a return control element 431 and a group exit control element 432. The return to menu control element 431 may be used to initiate the electronic device 100 to return to the underwater communication interface 230. The group exit control element 432 is used to initiate the electronic device 100 to exit the current group.
[0198] The electronic device 100 may receive an operation performed by the user on the output group control element 432 and, in response to this operation, display the output interface 440 shown in Fig. 4E.
[0199] As shown in Fig. 4E, the exit reminder 441, the "Yes" control 442, and the "No" control 443 can be displayed on the exit interface 440. The exit reminder 441 is used to ask the user whether he confirms his exit from the current group. For example, the exit reminder 441 can be the text "Are you sure you want to leave the group (No. 5678)?" The "Yes" control 442 is used to initiate the electronic device 100 to exit the current group, and the "No" control 443 is used to initiate the electronic device 100 to close the exit interface 440 and redisplay the work group interface 430 or the participant list interface 420.
[0200] In this way, the electronic device 100 can join the group or leave the group it has joined.
[0201] It should be understood that the embodiments shown in Figs. 4A-4E are merely examples. In the embodiments of the present application, the electronic device 100 may alternatively create a group in a different manner. This is not limited to the present application.
[0202] In some embodiments, the electronic device 100 may alternatively create a group in the manner shown in Figs. 4A-4E. This is not limited to the present application.
[0203] Below, diagrams of interface groups for setting conditions for the electronic device 100 for automatic sending according to an embodiment of the present application are described.
[0204] For example, as shown in Fig. 5A, the electronic device 100 displays the underwater communication interface 230. For the relevant descriptions of the underwater communication interface 230, refer to the relevant descriptions of the embodiment shown in Fig. 2F. In addition, the underwater communication interface 230 may further include an automatic sending setting record 234 and a stored message record 235. The automatic sending setting record 234 can be used to initiate the display of the automatic sending setting interface by the electronic device 100. The stored message record 235 can be used to initiate the display of the received stored message by the electronic device 100.
[0205] The electronic device 100 may accept an operation performed by the user on the automatic sending setting record 234 and, in response to this operation, display the automatic sending setting interface 510 shown in Fig. 5B.
[0206] As shown in Fig. 5B, the automatic sending setting interface 510 may include one or more setting records, for example, a diving status record 511, an environmental monitoring equipment record 512, a physiological parameter record 513, and a periodic sending record 514. Each setting record may be used to initiate the electronic device 100 to display a corresponding sending condition setting interface.
[0207] For example, the electronic device 100 may receive an operation performed by the user on the diving status record 511 and, in response to this operation, display the diving status setting interface 520 shown in Fig. 5C.
[0208] As shown in Fig. 5C, the diving status setting interface 520 may include one or more setting options, and each setting option may correspond to one diving status parameter, such as dive depth, ascent depth, decompression stop duration, and no-decompression dive limit. In addition, each setting option may be used to set an automatic sending condition corresponding to the diving status parameter, and in some embodiments, may be further used to set the information to be sent. Upon detection that the diving status parameter corresponds to the corresponding automatic sending conditions, the electronic device 100 may send an acoustic wave signal carrying the information.
[0209] As another example, the electronic device 100 may receive an operation performed by the user on the environmental control equipment record 512 and, in response to this operation, display the environmental control equipment setup interface 530 shown in Fig. 5D.
[0210] As shown in Fig. 5D, the environment monitoring equipment setting interface 530 may include one or more setting options, and each setting option may correspond to one diving status parameter, such as residual oxygen and ambient temperature. Each setting option may be used to set an automatic sending condition corresponding to the environment monitoring equipment parameter, and in some embodiments, may be further used to set the information to be sent. When it is detected that the environment monitoring equipment parameter satisfies the corresponding automatic sending condition, the electronic device 100 may send an acoustic wave signal carrying the information.
[0211] As another example, the electronic device 100 may receive an operation performed by the user on the physiological parameter record 513 and, in response to this operation, display the physiological parameter setting interface 540 shown in Fig. 5E.
[0212] As shown in Fig. 5E, the physiological parameter setting interface 540 may include one or more setting options, and each setting option may correspond to one physiological parameter, such as heart rate, blood oxygen saturation, body temperature, and blood pressure. In addition, each setting option may be used to set an automatic sending condition corresponding to the physiological parameter, and in some embodiments, may be further used to set the information to be sent. When it is detected that the physiological parameter satisfies the corresponding automatic sending condition, the electronic device 100 may send an acoustic wave signal carrying the information.
[0213] As another example, the electronic device 100 may receive an operation performed by the user on the periodic sending record 514 and, in response to this operation, display the periodic setting interface 550 shown in Fig. 5F.
[0214] As shown in Fig. 5F, the periodic setting interface 550 may include one or more setting options, for example, a depth setting option 551 and a time setting option 552. The depth setting option 551 can be used to set the correspondence between the depth change and the sending of information. For example, the electronic device 100 can set the depth change to 15 meters. In this case, the electronic device 100 can send information every time the depth of the electronic device 100 under water changes by 15 meters. The time setting option 552 can be used to set the period for sending information. For example, the electronic device 100 can set the time interval to 10 minutes. In this case, the electronic device 100 can send information every 10 minutes under water.If necessary, one or more installation options may be used to install an electronic device (e.g., electronic device 200) that receives information.
[0215] In this way, the conditions for sending information by the electronic device 100 can be set.
[0216] It can be understood that the embodiments shown in Figs. 5A-5F are merely examples. In the embodiments of the present application, the electronic device 100 may set more or fewer conditions for sending information than in the previous embodiments, or different conditions for sending information than in the previous embodiments. This is not limited to the present application.
[0217] In some embodiments, after sending information to the electronic device 200, the electronic device 100 may receive a confirmation message sent by the electronic device 200 and display the confirmation interface 560 shown in Fig. 5G.
[0218] As shown in Fig. 5G, a confirmation message, such as “Student 1 has received the message,” may be displayed in the confirmation interface 560. The confirmation message may be used to notify the user that the other party has received a previously sent message.
[0219] Thus, the user of the electronic device 100 can determine whether the electronic device 200 will receive the information.
[0220] In some embodiments, the electronic device 100 may periodically exchange data with the electronic device 200 and determine a change in the distance between the electronic device 100 and the electronic device 200 based on the time interval between sending the signal and receiving the confirmation message. The electronic device 100 may further output a distance change message upon detecting an increase in the distance between the electronic device 200 and the electronic device 100, as shown in Fig. 5H, to indicate to the user that the user is moving away from the electronic device 200. The distance change message may be text, for example: "You are moving away from student 1." "Student 1" is the identifier of the electronic device 200.
[0221] It can be understood that the embodiment shown in Fig. 5H is only an example. In the embodiments of the present application, the electronic device 100 may also output a distance change signal upon detecting a decrease in the distance between the electronic device 100 and the electronic device 200 (or another electronic device) to indicate to the user that they are approaching the electronic device 200. This is not limited to the present application.
[0222] In this way, the user can be reminded to change the distance between the user and the user of other electronic device, which makes the operation easier and improves the safety of diving.
[0223] The procedure of the underwater communication method provided in the embodiments of the present application is described below.
[0224] As shown in Fig. 6A, a specific procedure of the underwater communication method provided in the embodiments of the present application may include the following steps.
[0225] S601: The electronic device 100 detects the ID setting operation performed by the user and sets the ID of the electronic device 100.
[0226] Regarding the operation of setting the identifier by the user, refer to the corresponding descriptions of the embodiments shown in Figs. 2D to 2F.
[0227] The identifier of the electronic device 100 can be used to identify the user using the electronic device 100. In some embodiments, the identifier may include an identifier and a sequence number, such as "Instructor 1", "Instructor 2", "Student 1", "Student 2", "Student 3", "Employee 1", "Dive Safety Officer", "Diving Buddy 1", and "Diving Guide 1". The identifier may include any of the following elements: "Instructor", "Student", "Diving Buddy", "Partner", "Dive Safety Officer", "Diving Guide", and the like.
[0228] It should be noted that the electronic device 100 can receive an identifier setting operation performed by the user and, in response to this operation, determine the identifier. In some other embodiments, the electronic device 100 can also receive an identifier setting operation performed by the user and, in response to this operation, determine the identifier; and determine a sequence number in the identifier based on the serial number (SerialNo, SN) of the electronic device 100 to determine the identifier of the electronic device 100. In this way, it is possible to prevent the same identifier from being set on different electronic devices.
[0229] It can be understood that the above embodiment is only an example. In the embodiments of the present application, the identifier may alternatively be another identifier that can be used to identify the user ID of the electronic device 100, and the identifier may be determined in a different way. This is not limited to the present application.
[0230] S602: The electronic device 100 provides underwater communication mode.
[0231] In some embodiments, the electronic device 100 may receive an operation to enable the underwater communication mode performed by the user and, in response to this operation, enable the underwater communication mode. For example, the operation to enable the underwater communication mode may be an operation to turn on the switch 231 in the embodiment shown in Fig. 2C.
[0232] In some embodiments, the electronic device 100 may include an underwater communication mode upon detecting that the electronic device 100 is in water. After the electronic device 100 is in water, the depth measurement result taken by the depth sensor changes, and the display capacitance of the electronic device 100 also changes due to factors such as water pressure. Thus, the electronic device 100 can determine whether the electronic device 100 is in water using the change in the display capacitance value and / or the change in the depth measurement result. For example, upon detecting that the depth of the electronic device 100 underwater reaches a threshold value (e.g., 0.5 meters or 2 meters), the electronic device 100 can determine that the electronic device 100 is in water.
[0233] It should be noted that the electronic device 100 may execute step S602 after executing step S601, or may execute step S601 after executing step S602.
[0234] In some embodiments, when the electronic device 100 includes the underwater communication mode, if the electronic device 100 detects that the identifier of the electronic device 100 is not set, the electronic device 100 may prompt the user to set the identifier of the electronic device 100.
[0235] S603: When the electronic device 100 is detected to be immersed in water, the electronic device 100 starts diving monitoring, where the diving monitoring is used to monitor one or more physiological parameters, environmental monitoring equipment parameters, and diving status parameters.
[0236] Regarding the method for determining whether the electronic device 100 has fallen into water, refer to the relevant description of step S602.
[0237] A physiological parameter may include one or more of the following: body temperature, heart rate, blood pressure, blood oxygen saturation, central nervous system (CNS) toxin concentration, etc.
[0238] Environmental monitoring equipment parameters may include one or more of the following: water temperature, water depth, current speed, ambient light intensity, water pressure, remaining oxygen, remaining safe dive time, no-decompression dive limit, diving duration, etc.
[0239] The diving status parameter may include diving status and diving parameter. The diving status may include one or more of the following: surfacing, diving, stop, etc. The diving parameter may include one or more of the following: stop duration, ascent rate, dive rate, etc.
[0240] The electronic device 100 can simultaneously detect multiple parameters or can individually monitor different parameters from the multiple parameters. For example, if, during scuba diving, it is necessary to monitor parameters such as water depth, water temperature, body temperature, blood pressure, and residual oxygen, the electronic device 100 can begin monitoring all of these parameters upon detecting immersion in water. Alternatively, when underwater communication is enabled, the electronic device 100 can monitor water depth, body temperature, and blood pressure before immersion in water and begin monitoring other parameters, such as water temperature and residual oxygen. It can be understood that the embodiment presented here merely illustrates that the electronic device 100 can simultaneously monitor all parameters or individually monitor different parameters.In some other embodiments, the plurality of parameters may further include more or fewer parameters than in the above-mentioned embodiment, or parameters different from the parameters in the above-mentioned embodiment. This is not limited to the present application.
[0241] S604: The electronic device 100 detects that the diving monitoring result meets the information sending condition 1.
[0242] The diving monitoring result may include a monitoring result of the electronic device 100 for any of one or more parameters described in step S603.
[0243] The electronic device 100 may store one or more information sending conditions, including the information sending condition 1.
[0244] The condition 1 of sending information may be the limitation condition for one parameter in the diving monitoring results, such as the water temperature is below 10°C, the remaining safe diving time is less than 5 minutes, or the water depth reaches 20 meters.
[0245] The condition 1 of sending information may also be the limitation condition for multiple parameters in the diving monitoring results, such as diving completed and the water depth is 10 meters, surfacing completed and the water depth is 20 meters, or stopping completed and the stop duration is 5 minutes.
[0246] It should be noted that in some embodiments, a predetermined range may be additionally specified for each parameter during diving monitoring, and the predetermined range may be a range of normal values for the parameter. If the parameter does not fall within this range, this indicates that the user may be in a dangerous situation. In this case, the limitation condition for the parameter in the diving monitoring results may be that the parameter value received during monitoring does not fall within the predetermined range. In some other embodiments, the predetermined range may also be a range of abnormal values. In this case, the limitation condition for the parameter in the diving monitoring results may be that the parameter value received during monitoring falls within the predetermined range of abnormal values.In some other embodiments, the limiting condition for a parameter in the diving monitoring results may alternatively be detection of the parameter reaching a predetermined threshold value, such as the diving depth reaching 20 meters.
[0247] It can be understood that this embodiment is merely an example. In the embodiments of the present application, the condition 1 for sending information may further include more or less content than in the above-mentioned embodiment, or different content than in the above-mentioned embodiment. This is not limited to the present application.
[0248] S605: The electronic device 100 determines target information based on the information sending condition 1, where the target information includes predetermined information 1 corresponding to the information sending condition 1 and an identifier of the electronic device 100.
[0249] The electronic device 100 may store one or more pieces of predetermined information, and there may be correspondences between the one or more pieces of predetermined information and one or more information sending conditions mentioned in step S604.
[0250] For example, Table 1 shows the correspondence between the information sending condition and the specified information stored in the electronic device 100.
[0251] Table 1
[0252] Information about the shipping conditions Specified information Diving status parameter Environmental control equipment parameter Physiological parameter The duration of the stop is 3 minutes. / / I stopped for 3 minutes / The residual oxygen content is 20 bars / I have 20 bars of oxygen left. / The ambient temperature is 10°C / The ambient temperature is 10°C / / Heart rate below 50 beats per minute My pulse is below 50 beats per minute. / / Blood oxygen saturation reaches 95% Blood oxygen saturation is 95% Surfacing The water depth is 5 meters / I went up to a depth of 5 meters Immersion The water depth is 15 meters / I went down to a depth of 15 meters Stay at the same depth for 2 minutes The water depth is 10 meters / I performed a decompression stop at a depth of 10 meters and for 2 minutes
[0253] From Table 1, the electronic device 100 can determine the corresponding predetermined information based on the information sending condition. For example, when the information sending condition is that the user stops in the same place for 3 minutes, the predetermined information will be “I stopped for 3 minutes.” When the information sending condition is that the remaining oxygen level is 20 bars, the predetermined information will be “I have 20 bars of oxygen remaining.” When the information sending condition is that the ambient temperature (for example, water temperature) is 10°C, the predetermined information will be “The ambient temperature is 10°C.” When the information sending condition is that the heart rate is below 50 beats per minute (bpm), the predetermined information will be “My heart rate is below 50 bpm.”If the sending condition is that blood oxygen saturation has reached 95%, the specified message will be "Blood oxygen saturation is 95%." If the sending condition is detecting the user's ascent and the current water depth is 5 meters, the specified message will be "I ascended to a depth of 5 meters." If the sending condition is detecting the user's descent and the current water depth is 15 meters, the specified message will be "I descended to a depth of 15 meters." If the sending condition is detecting the user's stay at the same depth for 2 minutes and the water depth is 10 meters, the specified message will be "I completed a decompression stop at a depth of 10 meters for 2 minutes."
[0254] It can be understood that the embodiment shown in Table 1 is only an example. In the embodiments of the present application, the electronic device 100 may store more or fewer information sending conditions and pieces of specified information than in the embodiment shown in Table 1, or other information sending conditions and pieces of specified information than in the embodiment shown in Table 1. This is not limited to the present application.
[0255] After detecting that the underwater diving monitoring result corresponds to the information sending condition 1, the electronic device 100 can determine, based on the stored correspondences between the plurality of information sending conditions and the plurality of items of specified information, the specified information 1 corresponding to the information sending condition 1.
[0256] In some other embodiments, the electronic device 100 may store a correspondence between the information sending condition, the identifier, and the specified information.
[0257] For example, Table 2 shows the correspondence between the information sending conditions, the identifier, and the specified information stored in the electronic device 100 according to the embodiments of the present application.
[0258] Table 2
[0259] Information about the shipping conditions Identifier Specified information Diving status parameter Environmental control equipment parameter Physiological parameter The duration of the stop is 1 minute. / / Instructor 1 Stop Student 1 I stopped for 1 minute / The ambient temperature is 5°C / Instructor 1 The ambient temperature is low. Be careful! Student 1 The ambient temperature is 5°C Surfacing The diving depth is 25 meters. / Instructor 1 Go down to a depth of 25 meters and follow me closely Student 1 I went up to a depth of 25 meters Immersion, the rate of immersion is 5 meters per minute / / Instructor 1 Continue diving at a rate of 5 meters per minute Student 1 At the moment the diving speed is 5 meters per minute
[0260] From Table 2, the electronic device 100 can also determine the predetermined information based on the information sending condition and the identifier. For example, when the information sending condition is the user stopping in the same place for 1 minute, and the identifier is "Instructor 1," the predetermined information will be "Stop," or if the identifier is "Student 1," the predetermined information will be "I stopped for 1 minute." When the information sending condition is the ambient temperature of 5°C, and the identifier is "Instructor 1," the predetermined information will be "The ambient temperature is low," "Be careful," or if the identifier is "Student 1," the predetermined information will be "The ambient temperature is 5°C."When the condition for sending information is to detect the user's ascent and the water depth at the current location is 25 meters, and if the identifier is "Instructor 1," the specified information will be "Ascend to a depth of 25 meters and follow me closely," or if the identifier is "Student 1," the specified information will be "I have ascended to a depth of 25 meters." When the condition for sending information is to detect the user's descent and the diving rate is 5 meters per minute, and if the identifier is "Instructor 1," the specified information will be "Continue diving at a rate of 5 meters per minute," or if the identifier is "Student 1," the specified information will be "The current diving rate is 5 meters per minute."
[0261] It can be understood that the embodiment shown in Table 2 is only an example. In the embodiments of the present application, the electronic device 100 may store more or fewer information sending conditions, identifiers, and pieces of specified information than in the embodiment shown in Table 2, or other information sending conditions, identifiers, and pieces of specified information than in the embodiment shown in Table 2. This is not limited to the present application.
[0262] After detecting that the diving monitoring result meets the information sending condition 1, the electronic device 100 can determine, based on the identifier of the electronic device 100 and the correspondence between the information sending condition, the identifier and the predetermined information stored in the electronic device 100, the predetermined information 1 corresponding to the electronic device 100 when the information sending condition 1 is met.
[0263] After determining the specified information 1, the electronic device 100 can receive target information, which may include the specified information 1 and an identifier of the electronic device 100. If necessary, if the electronic device 100 belongs to a group, the target information may further include a group identifier. For the specific content of the group identifier, refer to the corresponding content of the subsequent embodiment shown in Fig. 8. Details are not described here.
[0264] After determining the target information, the electronic device 100 may execute step S608.
[0265] S606: The electronic device 100 detects an operation of opening the message list by the user and displays one or more items of specified information, including the specified information 1.
[0266] For example, the operation of opening the message list performed by the user may be an operation performed by the user on the button 13 in the embodiment shown in Fig. 3B, and the message list may be the message list 330 shown in Fig. 3C.
[0267] In some embodiments, one or more pieces of specified information displayed in the message list may represent all of the specified information stored in the electronic device 100. In some other embodiments, one or more pieces of specified information displayed in the message list may also represent one or more pieces of specified information determined by the electronic device 100 based on the identifier of the electronic device 100 and / or the underwater diving monitoring results. It should be noted that in this case, the underwater diving monitoring results do not meet the condition for sending information in steps S604 and S605.
[0268] For example, Table 3 shows the correspondence between the underwater diving control result, the identifier, and the specified information stored in the electronic device 100 according to the embodiment of the present application.
[0269] Table 3
[0270] Result of underwater diving control Identifier Specified information Diving status parameter Environmental control equipment parameter Physiological parameter / / / Instructor 1 Stop Ascent Descent Follow me closely Everyone perform a check Check the pressure gauge Preparation complete Student 1 Got it. I need help. Everything is okay. Emergency! Help! Surfacing / / Instructor 1 Surfacing Follow me closely Look in my direction There's something there Maintain your speed Speed up Slow down Student 1 Got it, I started surfacing.
[0271] From Table 3, the electronic device 100 can determine, based on the diving monitoring results and the user ID, one or more predetermined functions to display. For example, if the ID is "Instructor 1", the set of corresponding predetermined functions may include: "Stop", "Ascent", "Dive", "Follow me closely", "Check everyone", "Check the pressure gauge readings", "Training complete", etc. When the ID is "Student 1", the set of corresponding predetermined functions may include: "Understood", "I need help", "Everything is okay", "Emergency! Help!", etc.When the diving control result indicates that the user is ascending, and if the identifier is "Instructor 1", then the set of corresponding predetermined functions may include: "Ascend", "Follow me closely", "Look in my direction", "There is something there", "Maintain speed", "Accelerate", "Slow down", etc. When the diving control result indicates that the user is ascending, and if the identifier is "Student 1", then the set of corresponding predetermined pieces of information may include: "Understood" and "I have started ascending".
[0272] It can be understood that the embodiment shown in Table 3 is only an example. In the embodiments of the present application, the electronic device 100 may store more or fewer underwater monitoring results, identifiers, and pieces of predetermined information than in the embodiment shown in Table 3, or different underwater monitoring results, identifiers, and pieces of predetermined information than in the embodiment shown in Table 3. This is not limited to the present application.
[0273] S607: The electronic device 100 detects the sending operation of the specified information 1 and determines the target information, which includes the specified information 1 and the identifier of the electronic device 100.
[0274] The operation of sending the specified information 1 may be an operation performed by the user on the button 13 in the embodiment shown in Fig. 3C.
[0275] The target information may include the specified information 1 and the identifier of the electronic device 100. If necessary, if the electronic device 100 belongs to a group, the target information may further include the group identifier.
[0276] After determining the target information, the electronic device 100 may execute step S608.
[0277] S608: The electronic device 100 sends out an acoustic wave signal carrying target information.
[0278] After determining the target information, the electronic device 100 can encode the target information to obtain an encoded acoustic wave signal sequence, and then, based on the encoded sequence, control the sound reproduction module 170D to generate an acoustic wave signal corresponding to the encoded sequence. Thus, the generated acoustic wave signal conveys the target information.
[0279] The structure of the acoustic wave signal is described below.
[0280] For example, Fig. 6B shows a schematic diagram of the structure of an acoustic wave signal according to an embodiment of the present application.
[0281] As shown in Fig. 6B, the acoustic wave signal may include a pilot signal, a synchronization signal, a message body, and an error correction code. If necessary, the acoustic wave signal may further include header information. The pilot signal may be a predetermined signal. An electronic device (for example, electronic device 200) at the receiving end can determine whether the received acoustic wave signal carries the target information based on whether it carries the pilot signal. The synchronization signal may be used for synchronization. After decoding the received acoustic wave signal, electronic device 200 can determine the first digit of the message body from the decoded sequence based on the synchronization signal. The header information may indicate the length of the encoded sequence, and the header information may further indicate the sequence corresponding to each piece of information.The message body may include target information. An error-correcting code may be used to verify the decoded sequence.
[0282] It can be understood that the embodiment shown in Fig. 6B is only an example. In the embodiments of the present application, the acoustic wave signal may further contain less or more information than in the above-mentioned embodiment, or a different amount of information than in the above-mentioned embodiment. This is not limited to the present application.
[0283] It can be seen from Fig. 6B that the encoded sequence of the acoustic wave signal may include not only the encoded sequence corresponding to the target information, but also a pilot sequence, a synchronization sequence, an error correction code, etc. The pilot sequence, the synchronization sequence, and the error correction code may respectively correspond to the pilot signal, the synchronization signal, the error correction code, etc. in the acoustic wave signal. The pilot sequence may be a predetermined sequence. The synchronization sequence, the error correction code, the header information sequence, etc. can be determined after obtaining the encoded sequence of the target information.
[0284] In the process of encoding the target information, the electronic device 100 may encode the target information using any of the encoding algorithms such as Morse code, orthogonal frequency division multiplexing (OFDM), and code division multiple access (CDMA), or encode the target information in the time domain and / or frequency domain using a user-defined encoding algorithm. The encoding method for the target information is not limited to the embodiments of the present application.
[0285] For example, Table 4 shows the coded sequences corresponding to different specified information.
[0286] Table 4
[0287] Specified information Encoded sequence The remaining oxygen is not enough Long-long-long-long-long-long The ambient temperature is excessively low Short-long-short-short-short Distress signal (SOS) Short-long-short-short-long-long
[0288] As shown in Table 4, the electronic device 100 can determine a corresponding coded sequence based on the specified information. For example, when the specified information is "Remaining oxygen is insufficient", the coded sequence corresponding to the specified information may be "Long-long-long-long-long"; if the specified information is "Ambient temperature is excessively low", the corresponding coded sequence may be "Short-long-short-short-short"; and if the specified information is the distress signal "SOS", the corresponding coded sequence may be "Short-long-short-short-long-long". "Long" and "Short" can be replaced by "1" and "0", respectively.
[0289] It can be understood that the embodiment shown in Table 4 is only an example. In the embodiments of the present application, more or fewer elements of predetermined information and encoded sequences may be included than in the embodiment shown in Table 4, or different elements of predetermined information and encoded sequences than in the embodiment shown in Table 4, and the correspondence between the predetermined information and the encoded sequence may also differ from that in the above embodiment. This is not limited to the present application.
[0290] For example, Table 5 shows the coded sequences corresponding to various identifiers.
[0291] Table 5
[0292] Identifier Encoded sequence Instructor 1 Long-long-short Student 1 Short-short-short Diving Buddy 2 Long-short-long
[0293] As shown in Table 5, the electronic device 100 can alternately determine, based on the identifier, an encoded sequence corresponding to this identifier. For example, when the identifier is "Instructor 1", the corresponding encoded sequence may be "Long-long-short"; when the identifier is "Student 1", the corresponding encoded sequence may be "Short-short-short"; and if the identifier is "Diving Buddy 2", the corresponding encoded sequence may be "Long-short-long". "Long" and "Short" can be replaced by "1" and "0", respectively.
[0294] It can be understood that the embodiment shown in Table 5 is only an example. The embodiments of the present application may include more or fewer identifiers and coded sequences than the embodiment shown in Table 5, or different identifiers and coded sequences than the embodiment shown in Table 5, and the correspondence between the identifier and the coded sequence may also differ from that in the above embodiment. This is not limited to the present application.
[0295] After determining the target information, the electronic device 100 can determine, based on the relationship between the specified information and the encoded sequence, the encoded sequence corresponding to the specified information 1, and determine, based on the relationship between the identifier and the encoded sequence, the encoded sequence corresponding to the identifier of the electronic device 100, to obtain the encoded sequence corresponding to the target information, and then obtain the encoded sequence of the acoustic wave signal.
[0296] After receiving the encoded sequence of the acoustic wave signal, the electronic device 100 can, based on this encoded sequence, control the sound reproduction module to generate sound to create an acoustic wave signal carrying the target information.
[0297] For example, if the encoded sequence of the acoustic wave signal X(t) is "Short-short-long-long-long-long", the shape of the acoustic wave signal X(t) is shown in Fig.6C.
[0298] As shown in Fig. 6C, the horizontal axis represents time, and the vertical axis represents the amplitude of the acoustic wave signal. The duration of the acoustic wave signal X(t) is T. During the time period from t1 to t2, the acoustic wave signal includes two rectangular pulse waves, and the width of each rectangular pulse wave in the time domain is x1. During the time period from t2 to t3, the acoustic wave signal includes four rectangular pulse waves, and the width of each rectangular pulse wave in the time domain is x2, where x2>x1 and t1 <t2<t3.
[0299] It can be understood that the embodiment shown in Fig. 6C is only an example. In the embodiments of the present application, the shape of the acoustic wave signal may alternatively be different from the wave shape in the above-mentioned embodiment. This is not limited to the present application. It should be noted that "Long" and "Short" in the encoded sequence may refer to the long and short duration of a single rectangular pulse in the acoustic wave signal, or may refer to the long and short wavelength of the acoustic wave signal. This is not limited to the present application.
[0300] According to the underwater communication method disclosed in the embodiments of the present application, the electronic device 100 can transmit information using an acoustic wave signal to implement underwater long-distance communication. Furthermore, the electronic device 100 can not only transmit user-selected information, but also promptly remind the user to exercise caution upon detecting potential danger, and promptly send an SOS signal to a partner when the user is in danger. This improves underwater diving safety.
[0301] In some embodiments, when the value of any parameter, such as a physiological parameter, an environmental monitoring equipment parameter, or a diving status parameter, is detected to be outside a predetermined range, for example, when the user's oxygen supply is detected to be insufficient, or when the user's heart rate is detected to be excessively high, the electronic device 100 can issue a danger warning by sending the specified information to alert the user of the current situation. If necessary, information on self-rescue measures appropriate to the current situation can be output. Thus, the user can take certain self-rescue measures and await assistance from a partner.
[0302] In some other embodiments, the electronic device 100 may receive a user-initiated operation to set the diving type and, in response to this operation, set the current diving type. The diving type may include recreational diving, technical diving, free-diving, snorkeling, and the like. The electronic device 100 may store one or more pieces of predetermined information corresponding to different diving types. When the user manually sends information, the electronic device 100 may display, depending on the current diving type, one or more pieces of predetermined information corresponding to this diving type for selection by the user, and determine the predetermined information based on the user's operation.The electronic device 100 may further store a correspondence between the diving type, the information sending condition, and the predetermined information. Upon detection that the diving monitoring result corresponds to the information sending condition, the electronic device 100 may determine the corresponding predetermined information based on the current diving type and the information sending condition to which the diving monitoring result corresponds. Regarding the steps performed by the electronic device 100 after determining the predetermined information, reference should be made to the corresponding descriptions of step S605 and step S608 in the embodiment shown in Fig. 6A . The details are not described again here.
[0303] In this way, the electronic device 100 can display preset information that better matches the current type of diving to help the user select more suitable preset information.
[0304] In some embodiments, after immersion in water, the electronic device 100 can receive and output location information of the electronic device 100 in real time. In some embodiments, the location information of the electronic device 100 may include the immersion depth and the longitude and latitude of the electronic device 100. In some other embodiments, the electronic device 100 can create a three-dimensional spatial coordinate system. The origin of the three-dimensional spatial coordinate system may be located at the point of immersion of the electronic device 100 in water or at another specified location. In this case, the location information of the electronic device 100 may also represent the coordinates of the electronic device 100 in the three-dimensional spatial coordinate system.Electronic device 100 may determine location information about the electronic device 100 using a sensor, such as a gyroscopic sensor, an acceleration sensor, or a depth sensor. For example, electronic device 100 may determine its depth underwater based on the value measured by the depth sensor. As another example, after immersion in water, electronic device 100 may determine its trajectory in the water based on sensor data, such as a gyroscopic sensor or an acceleration sensor, and determine the relative location of electronic device 100 relative to the location of immersion in the water, etc.
[0305] Thus, the user can get the current location in real time.
[0306] It can be understood that when the electronic device 100 receives the location information of the electronic device 100, in the embodiment shown in Fig. 6A, the target information may also include the location information of the electronic device 100. In this way, the recipient electronic device can receive the location of the electronic device 100 in real time, which facilitates group contact and cooperation and reduces the risks of underwater diving.
[0307] In some embodiments, the acoustic wave signal receiving module 101 shown in Fig. 1C may be replaced with a microsonar module (or a piezoelectric ceramic sensor). The microsonar module may be an integrated microsonar sensor and may be configured to receive and transmit an acoustic wave signal. The electronic device 100 may increase the voltage of the transmitted signal to increase the transmission power of the acoustic wave signal in order to increase the underwater communication range. The electronic device 100 may also provide underwater communication over a longer range by configuring the microsonar module with better technical characteristics.
[0308] In some embodiments, the electronic device 100 may also increase the underwater communication range by defining a private low-frequency wireless communication, reducing path loss, defining a cyclic redundancy check field, and increasing the transmit power.
[0309] In some other embodiments, the electronic device 100 may further reduce noise interference in the water using an interference suppression algorithm, such as a noise suppression algorithm or a Doppler frequency shift, to reduce interference to the acoustic wave signal.
[0310] The following describes a procedure in which the electronic device 200 receives, underwater, target information sent by the electronic device 100 according to an embodiment of the present application.
[0311] As shown in Fig. 7, a specific procedure in which the electronic device 200 receives underwater the target information sent by the electronic device 100 may include the following steps.
[0312] S701: The electronic device 200 detects the ID setting operation performed by the user and sets the ID of the electronic device 200.
[0313] S702: The electronic device 200 provides underwater communication mode.
[0314] Regarding the relevant contents of step S701 and step S702, refer to the relevant descriptions of step S601 and step S602 shown in Fig. 6A. The details are not described again here.
[0315] S703: The electronic device 200 captures an acoustic wave signal using a sound sensor and / or a microphone.
[0316] After the underwater communication mode is turned on, the electronic device 200 can start capturing an acoustic wave signal using the sound sensor and / or the microphone.
[0317] In some embodiments, the electronic device 200 may also begin to detect an acoustic wave signal after detecting that the electronic device 200 has been immersed in water. Regarding the method for detecting that the electronic device 200 has been immersed in water, reference should be made to the relevant descriptions of step S602 shown in Fig. 6A.
[0318] S704: The electronic device 200 identifies target information transmitted in the acoustic wave signal.
[0319] After the acoustic wave signal transmitted by the electronic device 100 reaches the electronic device 200, the electronic device 200 can decode the captured acoustic wave signal and identify the target information carried in the acoustic wave signal.
[0320] In some embodiments, if the electronic device 100 joins a group (for example, group 1), the acoustic wave signal sent by the electronic device 100 may additionally carry a group identifier, which may be in the header information or in the message body in the message structure shown in Fig. 6B. After receiving the acoustic wave signal, the electronic device 200 may check the group identifier. When it is determined that the group identifier carried in the acoustic wave signal matches the identifier of the group to which the electronic device 200 belongs, the electronic device 200 additionally identifies other information (for example, an identifier and the content of the information) carried in the acoustic wave signal.If the group identifier carried in the acoustic wave signal differs from the identifier of the group to which the electronic device 200 belongs, the electronic device 200 may stop processing the acoustic wave signal and is not required to notify the user of the receipt of the information.
[0321] S705: The electronic device 200 issues an information reminder to notify the user of the receipt of information
[0322] After identifying the target information, the electronic device 200 can issue an information reminder. The information reminder notifies the user that the electronic device 200 has received the information.
[0323] The information notification method may include one or more of the following methods: vibration, indicator flashing, voice prompt, notification display, etc.
[0324] S706: Electronic device 200 displays target information.
[0325] The electronic device 200 can accept a user's target information viewing operation and, in response to this operation, display the target information. The user's target information viewing operation may be a button operation.
[0326] In some other embodiments, the electronic device 200 may alternatively display the target information after outputting the information reminder.
[0327] According to the underwater communication method provided in the embodiments of the present application, the electronic device 100 and the electronic device 200 can perform underwater communication using an acoustic wave signal, and the communication range is greater than that of wireless communication such as Bluetooth.
[0328] In some embodiments, the electronic device 100 may store a stored message that includes received information and / or sent information. The electronic device 100 may receive a viewing operation of the stored message (e.g., an operation on the stored message record 235 shown in Fig. 5A) performed by the user and, in response to this operation, display the stored message. The electronic device 100 may further receive a deletion operation of the stored message performed by the user and, in response to this operation, delete one or more stored messages.
[0329] This allows you to delete unnecessary information in a timely manner and reduce the load on the memory of the electronic device 100.
[0330] In some embodiments, the electronic device 100 may join a group. In this case, the electronic device 100 may communicate underwater with another electronic device in the same group.
[0331] The following describes a procedure in which the electronic device 100 joins a group according to an embodiment of the present application.
[0332] As shown in Fig. 8, a specific procedure in which the electronic device 100 joins the group may include the following steps.
[0333] S801: The electronic device 100 detects the operation of joining a user to group 1.
[0334] The operation of joining the user to group 1 may be an operation of entering the identifier of group 1 (ID), for example, the operation of entering the ID of group 1 by the user in the embodiment shown in Fig. 4B. The group ID may be a numeric sequence, for example, "5678".
[0335] S802: The electronic device 100 broadcasts a group joining message, wherein the group joining message includes the group ID 1 and the ID of the electronic device 100.
[0336] In some embodiments, the electronic device 100 may broadcast a group join message to the environment in response to the user joining the group 1. The group join message may include the identifier of the group 1 and the identifier of the electronic device 100.
[0337] The group ID can be used to identify a group, and the group ID may include one or more of the following elements: group ID, group name, etc.
[0338] For further information about the identifier of the electronic device 100, refer to the corresponding descriptions in the embodiment shown in Fig. 6A. The details are not described again here.
[0339] In some embodiments, before joining group 1, the electronic device 100 may receive an identifier setting operation performed by the user and, in response to this operation, set the identifier of the electronic device 100. In some other embodiments, when the electronic device 100 joins group 1, if the identifier is not set, the electronic device 100 may prompt the user to perform the identifier setting operation.
[0340] S803: Determine whether the group ID in the group join message matches the group ID to which the electronic device 200 belongs.
[0341] In some embodiments, when a group join message is received, the electronic device 200 joins the group, in which case the electronic device 200 stores the group identifier. The electronic device 200 can compare the group identifier 1 in the group join message with the group identifier stored in the electronic device 200.
[0342] If the identifier of group 1 matches the identifier of the group to which the electronic device 200 belongs, the electronic device 100 may execute step S804.
[0343] If the ID of group 1 is different from the ID of the group to which the electronic device 200 belongs, the electronic device 200 may not process the received message.
[0344] In some other embodiments, when a group join message is received, the electronic device 200 does not join the group, and the electronic device 200 has already received a user-assisted group join message. In this case, the electronic device 200 can determine, based on the user-assisted group join message, the identifier of the group to be joined. The electronic device 200 can compare group identifier 1 in the group join message with the identifier of the group to be joined.
[0345] When the ID of group 1 matches the ID of the group to be joined, the electronic device 100 may execute step S804.
[0346] When the ID of group 1 is different from the ID of the group to be joined, the electronic device 200 may not process the received message.
[0347] S804: Electronic device 200 adds electronic device ID 100 to the member list of group 1.
[0348] In some embodiments, when the group joining message is received, the electronic device 200 joins group 1. In this case, the electronic device 200 stores the identifier of group 1 and the list of members of group 1. The list of members of group 1 stored in the electronic device 200 may include identifiers of one or more electronic devices, wherein one or more electronic devices include the electronic device 200, and all of these electronic devices belong to group 1.
[0349] For example, Table 6 shows a list of members of group 1 stored in the electronic device 200 before the electronic device 200 receives a group joining message according to an embodiment of the present application.
[0350] Table 6
[0351] Group ID Identifier 5678 Student 1 5678 Instructor 2 5678 Scuba Diving Guide 1
[0352] As shown in Table 6, before receiving the group joining message, the list of group 1 participants stored in the electronic device 200 may include the identifiers of one or more electronic devices: “Student 1,” “Instructor 2,” and “Diving Guide 1.” If necessary, the list of participants may further include the identifier of group 1, for example, ID 5678, and this group identifier is used for the group corresponding to the identifier.
[0353] After receiving the group joining message, the electronic device 200 can add the ID of the electronic device 100 to the member list of group 1.
[0354] For example, Table 7 shows a list of members of group 1 stored in the electronic device 200 after receiving a group joining message according to an embodiment of the present application.
[0355] Table 7
[0356] Group ID Identifier 5678 Student 1 5678 Instructor 2 5678 Scuba Diving Guide 1 5678 Instructor 1
[0357] As shown in Table 7, after receiving the group joining message, the list of group 1 members stored in the electronic device 200 may include the identifiers of one or more electronic devices: “Student 1,” “Instructor 2,” “Diving Guide 1,” and “Instructor 1.” “Instructor 1” is the identifier of the electronic device 100. If necessary, the list of members may further include the identifier of group 1, for example, ID 5678, and this identifier is used for the group corresponding to the identifier. Compared with Table 6, the identifier of the electronic device 100 is added to Table 7.
[0358] It can be understood that the embodiments shown in Table 6 and Table 7 are merely examples. In the embodiments of the present application, the list of members of Group 1 may additionally include more or less content. This is not limited to the present application.
[0359] S805: The electronic device 200 broadcasts an intra-group message, where the intra-group message includes an identifier of the electronic device 200 and an identifier of group 1.
[0360] When it is determined that the electronic device 200 also belongs to group 1, the electronic device 200 can broadcast an intra-group message to the surrounding environment. The intra-group message includes the identifier of the electronic device 200 and the identifier of group 1. For the intra-group message of the electronic device 200, refer to the corresponding descriptions of the identifier of the electronic device 100. In addition, the identifier of the electronic device 200 is different from the identifier of the electronic device 100.
[0361] It should be noted that if group 1 further includes another electronic device in addition to electronic device 200, the electronic device may also broadcast an intra-group message after receiving the group joining message broadcast by electronic device 100 and determining that the electronic device belongs to group 1, where the intra-group message includes an identifier of the electronic device and an identifier of group 1.
[0362] S806: The electronic device 100 stores and displays the list of group 1 members based on one or more received intra-group messages.
[0363] The electronic device 100 may receive an intra-group message broadcast by each electronic device in group 1, and each intra-group message may include an identifier of group 1 and an identifier of the electronic device.
[0364] The electronic device 100 may obtain the identifiers of all the electronic devices in group 1 based on one or more received intra-group messages and obtain a member list of group 1. The member list of group 1 may include the identifiers of all the electronic devices in group 1. For details on the contents of the member list, refer to the relevant descriptions of step S803.
[0365] After determining the member list of group 1, the electronic device 100 may store and display the member list of group 1. If necessary, when the member list of group 1 is displayed, the electronic device 100 may additionally display the ID of group 1 to inform the user that the member list currently displayed is the member list of group 1.
[0366] Thus, electronic devices such as electronic device 100 and electronic device 200 can form a group to perform underwater communication with one or more electronic devices in the same group after the user wears electronic device 100 and dives into water.
[0367] It can be understood that, with respect to the specific procedure in which the electronic device 100 sends information underwater using an acoustic wave signal, reference should be made to the embodiment shown in Fig. 6A. With respect to the specific procedure in which the electronic device 100 receives information, reference should be made to the embodiment shown in Fig. 7. In some embodiments, if the electronic device 100 joins a group, the target information sent by the electronic device 100 may include a group identifier. In some other embodiments, a plurality of electronic devices belonging to the same group may be provided with the same pilot signal. This allows a plurality of electronic devices belonging to the same group to communicate with each other.In some application scenarios, a scuba instructor may also use an electronic device to send a group message to all students in a group to ensure instructions are shared between the instructor and students, thereby facilitating scuba diving training and management.
[0368] In some embodiments, in the group establishment step shown in Fig. 8, the electronic device 100 may also separately send a group joining message to another electronic device via a wireless communication method, for example, via Bluetooth or a wireless local area network, and the electronic device 200 (or another electronic device) may also send a group joining message to the electronic device 100 via the above-mentioned wireless communication method. This is not limited to the present application. In some other embodiments, after the electronic device 100 falls into water, the electronic device 100 may also send a group joining message to another electronic device using an acoustic wave signal and form a group with the other electronic device. This is also not limited to the present application.
[0369] Another method in which the electronic device 100 joins a group according to an embodiment of the present application is described below.
[0370] As shown in Fig. 9, a specific procedure in which the electronic device 100 joins group 1 may include the following steps.
[0371] S901: When detecting a group 1 creation operation performed by the user, the electronic device 200 determines that the electronic device 200 is the central device of group 1.
[0372] In some embodiments, the electronic device 200 may receive a group creation operation (e.g., group 1) performed by the user and, in response to this operation, determine the electronic device 200 as the central device of the group.
[0373] In some embodiments, multiple electronic devices (including electronic device 200) can simultaneously input the same group ID to create the same group. In this case, the multiple electronic devices can determine, based on the ID of each electronic device, the electronic device with the specified ID as the central device. For example, if the ID of electronic device 200 is "instructor," electronic device 200 can determine electronic device 200 as the central device based on this ID. After determining the central device, another device in the group sends a group joining message to the central device, which may include the group ID and the electronic device ID.The central device can receive multiple group join messages and determine and store the list of group members based on these messages.
[0374] It can be understood that the above embodiments are only two examples. In some embodiments, the electronic device 200 may alternatively determine the central device based on another factor. For example, the electronic device with the longest service life, the electronic device with the highest battery charge level, or the electronic device that joins the group earliest is determined as the central device. This is not limited to the present application.
[0375] S902: The electronic device 100 detects the operation of joining the user to group 1.
[0376] S903: The electronic device 100 broadcasts a group join message, where the group join message includes the group ID 1 and the ID of the electronic device 100.
[0377] S904: The electronic device 200 determines whether the group identifier in the group join message matches the identifier of the group to which the electronic device 200 belongs.
[0378] For details of the contents of steps S902-S904, see the corresponding contents of steps S801-S803 shown in Fig. 8.
[0379] When the identifier of group 1 matches the identifier of the group to which the electronic device 200 belongs, the electronic device 100 may execute step S905.
[0380] When the ID of group 1 is different from the ID of the group to which the electronic device 200 belongs, the electronic device 200 may not process the received message.
[0381] S905: Electronic device 200 updates the member list of group 1 based on the ID of electronic device 100.
[0382] After determining that the group to which the electronic device 100 belongs matches the group to which the electronic device 200 belongs, the electronic device 200 may add the ID of the electronic device 100 to the member list of group 1. The member list may include the IDs of all members of group 1.
[0383] S906: The electronic device 200 broadcasts an intra-group message, where the intra-group message includes a member list of group 1 and an identifier of group 1.
[0384] In some embodiments, the electronic device 200 may broadcast a list of participants and a group identifier each time the list of participants is updated.
[0385] In some other embodiments, the electronic device 200 may also check at a fixed interval whether the participant list has changed and broadcast the participant list and the group ID if the participant list has changed, or not broadcast the participant list and the group ID if the participant list has not changed. This can avoid multiple broadcasts caused by multiple changes to the participant list in a short period of time.
[0386] S907: The electronic device 100 stores and displays the member list of group 1 based on the intra-group message.
[0387] This way, only the central device in the group needs to send the group member list to the device that has just joined the group, and there is no need to send intra-group messages to each device in the group. This reduces the power consumption of devices in the group.
[0388] It can be understood that Fig. 8 and Fig. 9 only illustrate two ways in which the electronic device 100 joins the group. In the embodiments of the present application, the electronic device 100 may also join the group in a manner different from the method described in the above-mentioned embodiment. This is not limited to the present application.
[0389] The following describes a specific procedure of a method for determining a change in the distance between an electronic device 100 and an electronic device 200 based on underwater communication according to an embodiment of the present application.
[0390] As shown in Fig. 10, the procedure of the method for determining the change in the distance between the electronic device 100 and the electronic device 200 based on underwater communication may include the following steps.
[0391] S1001: The electronic device 100 detects the operation of turning on the distance control function by the user and determines a sending timing table.
[0392] In some embodiments, the operation of turning on the distance control function performed by the user may be a tapping operation performed on said distance control switch or may be an operation of setting the information sending period performed by the user, for example, an operation performed on the time setting option 552 in the embodiment shown in Fig. 5F. In some embodiments, the electronic device 100 may also synchronously turn on the distance control function by default when turning on the underwater communication function and monitor the change in the distance between the electronic device 100 and said electronic device (or each electronic device in a group) in real time after the electronic device 100 is in the water.
[0393] In some embodiments, the table of sending times may include a plurality of sending times, wherein each sending time indicates a time when the electronic device 100 sends information, and the time interval between any two adjacent sending times represents a period of sending information by the electronic device 100. In some other embodiments, the table of sending times may also include a starting time and a period of sending information, wherein the starting time represents a time when the electronic device 100 sends the first part of information.
[0394] For example, Fig. 8 shows a table of dispatch times according to an embodiment of the present application.
[0395] Table 8
[0396] Sending sequence Time of dispatch 1 10:05 2 10:10 3 10:15 4 10:20
[0397] As shown in Table 8, the sending time table may include a sending sequence and a sending time, wherein the sending sequence and the sending time are in a one-to-one correspondence. From Table 8, it can be seen that the time when the electronic device 100 sends information for the first time is 10:05, the time when the electronic device 100 sends information for the second time is 10:10, the time when the electronic device 100 sends information for the third time is 10:15, the time when the electronic device 100 sends information for the fourth time is 10:20, and so on.
[0398] As another example, Fig. 9 shows another table of sending times according to an embodiment of the present application.
[0399] Table 9
[0400] Information sending period 5 minutes Initial moment of time 10:05
[0401] As shown in Table 9, the sending time table stored in the electronic device 100 may include an information sending period and a starting time. The information sending period is 5 minutes, and the starting time is 10:05.
[0402] It can be understood that Tables 8 and 9 are only examples of two dispatch time tables. In embodiments of the present application, the dispatch time table may contain more or less information than Tables 8 and 9, or different information than Tables 8 and 9. This is not limited to the present application.
[0403] In some embodiments, the user's operation of enabling the remote control function may include the operation of setting the information sending period and / or the operation of setting the peer device that receives the information. It should be noted that before setting the peer device (for example, the electronic device 200), the electronic device 100 needs to obtain the identifier of the peer device. For example, if the electronic device 100 and the electronic device 200 belong to the same group, the electronic device 100 can set the electronic device 200 as the peer device that receives the information.
[0404] When the user sets the information sending period and does not specify the peer device that receives the information, the electronic device 100 can determine a table of sending times based on the identifier of the electronic device 100 and the information sending period. For example, the electronic device 100 can obtain the starting time of information sending using a hashing algorithm based on the identifier of the electronic device 100, and then obtain a table of sending times based on the information sending period and the starting time.
[0405] When the user sets a peer device (for example, the electronic device 200) that receives information and does not set a period for sending information, the electronic device 100 can obtain a table of sending times based on the identifier of the electronic device 100 and the identifier of the electronic device 200, using a hash algorithm (or other algorithm).
[0406] When the user sets the information sending period and specifies the peer device that receives the information, the electronic device 100 can determine a sending time table based on the identifier of the electronic device 100, the identifier of the electronic device 200, and the information sending period.
[0407] In some other embodiments, the user's operation of enabling the remote control function may also be an operation performed on the remote control switch. In this case, the electronic device 100 may determine a table of sending times based on the identifier of the electronic device 100 using an algorithm similar to a hashing algorithm.
[0408] S1002: The electronic device 100 sends a periodic communication notification to the electronic device 200, wherein the periodic communication notification is used to notify the electronic device 200 of the need for periodic communication with the electronic device 100.
[0409] The electronic device 100 can send periodic communication notifications in response to the user turning on the remote control function. It should be noted that if the user turns on the remote control function before the electronic device 100 is immersed in water, the electronic device 100 can broadcast the periodic notifications via a wireless connection, such as Bluetooth, or individually send the periodic notifications to multiple connected electronic devices. If the user turns on the remote control function after the electronic device 100 is immersed in water, the electronic device 100 can send the periodic notifications using an acoustic wave signal or the like.
[0410] In some embodiments, the periodic communication notification may include an identifier of the electronic device 100 and is used to notify the electronic device 200 of the need for periodic communication with the electronic device 100.
[0411] In some other embodiments, the periodic communication notification may include an identifier of the electronic device 100 and a table of sending times. In this case, the periodic communication notification may be used to notify the electronic device 200 that the electronic device 100 should send information to the electronic device 200 at the sending time specified in the table of sending times.
[0412] If necessary, when the user sets a peer device that receives information, the periodic communication notification may further include the identifier of the peer device.
[0413] S1003: The electronic device 200 determines a table of sending times based on the periodic communication notification.
[0414] In some embodiments, the periodic communication notification may include a table of sending times. In this case, the electronic device 200 may obtain the table of sending times from the periodic communication notification.
[0415] In some embodiments, the periodic communication notification does not include a table of sending times. In this case, the electronic device 200 can obtain the table of sending times based on the identifier of the electronic device 100 in the periodic communication notification using a hashing algorithm (or another algorithm).
[0416] In some embodiments, if the periodic communication notification may further include an identifier of the electronic device 200, the electronic device 200 may also determine a table of sending times based on the identifier of the electronic device 100 and the identifier of the electronic device 200 using an algorithm similar to a hashing algorithm.
[0417] S1004: The electronic device 100, based on the sending timing table, sends out an acoustic wave signal carrying information.
[0418] After determining the transmission timing table, the electronic device 100 can periodically transmit, based on the transmission timing table, an acoustic wave signal carrying information.
[0419] In some embodiments, the information sent by the electronic device 100 may be the same each time. In other embodiments, the information sent by the electronic device 100 may be different each time. For example, the information sent each time may contain a sending sequence, and this sending sequence may be used to determine when to send the information.
[0420] S1005: The electronic device 200 receives the information sent by the electronic device 100 and determines the receiving timing.
[0421] When the electronic device 200 receives an acoustic wave signal carrying target information and transmitted by the electronic device 100, the electronic device 200 can determine the reception time at which the acoustic wave signal was received at this time.
[0422] S1006: The electronic device 200 sends an acoustic wave signal carrying confirmation information to the electronic device 100.
[0423] In some embodiments, the confirmation information sent by the electronic device 200 each time may be the same. In other embodiments, the confirmation information sent by the electronic device 200 each time may be different. For example, the confirmation information sent each time may include a sending sequence, etc.
[0424] S1007: The electronic device 200 determines a change in the distance between the electronic device 200 and the electronic device 100 based on a table of sending times, receiving times, and the previous receiving times.
[0425] The electronic device 200 can determine, based on the table of sending times and the current receiving time, the transmission time 1 taken to propagate, from the electronic device 100 to the electronic device 200, the acoustic wave signal sent by the electronic device 100 at this time. The electronic device 200 can further determine, based on the table of sending times and the previous receiving time, the transmission time 2 taken to propagate, from the electronic device 100 to the electronic device 200, the acoustic wave signal last sent by the electronic device 100. By comparing the transmission time 1 with the transmission time 2, the change in the distance between the electronic device 200 and the electronic device 100 can be determined.
[0426] If the 1st transmission time is shorter than the 2nd transmission time, it can be determined that the distance between the electronic device 200 and the electronic device 100 is decreasing.
[0427] If the 1st transmission time is longer than the 2nd transmission time, it can be determined that the distance between the electronic device 200 and the electronic device 100 is increasing.
[0428] If the 1st transmission time is equal to the 2nd transmission time, it can be determined that the distance between the electronic device 200 and the electronic device 100 remains unchanged.
[0429] In some embodiments, the electronic device 200 may further determine, based on the difference between the transmission time 1 and the transmission time 2 and the transmission speed of the acoustic wave signal in water, a specific value of change in the distance between the electronic device 200 and the electronic device 100.
[0430] S1008: The electronic device 200 outputs a distance prompt, where the distance prompt indicates whether the distance between the electronic device 200 and the electronic device 100 has changed.
[0431] The electronic device 200 may provide a distance prompt in one or more ways, including sound, vibration, text, a drawing, animation, and indicator flashing. The distance prompt may indicate whether the distance between the electronic device 200 and the electronic device 100 has changed. If necessary, the distance prompt may indicate a specific change in the distance between the electronic device 200 and the electronic device 100.
[0432] It should be noted that, after outputting the distance prompt, the electronic device 200 may repeat step S1005 and subsequent steps when again receiving the information sent by the electronic device 100.
[0433] S1009: The electronic device 100 receives the confirmation message sent by the electronic device 200 and determines the receipt timing of the confirmation.
[0434] For detailed descriptions of step S1009, please refer to the corresponding descriptions of step S1005.
[0435] S1010: The electronic device 100 determines a change in the distance between the electronic device 100 and the electronic device 200 based on a table of sending times, confirmation receiving times, and the previous confirmation receiving times.
[0436] S1011: The electronic device 100 outputs a distance prompt indicating whether the distance between the electronic device 100 and the electronic device 200 has changed.
[0437] For details of steps S1010 and S1011, please refer to the corresponding descriptions of step S1007 and step S1008.
[0438] According to the underwater communication method provided in the embodiments of the present application, the electronic device 100 can detect a change in the distance between the electronic device 100 and another electronic device to facilitate group control and reduce the risks of underwater navigation.
[0439] In some embodiments, after the distance control function is enabled, the sending time may be carried forward in each sent acoustic wave signal, and the sending time of the confirmation information may also be carried forward in the received confirmation information. Therefore, the electronic device 100 can also determine the current distance between the electronic device 100 and another electronic device (for example, the electronic device 200) based on the sending time and the receiving time of the confirmation information, and compare the measured distance each time to determine the change in the distance between the electronic device 100 and the electronic device 200. Similarly, the electronic device 200 as the recipient can also determine the change in the distance between the electronic device 100 and the electronic device 200 in a similar manner. This is not limited to the present application.
[0440] It should be noted that in some embodiments shown in Fig. 8 and Fig. 10, the roles of the electronic device 100 and the electronic device 200 may also be exchanged. In particular, the electronic device 100 may perform the steps performed by the electronic device 200 in the above-mentioned embodiments, and in this case, the electronic device 200 may also perform the steps performed by the electronic device 100 in the above-mentioned embodiments. This is not limited to the present application.
[0441] In some other embodiments, step S1002 and step S1003 shown in Fig. 10 may also be replaced by the following steps:
[0442] S1002a: After detecting a setting operation performed by the user to periodically receive information, the electronic device 200 determines a sending timing table based on the user's operation.
[0443] The electronic device 200 can determine a sending time table based on the identifier of the electronic device 100 and the identifier of the electronic device 200 after detecting a setting operation performed by the user to periodically receive information from the electronic device 100. If necessary, if the user sets an information reception period, the electronic device 200 can further determine a sending time table based on the information reception period set by the user.
[0444] As to the specific method in which the electronic device 200 determines the transmission timing table, reference should be made to the relevant descriptions of step S1001 shown in Fig. 10.
[0445] It should be noted that in this case, the electronic device 200 and the electronic device 100 must belong to the same group, or the electronic device 200 must have the ID of the electronic device 100.
[0446] In some other embodiments, the electronic device 100 and the electronic device 200 may store priorities with different identifiers. For example, the priorities of "Instructor 1", "Student 2", "Student 1", and "Diving Buddy 1" are arranged as follows: "Instructor 1" > "Diving Buddy 1" > "Student 1" > "Student 2". When both the electronic device 100 and the electronic device 200 detect a setting operation performed by the user to periodically send information to each other, the electronic device 100 (or the electronic device 200) can determine, based on the identifier of the electronic device 100 and the identifier of the electronic device 200, the electronic device with a higher priority as the sender of the information, and the other electronic device as the recipient of the information.For example, after determining that the electronic device 100 is the sender of information and the electronic device 200 is the recipient of information, the electronic device 100 and the electronic device 200 may perform corresponding steps in the embodiment shown in Fig. 10 to monitor the change in the distance between the electronic device 100 and the electronic device 200 in real time.
[0447] Thus, when the recipient of the information and the sender of the information are not determined, the electronic device 100 can determine the sender of the information based on the priority of the identifier.
[0448] In some other embodiments, if the electronic device 100 sends information to the electronic device 200 at a fixed time interval, and the duration during which the electronic device 200 does not receive the information sent by the electronic device 100 reaches a cut-off period (for example, 15 minutes or 20 minutes), the electronic device 200 can output a rescue prompt to notify the user of a possible emergency. Similarly, if the duration during which the electronic device 100 does not receive a confirmation message from the electronic device 200 reaches a cut-off period (for example, 5 minutes or 15 minutes), the electronic device 100 can also output a rescue prompt to notify the user of a possible emergency.
[0449] This way, when the user disconnects, the companion can be reminded in time to search for the user.
[0450] The following is a description of a functional module circuit of an electronic device 100 according to an embodiment of the present application.
[0451] As shown in Fig. 11, the electronic device 100 may include a parameter control module 1101, a determination module 1102, a reception control module 1103, an acoustic wave signal reception module 1104, an instruction processing module 1105, a display module 1106, a decoding / encoding module 1107, a sending control module 1108, an acoustic wave signal sending module 1109, a message reminder module 1110, a message storage module 1111, a user interaction module 1112, a message processing module 1113, and the like.
[0452] The parameter monitoring module 1101 can monitor diving and monitor one or more parameters, such as physiological parameters, environmental monitoring equipment parameters, and the user's diving status parameters. The parameter monitoring module 1101 can also send the monitoring result (namely, the diving monitoring result) to the determination module 1102.
[0453] The determination module 1102 may store one or more information sending conditions (including information sending condition 1) and may further determine whether the underwater swimming monitoring result corresponds to the information sending condition. The determination module 1102 may further store predetermined information and the correspondence between the information sending condition and the predetermined information. When it is determined that the underwater swimming monitoring result corresponds to information sending condition 1, the determination module 1102 may send an information sending instruction to the instruction processing module 1105 to specify sending the predetermined information 1 corresponding to the information sending condition 1.
[0454] The acoustic wave signal receiving module 1104 can receive an acoustic wave signal and send the received acoustic wave signal to the receiving control module 1103.
[0455] After receiving the acoustic wave signal, the reception control module 1103 may send the acoustic wave signal to the decoding / encoding module 1107.
[0456] The instruction processing module 1105 may determine target information in response to an instruction to send information, where the target information includes the specified information 1 and the identifier of the electronic device 100. If necessary, the target information may further include other content, for example, a group identifier. The instruction processing module 1105 may send the target information to the decoding / encoding module 1107. The instruction processing module 1105 may further receive the decoded information sent by the decoding / encoding module 1107 and send the received information to the display module 1106. In some embodiments, after receiving the received information, the instruction processing module 1105 may further send a reminder instruction to the message reminder module 1110 to instruct the message reminder module 1110 to output a message reminder.In addition, after receiving the received information, the instruction processing module 1105 may further send the received information to the message storage module 1111.
[0457] Display module 1106 can display the received information.
[0458] The decoding / encoding unit 1107 may perform encoding processing on the target information sent by the instruction processing unit and send the encoded target information to the sending control unit 1108.
[0459] The sending control module 1108 may control, based on the received encoded target information, the acoustic wave signal sending module 1109 to generate a corresponding acoustic wave signal that carries the target information.
[0460] The acoustic wave signal sending module 1109 can generate an acoustic wave signal carrying target information.
[0461] The message reminder module 1110 may output a message reminder in response to a reminder instruction sent by the instruction processing module 1105 to notify the user that the electronic device 100 has received the information.
[0462] The message storage module 1111 can receive and store the received information sent by the instruction processing module 1105.
[0463] The user interaction module 1112 can be configured to receive operations performed by the user on the electronic device 100, such as touching the display, rotating the button, or pressing the button. The user interaction module 1112 can receive an operation of setting the identifier of the electronic device 100 performed by the user, and can also receive an operation of joining a group, an operation of turning on the underwater communication mode, an operation of sending information, and the like. When receiving an operation of sending information performed by the user, the user interaction module 1112 can determine, based on the user's operation, the specified information to be sent (for example, the specified information 1), and send the specified information 1 to the message processing module 1113.
[0464] The message processing module 1113 may send an information sending instruction to the instruction processing module 1105, wherein the information sending instruction may include the specified information 1.
[0465] It can be understood that the embodiment shown in Fig. 11 is only an example. In the embodiments of the present application, the electronic device 100 may further include more or fewer functional modules than in the above-mentioned embodiment, or different functional modules than in the above-mentioned embodiment, or a plurality of the above modules may be combined into a single module, or any of the above modules may be divided into a plurality of modules. This is not limited to the present application.
[0466] In addition, in the underwater communication system 10, with respect to the functional modules of the electronic device 200 (or other electronic device), reference should be made to the corresponding descriptions in the embodiment shown in Fig. 11. The details are not described again here.
[0467] Below, a description is given of another underwater communication system 20 according to an embodiment of the present application.
[0468] As shown in Fig. 12, the underwater communication system 20 may include an electronic device 100, an electronic device 200, and a buoy device 300. If necessary, the underwater communication system 20 may further include one or more other electronic devices.
[0469] The buoyant device 300 floats in a fixed location on the surface of the water, wherein a part of the buoyant device 300 is located above the surface of the water, and the other part is located below the surface of the water. The buoyant device 300 can perform underwater communication with an electronic device (for example, the electronic device 100 and the electronic device 200) in the water using an acoustic wave signal. The buoyant device 300 can also perform wireless communication, for example, via Bluetooth or a wireless local area network, with an electronic device (or base station, etc.), which is not located in the water in the underwater communication system 20. The buoyant device 300 can store information about the location of the buoyant device 300. The buoyant device 300 can interact with the electronic device 100 and determine its position based on data such as the signal propagation time.In some embodiments, the buoy device 300 may be provided with a plurality of sound measuring modules located in different directions, and these sound measuring modules may be configured to determine the direction of propagation of the received acoustic wave signal.
[0470] The electronic device 100 (or the electronic device 200) can also store the location information of the buoy device 300. The electronic device 100 can also determine the location information of the electronic device 100 by establishing communication with the buoy device 300. In addition, the electronic device 100 can obtain the trajectory of the electronic device 100 relative to the buoy device 300 using a sensor such as a gyroscopic sensor or an acceleration sensor.
[0471] The electronic device 200 (or other electronic device) may also determine location information of the electronic device 200 by communicating with the buoy device 300.
[0472] In the underwater communication system 20, regarding other specific content related to the electronic device 100 and the electronic device 200, reference should be made to the corresponding descriptions of the underwater communication system 10 shown in Fig. 1A. The details are not described again here.
[0473] It can be understood that the above-mentioned embodiment shown in Fig. 12 is only an example. In the embodiments of the present application, the underwater communication system 20 may further include more electronic devices or buoy devices. This is not limited to the present application.
[0474] Fig. 13 shows a schematic flow chart of an underwater communication method according to an embodiment of the present application.
[0475] As shown in Fig. 13, the procedure of the underwater communication method provided in the embodiments of the present application may include the following steps.
[0476] S1301: The first electronic device receives the first operation of the user and, in response to the first operation, sets the identifier of the first electronic device to the first identifier.
[0477] The first electronic device may be the electronic device 100 shown in the above-mentioned embodiments.
[0478] In a possible implementation, the first operation is an operation of selecting a first identifier, performed by the user; and the method further includes: displaying a list of identifiers before receiving the first operation, where the list of identifiers includes a plurality of identifiers, and this plurality of identifiers includes the first identifier. For example, the list of identifiers may include one or more identifiers displayed in the identifier selection interface 240 shown in Fig. 2E, and the first identifier may be "Instructor 1."
[0479] In a possible implementation, the first operation is the operation of entering the first identifier performed by the user.
[0480] For other relevant content related to step S1301, refer to the relevant descriptions of step S601 in the embodiment shown in Fig. 6A.
[0481] S1302: When the first electronic device is underwater, accept a second user operation and, in response to the second operation, display one or more messages, wherein the one or more messages include the first message.
[0482] In some embodiments, one or more messages may represent one or more pieces of specified information, as shown in Fig. 6A.
[0483] In a possible implementation, before receiving the second operation, the method further includes the following: the first electronic device detects that the first electronic device is under water.
[0484] In a possible implementation, the first electronic device further includes a first button, and the second operation is an operation performed by the user on the first button.
[0485] S1303: Accept a third selection operation performed by the user to send the first message, and, in response to the third operation, send a first acoustic wave signal, where the first acoustic wave signal carries the first message and the first identifier.
[0486] In some embodiments, the first message may be the specified information 1 in the embodiment shown in Fig. 6A.
[0487] In a possible implementation, the first electronic device further includes a second button and a third button; and receiving a third selection operation performed by the user to send the first message, and, in response to the third operation, sending the first acoustic wave signal includes: receiving an operation performed by the user on the second button, and, in response to the operation performed by the user on the second button, displaying a selection indicator on the first message, where the selection indicator indicates to the user that the first message is selected; and receiving an operation performed by the user on the third button, and, in response to the operation performed by the user on the third button, sending the first acoustic wave signal.
[0488] For example, the second button may be button 12 in the embodiment shown in Fig. 1A, and the third button may be button 13 in the embodiment shown in Fig. 1A.
[0489] In a possible implementation, the first electronic device may include a first button; a second operation is a pressing operation performed by the user on the first button; a third operation is a rotation operation performed by the user on the first button; or the third operation is a pressing operation performed by the user on the first button.
[0490] In another possible implementation, the first electronic device may include a first button and a second button; the second operation is a pressing operation performed by the user on the first button; the third operation is a rotation operation performed by the user on the second button; or the third operation is a pressing operation performed by the user on the second button.
[0491] It should be understood that the numerous implementations given above are merely examples. The first electronic device may include one or more buttons, and the methods for performing the second and third operations may also be other methods. This application is not limited to these.
[0492] For further information about steps S1302 and S1303, refer to the corresponding descriptions of steps S606 to S608 in the embodiment shown in Fig. 6A.
[0493] Compared with conventional wireless communication methods, the underwater communication method presented in the embodiments of the present application has a longer transmission range. In addition, the transmitted information carries an identifier used to notify the recipient of the sender's identity.
[0494] In some embodiments, the first electronic device may also send an acoustic wave signal carrying an identifier and corresponding information upon detecting that one or more parameters, such as a physiological parameter, an environmental monitoring equipment parameter, and a user's diving status parameter, meet a certain condition (e.g., greater than or less than a certain threshold, outside a predetermined range, or within a predetermined range). The corresponding information may be used to notify the recipient of the current state of the user of the first electronic device. For detailed information on the correspondence between the condition and the message, refer to the corresponding descriptions in the embodiment shown in Fig. 6A. The details are not described again here.
[0495] In a possible implementation, the first acoustic wave signal further carries an identifier of the first group, and the identifier of the first group indicates that the first electronic device belongs to the first group; and the method further includes: before receiving the second operation, receiving a fourth operation of joining the user to the first group; broadcasting the identifier of the first group and the first identifier in response to the fourth operation; receiving the identifier of the first group and the second identifier that were sent by the second electronic device, where the second identifier is the identifier of the second electronic device; and displaying a list of participants of the first group, where the list of participants includes the first identifier and the second identifier.
[0496] In some embodiments, the first group identifier may be the identifier of group 1 provided in the above-mentioned embodiments. The list of members of the first group may be the list of members of group 1 provided in the above-mentioned embodiments. The fourth operation may be an operation of the user entering an identifier (for example, a group ID) of group 1. In the above-mentioned implementation, the first electronic device may be the electronic device 100 shown in Fig. 8, and the second electronic device may be the electronic device 200 shown in Fig. 8.
[0497] This way, electronic devices in the same group can communicate with each other.
[0498] In a possible implementation, the first acoustic wave signal further carries an identifier of the first group, and the identifier of the first group indicates that the first electronic device belongs to the first group. The method further includes: before receiving the second operation, receiving a fifth operation of creating the first group by the user; broadcasting the identifier of the first group and the first identifier in response to the fifth operation; receiving the identifier of the first group and the second identifier that were sent by the second electronic device, where the second identifier is the identifier of the second electronic device; and broadcasting the identifier of the first group and a list of participants of the first group, where the list of participants includes the first identifier and the second identifier.
[0499] In some embodiments, the fifth operation may be an operation of the user entering the identifier of the first group. In this case, the first electronic device may be the electronic device 200 shown in Fig. 9, and the second electronic device may be the electronic device 100 shown in Fig. 9.
[0500] In some other possible implementations, the first electronic device may also determine, based on one or more parameters, such as an identifier (e.g., instructor) of the first electronic device, the device's operating resource (e.g., battery charge level), the time sequence for joining the group, etc., that the first electronic device is the central device of the group. This is not limited to the present application.
[0501] In a possible implementation, the method further includes: displaying sixth information and a second identifier upon receiving a sixth acoustic wave signal sent by a second electronic device, where the sixth acoustic wave signal carries the sixth information, the identifier of the first group and the second identifier; and omitting displaying the seventh information upon receiving a seventh acoustic wave signal sent by a third electronic device, where the seventh acoustic wave signal carries the seventh information and a third identifier, wherein the third identifier is an identifier of the third electronic device, and the third electronic device does not belong to the first group.
[0502] Therefore, when receiving a message sent by an electronic device that does not belong to the same group, the message may not be displayed.
[0503] In a possible implementation, the method further includes: sending an eighth acoustic wave signal at a first time when the first electronic device is under water, wherein the eighth acoustic wave signal carries the first identifier and the first time; receiving, at a second time, a ninth acoustic wave signal sent by the second electronic device, wherein the ninth acoustic wave signal is an acoustic wave signal sent by the second electronic device when the second electronic device has received the eighth acoustic wave signal, and the ninth acoustic wave signal carries the time of sending the ninth acoustic wave signal and the second identifier of the second electronic device;and, in response to the ninth acoustic wave signal, outputting distance information based on the time of sending the ninth acoustic wave signal and the second time, wherein the distance information indicates a distance between the first electronic device and the second electronic device.
[0504] In this way, the first electronic device can detect the distance between the first electronic device and the second electronic device in real time, which facilitates the detection of the distance between the first electronic device and the partner and improves the safety of underwater diving.
[0505] In a possible implementation, the method further includes: sending an eighth acoustic wave signal at a first time when the first electronic device is under water, wherein the eighth acoustic wave signal carries a first identifier; receiving, at a second time, a ninth acoustic wave signal sent by a second electronic device, wherein the ninth acoustic wave signal is an acoustic wave signal sent by the second electronic device when the second electronic device has received the eighth acoustic wave signal, and the ninth acoustic wave signal carries a second identifier of the second electronic device; sending a tenth acoustic wave signal at a third time, wherein the tenth acoustic wave signal carries the first identifier;receiving, at a fourth time, an eleventh acoustic wave signal sent by a second electronic device, wherein the eleventh acoustic wave signal is an acoustic wave signal sent by the second electronic device when the second electronic device has received the tenth acoustic wave signal, and the eleventh acoustic wave signal carries a second identifier of the second electronic device; and outputting a distance hint based on the first time interval and the second time interval, wherein the distance hint informs the user of a change in the distance between the first electronic device and the second electronic device, the first time interval is a time interval between the first time instant and the second time instant, and the second time interval is a time interval between the third time instant and the fourth time instant.
[0506] In this way, the first electronic device can detect the change in the distance between the first electronic device and the second electronic device in real time, thereby improving the safety of underwater diving.
[0507] In a possible implementation, outputting a distance prompt based on a first time interval and a second time interval includes: outputting a first distance prompt when the first time interval is greater than the second time interval, wherein the first request indicates to the user that the distance between the first electronic device and the second electronic device is decreasing; and outputting a second distance prompt when the first time interval is less than the second time interval, wherein the second distance prompt indicates to the user that the distance between the first electronic device and the second electronic device is increasing.
[0508] Thus, the distance prompt can be output in real time to indicate whether the distance between two electronic devices is increasing or decreasing.
[0509] In a possible implementation, before sending the eighth acoustic wave signal, the method further includes the following: the first electronic device receives an operation of turning on the distance control function performed by the user, and, in response to this operation, turns on the distance control function.
[0510] Regarding the operation of turning on the distance control function performed by the user, refer to the relevant descriptions of step S1001 in the embodiment shown in Fig. 10.
[0511] Thus, after the distance monitoring function is turned on, the first electronic device can monitor the distance between the first electronic device and the second electronic device in real time.
[0512] In another possible implementation, the first electronic device may monitor the distance between the first electronic device and the second electronic device in real time without manual intervention by the user.
[0513] In a possible implementation, the method further includes: displaying a first prompt before receiving the first operation, where the first prompt indicates to the user that the identifier of the first electronic device is not set; and receiving the first operation of the user and, in response to the first operation, setting the identifier of the first electronic device to the first identifier includes: receiving the first operation of the user and, in response to the first operation, displaying a second prompt, where the second prompt indicates to the user that the identifier of the first electronic device is the first identifier.
[0514] In this way, the first electronic device can set an identifier based on the user's operation.
[0515] For example, in the embodiment shown in Fig. 2D, the first hint may be the identifier hint 232a, and the second hint may be the identifier hint 232a in the embodiment shown in Fig. 2F.
[0516] Fig. 14 schematically shows an algorithm of another underwater communication method according to an embodiment of the present application.
[0517] As shown in Fig. 14, a specific procedure of the underwater communication method may include the following steps.
[0518] S1401: The buoy device receives, at a fifth time, a twelfth acoustic wave signal sent by a first electronic device from underwater, wherein the twelfth acoustic wave signal carries a first identifier of the first electronic device and a first sending time, wherein the first sending time is the sending time of the twelfth acoustic wave signal.
[0519] In the embodiment shown in Fig. 12, the buoy device may be the buoy device 300, and the first electronic device may be the electronic device 100 in the embodiment shown in Fig. 12.
[0520] The beacon device can store the first location information, and the first location information can indicate the location of the beacon device.
[0521] S1402: The beacon device determines second location information based on a fifth time, a first sending time, and first location information, where the second location information indicates the location of the first electronic device.
[0522] In some embodiments, the second location information may represent the distance between the first electronic device and the beacon. The beacon may determine the distance between the first electronic device and the beacon based on the fifth instant and the first instant of sending time.
[0523] In some embodiments, the buoy device may store a predetermined three-dimensional coordinate system, and the first location information may represent the buoy device's coordinates in the three-dimensional coordinate system. The second location information may also represent coordinates in the three-dimensional coordinate system. In this case, the buoy device may determine the second location information based on the fifth time, the first sending time, and the first location information.
[0524] S1403: The buoy device sends a first radio signal to a second electronic device that is not in the water, wherein the first radio signal includes the second location information.
[0525] The second electronic device may be an electronic device that is not submerged in water. In some embodiments, the second electronic device may be replaced by a base station or similar device.
[0526] The first radio signal may be a signal transmitted by a traditional wireless communication method such as Wi-Fi or Bluetooth.
[0527] Therefore, the location information of the underwater electronic device can be transmitted to the shore electronic device using the buoy device, so that the shore electronic device determines the location of the underwater electronic device.
[0528] In a possible implementation, the method further includes: sending a thirteenth acoustic wave signal to the first electronic device after determining information about the second location, where the thirteenth acoustic wave signal carries information about the second location.
[0529] Thus, the beacon device may also send location information of the first electronic device to the first electronic device, so that the user of the first electronic device can determine the location of the user.
[0530] The embodiments of the present application can be randomly combined to achieve various technical effects.
[0531] All or some of the above-described embodiments may be implemented using software, hardware, firmware, or any combination thereof. When using software to implement the above-described embodiments, all or part of the above-described embodiments may be implemented as a computer program product. The computer program product includes one or more computer instructions. When the computer program instructions are loaded and executed on the computer, the procedure or functions in accordance with the present application are fully or partially generated. The computer may be a general-purpose computer, a specialized computer, a computer network, or other programmable device.Computer instructions may be stored on a computer-readable storage medium or transmitted from a computer-readable storage medium to another computer-readable storage medium. For example, computer instructions may be transmitted from a website, computer, server, or data center to another website, computer, server, or data center by wire (e.g., coaxial cable, optical fiber, or digital subscriber line) or wireless (e.g., infrared, radio frequency, or microwave radiation). A computer-readable storage medium may be any usable storage medium accessible to a computer or a data storage device, such as a server or data center, incorporating one or more usable storage media.The usable medium may be a magnetic medium (such as a floppy disk, hard disk, or magnetic tape), an optical medium (such as a DVD), a semiconductor medium (such as a solid-state drive (SSD)) or the like.
[0532] A person skilled in the art can understand that all or some of the procedures of the methods described in the above embodiments can be implemented by a computer program controlling the corresponding equipment. The program can be stored on a computer-readable storage medium. When executing the program, the procedures described in the above embodiments of the method can be included. The above-mentioned storage medium includes any storage medium capable of storing program code, such as ROM, random access memory (RAM), magnetic disk, or optical disk.
[0533] In conclusion, the above descriptions are merely embodiments of the technical solutions of the present invention, but are not intended to limit the scope of legal protection of the present invention. Any modification, equivalent replacement, improvement, or the like made in accordance with the disclosure of the present invention falls within the scope of legal protection of the present invention.
Claims
1. A method of underwater communication used in a first electronic device, comprising: receiving a first user operation and, in response to the first operation, setting the identifier of the first electronic device equal to the first identifier; when the first electronic device is under water, receiving a second operation of the user and, in response to the second operation, displaying one or more messages, wherein the one or more messages comprise the first message; and receiving a third selection operation performed by the user to send the first message, and, in response to this third operation, sending a first acoustic wave signal, wherein the first acoustic wave signal indicates the first message and the first identifier.
2. The method according to claim 1, wherein the first operation is an operation of selecting a first identifier performed by a user; and the method further comprises: displaying a list of identifiers before receiving the first operation, wherein the list of identifiers contains a plurality of identifiers, and the plurality of identifiers contains the first identifier.
3. The method according to claim 1 or 2, wherein the first electronic device further comprises a first button; and the second operation is an operation performed by the user using the first button.
4. The method according to any one of claims 1 to 3, wherein the first electronic device further comprises a second button and a third button; and receiving a third selection operation, by the user, to send the first message, and, in response to the third operation, sending the first acoustic wave signal, in particular comprises: receiving an operation performed by the user on the second button and, in response to this operation, displaying a selection indicator on the first message, wherein the selection indicator indicates to the user that the first message is selected; and receiving an operation performed by the user using the third button and, in response to this operation, sending the first acoustic wave signal.
5. The method according to any one of paragraphs 1-4, wherein the method further comprises: monitoring a first physiological parameter of the user, wherein the first physiological parameter is any of the following: body temperature, heart rate, blood pressure, blood oxygen saturation, or central nervous system toxin concentration; and sending a second acoustic wave signal when the first electronic device is under water and during the monitoring it is determined that the first physiological parameter is outside the first range, wherein the second acoustic wave signal carries second information and the first identifier, and the second information is used to notify the recipient that the first physiological parameter of the user of the first electronic device has deviated from the norm.
6. The method according to any one of paragraphs 1-5, wherein the method further comprises: monitoring a first parameter of the environmental monitoring equipment, wherein the first parameter of the environmental monitoring equipment is any of the following: water temperature, water depth, current velocity, ambient light intensity, water pressure, remaining oxygen, remaining underwater time, no-decompression limit, or dive duration; and sending a third acoustic wave signal when the first electronic device is under water and during the monitoring it is determined that the first parameter of the environmental monitoring equipment is outside the second range, wherein the third acoustic wave signal carries third information and the first identifier, and the third information is used to notify the recipient that the first parameter of the environmental monitoring equipment of the first electronic device has deviated from the norm.
7. The method according to claim 6, wherein the method further comprises: monitoring the diving status, wherein the diving status comprises any one or more of the following: surfacing, diving, or stopping; and sending a fourth acoustic wave signal when the first parameter of the environmental monitoring equipment reaches a first value, wherein the fourth acoustic wave signal carries fourth information and a first identifier, the fourth information comprising the first parameter of the environmental monitoring equipment and a first diving status, wherein the first diving status is the diving status of the first electronic device.
8. The method according to any one of paragraphs 1-7, wherein the method further comprises: monitoring a first diving parameter, where the first diving parameter is any of the following: stop duration, ascent rate, or dive rate; and sending a fifth acoustic wave signal when the first electronic device is underwater and during the monitoring it is determined that the first underwater swimming parameter is outside the third range, wherein the fifth acoustic wave signal carries fifth information and the first identifier, and the fifth information is used to notify the recipient that the first underwater swimming parameter of the first electronic device has deviated from the norm.
9. The method according to any one of claims 1 to 8, wherein the first acoustic wave signal further carries an identifier of the first group, and the identifier of the first group indicates that the first electronic device belongs to the first group; and the method further comprises: before accepting the second operation, accepting the fourth operation of joining the user to the first group; broadcasting the first group identifier and the first identifier in response to the fourth operation; receiving a first group identifier and a second identifier that were sent by a second electronic device, wherein the second identifier is an identifier of the second electronic device; and displaying a list of members of the first group, where the list of members contains a first identifier and a second identifier.
10. The method according to any one of claims 1 to 8, wherein the first acoustic wave signal further carries an identifier of the first group, and the identifier of the first group indicates that the first electronic device belongs to the first group; and the method further comprises: before accepting the second operation, accepting the fifth operation of creating the first group by the user; broadcasting the first group identifier and the first identifier in response to the fifth operation; receiving a first group identifier and a second identifier that were sent by a second electronic device, wherein the second identifier is an identifier of the second electronic device; and broadcasting a first group identifier and a list of participants of the first group, wherein the list of participants comprises the first identifier and the second identifier.
11. The method according to claim 9 or 10, wherein the method further comprises: displaying the sixth information and the second identifier upon receiving a sixth acoustic wave signal sent by the second electronic device, wherein the sixth acoustic wave signal carries the sixth information, the first group identifier and the second identifier; and skipping display of the seventh information upon receiving a seventh acoustic wave signal sent by a third electronic device, wherein the seventh acoustic wave signal carries the seventh information and a third identifier, wherein the third identifier is an identifier of the third electronic device, and the third electronic device does not belong to the first group.
12. The method according to any one of paragraphs 1-11, wherein the method further comprises: sending an eighth acoustic wave signal at a first time when the first electronic device is under water, wherein the eighth acoustic wave signal carries a first identifier and a first time; receiving, at a second time, a ninth acoustic wave signal sent by a second electronic device, wherein the ninth acoustic wave signal is an acoustic wave signal sent by the second electronic device when the second electronic device has received the eighth acoustic wave signal, and the ninth acoustic wave signal carries the time of sending of the ninth acoustic wave signal and a second identifier of the second electronic device; and in response to the ninth acoustic wave signal, distance information is output based on the sending time of the ninth acoustic wave signal and the second time, wherein the distance information indicates the distance between the first electronic device and the second electronic device.
13. The method according to any one of paragraphs 1-11, wherein the method further comprises: sending an eighth acoustic wave signal at a first time when the first electronic device is under water, wherein the eighth acoustic wave signal carries a first identifier; receiving, at a second time, a ninth acoustic wave signal sent by a second electronic device, wherein the ninth acoustic wave signal is an acoustic wave signal sent by the second electronic device when the second electronic device has received the eighth acoustic wave signal, and the ninth acoustic wave signal carries a second identifier of the second electronic device; sending a tenth acoustic wave signal at a third time, wherein the tenth acoustic wave signal carries the first identifier; receiving, at a fourth time, an eleventh acoustic wave signal sent by a second electronic device, wherein the eleventh acoustic signal is an acoustic signal sent by the second electronic device when the second electronic device received the tenth acoustic signal, and the eleventh acoustic signal carries a second identifier of the second electronic device; and outputting a distance prompt based on a first time interval and a second time interval, wherein the distance prompt notifies the user of a change in the distance between the first electronic device and the second electronic device, the first time interval being a time interval between a first time instant and a second time instant, and the second time interval being a time interval between a third time instant and a fourth time instant.
14. The method according to claim 13, wherein outputting a distance hint based on the first time interval and the second time interval, in particular, comprises: outputting a first distance prompt when the first time interval exceeds the second time interval, wherein the first distance prompt indicates to the user that the distance between the first electronic device and the second electronic device is decreasing; and outputting a second distance prompt when the first time interval is less than the second time interval, wherein the second distance prompt indicates to the user an increase in the distance between the first electronic device and the second electronic device.
15. The method according to any one of paragraphs 1-14, wherein the method further comprises: displaying a first prompt before accepting the first transaction, wherein the first prompt indicates to the user that the identifier is not set for the first electronic device; and receiving a first operation of a user and, in response to the first operation, setting the identifier of the first electronic device to the first identifier, in particular comprising: receiving a first operation of the user and, in response to the first operation, displaying a second prompt, wherein the second prompt indicates to the user that the identifier of the first electronic device is the first identifier.
16. A wearable device for communicating with a user, wherein the wearable device is a first electronic device and comprises one or more processors, one or more memory devices, a display, and a sound reproduction module, wherein the one or more memory devices are connected to the one or more processors, the one or more memory devices are configured to store a computer program code, wherein the program code comprises computer instructions, and when one or more processors execute the computer instructions, the first electronic device is activated to perform the method according to any one of claims 1 to 15.
17. The wearable device according to claim 16, wherein the sound reproduction module is attached to the rear part of the housing of the first electronic device, and the sound reproduction module is configured to cause the rear part of the housing to vibrate and send an acoustic wave signal.
18. The wearable device of claim 17, wherein the wearable device further comprises a display and a battery; wherein the battery is located below the display, and the audio reproduction module is located between the rear part of the housing and the battery.
Citation Information
Patent Citations
Portable underwater acoustic communication equipment and method for frogman
CN101969348A
Underwater intelligent wearable device and use method thereof
CN113873481A
Underwater robot control system and underwater robot control method
JP2018203192A
Receiving-transmitting station of telephone communication of divers with tracking vessel
RU2730760C1
WIRELESS UNDERWATER COMMUNICATION SYSTEM
RU98660U1
