An underwater communication method, system and related devices

By using acoustic signals to carry identification and information in underwater communication, the problem of underwater wireless communication signal attenuation is solved, enabling long-distance and reliable underwater information transmission and enhancing diving safety.

CN119727939BActive Publication Date: 2026-11-27HUAWEI DEVICE CO LTD
View PDF 4 Cites 0 Cited by

Patent Information

Application Number
CN202311270413.7
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-09-27
Publication Date
2026-11-27
Estimated Expiration
2043-09-27

AI Technical Summary

Technical Problem

In underwater environments, traditional wireless communication signals suffer severe attenuation, making long-distance communication impossible.

Method used

Underwater communication uses acoustic signals to carry identification and information, and utilizes the low attenuation of sound waves in water to achieve long-distance transmission. Information transmission is triggered by button presses or physiological parameter monitoring.

Benefits of technology

It enables long-distance underwater communication, improves the reliability and security of information transmission, supports flexible setting of identification tags and real-time monitoring of physiological parameters, and enhances diving safety.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119727939B_ABST
    Figure CN119727939B_ABST
Patent Text Reader

Abstract

The application discloses an underwater communication method, system and related device. The underwater communication method is applied to a first electronic device, and the method comprises the following steps: receiving and responding to a first operation of a user to set an identity identifier of the first electronic device as a first identity identifier; when the first electronic device is underwater, receiving and responding to a second operation of the user to display one or more messages, wherein the one or more messages comprise a first message; and receiving and responding to a third operation of the user selecting to send the first message to send a first sound wave signal, wherein the first sound wave signal carries the first message and the first identity identifier. In this way, underwater communication between electronic devices can be realized.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of communications, and more particularly to an underwater communication method, system and related apparatus. Background Technology

[0002] With the continuous development of communication technology, more and more electronic devices support underwater communication, which provides great convenience for users who need to work underwater or enjoy underwater sports such as diving.

[0003] When the user's electronic device is underwater, the user can use the electronic device to communicate with other electronic devices via traditional wireless communication methods such as Bluetooth and radio frequency.

[0004] However, in water, wireless signals attenuate severely, making long-distance underwater communication impossible. Summary of the Invention

[0005] This application provides an underwater communication method, system, and related apparatus, which realizes underwater communication between multiple electronic devices. Moreover, the attenuation of acoustic signals in water is less than that of traditional wireless signals, and the use of acoustic signals can increase the distance of underwater communication.

[0006] In a first aspect, this application provides an underwater communication method applied to a first electronic device; the method includes: receiving and responding to a first operation by a user to set the identity identifier of the first electronic device as a first identity identifier; when the first electronic device is underwater, receiving and responding to a second operation by the user to display one or more messages, the one or more messages including the first message; receiving and responding to a third operation by the user to select to send the first message to send a first acoustic signal, the first acoustic signal carrying the first message and the first identity identifier.

[0007] In this way, underwater communication using acoustic signals can travel over a much greater distance compared to traditional wireless communication methods. Furthermore, the transmitted information carries an identifier to inform the receiver of the sender's identity.

[0008] Furthermore, the identity identifier can be set by the user, and the user can change the identity identifier in different usage scenarios. For example, a user's identity may be an instructor on the first day and a dive buddy on the second day; a user can set their identity identifier to instructor on the first day and change it to dive buddy on the second day, and so on. In this way, users can change the identity identifier set in their electronic devices based on their own identity changes, making it easy for the recipient user to quickly identify the sender of the message based on the identity identifier in the message.

[0009] In one possible implementation, before receiving the second operation, the method further includes: the first electronic device detecting that it is underwater.

[0010] In one possible implementation, the first operation is the user selecting a first identity identifier; the method further includes: before receiving the first operation, displaying an identity list, the identity list including multiple identity identifiers, the multiple identity identifiers including the first identity identifier.

[0011] This provides users with multiple optional identity identifiers, making it easier for them to operate and reducing operation time.

[0012] In one possible implementation, the first operation is the user inputting a first identity identifier.

[0013] In this way, users can also enter their own identity information.

[0014] In one possible implementation, the first electronic device further includes a first button; the second operation is the user's action on the first button.

[0015] In this way, underwater, the first electronic device can be triggered to display one or more messages by pressing a button (including the crown).

[0016] In one possible implementation, the first electronic device further includes a second button and a third button; receiving and responding to a third operation by the user to select to send a first message, sending a first sound wave signal, specifically including: receiving and responding to the user's operation on the second button, displaying a selection mark on the first message, the selection mark being used to prompt the user that the first message has been selected; receiving and responding to the user's operation on the third button, sending a first sound wave signal.

[0017] In this way, underwater, the first electronic device can be triggered to send the first message by pressing a button (including the crown).

[0018] In one possible implementation, the first electronic device may include a first button; the second operation is a user pressing the first button; the third operation is a user rotating the first button; and the fourth operation is a user pressing the first button.

[0019] In another possible implementation, the first electronic device may include a first button and a second button; the second operation is a pressing operation of the first button by the user; the third operation is a rotation operation of the second button by the user; and the fourth operation is a pressing operation of the second button by the user.

[0020] It is understood that the above-mentioned implementation methods are merely examples. The first electronic device may include one or more buttons, and the operation methods of the second and third operations may also be other operation methods. This application does not limit them here.

[0021] In one possible implementation, the method further includes: monitoring a user's first physiological parameter, which is any one of the following: body temperature, heart rate, blood pressure, blood oxygen concentration, or central nervous system toxicity concentration; when the first electronic device is underwater and the first physiological parameter is detected to be outside a first range, sending a second acoustic signal, the second acoustic signal carrying second information and a first identification identifier, the second information being used to notify the receiver that the user's first physiological parameter is abnormal.

[0022] In this way, when abnormal physiological parameters of a user are detected, the first electronic device can be triggered to send information to notify the user of the companion electronic device that an abnormal situation has occurred.

[0023] In one possible implementation, the method further includes: monitoring first environmental equipment parameters, which are any of the following: water temperature, water depth, water flow rate, ambient light intensity, water pressure, oxygen reserve, remaining safe time, decompression-free time, and diving time; when the first electronic device is underwater and the first environmental equipment parameters are detected to be outside the second range, sending a third acoustic signal, which carries third information and a first identification identifier, and the third information is used to notify the receiver that the first environmental equipment parameters of the first electronic device are abnormal.

[0024] In this way, when abnormal environmental equipment parameters are detected, the first electronic device can be triggered to send information to notify its companions that the equipment or environment of the first electronic device has an abnormal condition.

[0025] In one possible implementation, the method further includes: monitoring the diving status, which includes one or more of the following: surfacing, diving, and remaining still; when the first environmental equipment parameter reaches a first value, sending a fourth acoustic signal, which carries fourth information and a first identification identifier, the fourth information including the first environmental equipment parameter and the first diving status, the first diving status being the diving status of the first electronic device.

[0026] In this way, when the environmental equipment parameters are detected to reach a specific value, the first electronic device can be triggered to send out the diving status and environmental equipment parameters together.

[0027] In one possible implementation, the method further includes: monitoring a first diving parameter, which is any one of the following: dwell time, ascent speed, and descent speed; when the first electronic device is underwater and the first diving parameter is detected to be outside the third interval, sending a fifth acoustic signal, which carries fifth information and a first identification identifier, and the fifth information is used to notify the receiver that the first diving parameter of the first electronic device is abnormal.

[0028] In this way, when abnormal diving parameters are detected, the first electronic device can be triggered to send information to notify the user of the first electronic device that an abnormal situation has occurred.

[0029] It is understood that the above-mentioned implementation methods are only examples. In some possible implementation methods, the first electronic device may also send a specific message when it detects that any one or more of the parameters such as physiological parameters, environmental equipment parameters, diving status, and diving parameters meet specific conditions. This application does not limit this.

[0030] In one possible implementation, the first acoustic signal also carries a first group identifier, which indicates that the first electronic device belongs to the first group; the method further includes: receiving a fourth operation of a user joining the first group before receiving the second operation; broadcasting the first group identifier and a first identity identifier in response to the fourth operation; receiving the first group identifier and a second identity identifier sent by the second electronic device, the second identity identifier being the identity identifier of the second electronic device; and displaying a member list of the first group, the member list including the first identity identifier and the second identity identifier.

[0031] In this way, electronic devices in the same group can communicate with each other.

[0032] In one possible implementation, the first acoustic signal also carries a first group identifier, which indicates that the first electronic device belongs to the first group; the method further includes: receiving a fifth operation by a user to create the first group before receiving the second operation; in response to the fifth operation, broadcasting the first group identifier and a first identity identifier; receiving the first group identifier and a second identity identifier sent by the second electronic device, the second identity identifier being the identity identifier of the second electronic device; and broadcasting the first group identifier and a member list of the first group, the member list including the first identity identifier and the second identity identifier.

[0033] In this way, the first electronic device can create a first group, and in response to the group creation operation, determine the first electronic device as the central device for that group. The central device can then broadcast the member list of the group after updating the member list.

[0034] In other possible implementations, the first electronic device may also be determined as the central device of the group based on one or more of the first electronic device's identity (e.g., coach), device battery life (e.g., remaining battery capacity), and the order in which it joined the group. This application does not limit this.

[0035] In one possible implementation, the method further includes: when a sixth acoustic signal is received from a second electronic device, displaying sixth information and a second identity identifier, wherein the sixth acoustic signal carries the sixth information, a first group identifier, and a second identity identifier; and when a seventh acoustic signal is received from a third electronic device, not displaying the seventh information, wherein the seventh sound carries the seventh information and a third identity identifier, wherein the third identity identifier is the identity identifier of the third electronic device, and the third electronic device does not belong to the first group.

[0036] In this way, when a message is received from an electronic device that does not belong to the same group, the message may not be displayed.

[0037] In one possible implementation, the method further includes: when the first electronic device is underwater, transmitting an eighth acoustic signal at a first moment, the eighth acoustic signal carrying a first identification identifier and a first moment; receiving a ninth acoustic signal transmitted by a second electronic device at a second moment, the ninth acoustic signal being an acoustic signal transmitted by the second electronic device upon receiving the eighth acoustic signal, the ninth acoustic signal carrying the transmission moment of the ninth acoustic signal and a second identification identifier of the second electronic device; and responding to the ninth acoustic signal, outputting distance information based on the transmission moment of the ninth acoustic signal and the second moment, the distance information being used to indicate the distance between the first electronic device and the second electronic device.

[0038] In this way, the first electronic device can determine the distance between itself and the second electronic device in real time, which makes it easier to determine the distance between itself and its companions and improves the safety of diving.

[0039] In one possible implementation, before transmitting the eighth acoustic signal, the method further includes: a first electronic device receiving and responding to a user's operation to enable the distance monitoring function, thereby enabling the distance monitoring function.

[0040] In this way, after the distance monitoring function is enabled, the first electronic device can monitor the distance between itself and the second electronic device in real time.

[0041] In another possible implementation, the first electronic device can monitor the distance to the second electronic device in real time without requiring manual operation by the user.

[0042] In one possible implementation, the method further includes: when the first electronic device is underwater, transmitting an eighth acoustic signal at a first moment, the eighth acoustic signal carrying a first identification identifier; receiving a ninth acoustic signal transmitted by a second electronic device at a second moment, the ninth acoustic signal being an acoustic signal transmitted by the second electronic device upon receiving the eighth acoustic signal, the ninth acoustic signal carrying a second identification identifier of the second electronic device; transmitting a tenth acoustic signal at a third moment, the tenth acoustic signal carrying the first identification identifier; receiving an eleventh acoustic signal transmitted by the second electronic device at a fourth moment, the eleventh acoustic signal being an acoustic signal transmitted by the second electronic device upon receiving the tenth acoustic signal, the eleventh acoustic signal carrying a second identification identifier of the second electronic device; and outputting a distance prompt based on a first time interval and a second time interval, the distance prompt being used to indicate to the user the change in distance between the first electronic device and the second electronic device, the first time interval being the time interval between the first moment and the second moment, and the second time interval being the time interval between the third moment and the fourth moment.

[0043] In this way, the first electronic device can determine the distance changes between itself and the second electronic device in real time, improving the safety of diving.

[0044] In one possible implementation, a distance prompt is output based on a first time interval and a second time interval, specifically including: when the first time interval is greater than the second time interval, a first distance prompt is output to indicate to the user that the distance between the first electronic device and the second electronic device is decreasing; when the first time interval is less than the second time interval, a second distance prompt is output to indicate to the user that the distance between the first electronic device and the second electronic device is increasing.

[0045] This allows for real-time distance alerts, indicating whether the distance between the two electronic devices is increasing or decreasing.

[0046] In one possible implementation, the method further includes: before receiving the first operation, displaying a first prompt, the first prompt being used to prompt the user that the first electronic device has not yet set an identity identifier; receiving and responding to the user's first operation, setting the identity identifier of the first electronic device to a first identity identifier, specifically including: receiving and responding to the user's first operation, displaying a second prompt, the second prompt being used to prompt the user that the identity identifier of the first electronic device is the first identity identifier.

[0047] In this way, the first electronic device can set an identity based on the user's actions.

[0048] Secondly, this application provides an underwater communication method applied to a buoy device. The buoy device stores first location information, which is used to indicate the location of the buoy device. The method includes: at a fifth moment, receiving a twelfth acoustic signal transmitted underwater by a first electronic device, the twelfth acoustic signal carrying a first identification identifier and a first transmission time of the first electronic device, the first transmission time being the transmission time of the twelfth acoustic signal; determining second location information based on the fifth moment, the first transmission time, and the first location information, the second location information being used to indicate the location of the first electronic device; and transmitting a first wireless signal to a second electronic device that is not submerged in water, the first wireless signal including the second location information.

[0049] In this way, the buoy device can send the location information of the underwater electronic equipment to the electronic equipment on the shore, making it easier for the electronic equipment on the shore to determine the location of the underwater electronic equipment.

[0050] In one possible implementation, the method further includes: after determining the second location information, sending a thirteenth acoustic signal to the first electronic device, the thirteenth acoustic signal carrying the second location information.

[0051] In this way, the buoy device can also send the location information of the first electronic device to the first electronic device, so that the user of the first electronic device can determine their own location.

[0052] Thirdly, this application provides an electronic device, a first electronic device, including one or more processors, one or more memories, a display screen, and a sound-generating module. The one or more memories are coupled to one or more processors, and the one or more memories are used to store computer program code, which includes computer instructions. When the one or more processors execute the computer instructions, the first electronic device performs the underwater communication method in any possible implementation of any of the above aspects.

[0053] In one possible implementation, the sound-generating module is attached to the back cover of the first electronic device, and the sound-generating module is used to drive the back cover to vibrate and send sound wave signals.

[0054] In this way, the sound wave signal can be directly transmitted into the water through the vibration of the rear shell, reducing transmission loss.

[0055] Fourthly, embodiments of this application provide a computer storage medium including computer instructions, which, when executed on a first electronic device, cause the first electronic device to perform the underwater communication method in any of the possible implementations of any of the above aspects.

[0056] Fifthly, embodiments of this application provide a computer program product that, when run on a first electronic device, causes the first electronic device to execute the underwater communication method in any of the possible implementations of any of the above aspects.

[0057] The beneficial effects of the third to fifth aspects can be referenced from the beneficial effects of the first aspect mentioned above.

[0058] Sixthly, this application provides a buoy device including one or more processors and one or more memories. The one or more memories are coupled to the one or more processors, and the one or more memories are used to store computer program code, including computer instructions, which, when executed by the one or more processors, cause the buoy device to perform the underwater communication method in any possible implementation of the second aspect described above.

[0059] In a seventh aspect, embodiments of this application provide a computer storage medium including computer instructions that, when executed on a buoy device, cause the buoy device to perform the underwater communication method in any possible implementation of the second aspect described above.

[0060] Eighthly, embodiments of this application provide a computer program product that, when run on a buoy device, causes the buoy device to execute the underwater communication method in any possible implementation of the second aspect described above.

[0061] The beneficial effects of aspects six through eight can be referenced to the beneficial effects of aspect two above. Attached Figure Description

[0062] Figure 1A A schematic diagram of the system architecture of an underwater communication system 10 provided in this application embodiment;

[0063] Figure 1B A schematic diagram of the hardware structure of an electronic device 100 provided in an embodiment of this application;

[0064] Figure 1C A schematic diagram illustrating the connection relationship of a transceiver module for an acoustic signal provided in an embodiment of this application;

[0065] Figure 1D A schematic diagram showing the positional relationship of a sound-generating module 170D in an electronic device 100, provided in an embodiment of this application;

[0066] Figure 1E A schematic diagram showing the positional relationship of another sound-generating module 170D provided in an embodiment of this application within an electronic device 100;

[0067] Figure 1FA schematic diagram illustrating the relationship between the deformation of a sound-generating module 170D and the waveform of the generated sound wave signal, provided for an embodiment of this application;

[0068] Figures 2A-2F A set of interface diagrams for setting the identity identifier of electronic device 100 provided in the embodiments of this application;

