Underwater control method, system and related device
By dynamically selecting wireless communication methods such as Bluetooth, sonar, optical communication, and high-power low-frequency electromagnetic waves in the underwater environment, the problem of entanglement of tethered remotely operated robots in complex underwater environments has been solved, achieving highly safe and flexible underwater equipment control.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- HUAWEI DEVICE CO LTD
- Filing Date
- 2024-10-24
- Publication Date
- 2026-04-24
AI Technical Summary
Cable-tethered remotely operated robots are prone to tangling in complex underwater environments, resulting in poor safety and flexibility.
The system employs environmentally-based wireless communication methods, such as Bluetooth, sonar, optical communication, and high-power low-frequency electromagnetic waves, to dynamically select the optimal communication method for underwater equipment control.
It improves the safety and flexibility of underwater equipment operation and avoids cable entanglement accidents.
Smart Images

Figure CN121923733A_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of electronic technology, and in particular to an underwater control method, system and related device. Background Technology
[0002] With the continuous development of electronic technology, more and more electronic devices are able to support underwater operations. When two electronic devices work together underwater, they can establish a wired communication connection via a cable. For example, a tethered remotely operated robot can establish a wired communication connection with a remote control device via a cable, and the remote control device can control the tethered remotely operated robot to perform underwater operations via the cable.
[0003] While this allows for the control of underwater equipment, the movement of tethered remotely operated robots is restricted by the cables, which can easily lead to entanglement accidents in complex underwater environments, resulting in poor safety and flexibility. Summary of the Invention
[0004] This application provides an underwater control method, system, and related device, which realizes the control of underwater equipment to perform user-specified operations based on underwater wireless communication, with high security and strong flexibility.
[0005] In a first aspect, this application provides an underwater control method applied to a first wearable device. The method includes: pairing with the first underwater device; acquiring one or more communication methods supported by the first underwater device; determining one or more communication methods supported by both the first underwater device and the first wearable device based on the one or more communication methods supported by the first underwater device and the one or more communication methods supported by the first wearable device; receiving a first operation from a user after the first wearable device enters the water; determining the first communication method from one or more communication methods supported by both the first underwater device and the first wearable device based on environmental factors; the environmental factors include any one or more of the following: the distance between the first wearable device and the first underwater device, the orientation of the first underwater device relative to the first wearable device, whether there are obstacles between the first wearable device and the first underwater device, ambient light intensity, and water temperature; and in response to the first operation, sending a first instruction to the first underwater device based on the first communication method, the first instruction being used to instruct the first underwater device to perform a second operation.
[0006] In this way, the communication method used underwater can be determined based on environmental factors, and underwater equipment can be controlled to perform specified operations based on the communication method. In addition, the determined communication methods are all wireless communication methods, which are highly secure and flexible.
[0007] In one possible implementation, the method further includes: determining a first distance between the first wearable device and the first underwater device by sonar measurement; determining a first communication method from one or more communication methods supported by both the first underwater device and the first wearable device based on environmental factors, specifically including: if the first distance is less than a first distance threshold, determining the first communication method as Bluetooth communication; if the first distance is greater than the first distance threshold, determining the first communication method as sonar communication.
[0008] In this way, Bluetooth communication can be used when the distance is short, and sonar communication can be used when the distance is long.
[0009] In one possible implementation, the method further includes: determining a first distance by measuring the distance between the first wearable device and the first underwater device using sonar; determining a first communication method from one or more communication methods supported by both the first underwater device and the first wearable device based on environmental factors, specifically including: if the first distance is less than a second distance threshold, determining the first communication method as Bluetooth communication; if the first distance is greater than the second distance threshold and less than a third distance threshold, determining the first communication method as sonar communication, where the second distance threshold is less than the third distance threshold; if the first distance is greater than the third distance threshold and less than a fourth distance threshold, determining the first communication method as optical communication, where the third distance threshold is less than the fourth distance threshold; and if the first distance is greater than the fourth distance threshold, determining the first communication method as high-power low-frequency electromagnetic wave communication.
[0010] In this way, the communication method can be determined based on the distance between the two devices. For example, the communication methods corresponding to the distance from small to large are: Bluetooth communication, sonar communication, optical communication, high-power electromagnetic wave communication, etc.
[0011] In one possible implementation, a first communication method is determined from one or more communication methods supported by both the first underwater device and the first wearable device based on environmental factors. Specifically, this includes: generating a first instruction in response to a first operation; and determining the first communication method from one or more communication methods supported by both the first underwater device and the first wearable device based on environmental factors and the amount of data in the first instruction.
[0012] In this way, the appropriate communication method can be determined based on environmental factors and the amount of data in the instructions to be sent.
[0013] In one possible implementation, obtaining environmental factors specifically includes: determining a first distance by measuring the distance between the first wearable device and the first underwater device using sonar; determining a first communication method from one or more communication methods supported by both the first underwater device and the first wearable device based on the environmental factors and the amount of data in the first command, specifically including: if the first distance is less than a fifth distance threshold, determining the first communication method as Bluetooth communication; if the first distance is greater than the fifth distance threshold and the amount of data in the first command is less than or equal to the first data amount, determining the first communication method as sonar communication; if the first distance is greater than the fifth distance threshold and the amount of data in the first command is greater than the first data amount, determining the first communication method as high-power low-frequency electromagnetic wave communication.
[0014] Thus, Bluetooth communication can be used when the distance is short; sonar communication can be used when the distance is long and the data volume is small; and high-power low-frequency electromagnetic wave communication can be used when the distance is long and the data volume is large.
[0015] In another possible implementation, the method further includes: generating a first instruction in response to a first operation; and determining a second communication method from one or more communication methods supported by both the first underwater device and the first wearable device based on the amount of data in the first instruction.
[0016] In this way, the first communication method can also be determined based on the amount of data in the first instruction. For example, when the amount of data in the first instruction is less than or equal to the amount of data in the second instruction, the first communication method is determined to be sonar communication; when the amount of data in the first instruction is greater than or equal to the amount of data in the second instruction, Bluetooth communication can be used.
[0017] In one possible implementation, before sending the first instruction to the first underwater device based on the first communication method, the method further includes: after determining the first communication method, sending a first notification to the first underwater device, the first notification being used to notify the first underwater device to communicate with the first wearable device using the first communication method.
[0018] In this way, after the first wearable device determines the first communication method, it can notify the first underwater device of the first communication method through the first notification, so that the first underwater device can keep the receiver of the corresponding communication method in the on state. Optionally, the receivers of other communication methods can also be turned off in order to reduce power consumption.
[0019] In one possible implementation, the method further includes: pairing with a second underwater device; acquiring one or more communication methods supported by the second underwater device; determining one or more communication methods supported by both the second underwater device and the first wearable device based on the one or more communication methods supported by the second underwater device and the one or more communication methods supported by the first wearable device; receiving a third operation from the user after the first wearable device enters the water; determining a second communication method from the one or more communication methods supported by both the second underwater device and the first wearable device; and in response to the third operation, sending a second instruction to the second underwater device based on the second communication method, the second instruction being used to instruct the second underwater device to perform a fourth operation.
[0020] In this way, the first wearable device can be paired with multiple underwater devices at the same time and control the multiple paired underwater devices underwater.
[0021] In one possible implementation, the method further includes: obtaining a second device type of the second underwater device; displaying a second control interface based on the second device type, the second control interface being used to control the second underwater device; and receiving a third operation from the user, specifically including: receiving the user's operation on the second control interface.
[0022] In this way, when multiple underwater devices are paired, the corresponding control interface can be displayed based on the device type of the currently controlled object (i.e., the underwater device currently being controlled). That is, users can control different underwater devices through different control interfaces.
[0023] In one possible implementation, displaying a second control interface based on a second device type specifically includes: receiving and responding to a user's operation to switch the controlled object from a first underwater device to a second underwater device, and displaying a second control interface based on the second device type.
[0024] In this way, the displayed control interface can be switched based on the user's operation of switching the controlled object.
[0025] In one possible implementation, before receiving the user's first operation, the method further includes: obtaining a first device type of the first underwater device; displaying a first control interface based on the first device type, the first control interface being used to control the first underwater device; and receiving the user's first operation, specifically including: receiving the user's operation on the first control interface.
[0026] In this way, the first operation can be an operation performed by the user on the first control interface.
[0027] In one possible implementation, the first wearable device includes a first button; receiving a first operation from the user, specifically including: receiving the user's operation on the first button.
[0028] In this way, the first operation can be the user's action on the first button.
[0029] In one possible implementation, receiving the user's first action specifically includes detecting that the user performs a first gesture.
[0030] Thus, the first action could be for the user to perform a specific gesture.
[0031] In one possible implementation, after pairing with the first underwater device, the method further includes: receiving a second device capability of the second wearable device sent by the first underwater device; determining the first wearable device as the master control device based on the first and second device capabilities of the first wearable device; and sending a second notification to the second wearable device, the second notification being used to notify the second wearable device that the first wearable device is the master control device of the first underwater device.
[0032] In this way, multiple wearable devices can be paired with the same underwater device at the same time, and the underwater device can determine the master control device of the underwater device based on its capabilities.
[0033] In one possible implementation, after pairing with the first underwater device, the method further includes: receiving a third notification sent by the first underwater device, the third notification being used to notify the first wearable device that it is the master control device of the first underwater device.
[0034] In this way, after the master control device is identified, the underwater device can notify the paired wearable devices.
[0035] In one possible implementation, the method further includes: acquiring environmental factors in response to detecting that the first wearable device has entered the water.
[0036] This allows us to obtain environmental data after the water has been submerged.
[0037] In one possible implementation, determining a first communication method based on environmental factors from one or more communication methods supported by both the first underwater device and the first wearable device specifically includes: in response to a first operation, determining the first communication method based on environmental factors from one or more communication methods supported by both the first underwater device and the first wearable device; or, upon detecting that the first wearable device has entered the water, determining the first communication method based on environmental factors from one or more communication methods supported by both the first underwater device and the first wearable device.
[0038] In this way, the user's first operation can be used as the trigger condition for determining the first communication method, or the entry into water can be used as the trigger condition for the first communication method.
[0039] In one possible implementation, the method further includes: pairing with a second underwater device; and in response to a first operation, sending a first instruction to the first underwater device based on a first communication method, specifically including: in response to the first operation, displaying a first prompt, the first prompt being used to prompt the user to select the control object of the first operation; and receiving and in response to the user's operation of selecting the first underwater device, sending the first instruction to the first underwater device based on the first communication method.
[0040] In this way, when a wearable device is paired with multiple underwater devices, it can first receive the user's first operation and then prompt the user to select the control object of the first operation.
[0041] Secondly, this application provides an electronic device, which includes one or more processors and one or more memories; wherein the one or more memories are coupled to one or more processors, and the one or more memories are used to store computer instructions, and when the one or more processors execute the computer instructions, they implement the underwater manipulation method in any possible implementation of any of the above aspects.
[0042] Thirdly, this application provides a chip system comprising: a processing circuit and an interface circuit, wherein the interface circuit is used to receive code instructions and transmit them to the processing circuit, and the processing circuit is used to execute the code instructions to perform the underwater manipulation method in any possible implementation of any of the above aspects.
[0043] Fourthly, this application provides a readable storage medium storing computer instructions that, when executed by a processor, implement the underwater manipulation method in any of the possible implementations of any of the above aspects.
[0044] Fifthly, this application provides a computer program product including computer instructions, which, when executed by a processor, implements the underwater control method in any of the possible implementations of any of the above aspects.
[0045] The beneficial effects of aspects two through five can be referenced from the beneficial effects of aspect one above. Attached Figure Description
[0046] Figure 1A A schematic diagram of the system architecture of an underwater control system provided in this application embodiment;
[0047] Figure 1B A schematic diagram of the system architecture of an underwater control system provided in this application embodiment;
[0048] Figure 1C This paper illustrates a schematic diagram of the system architecture of an underwater control system provided in an embodiment of this application.
[0049] Figure 1D This illustration shows a schematic diagram of the hardware structure of a wearable device according to an embodiment of this application;
[0050] Figure 2 A flowchart illustrating an underwater manipulation method provided in an embodiment of this application is shown.
[0051] Figure 3 A schematic diagram of a pairing process provided in an embodiment of this application is shown;
[0052] Figure 4 This illustration shows a flowchart of a wearable device determining whether to complete underwater communication with an underwater device using communication method 1, according to an embodiment of this application.
[0053] Figure 5 This illustration shows a flowchart of a wearable device determining whether to complete underwater communication with an underwater device using communication method 1, according to an embodiment of this application.
[0054] Figure 6 This illustration shows a flowchart of an embodiment of the present application for determining the communication method between a wearable device and an underwater device based on the distance between the wearable device and the underwater device;
[0055] Figure 7 This illustration shows a flowchart of a process for determining the communication method between a wearable device and an underwater device based on user operation 1, according to an embodiment of this application.
[0056] Figure 8 This illustration shows a schematic diagram of a wearable device controlling multiple underwater devices according to an embodiment of this application.
[0057] Figure 9 This illustration shows a schematic diagram of a wearable device controlling multiple underwater devices according to an embodiment of this application.
[0058] Figure 10 This illustration shows a schematic diagram of a wearable device controlling multiple underwater devices according to an embodiment of this application.
[0059] Figures 11A-11L This illustration shows a set of interface diagrams for pairing wearable devices with underwater equipment, provided in an embodiment of this application.
[0060] Figures 12A-12F This application provides a set of schematic diagrams illustrating the interface for a wearable device to control an underwater device to perform a specified operation.
[0061] Figure 13 This illustration shows a functional module diagram of an underwater control system provided in an embodiment of this application;
[0062] Figure 14 A schematic diagram of the physical structure of an electronic device provided in an embodiment of this application is shown;
[0063] Figure 15 A flowchart illustrating another underwater manipulation method provided in an embodiment of this application is shown. Detailed Implementation
[0064] 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.
[0065] 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.
[0066] 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.
[0067] The system architecture of three underwater control systems provided in the embodiments of this application is described below.
[0068] Figure 1A A schematic diagram of the system architecture of an underwater control system 10 provided in an embodiment of this application is shown.
[0069] like Figure 1A As shown, the underwater control system 10 may include a wearable device 100 and an underwater device 200. The wearable device 100 may be paired with the underwater device 200. In some embodiments, the wearable device 100 may be paired with the underwater device 200 on the surface of the water; in other embodiments, the wearable device 100 may be paired with the underwater device 200 underwater. It should be noted that the wearable device 100 and the underwater device 200 can be paired based on wireless communication technology, which may include, but is not limited to, any one or more of the following: 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), infrared (IR), NearLink, intrabody communication (IBC), sonar, high-power low-frequency electromagnetic waves, optical communication, etc.
[0070] When the wearable device 100 is paired with the underwater device 200, the wearable device 100 can obtain the communication methods supported by the underwater device 200. In some embodiments, after detecting that the wearable device 100 has entered the water, the wearable device 100 can also monitor environmental factors between the wearable device 100 and the underwater device 200 in real time. These environmental factors may include, but are not limited to, any one or more of the following: the distance between the wearable device 100 and the underwater device 200, the orientation of the underwater device 200 relative to the wearable device 100, whether there are obstacles between the underwater device 200 and the wearable device 100, water temperature, ambient light intensity, etc. The wearable device 100 can receive and respond to user operations 1 controlling the underwater device 200 (e.g., operations on the interface, operations on buttons, or user gestures), and send instruction 1 to the underwater device 200 based on communication method 1. This instruction 1 can be used to instruct the underwater device 200 to perform operation 2. The communication method 1 can be determined by the wearable device 100 from among the communication methods supported by both the wearable device 100 and the underwater device 200 based on environmental factors and / or operation 1, or it can be determined by the wearable device 100 and the underwater device 200 through negotiation based on environmental factors and / or operation 1. In some embodiments, the wearable device 100 can also receive a response 1 sent by the underwater device 200, which informs the wearable device 100 that the underwater device 200 has executed the operation indicated by instruction 1.
[0071] When the wearable device 100 is paired with the underwater device 200, in some embodiments, the underwater device 200 can send a communication method supported by the underwater device 200 to the wearable device 100. In other embodiments, the underwater device 200 can also negotiate with the wearable device 100 to determine the use of communication method 1. It should be noted that the negotiation of the communication method can be a single event or multiple events, such as periodically negotiating the communication method. After negotiating and determining to use communication method 1, the underwater device 200 can keep the receiver for communication method 1 in an on state. Optionally, the underwater device 200 can turn off the receivers for other communication methods. The underwater device 200 can receive and respond to instruction 1 sent by the wearable device 100 based on communication method 1 to execute operation 2. Optionally, after executing operation 2, the underwater device 200 can send response 1 to the wearable device 100 based on communication method 1. Response 1 is used to inform the wearable device 100 that the underwater device 200 has executed the operation indicated by instruction 1.
[0072] exist Figure 1AIn the embodiments shown, the wearable device 100 can be a watch (or bracelet), or a smart glasses, smart ring, or other wearable device; the underwater device 200 can be an underwater camera, or an underwater robot or other electronic device with underwater operation capabilities. This application does not limit the specific device type and form of the wearable device 100 and the underwater device 200.
[0073] Understandable, Figure 1A The embodiments shown are merely examples. In the embodiments of this application, the underwater control system 10 may include more wearable devices or underwater devices that are different from those in the above embodiments. This application does not limit the scope of the invention.
[0074] Figure 1B A schematic diagram of the system architecture of an underwater control system 20 provided in an embodiment of this application is shown.
[0075] like Figure 1B As shown, the underwater control system 20 may include a wearable device 100, an underwater device 200, and an underwater device 300. The wearable device 100 can be paired with the underwater device 200, and the wearable device 100 can also be paired with the underwater device 300. It should be noted that the pairing of the wearable device 100 with the underwater device 200, and the pairing of the wearable device 100 with the underwater device 300, can be completed either on the surface or underwater. The pairing of the wearable device 100 with the underwater devices 200 and 300 can be achieved based on wireless communication technology; details of the wireless communication technology can be found above. Figure 1A The relevant descriptions in the illustrated embodiments.
[0076] In the underwater control system 20, when the wearable device 100 is paired with the underwater device 200 and the underwater device 300, the wearable device 100 can send commands to the underwater device 200 to control the underwater device 200 to perform a specified operation, and can also send commands to the underwater device 300 to control the underwater device 300 to perform a specified operation.
[0077] The communication method between the wearable device 100 and the underwater device 200 can be determined by the wearable device 100 based on user operation and / or environmental factors (i.e., environmental factors between the wearable device 100 and the underwater device 200) from among the communication methods supported by both devices, or determined through negotiation with the underwater device 200. The specific details of the environmental factors between the wearable device 100 and the underwater device 200 can be found above. Figure 1A The relevant descriptions in the illustrated embodiments.
[0078] The communication method between the wearable device 100 and the underwater device 300 can be determined by the wearable device 100 based on user operation and / or environmental factors (i.e., environmental factors between the wearable device 100 and the underwater device 300) from among the communication methods supported by both devices, or determined through negotiation with the underwater device 300. Environmental factors between the wearable device 100 and the underwater device 300 may include, but are not limited to, any one or more of the following: the distance between the wearable device 100 and the underwater device 300, the orientation of the underwater device 300 relative to the wearable device 100, whether there are obstructions between the underwater device 300 and the wearable device 100, water temperature, ambient light intensity, etc.
[0079] exist Figure 1B In the illustrated embodiment, the wearable device 100 can be a watch (or bracelet), or a smart glasses, smart ring, or other wearable device; the underwater device 200 can be an underwater camera, and the underwater device 300 can be an underwater robot. The underwater devices (underwater device 200, underwater device 300, etc.) can also be other electronic devices with underwater operation capabilities. This application does not limit the specific device type and form of the wearable device 100 and the underwater device 200.
[0080] Understandable, Figure 1B The illustrated embodiments are merely illustrative. The wearable device 100 can pair with multiple underwater devices and control the multiple underwater devices to perform specified operations. In the embodiments of this application, the underwater control system 20 may also include more or different underwater devices than the above embodiments, and may also include more or different wearable devices than the above embodiments. This application does not impose any limitations on this.
[0081] Figure 1C A schematic diagram of the system architecture of an underwater control system 30 provided in an embodiment of this application is shown.
[0082] like Figure 1C As shown, the underwater control system 30 may include a wearable device 100, a wearable device 400, and an underwater device 300. The wearable device 100 can be paired with the underwater device 300, and the wearable device 400 can also be paired with the underwater device 300. It should be noted that the pairing of the wearable device 100 with the underwater device 300, and the pairing of the wearable device 400 with the underwater device 300, can be completed either on the surface or underwater. The pairing of the underwater device 300 with the wearable devices 100 and 400 can be achieved based on wireless communication technology. For details of the wireless communication technology, please refer to the above description. Figure 1A The relevant descriptions in the illustrated embodiments.
[0083] In the underwater control system 30, when the wearable device 100 is paired with the underwater device 300, the wearable device 100 can send commands to the underwater device 300 to control it to perform specified operations; similarly, when the wearable device 400 is paired with the underwater device 300, the wearable device 400 can also send commands to control it to perform specified operations. In some embodiments, when the underwater device 300 is paired with both the wearable device 100 and the wearable device 400, the wearable device 100, the wearable device 400, and the underwater device 300 can determine a master device from the wearable device 100 and the wearable device 400, and a non-master device. The master device can control the underwater device 300 to perform specified operations by sending commands. Optionally, the non-master device can also control the underwater device 300 to perform specified operations by sending commands, and in the event of a conflict between the commands from the master device and the non-master device, the underwater device 300 can execute the operation specified by the command sent by the master device.
[0084] The communication method between the wearable device 100 and the underwater device 300 can be determined by the wearable device 100 based on user operation and / or environmental factors (i.e., environmental factors between the wearable device 100 and the underwater device 300) from among the communication methods supported by both devices, or determined through negotiation with the underwater device 300. Specific details regarding the environmental factors between the wearable device 100 and the underwater device 300 can be found above. Figure 1B The relevant descriptions in the illustrated embodiments.
[0085] The communication method between the wearable device 400 and the underwater device 300 can be determined by the wearable device 400 based on user operation and / or environmental factors (i.e., environmental factors between the wearable device 400 and the underwater device 300) from the communication methods supported by both devices, or determined through negotiation with the underwater device 300. Environmental factors between the wearable device 400 and the underwater device 300 may include, but are not limited to, any one or more of the following: the distance between the wearable device 400 and the underwater device 300, the orientation of the underwater device 300 relative to the wearable device 400, whether there are obstructions between the underwater device 300 and the wearable device 400, water temperature, ambient light intensity, etc.
[0086] exist Figure 1CIn the embodiments shown, wearable devices (such as wearable device 100, wearable device 400, etc.) can be watches (or bracelets), or wearable devices such as smart glasses and smart rings; underwater devices 300 can be underwater robots or other electronic devices with underwater operation capabilities. This application does not limit the specific device types and forms of wearable devices 100, 400 and 300.
[0087] Understandable, Figure 1C The illustrated embodiments are merely illustrative. An underwater device can be paired with multiple wearable devices simultaneously and controlled by multiple wearable devices. In the embodiments of this application, the underwater control system 30 may also include more or different wearable devices than the above embodiments, or it may include more or different underwater devices than the above embodiments. This application does not impose any limitations on this.
[0088] The hardware structure of the wearable device 100 provided in the embodiments of this application is described below.
[0089] Figure 1D This illustration shows a hardware structure diagram of a wearable device 100 provided in an embodiment of this application.
[0090] Wearable device 100 can be a watch, bracelet, smart glasses, smart ring, or other wearable devices (also referred to as wearable devices). In other embodiments, wearable device 100 can also be an electronic device such as a smartphone, tablet, or laptop. This application embodiment does not impose any special restrictions on the specific type of electronic device. Wearable device 100 may include a processor 110, internal memory 121, charging management module 140, power management module 141, battery 142, wireless communication module 160, sensor module 180, and display screen 194. Optionally, wearable device 100 may also include any one or more of the following: audio module 170, buttons 190, motor 191, indicator 192, photoplethysmography (PPG) module, etc.
[0091] The sensor module 180 may include a touch sensor 180K. Optionally, the sensor module 180 may also include one or more of the following sensors: gyroscope sensor 180B, magnetic sensor 180D, accelerometer sensor 180E, distance sensor 180F, temperature sensor 180J, depth sensor 180P, proximity sensor, fingerprint sensor, barometric pressure sensor, ambient light sensor, etc.
[0092] It is understood that the structures illustrated in the embodiments of this application do not constitute a specific limitation on the wearable device 100. In other embodiments of this application, the wearable 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.
[0093] 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.
[0094] The controller can generate operation control signals based on the instruction opcode and timing signals to complete the control of instruction fetching and execution.
[0095] 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.
[0096] 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.
[0097] 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 a USB interface. In some wireless charging embodiments, the charging management module 140 receives wireless charging input via the wireless charging coil of the wearable 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.
[0098] 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.
[0099] The wireless communication module 160 can provide wireless communication solutions for wearable devices 100, including wireless local area networks (WLANs) (such as wireless fidelity (Wi-Fi) networks), Bluetooth (BT), global navigation satellite system (GNSS), frequency modulation (FM), near field communication (NFC), infrared (IR), NearLink, and intrabody communication (IBC). For example, when two electronic devices communicate using an intrabody communication scheme, both devices have at least one electrode that contacts the skin, through which they send and receive information via the human body. The wireless communication module 160 can be one or more devices integrating at least one communication processing module.
[0100] In some embodiments, the wearable device 100 may include an antenna, and the wireless communication module 160 may be coupled to the antenna, enabling the wearable device 100 to communicate with networks and other devices via wireless communication technologies. The wireless communication technologies may include Global System for Mobile Communications (GSM), General Packet Radio Service (GPRS), Code Division Multiple Access (CDMA), Wideband Code Division Multiple Access (WCDMA), Time-Division Code Division Multiple Access (TD-SCDMA), Long Term Evolution (LTE), BT, GNSS, WLAN, NFC, FM, and / or IR technologies, etc. The GNSS may include the Global Positioning System (GPS), the Global Navigation Satellite System (GLONASS), the BeiDou Navigation Satellite System (BDS), the Quasi-Zenith Satellite System (QZSS), and / or satellite-based augmentation systems (SBAS).
[0101] The wearable 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 for graphics rendering. The processor 110 may include one or more GPUs, which execute program instructions to generate or modify display information.
[0102] 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, the wearable device 100 may include one or N displays 194, where N is a positive integer greater than 1.
[0103] 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.
[0104] The audio module 170 may include one or more of the following: a speaker 170A, a microphone 170C, a sound-emitting module 170D, etc. The wearable device 100 can implement audio functions through the audio module 170 and an application processor, such as receiving sound wave signals and transmitting sound wave signals.
[0105] 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.
[0106] The speaker 170A, also known as a "loudspeaker," is used to convert audio electrical signals into sound signals. The wearable device 100 can listen to music or make hands-free calls through the speaker 170A.
[0107] Microphone 170C, also known as a "microphone" or "voice transducer," is used to convert sound signals into electrical signals. Wearable device 100 may be equipped with at least one microphone 170C. In some embodiments, wearable device 100 may be equipped with two microphones 170C, which, in addition to collecting sound signals, can also perform noise reduction. In other embodiments, wearable device 100 may be equipped with three, four, or more microphones 170C, enabling sound signal collection, noise reduction, sound source identification, and directional recording, among other functions. In some embodiments, wearable device 100 can receive sound wave signals through microphone 170C.
[0108] In some embodiments, the sound-emitting module 170D can emit sound wave signals. The sound wave signals may include ultrasonic signals.
[0109] 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 wearable device 100, in a different position than display screen 194.
[0110] In some embodiments, the sensor module 180 of the wearable device 100 may further include any one or more of the following sensors: a gyroscope sensor 180B, a magnetic sensor 180D, an accelerometer sensor 180E, a proximity sensor 180F, a temperature sensor 180J, a depth sensor 180P, a proximity sensor, a fingerprint sensor, a barometric pressure sensor, an ambient light sensor, etc. Wherein:
[0111] The gyroscope sensor 180B can be used to determine the motion posture of the wearable device 100. In some embodiments, the angular velocity of the wearable device 100 about three axes (i.e., the x, y, and z axes) can be determined by the gyroscope sensor 180B.
[0112] The magnetic sensor 180D can be used to detect ambient magnetic fields. In some embodiments, the magnetic sensor 180D may include a Hall sensor.
[0113] The accelerometer 180E can detect the magnitude of acceleration of the wearable device 100 in various directions (typically three axes). When the wearable device 100 is stationary, it can detect the magnitude and direction of gravity.
[0114] The distance sensor 180F can measure the distance between wearable device 100 and target objects or other electronic devices.
[0115] Temperature sensor 180J is used to detect temperature. In some embodiments, wearable device 100 can measure the user's body temperature using temperature sensor 180J. In other embodiments, wearable device 100 can also measure the temperature of the user's environment using temperature sensor.
[0116] The depth sensor 180P can measure the depth of the location of the wearable device 100.
[0117] A barometric pressure sensor can measure the air pressure in the environment where the wearable device 100 is located. In some embodiments, the depth of the wearable device 100 can be determined based on the air pressure measured by the barometric pressure sensor.
[0118] An ambient light sensor can measure the intensity of ambient light.
[0119] Buttons 190 include a power button, volume buttons, etc. Buttons 190 can be mechanical buttons or touch buttons. Wearable device 100 can receive button input and generate key signal inputs related to user settings and function control of wearable device 100.
[0120] Motor 191 can generate vibration alerts. Motor 191 can be used for incoming call vibration alerts or for touch vibration feedback. For example, different vibration feedback effects can correspond to touch operations performed on different applications (such as taking photos, playing audio, etc.). Motor 191 can also correspond to different vibration feedback effects for touch operations performed on different areas of the display screen 194. Different application scenarios (such as time reminders, receiving messages, alarm clocks, games, etc.) can also correspond to different vibration feedback effects. The touch vibration feedback effect can also be customized.
[0121] Indicator 192 can be an indicator light, used to indicate charging status, power changes, or to indicate messages, missed calls, notifications, etc.
[0122] The PPG module can measure one or more physiological parameters of a user, such as heart rate, blood oxygen saturation, and blood pressure.
[0123] It should be noted that, in this embodiment, the hardware structure of the wearable device 400 (or other wearable device) can also refer to the above description. Figure 1D The relevant descriptions in the illustrated embodiments are provided. Furthermore, the hardware structure of underwater devices (e.g., underwater device 200 and underwater device 300) can also be partially referenced. Figure 1DThe descriptions in the illustrated embodiments may vary. In some embodiments, the underwater device may include fewer, more, or different devices than those in the above embodiments, and this application does not limit the scope of the invention.
[0124] This application provides an underwater control method in which a wearable device 100 can be paired with an underwater device 200 and obtain the communication methods supported by the underwater device 200. After the wearable device 100 enters the water, it can receive and respond to user operation 1, and send instruction 1 to the underwater device 200 based on communication method 1. Instruction 1 is used to instruct the underwater device 200 to perform operation 2. The communication method 1 can be determined by the wearable device 100 from communication methods supported by both the wearable device 100 and the underwater device 200, or it can be determined by the wearable device 100 and the underwater device 200 through negotiation from communication methods supported by both.
[0125] In this way, the wearable device 100 can control the underwater device 200 to perform specified operations by sending commands underwater, facilitating collaborative operation between multiple devices in underwater work or recreational scenarios. Moreover, there is no wired connection between the wearable device 100 and the underwater device 200, eliminating the constraints of cables and ensuring high safety and flexibility.
[0126] The following describes the specific process of an underwater manipulation method provided in an embodiment of this application.
[0127] Figure 2 A schematic flowchart of an underwater manipulation method provided in an embodiment of this application is shown.
[0128] like Figure 2 As shown, a specific process of an underwater manipulation method may include the following steps:
[0129] S201. Wearable device 100 detected that wearable device 100 has entered water.
[0130] Step S201 is an optional step.
[0131] In some embodiments, the wearable device 100 may include a barometric pressure sensor. Since the air pressure underwater differs from the air pressure above water, the barometric pressure sensor will detect different pressures if the wearable device 100 is submerged in water. Therefore, in one implementation, the wearable device 100 can detect the ambient air pressure using the barometric pressure sensor and determine whether the wearable device 100 is submerged in water based on the detected air pressure.
[0132] In some embodiments, the wearable device 100 may include a depth sensor. When the wearable device 100 is submerged in water, the depth detected by the wearable device 100 changes. Therefore, in another possible implementation, the wearable device 100 may determine whether it is submerged in water based on the detection results of the depth sensor.
[0133] In some embodiments, due to factors such as water pressure, if the wearable device 100 is submerged in water, the capacitance of the display screen will change under the influence of water pressure. Therefore, in another possible implementation, the wearable device 100 can also determine whether it has been submerged in water based on the change in the capacitance of the display screen.
[0134] It is understood that the above three embodiments are just three examples. In the embodiments of this application, the wearable device 100 may also use different sensors or other devices than those in the above embodiments to detect whether the wearable device 100 is submerged in water. This application does not limit this.
[0135] In some embodiments, after detecting that the wearable device 100 has entered water, the wearable device 100 may perform the following step S202.
[0136] S202. Wearable device 100 determines whether there is a paired underwater device.
[0137] In some embodiments, the wearable device 100 may perform step S202 after detecting water ingress.
[0138] In other embodiments, the wearable device 100 may include an underwater communication mode. When the wearable device 100 activates the underwater communication mode, it can pair with nearby underwater devices and communicate underwater with the paired underwater devices. In this case, the wearable device 100 may also determine whether there is a paired underwater device when the underwater communication mode is activated.
[0139] If the wearable device 100 does not currently have a paired underwater device, the wearable device 100 can perform the following step S203.
[0140] If the wearable device 100 currently has a paired underwater device (e.g., underwater device 200), the wearable device 100 can perform the following step S204.
[0141] S203. The wearable device 100 is paired with the nearby underwater device 200.
[0142] If the wearable device 100 detects that there is no currently paired underwater device, the wearable device 100 can pair with a nearby underwater device (such as underwater device 200). The specific process for pairing the wearable device 100 with the underwater device 200 can be found below. Figure 3 The relevant descriptions in the illustrated embodiments will not be detailed here.
[0143] After performing step S203, the wearable device 100 may perform the following step S204.
[0144] S204. The wearable device 100 determines that the underwater communication method between it and the underwater device 200 is communication method 1.
[0145] After the wearable device 100 has been paired with the nearby underwater device 200, the wearable device 100 can determine that the underwater communication method with the underwater device 200 is communication method 1.
[0146] In some embodiments, step S204 may be performed immediately after the wearable device 100 and the underwater device 200 are paired, or it may be performed when the wearable device 100 is paired with the underwater device 200 and the wearable device 100 is detected to be in water, or it may be performed when the user's operation 1 in step S206 is received.
[0147] It should be noted that the wearable device 100 may execute step S204 once or multiple times (e.g., periodically). This application does not limit the specific execution order or number of times step S204 is executed.
[0148] For example, the specific process by which wearable device 100 determines the underwater communication method with underwater device 200 can be referred to the following: Figures 4-5 The relevant descriptions in the illustrated embodiments will not be detailed here.
[0149] S205. Wearable device 100 displays control interface 1 based on device type 2 of connected underwater device 200.
[0150] During the pairing process between the wearable device 100 and the underwater device 200, the wearable device 100 can obtain the device type 2 of the underwater device 200.
[0151] After the wearable device 100 is paired with the underwater device 200, the wearable device 100 displays the control interface 1 based on the device type 2 of the connected underwater device 200.
[0152] In some embodiments, the control interface 1 can be used to control the underwater device 200 to perform one or more specified operations. The control interface 1 may include one or more controls, each control being used to trigger the wearable device 100 to control the underwater device 200 to perform an operation. For example, the control interface 1 may refer to the following... Figure 11E or Figure 11I The relevant descriptions in the illustrated embodiments.
[0153] In other embodiments, the control interface 1 may include one or more operation prompts, each of which can be used to prompt the user to control the underwater device 200 to perform a specified operation (e.g., gesture operation, button operation, etc.).
[0154] S206. Wearable device 100 receives and responds to user operation 1, and sends instruction 1 to underwater device 200 based on communication method 1. Instruction 1 is used to instruct underwater device 200 to perform operation 2.
[0155] User operation 1 can be used to trigger wearable device 100 to control underwater device 200 to perform operation 2.
[0156] In some embodiments, user operation 1 can be an operation on control interface 1, a user gesture operation, or an operation on a button, etc.
[0157] In some embodiments, after receiving user operation 1, wearable device 100 can generate instruction 1, which can be used to instruct underwater device 200 to perform operation 2.
[0158] After generating instruction 1, the wearable device 100 can send instruction 1 to the underwater device 200 based on the communication method 1 determined in step S204.
[0159] S207. Underwater device 200 responds to instruction 1 and executes operation 2.
[0160] S208. The underwater device 200 sends a response 1 to the wearable device 100 based on communication method 1. The response 1 is used to indicate the execution status of operation 2.
[0161] In some embodiments, after receiving instruction 1, the underwater device 200 can send response 1 to the wearable device 100 based on communication method 1. Response 1 is used to indicate the execution status of operation 2. The execution status of operation 2 can include various conditions such as: executed, pending execution, and unable to execute.
[0162] Using the underwater control method provided in this application, the wearable device 100 can determine the communication method 1 used underwater with the underwater device 200, and control the underwater device 200 to perform user-specified operations based on the communication method 1, facilitating collaborative operation of multiple devices underwater. Moreover, there is no wired connection between the wearable device 100 and the underwater device 200, eliminating the constraints of cables and providing high security and flexibility.
[0163] The following describes a pairing process provided by an embodiment of this application.
[0164] Figure 3 A schematic diagram of a pairing process provided in an embodiment of this application is shown.
[0165] like Figure 3 As shown, the specific process for pairing the wearable device 100 with the underwater device 200 may include the following steps:
[0166] S301. Wearable device 100 activates listening mode.
[0167] When the wearable device 100 is in listening mode, it can receive and identify detection information sent by other electronic devices.
[0168] In some embodiments, the wearable device 100 may receive and respond to an operation by the user to enable the listening mode (e.g., the user enables the underwater communication mode, the user turns on the pairing switch, etc.) and enable the listening mode.
[0169] In other embodiments, the wearable device 100 can activate a listening mode after powering on.
[0170] In other embodiments, the wearable device 100 can trigger itself to activate the listening mode when water is detected and the listening mode is not activated.
[0171] S302. The underwater device 200 sends detection information, carrying the device identifier 2 and device type 2 of the underwater device 200.
[0172] In some embodiments, the underwater device 200 may broadcast detection information, which may carry the device identifier 2 and device type 2 of the underwater device 200.
[0173] In one possible implementation, the underwater device 200 can periodically broadcast detection information after being powered on (or after the pairing switch is turned on).
[0174] S303. Wearable device 100 displays device identifier 2 and device type 2 of underwater device 200.
[0175] Step S303 is an optional step.
[0176] In some embodiments, after receiving the detection information from the underwater device 200, the wearable device 100 may display the device identifier 2 and device type 2 of the underwater device 200 to indicate to the user that the nearby underwater device includes the underwater device 200, and also to indicate to the user the device type of the underwater device 200, so that the user can choose whether to pair with the underwater device 200.
[0177] It is understood that the embodiments described here are merely illustrative. The wearable device 100 can display the device identifier and device type of the sender of the detection information based on the received detection information. In the embodiments of this application, if the wearable device 100 receives more detection information sent by underwater devices than those in the above embodiments or different from those in the above embodiments, it can also display the device identifier and device type of underwater devices than those in the above embodiments or different from those in the above embodiments. This application does not limit this.
[0178] S304. Wearable device 100 is paired with underwater device 200.
[0179] In some embodiments, the wearable device 100 may pair with the underwater device 200 after receiving detection information sent by the underwater device 200.
[0180] In some embodiments, the wearable device 100 may also receive and respond to the user's selection to pair with the underwater device 200 after receiving the detection information sent by the underwater device 200, and pair with the underwater device 200.
[0181] In other embodiments, if the wearable device 100 stores a pairing record with the underwater device 200, the wearable device 100 can pair with the underwater device 200 after receiving detection information sent by the underwater device 200. Optionally, the wearable device 100 can also pair with the underwater device 200 after receiving detection information sent by the underwater device 200 and after a period of time (e.g., 20 seconds or 30 seconds) without receiving any user selection of a pairing device.
[0182] Understandable, Figure 3 The illustrated embodiment is merely an example; in the embodiments of this application, any wearable device and any underwater device may also be used. Figure 3 The pairing is completed in the embodiment shown, and wearable devices and underwater devices can also be paired in a different way than in the above embodiment. This application does not limit the scope of the pairing.
[0183] In this way, the wearable device 100 can be paired with the underwater device 200. It should be noted that the wearable device 100 and the underwater device 200 can be paired on the surface of the water or underwater. This application does not limit the specific scenario for pairing.
[0184] Figure 4 This illustration shows a flowchart of a wearable device 100 determining to complete underwater communication with an underwater device 200 using communication method 1, according to an embodiment of this application.
[0185] like Figure 4As shown, the specific process by which a wearable device 100 determines and completes underwater communication with an underwater device 200 using communication method 1 may include the following steps:
[0186] S401. Wearable device 100 and underwater device 200 have been detected to have completed pairing.
[0187] In some embodiments, the underwater device 200 may be the performer of step S401. In this case, the underwater device 200 may perform step S402 after detecting that the underwater device 200 and the wearable device 100 have completed pairing.
[0188] In some other embodiments, the wearable device 100 may also be the performer of step S401. In this case, the wearable device 100 may send an acquisition request to the underwater device 200, the acquisition request being used to request the acquisition of communication methods supported by the underwater device 200.
[0189] S402. The underwater device 200 sends a communication method supported by the underwater device 200 to the wearable device 100.
[0190] In some embodiments, after detecting that the underwater device 200 and the wearable device 100 have completed pairing, the underwater device 200 may send a communication method supported by the underwater device 200 to the wearable device 100.
[0191] In other embodiments, the underwater device 200 may receive and respond to an acquisition request sent by the wearable device 100, and send a communication method supported by the underwater device 200 to the wearable device 100.
[0192] In another possible implementation, the wearable device 100 can obtain the communication methods supported by the underwater device 200 during the pairing process with the underwater device 200. For example, the detection information sent by the underwater device 200 may also carry the communication methods supported by the underwater device 200, which is not limited in this application.
[0193] S403. The wearable device 100 determines communication mode 1 from the communication modes supported by both the underwater device 200 and the wearable device 100.
[0194] After receiving the communication methods supported by the underwater device 200, the wearable device 100 can determine one or more communication methods supported by both the wearable device 100 and the underwater device 200. Then, the wearable device 100 can determine communication method 1 from the one or more communication methods supported by both the wearable device 100 and the underwater device 200, and use this as the communication method for underwater communication between the wearable device 100 and the underwater device 200.
[0195] In some embodiments, after determining communication mode 1, the wearable device 100 can keep the receiver of communication mode 1 in a normally open state, and optionally, it can also turn off the receivers of other communication modes. This can save power consumption of the wearable device 100.
[0196] In other embodiments, after determining communication method 1, the wearable device 100 may also keep the receiver of one or more other communication methods besides communication method 1 in a normally open state. In this way, when communication method 1 cannot communicate normally, the underwater device 200 can also use other communication methods to communicate underwater with the wearable device 100.
[0197] S404. Wearable device 100 sends a communication method notification to underwater device 200, including communication method 1.
[0198] Steps S404 to S406 are optional.
[0199] In one possible implementation, the receivers for all communication methods supported by the underwater device 200 are normally open. That is, regardless of the communication method used by the wearable device 100 to communicate with the underwater device 200, the underwater device 200 can communicate underwater with the wearable device 100. In this case, after determining communication method 1, the wearable device 100 may not notify the underwater device 200, meaning steps S404 to S406 may not be executed.
[0200] In another possible implementation, after determining communication mode 1, the wearable device 100 can notify the underwater device 200 so that the underwater device 200 can turn the receiver of each communication mode on or off based on communication mode 1, thereby saving power consumption. In this case, steps S404 to S406 can be executed.
[0201] It should be noted that, in some embodiments, the wearable device 100 may use communication method 1 to send a communication method notification to the underwater device 200. In other embodiments, the wearable device 100 may use communication method 2 to send a communication method notification to the underwater device 200. Communication method 2 may be a communication method previously determined by the wearable device 100 for underwater communication with the underwater device 200, or it may be a default communication method (such as sonar).
[0202] S405. Underwater device 200 activates the receiver in communication mode 1.
[0203] The underwater device 200 can receive and respond to the communication method notification 1 and perform step S405. Optionally, it can also perform the following step S406.
[0204] After receiving communication via communication mode 1, the underwater device 200 can keep the receiver of communication mode 1 in the on state.
[0205] S406. Underwater equipment 200 disables receivers for other communication methods.
[0206] In some embodiments, after ensuring that the receiver of communication method 1 remains on, the underwater device 200 can also turn off the receivers of other communication methods, thereby saving power consumption of the underwater device 200.
[0207] In other embodiments, after ensuring that the receiver of communication method 1 remains on, the underwater device 200 may also keep the receivers of one or more other communication methods besides communication method 1 on. When communication method 1 cannot communicate normally, the wearable device 100 may also use other communication methods to communicate underwater with the underwater device 200.
[0208] Understandable, Figure 4 The illustrated embodiments are merely illustrative examples illustrating that the wearable device 100 can determine communication mode 1 based on communication modes supported by both the wearable device 100 and the underwater device 200. In this embodiment, after the wearable device 100 is paired with the underwater device 200, the underwater device 200 can obtain the communication modes supported by the wearable device 100 and determine communication mode 1 from the communication modes supported by both the wearable device 100 and the underwater device 200. This application does not impose any limitations on this.
[0209] Using the underwater control method provided in this application, the communication method used by the two electronic devices underwater can be determined from the communication methods supported by both the wearable device 100 and the underwater device 200, so that the wearable device 100 can control the underwater device 200 to perform user-specified operations based on the communication method.
[0210] Figure 5 This illustration shows a flowchart of a wearable device 100 determining to complete underwater communication with an underwater device 200 using communication method 1, according to an embodiment of this application.
[0211] like Figure 5 As shown, the specific process by which a wearable device 100 determines and completes underwater communication with an underwater device 200 using communication method 1 may include the following steps:
[0212] S501. Wearable device 100 and underwater device 200 have been detected to have completed pairing.
[0213] S502. The underwater device 200 sends a communication method supported by the underwater device 200 to the wearable device 100.
[0214] The details of steps S501 and S502 can be found above. Figure 4 The relevant descriptions of steps S401 and S402 shown are not repeated here.
[0215] S503. After the wearable device 100 enters the water, the wearable device 100 acquires environmental factors, which include any one or more of the following: the distance between the wearable device 100 and the underwater device 200, the orientation of the underwater device 200 relative to the wearable device 100, whether there are any obstructions between the wearable device 100 and the underwater device 200, the ambient light intensity, and the water temperature.
[0216] It should be noted that steps S503 to S507 can be performed once or multiple times. In some embodiments, the wearable device 100 may perform steps S503 to S507 in response to detecting that the wearable device 100 has entered the water; it may also respond to user operation of the underwater device 200 (e.g., ...). Figure 2 In the illustrated embodiment, operation 1) involves executing steps S503 to S507. In other embodiments, the wearable device 100 may also periodically execute steps S503 to S507 at fixed time intervals (e.g., 5 minutes, 10 minutes, or 30 minutes, etc.), which is not limited herein.
[0217] In the scenario where the wearable device 100 and the underwater device 200 use communication method 1 underwater, environmental factors refer to the environmental factors between the wearable device 100 and the underwater device 200. These environmental factors may include, but are not limited to, any one or more of the following: the distance between the wearable device 100 and the underwater device 200, the orientation of the underwater device 200 relative to the wearable device 100, whether there are obstructions between them, ambient light intensity, water temperature, etc.
[0218] The following example illustrates how wearable device 100 acquires environmental factors between wearable device 100 and underwater device 200.
[0219] In some embodiments, the wearable device 100 may include a transmitter and a receiver for acoustic signals. In this case, the wearable device 100 can measure the distance to the underwater device 200 using sonar. For example, the wearable device 100 may send an acoustic signal 1 carrying a device identifier 1 of the wearable device 100 to the underwater device 200 and record the transmission time of the acoustic signal 1. Then, the wearable device 100 may receive an acoustic signal 2 carrying a device identifier 2 of the underwater device 200 sent by the underwater device 200 and record the reception time of the acoustic signal 2. The wearable device 100 can determine the distance between the wearable device 100 and the underwater device 200 based on the transmission time of the acoustic signal 1 and the reception time of the acoustic signal 2, combined with the speed of sound transmission in water. It is understood that this is merely an illustrative example illustrating that the distance between the wearable device 100 and the underwater device 200 can be measured using sonar. In this embodiment, the wearable device 100 may also measure the distance between the wearable device 100 and the underwater device 200 by emitting more or different acoustic signals than those in the above embodiment (e.g., acoustic signals carrying the emission time), or by using other methods to measure the distance between the wearable device 100 and the underwater device 200. This application does not limit this.
[0220] In some embodiments, the wearable device 100 may include a transmitter of acoustic signals and multiple receivers, and the multiple receivers may be positioned at different locations. In this case, the wearable device 100 can determine the orientation of the underwater device 200 relative to the wearable device 100 by measuring the intensity of the same acoustic signal transmitted by the underwater device 200 received by different receivers. It is understood that this is merely an illustrative description of measuring the orientation of the underwater device 200 relative to the wearable device 100 using sonar. In the embodiments of this application, the wearable device 100 may also measure the orientation of the underwater device 200 relative to the wearable device 100 in a manner different from the above embodiments, and this application does not limit this.
[0221] In some embodiments, after determining the orientation and distance of the underwater device 200 relative to the wearable device 100, the wearable device 100 can send an optical signal (e.g., an infrared signal) to the orientation of the underwater device 200 based on optical communication, and determine whether there is an obstacle between the wearable device 100 and the underwater device 200 based on whether the optical signal sent by the underwater device 200 can be received within a specified time. If the optical signal sent by the underwater device 200 cannot be received within the specified time, it is determined that there is an obstacle; if the optical signal sent by the underwater device 200 can be received within the specified time, it is determined that there is no obstacle. It is understood that the embodiments described here are only examples. In the embodiments of this application, the wearable device 100 may also use different methods than those described in the above embodiments to determine whether there is an obstacle between the wearable device 100 and the underwater device 200. This application does not limit this.
[0222] In some embodiments, the wearable device 100 may include a temperature sensor. When the wearable device 100 is immersed in water, the temperature sensor can measure the water temperature.
[0223] In some embodiments, the wearable device 100 may include an ambient light sensor. When the wearable device 100 is submerged in water, the ambient light sensor can measure the light intensity of the environment in which the wearable device 100 is located.
[0224] It is understood that the embodiments described herein are merely examples, and the environmental factors in the embodiments of this application may include more, less, or different content than those in the above embodiments. Furthermore, in some embodiments, the underwater device 200 may also acquire environmental factors in a similar manner. Moreover, the wearable device 100 or the underwater device 200 may acquire environmental factors in a manner different from those in the above embodiments, and this application does not impose any limitations on these methods.
[0225] S504. The wearable device 100 determines a communication method 1 from among the communication methods supported by both the underwater device 200 and the wearable device 100 based on environmental factors and / or user operation 1.
[0226] In one possible implementation, the wearable device 100 can determine communication mode 1 from communication modes supported by both the underwater device 200 and the wearable device 100 based on environmental factors. For example, the specific process by which the wearable device 100 determines communication mode 1 based on environmental factors can be referred to the following... Figure 6 The relevant descriptions in the illustrated embodiments.
[0227] In another possible implementation, the wearable device 100 can determine communication mode 1 from communication modes supported by both the underwater device 200 and the wearable device 100 based on the user's operation 1. For example, the specific process by which the wearable device 100 determines communication mode 1 based on the user's operation 1 can be referred to the following... Figure 7 The relevant descriptions in the illustrated embodiments.
[0228] In another possible implementation, the wearable device 100 may also determine the communication method 1 from the communication methods supported by both the underwater device 200 and the wearable device 100 based on environmental factors and user operation 1.
[0229] S505. Wearable device 100 sends a communication method notification to underwater device 200, including communication method 1.
[0230] S506. The underwater device 200 activates the receiver in communication mode 1.
[0231] S507. Underwater equipment 200 disables receivers for other communication methods.
[0232] For details of steps S505 to S507, please refer to the above. Figure 4 The relevant descriptions of steps S404 to S406 shown are not repeated here.
[0233] Understandable, Figure 5 The embodiments shown are merely illustrative. The communication method used by the wearable device 100 and the underwater device 200 underwater can be determined based on environmental factors and / or user operations. In other embodiments, the underwater device 200 can also acquire environmental factors and determine the communication method 1 based on the acquired environmental factors. This application does not limit this.
[0234] Using the underwater control method provided in this application, the communication method used by the two electronic devices underwater can be determined from among the communication methods supported by both the wearable device 100 and the underwater device 200, based on environmental factors and / or user operations. This allows the wearable device 100 to control the underwater device 200 to perform user-specified operations based on this communication method. In this way, the appropriate communication method can be selected based on the actual application scenario, taking into account the environment of the wearable device 100 and the underwater device 200 and / or the amount of data to be transmitted.
[0235] In other embodiments, when the underwater device 200 detects a fault in the receiver or transmitter of any communication method, it can report the fault to the wearable device 100 so that the wearable device 100 can promptly determine whether to update the communication method used by the wearable device 100 and the underwater device 200 underwater based on the fault situation.
[0236] The following describes a specific process for determining the communication method between wearable device 100 and underwater device 200 based on environmental factors, according to an embodiment of this application.
[0237] Figure 6 This illustration shows a flowchart of an embodiment of the present application, which shows how to determine the communication method between a wearable device 100 and an underwater device 200 based on the distance between them.
[0238] like Figure 6 As shown, the process of determining the communication method between the wearable device 100 and the underwater device 200 based on the distance between them may include the following steps:
[0239] S601. Wearable device 100 determines whether the distance between it and underwater device 200 is less than a distance threshold 1.
[0240] The distance threshold 1 can be a preset distance value, such as 10 meters, 7 meters, etc.
[0241] If the wearable device 100 determines that the distance between itself and the underwater device 200 is less than the distance threshold 1, the wearable device 100 may perform the following step S602.
[0242] If the wearable device 100 determines that the distance between itself and the underwater device 200 is greater than or equal to the distance threshold 1, the wearable device 100 may perform the following step S603.
[0243] S602. Wearable device 100 determines to use Bluetooth to communicate underwater with underwater device 200.
[0244] If the wearable device 100 determines that the distance between itself and the underwater device 200 is less than the distance threshold 1, it can be determined that the communication method 1 is Bluetooth communication.
[0245] S603. The wearable device 100 determines whether the distance between itself and the underwater device 200 is less than a distance threshold 2, and the distance threshold 2 is greater than a distance threshold 1.
[0246] The distance threshold 2 can be a preset distance value, such as 100 meters, 50 meters, 30 meters, etc.
[0247] If the wearable device 100 determines that the distance between itself and the underwater device 200 is greater than the distance threshold 1 and less than the distance threshold 2, the wearable device 100 may execute the following step S604.
[0248] If the wearable device 100 determines that the distance between itself and the underwater device 200 is greater than or equal to the distance threshold 2, the wearable device 100 may perform the following step S605.
[0249] S604. Wearable device 100 determines to use sonar to communicate underwater with underwater equipment 200.
[0250] If the wearable device 100 determines that the distance between itself and the underwater device 200 is greater than distance threshold 1 and less than distance threshold 2, it can be determined that communication mode 1 is sonar communication.
[0251] S605. The wearable device 100 determines whether the distance between itself and the underwater device 200 is less than a distance threshold 3, and the distance threshold 3 is greater than a distance threshold 2.
[0252] The distance threshold 3 can be a preset distance value, such as 300 meters, 200 meters, etc.
[0253] If the wearable device 100 determines that the distance between itself and the underwater device 200 is greater than the distance threshold 2 and less than the distance threshold 3, the wearable device 100 may execute the following step S607.
[0254] If the wearable device 100 determines that the distance between itself and the underwater device 200 is greater than or equal to the distance threshold 3, the wearable device 100 may perform the following step S606.
[0255] S606. Wearable device 100 is determined to use high-power low-frequency electromagnetic waves to communicate underwater with underwater device 200.
[0256] If the wearable device 100 determines that the distance between itself and the underwater device 200 is greater than the distance threshold 3, it can be determined that the communication method 1 is high-power low-frequency electromagnetic wave communication.
[0257] S607. Wearable device 100 is determined to use optical communication to communicate underwater with underwater equipment 200.
[0258] If the wearable device 100 determines that the distance between itself and the underwater device 200 is greater than the distance threshold 2 and less than the distance threshold 3, it can be determined that the communication method 1 is optical communication.
[0259] Understandable, Figure 6 The embodiments shown are merely illustrative. Communication method 1 can be determined based on the distance between the wearable device 100 and the underwater device 200. In other embodiments, the wearable device 100 may be set with more, fewer, or different distance thresholds than those in the above embodiments, and may also include more, fewer, or different communication methods than those in the above embodiments. This application does not limit this.
[0260] Furthermore, in other embodiments, the wearable device 100 may also determine the communication mode 1 based on other environmental factors. For example, if no obstacles are detected between the wearable device 100 and the underwater device 200, the communication mode 1 may be determined to be optical communication, etc. This application may also use different methods than those described in the above embodiments to determine the communication mode 1 based on other environmental factors, and this application does not limit this.
[0261] The underwater control method provided in this application can determine the communication method used by wearable devices and underwater equipment underwater based on environmental factors, making it easier to select the appropriate communication method in different application scenarios.
[0262] It should be noted that, Figure 6 The embodiments shown are merely illustrative examples illustrating that one of the following communication methods—Bluetooth communication, sonar communication, optical communication, high-power low-frequency electromagnetic wave communication, etc.—can be selected as the communication method between the wearable device 100 and the underwater device 200 underwater, based on the distance between them. In this application embodiment, the specific steps for determining the communication method based on distance, and the distance thresholds corresponding to different communication methods, can all be different from those in the above embodiments, and this application does not limit them here.
[0263] The following describes a specific process for determining the communication method between wearable device 100 and underwater device 200 based on user operation 1, as provided in an embodiment of this application.
[0264] Figure 7 This illustration shows a flowchart of an embodiment of the present application that shows how a communication method between a wearable device 100 and an underwater device 200 is determined based on a user's operation 1.
[0265] like Figure 7 As shown, the process of determining the communication method between wearable device 100 and underwater device 200 based on user operation 1 may include the following steps:
[0266] S701. Wearable device 100 generates instruction 1 in response to operation 1.
[0267] For example, operation 1 can be used to control the underwater device 200 to move in a specified direction, or to control the underwater device 200 to take pictures / record videos, or to trigger the wearable device 100 to send data to the underwater device 200, or to instruct the underwater device 200 to send data to the wearable device 100, etc.
[0268] S702. Wearable device 100 determines whether the data volume of instruction 1 is greater than the preset data volume threshold.
[0269] If the data volume of instruction 1 is greater than the preset data volume threshold, the wearable device 100 can execute the following step S703.
[0270] If the amount of data in instruction 1 is less than or equal to a preset data amount threshold, the wearable device 100 can execute the following step S704.
[0271] S703. Wearable device 100 determines that it uses Bluetooth / high-power low-frequency electromagnetic waves to communicate underwater with underwater device 200.
[0272] In some embodiments, if the data volume of instruction 1 is greater than a preset data volume threshold, the wearable device 100 can determine that communication mode 1 is Bluetooth communication.
[0273] In other embodiments, if the amount of data in instruction 1 is greater than a preset data amount threshold, the wearable device 100 can determine that communication mode 1 is high-power low-frequency electromagnetic wave communication.
[0274] In other embodiments, the wearable device 100 can obtain the distance between the wearable device 100 and the underwater device 200. If the data volume of instruction 1 is greater than a preset data volume threshold, the communication mode 1 can be determined to be either Bluetooth communication or high-power low-frequency electromagnetic wave communication based on the relationship between the distance and the distance threshold. For example, when the distance between the wearable device 100 and the underwater device 200 is less than the distance threshold 4, the communication mode 1 is determined to be Bluetooth communication; when the distance between the wearable device 100 and the underwater device 200 is greater than or equal to the distance threshold 4, the communication mode 1 is determined to be high-power electromagnetic wave communication, and so on. It is understood that the embodiments here are merely illustrative, and the communication mode 1 can be determined based on environmental factors and user operation 1. In the embodiments of this application, the wearable device 100 may also determine the communication mode 1 in a different way than the above embodiments, and this application does not limit it here.
[0275] S704. Wearable device 100 determines to use sonar to communicate underwater with underwater equipment 200.
[0276] If the data volume of instruction 1 is less than or equal to the preset data volume threshold, then communication mode 1 can be determined to be sonar communication.
[0277] Understandable, Figure 7 The embodiments shown are merely examples. In the embodiments of this application, communication method 1 can also be determined based on user operations (such as user selection of communication method, etc.) or based on environmental factors and user operations. This application does not limit this.
[0278] The underwater control method provided in this application can determine the communication method used by the wearable device and the underwater equipment underwater based on the user's operation, making it easier to determine the appropriate communication method according to the user's operation.
[0279] It should be noted that, Figure 7 The embodiments shown are merely illustrative examples illustrating that one of the communication methods, such as Bluetooth communication, sonar communication, optical communication, and high-power low-frequency electromagnetic wave communication, can be selected as the communication method between the wearable device 100 and the underwater device 200 underwater, based on the data volume of the instruction to be sent. In the embodiments of this application, the specific steps for determining the communication method based on the data volume and the data volume threshold corresponding to different communication methods can be different from those in the above embodiments, and this application does not limit them here.
[0280] In some application scenarios, wearable device 100 can be paired with multiple underwater devices (such as underwater device 200 and underwater device 300). When wearable device 100 is paired with multiple underwater devices, it can receive and respond to user operations, outputting prompt 1 to inquire about the target being controlled. After receiving the user's selection of a target (such as underwater device 200 or underwater device 300), wearable device 100 can send a command to the selected target, instructing it to perform a specified operation. In this way, wearable device 100 can control multiple underwater devices for underwater operations, facilitating collaboration between multiple devices without requiring re-pairing when switching targets.
[0281] For example, Figure 8 This illustration shows a schematic diagram of a wearable device 100 controlling multiple underwater devices according to an embodiment of this application.
[0282] like Figure 8 As shown, the process of a wearable device 100 controlling multiple underwater devices may include the following steps:
[0283] S801. Wearable device 100 is paired with underwater device 200.
[0284] S802. Wearable device 100 is paired with underwater device 300.
[0285] The pairing process between wearable device 100 and underwater device 200, and between wearable device 100 and underwater device 300, can be referred to the above. Figure 3 The relevant descriptions in the illustrated embodiments will not be repeated here.
[0286] Wearable device 100 can pair with underwater device 200 (or underwater device 300) on the water, or it can pair with underwater device 200 (or underwater device 300) underwater.
[0287] S803. Wearable device 100 displays control interface 2 based on device type 2 of underwater device 200 and device type 3 of underwater device 300.
[0288] Step S803 is an optional step.
[0289] Wearable device 100 can obtain device type 2 of underwater device 200 during pairing with underwater device 200. Similarly, wearable device 100 can obtain device type 3 of underwater device 300 during pairing with underwater device 300.
[0290] When the wearable device 100 is paired with both the underwater device 200 and the underwater device 300, the wearable device 100 can display a control interface 2 based on the device type 2 of the underwater device 200 and the device type 3 of the underwater device 300. The control interface 2 can be used to control both the underwater device 200 and the underwater device 300.
[0291] In some embodiments, the control interface 2 may include one or more controls, each of which can be used to control the underwater device 200 and / or the underwater device 300 to perform a specified operation. For example, the control interface 2 may include a left-moving control, which can be used to control the underwater device 200 and / or the underwater device 300 to move to the left, etc.
[0292] S804. Wearable device 100 receives and responds to user operation 3, outputs prompt 1, prompt 1 is used to prompt the user to select the control object.
[0293] User operation 3 can be user operation on control interface 2, user gesture operation, user operation on buttons, etc.
[0294] In some embodiments, when the wearable device 100 is paired with multiple underwater devices, the user's operation 3 may be used to control any of the paired underwater devices. In this case, the wearable device 100 may output prompt 1, which prompts the user to select the control object of operation 3.
[0295] The wearable device 100 can output prompts 1 using one or more methods such as display screen, audio broadcast, vibration, and indicator light flashing.
[0296] For example, prompt 1 could be as follows: Figure 12F The control object selection prompt 1233 in the illustrated embodiment.
[0297] S805. Wearable device 100 receives and responds to user operation 4, and determines that the user's current control object is underwater device 300.
[0298] User action 4 is used to trigger wearable device 100 to select the object to be manipulated in action 3, such as underwater device 300. Action 4 is also used to trigger wearable device 100 to control the object to perform action 5.
[0299] For example, operation 4 can be as follows: Figure 12F In the illustrated embodiment, the user clicks on option 1231 of camera A.
[0300] S806. The wearable device 100 sends instruction 2 to the underwater device 300, which instructs the underwater device 300 to perform operation 5.
[0301] When the target of manipulation is determined to be underwater device 300, in some embodiments, wearable device 100 can determine the communication method 2 used underwater by both wearable device 100 and underwater device 300 from among the communication methods supported by both wearable device 100 and underwater device 300. The specific method for determining communication method 2 can be compared with the above. Figures 4-7 The method for determining communication mode 1 in the illustrated embodiment will not be described again here.
[0302] After determining the communication method 2, the wearable device 100 can send instruction 2 to the underwater device 300 based on the communication method 2.
[0303] S807. Underwater device 300 responds to instruction 2 and executes operation 5.
[0304] S808. The underwater device 300 sends a response 2 to the wearable device 100, the response 2 being used to indicate the execution status of operation 5.
[0305] In some embodiments, after receiving instruction 2, the underwater device 200 may also send response 2 to the wearable device 100. Response 2 is used to indicate the execution status of operation 5. A detailed description of the execution status of operation 5 can be found above. Figure 2 The execution of operation 2 is shown in the embodiment.
[0306] In some embodiments, the underwater device 300 may send a response 2 to the wearable device 100 based on communication method 2. In other embodiments, the underwater device 300 may also determine a communication method from among the communication methods supported by both the wearable device 100 and the underwater device 300 before sending the response 2, based on the data volume of the response 2 and / or environmental factors between the underwater device 300 and the wearable device 100, and send the response 2 using the newly determined communication method.
[0307] Understandable, Figure 8 The embodiments shown are merely illustrative. Wearable device 100 can be paired with multiple underwater devices and control the multiple underwater devices to perform user-specified operations underwater. In the embodiments of this application, wearable device 100 can also be paired with more or different underwater devices than the above embodiments, and can also use different methods to control multiple underwater devices underwater. This application does not limit these possibilities.
[0308] In some application scenarios, wearable device 100 can pair with multiple underwater devices (such as underwater device 200 and underwater device 300). When wearable device 100 is paired with multiple underwater devices, it can display the control interface corresponding to the selected device based on a preset priority or the user's operation. Then, wearable device 100 can receive and respond to the user's operation on the selected device, sending instructions to it to perform specified actions. Furthermore, wearable device 100 can switch devices based on user actions and control the switched device to perform specified operations. Wearable device 100 can control multiple underwater devices for underwater operations, facilitating collaboration between multiple devices without requiring re-pairing when switching devices.
[0309] For example, Figure 9 This illustration shows a schematic diagram of a wearable device 100 controlling multiple underwater devices according to an embodiment of this application.
[0310] like Figure 9 As shown, the process of a wearable device 100 controlling multiple underwater devices may include the following steps:
[0311] S901. Wearable device 100 is paired with underwater device 200.
[0312] S902. Wearable device 100 is paired with underwater device 300.
[0313] The pairing process between wearable device 100 and underwater device 200, and between wearable device 100 and underwater device 300, can be referred to the above. Figure 3 The relevant descriptions in the illustrated embodiments will not be repeated here.
[0314] Wearable device 100 can pair with underwater device 200 (or underwater device 300) on the water, or it can pair with underwater device 200 (or underwater device 300) underwater.
[0315] S903. The wearable device 100 determines the underwater device 200 as the object to be controlled based on the priority of the operation / underwater device selected by the user.
[0316] In some embodiments, the wearable device 100 may pre-store the priorities of different underwater devices. The priorities of the underwater devices may be determined based on the device type, preset by the user, or determined based on the number of historical pairings (e.g., the more pairings, the higher the priority). This application does not limit this.
[0317] With different underwater devices having their priorities pre-stored, the wearable device 100 can determine the underwater device with the higher priority (e.g., underwater device 200) as the current control target of the wearable device 100 based on the priority of the underwater device.
[0318] In other embodiments, when the wearable device 100 is paired with multiple underwater devices at the same time, the wearable device 100 can receive an operation from the user to select a control object (e.g., underwater device 200) and determine that the underwater device 200 is the current control object of the wearable device 100.
[0319] S904. Wearable device 100, device type 2 based on underwater device 200, display control interface 1.
[0320] Step S904 is an optional step.
[0321] The details of step S904 can also be found above. Figure 2 The relevant description of step S205 shown will not be repeated here.
[0322] S905. Wearable device 100 receives and responds to user operation 6 by sending instruction 3 to underwater device 200, instruction 3 being used to instruct underwater device 200 to perform operation 7.
[0323] S906. Underwater device 200 responds to instruction 3 and executes operation 7.
[0324] S907. The underwater device 200 sends a response 3 to the wearable device 100, the response 3 indicating the execution status of operation 7.
[0325] The specific details of steps S905 to S907 can be compared with those described above. Figure 8 The relevant descriptions of steps S806 to S808 shown are not repeated here.
[0326] S908. Wearable device 100 receives and responds to the user's operation to switch the controlled object, and determines to switch the controlled object to underwater device 300.
[0327] When the wearable device 100 is paired with multiple underwater devices, the wearable device 100 can also receive and respond to the user's operation to switch the control object, and switch the current control object of the wearable device 100, for example, switching the control object from underwater device 200 to underwater device 300.
[0328] S909. Wearable device 100, device type 3 based on underwater device 300, display control interface 3.
[0329] Step S909 is an optional step.
[0330] The specific details of step S909 can also be compared with those described above. Figure 2 The relevant description of step S205 shown will not be repeated here.
[0331] S910. Wearable device 100 receives and responds to user operation 8 and sends instruction 4 to underwater device 300, instruction 4 being used to instruct underwater device 300 to perform operation 9.
[0332] S911. Underwater device 300 responds to instruction 4 and executes operation 9.
[0333] S912. The underwater device 300 sends a response 4 to the wearable device 100, the response 4 indicating the execution status of operation 9.
[0334] The specific details of steps S910 to S912 can be compared with those described above. Figure 8 The relevant descriptions of steps S806 to S808 shown are not repeated here.
[0335] Understandable, Figure 9 The embodiments shown are merely illustrative. Wearable device 100 can be paired with multiple underwater devices and control the multiple underwater devices to perform user-specified operations underwater. In the embodiments of this application, wearable device 100 can also be paired with more or different underwater devices than the above embodiments, and can also use different methods to control multiple underwater devices underwater. This application does not limit these possibilities.
[0336] In some application scenarios, underwater device 300 (or other underwater devices) can be paired with multiple wearable devices (such as wearable device 100 and wearable device 400). When underwater device 300 is paired with multiple wearable devices, any one or more electronic devices among underwater device 300, wearable device 100, and wearable device 400 can determine the master control device of underwater device 300 from among the multiple wearable devices. The master control device can control underwater device 300 based on user operations. Optionally, if the master control device does not operate underwater device 300 for an extended period (e.g., 10 minutes or 30 minutes), a new master control device can be re-determined from other wearable devices. In this way, underwater device 300 can be controlled by multiple wearable devices, suitable for scenarios involving multiple underwater operators.
[0337] For example, Figure 10 This illustration shows a schematic diagram of a wearable device 100 controlling multiple underwater devices according to an embodiment of this application.
[0338] like Figure 10 As shown, the specific process by which the underwater device 300 is controlled by multiple wearable devices 100 may include the following steps:
[0339] S1001. Wearable device 100 is paired with underwater device 300.
[0340] S1002. Wearable device 400 is paired with underwater device 300.
[0341] The specific pairing procedures for underwater device 300 and wearable device 100, and for underwater device 300 and wearable device 400, can be compared and referred to the above. Figure 3 The relevant descriptions in the illustrated embodiments will not be repeated here.
[0342] The underwater device 300 can pair with the wearable device 100 (or wearable device 400) on the water or underwater.
[0343] S1003. The underwater device 300 sends a device capability acquisition request 1 to the wearable device 100. The device capability acquisition request 1 is used to request the acquisition of the device capability 1 of the wearable device 100.
[0344] In some embodiments, the underwater device 300 may send a device capability acquisition request to the paired wearable device when it detects that multiple wearable devices are paired at the same time, requesting to acquire the device capabilities of the wearable device.
[0345] It should be noted that steps S1003 and S1005 can be executed simultaneously, or steps S1003 can be executed first and then steps S1005, or steps S1005 can be executed first and then steps S1003. This application does not limit the specific execution order of steps S1003 and S1005.
[0346] S1004. The wearable device 100 transmits its device capability 1 to the underwater device 300.
[0347] Wearable device 100 can send device capability 1 of wearable device 100 to underwater device 300 in response to device capability acquisition request 1.
[0348] The device capability 1 of wearable device 100 is used to indicate the computing power of wearable device 100.
[0349] S1005. The underwater device 300 sends a device capability acquisition request 2 to the wearable device 400. The device capability acquisition request 2 is used to request the acquisition of the device capability 2 of the wearable device 400.
[0350] S1006. The ability of wearable device 400 to transmit data from wearable device 400 to underwater device 300 2.
[0351] Wearable device 400 can send device capability 2 of wearable device 400 to underwater device 300 in response to device capability acquisition request 2.
[0352] The device capability 2 of wearable device 400 is used to indicate the computing power of wearable device 400.
[0353] S1007. Underwater equipment 300 determines wearable device 100 as the main control device based on equipment capability 1 and equipment capability 2.
[0354] In some embodiments, underwater device 300 may determine, based on device capability 1 and device capability 2, to set a wearable device with stronger device capabilities (e.g., wearable device 100) as the master device.
[0355] After determining that the wearable device 100 is the master control device, the underwater device 300 can perform the following steps S1008 and S1009 to notify the paired wearable device of the determined master control device.
[0356] It should be noted that steps S1003 to S1007 are merely illustrative descriptions of one method for determining the master control device. In this embodiment, the master control device can also be determined from among multiple paired wearable devices based on factors other than device capabilities. For example, if each wearable device 100 is equipped with an identity identifier used to identify the user of that wearable device, the underwater device 300 can also obtain the identity identifier of each wearable device and determine, based on the preset priority of the identity identifiers, to set the wearable device corresponding to the higher-priority identity identifier as the master control device. This application does not limit this further.
[0357] S1008. The underwater device 300 sends notification 1 to the wearable device 100. Notification 1 is used to notify the wearable device 100 to be the master control device.
[0358] S1009. The underwater device 300 sends notification 2 to the wearable device 400. Notification 2 is used to notify the wearable device 400 that the wearable device 100 is the master control device.
[0359] It should be noted that steps S1008 and S1009 can be executed simultaneously, or steps S1008 can be executed first and then steps S1009, or steps S1009 can be executed first and then steps S1008.
[0360] S1010. Underwater equipment 300 detected that underwater equipment 300 had entered the water.
[0361] Step S1010 is an optional step.
[0362] In some embodiments, the underwater device 300 can monitor in real time the duration for which it has not received instructions from the main control device after detecting that the underwater device 300 has entered the water.
[0363] In other embodiments, the underwater device 300 can monitor in real time the duration for which it has not received instructions from the master control device after identifying the master control device.
[0364] S1011. The underwater device 300 detects that the duration of not receiving instructions from the master control device exceeds a preset duration threshold 1, and sets the wearable device 400 as the master control device.
[0365] If the underwater device 300 detects that it has not received instructions from the master device for a duration longer than a preset duration threshold 1 (e.g., 10 minutes or 30 minutes), the underwater device 300 can re-determine the master device, for example, by changing the master device to the wearable device 400.
[0366] After the master control device is changed, the underwater device 300 can perform the following steps S1012 and S1013 to notify the paired wearable device that the master control device has been changed.
[0367] S1012. The underwater device 300 sends notification 3 to the wearable device 400, and notification 3 is used to notify the wearable device 400 to be the master control device.
[0368] S1013. The underwater device 300 sends a notification 4 to the wearable device 100. The notification 4 is used to notify the wearable device 100 that the main control device has been switched to the wearable device 400.
[0369] It should be noted that steps S1012 and S1013 can be executed simultaneously, or steps S1012 can be executed first and then steps S1013, or steps S1013 can be executed first and then steps S1012.
[0370] Understandable, Figure 10 The illustrated embodiments are merely illustrative. A single underwater device can be paired with multiple wearable devices simultaneously, and a master control device can be identified among these multiple wearable devices. In this application embodiment, the master control device can also be determined by wearable device 100 or wearable device 400 based on the device capabilities (or identity identifiers, etc.) of the multiple wearable devices. Alternatively, wearable device 100 can also determine the master control device through negotiation between underwater device 300 and wearable device 400; this application does not impose limitations here. Furthermore, in other embodiments, a single underwater device can be paired with more or different wearable devices than in the above embodiments; this application also does not impose limitations here.
[0371] In some embodiments, when multiple wearable devices are paired with the same underwater device and a master control device is identified, in addition to the master control device controlling the underwater device to perform specified operations by sending commands underwater, other wearable devices can also send commands to the underwater device underwater. If the command does not conflict with the command of the master control device, the underwater device can also execute the operation specified by the command sent by the non-master control device. In this way, the underwater device can be controlled by multiple wearable devices simultaneously, facilitating collaborative underwater operations by multiple users.
[0372] The interface of the underwater control method provided in the embodiments of this application is described below in conjunction with specific application scenarios.
[0373] In some application scenarios, wearable device 100 can receive and respond to a user's operation of activating a pairing switch, displaying one or more pairable underwater devices. Wearable device 100 can pair with the underwater device selected by the user. After pairing is complete, wearable device 100 can display a control interface based on the device type of the paired underwater device. The control interface may include one or more controls for controlling the underwater device.
[0374] In this way, the wearable device 100 can display the corresponding control interface based on the device type of the paired underwater device, so that the user can control the underwater device to perform specified operations based on the control interface.
[0375] Figures 11A-11L This illustration shows a schematic diagram of the interface between a set of wearable devices 100 and underwater equipment provided in an embodiment of this application.
[0376] For example, such as Figure 11A As shown, the wearable device 100 may display an underwater communication interface 1100. This underwater communication interface 1100 may include one or more entries, such as a group entry, an underwater ranging entry, and a device pairing entry 1101. The device pairing entry 1101 can be used to trigger the wearable device 100 to display the device pairing interface and pair with nearby underwater devices.
[0377] Wearable device 100 can receive and respond to a user's click on device pairing entry 1101, displaying, for example... Figure 11B The device pairing interface shown is 1110.
[0378] like Figure 11B As shown, the device pairing interface 1110 may include a pairing switch 1111, and optionally, may also include one or more paired device options, such as camera A option 1112. Each paired device option may correspond to an underwater device that has previously been paired with the wearable device 100. Each paired device option can trigger the wearable device 100 to pair with the underwater device corresponding to that paired device option. The pairing switch 1111 may include an on state and an off state. Figure 11B The pairing switch 1111 shown is in the off state. When the pairing switch 1111 is in the off state, the wearable device 100 cannot pair with the underwater device; when the pairing switch 1111 is in the on state, the wearable device 100 can pair with the underwater device.
[0379] Wearable device 100 can receive and respond to user clicks on pairing switch 1111, such as Figure 11C As shown, the state of the pairing switch 1111 is switched from the closed state to the open state.
[0380] like Figure 11C As shown, when the pairing switch 1111 is in the on state, the wearable device 100 can receive and identify detection information sent by one or more nearby underwater devices, and display one or more optional device options in the device pairing interface 1110 based on the received detection information, such as underwater robot option B 1113, camera option C 1114, etc. Each optional device option can correspond to an underwater device near the wearable device 100 that has not been paired with the wearable device 100. Each optional device option can be used to trigger the wearable device 100 to pair with the underwater device corresponding to that optional device option.
[0381] In some embodiments, wearable device 100 can receive and respond to a user's tap on option 1112 of camera A. Since wearable device 100 has previously been paired with camera A, wearable device 100 can display, as shown below. Figure 11D The pairing success screen shown is 1120.
[0382] like Figure 11D As shown, the pairing success interface 1120 may include a pairing success prompt 1121, which is used to notify the user that the device has successfully paired with camera A. In some embodiments, the pairing success prompt 1121 may include text, such as "Camera A is connected". Optionally, the pairing success interface 1120 may also include a next step control 1122, which can be used to trigger the wearable device 100 to display the control interface of camera A.
[0383] In some embodiments, the wearable device 100 can receive and respond to a user's click on the next step control 1122, displaying, for example... Figure 11E The control interface 1130 is shown. In some other embodiments, the wearable device 100 may also display... Figure 11D The pairing success interface 1120 shown above, and when the display duration of the pairing success interface 1120 reaches the preset display duration (e.g., 5 seconds, or 3 seconds, etc.), displays as shown below. Figure 11E The control interface 1130 of camera A is shown.
[0384] like Figure 11EAs shown, the control interface 1130 of camera A may include one or more controls for controlling camera A, such as a time-lapse photography control 1131, a recording control 1132, a live video viewing control 1133, a forward movement control 1134, and a backward movement control 1135. Specifically, the time-lapse photography control 1131 can be used to trigger the wearable device 100 to control camera A to perform a time-lapse photography. The recording control 1132 can be used to trigger the wearable device 100 to control camera A to record video. The live video viewing control 1133 can be used to trigger the wearable device 100 to acquire the live video captured by camera A. The forward movement control 1134 can be used to trigger the wearable device 100 to control camera A to move forward. The backward movement control 1135 can be used to trigger the wearable device 100 to control camera A to move backward. Optionally, the control interface 1130 may also include a data synchronization switch 1136, which may include an on state and an off state. Figure 11E In the illustrated embodiment, the data synchronization switch 1136 is in the off state. When the data synchronization switch 1136 is in the on state, the wearable device 100 can send the collected physiological data and / or diving status data of the user to the camera A, such as the user's heart rate, blood oxygen saturation, water depth, diving duration, and remaining oxygen. Furthermore, the control interface 1130 can also display one or more device parameters, such as time 1137, water depth 1138, battery level, and signal strength. Time 1137 can be the system time of the wearable device 100 or the diving duration. Water depth 1138 can be used to indicate the water depth at the current location of the wearable device 100. For example, in… Figure 11E In the illustrated embodiment, the wearable device 100 is not submerged in water, and the water depth 1138 can be 0 meters (m). Battery level can be used to indicate the remaining battery power of the wearable device 100. Signal strength can be used to indicate the signal strength received by the wearable device 100 from a paired underwater device (e.g., camera A).
[0385] In other embodiments, such as Figure 11F As shown, wearable device 100 can receive and respond to the user's click operation on the underwater robot B option 1113 in the device pairing interface 1110. Since wearable device 100 has not been paired with underwater robot B before, wearable device 100 can display as follows: Figure 11G The device connection interface shown is 1140.
[0386] like Figure 11G As shown, the device connection interface 1140 may include a device connection prompt 1141, which can be used to notify the user that the wearable device 100 is establishing a connection with the underwater device 200. In some embodiments, the device connection prompt 1141 may include text, such as "Underwater robot B connecting...".
[0387] After the wearable device 100 and the underwater robot B are successfully connected (i.e., paired), the wearable device 100 can display the following: Figure 11H The pairing success screen shown is 1150.
[0388] like Figure 11H As shown, the pairing success interface 1150 may include a pairing success prompt 1151, which is used to notify the user that pairing with the underwater robot B has been successful. In some embodiments, the pairing success prompt 1151 may include text, such as "Underwater robot B connection complete". Optionally, the pairing success interface 1150 may also include a next step control 1152, which can be used to trigger the wearable device 100 to display the control interface of the underwater robot B.
[0389] In some embodiments, the wearable device 100 may receive and respond to a user's click on the next step control 1152, displaying, for example... Figure 11I The control interface 1160 is shown. In some other embodiments, the wearable device 100 may also display... Figure 11H When the pairing success interface 1150 shown reaches the preset display duration (e.g., 5 seconds, or 3 seconds), the following will be displayed: Figure 11I The control interface 1160 of the underwater robot B is shown.
[0390] like Figure 11I As shown, the control interface 1160 of the underwater robot B may include one or more controls for controlling the underwater robot B, such as a photo / data transmission control 1161, a left movement control 1162, a right movement control 1163, a forward movement control 1164, a backward movement control 1165, an upward movement control 1166, and a downward movement control 1167. The photo / data transmission control 1161 can be used to trigger the wearable device 100 to control the underwater robot B to take a photo, or to transmit the collected data to the wearable device 100. The left movement control 1162 can be used to trigger the wearable device 100 to control the underwater robot B to move to the left. Similarly, the functional descriptions of the right movement control 1163, forward movement control 1164, backward movement control 1165, upward movement control 1166, and downward movement control 1167 can be compared with the description of the left movement control 1162. In addition, the control interface 1160 can also display one or more device parameters, such as time, water depth, power, signal strength, etc. Detailed descriptions of each parameter can be found above. Figure 11E The relevant descriptions in the illustrated embodiments will not be repeated here.
[0391] In other embodiments, when the wearable device 100 displays a device pairing interface 1110, and the device pairing interface 1110 includes multiple pairable device options (e.g., paired device options, optional device options, etc.), the wearable device 100 can also receive and respond to the user's selection of multiple device options to pair with multiple underwater devices. In this way, the wearable device 100 can pair with multiple underwater devices simultaneously and control multiple underwater devices to perform user-specified operations.
[0392] For example, such as Figure 11J As shown, the wearable device 100 displays a device pairing interface 1110, and a detailed description of the device pairing interface 1110 can be found above. Figure 11C The relevant descriptions in the illustrated embodiments. Figure 11C The difference in the illustrated embodiment is that a selection mark 1112a can be displayed on camera option A 1112, which can be used to indicate that the camera A corresponding to camera option A 1112 has been paired with wearable device 100.
[0393] With camera option A 1112 already paired with wearable device 100, wearable device 100 can also receive and respond to the user's click operation on underwater robot option B 1113, and pair with underwater robot B. The interface during the pairing process can be referred to above. Figure 11G and Figure 11H The relevant descriptions in the illustrated embodiments will not be repeated here. After pairing with the underwater robot B, since the wearable device 100 is paired with multiple underwater devices at this time, the wearable device 100 can display as shown below. Figure 11K The device selection interface shown is 1170.
[0394] like Figure 11K As shown, the device selection interface 1170 may include a device selection prompt 1171, which prompts the user to select the underwater device currently controlled by the wearable device 100 from among multiple paired underwater devices. For example, the device selection prompt 1171 may include the text "Multiple paired devices have been detected. Click / button to select the device to control." The device selection interface 1170 may also include multiple device options, such as camera A option 1172 and underwater robot B option 1173. Each device option may include a selection identifier, which indicates whether the device option is selected. For example, camera A option 1172 includes selection identifier 1172a, and underwater robot B option 1173 includes selection identifier 1173a. Figure 11KIn the illustrated embodiment, the selection identifier 1172a is in a selected state, used to prompt the user that camera A is the underwater device selected by the user and controlled by the wearable device 100. The device selection interface 1170 may also include a confirmation control 1174, which can be used to trigger the wearable device 100 to set the underwater device (i.e., camera A) selected by the user as the underwater device (i.e., the control object) currently controlled by the wearable device 100.
[0395] Wearable device 100 can receive and respond to a user's click operation on control 1174, set camera A as the object to be controlled by wearable device 100, and display as shown in the image. Figure 11L The control interface 1130 of camera A is shown above. For details regarding the control interface 1130 of camera A, please refer to the above. Figure 11E The relevant descriptions in the illustrated embodiments will not be repeated here.
[0396] Understandable, Figures 11A-11L The embodiments shown are merely examples. In the embodiments of this application, the wearable device 100 may also be paired with more, fewer, or different underwater devices than those in the above embodiments, and display a control interface different from those in the above embodiments. This application does not limit the scope of the invention.
[0397] In some application scenarios, the wearable device 100 can display a control interface 1 for the underwater device 200 (e.g., camera A). The control interface 1 may include a control 1, which is used to trigger the wearable device 100 to control the underwater device 200 to perform an operation 2. The wearable device 100 can receive and respond to the user's operation on the control 1, and send a command 1 to the underwater device 200, which instructs the underwater device 200 to perform the operation 2. In this way, the wearable device 100 can control the underwater device 200 by sending commands to it.
[0398] Figures 12A-12D This illustration shows a schematic diagram of an interface provided in an embodiment of this application, in which a wearable device 100 controls an underwater device 200 to perform a specified operation.
[0399] For example, such as Figure 12A As shown, the wearable device 100 can display a control interface 1130 for camera A. The control interface 1130 may include controls for viewing live camera footage 1133 and a time 1137. In some embodiments, the time 1137 may be used to indicate the user's diving duration, such as "00:01:23". Other specific details of the control interface 1130 can be found above. Figure 11E The relevant descriptions in the illustrated embodiments.
[0400] Wearable device 100 can receive and respond to user clicks on the live camera control 1133, displaying, for example... Figure 12B The real-time camera interface shown is 1200.
[0401] like Figure 12B As shown, the real-time camera interface 1200 may include a camera viewing area 1201, which can be used to display the real-time video from camera A. The real-time camera interface 1200 may also include one or more motion controls, each used to trigger the wearable device 100 to control camera A to move in a direction indicated by the user. For example, the one or more motion controls may include a left-movement control 1202, a right-movement control 1203, etc. The real-time camera interface 1200 may also include one or more controls for controlling camera A, such as a time-lapse photography control 1204 and a video recording control 1205. Furthermore, the real-time camera interface 1200 may also include device parameters such as diving duration, water depth, and remaining battery power.
[0402] Wearable device 100 can receive and respond to a user's click operation on the left-moving control 1202, moving camera A to the left, such as... Figure 12C As shown, the image captured by camera A after moving to the left is displayed in the camera viewing area 1201.
[0403] Wearable device 100 can also receive and respond to user requests. Figure 12C The click operation of the recording control 1205 in the real-time camera interface 1200 shown controls camera A to start recording, and as shown... Figure 12D As shown, change the recording control 1205 to the stop control 1206.
[0404] Understandable, Figures 12A-12D The embodiments shown are merely examples. In the embodiments of this application, the underwater device 200 may also be an underwater device of a different type than the above embodiments, and the operation performed by the wearable device 100 controlling the underwater device 200 may also be a different operation than the above embodiments. This application does not limit this.
[0405] In other application scenarios, the wearable device 100 can display a control interface 3 for underwater devices 200 (e.g., camera A) and 300 (e.g., underwater robot B). The control interface 3 can include controls 2, which can be used to control both underwater devices 200 and 300. In this case, the wearable device 100 can receive and respond to the user's operation on the controls 2, query the user for the object of the operation, and send instructions to the selected object based on the user's selected operation, instructing the object to perform the operation corresponding to the controls 2.
[0406] This allows for the control of multiple underwater devices through a single interface, making operation more convenient and providing users with a better experience.
[0407] For example, such as Figure 12E As shown, the wearable device 100 can display a control interface 1210, which can control both camera A and underwater robot B. The control interface 1210 may include one or more movement controls, such as a left movement control 1211, a right movement control 1212, a forward movement control 1213, a backward movement control 1214, an upward movement control 1215, and a downward movement control 1216. Each movement control can be used to control camera A to perform a specified movement operation, or to control underwater robot B to perform a specified movement operation. The control interface 1210 may also include one or more other controls, such as a recording control, a data synchronization switch, and a live camera viewing control. Specific functional descriptions of the recording control, data synchronization switch, and live camera viewing control can be found above. Figure 11E The relevant descriptions in the illustrated embodiments.
[0408] Wearable device 100 can receive and respond to user clicks on left-moving control 1211, displaying as shown below. Figure 12F The device selection interface shown is 1220.
[0409] like Figure 12F As shown, the device selection interface 1220 is used to select the underwater device to perform the leftward movement operation. The device selection interface 1220 may include a device selection prompt 1221, which prompts the user to select the underwater device to be operated. For example, the device selection prompt 1221 may include the text "Multiple paired devices have been detected; please select the device to be operated." Furthermore, the device selection interface 1220 may also include multiple device options, such as camera option A 1222 and underwater robot option B 1223. Each device option can correspond to a currently paired underwater device with the wearable device 100. Each device option also triggers the wearable device 100 to determine that the underwater device corresponding to that device option is the device to be operated, i.e., the device to perform the leftward movement operation.
[0410] In some embodiments, the wearable device 100 may receive and respond to a user's click operation on option 1222 of camera A, and send a command to camera A instructing camera A to move to the left.
[0411] Understandable, Figures 12E-12FThe embodiments shown are merely examples. In the embodiments of this application, the wearable device 100 may also display a control interface based on underwater devices of more, fewer, or different types of devices than those in the above embodiments. This application does not limit this.
[0412] The functional modules of an underwater control system provided in the embodiments of this application are described below.
[0413] Figure 13 A schematic diagram of the functional modules of an underwater control system 10 provided in an embodiment of this application is shown.
[0414] like Figure 13 As shown, the underwater control system 10 may include a wearable device 100 and an underwater device 200. The wearable device 100 may include a communication module 1301, a touch display module 1302, and a general function module 1305. Optionally, the wearable device 100 may also include one or more of the following: a button control module 1303 and a gesture recognition module 1304. The underwater device 200 may include a communication module 1401, a general function module 1402, and a control module 1404. Optionally, the underwater device 200 may also include a camera module 1403 and a positioning module 1405.
[0415] In the wearable device 100, the communication module 1301 may include an underwater wireless communication module 1301a and other communication modules 1301b. The underwater wireless communication module 1301a provides underwater wireless communication functionality. The other communication modules 1301b provide non-underwater wireless communication functionality. The communication module 1301 can be paired with the underwater device 200 (or other underwater devices). The communication module 1301 can receive information M1 from any one of the touch display module 1302, the button control module 1303, and the gesture recognition module 1304, and send a command N1 to the underwater device 200. The command N1 instructs the underwater device 200 to perform a specified operation D1.
[0416] The touch display module 1302 can receive user operations and display an interface (such as a control interface) to facilitate interaction with the user. In some embodiments, the touch display module 1302 can receive and respond to the user's operation D1 in controlling the underwater device 200 to send information M1 to the communication module 1301.
[0417] The button control module 1303 can receive user operations on the buttons. In some embodiments, the button control module 1303 can receive and respond to the user's operation of controlling the underwater device 200 to perform operation D1, and send information M1 to the communication module 1301.
[0418] The gesture recognition module 1304 can store one or more gestures and can also recognize the gestures performed by the user. In some embodiments, the gesture recognition module 1304 can send information M1 to the communication module 1301 in response to detecting a gesture operation D1 performed by the user controlling the underwater device 200.
[0419] The general function module 1305 can provide general services such as clocking, power supply, and business processing. In some embodiments, the general function module 1305 can provide general services for any one or more modules in the wearable device 100.
[0420] In the underwater device 200, the communication module 1401 may include an underwater wireless communication module 1401a and other communication modules 1401b. The underwater wireless communication module 1401a provides underwater wireless communication functionality. The other communication modules 1401b provide non-underwater wireless communication functionality. The communication module 1401 can be paired with the wearable device 100 (or other wearable devices). The communication module 1401 can receive a command N1 sent by the wearable device 100, which instructs the underwater device 200 to perform a specified operation D1. After receiving the command N1, the communication module 1401 can send the command N1 to any one or more of the following modules based on operation D1: the imaging module 1403, the control module 1404, the positioning module 1405, and the general function module 1402.
[0421] The general function module 1402 can provide general services such as clocking, power supply, and business processing. In some embodiments, the general function module 1402 can provide general services to any one or more modules in the underwater device 200. In some embodiments, the general function module 1402 can receive instruction N1 sent by the communication module 1401 and execute the operation D1 indicated by instruction N1.
[0422] The shooting module 1403 can provide shooting functions, such as taking photos and recording videos. In some embodiments, if operation D1 is related to the shooting function, the shooting module 1403 can receive the instruction N1 sent by the communication module 1401 and execute the shooting-related operation in operation D1.
[0423] The control module 1404 can provide control functions, such as controlling the general function module 1402 to execute the operation specified in instruction N1, or controlling the general function module to provide general services to other modules.
[0424] The positioning module 1405 can provide positioning functionality. In some embodiments, if operation D1 is related to positioning functionality, the positioning module 1405 can receive instruction N1 sent by the communication module 1401 and execute the positioning-related operation in operation D1.
[0425] Understandable, Figure 13 The embodiments shown are merely examples. In the embodiments of this application, the underwater control system may also include more, fewer, or different functional modules than the above embodiments. Furthermore, any functional module may be divided into multiple functional modules, or any multiple functional modules may be merged into one functional module. This application does not impose any limitations on these aspects.
[0426] It should be noted that the functional modules of the various wearable devices and underwater equipment in underwater control systems 20 and 30 can also refer to the above description. Figure 13 The relevant module configurations in the illustrated embodiments will not be described in detail here.
[0427] For ease of subsequent description, the wearable device 100, wearable device 400, underwater device 200, and underwater device 300 mentioned above can be collectively referred to as a device. It should be understood that the division of the units within this device is only a logical functional division; in actual implementation, they can be fully or partially integrated into a single physical entity, or they can be physically separated. Furthermore, the units within the device can be implemented by a processor calling software; for example, the device includes a processor connected to a memory containing instructions. The processor calls the instructions stored in the memory to implement any of the above methods or to realize the functions of each unit within the device. The processor can be, for example, a general-purpose processor, such as a central processing unit (CPU) or a microprocessor, and the memory can be internal or external to the device. Alternatively, the units in the device can be implemented as hardware circuits. The functionality of some or all units can be achieved through the design of these hardware circuits, which can be understood as one or more processors. For example, in one implementation, the hardware circuit is an application-specific integrated circuit (ASIC). The functionality of some or all of the above units is achieved through the design of the logical relationships between the components within the circuit. In another implementation, the hardware circuit can be implemented using a programmable logic device (PLD). Taking a field-programmable gate array (FPGA) as an example, it can include a large number of logic gates. The connection relationships between the logic gates are configured through a configuration file, thereby achieving the functionality of some or all of the above units. All units of the above device can be implemented entirely through processor-invoked software, entirely through hardware circuits, or partially through processor-invoked software with the remaining parts implemented through hardware circuits.
[0428] In this application embodiment, a processor is a circuit with data processing capabilities. In one implementation, the processor can be a circuit with instruction reading and execution capabilities, such as a CPU, microprocessor, graphics processing unit (GPU) (which can be understood as a type of microprocessor), or digital signal processor (DSP). In another implementation, the processor can implement certain functions through the logical relationships of hardware circuits. These logical relationships of hardware circuits are fixed or reconfigurable. For example, the processor is a hardware circuit implemented as an ASIC or PLD, such as an FPGA. In a reconfigurable hardware circuit, the process of the processor loading a configuration document and configuring the hardware circuit can be understood as the process of the processor loading instructions to implement the functions of some or all of the above units. Furthermore, it can also be a hardware circuit designed for artificial intelligence, which can be understood as an ASIC, such as a Neural Network Processing Unit (NPU), Tensor Processing Unit (TPU), or Deep Learning Processing Unit (DPU).
[0429] As can be seen, each unit in the above device can be one or more processors (or processing circuits) configured to implement the above methods, such as: CPU, GPU, NPU, TPU, DPU, microprocessor, DSP, ASIC, FPGA, or a combination of at least two of these processor forms.
[0430] Furthermore, the units in the above devices can be integrated in whole or in part, or they can be implemented independently. In one implementation, these units are integrated together as a system-on-a-chip (SOC). The SOC may include at least one processor for implementing any of the above methods or implementing the functions of the units in the device. The at least one processor may be of different types, such as CPU and FPGA, CPU and artificial intelligence processor, CPU and GPU, etc.
[0431] The following describes a possible physical structure of the electronic device 500 provided in the embodiments of this application.
[0432] For example, Figure 14 A schematic diagram of the physical structure of an electronic device 500 provided in an embodiment of this application is shown.
[0433] like Figure 14As shown, the electronic device 500 may include: a processor 1501, a memory 1502, a transmitter 1503, and a receiver 1504. The processor 1501, memory 1502, transmitter 1503, and receiver 1504 may be interconnected or interconnected via a bus 1505.
[0434] For example, memory 1502 is used to store computer programs and data of electronic device 500. Memory 1502 may include, but is not limited to, random access memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM), or compact disc read-only memory (CD-ROM).
[0435] The software or program code required for all or part of the functions of the electronic device 500 in the above method embodiments is stored in the memory 1502.
[0436] In one possible implementation, if the software or program code required for some functions is stored in the memory 1502, then in addition to calling the program code in the memory 1502 to implement some functions, the processor 1501 can also cooperate with other components (such as the transmitter 1503 and the receiver 1504) to jointly complete other functions described in the method embodiment (such as the function of receiving or sending data).
[0437] Transmitter 1503 and receiver 1504 are used to support electronic device 500 in communication, such as receiving or sending data or signals.
[0438] For example, processor 1501 may be a CPU, GPU, NPU, TPU, DPU, microprocessor, DSP, ASIC, FPGA, or a combination of at least two of these processor types, as described above. Processor 1501 may be used to read programs stored in memory 1502 and execute operations performed by electronic device 500 in any of the above embodiments.
[0439] Figure 14 The specific operation and beneficial effects of each unit in the electronic device 500 shown can be found in the corresponding descriptions in the above method embodiments, and will not be repeated here. It should be noted that the electronic device 500 can be the wearable device 100 or wearable device 400 in the above embodiments, or the underwater device 200 or underwater device 300 in the above embodiments.
[0440] Understandable, Figure 14 The illustrated embodiment is merely an example. In the embodiments of this application, the electronic device 500 may also include components beyond those described above. Figure 14 The embodiments shown have more, fewer, or more Figure 14 The different devices shown in the embodiments are not limited herein.
[0441] Figure 15 A flowchart illustrating another underwater manipulation method provided in an embodiment of this application is shown.
[0442] like Figure 15 As shown, the specific process of another underwater manipulation method may include the following steps:
[0443] S1501. The first wearable device is paired with the first underwater device.
[0444] The first wearable device may be the wearable device 100 in the above embodiments, and the first underwater device may be the underwater device 200 in the above embodiments.
[0445] The first wearable device and the first underwater device can pair on the surface of the water or underwater. The specific pairing method between the first wearable device and the first underwater device can be found above. Figure 3 The relevant descriptions in the illustrated embodiments.
[0446] S1502. The first wearable device acquires one or more communication methods supported by the first underwater device.
[0447] S1503. The first wearable device determines one or more communication methods supported by both the first underwater device and the first wearable device based on one or more communication methods supported by the first underwater device and the first wearable device.
[0448] S1504. The first wearable device receives the user's first operation after the first wearable device is submerged in water.
[0449] The first step could be as described above. Figure 2 Operation 1 in the illustrated embodiment.
[0450] S1505. The first wearable device determines a first communication method from one or more communication methods supported by both the first underwater device and the first wearable device based on environmental factors; the environmental factors include any one or more of the following: the distance between the first wearable device and the first underwater device, the orientation of the first underwater device relative to the first wearable device, whether there are obstacles between the first wearable device and the first underwater device, ambient light intensity, and water temperature.
[0451] The first communication method can be communication method 1 in the above embodiments.
[0452] The specific method by which the first wearable device determines the first communication method based on environmental factors can be referred to the above. Figure 5 and Figure 6 The relevant descriptions in the illustrated embodiments.
[0453] S1506. In response to the first operation, the first wearable device sends a first instruction to the first underwater device based on a first communication method. The first instruction is used to instruct the first underwater device to perform a second operation.
[0454] The first instruction can be instruction 1 in the above embodiment. The second operation can be as described above. Figure 2 Operation 2 in the illustrated embodiment.
[0455] In this way, the communication method used underwater can be determined based on environmental factors, and underwater equipment can be controlled to perform specified operations based on the communication method. In addition, the determined communication methods are all wireless communication methods, which are highly secure and flexible.
[0456] In one possible implementation, the method further includes: determining a first distance between the first wearable device and the first underwater device by sonar measurement; determining a first communication method from one or more communication methods supported by both the first underwater device and the first wearable device based on environmental factors, specifically including: if the first distance is less than a first distance threshold, determining the first communication method as Bluetooth communication; if the first distance is greater than the first distance threshold, determining the first communication method as sonar communication.
[0457] In this way, Bluetooth communication can be used when the distance is short, and sonar communication can be used when the distance is long.
[0458] In one possible implementation, the method further includes: determining a first distance by measuring the distance between the first wearable device and the first underwater device using sonar; determining a first communication method from one or more communication methods supported by both the first underwater device and the first wearable device based on environmental factors, specifically including: if the first distance is less than a second distance threshold, determining the first communication method as Bluetooth communication; if the first distance is greater than the second distance threshold and less than a third distance threshold, determining the first communication method as sonar communication, where the second distance threshold is less than the third distance threshold; if the first distance is greater than the third distance threshold and less than a fourth distance threshold, determining the first communication method as optical communication, where the third distance threshold is less than the fourth distance threshold; and if the first distance is greater than the fourth distance threshold, determining the first communication method as high-power low-frequency electromagnetic wave communication.
[0459] For example, refer to the above. Figure 6 In the illustrated embodiment, the second distance threshold can be... Figure 6In the illustrated embodiment, the distance threshold 1, the third distance threshold can be distance threshold 2, the fourth distance threshold can be distance threshold 3, and so on.
[0460] In this way, the communication method can be determined based on the distance between the two devices. For example, the communication methods corresponding to the distance from small to large are: Bluetooth communication, sonar communication, optical communication, high-power electromagnetic wave communication, etc.
[0461] In one possible implementation, a first communication method is determined from one or more communication methods supported by both the first underwater device and the first wearable device based on environmental factors. Specifically, this includes: generating a first instruction in response to a first operation; and determining the first communication method from one or more communication methods supported by both the first underwater device and the first wearable device based on environmental factors and the amount of data in the first instruction.
[0462] In this way, the appropriate communication method can be determined based on environmental factors and the amount of data in the instructions to be sent.
[0463] In one possible implementation, obtaining environmental factors specifically includes: determining a first distance by measuring the distance between the first wearable device and the first underwater device using sonar; determining a first communication method from one or more communication methods supported by both the first underwater device and the first wearable device based on the environmental factors and the amount of data in the first command, specifically including: if the first distance is less than a fifth distance threshold, determining the first communication method as Bluetooth communication; if the first distance is greater than the fifth distance threshold and the amount of data in the first command is less than or equal to the first data amount, determining the first communication method as sonar communication; if the first distance is greater than the fifth distance threshold and the amount of data in the first command is greater than the first data amount, determining the first communication method as high-power low-frequency electromagnetic wave communication.
[0464] Thus, Bluetooth communication can be used when the distance is short; sonar communication can be used when the distance is long and the data volume is small; and high-power low-frequency electromagnetic wave communication can be used when the distance is long and the data volume is large.
[0465] In another possible implementation, the method further includes: generating a first instruction in response to a first operation; and determining a second communication method from one or more communication methods supported by both the first underwater device and the first wearable device based on the amount of data in the first instruction.
[0466] For example, refer to the above. Figure 7 The relevant descriptions in the illustrated embodiments.
[0467] In this way, the first communication method can also be determined based on the amount of data in the first instruction. For example, when the amount of data in the first instruction is less than or equal to the amount of data in the second instruction, the first communication method is determined to be sonar communication; when the amount of data in the first instruction is greater than or equal to the amount of data in the second instruction, Bluetooth communication can be used.
[0468] In one possible implementation, before sending the first instruction to the first underwater device based on the first communication method, the method further includes: after determining the first communication method, sending a first notification to the first underwater device, the first notification being used to notify the first underwater device to communicate with the first wearable device using the first communication method.
[0469] For example, the first notification could be as described above. Figure 4 or Figure 5 The communication method shown in the embodiment is used for notification.
[0470] In this way, after the first wearable device determines the first communication method, it can notify the first underwater device of the first communication method through the first notification, so that the first underwater device can keep the receiver of the corresponding communication method in the on state. Optionally, the receivers of other communication methods can also be turned off in order to reduce power consumption.
[0471] In one possible implementation, the method further includes: pairing with a second underwater device; acquiring one or more communication methods supported by the second underwater device; determining one or more communication methods supported by both the second underwater device and the first wearable device based on the one or more communication methods supported by the second underwater device and the one or more communication methods supported by the first wearable device; receiving a third operation from the user after the first wearable device enters the water; determining a second communication method from the one or more communication methods supported by both the second underwater device and the first wearable device; and in response to the third operation, sending a second instruction to the second underwater device based on the second communication method, the second instruction being used to instruct the second underwater device to perform a fourth operation.
[0472] For example, the second underwater device may be the underwater device 300 in the above embodiments. The third operation may be as described above. Figure 9 In operation 8 of the illustrated embodiment, the second instruction can be... Figure 9 In the illustrated embodiment, instruction 4, the fourth operation, can be... Figure 9 Operation 9 in the illustrated embodiment.
[0473] The specific process for controlling multiple underwater devices with a first wearable device can also be referenced above. Figures 8-9 The relevant descriptions in the illustrated embodiments.
[0474] In this way, the first wearable device can be paired with multiple underwater devices at the same time and control the multiple paired underwater devices underwater.
[0475] In one possible implementation, the method further includes: obtaining a second device type of the second underwater device; displaying a second control interface based on the second device type, the second control interface being used to control the second underwater device; and receiving a third operation from the user, specifically including: receiving the user's operation on the second control interface.
[0476] For example, the second control interface can be Figure 9 Control interface 3 in the illustrated embodiment.
[0477] In this way, when multiple underwater devices are paired, the corresponding control interface can be displayed based on the device type of the currently controlled object (i.e., the underwater device currently being controlled). That is, users can control different underwater devices through different control interfaces.
[0478] In one possible implementation, displaying a second control interface based on a second device type specifically includes: receiving and responding to a user's operation to switch the controlled object from a first underwater device to a second underwater device, and displaying a second control interface based on the second device type.
[0479] In this way, the displayed control interface can be switched based on the user's operation of switching the controlled object.
[0480] In one possible implementation, before receiving the user's first operation, the method further includes: obtaining a first device type of the first underwater device; displaying a first control interface based on the first device type, the first control interface being used to control the first underwater device; and receiving the user's first operation, specifically including: receiving the user's operation on the first control interface.
[0481] In this way, the first operation can be an operation performed by the user on the first control interface.
[0482] In one possible implementation, the first wearable device includes a first button; receiving a first operation from the user, specifically including: receiving the user's operation on the first button.
[0483] In this way, the first operation can be the user's action on the first button.
[0484] In one possible implementation, receiving the user's first action specifically includes detecting that the user performs a first gesture.
[0485] Thus, the first action could be for the user to perform a specific gesture.
[0486] In one possible implementation, after pairing with the first underwater device, the method further includes: receiving a second device capability of the second wearable device sent by the first underwater device; determining the first wearable device as the master control device based on the first and second device capabilities of the first wearable device; and sending a second notification to the second wearable device, the second notification being used to notify the second wearable device that the first wearable device is the master control device of the first underwater device.
[0487] For example, the second wearable device may be the wearable device 400 in the above embodiments.
[0488] When multiple wearable devices are paired with the same underwater device, the specific process for determining the master control device can be referred to the above. Figure 10 The relevant descriptions in the illustrated embodiments.
[0489] In this way, multiple wearable devices can be paired with the same underwater device at the same time, and the underwater device can determine the master control device of the underwater device based on its capabilities.
[0490] In one possible implementation, after pairing with the first underwater device, the method further includes: receiving a third notification sent by the first underwater device, the third notification being used to notify the first wearable device that it is the master control device of the first underwater device.
[0491] For example, the third notification may be as described above. Figure 10 Notification 1 in the illustrated embodiment.
[0492] In this way, after the master control device is identified, the underwater device can notify the paired wearable devices.
[0493] In one possible implementation, the method further includes: acquiring environmental factors in response to detecting that the first wearable device has entered the water.
[0494] This allows us to obtain environmental data after the water has been submerged.
[0495] In one possible implementation, determining a first communication method based on environmental factors from one or more communication methods supported by both the first underwater device and the first wearable device specifically includes: in response to a first operation, determining the first communication method based on environmental factors from one or more communication methods supported by both the first underwater device and the first wearable device; or, upon detecting that the first wearable device has entered the water, determining the first communication method based on environmental factors from one or more communication methods supported by both the first underwater device and the first wearable device.
[0496] In this way, the user's first operation can be used as the trigger condition for determining the first communication method, or the entry into water can be used as the trigger condition for the first communication method.
[0497] In one possible implementation, the method further includes: pairing with a second underwater device; and in response to a first operation, sending a first instruction to the first underwater device based on a first communication method, specifically including: in response to the first operation, displaying a first prompt, the first prompt being used to prompt the user to select the control object of the first operation; and receiving and in response to the user's operation of selecting the first underwater device, sending the first instruction to the first underwater device based on the first communication method.
[0498] For example, the specific process can be referred to above. Figure 8 The relevant descriptions in the illustrated embodiments.
[0499] In this way, when a wearable device is paired with multiple underwater devices, it can first receive the user's first operation and then prompt the user to select the control object of the first operation.
[0500] The following describes a chip system provided by an embodiment of this application.
[0501] This application also provides a chip system including at least one processor for implementing the functions involved in the wearable device 100 or wearable device 300 in any of the above embodiments.
[0502] In one possible design, the chip system also includes a memory for storing program instructions and data, which may be located within or outside the processor.
[0503] The chip system can consist of chips or include chips and other discrete components.
[0504] Optionally, the chip system may contain one or more processors. These processors can be implemented in hardware or software. When implemented in hardware, the processor can be a logic circuit, an integrated circuit, etc. When implemented in software, the processor can be a general-purpose processor, implemented by reading software code stored in memory.
[0505] Optionally, the chip system may contain one or more memories. The memory may be integrated with the processor or disposed separately from it; this application embodiment does not limit this. For example, the memory may be a non-transient processor, such as a read-only memory (ROM), which may be integrated with the processor on the same chip or disposed separately on different chips. This application embodiment does not specifically limit the type of memory or the arrangement of the memory and processor.
[0506] For example, the chip system may be a field programmable gate array (FPGA), an application specific integrated circuit (ASIC), a system on chip (SoC), a central processor unit (CPU), a network processor (NP), a digital signal processor (DSP), a micro controller unit (MCU), a programmable logic device (PLD), or other integrated chips.
[0507] It is understood that the above chip system is only an example. In the embodiments of this application, the chip system may also include more, fewer, or different devices than those in the above embodiments. This application does not limit the scope of the invention.
[0508] The various embodiments of this application can be combined arbitrarily to achieve different technical effects.
[0509] 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)).
[0510] 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.
[0511] In summary, the above description is merely an embodiment of the technical solution of this application and is not intended to limit the scope of protection of this application. Any modifications, equivalent substitutions, improvements, etc., made based on the disclosure of this application should be included within the scope of protection of this application.
Claims
1. An underwater control method, characterized in that, Applied to a first wearable device, the method includes: Pair with the first underwater device; Obtain one or more communication methods supported by the first underwater device; Based on one or more communication methods supported by the first underwater device and one or more communication methods supported by the first wearable device, one or more communication methods supported by both the first underwater device and the first wearable device are determined. After the first wearable device is submerged in water, it receives the user's first operation; The first communication method is determined based on environmental factors from one or more communication methods supported by both the first underwater device and the first wearable device; the environmental factors include any one or more of the following: the distance between the first wearable device and the first underwater device, the orientation of the first underwater device relative to the first wearable device, whether there are obstacles between the first wearable device and the first underwater device, ambient light intensity, and water temperature. In response to the first operation, a first instruction is sent to the first underwater device based on the first communication method. The first instruction is used to instruct the first underwater device to perform a second operation.
2. The method according to claim 1, characterized in that, The method further includes: The distance between the first wearable device and the first underwater device, measured by sonar, is the first distance; Based on the aforementioned environmental factors, a first communication method is determined from one or more communication methods supported by both the first underwater device and the first wearable device, specifically including: If the first distance is less than the first distance threshold, the first communication method is determined to be Bluetooth communication; If the first distance is greater than the first distance threshold, the first communication method is determined to be sonar communication.
3. The method according to claim 1, characterized in that, The method further includes: The distance between the first wearable device and the first underwater device, measured by sonar, is the first distance; Based on the aforementioned environmental factors, a first communication method is determined from one or more communication methods supported by both the first underwater device and the first wearable device, specifically including: If the first distance is less than the second distance threshold, the first communication method is determined to be Bluetooth communication; If the first distance is greater than the second distance threshold and less than the third distance threshold, the first communication method is determined to be sonar communication, and the second distance threshold is less than the third distance threshold; If the first distance is greater than the third distance threshold and less than the fourth distance threshold, the first communication method is determined to be optical communication, and the third distance threshold is less than the fourth distance threshold. If the first distance is greater than the fourth distance threshold, the first communication method is determined to be high-power low-frequency electromagnetic wave communication.
4. The method according to claim 1, characterized in that, The determination of the first communication method based on environmental factors from one or more communication methods supported by both the first underwater device and the first wearable device specifically includes: In response to the first operation, the first instruction is generated; Based on the environmental factors and the amount of data in the first instruction, a first communication method is determined from one or more communication methods supported by both the first underwater device and the first wearable device.
5. The method according to claim 4, characterized in that, The acquisition of environmental factors specifically includes: The distance between the first wearable device and the first underwater device, measured by sonar, is the first distance; The determination of the first communication method based on the environmental factors and the data volume of the first instruction from one or more communication methods supported by both the first underwater device and the first wearable device specifically includes: If the first distance is less than the fifth distance threshold, the first communication method is determined to be Bluetooth communication; If the first distance is greater than the fifth distance threshold, and the data volume of the first instruction is less than or equal to the first data volume, then the first communication method is determined to be sonar communication. If the first distance is greater than the fifth distance threshold, and the data volume of the first instruction is greater than the first data volume, then the first communication method is determined to be high-power low-frequency electromagnetic wave communication.
6. The method according to any one of claims 1-5, characterized in that, Before sending the first instruction to the first underwater device based on the first communication method, the method further includes: After determining the first communication method, a first notification is sent to the first underwater device. The first notification is used to notify the first underwater device to communicate with the first wearable device using the first communication method.
7. The method according to any one of claims 1-6, characterized in that, The method further includes: Pair with a second underwater device; Obtain one or more communication methods supported by the second underwater device; Based on one or more communication methods supported by the second underwater device and one or more communication methods supported by the first wearable device, one or more communication methods supported by both the second underwater device and the first wearable device are determined. After the first wearable device is submerged in water, it receives a third operation from the user; The second communication method is determined from one or more communication methods supported by both the second underwater device and the first wearable device; In response to the third operation, a second instruction is sent to the second underwater device based on the second communication method. The second instruction is used to instruct the second underwater device to perform a fourth operation.
8. The method according to claim 7, characterized in that, The method further includes: Obtain the second device type of the second underwater device; A second control interface is displayed based on the second device type, and the second control interface is used to control the second underwater device. The third operation of receiving user data specifically includes: Receive user operations on the second control interface.
9. The method according to claim 8, characterized in that, The display of the second control interface based on the second device type specifically includes: Receive and respond to the user's operation of switching the control object from the first underwater device to the second underwater device, and display a second control interface based on the second device type.
10. The method according to any one of claims 1-9, characterized in that, Prior to receiving the user's first action, the method further includes: Obtain the first equipment type of the first underwater device; A first control interface is displayed based on the first device type, and the first control interface is used to control the first underwater device. The first operation of receiving the user specifically includes: Receive user operations on the first control interface.
11. The method according to any one of claims 1-10, characterized in that, After pairing with the first underwater device, the method further includes: The second device capability of receiving the second wearable device sent by the first underwater device; The first wearable device is determined to be the main control device based on the first device capability and the second device capability of the first wearable device. A second notification is sent to the second wearable device, the second notification being used to notify the second wearable device, the first wearable device being the master control device of the first underwater device.
12. The method according to any one of claims 1-11, characterized in that, After pairing with the first underwater device, the method further includes: The device receives a third notification sent by the first underwater device, the third notification being used to notify the first wearable device that it is the master control device of the first underwater device.
13. The method according to any one of claims 1-12, characterized in that, The method further includes: In response to the detection that the first wearable device has entered water, the environmental factors are acquired.
14. The method according to any one of claims 1-13, characterized in that, The determination of the first communication method based on environmental factors from one or more communication methods supported by both the first underwater device and the first wearable device specifically includes: In response to the first operation, a first communication method is determined from one or more communication methods supported by both the first underwater device and the first wearable device based on environmental factors; or, Upon detecting that the first wearable device has entered the water, a first communication method is determined from one or more communication methods supported by both the first underwater device and the first wearable device, based on environmental factors.
15. An electronic device, a first wearable device, characterized in that, It includes one or more processors and one or more memories; wherein the one or more memories are coupled to one or more processors, and the one or more memories are used to store computer instructions, which, when the one or more processors execute the computer instructions, implement the underwater manipulation method according to any one of claims 1-14.
16. A chip system, characterized in that, include: The processing circuit and the interface circuit are provided, wherein the interface circuit is used to receive code instructions and transmit them to the processing circuit, and the processing circuit is used to execute the code instructions to perform the underwater manipulation method according to any one of claims 1-14.
17. A readable storage medium, characterized in that, The device stores computer instructions that, when executed by a processor, implement the underwater manipulation method according to any one of claims 1-14.
18. A computer program product, characterized in that, It includes computer instructions, which, when executed by a processor, implement the underwater manipulation method according to any one of claims 1-14.