[0069] Figures 3A-3F A schematic diagram of the interface of a group of electronic devices 100 transmitting information underwater, provided in an embodiment of this application;

[0070] Figures 4A-4E A schematic diagram of the interface for a group of electronic devices 100 to join / leave a group, provided in an embodiment of this application;

[0071] Figures 5A-5F A schematic diagram of an interface for setting information sending conditions for a group of electronic devices 100 provided in this application embodiment;

[0072] Figure 5G A schematic diagram of the interface of an electronic device 100 receiving a receipt message, provided for an embodiment of this application;

[0073] Figure 5H A schematic diagram of an interface for an electronic device 100 to output a distance change prompt, provided as an embodiment of this application;

[0074] Figure 6A A flowchart illustrating an underwater communication method provided in an embodiment of this application;

[0075] Figure 6B This is a schematic diagram of the structure of an acoustic signal provided in an embodiment of this application;

[0076] Figure 6C A waveform diagram of an acoustic signal provided in an embodiment of this application;

[0077] Figure 7 A schematic diagram illustrating the process of an electronic device 200 receiving target information sent by an electronic device 100 underwater, as provided in an embodiment of this application.

[0078] Figure 8 A schematic diagram illustrating the process of an electronic device 100 joining a group, provided as an embodiment of this application;

[0079] Figure 9 A schematic diagram illustrating the process of adding another electronic device 100 to a group, as provided in an embodiment of this application;

[0080] Figure 10 A flowchart illustrating a method for determining the distance change between electronic device 100 and electronic device 200 based on underwater communication, provided in this application embodiment;

[0081] Figure 11 This is a schematic diagram of the functional modules of an electronic device 100 provided in an embodiment of this application;

[0082] Figure 12 A schematic diagram of the system architecture of an underwater communication system 20 provided in this application embodiment;

[0083] Figure 13 A flowchart illustrating an underwater communication method provided in an embodiment of this application is shown.

[0084] Figure 14 A flowchart illustrating another underwater communication method provided in an embodiment of this application is shown. Detailed Implementation

[0085] The technical solutions in the embodiments of this application will be clearly and thoroughly described below with reference to the accompanying drawings. In the description of the embodiments of this application, unless otherwise stated, " / " means "or," for example, A / B can mean A or B; the word "and / or" in the text is merely a description of the relationship between related objects, indicating that three relationships can exist. For example, A and / or B can represent: A existing alone, A and B existing simultaneously, and B existing alone. Furthermore, in the description of the embodiments of this application, "multiple" refers to two or more than two.

[0086] Hereinafter, the terms "first" and "second" are used for descriptive purposes only and should not be construed as implying or suggesting relative importance or implicitly indicating the number of indicated technical features. Thus, a feature defined as "first" or "second" may explicitly or implicitly include one or more of that feature, and in the description of the embodiments of this application, unless otherwise stated, "multiple" means two or more.

[0087] The term "user interface (UI)" used in the following embodiments of this application refers to the medium interface through which an application or operating system interacts and exchanges information with the user. It realizes the conversion between the internal form of information and the form that the user can accept. The user interface is source code written in a specific computer language such as Java or Extensible Markup Language (XML). The interface source code is parsed and rendered on the electronic device, ultimately presenting content that the user can recognize. A common form of user interface is the graphical user interface (GUI), which refers to a user interface related to computer operation displayed graphically. It can be visible interface elements such as text, icons, buttons, menus, tabs, text boxes, dialog boxes, status bars, navigation bars, and widgets displayed on the screen of an electronic device.

[0088] Figure 1A A schematic diagram of the architecture of an underwater communication system 10 provided in an embodiment of this application is shown.

[0089] like Figure 1A As shown, the underwater communication system 10 may include electronic device 100 and electronic device 200.

[0090] Electronic device 100 may include one or more buttons, such as button 11, button 12, and button 13. In some embodiments, button 11 may be located at the ten o'clock position of electronic device 100, button 12 may be located at the two o'clock position of electronic device 100, and button 13 may be located at the four o'clock position of electronic device 100. Electronic device 200 may also include one or more buttons, such as button 21, button 22, and button 23, and the relevant descriptions of the buttons of electronic device 200 can be found in the relevant descriptions of the buttons of electronic device 100, and will not be repeated here. After electronic devices 100 and 200 are submerged in water, users can use the buttons to perform operations such as sending and viewing information.

[0091] When both electronic devices 100 and 200 are underwater, they can communicate underwater using underwater acoustic carrier communication technology. Electronic device 100 can generate an acoustic signal carrying information using a buzzer and propagate it to the surrounding environment using water as the propagation medium. Electronic device 200 can receive the acoustic signal carrying information using a microphone or a sound sensor, thus enabling underwater communication between electronic devices 100 and 200. It is understood that electronic device 200 can also send information to electronic device 100 using the same method. The acoustic signal can include ultrasonic signals, infrasound signals, and sound signals audible to the human ear; this embodiment does not limit the frequency range of the acoustic signal.

[0092] In some embodiments, when neither electronic device 100 nor electronic device 200 is underwater, electronic device 100 and electronic device 200 can communicate via wireless communication methods such as Bluetooth or wireless local area network, which is not limited herein.

[0093] Understandable Figure 1A The illustrated embodiment is merely an example. In this application embodiment, the underwater communication system 10 may also include more electronic devices. Moreover, the electronic device 100 (or electronic device 200) may also include more or fewer buttons, and the positions of the buttons may also be different from those in the above embodiments. This application does not limit the scope of the invention.

[0094] It should be noted that electronic device 100 and electronic device 200 can be Figure 1AThe watch shown can also be a bracelet, smart glasses or other wearable devices. This application does not limit the specific type and form of electronic device 100 and electronic device 200.

[0095] Figure 1B A schematic diagram of the hardware structure of the electronic device 100 is shown.

[0096] The electronic device 100 can be a wearable device such as a watch, bracelet, or smart glasses. This application embodiment does not impose any special restrictions on the specific type of the electronic device.

[0097] Electronic device 100 may include a processor 110, internal memory 121, a universal serial bus (USB) interface 130, a charging management module 140, a power management module 141, a battery 142, an audio module 170, a speaker 170A, a receiver 170B, a microphone 170C, a sound-generating module 170D, a sensor module 180, buttons 190, a motor 191, an indicator 192, and a display screen 194, etc. Optionally, electronic device 100 may also 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, a light sensor 180O, and a depth sensor 180P, etc. Optionally, the sensor module 180 may also include any one or more of the following sensors: a gyroscope sensor 180B, a magnetometer sensor 180D, an accelerometer sensor 180E, a proximity sensor 180F, and a voice pickup sensor 180Q.

[0098] It is understood that the structures illustrated in the embodiments of the present invention do not constitute a specific limitation on the electronic device 100. In other embodiments of this application, the electronic device 100 may include more or fewer components than illustrated, or combine some components, or split some components, or have different component arrangements. The illustrated components may be implemented in hardware, software, or a combination of software and hardware.

[0099] Processor 110 may include one or more processing units, such as application processors (APs), modem processors, graphics processing units (GPUs), image signal processors (ISPs), controllers, video codecs, digital signal processors (DSPs), baseband processors, and / or neural network processing units (NPUs). These different processing units may be independent devices or integrated into one or more processors.

[0100] The controller can generate operation control signals based on the instruction opcode and timing signals to complete the control of instruction fetching and execution.

[0101] The processor 110 may also include a memory for storing instructions and data. In some embodiments, the memory in the processor 110 is a cache memory. This memory can store instructions or data that the processor 110 has just used or that are used repeatedly. If the processor 110 needs to use the instruction or data again, it can retrieve it directly from the memory. This avoids repeated accesses, reduces the waiting time of the processor 110, and thus improves the efficiency of the system.

[0102] In some embodiments, the processor 110 may include one or more interfaces. Interfaces 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, and / or a universal serial bus (USB) interface, etc.

[0103] The charging management module 140 receives charging input from a charger. The charger can be a wireless charger or a wired charger. In some wired charging embodiments, the charging management module 140 receives charging input from the wired charger via the USB interface 130. In some wireless charging embodiments, the charging management module 140 receives wireless charging input via the wireless charging coil of the electronic device 100. While charging the battery 142, the charging management module 140 can also supply power to the electronic device via the power management module 141.

[0104] The power management module 141 connects the battery 142, the charging management module 140, and the processor 110. The power management module 141 receives input from the battery 142 and / or the charging management module 140, and supplies power to the processor 110, internal memory 121, display screen 194, and wireless communication module 160, etc. The power management module 141 can also monitor parameters such as battery capacity, battery cycle count, and battery health status (leakage current, impedance). In some other embodiments, the power management module 141 may also be located within the processor 110. In other embodiments, the power management module 141 and the charging management module 140 may be located in the same device.

[0105] The wireless communication module 160 can provide solutions for one or more wireless communication technologies applied to the electronic device 100, including wireless local area networks (WLAN) (such as wireless fidelity (Wi-Fi) networks), Bluetooth (BT), global navigation satellite system (GNSS), frequency modulation (FM), near field communication (NFC), and infrared (IR). The wireless communication module 160 can be one or more devices integrating at least one communication processing module. The wireless communication module 160 can receive electromagnetic waves via an antenna, demodulate and filter the electromagnetic wave signals, and send the processed signals to the processor 110. The wireless communication module 160 can also receive signals to be transmitted from the processor 110, frequency modulate and amplify them, and then convert them into electromagnetic waves for radiation via the antenna.

[0106] Electronic device 100 implements display functions through a GPU, a display screen 194, and an application processor. The GPU is a microprocessor for image processing, connected to the display screen 194 and the application processor. The GPU is used to perform mathematical and geometric calculations and for graphics rendering. Processor 110 may include one or more GPUs, which execute program instructions to generate or modify display information.

[0107] Display screen 194 is used to display images, videos, etc. Display screen 194 includes a display panel. The display panel can be a liquid crystal display (LCD), or it can be manufactured using organic light-emitting diodes (OLEDs), active-matrix organic light-emitting diodes (AMOLEDs), flexible light-emitting diodes (FLEDs), minimized LEDs, microLEDs, micro-OLEDs, quantum dot light-emitting diodes (QLEDs), etc. In some embodiments, electronic device 100 may include one or N displays 194, where N is a positive integer greater than 1.

[0108] Internal memory 121 may include one or more random access memory (RAM) and one or more non-volatile memory (NVM). The RAM can be directly read and written by the processor 110 and can be used to store executable programs (e.g., machine instructions) of the operating system or other running programs, as well as user and application data. The NVM can also store executable programs and user and application data, and can be pre-loaded into the RAM for direct read and write operations by the processor 110.

[0109] The audio module 170 may include a speaker 170A, a receiver 170B, a microphone 170C, a sound-generating module 170D, etc. The electronic device 100 can implement audio functions through the audio module 170, speaker 170A, receiver 170B, microphone 170C, sound-generating module 170D, and application processor, etc.

[0110] The audio module 170 is used to convert digital audio information into analog audio signals for output, and also to convert analog audio input into digital audio signals. The audio module 170 can also be used for encoding and decoding audio signals. 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.

[0111] The loudspeaker 170A, also known as a "loudspeaker", is used to convert audio electrical signals into sound wave signals.

[0112] The receiver 170B, also known as the "earpiece", is used to convert audio electrical signals into sound wave signals.

[0113] Microphone 170C, also known as a "microphone" or "voice transducer," is used to convert sound wave signals into electrical signals. Electronic device 100 may be equipped with at least one microphone 170C. In some embodiments, electronic device 100 may be equipped with two microphones 170C, which, in addition to collecting sound wave signals, can also perform noise reduction. In other embodiments, electronic device 100 may be equipped with three, four, or more microphones 170C, which can collect sound wave signals, reduce noise, identify sound sources, and perform directional recording, etc. In the embodiments of this application, microphone 170C can be used to collect sound wave signals emitted by other electronic devices.

[0114] The sound-generating module 170D can be used to convert electrical signals into sound signals. In embodiments of this application, the sound-generating module 170D is used to generate sound wave signals carrying information. The sound-generating module 170D may include sensors such as moving-coil or piezoelectric sensors that can realize electroacoustic conversion. In some embodiments, the sound-generating module 170D may include a buzzer. In other embodiments, the sound-generating module 170D may include a sound-generating device made of piezoelectric material, such as a piezoelectric sheet, which may be annular, semi-annular, or other shapes, which are not limited herein.

[0115] Pressure sensor 180A is used to sense pressure signals and convert them into electrical signals. In some embodiments, pressure sensor 180A may be disposed on display screen 194. In some embodiments, pressure sensor 180A may also be used to measure a user's physiological parameters (e.g., blood pressure). In other embodiments, pressure sensor 180A may be used to measure water pressure and determine the user's diving depth based on the relationship between water pressure and water depth.

[0116] The gyroscope sensor 180B can be used to determine the motion attitude of the electronic device 100. In some embodiments, the gyroscope sensor 180B can determine the angular velocity of the electronic device 100 about three axes (i.e., the x, y, and z axes). The gyroscope sensor 180B can be used for image stabilization. For example, when the shutter is pressed, the gyroscope sensor 180B detects the angle of the shake of the electronic device 100, calculates the distance that the lens module needs to compensate based on the angle, and allows the lens to counteract the shake of the electronic device 100 by moving in the opposite direction, thus achieving image stabilization. The gyroscope sensor 180B can also be used in navigation and motion-sensing game scenarios.

[0117] The magnetic sensor 180D includes a Hall sensor. The electronic device 100 can use the magnetic sensor 180D to detect magnetic fields.

[0118] The 180E accelerometer can detect the magnitude of acceleration of electronic device 100 in various directions (typically three axes). When electronic device 100 is stationary, it can detect the magnitude and direction of gravity. It can also be used to identify the posture of electronic devices and applied to applications such as screen orientation switching and pedometers.

[0119] A distance sensor 180F is used to measure distance. Electronic device 100 can measure distance via infrared or laser. In some embodiments, during a shooting scene, electronic device 100 can utilize the distance sensor 180F to measure distance for rapid focusing.

[0120] Temperature sensor 180J is used to detect temperature. Temperature sensor 180J may include a body temperature sensor and a water temperature sensor. The body temperature sensor is used to monitor the user's body temperature. The water temperature sensor can be used to monitor water temperature. In some embodiments, the temperature sensor can also be used to monitor the temperature of electronic device 100.

[0121] Touch sensor 180K, also known as a "touch device," can be located on display screen 194. The touch sensor 180K and display screen 194 together form a touchscreen, also known as a "touchscreen." Touch sensor 180K detects touch operations applied to or near it. The touch sensor can transmit the detected touch operation to the application processor to determine the type of touch event. Visual output related to the touch operation can be provided through display screen 194. In other embodiments, touch sensor 180K may also be located on the surface of electronic device 100, in a different position than display screen 194.

[0122] The 180N heart rate sensor can be used to monitor a user's heart rate.

[0123] The light sensor 180O, also known as an ambient light sensor, is used to sense the ambient light intensity. In this embodiment, the electronic device 100 can determine the user's environment based on the ambient light intensity detected by the light sensor 180O.

[0124] The depth sensor 180P can be used to detect the depth of electronic device 100 underwater.

[0125] The sound pickup sensor 180Q can be used to collect sound wave signals so that the electronic device 100 can identify the information carried in the collected sound wave signals. The sound pickup sensor 180Q can be a moving-coil, capacitive, or piezoelectric acoustic-electric sensor.

[0126] Button 190 includes a power button, volume buttons, a crown, etc. Button 190 can be a mechanical button or a touch button. Electronic device 100 can receive button input and generate key signal inputs related to user settings and function control of electronic device 100. In this embodiment, button 190 may include the above-mentioned... Figure 1A The buttons shown are 11, 12, and 13.

[0127] Motor 191 can generate vibration alerts. Motor 191 can be used for incoming message vibration alerts or for touch vibration feedback. Motor 191 can also respond to different vibration feedback effects depending on the type of information received. The vibration feedback effects can also be customized.

[0128] Indicator 192 can be an indicator light, which can be used to indicate charging status, power changes, or to indicate messages, notifications, etc.

[0129] In this embodiment, the hardware structure of the electronic device 200 and the hardware structure of other electronic devices in the underwater communication system 10 can also refer to the above description. Figure 1B The relevant description of the hardware structure of the electronic device 100 shown will not be repeated here.

[0130] Figure 1C This diagram illustrates the connection relationship of a transceiver module for an acoustic signal provided in an embodiment of this application.

[0131] like Figure 1C As shown, 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, and a digital-to-analog converter 106, etc.

[0132] The receiving module 101 can acquire sound wave signals and may include sensors such as moving-coil or piezoelectric sensors capable of sound-to-electric conversion. For example, the receiving module 101 may include any one or more of the following: a microphone 170C, a pickup sensor 180Q, etc. The receiving module 101 can convert the acquired sound wave signals into electrical signals and send these electrical signals to the filtering and amplification circuit 103.

[0133] The filter amplifier circuit 103 can filter and amplify the electrical signal sent by the receiving module 101, filter out noise signals, amplify the filtered electrical signal, and send the processed electrical signal to the analog-to-digital converter 105.

[0134] The analog-to-digital converter 105 can receive the electrical signal sent by the filter amplifier circuit 103, convert the electrical signal (i.e., analog signal) into a digital signal, and send the digital signal to the processor 110.

[0135] The processor 110 can receive digital signals sent by the analog-to-digital converter 105 and determine the information and identification carried by the received acoustic signal based on the digital signals. After determining the information to be sent, the processor 110 can also encode the information and the identification of the electronic device 100 to obtain the digital signal corresponding to the target information, and send the digital signal corresponding to the target information to the digital-to-analog converter 106.

[0136] The digital-to-analog converter 106 can receive digital signals sent by the processor 110 and convert the digital signals into analog signals, that is, the electrical signals corresponding to the digital signals. Then, the digital-to-analog converter 106 can send the converted electrical signals to the power amplifier circuit 104.

[0137] After receiving the electrical signal sent by the digital-to-analog converter 106, the power amplifier circuit 104 can amplify the electrical signal and send the processed electrical signal to the transmitting module 102.

[0138] The transmitting module 102 may include sensors such as moving-coil or piezoelectric sensors capable of electroacoustic conversion. The transmitting module 102 can receive electrical signals sent by the power amplifier circuit 104, convert the electrical signals into acoustic signals, and then propagate the acoustic signals outwards. In some embodiments, the transmitting module 102 may be provided with a driving transmitting circuit for driving the transmitting module 102 to transmit acoustic signals. In other embodiments, the driving transmitting circuit may also be located outside the transmitting module 102 but connected to it, for driving the transmitting module 102 to transmit acoustic signals.

[0139] In some embodiments, the transmitting module 102 and the receiving module 101 may also share the same module and use half-duplex mode to transmit or receive signals, which is not limited in this application.

[0140] It should be noted that the connection relationships of the acoustic signal transceiver modules in electronic device 200 and other electronic devices in underwater communication system 10 can also refer to the above. Figure 1C The embodiments shown are not described in detail here.

[0141] Figure 1D This diagram illustrates the positional relationship of a sound-generating module 170D in an electronic device 100 according to an embodiment of this application.

[0142] like Figure 1D As shown, a sound-generating module 170D and a battery 142 can be sequentially arranged below the display screen 194. The sound-generating module 170D can be fixed between the display screen 194 and the battery 142 by a support frame. The sound-generating module 170D and the battery 142 can be fixed (e.g., glued) above and below the support frame, respectively. There is a gap between the sound-generating module 170D and the display screen 194 (also called the upper gap), and a gap between the sound-generating module 170D and the battery 142 (also called the lower gap). The upper and lower gaps provide space for the sound-generating module 170D to vibrate vertically. Furthermore, since the battery will expand after long-term use, the lower gap also provides space for battery expansion. The support frame can be made of insulating material, or its surface can be treated with insulation. The support frame can have a ring-shaped (or rectangular, or other shapes) structure, and its specific shape can be determined by the shapes of the battery 142 and the sound-generating module 170D.

[0143] In this way, vibration space is reserved above and below the sound-generating module 170D to facilitate the vibration and sound generation of the sound-generating module 170D.

[0144] exist Figure 1D In the illustrated embodiment, the sound-generating module 170D can be a buzzer.

[0145] Figure 1E This diagram illustrates the positional relationship of another sound-generating module 170D provided in an embodiment of this application within an electronic device 100.

[0146] like Figure 1E As shown, the sound-emitting module 170D can be disposed between the back cover 151 and the battery 142 of the electronic device 100. The battery 142 can be disposed below the display screen 194. The back cover 151 refers to the housing of the electronic device 100 that is close to the user's skin when the user wears it. The sound-emitting module 170D can be tightly fitted to the back cover 151.

[0147] When the electronic device 100 is submerged in water and the sound-emitting module 170D vibrates to produce sound, since the back cover 151 is attached to the sound-emitting module 170D, the sound-emitting module 170D can drive the back cover 151 to vibrate together, transmitting the sound wave signal into the water, and then through the water to transmit the sound wave signal to other electronic devices.

[0148] In this way, the sound-generating module 170D can directly transmit sound wave signals into the water by driving the rear shell 151 to vibrate, without having to transmit the generated sound wave signals through the gas inside the shell to the shell and then from the shell to the water, thus shortening the propagation path of the sound wave signals and improving the propagation efficiency.

[0149] exist Figure 1E In the illustrated embodiment, the sound-generating module 170D can be a piezoelectric sheet made of piezoelectric material. The piezoelectric sheet can take different shapes. For example, if the body of the electronic device 100 is circular, the piezoelectric sheet can be annular. In this case, a sensor can be positioned within the annular shape to monitor physiological parameters such as the user's heart rate. It is understood that the annular piezoelectric sheet here is merely an example. In this embodiment, the shape of the piezoelectric sheet can also be a square frame, a semi-circle, a semi-annular shape, etc., and this application does not impose any limitations on it.

[0150] Understandable, Figures 1D to 1E The illustrated embodiments are merely two examples. In this application, the sound-generating module 170D can also be located in other positions within the electronic device 100, and this application does not impose any limitations on this. Furthermore, the sound-generating module 170D and other related devices provided in this application are compact and easy to integrate into small electronic devices, making them convenient for users to wear.

[0151] In some embodiments, if the positional relationship between the sound-generating module 170D and the various components of the electronic device 100 is as described above... Figure 1E As shown in the diagram, the transmitting or receiving module can be integrated with the rear shell 151 or other structural housings via bonding or injection molding. Optionally, the transmitting and receiving modules can also share the same module, using half-duplex mode for signal transmission or reception.

[0152] The following describes the relationship between the vibration of the 170D sound-generating module and the generated sound waveform.

[0153] like Figure 1F As shown, the position of the sound-generating module 170D when it is not vibrating can be called its initial position. During the vibration and sound generation process, the sound-generating module 170D can deform upwards or downwards. The waveform of the sound wave signal generated by the vibration of the sound-generating module 170D can be... Figure 1FThe curve C1 is shown in the two-dimensional coordinate system. In this system, the horizontal axis represents time, the vertical axis represents amplitude, and curve C1 represents the waveform of the sound signal. The waveform of the sound signal can be related to the deformation direction and degree of the sound-generating module 170D.

[0154] Taking one cycle of curve C1 as an example, curve C1 can include a peak point A1 and a trough point A2 within this cycle. The amplitude of the peak point A1 is the highest amplitude of the sound wave signal, and the amplitude corresponding to the trough point A2 is the lowest amplitude of the sound wave signal. Specifically, within this time cycle, the peak point A1 can be generated when the sound-generating module 170D deforms upwards to its highest position, and the trough point A2 can be generated when the sound-generating module 170D deforms downwards to its lowest position. The higher the highest position of the sound-generating module 170D, the higher the amplitude of the peak point A1; the lower the lowest position of the sound-generating module 170D, the higher the absolute value of the amplitude of the trough point A2.

[0155] Understandable, Figure 1F This is merely an illustrative example illustrating the correspondence between the vibration direction and amplitude of the sound-generating module 170D and the waveform of the generated sound wave signal. In this application embodiment, the waveform of the sound wave signal may also be different from the waveform in the above embodiment, and this application does not limit it here.

[0156] This application provides an underwater communication method applied to an electronic device 100. The method includes: receiving and responding to a first operation by a user to set the identity identifier of the electronic device 100 as a first identity identifier; when the electronic device 100 is underwater, receiving and responding to a second operation by the user to display one or more messages, the one or more messages including the first message; receiving and responding to a third operation by the user to select to send the first message to send a first acoustic signal, the first acoustic signal carrying the first message and the first identity identifier.

[0157] In this way, underwater communication can be achieved using sound wave signals as the carrier of information. Moreover, sound wave signals attenuate less when propagating underwater, and the propagation distance is greater than that of traditional wireless communication.

[0158] The following is a set of schematic diagrams illustrating the interface for enabling underwater communication and setting identity identifiers provided in the embodiments of this application.

[0159] For example, such as Figure 2A As shown, the electronic device 100 can display a main interface 210, which can display the time, such as "08:00".

[0160] Electronic device 100 can receive and respond to a user's swipe-down gesture on the main interface 210, displaying, for example... Figure 2BThe drop-down menu 220 is shown. The drop-down menu 220 may include one or more controls, such as a do-not-disturb control, a location control, an underwater communication control 221, etc.

[0161] Electronic device 100 can receive and respond to user clicks on underwater communication control 221, displaying, for example... Figure 2C The underwater communication interface 230 is shown.

[0162] like Figure 2C As shown, the underwater communication interface 230 may include an enable switch 231, which can be used to enable or disable the underwater communication function of the electronic device 100. The enable switch 231 may have two states: on and off. The state of the enable switch 231 can be used to prompt the user whether the underwater communication function is enabled. Figure 2C In the illustrated embodiment, the enable switch 231 is in the off state, indicating that the underwater communication function is not currently enabled by the electronic device 100. The underwater communication interface 230 may also include one or more setting entries, such as an identification entry 232, a group entry 233, etc. In some embodiments, if the enable switch 231 is in the off state, the above-mentioned one or more setting entries (including the identification entry 232, the group entry 233, etc.) may be grayed out. In the grayed-out state, the one or more setting entries cannot trigger the electronic device 100 to display the corresponding interface. In other embodiments, if the enable switch 231 is in the off state, the underwater communication interface 230 may not display the one or more setting entries, which is not limited here.

[0163] Electronic device 100 can receive and respond to a user's click operation on enable switch 231, such as... Figure 2D As shown, the state of the enable switch 231 is switched from off to on. After the enable switch 231 is on, one or more setting entries in the underwater communication interface 230 can be restored from a grayed-out state to a normal state. In the normal state, the one or more setting entries can trigger the electronic device 100 to display the corresponding interface. Among them, the identity identifier entry 232 can be used to trigger the electronic device 100 to set the identity identifier of the electronic device 100. The identity identifier entry 232 can also display an identity prompt 232a, such as the text "No identifier", to indicate to the user that no identity identifier has been set. In some other embodiments, the one or more setting entries can be displayed in the underwater communication interface 230 regardless of whether the enable switch 231 is on, and the one or more setting entries are in a normal state.

[0164] Electronic device 100 can receive and respond to a user's click on identity entry 232, displaying, for example... Figure 2E The identity selection interface shown is 240.

[0165] like Figure 2E As shown, the identity selection interface 240 can display one or more identity identifiers, such as Coach 1, Coach 2, Student 1, Student 2, etc. Figure 2E In the interface 240, a selection marker 241 is displayed on "Coach 1". Selection marker 241 can be a rectangle, or other shapes, patterns, etc. Selection marker 241 serves to indicate to the user that the currently selected identity is "Coach 1". It should be noted that the electronic device 100 can receive and respond to the user's swipe operation on the identity selection interface 240 (or the user's operation on a button, etc.) to switch the selected identity. The identity selection interface 240 may also include a confirmation control 242, which triggers the electronic device 100 to set the currently selected identity as the identity of the electronic device 100.

[0166] The electronic device 100 can receive and respond to the user's click operation on the confirmation control 242, set the currently selected identity coach 1 as the identity identifier of the electronic device 100, and display as shown. Figure 2F The underwater communication interface 230 is shown. In some embodiments, if the electronic device 100 is set with different identity identifiers, the information list displayed by the electronic device 100 may be different, and the information list allows the user to select the information to send.

[0167] like Figure 2F As shown, in the underwater communication interface 230, the identity prompt 232a displayed in the identity identification entry 232 can be the text "Coach 1", which is used to prompt the user that the currently set identity identification is "Coach 1".

[0168] In this way, the electronic device 100 can enable underwater communication functions and set an identity based on the user's operation before entering the water.

[0169] It is understandable that the above Figures 2A to 2F The illustrated embodiment is merely an example. In this application, the electronic device 100 may also enable the underwater communication function in other ways. In some embodiments, the electronic device 100 may have a diving application installed, in which case the electronic device 100 may enable the underwater communication function within the diving application. In other embodiments, the underwater communication-related functions may also be set in a sports application (or other applications, etc.), in which case the electronic device 100 may also enable the underwater communication function through the sports application, etc., and this application does not limit this.

[0170] The following is a schematic diagram of the interface of a group of electronic devices 100 sending information to other electronic devices underwater, according to an embodiment of this application.

[0171] For example, when electronic device 100 detects that a user is diving, such as Figure 3A As shown, 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 oxygen reserve, diving depth, diving speed, maximum and average depth of this dive, underwater time, etc. The diving status interface 310 can also display the current time and the battery level of the electronic device 100.

[0172] Electronic device 100 can receive and respond to user operations on button 11, and display as shown Figure 3B The advanced menu interface shown is 320.

[0173] like Figure 3B As shown, the advanced menu interface 320 can display a menu list, which may include one or more options, such as a gas change option, a message list option 321, and a view historical message option 322. Figure 3B In the message list option 321, a selection marker 323 can be displayed. The selection marker 323 indicates to the user that the currently selected option is message list option 321. Other details regarding the selection marker 323 can be found above. Figure 2E The relevant descriptions in the illustrated embodiments are provided. Optionally, the advanced menu interface 320 may also display one or more button operation prompts to inform the user of the function of the corresponding button. For example, the button operation prompt 324 displayed near button 11 can be used to prompt the user that an operation on button 11 can trigger the electronic device 100 to return to the previous interface (i.e., the diving state interface 310); the button operation prompt 325 displayed near button 12 can be used to prompt the user that an operation on button 12 can trigger the electronic device 100 to switch the currently selected option; the button operation prompt 326 displayed near button 13 can be used to prompt the user that an operation on button 13 can trigger the electronic device 100 to display the interface corresponding to the currently selected option.

[0174] Electronic device 100 can receive and respond to user operations on button 13, and display as shown Figure 3C The message list shown is 330.

[0175] like Figure 3C As shown, message list 330 may include one or more preset messages, such as preset message 331, preset message 332, and preset message 333. Preset message 331 may be the text "Maintain this depth," preset message 332 may be the text "Bottom reached," and preset message 333 may be the text "Low gas." Figure 3CIn the message list 330, a selection marker 334 may also be displayed on the preset information 332 to indicate to the user that the preset information 333 is selected. Optionally, the message list 330 may also display multiple button operation prompts, the specific content of which can be found above. Figure 3B The relevant descriptions in the illustrated embodiments.

[0176] Electronic device 100 can receive and respond to user operation on button 13, send sound wave signal carrying preset information 332, and display as shown. Figure 3D The sending interface shown is 340.

[0177] like Figure 3D As shown, the sending interface 340 can display a sending status 341. The sending status can include sending, sent, and sending failed. The sending status 341 can be used to indicate to the user that the current message is being sent.

[0178] In some embodiments, the sending interface 340 may also display sending information, and the sending message may include preset information selected by the user (e.g., Figure 3C The preset information 332 shown and the electronic device 100 are identity identifiers (i.e., Coach 1). Optionally, the transmitted information may also include the current depth of the electronic device 100 and / or the time of transmission. For example, the transmitted information could be "Coach 1@Depth 46.1m, reached the bottom at 10:25:31 on May 23".

[0179] After electronic device 100 finishes sending, such as Figure 3E As shown, the electronic device 100 can update the sending status 341 in the sending interface 340 from "sending" to "sent".

[0180] After activating its underwater communication function, electronic device 200 can acquire sound wave signals transmitted by electronic device 100 through a sound pickup sensor and / or microphone, and deduce the information transmitted by electronic device 100 from the sound wave signals. For example... Figure 3F As shown, when electronic device 200 receives information sent by electronic device 100, it can display an information prompt window 351 on the diving status interface 350. The information prompt window 351 can display the content of the information sent by electronic device 100, such as "Instructor 1 @ Depth 46.1m, bottom reached". It is understandable that after receiving the acoustic signal, electronic device 200 can also output a reception reminder through indicator light flashing, vibration, sound, etc., to notify the user that information has been received.

[0181] It is understandable that after the electronic device 200 displays the information prompt window 351, the electronic device 200 can also send an acoustic signal carrying receipt information to the electronic device 100 based on the user's operation. A specific interface diagram can be found above. Figures 3A to 3E The relevant descriptions in the illustrated embodiments will not be repeated here.

[0182] In some embodiments, the electronic device 200 may also activate its underwater communication function after detecting that the electronic device 200 has entered the water, and collect sound wave signals propagating in the water through devices such as sound pickup sensors and / or microphones.

[0183] In this way, electronic device 100 can send messages to electronic device 200 (or other electronic devices) underwater via sound wave signals, and can also receive messages sent by electronic device 200, thus enabling long-distance underwater communication.

[0184] The following is a schematic diagram of the interface for adding a group of electronic devices 100 to a group, as provided in an embodiment of this application.

[0185] For example, such as Figure 4A As shown, the electronic device 100 displays an underwater communication interface 230, which can communicate with the aforementioned... Figure 2F The underwater communication interface 230 shown is identical. The electronic device 100 can receive and respond to user actions regarding the entry into group 233, displaying, as shown... Figure 4B The group entry interface shown is 410.

[0186] like Figure 4B As shown, the group entry interface 410 may include a numeric keypad 411 and an input area 412. The electronic device 100 may receive and respond to the user's input operation on the numeric keypad 411, and display the user-inputted number sequence, such as "5678", in the input area 412.

[0187] The electronic device 100 can add itself to the group corresponding to the number sequence input by the user, and display it as shown in the image. Figure 4C The member list interface shown is 420.

[0188] like Figure 4CAs shown, the member list interface 420 can display the identifiers of one or more group members, all of whom belong to the group with the identifier (ID) 5678. These identifiers may include: Coach 1, Student 1, Student 2, etc. The member list interface 420 can be used to indicate to the user the number of group members and the identity of each member. The member list interface 420 can also display the group ID, such as "Group ID: NO.5678". Optionally, the member list interface 420 may also include a return control 421 to trigger the electronic device 100 to return to the underwater communication interface 230.

[0189] Electronic device 100 can receive and respond to user operations on button 12, and display as shown Figure 4D The group operation interface shown is 430.

[0190] like Figure 4D As shown, the group operation interface 430 may include a return menu control 431 and an exit group control 432. The return menu control 431 can be used to trigger the electronic device 100 to return to the underwater communication interface 230. The exit group control 432 is used to trigger the electronic device 100 to exit the current group.

[0191] Electronic device 100 can receive and respond to user actions on exit group control 432, displaying, for example... Figure 4E The exit screen shown is 440.

[0192] like Figure 4E As shown, the exit interface 440 can display an exit prompt 441, a yes control 442, and a no control 443. The exit prompt 441 asks the user whether they are sure they want to leave the current group; for example, the exit prompt 441 could be the text "Confirm exiting group (NO.5678)?". The yes control 442 triggers the electronic device 100 to exit the current group, and the no control 443 triggers the electronic device 100 to close the exit interface 440 and redisplay the group operation interface 430 or the member list interface 420.

[0193] In this way, electronic device 100 can join or leave a group it has already joined.

[0194] Understandable, Figures 4A to 4E The illustrated embodiment is merely an example. In this application embodiment, the electronic device 100 can also form a group in other ways, and this application does not limit it.

[0195] In some embodiments, the electronic device 100 may also employ the above-described method. Figures 4A to 4E The method shown in the application for creating a group is not limited to this method.

[0196] The following is a set of schematic diagrams of an interface for setting the automatic transmission conditions of an electronic device 100 according to an embodiment of this application.

[0197] For example, such as Figure 5A As shown, the electronic device 100 displays an underwater communication interface 230. A description of the underwater communication interface 230 can be found above. Figure 2F The relevant description in the illustrated embodiment is provided. Furthermore, the underwater communication interface 230 may also include an automatic transmission setting entry 234 and a historical message entry 235. The automatic transmission setting entry 234 can be used to trigger the electronic device 100 to display the automatic transmission setting interface. The historical message entry 235 can be used to trigger the electronic device 100 to display received historical messages.

[0198] Electronic device 100 can receive and respond to user operations on automatic sending setting entry 234, displaying, for example... Figure 5B The automatic sending settings interface 510 is shown.

[0199] like Figure 5B As shown, the automatic transmission settings interface 510 may include one or more settings entries, such as diving status entry 511, environmental equipment entry 512, physiological parameter entry 513, and periodic transmission entry 514. Each settings entry can be used to trigger the electronic device 100 to display the corresponding transmission condition settings interface.

[0200] For example, electronic device 100 can receive and respond to user actions regarding diving status entry 511, displaying, as shown below. Figure 5C The diving status settings interface shown is 520.

[0201] like Figure 5C As shown, the diving status setting interface 520 may include one or more setting options, each of which may correspond to a diving status parameter, such as diving depth, ascent depth, safe stay time, and remaining no-decompression time. Furthermore, each setting option can be used to set the automatic transmission conditions corresponding to that diving status parameter; in some embodiments, it can also be used to set the information to be transmitted. When the diving status parameter is detected to meet the corresponding automatic transmission conditions, the electronic device 100 can transmit an acoustic signal carrying information.

[0202] As another example, electronic device 100 can receive and respond to user operations on environmental equipment item 512, displaying, for instance... Figure 5D The environmental equipment settings interface shown is 530.

[0203] like Figure 5DAs shown, the environmental equipment settings interface 530 may include one or more settings options, each of which may correspond to a diving status parameter, such as oxygen reserve or ambient temperature. Each settings option can be used to set the automatic transmission conditions corresponding to that environmental equipment parameter. In some embodiments, it can also be used to set the information to be transmitted. When the environmental equipment parameter is detected to meet the corresponding automatic transmission conditions, the electronic device 100 may transmit an acoustic signal carrying information.

[0204] As another example, electronic device 100 can receive and respond to user operations on physiological parameter item 513, displaying, for instance... Figure 5E The physiological parameter setting interface shown is 540.

[0205] like Figure 5E As shown, the physiological parameter setting interface 540 may include one or more setting options, each of which may correspond to a physiological parameter, such as heart rate, blood oxygen saturation, body temperature, blood pressure, etc. Furthermore, each setting option can be used to set the automatic transmission conditions corresponding to that physiological parameter; in some embodiments, it can also be used to set the information to be transmitted. When the physiological parameter is detected to meet the corresponding automatic transmission conditions, the electronic device 100 may transmit an acoustic signal carrying information.

[0206] As another example, electronic device 100 can receive and respond to a user's operation on periodically sent item 514, displaying, for instance... Figure 5F The cycle setting interface shown is 550.

[0207] like Figure 5F As shown, the period setting interface 550 may include one or more setting options, such as depth setting option 551 and time setting option 552. Depth setting option 551 can be used to set the correspondence between depth changes and information transmission. For example, electronic device 100 can be set to a depth change of 15 meters. In this case, electronic device 100 can send information once every 15 meters of depth change underwater. Time setting option 552 can be used to set the information transmission period. For example, electronic device 100 can be set to a time interval of 10 minutes. In this case, electronic device 100 can send information once every 10 minutes underwater. Optionally, these one or more setting options can also be used to set the receiving electronic device (e.g., electronic device 200).

[0208] In this way, the information transmission conditions of electronic device 100 can be set.

[0209] It is understandable that the above Figures 5A to 5FThe embodiments shown are merely examples. In the embodiments of this application, the electronic device 100 may be set with more, fewer, or different information transmission conditions than those in the above embodiments, and this application does not limit it.

[0210] In some embodiments, after sending information to electronic device 200, electronic device 100 can receive an acknowledgment message sent by electronic device 200 and display, as shown below. Figure 5G The receipt interface shown is 560.

[0211] like Figure 5G As shown, the receipt interface 560 can display receipt messages, such as "Student 1 has received the message". Receipt messages can be used to notify users that the other party has received the previously sent message.

[0212] In this way, the user of electronic device 100 can determine whether electronic device 200 has received the information.

[0213] In some embodiments, electronic device 100 may periodically communicate with electronic device 200 and determine changes in the distance between electronic device 100 and electronic device 200 based on the time interval between transmitting a signal and receiving a receipt message. Electronic device 100 may also, upon detecting an increase in the distance between electronic device 200 and electronic device 100, [further actions may be taken]. Figure 5H As shown, the output displays a distance change prompt, indicating that the user is moving away from electronic device 200. The distance change prompt can be text, such as "You are moving away from student 1," etc. Here, student 1 is the identifier of electronic device 200.

[0214] Understandable Figure 5H The embodiments shown are merely examples. In the embodiments of this application, the electronic device 100 may also output a distance change prompt when it detects that the distance between the electronic device 100 and the electronic device 200 (or other electronic devices) is decreasing, prompting the user that they are approaching the electronic device 200. This application does not limit this.

[0215] This allows users to be alerted to changes in distance between themselves and other users of electronic devices, facilitating management and improving diving safety.

[0216] The following describes the flow of an underwater communication method provided in an embodiment of this application.

[0217] like Figure 6A As shown, the specific process of an underwater communication method provided in this application embodiment may include the following steps:

[0218] S601, Electronic device 100 detects the user's operation of setting an identity identifier and sets the identity identifier of electronic device 100.

[0219] For instructions on setting up user identity identifiers, please refer to the above. Figures 2D to 2F The relevant descriptions in the illustrated embodiments.

[0220] The identification identifier of the electronic device 100 can be used to identify the user of the electronic device 100. In some embodiments, the identification identifier may consist of an identity and a serial number, such as instructor 1, instructor 2, student 1, student 2, student 3, safety officer 1, dive buddy 1, dive guide 1, etc. The identity may include any one or more of the following: instructor, student, dive buddy, safety officer, dive guide, etc.

[0221] It should be noted that the electronic device 100 can receive and respond to the user's operation of setting an identity identifier to determine the identity identifier. In other embodiments, the electronic device 100 can also receive and respond to the user's operation of setting an identity identifier to determine the identity, and determine the serial number in the identity identifier based on the device serial number (SerialNo, SN) of the electronic device 100, thereby determining the identity identifier of the electronic device 100. In this way, it is possible to avoid different electronic devices setting the same identity identifier.

[0222] It is understood that the above embodiments are merely examples. In the embodiments of this application, the identity identifier may also be other identifiers that can be used to identify the user identity of the electronic device 100, and the identity identifier may also be determined in other ways. This application does not limit this.

[0223] S602, Electronic device 100 enables underwater communication mode.

[0224] In some embodiments, the electronic device 100 can receive and respond to a user's operation to enable the underwater communication mode, thereby enabling the underwater communication mode. For example, the user's operation to enable the underwater communication mode may be as described above. Figure 2C In the illustrated embodiment, the operation of enabling switch 231 is described.

[0225] In some embodiments, the electronic device 100 can activate an underwater communication mode when it detects that it has entered the water. After the electronic device 100 enters the water, the detection result of its depth sensor will change, and the capacitance of its display screen will also change due to factors such as water pressure. Therefore, the electronic device 100 can determine whether it has entered the water by observing changes in the capacitance of its display screen and / or changes in the detection result of its depth sensor. For example, the electronic device 100 can determine that it has entered the water when it detects that the depth of its underwater device has reached a depth threshold (e.g., 0.5 meters, 2 meters, etc.).

[0226] It should be noted that the electronic device 100 may execute step S602 after executing step S601; or it may execute step S601 after executing step S602.

[0227] In some embodiments, when the electronic device 100 enables underwater communication mode, if the electronic device 100 detects that its identity has not yet been set, it may prompt the user to set the identity of the electronic device 100.

[0228] S603 When electronic device 100 is detected to have entered the water, electronic device 100 activates diving monitoring, which is used to monitor one or more of physiological parameters, environmental equipment parameters, and diving status parameters.

[0229] The method for determining whether electronic device 100 has been submerged in water can refer to the relevant description of step S602 above.

[0230] Physiological parameters may include one or more of the following: body temperature, heart rate, blood pressure, blood oxygen concentration, central nervous system (CNS) toxicity, etc.

[0231] Environmental equipment parameters may include any one or more of the following: water temperature, water depth, water flow rate, ambient light intensity, water pressure, oxygen reserve, remaining safe time, no-decompression time, and diving time.

[0232] Diving status parameters can include diving status and diving parameters. Diving status can include any one or more of the following: surfacing, descending, staying, etc.; diving parameters can include any one or more of the following: stay duration, surfacing speed, descending speed, etc.

[0233] The electronic device 100 can simultaneously monitor multiple parameters, or it can monitor different parameters among these multiple parameters separately. For example, taking underwater monitoring requiring the monitoring of parameters such as water depth, water temperature, body temperature, blood pressure, and oxygen reserve as an example, the electronic device 100 can begin monitoring all of the above parameters when it detects that it has entered the water; alternatively, the electronic device 100 can monitor water depth, body temperature, and blood pressure before entering the water, and begin monitoring other parameters such as water temperature and oxygen reserve when underwater communication is enabled. It is understood that the embodiments described here are merely illustrative of the ability of the electronic device 100 to simultaneously initiate monitoring of all parameters, or to initiate monitoring of different parameters separately. In other embodiments, the multiple parameters may include more, fewer, or different parameters than those in the above embodiments, and this application does not impose limitations here.

[0234] S604, Electronic device 100 detected that the diving monitoring result meets information transmission condition 1.

[0235] The diving monitoring results may include the monitoring results of electronic equipment 100 on any one or more parameters described in step S603 above.

[0236] Electronic device 100 may store one or more information transmission conditions, including information transmission condition 1.

[0237] Information transmission condition 1 can be a restriction on one of the parameters in the diving monitoring results, such as: water temperature below 10℃, remaining safe time less than 5 minutes, or water depth reaching 20 meters, etc.

[0238] Information transmission condition 1 can also be a constraint condition for multiple parameters in the diving monitoring results, such as diving to a depth of 10 meters, surfacing to a depth of 20 meters, or staying for a duration of 5 minutes, etc.

[0239] It should be noted that in some embodiments, each parameter in the diving monitoring results may also have a preset range. This preset range can be the normal value range of the parameter, and if the value does not fall within this range, it indicates that the user's current situation may be dangerous. In this case, the limiting condition for the parameter in the diving monitoring results can be that the monitored value of the parameter does not fall within the preset range. In other embodiments, the preset range can also be an abnormal value range. In this case, the limiting condition for the parameter in the diving monitoring results can be that the monitored value of the parameter belongs to the preset abnormal value range. In still other embodiments, the limiting condition for the parameter in the diving monitoring results can also be that the parameter is detected to have reached a preset threshold, such as a diving depth of 20 meters.

[0240] It is understood that the embodiments described herein are merely exemplary. In the embodiments of this application, information sending condition 1 may include more, less, or different content from the above embodiments, and this application does not limit it here.

[0241] S605, the electronic device 100 determines the target information based on the information transmission condition 1, wherein the target information includes the preset information 1 corresponding to the information transmission condition 1 and the identity identifier of the electronic device 100.

[0242] The electronic device 100 may store one or more preset information, and the one or more preset information may correspond to one or more information sending conditions mentioned in step S604.

[0243] For example, Table 1 shows the correspondence between information transmission conditions and preset information stored in an electronic device 100.

[0244] Table 1

[0245]

[0246] As shown in Table 1, the electronic device 100 can determine the corresponding preset information based on the information transmission conditions. For example, when the information transmission condition is that the user stays at the same location for 3 minutes, the preset information is "I have stayed for 3 minutes"; when the information transmission condition is that the remaining oxygen is 20 bar, the preset information is "My oxygen is 20 bar remaining"; when the information transmission condition is that the ambient temperature (e.g., water temperature) is 10°C, the preset information is "Ambient temperature is 10°C"; when the information transmission condition is that the heart rate is below 50 beats per minute (bpm), the preset information is "My heart rate is below 50 bpm"; when the information transmission condition is... When the blood oxygen saturation reaches 95%, the preset message is "Blood oxygen saturation is 95%"; when the message is sent when the user is detected surfacing and the current water depth is 5 meters, the preset message is "I have risen to a depth of 5 meters"; when the message is sent when the user is detected diving and the current water depth is 15 meters, the preset message is "I have dived to a depth of 15 meters"; when the message is sent when the user is detected staying at the same depth for 2 minutes and the water depth is 10 meters, the preset message is "I have safely stayed at point 10 for 2 minutes".

[0247] It is understood that the embodiments shown in Table 1 are merely examples. In the embodiments of this application, the electronic device 100 may store more, less, or different information transmission conditions and preset information than those shown in Table 1. This application does not limit these settings.

[0248] After detecting that the diving monitoring result meets the information transmission condition 1, the electronic device 100 can determine the preset information 1 corresponding to the information transmission condition 1 based on the correspondence between the stored multiple information transmission conditions and multiple preset information.

[0249] In other embodiments, the electronic device 100 may store the correspondence between information sending conditions, identity identifiers, and preset information.

[0250] For example, Table 2 shows the correspondence between information transmission conditions, identity identifiers and preset information stored in an electronic device 100 provided in an embodiment of this application.

[0251] Table 2

[0252]

[0253]

[0254] As shown in Table 2, the electronic device 100 can also determine preset information based on information transmission conditions and identity identifiers. For example, when the information transmission condition is that the user stays at the same location for 1 minute, if the identity identifier is Coach 1, the preset information is "Stop"; if the identity identifier is Student 1, the preset information is "I have stayed for 1 minute". When the information transmission condition is that the ambient temperature is 5℃, if the identity identifier is Coach 1, the preset information is "The ambient temperature is low, be careful"; if the identity identifier is Student 1, the preset information is "The ambient temperature is..." 5℃”; When the information transmission condition is that the user is detected to be surfacing and the current water depth is 25 meters, if the identity is Instructor 1, the preset information is “surface to a water depth of 25 meters, stay close to me”; if the identity is Student 1, the preset information is “I have surfaced to a water depth of 25 meters”; When the information transmission condition is that the user is detected to be diving and the diving speed is 5 meters / minute, if the identity is Instructor 1, the preset information is “maintain a diving speed of 5 meters / minute”; if the identity is Student 1, the preset information is “current diving speed is 5 meters / minute”.

[0255] It is understood that the embodiments shown in Table 2 are merely examples. In the embodiments of this application, the electronic device 100 may store more, less, or different information transmission conditions, identity identifiers, and preset information than those shown in Table 2. This application does not impose any limitations on these provisions.

[0256] After detecting that the diving monitoring result meets the information transmission condition 1, the electronic device 100 can determine the preset information 1 corresponding to the electronic device 100 under the condition of meeting the information transmission condition 1 based on the identity of the electronic device 100 and the correspondence between the information transmission condition, identity and preset information stored in the electronic device 100.

[0257] After determining the preset information 1, the electronic device 100 can obtain the target information, which may include the preset information 1 and the identification of the electronic device 100. Optionally, if the electronic device 100 belongs to a group, the target information may also include the group identifier, the details of which can be found below. Figure 8 The relevant details in the illustrated embodiments will not be described in detail here.

[0258] After determining the target information, the electronic device 100 can perform the following step S608.

[0259] S606, the electronic device 100 detects that the user has opened the message list and displays one or more preset messages, including preset message 1.

[0260] For example, the user's action of opening the message list can be as described above. Figure 3BIn the illustrated embodiment, the message list for the user's action on button 13 can be as described above. Figure 3C The message list shown is 330.

[0261] In some embodiments, the one or more preset messages displayed in the message list may be all preset messages stored by the electronic device 100. In other embodiments, the one or more preset messages displayed in the message list may also be one or more preset messages determined by the electronic device 100 based on its identity and / or diving monitoring results. It should be noted that in this case, the diving monitoring results do not meet the information transmission conditions in steps S604 to S605 above.

[0262] For example, Table 3 shows the correspondence between diving monitoring results, identity identifiers and preset information stored in an electronic device 100 provided in an embodiment of this application.

[0263] Table 3

[0264]

[0265]

[0266] As shown in Table 3, the electronic device 100 can determine one or more preset messages to display based on the diving monitoring results and the user's identification. For example, if the identification is "Instructor 1," the corresponding preset messages may include: "Stop," "Ascend," "Descent," "Stay with me," "Report status to all," "Check barometer reading," "Ready to end," etc. If the identification is "Student 1," the corresponding preset messages may include: "Received," "Request support," "All normal," "Danger, help!" etc. When the diving monitoring result indicates that the user is ascending, if the identification is "Instructor 1," the corresponding preset messages may include: "Ascend, stay with me!", "Look over here, there's something," "Maintain speed," "Accelerate," "Decelerate," etc. When the diving monitoring result indicates that the user is ascending, if the identification is "Student 1," the corresponding preset messages may include: "Received," "I have begun ascending," etc.

[0267] It is understood that the embodiments shown in Table 3 are merely examples. In the embodiments of this application, the electronic device 100 may store more, less, or different diving monitoring results, identification, and preset information than those shown in Table 3. This application does not limit these information.

[0268] S607, the electronic device 100 detects the transmission operation for preset information 1, determines the target information, and the target information includes preset information 1 and the identity identifier of the electronic device 100.

[0269] The sending operation for preset information 1 can be as described above. Figure 3C In the illustrated embodiment, the user operates on button 13.

[0270] The target information may include preset information 1 and the identity identifier of electronic device 100. Optionally, if electronic device 100 belongs to a group, the target information may also include the group identifier of that group.

[0271] After determining the target information, the electronic device 100 can perform the following step S608.

[0272] S608, Electronic device 100 sends an acoustic signal, which carries target information.

[0273] After determining the target information, the electronic device 100 can encode the target information to obtain an encoded sequence of sound wave signals, and then control the sound generation module 170D to generate a sound wave signal corresponding to the encoded sequence according to the encoded sequence. In this way, the generated sound wave signal carries the target information.

[0274] The following describes the structural composition of acoustic signals.

[0275] For example, Figure 6B A schematic diagram of the structure of an acoustic signal provided in an embodiment of this application is shown.

[0276] like Figure 6B As shown, the acoustic signal may include a pilot signal, a synchronization signal, a message body, and error correction codes. Optionally, it may also include header information. The pilot signal may be a preset signal. The receiving electronic device (e.g., electronic device 200) can determine whether the received acoustic signal carries target information based on whether it carries the pilot signal. The synchronization signal can be used for synchronization. After the electronic device 200 decodes the received acoustic signal, it can determine the first and second characters of the message body from the decoded sequence based on the synchronization signal. The header information can be used to indicate the length of the encoded sequence, and can also be used to indicate the sequence corresponding to each part of the information. The message body may include target information. The error correction codes can be used to verify the decoded sequence.

[0277] Understandable Figure 6B The embodiments shown are merely examples. In the embodiments of this application, the acoustic signal may include fewer, more, or different contents from those in the above embodiments, and this application does not limit it.

[0278] according to Figure 6BIt is known that the encoded sequence of a sound wave signal includes not only the encoded sequence corresponding to the target information, but also pilot sequences, synchronization sequences, and error correction codes. The pilot sequences, synchronization sequences, and error correction codes can correspond to the pilot signals, synchronization signals, and error correction codes in the sound wave signal, respectively. The pilot sequence can be a preset sequence, while the synchronization sequence, error correction codes, and header information sequences can be determined after the encoded sequence of the target information is obtained.

[0279] In the process of encoding the target information, the electronic device 100 may use any of the encoding algorithms such as Morse code, orthogonal frequency division multiplexing (OFDM), code division multiple access (CDMA) to encode the target information, or use a custom encoding algorithm to encode the target information in the time domain and / or frequency domain. The embodiments of this application do not limit the encoding method of the target information.

[0280] For example, Table 4 shows the encoding sequences corresponding to different preset information.

[0281] Table 4

[0282] Preset information Encoded sequence Insufficient oxygen reserve long long long long long The ambient temperature is too low Short and long, short and short Emergency call for rescue Short and long

[0283] As shown in Table 4, the electronic device 100 can determine the corresponding encoding sequence based on preset information. For example, when the preset information is "insufficient oxygen balance", the corresponding encoding sequence can be "long long long long long long"; when the preset information is "ambient temperature too low", the corresponding encoding sequence can be "short long short short short"; when the preset information is "emergency call for rescue", the corresponding encoding sequence can be "short long short short long long". "Long" and "short" can also be replaced with "1" and "0" respectively.

[0284] It is understood that the embodiments shown in Table 4 are just examples. In the embodiments of this application, more or fewer preset information and encoding sequences may be included, or may be different from those shown in Table 4. The correspondence between preset information and encoding sequences may also be different from those in the above embodiments. This application does not limit this.

[0285] For example, Table 5 shows the encoding sequences corresponding to different identity identifiers.

[0286] Table 5

[0287] Identity identifier Encoded sequence Coach 1 Long and short Student 1 short Partner 2 Length

[0288] As shown in Table 5, the electronic device 100 can also determine the corresponding coding sequence of the identity based on the identity identifier. For example, when the identity identifier is "Instructor 1", the corresponding coding sequence can be "long-long-short"; when the identity identifier is "Student 1", the corresponding coding sequence can be "short-short-short"; and when the identity identifier is "Dive Partner 2", the corresponding coding sequence can be "long-short-long". Among them, "long" and "short" can also be replaced with "1" and "0" respectively.

[0289] It is understood that the embodiments shown in Table 5 are just examples. In the embodiments of this application, more or fewer identity identifiers and encoding sequences may be included, or the identity identifiers and encoding sequences may be different from those shown in Table 5. The correspondence between identity identifiers and encoding sequences may also be different from those in the above embodiments. This application does not limit these embodiments.

[0290] After determining the target information, the electronic device 100 can determine the encoding sequence corresponding to the preset information 1 based on the relationship between the preset information and the encoding sequence, and determine the encoding sequence corresponding to the identity of the electronic device 100 based on the relationship between the identity identifier and the encoding sequence, thereby obtaining the encoding sequence corresponding to the target information, and then obtaining the encoding sequence of the sound wave signal.

[0291] After obtaining the encoded sequence of the sound wave signal, the electronic device 100 can drive the sound-emitting module to emit sound based on the encoded sequence, thereby generating a sound wave signal carrying target information.

[0292] For example, if the encoded sequence of the sound wave signal X(t) is "short long long long long long", then the waveform diagram of the sound wave signal X(t) is as follows: Figure 6C As shown.

[0293] like Figure 6C As shown, the horizontal axis represents time, and the vertical axis represents the amplitude of the sound wave signal. The duration of the sound wave signal X(t) is T. During the time interval t1 to t2, the sound wave signal consists of two rectangular pulse waves, each with a width of x1 in the time domain. During the time interval t2 to t3, the sound wave signal consists of four rectangular pulse waves, each with a width of x2 in the time domain. Where x2 > x1, t1 <t2<t3。

[0294] Understandable Figure 6C The illustrated embodiment is merely an example. In this application, the waveform of the acoustic signal may be different from that in the above embodiment, and this application does not limit it. It should be noted that "long" and "short" in the encoding sequence may refer to the duration of a single rectangular pulse wave in the acoustic signal, or to the wavelength of the acoustic signal, and this application does not limit them.

[0295] Using the underwater communication method provided in this application embodiment, the electronic device 100 can transmit information via acoustic signals, achieving long-distance underwater communication. Furthermore, the electronic device 100 can not only transmit user-selected information, but also promptly remind the user to pay attention to safety when it detects potential danger, and can also send distress signals to companions when the user is in a dangerous situation, thereby increasing diving safety.

[0296] In some embodiments, when any of the aforementioned physiological parameters, environmental equipment parameters, and diving status parameters is detected to be outside a preset range—for example, when the user's oxygen reserves are insufficient or the user's heart rate is too fast—the electronic device 100 can output a danger warning while sending specified information, indicating the user's current situation. Optionally, it can also output self-rescue measures corresponding to the current scenario. This allows the user to take self-rescue measures while waiting for support from their companions.

[0297] In other embodiments, the electronic device 100 can receive and respond to a user's operation to set a diving type, and set the current diving type. Diving types may include: recreational scuba diving, technical diving, freediving, snorkeling, etc. The electronic device 100 can store one or more preset information corresponding to different diving types. When the user manually sends information, the electronic device 100 can display one or more preset information corresponding to the current diving type for the user to select, and determine the preset information based on the user's operation. The electronic device 100 can also store the correspondence between diving types, information sending conditions, and preset information. When the diving monitoring result is detected to meet the information sending conditions, the electronic device 100 can determine the corresponding preset information based on the current diving type and the information sending conditions met by the diving monitoring result. After determining the preset information, the subsequent steps performed by the electronic device 100 can refer to the above description. Figure 6A The relevant descriptions of steps S605 and S608 in the illustrated embodiment will not be repeated here.

[0298] In this way, the electronic device 100 can display preset information that is more compatible with the current type of dive, helping the user to select more appropriate preset information.

[0299] In some embodiments, after entering the water, the electronic device 100 can acquire and output its position information in real time. In some embodiments, the position information of the electronic device 100 may include its depth underwater and its latitude and longitude. In other embodiments, the electronic device 100 may construct a three-dimensional spatial coordinate system, the origin of which may be the entry point of the electronic device 100 or other preset locations. In this case, the position information of the electronic device 100 may also be its coordinates in this three-dimensional spatial coordinate system. The electronic device 100 can determine its position information using sensors such as gyroscopes, accelerometers, and depth sensors. For example, the electronic device 100 can determine its depth underwater based on the values ​​measured by the depth sensor. As another example, after entering the water, the electronic device 100 can obtain its motion trajectory in the water using sensors such as gyroscopes and accelerometers to determine its relative position to the entry point, and so on.

[0300] This allows users to obtain their current location in real time.

[0301] It is understandable that, given that electronic device 100 has acquired its location information, the aforementioned... Figure 6A The target information in the illustrated embodiment may also include the location information of the electronic device 100. This allows the receiving electronic device to obtain the location of the electronic device 100 in real time, facilitating group communication and collaboration and reducing the dangers of diving.

[0302] In some embodiments, the above Figure 1C The acoustic signal receiving module 101 shown can also be replaced with a miniature sonar module (or piezoelectric ceramic sensor). The miniature sonar module can be an integrated miniature sonar sensor used to receive and transmit acoustic signals. The electronic device 100 can increase the transmission power of the acoustic signal by increasing the voltage of the transmitted signal, thereby increasing the communication distance of underwater communication. The electronic device 100 can also achieve longer-distance underwater communication by configuring a miniature sonar module with better performance.

[0303] In some embodiments, the electronic device 100 may also increase the underwater communication range by defining private low-frequency wireless communication, reducing propagation path loss, defining redundant check fields, increasing transmission power, etc.

[0304] In other embodiments, the electronic device 100 may also employ noise reduction algorithms, Doppler frequency shift and other anti-interference algorithms to reduce noise interference in water and reduce interference to the sound wave signal.

[0305] The following describes a process by which an electronic device 200 receives target information sent by an electronic device 100 underwater, according to an embodiment of this application.

[0306] like Figure 7 As shown, the specific process by which electronic device 200 receives target information sent by electronic device 100 underwater may include the following steps:

[0307] S701, Electronic device 200 detects the user's operation of setting an identity identifier and sets the identity identifier of electronic device 200.

[0308] S702, Electronic Device 200 enables underwater communication mode.

[0309] The relevant content of steps S701 to S702 can be referred to the above. Figure 6A The relevant descriptions of steps S601 to S602 shown are not repeated here.

[0310] S703, Electronic device 200 acquires sound wave signals through a pickup sensor and / or microphone.

[0311] After the underwater communication mode is enabled, the electronic device 200 can begin to collect sound wave signals through a pickup sensor and / or microphone.

[0312] In some embodiments, the electronic device 200 may also begin collecting acoustic signals after detecting that the electronic device 200 has entered water. The method for detecting water entry of the electronic device 200 can be referred to the above. Figure 6A The relevant description in step S602 is shown.

[0313] S704, Electronic device 200 identifies the target information carried by the acoustic signal.

[0314] After the sound wave signal emitted by the electronic device 100 propagates to the electronic device 200, the electronic device 200 can decode the acquired sound wave signal and identify the target information carried by the sound wave signal.

[0315] In some embodiments, if the electronic device 100 is joined to a group (e.g., group 1), the acoustic signal transmitted by the electronic device 100 may also carry a group identifier, which may be located in... Figure 6BThe header information or message body of the message structure shown. After receiving the acoustic signal, the electronic device 200 can verify the group identifier. If it is determined that the group identifier carried by the acoustic signal is the same as the group identifier of the group to which the electronic device 200 belongs, the electronic device 200 further identifies other information carried by the acoustic signal (such as identity identification and information content). If the group identifier carried by the acoustic signal is different from the group identifier of the group to which the electronic device 200 belongs, the electronic device 200 can stop processing the acoustic signal without notifying the user that information has been received.

[0316] S705, Electronic Device 200 outputs a message reminder to notify the user that a message has been received.

[0317] After identifying the target information, the electronic device 200 can output a notification, which is used to inform the user that the electronic device 200 has received the information.

[0318] Information alerts can be sent in one or more of the following ways: vibration, flashing indicator lights, voice prompts, and displaying information notifications.

[0319] S706, Electronic device 200 displays target information.

[0320] The electronic device 200 can receive and respond to a user's operation to view target information, and display the target information. The user's operation to view the target information can be a button press.

[0321] In other embodiments, the electronic device 200 may also output a notification and then display the target information.

[0322] Using the underwater communication method provided in this application embodiment, electronic device 100 and electronic device 200 can achieve underwater communication through acoustic signals, and the communication distance is greater than that of wireless communication methods such as Bluetooth.

[0323] In some embodiments, the electronic device 100 may store historical messages, including previously received and / or sent information. The electronic device 100 may receive and respond to a user's action to view historical messages (e.g., for the purposes described above). Figure 5A The electronic device 100 can also receive and respond to user operations such as deleting historical messages (e.g., the operation of historical message entry 235), and display historical messages. It can also delete one or more historical messages in response to a user's deletion operation.

[0324] This allows unnecessary information to be deleted promptly, reducing the storage pressure on electronic devices.

[0325] In some embodiments, the electronic device 100 may join a group. In this case, the electronic device 100 may communicate underwater with other electronic devices within the same group.

[0326] The following describes a process for an electronic device 100 to join a group, as provided in an embodiment of this application.

[0327] like Figure 8 As shown, the specific process for adding electronic device 100 to the group may include the following steps:

[0328] S801, Electronic device 100 detects that a user has joined group 1.

[0329] The user joining group 1 can be done by entering the group identifier (ID) of group 1, for example, as described above. Figure 4B In the illustrated embodiment, the user inputs the group ID of group 1. The group ID can be a numeric sequence, such as "5678".

[0330] S802, Electronic device 100 broadcasts a group joining message, which includes the group identifier of group 1 and the identity identifier of electronic device 100.

[0331] In some embodiments, electronic device 100 may broadcast a group joining message to its surroundings in response to a user joining group 1. The group joining message may include the group identifier of group 1 and the identity identifier of electronic device 100. Wherein:

[0332] Group identifiers can be used to identify groups and can include one or more of the following: group ID, group name, etc.

[0333] The relevant information regarding the identification of electronic device 100 can be found above. Figure 6A The relevant descriptions in the illustrated embodiments will not be repeated here.

[0334] In some embodiments, before joining group 1, electronic device 100 may receive and respond to a user's operation to set an identity identifier, and set an identity identifier for electronic device 100. In other embodiments, if electronic device 100 has not yet set an identity identifier when joining group 1, electronic device 100 may prompt the user to perform an identity setting operation.

[0335] S803, determine whether the group identifier in the group entry message is the same as the group identifier of the group to which the electronic device 200 belongs.

[0336] In some embodiments, when the group join message is received, the electronic device 200 has already joined a group, and at this time, the electronic device 200 stores the group identifier of that group. The electronic device 200 can compare the group identifier of group 1 in the group join message with the group identifier stored in the electronic device 200.

[0337] When the group identifier of group 1 is the same as the group identifier of the group to which electronic device 200 belongs, electronic device 100 can perform the following step S804.

[0338] When the group identifier of group 1 is different from the group identifier of the group to which electronic device 200 belongs, electronic device 200 may not process the received message.

[0339] In other embodiments, when the group join message is received, the electronic device 200 has not joined a group, but the electronic device 200 has already received the user's group join operation. In this case, the electronic device 200 can determine the group identifier of the group to be joined based on the user's group join operation. The electronic device 200 can compare the group identifier of group 1 in the group join message with the group identifier of the group to be joined.

[0340] When the group identifier of group 1 is the same as the group identifier of the group to be joined, the electronic device 100 can perform the following step S804.

[0341] When the group identifier of group 1 is different from the group identifier of the group to be joined, the electronic device 200 may not process the received message.

[0342] S804, Electronic device 200 adds the identity of electronic device 100 to the member list of group 1.

[0343] In some embodiments, upon receiving a group join message, electronic device 200 has already joined group 1. At this time, electronic device 200 stores the group identifier of group 1 and the member list of group 1. The member list of group 1 stored by electronic device 200 may include the identifiers of one or more electronic devices, including electronic device 200, and all of these one or more electronic devices belong to group 1.

[0344] For example, Table 6 shows a list of members of group 1 stored by electronic device 200 before receiving a group join message, according to an embodiment of this application.

[0345] Table 6

[0346] Group identifier Identity identifier 5678 Student 1 5678 Coach 2 5678 Submarine Guide 1

[0347] As shown in Table 6, before receiving the group joining message, the member list of group 1 stored by electronic device 200 may include the identity identifiers of one or more electronic devices: student 1, instructor 2, and dive guide 1. Optionally, the member list may also include the group identifier of group 1, such as ID5678, which is used for the group corresponding to that identity identifier.

[0348] After receiving the group join message, electronic device 200 can add the identity of electronic device 100 to the member list of group 1.

[0349] For example, Table 7 shows a list of members of group 1 stored by electronic device 200 after receiving a group join message, according to an embodiment of this application.

[0350] Table 7

[0351] Group identifier Identity identifier 5678 Student 1 5678 Coach 2 5678 Submarine Guide 1 5678 Coach 1

[0352] As shown in Table 7, after receiving the group joining message, the member list of group 1 stored by electronic device 200 may include the identity identifiers of one or more electronic devices: Student 1, Instructor 2, Dive Guide 1, and Instructor 1. Instructor 1 is the identity identifier of electronic device 100. Optionally, the member list may also include the group identifier of group 1, such as ID5678, which is used for the group corresponding to that identity identifier. Compared to Table 6, Table 7 adds the identity identifiers of electronic device 100.

[0353] It is understood that the embodiments shown in Tables 6 and 7 are merely examples. In the embodiments of this application, the member list of group 1 may include more or fewer contents, and this application does not limit it here.

[0354] S805, Electronic device 200 broadcasts a group message, which includes the identity of electronic device 200 and the group identifier of group 1.

[0355] If it is determined that electronic device 200 also belongs to group 1, electronic device 200 can broadcast a message indicating that it is already in the group. This message includes the identity identifier of electronic device 200 and the group identifier of group 1. The identity identifier of electronic device 200 can be referenced from the description of the identity identifier of electronic device 100 mentioned above. Furthermore, the identity identifier of electronic device 200 is different from that of electronic device 100.

[0356] It should be noted that if group 1 includes other electronic devices besides electronic device 200, then the electronic device can also broadcast a message indicating that it is already in the group after receiving the group entry message broadcast by electronic device 100 and confirming that it belongs to group 1. The message indicating that it is already in the group includes the electronic device's identity identifier and the group identifier of group 1.

[0357] S806, Electronic device 100 stores and displays a list of members of group 1 based on one or more received group messages.

[0358] Electronic device 100 can receive a message that it is already in the group broadcast by each electronic device in group 1, and each message that it is already in the group can include the group identifier of group 1 and the identity identifier of the electronic device.

[0359] Electronic device 100 can obtain the identity identifiers of all electronic devices in group 1 based on one or more received group messages, and obtain the member list of group 1. The member list of group 1 may include the identity identifiers of all electronic devices in group 1. The specific contents of the member list can be referred to the relevant description in step S803 above.

[0360] After determining the member list of group 1, the electronic device 100 can store and display the member list of group 1. Optionally, while displaying the member list of group 1, the electronic device 100 can also display the group identifier of group 1 to prompt the user that the currently displayed member list is the member list of group 1.

[0361] In this way, electronic devices such as electronic device 100 and electronic device 200 can be grouped together, which facilitates underwater communication with one or more electronic devices in the same group after the user wears electronic device 100 into the water.

[0362] Understandably, the specific process by which electronic device 100 transmits information underwater via acoustic signals can be referenced above. Figure 6A The specific process of the electronic device 100 receiving information in the illustrated embodiment can be referred to the above. Figure 7 The illustrated embodiment. In some embodiments, if the electronic device 100 is joined to a group, the target information sent by the electronic device 100 may include a group identifier. In other embodiments, multiple electronic devices belonging to the same group may be configured with the same pilot signal. This facilitates communication between multiple electronic devices belonging to the same group. In some application scenarios, diving instructors can also use electronic devices to send group messages to all students in a group, enabling instruction communication between instructors and students, facilitating diving teaching and management.

[0363] In some embodiments, in the above Figure 8 During the group formation phase shown, electronic device 100 can also send group join messages to other electronic devices via wireless communication methods such as Bluetooth or Wi-Fi. Electronic device 200 (or other electronic devices) can also send a group status message to electronic device 100 using the aforementioned wireless communication methods; this application does not limit this. In some other embodiments, after electronic device 100 enters the water, it can also send group join messages to other electronic devices via sound wave signals to form a group with them; this application also does not limit this.

[0364] The following describes another method flow for adding an electronic device 100 to a group, provided by an embodiment of this application.

[0365] like Figure 9 As shown, the specific process of adding electronic device 100 to group 1 may include the following steps:

[0366] S901, when electronic device 200 detects the user's operation of creating group 1, it determines that electronic device 200 is the central device of group 1.

[0367] In some embodiments, electronic device 200 may receive and, in response to a user creating a group (e.g., group 1), identify electronic device 200 as the central device of that group.

[0368] In some embodiments, multiple electronic devices (including electronic device 200) can simultaneously enter the same group ID to create the same group. In this case, the multiple electronic devices can determine the central device based on the identity identifier of each electronic device. For example, if the identity identifier of electronic device 200 is "coach," then electronic device 200 can be determined as the central device based on this identity identifier. After the central device is determined, other devices in the group will send a group entry message to the central device. The group entry message may include the group identifier and the identity identifier of the electronic device. The central device can receive multiple group entry messages and determine and store the member list of the group based on the group entry messages.

[0369] It is understood that the above embodiments are just two examples. In some embodiments, the electronic device 200 may also determine the central device based on other factors, such as determining the electronic device with the strongest battery life as the central device, determining the electronic device with the highest remaining battery power as the central device, or determining the electronic device that joined the group earliest as the central device, etc. This application does not limit this.

[0370] S902, Electronic device 100 detects that a user has joined group 1.

[0371] S903, Electronic device 100 broadcasts a group joining message, which includes the group identifier of group 1 and the identity identifier of electronic device 100.

[0372] S904, Electronic device 200 determines whether the group identifier in the group entry message is the same as the group identifier of the group to which electronic device 200 belongs.

[0373] The specific details of steps S902 to S904 can be found above. Figure 8 The relevant content of steps S801 to S803 shown.

[0374] When the group identifier of group 1 is the same as the group identifier of the group to which electronic device 200 belongs, electronic device 100 can perform the following step S905.

[0375] When the group identifier of group 1 is different from the group identifier of the group to which electronic device 200 belongs, electronic device 200 may not process the received message.

[0376] S905, Electronic device 200 updates the member list of group 1 based on the identity of electronic device 100.

[0377] After determining that the group to which electronic device 100 belongs is the same as the group to which electronic device 200 belongs, electronic device 200 can add the identity of electronic device 100 to the member list of group 1. This member list can include the identity of all members in group 1.

[0378] S906, Electronic device 200 broadcasts a group message, which includes a list of members of group 1 and the group identifier of group 1.

[0379] In some embodiments, the electronic device 200 may broadcast the member list and group identifier after each update of the member list.

[0380] In other embodiments, the electronic device 200 may also check at fixed time intervals whether the member list has changed. If a member has changed, the member list and group identifier are broadcast; if no change has occurred, the member list and group identifier are not broadcast. This avoids multiple broadcasts caused by multiple changes in the member list within a short period of time.

[0381] S907, Electronic device 100 displays a list of members of group 1 based on a list already stored in group messages.

[0382] In this way, only the central device in the group needs to send the group's member list to newly joined electronic devices, instead of each electronic device in the group sending a message that it is already in the group, thus reducing the power consumption of devices in the group.

[0383] It is understandable that the above Figure 8 and Figure 9 This application merely illustrates two ways in which electronic devices 100 can join a group. In this embodiment, electronic devices 100 may also join a group in a different way than described above. This application does not limit this method.

[0384] The following describes the specific process of a method for determining the distance change between electronic device 100 and electronic device 200 based on underwater communication, provided by an embodiment of this application.

[0385] like Figure 10 As shown, the process of determining the distance change between electronic device 100 and electronic device 200 based on underwater communication may include the following steps:

[0386] S1001, Electronic device 100 detects that the user has enabled the distance monitoring function and determines the transmission timetable.

[0387] In some embodiments, the user's operation to enable the distance monitoring function can be a click on a specified distance monitoring switch, or it can be an operation where the user sets up the periodic sending of information, as described above. Figure 5F The operation of time setting option 552 is shown in the embodiment. In some embodiments, the electronic device 100 may also simultaneously enable the distance monitoring function by default while enabling the underwater communication function, and monitor the distance changes with a designated electronic device (or with each electronic device in the group) in real time after entering the water.

[0388] In some embodiments, the transmission timetable may include multiple transmission times, each transmission time indicating when the electronic device 100 transmits information, and the time interval between any two adjacent transmission times is the transmission period of the electronic device 100. In other embodiments, the transmission timetable may also be a start time and an information transmission period, where the start time is the time when the electronic device 100 transmits the first message.

[0389] For example, Table 8 shows a transmission timetable provided in an embodiment of this application.

[0390] Table 8

[0391] Sending order Sending time 1 10:05 2 10:10 3 10:15 4 10:20

[0392] As shown in Table 8, the transmission schedule can include the transmission order and the transmission time, and the transmission order corresponds one-to-one with the transmission time. According to Table 8, the electronic device 100 transmits information for the first time at 10:05, the second time at 10:10, the third time at 10:15, the fourth time at 10:20, and so on.

[0393] As another example, Table 9 shows another transmission schedule provided by an embodiment of this application.

[0394] Table 9

[0395] Information sending cycle 5 minutes Start time 10:05

[0396] As shown in Table 9, the transmission schedule stored in the electronic device 100 may include the information transmission period and the start time, wherein the information transmission period is 5 minutes and the start time is 10:05.

[0397] It is understood that Tables 8 and 9 are merely examples of two transmission schedules. In the embodiments of this application, the transmission schedule may include more, less, or different content than Tables 8 and 9 above, and this application does not impose any limitations on it.

[0398] In some embodiments, the user's operation of enabling the distance monitoring function may include setting the information transmission period and / or setting the peer device to receive the information. It should be noted that before setting the peer device (e.g., electronic device 200), electronic device 100 needs to obtain the identity of the peer device. For example, if electronic device 100 and electronic device 200 belong to the same group, electronic device 100 can set electronic device 200 as the peer device to receive information.

[0399] When a user sets a message sending period and no receiving device is configured, electronic device 100 can determine a sending schedule based on its own identity and the message sending period. For example, electronic device 100 can use a hash algorithm to obtain the start time of message sending based on its own identity, and then obtain the sending schedule based on the message sending period and the start time.

[0400] If the user has set up a receiving device (e.g., electronic device 200) and has not set an information transmission period, electronic device 100 can use a hash algorithm (or other algorithm) to obtain the transmission schedule based on the identity of electronic device 100 and the identity of electronic device 200.

[0401] When the user sets an information sending period and sets a receiving device, the electronic device 100 can determine the sending schedule based on the identity of the electronic device 100, the identity of the electronic device 200, and the information sending period.

[0402] In other embodiments, the user's operation to enable the distance monitoring function can also be an operation on the distance monitoring switch. In this case, the electronic device 100 can determine the transmission schedule based on the identity of the electronic device 100 using algorithms such as hash algorithms.

[0403] S1002, electronic device 100 sends a periodic communication notification to electronic device 200, which is used to notify electronic device 200 to conduct periodic communication with electronic device 100.

[0404] The electronic device 100 can send periodic communication notifications in response to the user's activation of the distance monitoring function. It should be noted that if the user activates the distance monitoring function before the electronic device 100 is submerged in water, the electronic device 100 can broadcast the periodic communication notification via Bluetooth or other wireless communication methods, or send the periodic communication notification to multiple electronic devices with which it has established communication connections. If the user activates the distance monitoring function after the electronic device 100 is submerged in water, the electronic device 100 can send the periodic communication notification via sound waves or other means.

[0405] In some embodiments, the periodic communication notification may include the identity identifier of the electronic device 100, used to notify the electronic device 200 to conduct periodic communication with the electronic device 100.

[0406] In other embodiments, the periodic communication notification may include an identification of the electronic device 100 and a transmission schedule. In this case, the periodic communication notification can be used to notify the electronic device 200 that the electronic device 100 will send information to the electronic device 200 at the transmission time indicated by the transmission schedule.

[0407] Optionally, if the user has configured a peer device to receive information, the periodic communication notification may also include the identity identifier of the peer device.

[0408] S1003, Electronic device 200 determines the transmission timetable based on periodic communication notification.

[0409] In some embodiments, the periodic communication notification may include a sending schedule, in which case the electronic device 200 can obtain the sending schedule from the periodic communication notification.

[0410] In some embodiments, the periodic communication notification does not include a sending schedule. In this case, the electronic device 200 can obtain the sending schedule based on the identity of the electronic device 100 in the periodic communication notification using a hash algorithm (or other algorithm).

[0411] In some embodiments, if the periodic communication notification may also include the identity identifier of the electronic device 200, then the electronic device 200 may also determine the sending timetable based on the identity identifier of the electronic device 100 and the identity identifier of the electronic device 200 using algorithms such as hash algorithms.

[0412] S1004, Electronic device 100 transmits an acoustic signal carrying information according to a transmission schedule.

[0413] After determining the transmission schedule, the electronic device 100 can periodically transmit sound wave signals carrying information according to the transmission schedule.

[0414] In some embodiments, the information transmitted by the electronic device 100 each time may be the same; in other embodiments, the information transmitted by the electronic device 100 each time may be different. For example, the information transmitted each time may carry a transmission order, which can be used to determine the transmission time of the information.

[0415] S1005, electronic device 200 receives the information sent by electronic device 100 and determines the reception time.

[0416] When electronic device 200 receives an acoustic signal carrying target information sent by electronic device 100, electronic device 200 can determine the time of receiving the acoustic signal.

[0417] S1006, electronic device 200 sends an acoustic signal carrying a receipt information to electronic device 100.

[0418] In some embodiments, the receipt information sent by the electronic device 200 each time may be the same; in other embodiments, the receipt information sent by the electronic device 200 each time may be different. For example, the receipt information sent each time may carry the sending order, etc.

[0419] S1007, electronic device 200 determines the change in distance between electronic device 200 and electronic device 100 based on the transmission schedule, the reception time, and the previous reception time.

[0420] Electronic device 200 can determine the transmission time 1 consumed by the sound wave signal transmitted by electronic device 100 in this transmission from electronic device 100 to electronic device 200 based on the transmission schedule and the current reception time. Electronic device 200 can also determine the transmission time 2 consumed by the sound wave signal previously transmitted by electronic device 100 from electronic device 100 to electronic device 200 based on the transmission schedule and the previous reception time. By comparing the magnitudes of transmission time 1 and transmission time 2, the change in distance between electronic device 200 and electronic device 100 can be determined.

[0421] If transmission time 1 is less than transmission time 2, it can be determined that the distance between electronic device 200 and electronic device 100 has decreased.

[0422] If transmission time 1 is greater than transmission time 2, it can be determined that the distance between electronic device 200 and electronic device 100 has increased.

[0423] If transmission time 1 equals transmission time 2, it can be determined that the distance between electronic device 200 and electronic device 100 remains unchanged.

[0424] In some embodiments, the electronic device 200 may also determine the specific value of the change in distance between the electronic device 200 and the electronic device 100 based on the difference between transmission time 1 and transmission time 2, and the transmission speed of the sound wave signal in water.

[0425] S1008, Electronic device 200 outputs a distance indicator, which is used to indicate whether the distance between electronic device 200 and electronic device 100 has changed.

[0426] Electronic device 200 can output distance prompts using one or more methods, such as sound, vibration, text, patterns, animation, or flashing indicator lights. The distance prompts can indicate whether the distance between electronic device 200 and electronic device 100 has changed; optionally, they can also indicate the specific numerical value of the distance change between them.

[0427] It should be noted that after the distance prompt is output, the electronic device 200 can re-execute the above steps S1005 and subsequent steps when it receives information sent by the electronic device 100 again.

[0428] S1009, electronic device 100 receives the receipt information sent by electronic device 200 and determines the receipt reception time.

[0429] For details of step S1009, please refer to the relevant description of step S1005 above.

[0430] S1010, electronic device 100 determines the change in distance between electronic device 100 and electronic device 200 based on the transmission schedule, the receipt reception time, and the previous receipt reception time.

[0431] S1011, Electronic device 100 outputs a distance indicator to indicate whether the distance between electronic device 100 and electronic device 200 has changed.

[0432] The specific details of steps S1010 to S1011 can be found in the descriptions of steps S1007 to S1008 above.

[0433] Using the underwater communication method provided in this application embodiment, electronic device 100 can determine the distance changes between electronic device 100 and other electronic devices, which facilitates group management and reduces the risks of diving.

[0434] In some embodiments, after the electronic device 100 activates the distance monitoring function, it can also carry the transmission time in each transmitted acoustic signal and the transmission time in the received receipt information. In this way, the electronic device 100 can determine the current distance to another electronic device (e.g., electronic device 200) based on the transmission and reception times of the receipt information, and compare the distances measured each time to determine the change in distance between itself and electronic device 200. Similarly, the receiving electronic device 200 can also determine the change in distance between itself and electronic device 100 and electronic device 200 in a similar manner; this application does not limit this to any particular method.

[0435] It should be noted that, in some embodiments, the above... Figure 8 and Figure 10In the embodiments shown, electronic device 100 can also switch roles with electronic device 200. That is, electronic device 100 can perform the steps performed by electronic device 200 in the above embodiments, and electronic device 200 can also perform the steps performed by electronic device 100 in the above embodiments. This application does not limit this.

[0436] In other embodiments, the above Figure 10 Steps S1002 and S1003 shown can also be replaced by the following steps:

[0437] S1002a, after detecting the user's operation to set up periodic information reception, the electronic device 200 determines the transmission schedule based on the user's operation.

[0438] After receiving information from electronic device 100 periodically as set by the user, electronic device 200 determines a transmission schedule based on the identification of electronic device 100 and electronic device 200. Optionally, if the user sets an information receiving period, electronic device 200 can also determine the transmission schedule in conjunction with the user-set information receiving period.

[0439] The specific method by which electronic device 200 determines the transmission timetable can be referred to the above. Figure 10 The relevant description in step S1001 is shown.

[0440] It should be noted that in this case, electronic device 200 and electronic device 100 need to belong to the same group, or electronic device 200 needs to obtain the identity identifier of electronic device 100.

[0441] In other embodiments, both electronic devices 100 and 200 may store priority levels for different identities. For example, the priority levels of Instructor 1, Student 2, Student 1, and Dive Buddy 1 are arranged as follows: Instructor 1 > Dive Buddy 1 > Student 1 > Student 2. When both electronic devices 100 and 200 detect the user-set operation of periodically sending information to each other, electronic device 100 (or electronic device 200) can determine the electronic device with the higher priority as the sender of the information and the other electronic device as the receiver of the information based on the identities of electronic devices 100 and 200. For example, after determining that electronic device 100 is the sender of the information and electronic device 200 is the receiver, electronic devices 100 and 200 can perform the above-described... Figure 10 The relevant steps in the illustrated embodiment involve real-time monitoring of the distance change between electronic device 100 and electronic device 200.

[0442] In this way, even without setting the recipient and sender of the information, the electronic device 100 can determine the sender of the information based on the priority of the identity identifier.

[0443] In other embodiments, if electronic device 100 sends information to electronic device 200 at fixed time intervals, and if electronic device 200 does not receive information from electronic device 100 for a duration exceeding the disconnection period (e.g., 15 minutes, 20 minutes, etc.), electronic device 200 can output a rescue alert, indicating that the user of electronic device 100 may be encountering an emergency. Similarly, if electronic device 100 does not receive a response from electronic device 200 for a duration exceeding the disconnection period (e.g., 5 minutes, 15 minutes, etc.), electronic device 100 can also output a rescue alert, indicating that the user of electronic device 200 may be encountering an emergency.

[0444] This allows for timely alerts to teammates to search for a user who has lost contact.

[0445] The following is a schematic diagram of the functional modules of an electronic device 100 provided in an embodiment of this application.

[0446] like Figure 11 As shown, the electronic device 100 may include: a parameter monitoring module 1101, a decision module 1102, a receiving control module 1103, a sound wave receiving module 1104, an instruction processing module 1105, a display module 1106, a decoding / encoding module 1107, a sending control module 1108, a sound wave sending module 1109, a message reminder module 1110, a message storage module 1111, a user interaction module 1112, and a message processing module 1113, etc.

[0447] The parameter monitoring module 1101 can perform diving monitoring, monitoring one or more of the user's physiological parameters, environmental equipment parameters, and diving status parameters. The parameter monitoring module 1101 can also send the monitored results (i.e., diving monitoring results) to the decision module 1102.

[0448] The decision module 1102 can store one or more information transmission conditions (including information transmission condition 1), and can also determine whether the diving monitoring results meet the information transmission conditions. The decision module 1102 can also store preset information, as well as the correspondence between the information transmission conditions and the preset information. If it is determined that the diving monitoring results meet information transmission condition 1, the decision module 1102 can send an information transmission command to the instruction processing module 1105, instructing to send the preset information 1 corresponding to information transmission condition 1.

[0449] The sound wave receiving module 1104 can receive sound wave signals and send the received sound wave signals to the receiving control module 1103.

[0450] After receiving the acoustic signal, the receiving control module 1103 can send the acoustic signal to the decoding / encoding module 1107.

[0451] The instruction processing module 1105 can determine the target information in response to an information sending instruction. The target information includes preset information 1 and the identity identifier of the electronic device 100. Optionally, the target information may also include other content such as a group identifier. The instruction processing module 1105 can send the target information to the decoding / encoding module 1107. The instruction processing module 1105 can also receive the decoded received 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 can also send a reminder instruction to the message reminder module 1110 to instruct the message reminder module 1110 to output a message reminder. In addition, the instruction processing module 1105 can also send the received information to the message storage module 1111 after receiving the received information.

[0452] Display module 1106 can display received information.

[0453] The decoding / encoding module 1107 can encode the target information sent by the instruction processing module and send the encoded target information to the sending control module 1108.

[0454] The transmission control module 1108 can control the sound wave transmission module 1109 to generate a corresponding sound wave signal based on the received encoded target information. This sound wave signal carries the target information.

[0455] The acoustic wave transmitting module 1109 can generate acoustic wave signals carrying target information.

[0456] The message reminder module 1110 can respond to the reminder command sent by the instruction processing module 1105 and output a message reminder to remind the user's electronic device 100 that the information has been received.

[0457] The message storage module 1111 can receive and store the received information sent by the instruction processing module 1105.

[0458] The user interaction module 1112 can receive user operations on the electronic device 100, such as touch screen operations, button rotation operations, and button pressing operations. The user interaction module 1112 can also receive user operations such as setting the identity of the electronic device 100, joining a group, enabling underwater communication mode, and sending information. Specifically, when receiving a user's message sending operation, the user interaction module 1112 can determine the preset information (e.g., preset information 1) to be sent by the user based on the operation, and send preset information 1 to the message processing module 1113.

[0459] The message processing module 1113 can send an information sending instruction to the instruction processing module 1105. The information sending instruction may include preset information 1.

[0460] Understandable, Figure 11 The embodiments shown are merely examples. In the embodiments of this application, the electronic device 100 may include more, fewer, or different functional modules than those in the above embodiments. It may also combine the above multiple modules into one module, or divide any of the above modules into multiple modules. This application does not limit these limitations.

[0461] Furthermore, in the underwater communication system 10, the functional modules of the electronic device 200 (or other electronic device) can also refer to the above description. Figure 11 The relevant descriptions in the illustrated embodiments will not be repeated here.

[0462] Another underwater communication system 20 provided in the embodiments of this application is described below.

[0463] like Figure 12 As shown, the underwater communication system 20 may include electronic devices 100, 200, and buoy devices 300. Optionally, the underwater communication system 20 may also include one or more other electronic devices.

[0464] The buoy device 300 floats at a fixed position on a horizontal surface, with one part above and another part below the surface. The buoy device 300 can communicate underwater with electronic devices (such as electronic devices 100 and 200) via acoustic signals. The buoy device 300 can also communicate with non-submerged electronic devices (or base stations, etc.) in the underwater communication system 20 via wireless communication methods such as Bluetooth or Wi-Fi. The buoy device 300 can store its position information. The buoy device 300 can locate the electronic device 100 based on data such as signal propagation time by communicating with it. In some embodiments, the buoy device 300 can be equipped with multiple acoustic pickup modules pointing in different directions, which can be used to determine the propagation direction of the received acoustic signals.

[0465] Electronic device 100 (or electronic device 200) may also store the position information of buoy device 300. Electronic device 100 can also determine its position information by communicating with buoy device 300. Electronic device 100 can also obtain the motion trajectory of electronic device 100 relative to buoy device 300 based on sensors such as gyroscopes and accelerometers.

[0466] Electronic device 200 (or other electronic device) can also determine the location information of electronic device 200 through communication with buoy device 300.

[0467] Other specific details regarding electronic devices 100 and 200 in the underwater communication system 20 can be found above. Figure 1A The relevant descriptions of the underwater communication system 10 shown are not repeated here.

[0468] It is understandable that the above Figure 12 The illustrated embodiment is merely an example. In the embodiments of this application, the underwater communication system 20 may also include more electronic devices or buoy devices, which are not limited herein.

[0469] Figure 13 A flowchart illustrating an underwater communication method provided in an embodiment of this application is shown.

[0470] like Figure 13 As shown in the figure, the process of an underwater communication method provided in this application embodiment may include the following steps:

[0471] S1301, the first electronic device receives and responds to the user's first operation, and sets the identity identifier of the first electronic device as the first identity identifier.

[0472] The first electronic device may be the electronic device 100 in the above embodiments.

[0473] In one possible implementation, the first operation is the user selecting a first identity identifier; the method further includes: before receiving the first operation, displaying an identity list, the identity list including multiple identity identifiers, the multiple identity identifiers including the first identity identifier. For example, the identity list may be as described above. Figure 2E The identity selection interface 240 shows one or more identity identifiers, the first identity identifier being "Coach 1".

[0474] In one possible implementation, the first operation is the user inputting a first identity identifier.

[0475] For other relevant details regarding step S1301, please refer to the above. Figure 6A The relevant description in step S601 of the illustrated embodiment.

[0476] S1302, when the first electronic device is underwater, receives and responds to a second operation by the user, displaying one or more messages, the one or more messages including the first message.

[0477] In some embodiments, the one or more messages can be as described above. Figure 6A One or more preset information in the illustrated embodiment.

[0478] In one possible implementation, before receiving the second operation, the method further includes: the first electronic device detecting that it is underwater.

[0479] In one possible implementation, the first electronic device further includes a first button; the second operation is the user's action on the first button.

[0480] S1303, receiving and responding to the third operation of the user selecting to send the first message, sending the first acoustic signal, the first acoustic signal carrying the first message and the first identity identifier.

[0481] In some embodiments, the first message may be as described above. Figure 6A Preset information 1 in the illustrated embodiment.

[0482] In one possible implementation, the first electronic device further includes a second button and a third button; receiving and responding to a third operation by the user to select to send a first message, sending a first sound wave signal, specifically including: receiving and responding to the user's operation on the second button, displaying a selection mark on the first message, the selection mark being used to prompt the user that the first message has been selected; receiving and responding to the user's operation on the third button, sending a first sound wave signal.

[0483] For example, the second button can be as described above. Figure 1AButton 12 in the illustrated embodiment; the third button can be the one described above. Figure 1A Button 13 in the illustrated embodiment.

[0484] In one possible implementation, the first electronic device may include a first button; the second operation is a user pressing the first button; the third operation is a user rotating the first button; and the fourth operation is a user pressing the first button.

[0485] In another possible implementation, the first electronic device may include a first button and a second button; the second operation is a pressing operation of the first button by the user; the third operation is a rotation operation of the second button by the user; and the fourth operation is a pressing operation of the second button by the user.

[0486] It is understood that the above-mentioned implementation methods are merely examples. The first electronic device may include one or more buttons, and the operation methods of the second and third operations may also be other operation methods. This application does not limit them here.

[0487] Other relevant details regarding steps S1302 to S1303 can also be found above. Figure 6A The relevant descriptions of steps S606 to S608 in the illustrated embodiment are as follows.

[0488] The underwater communication method provided in this application has a longer propagation distance compared to traditional wireless communication methods. Furthermore, the transmitted information carries an identification identifier to inform the receiver of the sender's identity.

[0489] In some embodiments, the first electronic device may also send an acoustic signal carrying an identification identifier and corresponding information when it detects that one or more of the user's physiological parameters, environmental equipment parameters, diving status parameters, etc., meet specific conditions (e.g., greater than or less than a specific threshold, not belonging to a preset range, belonging to a preset range, etc.). This corresponding information can be used to inform the receiving electronic device of the user's current status. The specific correspondence between conditions and messages can also be referred to the above. Figure 6A The relevant descriptions in the illustrated embodiments will not be repeated here.

[0490] In one possible implementation, the first acoustic signal also carries a first group identifier, which indicates that the first electronic device belongs to the first group; the method further includes: receiving a fourth operation of a user joining the first group before receiving the second operation; broadcasting the first group identifier and a first identity identifier in response to the fourth operation; receiving the first group identifier and a second identity identifier sent by the second electronic device, the second identity identifier being the identity identifier of the second electronic device; and displaying a member list of the first group, the member list including the first identity identifier and the second identity identifier.

[0491] In some embodiments, the first group identifier may be the identifier of group 1 in the above embodiments. The member list of the first group may be the member list of group 1 in the above embodiments. The fourth operation may be an operation in which the user inputs the identifier of group 1 (e.g., group ID). In the above implementation, the first electronic device may be the one described above. Figure 8 The electronic device 100 shown, the second electronic device can be the one described above. Figure 8 The electronic device 200 shown.

[0492] In this way, electronic devices in the same group can communicate with each other.

[0493] In one possible implementation, the first acoustic signal also carries a first group identifier, which indicates that the first electronic device belongs to the first group; the method further includes: receiving a fifth operation by a user to create the first group before receiving the second operation; in response to the fifth operation, broadcasting the first group identifier and a first identity identifier; receiving the first group identifier and a second identity identifier sent by the second electronic device, the second identity identifier being the identity identifier of the second electronic device; and broadcasting the first group identifier and a member list of the first group, the member list including the first identity identifier and the second identity identifier.

[0494] In some embodiments, the fifth operation may be an operation in which the user inputs the group identifier of the first group. In this case, the first electronic device may be as described above. Figure 9 The electronic device 200 shown, the second electronic device can be the one described above. Figure 9 The electronic device 100 shown.

[0495] In other possible implementations, the first electronic device may also be determined as the central device of the group based on one or more of the first electronic device's identity (e.g., coach), device battery life (e.g., remaining battery capacity), and the order in which it joined the group. This application does not limit this.

[0496] In one possible implementation, the method further includes: when a sixth acoustic signal is received from a second electronic device, displaying sixth information and a second identity identifier, wherein the sixth acoustic signal carries the sixth information, a first group identifier, and a second identity identifier; and when a seventh acoustic signal is received from a third electronic device, not displaying the seventh information, wherein the seventh sound carries the seventh information and a third identity identifier, wherein the third identity identifier is the identity identifier of the third electronic device, and the third electronic device does not belong to the first group.

[0497] In this way, when a message is received from an electronic device that does not belong to the same group, the message may not be displayed.

[0498] In one possible implementation, the method further includes: when the first electronic device is underwater, transmitting an eighth acoustic signal at a first moment, the eighth acoustic signal carrying a first identification identifier and a first moment; receiving a ninth acoustic signal transmitted by a second electronic device at a second moment, the ninth acoustic signal being an acoustic signal transmitted by the second electronic device upon receiving the eighth acoustic signal, the ninth acoustic signal carrying the transmission moment of the ninth acoustic signal and a second identification identifier of the second electronic device; and responding to the ninth acoustic signal, outputting distance information based on the transmission moment of the ninth acoustic signal and the second moment, the distance information being used to indicate the distance between the first electronic device and the second electronic device.

[0499] In this way, the first electronic device can determine the distance between itself and the second electronic device in real time, which makes it easier to determine the distance between itself and its companions and improves the safety of diving.

[0500] In one possible implementation, the method further includes: when the first electronic device is underwater, transmitting an eighth acoustic signal at a first moment, the eighth acoustic signal carrying a first identification identifier; receiving a ninth acoustic signal transmitted by a second electronic device at a second moment, the ninth acoustic signal being an acoustic signal transmitted by the second electronic device upon receiving the eighth acoustic signal, the ninth acoustic signal carrying a second identification identifier of the second electronic device; transmitting a tenth acoustic signal at a third moment, the tenth acoustic signal carrying the first identification identifier; receiving an eleventh acoustic signal transmitted by the second electronic device at a fourth moment, the eleventh acoustic signal being an acoustic signal transmitted by the second electronic device upon receiving the tenth acoustic signal, the eleventh acoustic signal carrying a second identification identifier of the second electronic device; and outputting a distance prompt based on a first time interval and a second time interval, the distance prompt being used to indicate to the user the change in distance between the first electronic device and the second electronic device, the first time interval being the time interval between the first moment and the second moment, and the second time interval being the time interval between the third moment and the fourth moment.

[0501] In this way, the first electronic device can determine the changes in distance between itself and the second electronic device in real time, improving the safety of diving.

[0502] In one possible implementation, a distance prompt is output based on a first time interval and a second time interval, specifically including: when the first time interval is greater than the second time interval, a first distance prompt is output to indicate to the user that the distance between the first electronic device and the second electronic device is decreasing; when the first time interval is less than the second time interval, a second distance prompt is output to indicate to the user that the distance between the first electronic device and the second electronic device is increasing.

[0503] This allows for real-time distance alerts, indicating whether the distance between the two electronic devices is increasing or decreasing.

[0504] In one possible implementation, before transmitting the eighth acoustic signal, the method further includes: a first electronic device receiving and responding to a user's operation to enable the distance monitoring function, thereby enabling the distance monitoring function.

[0505] For instructions on enabling the distance monitoring function, please refer to the above. Figure 10 The relevant description of step S1001 in the illustrated embodiment.

[0506] In this way, after the distance monitoring function is enabled, the first electronic device can monitor the distance between itself and the second electronic device in real time.

[0507] In another possible implementation, the first electronic device can monitor the distance to the second electronic device in real time without requiring manual operation by the user.

[0508] In one possible implementation, the method further includes: before receiving the first operation, displaying a first prompt, the first prompt being used to prompt the user that the first electronic device has not yet set an identity identifier; receiving and responding to the user's first operation, setting the identity identifier of the first electronic device to a first identity identifier, specifically including: receiving and responding to the user's first operation, displaying a second prompt, the second prompt being used to prompt the user that the identity identifier of the first electronic device is the first identity identifier.

[0509] In this way, the first electronic device can set an identity based on the user's actions.

[0510] For example, the first prompt could be as described above. Figure 2D The identity prompt 232a in the illustrated embodiment, the second prompt can be the one described above. Figure 2F Identity prompt 232a in the illustrated embodiment.

[0511] Figure 14 A flowchart illustrating another underwater communication method provided in an embodiment of this application is shown.

[0512] like Figure 14As shown, the specific process of the underwater communication method may include the following steps:

[0513] S1401, at the fifth moment, the buoy device receives the twelfth acoustic signal sent by the first electronic device from underwater. The twelfth acoustic signal carries the first identification mark and the first transmission time of the first electronic device. The first transmission time is the transmission time of the twelfth acoustic signal.

[0514] The buoy device can be the above. Figure 12 The buoy device 300 in the illustrated embodiment may have the first electronic device described above. Figure 12 The electronic device 100 in the illustrated embodiment.

[0515] The buoy device can store initial position information, which can be used to indicate the position of the buoy device.

[0516] S1402, the buoy device determines the second position information based on the fifth time, the first launch time and the first position information, and the second position information is used to indicate the position of the first electronic device.

[0517] In some embodiments, the second location information may be the distance between the first electronic device and the buoy device. The buoy device may determine the distance between the first electronic device and the buoy device based on a fifth time point and a first launch time point.

[0518] In some embodiments, the buoy device may store a preset three-dimensional coordinate system, and the first position information may be the coordinates of the buoy device in this three-dimensional coordinate system. The second position information may also be the coordinates in this three-dimensional coordinate system. In this case, the buoy device can determine the second position information based on the fifth moment, the first launch moment, and the first position information.

[0519] S1403, the buoy device sends a first wireless signal to a second electronic device that is not in the water, the first wireless signal including second location information.

[0520] The second electronic device can be an electronic device that has not been submerged in water. In some embodiments, the second electronic device can also be replaced by a base station, etc.

[0521] The first wireless signal can be a signal transmitted through traditional wireless communication methods such as Wi-Fi and Bluetooth.

[0522] In this way, the buoy device can send the location information of the underwater electronic equipment to the electronic equipment on the shore, making it easier for the electronic equipment on the shore to determine the location of the underwater electronic equipment.

[0523] In one possible implementation, the method further includes: after determining the second location information, sending a thirteenth acoustic signal to the first electronic device, the thirteenth acoustic signal carrying the second location information.

[0524] In this way, the buoy device can also send the location information of the first electronic device to the first electronic device, so that the user of the first electronic device can determine their own location.

[0525] The various embodiments of this application can be combined arbitrarily to achieve different technical effects.

[0526] In the above embodiments, implementation can be achieved, in whole or in part, through software, hardware, firmware, or any combination thereof. When implemented in software, it can be implemented, in whole or in part, 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 a computer, all or part of the processes or functions described in this application are generated. The computer can be a general-purpose computer, a special-purpose computer, a computer network, or other programmable device. The computer instructions can be stored in a computer-readable storage medium or transmitted from one computer-readable storage medium to another. For example, the computer instructions can be transmitted from one website, computer, server, or data center to another website, computer, server, or data center via wired (e.g., coaxial cable, fiber optic, digital subscriber line) or wireless (e.g., infrared, wireless, microwave, etc.) means. The computer-readable storage medium can be any available medium accessible to a computer or a data storage device such as a server or data center that integrates one or more available media. The available medium can be a magnetic medium (e.g., floppy disk, hard disk, magnetic tape), an optical medium (e.g., DVD), or a semiconductor medium (e.g., solid-state disk (SSD)).

[0527] Those skilled in the art will understand that all or part of the processes in the methods of the above embodiments can be implemented by a computer program instructing related hardware. This program can be stored in a computer-readable storage medium, and when executed, it can include the processes described in the above method embodiments. The aforementioned storage medium includes various media capable of storing program code, such as ROM or random access memory (RAM), magnetic disks, or optical disks.

[0528] In summary, the above description is merely an embodiment of the technical solution of the present invention and is not intended to limit the scope of protection of the present invention. Any modifications, equivalent substitutions, improvements, etc., made according to the disclosure of the present invention should be included within the scope of protection of the present invention.

Claims

1. An underwater communication method, characterized in that, The method is applied to a first underwater communication system, which includes a first electronic device, a second electronic device, and a third electronic device; the method includes: The first electronic device displays an identity list, which includes multiple identity identifiers, each of which is used to indicate the user's identity. The first electronic device receives and responds to a first operation by the user to select a first identity identifier from the identity list, and sets the identity identifier of the first electronic device as the first identity identifier; The first electronic device broadcasts a group entry message, which is used to indicate the first group identifier and the first identity identifier of the first group; The second electronic device receives the group entry message; If the group identifier of the group to which the second electronic device belongs is the same as the first group identifier indicated by the group entry message, the second electronic device will add the first identity identifier to the member list of the group to which the second electronic device belongs; The second electronic device broadcasts a group message, which indicates the second identity of the second electronic device and the first group identifier; The first electronic device receives the already-in-the-group message; The first electronic device stores and displays a member list of the group to which the first electronic device belongs, and the member list of the group to which the first electronic device belongs includes the first identity identifier and the second identity identifier; When the first electronic device is underwater, the first electronic device receives and responds to the user's second operation by displaying one or more messages, the one or more messages including the first message; The first electronic device receives and responds to a third operation in which the user selects to send the first message, and sends a first acoustic signal, the first acoustic signal being used to indicate the first message, the first identity identifier, and the first group identifier; When the second electronic device receives the first sound wave signal, if the group identifier of the group to which the second electronic device belongs is the same as the first group identifier, the display screen of the second electronic device displays the first identity identifier and the first message. If the group identifier of the group to which the third electronic device belongs is different from the first group identifier, the first message will not be displayed on the screen of the third electronic device when the third electronic device receives the first acoustic signal.

2. The method according to claim 1, characterized in that, The first electronic device further includes a first button; the second operation is the operation performed by the user on the first button.

3. The method according to claim 1 or 2, characterized in that, The first electronic device further includes a second button and a third button; the third operation of receiving and responding to the user's selection to send the first message, sending a first sound wave signal, specifically includes: The first electronic device receives and responds to the user's operation on the second button, and displays a selection indicator on the first message, the selection indicator being used to prompt the user that the first message has been selected; The first electronic device receives and responds to the user's operation on the third button, and sends the first sound wave signal.

4. The method according to claim 1 or 2, characterized in that, The method further includes: The first electronic device monitors a user's first physiological parameter, which is any one of the following: body temperature, heart rate, blood pressure, blood oxygen concentration, or central nervous system toxicity concentration. When the first electronic device is underwater and detects that the first physiological parameter does not belong to the first range, the first electronic device sends a second acoustic signal. The second acoustic signal is used to indicate second information and the first identity identifier. The second information is used to notify the receiver that the user of the first electronic device has an abnormal first physiological parameter.

5. The method according to claim 1 or 2, characterized in that, The method further includes: The first electronic device monitors the parameters of the first environmental equipment, which are any one of the following: water temperature, water depth, water flow rate, ambient light intensity, water pressure, oxygen reserve, remaining safe time, decompression-free time, and diving time. When the first electronic device is underwater and detects that the first environmental equipment parameter does not belong to the second range, the first electronic device sends a third acoustic signal. The third acoustic signal is used to indicate third information and the first identity identifier. The third information is used to notify the receiver that the first environmental equipment parameter of the first electronic device is abnormal.

6. The method according to claim 5, characterized in that, The method further includes: The first electronic device monitors the diving status, which includes one or more of the following: surfacing, descending, and remaining stationary; When the first environmental equipment parameter reaches a first value, the first electronic device sends a fourth acoustic signal. The fourth acoustic signal is used to indicate fourth information and the first identity identifier. The fourth information includes the first environmental equipment parameter and the first diving status. The first diving status is the diving status of the first electronic device.

7. The method according to claim 1 or 2, characterized in that, The method further includes: The first electronic device monitors a first diving parameter, which is any one of the following: duration of stay, ascent speed, and descent speed; When the first electronic device is underwater and detects that the first diving parameter does not belong to the third range, the first electronic device sends a fifth acoustic signal. The fifth acoustic signal is used to indicate the fifth information and the first identity identifier. The fifth information is used to notify the receiver that the first diving parameter of the first electronic device is abnormal.

8. The method according to claim 1, characterized in that, The method further includes: Before receiving the second operation, the first electronic device receives a fourth operation in which the user joins the first group; In response to the fourth operation, the first electronic device broadcasts the first group identifier and the first identity identifier; The first electronic device receives the first group identifier and the second identity identifier sent by the second electronic device; The first electronic device displays a member list of the first group, the member list including the first identity identifier and the second identity identifier.

9. The method according to claim 1, characterized in that, The method further includes: Before receiving the second operation, the first electronic device receives a fifth operation from the user to create the first group; In response to the fifth operation, the first electronic device broadcasts the first group identifier and the first identity identifier; The first electronic device receives the first group identifier and the second identity identifier sent by the second electronic device; The first electronic device broadcasts the first group identifier and the member list of the first group, the member list including the first identity identifier and the second identity identifier.

10. The method according to claim 8 or 9, characterized in that, The method further includes: When the first electronic device receives the sixth acoustic signal sent by the second electronic device, the first electronic device displays the sixth information and the second identity identifier. The sixth acoustic signal is used to indicate the sixth information, the first group identifier, and the second identity identifier. When the first electronic device receives the seventh acoustic signal sent by the third electronic device, the first electronic device does not display the seventh information. The seventh acoustic signal is used to indicate the seventh information and the third identity identifier, which is the identity identifier of the third electronic device. The third electronic device does not belong to the first group.

11. The method according to claim 1 or 2, characterized in that, The method further includes: When the first electronic device is underwater, the first electronic device sends an eighth acoustic signal at a first moment, the eighth acoustic signal being used to indicate the first identification and the first moment; The first electronic device receives a ninth acoustic signal sent by the second electronic device at a second time. The ninth acoustic signal is an acoustic signal sent by the second electronic device when it receives the eighth acoustic signal. The ninth acoustic signal is used to indicate the transmission time of the ninth acoustic signal and the second identification of the second electronic device. In response to the ninth acoustic signal, the first electronic device outputs distance information based on the transmission time of the ninth acoustic signal and the second time, the distance information being used to indicate the distance between the first electronic device and the second electronic device.

12. The method according to claim 1 or 2, characterized in that, The method further includes: When the first electronic device is underwater, the first electronic device sends an eighth acoustic signal at the first moment, and the eighth acoustic signal is used to indicate the first identity identifier. The first electronic device receives a ninth acoustic signal sent by the second electronic device at a second time. The ninth acoustic signal is an acoustic signal sent by the second electronic device when it receives the eighth acoustic signal. The ninth acoustic signal is used to indicate the second identity identifier of the second electronic device. The first electronic device sends a tenth acoustic signal at a third moment, the tenth acoustic signal being used to indicate the first identity identifier; The first electronic device receives the eleventh acoustic signal sent by the second electronic device at the fourth moment. The eleventh acoustic signal is an acoustic signal sent by the second electronic device when it receives the tenth acoustic signal. The eleventh acoustic signal is used to indicate the second identity identifier of the second electronic device. The first electronic device outputs a distance prompt based on a first time interval and a second time interval. The distance prompt is used to indicate to the user the change in distance between the first electronic device and the second electronic device. The first time interval is the time interval between the first moment and the second moment, and the second time interval is the time interval between the third moment and the fourth moment.

13. The method according to claim 12, characterized in that, The distance prompt output based on the first time interval and the second time interval specifically includes: When the first time interval is greater than the second time interval, the first electronic device outputs a first distance prompt, which is used to prompt the user that the distance between the first electronic device and the second electronic device has decreased; When the first time interval is less than the second time interval, the first electronic device outputs a second distance prompt, which is used to prompt the user that the distance between the first electronic device and the second electronic device has increased.

14. The method according to claim 1 or 2, characterized in that, The method further includes: Before receiving the first operation, the first electronic device displays a first prompt, which is used to remind the user that the first electronic device has not yet set an identity identifier; The first electronic device receives and responds to a first operation by the user selecting a first identity identifier from the identity list, setting the identity identifier of the first electronic device as the first identity identifier, specifically including: The first electronic device receives and responds to the user's first operation by displaying a second prompt, which is used to prompt the user that the identity of the first electronic device is the first identity.

15. An electronic device, specifically a first electronic device, characterized in that: include: One or more processors, one or more memories, a display screen, and a sound module; the one or more memories are coupled to the one or more processors, and the one or more memories are used to store computer program code, the computer program code including computer instructions, which, when the one or more processors execute the computer instructions, cause the first electronic device to perform the steps performed by the first electronic device in any one of claims 1-14.

16. The electronic device according to claim 15, characterized in that, The sound-generating module is attached to the back cover of the first electronic device, and the sound-generating module is used to drive the back cover to vibrate and send sound wave signals.

17. A computer-readable storage medium comprising computer instructions, characterized in that, When the computer instructions are executed on the first electronic device, the first electronic device performs the steps of the method described in any one of claims 1-14.

Citation Information

Patent Citations

  • Underwater robot control system and underwater robot control method

    JP2018203192A

  • Diver Monitoring and Communication System

    US20110102177A1

  • Underwater communication apparatus and communication method

    US6125080A

  • Underwater location and communication device

    US6272073B1