Communication method, communication apparatus, and electronic device
By displaying communication icons on the underwater shooting preview interface, the problem of electronic equipment losing control during underwater shooting is solved, and convenient communication between underwater equipment users is achieved.
Patent Information
- Application Number
- PCT/CN2024/134215
- Authority / Receiving Office
- WO · WO
- Patent Type
- Applications
- Current Assignee / Owner
- Priority Date
- 2023-12-01
- Filing Date
- 2024-11-25
- Publication Date
- 2025-06-05
AI Technical Summary
When using electronic devices to shoot underwater, due to the influence of water pressure, the induction method of the capacitance screen of the electronic device will be out of control, resulting in non-responsive operations, incorrect response operations or random response operations, increasing the difficulty of users and other users in normal interactions.
By displaying one or more communication icons on the shooting preview interface, users can call up the communication window in an underwater shooting scene by operating the communication icon to communicate with any contact without exiting the shooting preview interface.
It reduces the cumbersome user operation steps for program switching, simplifies the communication process, improves the convenience of user communication, and realizes normal communication and communication between device users in underwater shooting scenes.
Smart Images

Figure CN2024134215_05062025_PF_FP_ABST
Abstract
Description
Communication method, communication device and electronic equipment
[0001] Cross-references
[0002] This application claims priority to the Chinese patent application filed with the China Patent Office on December 1, 2023, with application number 202311645678.0 and invention name “Communication method, communication device and electronic device”. The entire contents of the application are incorporated by reference into this application. Technical Field
[0003] The present application belongs to the field of communication technology, and specifically relates to a communication method, device and electronic equipment. Background Art
[0004] Currently, the primary way users interact with electronic devices is by touching their screens. However, since most electronic devices use capacitive screens, underwater photography can be affected by water pressure, which can cause the capacitive screen to lose control of its sensing function. This can lead to unresponsiveness, erroneous responses, or random responses, making it more difficult for users to interact with other users. Summary of the Invention
[0005] The purpose of the embodiments of the present application is to provide a communication method, a communication device, and an electronic device that can achieve normal communication and interaction between device users in a scenario where the electronic device is used for underwater shooting.
[0006] In a first aspect, an embodiment of the present application provides a communication method, which includes: a second device receives a first input from a user for one of at least one communication icons displayed on a shooting preview interface; the second device responds to the first input and displays at least one contact identifier of a communication application indicated by the communication icon selected by the first input on the shooting preview interface, wherein the contact identifier is used to indicate a contact or a conversation group in the communication application; the second device receives a second input from the user for a first contact identifier among at least one contact identifier, wherein the first contact identifier indicates a first contact; the second device responds to the second input and displays a communication window, which is a communication window between the first contact and the second contact, wherein the first contact is a contact corresponding to the first device, and the second contact is a contact corresponding to the second device.
[0007] In a second aspect, an embodiment of the present application provides a communication method, which includes: a first device displays a communication window; the communication window is a communication window between a first contact and a second contact, the first contact is a contact corresponding to the first device, and the second contact is a contact corresponding to the second device; the first device receives a communication message sent by the second device through the communication window, the communication message includes communication information, and the communication information is information indicated by an information identifier selected by a user of the second device from at least one information identifier; the first device displays the communication information.
[0008] In a third aspect, an embodiment of the present application provides a communication device, which includes: a receiving module for receiving a first input from a user for one of at least one communication icons displayed on a shooting preview interface, the first input being used to select a communication icon, which is used to indicate a communication application; a display module for displaying, on the shooting preview interface, at least one contact identifier of the communication application indicated by the communication icon selected by the first input in response to the first input received by the receiving module, the contact identifier being used to indicate a contact or a conversation group in the communication application; the receiving module is also for receiving a second input from the user for a first contact identifier among at least one contact identifier displayed by the display module, the second input being used to select a contact identifier, the first contact identifier indicating a first contact; the display module is also for displaying a communication window in response to the second input received by the receiving module, the communication window being a communication window between a first contact and a second contact, the first contact being a contact corresponding to the first device, and the second contact being a contact corresponding to the second device.
[0009] In a fourth aspect, an embodiment of the present application provides a communication device, which includes: a display module for displaying a communication window; the communication window is a communication window between a first contact and a second contact, the first contact is a contact corresponding to the first device, and the second contact is a contact corresponding to the second device; a receiving module for receiving a communication message sent by the second device through the communication window displayed by the display module, the communication message including communication information, which is information indicated by an information identifier selected by a user of the second device from at least one information identifier; the display module is also used to display the communication information received by the receiving module.
[0010] In a fifth aspect, an embodiment of the present application provides an electronic device comprising a processor and a memory, wherein the memory stores programs or instructions that can be run on the processor, and when the programs or instructions are executed by the processor, the steps of the method described in the first aspect or the second aspect are implemented.
[0011] In a sixth aspect, an embodiment of the present application provides a readable storage medium, on which a program or instruction is stored. When the program or instruction is executed by a processor, the steps of the method described in the first aspect or the second aspect are implemented.
[0012] In the seventh aspect, an embodiment of the present application provides a chip, which includes a processor and a communication interface, the communication interface and the processor are coupled, and the processor is used to run programs or instructions to implement the method described in the first aspect or the second aspect.
[0013] In an eighth aspect, an embodiment of the present application provides a computer program product, which is stored in a storage medium and executed by at least one processor to implement the method described in the first aspect or the second aspect.
[0014] In an embodiment of the present application, a second device receives a first input from a user for one of at least one communication icons displayed on a shooting preview interface; in response to the first input, the second device displays, on the shooting preview interface, at least one contact identifier of a communication application indicated by the communication icon selected by the first input, the contact identifier being used to indicate a contact or a conversation group in the communication application; the second device receives a second input from the user for a first contact identifier among the at least one contact identifier, the first contact identifier being used to indicate a first contact; and in response to the second input, the second device displays a communication window, the communication window being a communication window between the first contact and a second contact, the first contact being a contact corresponding to the first device, and the second contact being a contact corresponding to the second device. In this solution, by displaying one or more communication icons on the shooting preview interface, a user can conveniently control the device to call up a communication window with any contact in an underwater shooting scene by operating the communication icons in the shooting preview interface without having to exit the shooting preview interface, thereby reducing the tedious user operation steps of switching between programs, simplifying the communication process, improving the convenience of user communication, and enabling normal communication and communication between device users in underwater shooting scenes. BRIEF DESCRIPTION OF THE DRAWINGS
[0015] FIG1 is a flow chart of a communication method provided by some embodiments of the present application;
[0016] FIG2 is a schematic diagram of an example of displaying a communication icon in a shooting preview interface provided by some embodiments of the present application;
[0017] FIG3 is a flow chart of a communication method provided by some embodiments of the present application;
[0018] FIG4A is a schematic diagram illustrating an example of displaying a contact list in a shooting preview interface according to some embodiments of the present application;
[0019] FIG4B is a schematic diagram of an example of displaying a contact list in a shooting preview interface provided by some embodiments of the present application;
[0020] FIG4C is a schematic diagram illustrating an example of displaying a contact list in a shooting preview interface according to some embodiments of the present application;
[0021] FIG5A is a schematic diagram of an example of displaying a video communication window in a shooting preview interface provided by some embodiments of the present application;
[0022] FIG5B is a schematic diagram of an example of displaying a video communication window in a shooting preview interface provided by some embodiments of the present application;
[0023] FIG6A is a schematic diagram illustrating an example of displaying a diving posture information icon in a shooting preview interface according to some embodiments of the present application;
[0024] FIG6B is a schematic diagram illustrating an example of displaying a diving posture information indicator in a shooting preview interface according to some embodiments of the present application;
[0025] FIG6C is a schematic diagram illustrating an example of displaying a diving posture information indicator in a shooting preview interface according to some embodiments of the present application;
[0026] FIG7A is a schematic diagram of an example of displaying a message identifier in a shooting preview interface provided by some embodiments of the present application;
[0027] FIG7B is a schematic diagram of an example of displaying a message identifier in a shooting preview interface provided by some embodiments of the present application;
[0028] FIG7C is a schematic diagram of an example of displaying a message identifier in a shooting preview interface provided by some embodiments of the present application;
[0029] FIG8 is a flow chart of a communication method provided by some embodiments of the present application;
[0030] FIG9 is a flow chart of a communication method provided by some embodiments of the present application;
[0031] FIG10A is a schematic diagram illustrating an example of displaying positional relationships in a shooting preview interface according to some embodiments of the present application;
[0032] FIG10B is a schematic diagram illustrating an example of displaying positional relationships in a shooting preview interface according to some embodiments of the present application;
[0033] FIG11 is a flow chart of a communication method provided by some embodiments of the present application;
[0034] FIG12 is a schematic diagram of an example of displaying navigation route information in a shooting preview interface provided by some embodiments of the present application;
[0035] FIG13 is a flow chart of a communication method provided by some embodiments of the present application;
[0036] FIG14 is a flow chart of a communication method provided by some embodiments of the present application;
[0037] FIG15 is a schematic diagram of an example of displaying communication messages in a communication interface according to some embodiments of the present application;
[0038] FIG16 is a flow chart of a communication method provided by some embodiments of the present application;
[0039] FIG17 is a schematic diagram of an example of displaying a communication message in a shooting preview interface according to some embodiments of the present application;
[0040] FIG18 is a schematic structural diagram of a communication device provided by some embodiments of the present application;
[0041] FIG19 is a schematic structural diagram of a communication device provided by some embodiments of the present application;
[0042] FIG20 is a schematic diagram of the hardware structure of an electronic device provided in some embodiments of the present application;
[0043] FIG21 is a schematic diagram of the hardware structure of an electronic device provided in some embodiments of the present application. DETAILED DESCRIPTION
[0044] The following will be combined with the accompanying drawings in the embodiments of the present application to clearly describe the technical solutions in the embodiments of the present application. Obviously, the embodiments described are part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field are within the scope of protection of this application.
[0045] The terms "first," "second," and the like in the specification and claims of this application are used to distinguish similar objects, and are not used to describe a specific order or precedence. It should be understood that the terms used in this manner are interchangeable where appropriate, so that the embodiments of this application can be implemented in an order other than that illustrated or described herein, and that the objects distinguished by "first," "second," and the like are generally of the same type, and do not limit the number of objects; for example, the first object can be one or more. In addition, the term "and / or" in the specification and claims refers to at least one of the connected objects, and the character " / " generally indicates that the objects connected are in an "or" relationship.
[0046] The terms "at least one" and "at least one of" in the specification and claims of this application refer to any one, any two, or a combination of more than two of the objects included. For example, at least one of a, b, and c can be represented by: "a", "b", "c", "a and b", "a and c", "b and c", and "a, b, and c", where a, b, and c can be single or multiple. Similarly, "at least two" means two or more, and its meaning is similar to "at least one".
[0047] The logo in this application refers to text, symbols, images, etc. used to indicate information. Logos or other containers can be used as carriers to display information, including but not limited to text logos, symbol logos, and image logos.
[0048] The communication method, communication device, and electronic device provided in the embodiments of the present application are described in detail below with reference to specific embodiments and their application scenarios in conjunction with the accompanying drawings.
[0049] It should be noted that the communication methods provided in the embodiments of the present application can be executed by devices such as mobile phones, tablet computers, laptop computers, PDAs, and in-vehicle electronic devices. In some embodiments of the present application, a mobile phone is used as the execution subject to execute the communication method as an example to illustrate the communication methods provided in the embodiments of the present application.
[0050] The communication method provided in the embodiment of the present application can be applied to scenarios where users of electronic devices are taking photos underwater.
[0051] In a specific application scenario, the communication method provided in the embodiment of the present application can be applied to a scenario where a user guides the shooting posture of another user when using a mobile phone to shoot the user underwater, such as scenario 1.
[0052] In scenario 1, user 1 and user 2 are diving. If user 1 wants to take a photo of user 2 making a "heart" shape with their fingers next to a "coral", since users 1 and 2 cannot communicate through language in underwater scenes, they can only communicate through simple gestures, which cannot convey complex information. Therefore, user 1 needs to use various gestures and body movements to guide user 2 to swim next to the "coral" and make a "heart" gesture with their fingers to capture the desired photo.
[0053] In another specific application scenario, the communication method provided in the embodiment of the present application can be applied to a scenario in which a user uses a mobile phone underwater to send diving status inquiry information to other users, such as scenario 2.
[0054] Scenario 2: In the scenario where user 1 and user 2 are diving, it is assumed that user 1 and user 2 need to perform different underwater work tasks underwater, and need to gather at a designated underwater location after completing the tasks and then return to land together. Therefore, in the process of user 1 and user 2 performing the underwater work tasks, if user 1 wants to know the work completion status and diving status of user 2 after completing the underwater work task, for example, user 2's work completion progress, user 2's underwater position, user 2's diving depth, and whether user 2 has sufficient oxygen. Since user 2 is not within user 1's field of vision, user 1 can send a notification message to user 2's mobile phone through the communication application in the mobile phone, for example, "Have you completed the underwater work task?" or "Have you arrived at the designated underwater location?", to inquire about user 2's work completion status; "What depth have you reached?" or "Do you have enough oxygen?", to inquire about user 2's diving status. However, due to the influence of water pressure on user 1's mobile phone, the screen of user 1's mobile phone may not respond, respond incorrectly or respond randomly, making it difficult for user 1 to edit specific diving status inquiry information in the communication interface between user 1 and user 2, thereby preventing normal communication between user 1 and user 2.
[0055] In the communication method, communication device and electronic device provided in the embodiments of the present application, by displaying one or more communication icons on the shooting preview interface, the user can easily control the device to call out the communication window with any contact by operating the communication icon in the shooting preview interface in the underwater shooting scene, without having to exit the shooting preview interface, thereby reducing the tedious user operation steps of program switching, simplifying the communication process, improving the convenience of user communication, and realizing normal communication and communication between device users in the underwater shooting scene.
[0056] The present invention provides a communication method, and Figure 1 shows a flow chart of the communication method provided by the present invention. As shown in Figure 1, the communication method provided by the present invention may include the following steps 201 to 204.
[0057] Step 201: The second device receives a first input from a user on a communication icon among at least one communication icon displayed on a shooting preview interface.
[0058] In some embodiments of the present application, the first input is used to select a communication icon, and the communication icon is used to indicate a communication application.
[0059] In some embodiments of the present application, the above-mentioned first input may include any of the following: user click input, sliding input, pressing input, voice input, gesture input, or other feasible input, which is not limited in the embodiments of the present application.
[0060] In some embodiments of the present application, the above-mentioned gesture input may include but is not limited to at least one of the following: click gesture, sliding gesture, drag gesture, pressure recognition gesture, long press gesture, area change gesture, double-press gesture, double-click gesture, specific gesture input or other possible gesture inputs. The specific gesture input form can be determined according to actual needs and is not limited to this in some embodiments.
[0061] In some embodiments of the present application, the click operation may be any number of click operations. The slide operation may be a slide operation in any direction, such as up, down, left, or right, etc., which is not limited in some embodiments.
[0062] In some embodiments of the present application, the first input includes air gesture input.
[0063] In some embodiments of the present application, the above-mentioned air gesture refers to a gesture when the user's hand is not in contact with the electronic device or external control device, and the distance between the user's hand and the electronic device is greater than or equal to a preset distance threshold. For example, the above-mentioned preset distance threshold can be 1 cm.
[0064] In some embodiments of the present application, the second device can capture the user's hand movements through a camera or sensor, and detect air gestures based on the captured hand movement data to achieve control of the electronic device.
[0065] Exemplarily, the camera may be a time of flight (TOF) camera.
[0066] For example, the sensor may be a radar sensor, an infrared sensor, an ultrasonic sensor, etc. The sensor is usually arranged below the display screen of the electronic device.
[0067] In some embodiments of the present application, the second device may determine the communication icon selected by the air gesture input based on the input parameters of the air gesture input. Exemplarily, the input parameters of the air gesture input may include the starting position, movement direction, end position, and movement trajectory of the air gesture input.
[0068] Exemplarily, the first input may be an air click input by the user on a communication icon.
[0069] In this way, the user can control the second device to select the communication icon displayed in the shooting preview interface through air gesture input without having to input anything on the device's touch screen, so that even if the touch function of the second device's screen fails underwater, the user can still control the device to perform corresponding operations.
[0070] In some embodiments of the present application, the first input includes user input on a physical button on the second device.
[0071] In some embodiments of the present application, the physical button on the second device may be: a volume up button, a volume down button, a power button, or any physical button on the second device.
[0072] In some embodiments of the present application, the above-mentioned "user input on a physical key on the second device" may be user input on a physical key on the second device, user input on multiple physical keys on the second device, or user input on a combination of physical keys.
[0073] Exemplarily, the first input may include a user pressing the volume down button and a user pressing the volume up button. For example, assuming that the user wants to select the communication icon 1 in the shooting preview interface, the user can press the volume down button to control the second device to select the communication icon 1 from multiple communication icons displayed in the shooting preview interface. Then, by pressing the volume up button, the user can control the second device to confirm the selection of the communication icon 1, thereby controlling the second device to display the contact identifier in the communication application indicated by the communication icon 1.
[0074] In this way, the user can control the second device to select the communication icon displayed in the shooting preview interface by inputting on the physical buttons of the device without the need for the user to input on the touch screen of the device, so that even if the touch function of the screen of the second device fails underwater, the user can still control the device to perform corresponding operations.
[0075] In some embodiments of the present application, the first input may also be a user pressing input on a communication icon.
[0076] It should be noted that while the display screen of an electronic device is likely to become unresponsive when underwater, press input generally operates normally due to the large input area and long duration of the input. For example, a user can long-press a communication icon. If the electronic device's system detects that the user has pressed the icon for more than three seconds, the electronic device's system will select the communication icon and control the second device to display the contact ID of the communication application indicated by the communication icon.
[0077] In some embodiments of the present application, the communication application corresponding to the at least one communication icon may be at least one application, mini-program, quick app, etc. with a communication function installed in the second device.
[0078] Exemplarily, the above-mentioned applications may include social applications, navigation applications, etc.
[0079] In some embodiments of the present application, the second device may display an icon window on the shooting preview interface, where the icon window includes at least one communication icon.
[0080] Exemplarily, the window background of the above-mentioned icon window can be transparent, and the user can view the preview screen below the icon window through the icon window. In this way, the icon window can be prevented from blocking the shooting preview screen displayed in the shooting preview interface, so that the user can view the preview screen captured by the second device while viewing the communication icon.
[0081] For example, the icon window can be a floating window. For example, the icon window can be displayed in a floating manner on the shooting preview interface, and when the user drags the icon window, the icon window can move on the shooting preview interface along with the user's dragging operation.
[0082] In some embodiments of the present application, the second device may directly display at least one communication icon on the shooting preview interface.
[0083] In some embodiments of the present application, the second device may display at least one communication icon or the aforementioned icon window at any location on the shooting preview interface.
[0084] For example, the second device may display at least one communication icon at any edge of the shooting preview interface, for example, at the top edge, bottom edge, left edge, or right edge. In this way, it is possible to avoid affecting the user's viewing of the content displayed on the shooting preview screen.
[0085] For example, taking underwater photography with a mobile phone, as shown in FIG2 , the mobile phone displays four communication icons in the right edge area of the shooting preview screen 10 , namely, program icon a for personal communication program A, program icon b for corporate communication program B, program icon c for map program, and program icon d for Bluetooth communication program.
[0086] In some embodiments of the present application, in combination with FIG. 1 , as shown in FIG. 3 , before the above-mentioned step 201 , the communication method provided in the embodiment of the present application further includes the following step 201 a.
[0087] Step 201a: When the second device detects that the shooting environment is an underwater shooting environment, it displays at least one communication icon on the shooting preview interface.
[0088] In some embodiments of the present application, when a second device displays a capture preview interface, if the second device detects that most of the touch areas on the screen of the second device receive the same or similar pressure values, it can be considered that the entire screen of the second device is squeezed by the external environment, and the current capture environment can be determined to be an underwater capture environment. For example, if the second device detects that 90% of the touch areas on the screen receive the same pressure value, or if it detects that the pressure values received by 90% of the touch areas on the screen differ by less than 5, the current capture environment of the second device is determined to be an underwater capture environment.
[0089] In some embodiments of the present application, when the second device displays a shooting preview interface, if the second device detects that the image content captured in the shooting preview screen displayed in the shooting preview interface includes underwater creatures, such as marine fish, corals, seaweed, etc., then it is determined that the current shooting environment of the second device is an underwater shooting environment.
[0090] In some embodiments of the present application, since the humidity of underwater scenes and above-water scenes is different, the second device can detect the ambient humidity of the second device through a humidity sensor. If the detected ambient humidity is within the humidity value range of the underwater scene, it can be determined that the current shooting scene of the second device is an underwater shooting scene; or, if the detected ambient humidity is within the humidity value range of the above-water scene, it can be determined that the current shooting scene of the second device is an above-water shooting scene.
[0091] In this way, the second device detects the shooting environment and can automatically display at least one communication icon in the shooting preview interface when it detects that the shooting environment is an underwater shooting environment. The user does not need to manually control the second device to display the communication icon in the shooting preview interface, thereby reducing the user's manual control operations during underwater shooting and improving the convenience of underwater communication.
[0092] In some embodiments of the present application, before going into the water, the user of the second device can click the "camera" icon in the second device to control the second device to display a shooting preview interface. The shooting preview interface includes an "underwater mode" control, such as control 11 shown in Figure 2. When the user of the second device clicks the "underwater mode" control, the second device can be controlled to enter the underwater mode. In the underwater mode, at least one communication icon will be displayed in the shooting preview interface displayed by the second device so that the user can realize underwater communication.
[0093] Step 202: In response to the first input, the second device displays, on the shooting preview interface, at least one contact identifier of the communication application indicated by the communication icon selected by the first input.
[0094] In some embodiments of the present application, the contact identifier is used to indicate a contact or a conversation group in a communication application.
[0095] In some embodiments of the present application, the at least one contact identifier may be a contact identifier of a preset contact in a communication application indicated by the communication icon selected by the first input.
[0096] In some embodiments of the present application, after receiving the first input, the second device may directly display at least one contact identifier in the communication application indicated by the communication icon selected by the first input on the shooting preview interface.
[0097] In some embodiments of the present application, after receiving the first input, the second device can display a contact window of the communication application indicated by the communication icon selected by the first input on the shooting preview interface, and at least one contact identifier is displayed in the contact window.
[0098] Example 1: Taking user 1 as "Xiao Li" and user 2 as "Xiao Wang" in scenarios 1 and 2 as an example, assuming that Xiao Li's mobile phone is the second device described above, in conjunction with Figure 2 , in scenarios 1 and 2, if Xiao Li wants to communicate with Xiao Wang via personal communication app A on his mobile phone, Xiao Li can press the volume down button on his mobile phone to select from the four communication icons displayed on the shooting preview interface 10. After selecting app icon a for personal communication app A, he can press the volume up button to confirm app icon a for personal communication app A. Alternatively, Xiao Li can air-click app icon a for personal communication app A, i.e., the first input described above. As shown in Figure 4A , Xiao Li's mobile phone can then display a contact window 12 for personal communication app A on the shooting preview interface 10. This contact window 12 contains three contact identifiers: a contact identifier 13 for "Xiao Wang," a contact identifier 14 for "Xiao Zhang," and a group identifier 15 for the "Underwater Photography Group."
[0099] In some embodiments of the present application, the at least one contact identifier may be a contact identifier of a contact that meets a contact identifier display condition in a communication application indicated by a communication icon selected by the first input.
[0100] Illustratively, the contacts that meet the contact identification display conditions include at least one of the following:
[0101] Contacts corresponding to devices whose signal strength is greater than the strength threshold;
[0102] a contact corresponding to a device whose distance from the second device is less than a first distance threshold and with which a Bluetooth connection has been established;
[0103] Contacts corresponding to devices whose communication frequency with the second device is greater than or equal to the predetermined frequency.
[0104] In some embodiments of the present application, the at least one contact identifier includes at least one of the following: the contact identifier of the contact corresponding to the device whose signal strength is greater than the strength threshold, and the contact identifier of the contact corresponding to the device whose distance to the second device is less than the first distance threshold and which has established a Bluetooth connection with the second device.
[0105] For example, the "device with a signal strength greater than a strength threshold" may be understood as a device that can normally transmit signals with the second device. For example, the strength threshold may be any value between [-90dBm and -50dBm].
[0106] Example 2: In combination with Example 1 above, assuming that the strength threshold is -90dBm, after "Xiao Li" presses the volume up button to confirm the program icon a of the personal communication program A, or "Xiao Li" air-clicks the program icon a of the personal communication program A, the mobile phone can be controlled to detect the signal strength of other devices around it, and the contacts in the personal communication program A whose signal strength is greater than -90dBm are displayed on the shooting preview interface 10. For example, if the signal strength of "Xiao Wang"'s mobile phone is detected to be -70dBm, the signal strength of "Xiao Zhang"'s mobile phone is -95dBm, and "Xiao Wang" and "Xiao Zhang" are both contacts in the personal communication program A on "Xiao Li's" mobile phone, since the signal strength of "Xiao Wang"'s mobile phone is -70dBm and greater than -90dBm, the contact icon of "Xiao Wang" can be displayed on the shooting preview interface 10.
[0107] For example, the "device whose communication frequency with the second device is greater than or equal to the predetermined frequency" can be understood as a device that communicates with the second device more than a predetermined number of times within a preset time period. For example, the predetermined time period can be three days, and the predetermined number of times can be three.
[0108] Example 3: In conjunction with Example 1 above, after "Xiao Li" presses the volume up button to locate the program icon a of personal communication program A, or "Xiao Li" air-clicks the program icon a of personal communication program A, the phone is controlled to display the contact IDs of contacts who have communicated with "Xiao Li" via personal communication program A more than three times within the past three days. For example, if "Xiao Zhang" has not contacted "Xiao Li" via personal communication program A within three days, and "Xiao Wang" has communicated with "Xiao Li" 15 times via personal communication program A within three days, the phone can be controlled to display "Xiao Wang's" contact ID on the shooting preview interface 10.
[0109] For example, the first distance threshold may be considered as the maximum distance for establishing a Bluetooth connection, for example, 20 meters.
[0110] In other words, when the distance between the two devices is less than or equal to the first distance threshold, a Bluetooth connection can be established between the two devices. Conversely, when the distance between the two devices is greater than the first distance threshold, a Bluetooth connection cannot be established between the two devices.
[0111] It should be noted that all devices involved in the embodiments of the present application have been successfully paired with Bluetooth in advance. In this way, when the distance between any two devices is less than the first distance threshold, the two devices can transmit data via Bluetooth.
[0112] Example 3: Taking user 1 as "Xiao Li" and user 2 as "Xiao Wang" in scenarios 1 and 2 as an example, assuming that "Xiao Li's" mobile phone is the aforementioned second device, in conjunction with FIG2 , in scenarios 1 and 2, if "Xiao Li's" mobile phone and "Xiao Wang's" mobile phone have successfully completed Bluetooth pairing before entering the water, "Xiao Li" clicks the program icon d of the Bluetooth communication program before entering the water, i.e., the aforementioned first input, controlling the mobile phone to display the Bluetooth communication interface 16 in the shooting preview interface. At this time, "Xiao Li's" mobile phone can dynamically display the contact identifiers of the contacts corresponding to the devices with which "Xiao Li's" mobile phone has established a Bluetooth connection on the shooting preview interface 10. For example, as shown in FIG4B , if the distance between "Xiao Wang's" mobile phone and "Xiao Li's" mobile phone is less than 20 meters, i.e., the aforementioned first distance threshold, "Xiao Li's" mobile phone can display "Xiao Wang's" contact identifier 17 in the Bluetooth communication interface 16.
[0113] In some embodiments of the present application, for a scenario where the at least one contact identifier includes a contact identifier of a contact corresponding to a device that is less than a first distance threshold from the second device and has established a Bluetooth connection with the second device, when the second device is Bluetooth paired with the first device and a Bluetooth connection is established, the second device may display the contact identifier of the contact corresponding to the first device on the shooting preview interface.
[0114] In a possible embodiment, when the second device and the first device have been Bluetooth paired and a Bluetooth connection has been established, the communication method provided in the embodiment of the present application further includes the following step A1.
[0115] Step A1: When the distance between the second device and the first device is greater than a first distance threshold, the second device disconnects the Bluetooth connection between the first device and the second device.
[0116] In some embodiments of the present application, after the second device disconnects the Bluetooth connection between the first device and the second device, the second device may cancel displaying the contact identifier of the contact corresponding to the first device in the shooting preview interface.
[0117] In some embodiments of the present application, after the second device disconnects the Bluetooth connection between the first device and the second device, the second device may further set the contact identifier of the contact corresponding to the first device in the shooting preview interface to a preset state to prompt the user that the first device and the second device are far apart and cannot communicate.
[0118] Illustratively, the above-mentioned preset state may include but is not limited to any one of the following: increasing the transparency of the contact identifier, adjusting the display color of the contact identifier to a specific color, and displaying a special symbol on the identifier.
[0119] For example, the specific color may be gray or black.
[0120] For example, the special symbol may be any special symbol set by the user, such as an error number or a prohibited symbol.
[0121] Example 4, combined with Figure 4B, if the distance between "Xiao Wang"'s mobile phone and "Xiao Li"'s mobile phone is greater than 20 meters, that is, the above-mentioned first distance threshold, at this time, the Bluetooth connection between "Xiao Wang"'s mobile phone and "Xiao Li's" mobile phone will be automatically disconnected, and as shown in Figure 4C, "Xiao Li's" mobile phone will cancel the display of "Xiao Wang"'s contact icon 17 in the Bluetooth communication interface 16.
[0122] In this way, the second device updates the contact identifiers displayed on the second device in real time by monitoring the changes in the distance between it and the first device, so as to ensure that the contact identifiers displayed on the second device are all contact identifiers of contacts that can be communicated with within the effective underwater communication distance range, that is, it is ensured that the second device displays valid contact identifiers, which makes it convenient for users to identify who they can currently communicate with, thereby improving the accuracy and flexibility of the communication connection.
[0123] In some embodiments of the present application, in combination with step A1, the communication method provided in the embodiments of the present application further includes the following steps B1 and B2.
[0124] Step B1: The second device monitors the change in the distance between the second device and the first device.
[0125] Step B2: When the second device detects that the distance between it and the first device changes from greater than the first distance threshold to less than the first distance threshold, the second device re-establishes the Bluetooth connection with the first device and uses the contact ID of the contact corresponding to the first device as the contact ID that can be displayed on the shooting preview interface.
[0126] Example 5, combined with Figure 4C, when the distance between "Xiao Wang"'s mobile phone and "Xiao Li"'s mobile phone gradually decreases to less than 20 meters, that is, the above-mentioned first distance threshold, at this time, "Xiao Li"'s mobile phone can re-establish a Bluetooth connection with "Xiao Wang"'s mobile phone, that is, "Xiao Li" can communicate with "Xiao Wang"'s mobile phone via Bluetooth, and "Xiao Li"'s mobile phone can again display "Xiao Wang"'s contact logo 17 in the Bluetooth communication interface 16, as shown in Figure 4B.
[0127] In this way, the second device updates the contact identification displayed on the second device in real time by monitoring the change in the distance between it and the first device, so as to ensure that the contact identification displayed on the second device is the contact identification of the contact who can be communicated with within the effective underwater communication distance range, that is, it is ensured that the second device displays a valid contact identification, which makes it convenient for users to identify who they can currently communicate with, thereby improving the convenience of communication.
[0128] In some embodiments of the present application, when the second device displays at least one contact identifier, the second device may update the display parameters of the at least one contact identifier based on the distance between the second device and the electronic device of the contact corresponding to the at least one contact identifier.
[0129] In some embodiments of the present application, the above display parameters may include but are not limited to at least one of the following: display order or display color.
[0130] Exemplarily, the second device displays the at least one contact identifier in sequence from near to far according to the distance between the electronic devices corresponding to the at least one contact identifier.
[0131] For example, the second device may display green, yellow, red, and gray in order from near to far according to the distance between the second device and the electronic device corresponding to the at least one contact identifier.
[0132] Step 203: The second device receives a second input of the user for a first contact identifier among the at least one contact identifier.
[0133] In some embodiments of the present application, the second input is used to select a contact identifier, and the first contact identifier indicates a first contact.
[0134] In some embodiments of the present application, the second input includes air gesture input, or user input on a physical button on the second device.
[0135] Exemplarily, the second input may be an air click input by the user on a contact identifier.
[0136] Exemplarily, the second input includes user input on a physical button on the second device.
[0137] Exemplarily, the physical button on the second device may be: a volume up button, a volume down button, a power button, or any physical button on the second device.
[0138] Exemplarily, the above-mentioned “user input on a physical key on the second device” may be user input on one physical key on the second device, user input on multiple physical keys on the second device, or user input on a combination of physical keys.
[0139] Exemplarily, the second input may include a user pressing the volume down button and a user pressing the audio up button. For example, assuming the user wants to select contact ID 1 displayed in the shooting preview interface, the user can press the volume down button to control the second device to select the contact ID 1 from multiple contact IDs displayed in the shooting preview interface. Then, by pressing the volume up button, the user can control the second device to confirm the selection of the contact ID 1, thereby controlling the second device to display the communication interface between the contact corresponding to the second device and the contact indicated by the contact ID 1.
[0140] It should be noted that, for the specific description of the second input, reference may be made to the detailed description of the first input above, and in order to avoid repetition, details will not be repeated here.
[0141] Step 204: The second device displays a communication window in response to the second input.
[0142] In some embodiments of the present application, the communication window is a communication window between a first contact and a second contact, wherein the first contact is a contact corresponding to the first device, and the second contact is a contact corresponding to the second device.
[0143] It should be noted that the contacts corresponding to the first device described above can be understood as the contacts indicated by the account logged in within the communication application installed on the first device. Similarly, the contacts corresponding to the second device can be understood as the contacts indicated by the account logged in within the communication application installed on the second device. The contact indicated by this account can be a single user or a group.
[0144] In some embodiments of the present application, the communication window includes at least one of the following: a conversation window and a video call window.
[0145] In some embodiments of the present application, the above-mentioned "conversation window" is a conversation interface that can provide information exchange for contacts. In other words, the above-mentioned conversation window can be a chat interface for transmitting text, images, files and other information between contacts.
[0146] In some embodiments of the present application, when the communication window includes a conversation window, the first contact and the second contact may exchange information by transmitting communication messages.
[0147] In some embodiments of the present application, the above-mentioned “video call window” is a call interface that can provide a video call function between contacts.
[0148] In some embodiments of the present application, when the communication window includes a video call window, the first contact and the second contact can view each other through video, or view the shooting preview screen obtained by the other party's device.
[0149] In some embodiments of the present application, the second device may display the communication window in full screen.
[0150] In some embodiments of the present application, the communication window may be a floating window, that is, the communication window may be displayed in a floating manner on the shooting preview interface.
[0151] Exemplarily, the window background of the above-mentioned communication window can be transparent, and the user can view the preview screen below the communication window through the communication window. In this way, the communication window can be prevented from blocking the shooting preview screen displayed in the shooting preview interface, so that the user can view the preview screen captured by the second device while viewing the communication message.
[0152] In some embodiments of the present application, the second device can display the above-mentioned communication window at any position on the shooting preview interface.
[0153] In some embodiments of the present application, the window size and display position of the communication window can be adjusted.
[0154] Exemplarily, the user flexibly adjusts the window size of the communication window through air gesture input, such as the user controls the second device to reduce the window size of the communication window through two-finger air pinch input, or the user controls the second device to enlarge the window size of the communication window through two-finger air expand input.
[0155] In one example, there is a mapping relationship between the pinch distance corresponding to the two-finger air pinch input and the size of the communication window. For example, for every 2 centimeters of pinching, the size of the communication window decreases by 10%.
[0156] In another example, there is a mapping relationship between the expansion distance corresponding to the two-finger air expansion input and the window size of the communication window. For example, for every 2 centimeters of expansion of the two fingers, the window size of the communication window is enlarged by 10%.
[0157] Exemplarily, the user drags the communication window to move by air dragging input, and the communication window can move on the shooting preview interface along with the user's dragging operation.
[0158] In some embodiments of the present application, the communication window between the first contact and the second contact may be a communication message window or a video communication window.
[0159] In some embodiments of the present application, the video communication window includes a main display window and at least one auxiliary display window. The main display window displays a preview image captured by the second device, and one of the at least one auxiliary display window displays a preview image captured by a device of the first contact.
[0160] Exemplarily, the auxiliary display window is displayed superimposed on the main display window.
[0161] For example, the user of the second device can input into the auxiliary display window to control the second device to switch between displaying the shooting preview screen in the main display window and displaying the shooting preview screen in the auxiliary display window input by the user.
[0162] For example, assume that the first contact corresponds to Group 1, which contains three group members, including the local user and two other contacts. In this case, the video communication interface displayed on the second device includes a main display window and two auxiliary display windows. The main display window displays the preview image captured by the local user, while the two auxiliary display windows display the preview images captured by the devices corresponding to the two contacts, respectively.
[0163] Example 6, in conjunction with Figure 4B, assume that the group corresponding to the "Underwater Shooting Group" includes "Xiao Li", "Xiao Wang", and "Xiao Zhang". If "Xiao Li" wants to view the preview images captured by the mobile phones of "Xiao Wang" and "Xiao Zhang", "Xiao Li" can control the mobile phone to select the group identifier 19 of the "Underwater Shooting Group" on the Bluetooth communication interface 16 by pressing the volume down button on the mobile phone, and then control the mobile phone to confirm the selection of the group identifier 19 of the "Underwater Shooting Group" by pressing the volume up button; or, "Xiao Li" can air-click the group identifier 19 of the "Underwater Shooting Group". At this time, as shown in Figure 5A, the mobile phone of "Xiao Li" can display the video communication interface 20 corresponding to the group logo 19 of the "Underwater Shooting Group". The video communication interface 20 includes a main display area 20a, an auxiliary display area 20b and an auxiliary display area 20c. Among them, the main display area 20a displays the preview pictures of the shooting collected by the mobile phone of "Xiao Li", such as a school of fish, the auxiliary display area 20b displays the preview pictures of the shooting collected by the mobile phone of "Xiao Wang", such as corals and jellyfish, and the auxiliary display area 20c displays the preview pictures of the shooting collected by the mobile phone of "Xiao Zhang", such as a large area of water plants.
[0164] Furthermore, referring to Figure 5A , if "Xiao Li" wants to zoom in and view the preview interface of the shot captured by "Xiao Wang"'s phone, "Xiao Li" can press and input the auxiliary display area 20b in the video communication interface 20. At this point, as shown in Figure 5B , "Xiao Li's" phone updates to display the video communication interface 21. The updated video communication interface 21 includes a main display area 21a, an auxiliary display area 21b, and an auxiliary display area 21c. The main display area 21a displays corals and jellyfish captured by "Xiao Wang"'s phone, the auxiliary display area 21b displays schools of fish captured by "Xiao Li"'s phone, and the auxiliary display area 21c displays a patch of waterweed captured by "Xiao Zhang"'s phone. In other words, in the video communication interface displayed on "Xiao Li's" phone, the display positions of the preview image captured by "Xiao Li"'s phone and the preview image captured by "Xiao Wang"'s phone have swapped.
[0165] It should be noted that while "Xiao Li" controls the mobile phone to switch the preview screen in the main display window to "Xiao Wang's" preview screen, the video communication interface displayed on "Xiao Zhang's" mobile phone will not change due to "Xiao Li's" actions.
[0166] In some embodiments of the present application, when the second device displays a shooting preview screen, the second device can receive user input on a specified area or specified control in the shooting preview interface to control at least one communication icon displayed by the electronic device on the shooting preview interface.
[0167] In the communication method provided in the embodiment of the present application, by displaying one or more communication icons on the shooting preview interface, the user can easily control the device to call out the communication window with any contact by operating the communication icon in the shooting preview interface in the underwater shooting scene, without having to exit the shooting preview interface, thereby reducing the tedious user operation steps of program switching, simplifying the communication process, improving the convenience of user communication, and realizing normal communication and communication between device users in the underwater shooting scene.
[0168] In some embodiments of the present application, the shooting preview interface includes: at least one information identifier, each information identifier is used to indicate a communication message.
[0169] In some embodiments of the present application, the above-mentioned communication information may be a text set in advance by the user that can be sent directly.
[0170] In some embodiments of the present application, the communication information may be generated by the electronic device based on historical communication information. For example, the second device may select communication information with a higher frequency of use based on historical communication information in a communication program.
[0171] In some embodiments of the present application, a user may edit, add, or delete communication information set in an electronic device.
[0172] In some embodiments of the present application, an information identification window may be displayed on the shooting preview interface, and at least one information identification may be displayed on the information identification window.
[0173] For example, the user can update the information identification displayed in the information identification window by inputting, for example, by sliding the information identification included in the information identification window.
[0174] In some embodiments of the present application, at least one information identifier may be directly displayed on the shooting preview interface.
[0175] In some embodiments of the present application, the shooting preview interface may display an information identification list, and the information identification list may display at least one information identification. In one example, the shooting preview interface may display an information identification window, and the information identification window may contain an information identification list.
[0176] In some embodiments of the present application, the communication information includes at least one of the following: diving control information and notification information.
[0177] In some embodiments of the present application, the above-mentioned information identifiers include but are not limited to: text, symbols, pictures, and numbers.
[0178] Exemplarily, when the information identifier is used to indicate diving control information, the information identifier includes but is not limited to: a posture picture of a diving posture, a name of the diving posture, and a diving posture number.
[0179] For example, the diving posture picture may be a simple drawing of the diving posture.
[0180] For example, taking underwater photography with a mobile phone as an example, as shown in FIG6A , the mobile phone displays four diving posture information labels in the shooting preview screen 22, namely label 23a, label 23b, label 23c and label 23d. Among them, label 23a includes a simple drawing of the diving posture "floating up", label 23b includes a simple drawing of the diving posture "diving", label 23c includes a simple drawing of the diving posture "moving left", and label 23d includes a simple drawing of the diving posture "moving right".
[0181] For example, the names of the above diving postures include but are not limited to: rotation, turning around, raising hands, raising head, making a heart shape with fingers, giving a thumbs up with fingers, floating up, diving, etc.
[0182] For example, taking underwater photography with a mobile phone as an example, as shown in FIG6B , the mobile phone displays three diving posture information labels in the shooting preview screen 22, namely, label 24a, label 24b, and label 24c. Among them, label 24a includes the diving name "turn around", label 24b includes the diving name "dive", and label 24c includes the diving name "surface".
[0183] For example, each number corresponds to a diving posture. For example, number 1 corresponds to the diving posture "surfacing," number 2 corresponds to the diving posture "diving," number 3 corresponds to the diving posture "moving left," and number 4 corresponds to the diving posture "moving right." The shooting preview interface 22 shown in FIG6C includes four diving posture information identifiers: identifier 25a, identifier 25b, identifier 25c, and identifier 25d. Identifier 25a includes the number 1, identifier 25b includes the number 2, identifier 25c includes the number 3, and identifier 25d includes the number 4.
[0184] Exemplarily, when the information identifier is used to indicate notification information, the information identifier includes but is not limited to: information content of the notification information, key content in the notification information, and the number of the notification information.
[0185] In some embodiments of the present application, when the above-mentioned communication information includes diving control information, the diving control information includes control information for controlling the adjustment of the diving posture or diving action, and the diving control information is used to instruct the user of the first device to adjust the diving posture or diving action.
[0186] In some embodiments of the present application, the above-mentioned “instructing the user of the first device to adjust the diving posture” can be understood as: instructing the user of the first device to adjust his or her body posture to adjust the diving posture.
[0187] In some embodiments of the present application, the above-mentioned diving control information may include but is not limited to: diving posture information, diving direction information, and diving distance information.
[0188] Exemplarily, the above-mentioned diving posture information is used to instruct the user of the first device to adjust the diving posture.
[0189] Exemplarily, the diving direction information is used to instruct the user of the first device to adjust the diving direction.
[0190] Exemplarily, the diving distance information is used to instruct the user of the first device to adjust the diving distance.
[0191] For example, the diving posture information includes but is not limited to: rotation, turning around, raising hands, raising head, making a heart shape with fingers, giving a thumbs up with fingers, ascending, descending, etc. Furthermore, the rotation includes but is not limited to: 90° clockwise rotation, 45° clockwise rotation, 90° counterclockwise rotation, and 45° counterclockwise rotation.
[0192] For example, the diving direction information includes but is not limited to: moving upward, moving downward, moving leftward, moving rightward, etc.
[0193] For example, the diving distance information includes but is not limited to: ascending 10 meters, diving 20 meters, moving 5 meters to the left, moving 5 meters to the right, etc.
[0194] In some embodiments of the present application, the user can control the second device to display a distance setting interface in the shooting preview interface through an input. The user can use the distance setting interface to determine a specific diving distance.
[0195] In one example, the distance setting interface includes a number axis, through which the user can set a specific diving distance and thereby determine diving control information.
[0196] For example, the distance setting interface above includes a number axis, where rightward movement is positive and leftward movement is negative. If the user continues to press the volume down button, the point on the number axis moves rightward from the origin, and the distance value displayed in the area corresponding to that point will continuously increase. If the user continues to press the volume up button, the point on the number axis moves leftward from the origin, and the value displayed in the area corresponding to that point will continuously decrease. If the user continues to press the volume up button until the point moves to -5, and then stops pressing the volume down button, the corresponding dive control information will be "Move left 5 meters."
[0197] For example, the user can control the second device to display a diving posture setting interface in the shooting preview interface through an input. The user can determine a specific diving posture through the diving posture setting interface.
[0198] In some embodiments of the present application, when the communication information includes notification information, the notification information includes at least one of the following: notification information of delivering to-do items to the user of the first device, notification information of delivering the user status of the user of the second device to the user of the first device, and notification information of delivering inquiry information to the user of the first device.
[0199] In some embodiments of the present application, the above-mentioned "delivering to-do items to the user of the first device" includes but is not limited to: shooting videos, taking photos, catching fish, collecting sea urchins, and picking up garbage.
[0200] For example, "shoot a 5s coral video", "shoot an image of red coral", "shoot an image of a school of fish", "remember to collect sea urchins", "catch that red sea fish", "pick up the seabed garbage under your feet", etc.
[0201] In some embodiments of the present application, the above-mentioned "transmitting the user status of the user of the second device to the user of the first device" includes but is not limited to: the oxygen content status in the oxygen cylinder carried by the user, the health status of the user's body, and the safety status of the diving equipment carried by the user.
[0202] For example: "I'm fine, there's enough oxygen in the oxygen tank", "There's not enough oxygen in the oxygen tank, I need to change it", "I feel a little dizzy and need to go ashore to rest", "I have a cramp in my leg and I need to surface", "My diving mask is cracked and I need to go ashore as soon as possible", "I can continue diving", etc.
[0203] In some embodiments of the present application, the above-mentioned "transmitting inquiry information to the user of the first device" includes but is not limited to: inquiring about the user's user status, inquiring about the user's location, inquiring about the user's shooting task, and inquiring about the user's current diving distance.
[0204] For example, the above-mentioned "notification message conveying inquiry information to the user of the first device" may include but is not limited to: "Can you continue to dive?", "Is there enough oxygen in your oxygen tank?", "Have you completed your shooting task?", "Have you taken a good photo for me?", "What depth did you dive to?", etc.
[0205] In some embodiments of the present application, the at least one message identifier is always displayed on the shooting preview interface, so that the user can communicate with other contacts at any time.
[0206] In some embodiments of the present application, after the second device displays the communication window between the first contact and the second contact, the user can control the second device to display at least one message identifier on the shooting preview interface through an input.
[0207] For example, after displaying a communication window between the first contact and the second contact, the second device may display the communication window in a small window mode on the shooting preview interface. Subsequently, if the second contact wants to communicate with the first contact, the second device may control the second device to display at least one message indicator on the shooting preview interface through an input.
[0208] In some embodiments of the present application, the shooting preview interface displays a dive control control and a notification control. A user can select the dive control control to control the second device to display a message icon indicating dive control information on the shooting preview interface; or select the notification control to control the second device to display a message icon indicating notification information on the shooting preview interface.
[0209] Example 7, combined with Example 1, taking the second device as "Xiao Li's" mobile phone and the first device as "Xiao Wang's" mobile phone as an example, combined with Figure 4A, "Xiao Li's" mobile phone displays the contact window 12 of the personal communication program A on the shooting preview interface 10. If "Xiao Li" wants to communicate with "Xiao Wang", he can click on "Xiao Wang's" contact icon 13 in the air, that is, the above-mentioned second input, to control the mobile phone to display the communication interface 31 between "Xiao Li" and "Xiao Wang" in the personal communication program A. As shown in Figure 7A, the communication interface 31 can be displayed in the form of a small window in the shooting preview interface. At the same time, the shooting preview interface displays the "diving control" control 32 and the "notification" control 33.
[0210] Furthermore, if "Xiao Li" wants to take a frontal photo of "Xiao Wang" and the coral, and "Xiao Wang" is facing away from "Xiao Li", "Xiao Li" can click the "Diving Control" control 32 in the air to control the mobile phone to display three message icons in the shooting preview interface, as shown in Figure 7B, namely the "Turn Around" message icon 321, the "Dive" message icon 322, and the "Float" message icon 323.
[0211] Furthermore, if "Xiao Li" wants to know the current diving depth of "Xiao Wang", "Xiao Li" can click the "Notification" control 33 in the air to control the mobile phone to display 4 message icons in the shooting preview interface, as shown in Figure 7C, "What depth have you reached?" message icon 331, "Is there enough oxygen in your oxygen tank?" message icon 332, "Take a picture of red coral" message icon 333 and "I feel a little dizzy and need to go ashore to rest" message icon 334.
[0212] In some embodiments of the present application, in combination with FIG. 1 , as shown in FIG. 8 , after the above step 204 , the communication method provided in the embodiment of the present application further includes the following steps 301 and 302 .
[0213] Step 301: The second device receives a third input from a user for one of at least one information identifier.
[0214] In some embodiments of the present application, the third input is used to select an information identifier, which indicates communication information.
[0215] In some embodiments of the present application, the third input includes air gesture input, user input on a physical button on the second device, or user input on the screen of the second device.
[0216] Exemplarily, the third input may be an air click input by the user on a contact identifier.
[0217] Exemplarily, the third input includes user input on a physical button on the second device.
[0218] Exemplarily, the physical button on the second device may be: a volume up button, a volume down button, a power button, or any physical button on the second device.
[0219] Exemplarily, the above-mentioned “user input on a physical key on the second device” may be user input on one physical key on the second device, user input on multiple physical keys on the second device, or user input on a combination of physical keys.
[0220] Exemplarily, the third input may include a user pressing the volume down button and a user pressing the audio up button. For example, assuming the user wants to select contact ID 1 displayed in the shooting preview interface, the user can press the volume down button to control the second device to select the contact ID 1 from multiple contact IDs displayed in the shooting preview interface, and then press the volume up button to control the second device to confirm the selection of contact ID 1, thereby controlling the second device to display a communication interface between the contact corresponding to the second device and the contact indicated by contact ID 1.
[0221] Exemplarily, the third input may be a user pressing input on a screen area of the screen of the second device.
[0222] It should be noted that, for the specific description of the third input, reference may be made to the detailed description of the first input above, and in order to avoid repetition, details will not be repeated here.
[0223] Step 302: The second device sends a communication message to the first device through the communication window in response to the third input.
[0224] In some embodiments of the present application, the communication message includes communication information indicated by the information identifier selected by the third input.
[0225] In some embodiments of the present application, after receiving the third input, the second device will display the information content of the communication information indicated by the information identifier selected by the third input in the message sending box of the communication window, and after the user controls the second device to send the message, the communication information will be sent to the first device of the first contact corresponding to the communication window through the communication application corresponding to the communication window.
[0226] In some embodiments of the present application, after receiving the third input, the second device will directly send the communication information to the first device of the first contact corresponding to the communication window through the communication application corresponding to the communication window.
[0227] It should be noted that if the communication window is a conversation window, the second device and the first device can display the communication information sent by the second device in the conversation window. If the communication window is a video call window, the second device can display a prompt indicating that the communication information was successfully sent. In this case, the video call window of the first device can display a bullet screen to indicate the communication information sent by the second device.
[0228] Example 8, combined with Example 7, for the above scenario 1, if "Xiao Li" wants to take a frontal photo of "Xiao Wang" and the coral, since "Xiao Wang" is facing away from "Xiao Li" at this time, combined with Figure 7B, "Xiao Li" can air-click the "turn around" message icon 321 to control the mobile phone to send a message containing the information "turn around" to "Xiao Wang's" mobile phone in the communication interface 31 through the personal communication program A, so that "Xiao Wang" sees the message and turns around, and then uses gestures to instruct it to get closer to the coral to complete the shooting task.
[0229] Example 9, combined with Example 7, for the above scenario 2, if "Xiao Li" wants to know the current diving depth of "Xiao Wang", combined with Figure 7C, "Xiao Li" can air-click the "Which depth have you reached?" message icon 331, thereby controlling the mobile phone to send a message containing the information "Which depth have you reached?" to "Xiao Wang's" mobile phone in the communication interface 31 through the personal communication program A, so that "Xiao Wang" can check the message and reply to "Xiao Li" about his current diving depth.
[0230] In this way, since the second device can display at least one information identifier, the user does not need to edit the message content. Just by selecting the information identifier, the communication message indicated by the information identifier can be sent, thereby reducing the steps that the user needs to perform during the communication process and improving the convenience of underwater communication.
[0231] In some embodiments of the present application, as shown in FIG9 , the communication method provided in the embodiment of the present application further includes the following steps 401 to 404 .
[0232] Step 401: The second device receives first underwater position information sent by the first device.
[0233] In some embodiments of the present application, the above-mentioned first underwater position information includes: the height information of the first device underwater from the water surface, and the longitude and latitude information of the location of the first device.
[0234] Step 402: The second device determines an underwater relative position relationship between the first device and the second device based on the first underwater position information and the second underwater position information of the second device.
[0235] In some embodiments of the present application, the above-mentioned second underwater position information includes: the height information of the second device underwater from the water surface, and the longitude and latitude information of the location of the second device.
[0236] It should be noted that the above-mentioned height information of the device underwater from the water surface refers to the height information of the vertical height of the device from the horizontal plane.
[0237] It should be noted that the latitude and longitude information of the location of the above-mentioned device refers to the latitude and longitude information of the current location of the device.
[0238] In some embodiments of the present application, the underwater relative position relationship between the first device and the second device includes: the height difference between the underwater height of the first device from the water surface and the underwater height of the second device from the water surface, and the horizontal distance difference between the first device and the second device.
[0239] For example, assuming that the vertical height of device 1 from the horizontal plane is H1, and the latitude and longitude of device 1's current location is (M1, N1), and the vertical height of device 2 from the horizontal plane is H2, and the latitude and longitude of device 2's current location is (M2, N2), then based on the latitude and longitude (M1, N1) and the latitude and longitude (M2, N2), the horizontal relative distance L between device 1 and device 2 and the horizontal relative direction F between device 1 and device 2 can be calculated. In this case, the relative positions of device 1 and device 2 can be considered as follows: the horizontal relative distance between device 1 and device 2 is L, the horizontal relative direction between device 1 and device 2 is direction F, and the height difference between device 1 and device 2 is H1-H2.
[0240] For example, assuming that the vertical height of device 1 from the horizontal plane is 10 meters, the latitude and longitude of the current location of device 1 is (120, 39.5), the vertical height of device 2 from the horizontal plane is 5 meters, and the latitude and longitude of the current location of device 2 is (120, 39.5001), then at this time, device 1 and device 2 are facing due south, and the horizontal relative distance between device 1 and device 2 is approximately 11 meters, and the height difference is 5 meters.
[0241] Step 403: The second device displays the first contact identifier and the second contact identifier of the second contact on the shooting preview interface according to the mapping relationship between the underwater relative position relationship between the first device and the second device and the display position relationship of the two contact identifiers on the shooting preview interface.
[0242] In some embodiments of the present application, the first contact identifier includes at least one of the following: a first contact icon, and an environmental image of the actual underwater location of the first device.
[0243] In some embodiments of the present application, the second contact identifier includes at least one of the following: a second contact icon, and an environmental image of the actual underwater location of the second device.
[0244] In some embodiments of the present application, the environmental image of the actual underwater position of the first device may be a real-time shooting preview screen shared by the first device to the second device.
[0245] In some embodiments of the present application, the environmental image of the actual underwater position of the second device may be a real-time shooting preview image captured by the second device.
[0246] In some embodiments of the present application, the second device may determine a mapping relationship between the underwater relative position relationship between the first device and the second device and the display position relationship between the two contact identifiers on the shooting preview interface based on the interface size of the shooting preview interface.
[0247] It is understood that the distance between the display positions of the two contact identifiers in the shooting preview interface is related to the actual horizontal distance. That is, when the actual distance between the devices corresponding to the two contact identifiers decreases, the distance between the two contact identifiers in the shooting preview interface decreases.
[0248] In some embodiments of the present application, the above-mentioned second device can determine the mapping relationship between the underwater relative position relationship between the first device and the second device and the display position relationship between the two contact identifiers on the shooting preview interface based on the interface size of the shooting preview interface and the initial underwater relative position relationship between the first device and the second device.
[0249] Exemplarily, the initial underwater relative position relationship between the first device and the second device is the underwater relative position relationship between the first device and the second device determined for the first time.
[0250] Exemplarily, the above-mentioned second device can determine the horizontal mapping relationship between the underwater horizontal relative distance between the first device and the second device and the horizontal display position relationship between the two contact identifiers on the shooting preview interface based on the interface size of the shooting preview interface and the initial underwater horizontal relative distance between the first device and the second device.
[0251] For example, if the interface width of the shooting preview interface is 8 cm and the initial underwater horizontal relative distance between the first device and the second device is 80 meters, then the above horizontal mapping relationship can be 1000:1, that is, for every 10 meters closer the first device and the second device are in the horizontal dimension, the horizontal distance between the display positions of the two contact icons on the shooting preview interface decreases by 1 cm.
[0252] Exemplarily, the above-mentioned second device can determine the vertical mapping relationship between the underwater vertical relative distance between the first device and the second device and the vertical display position relationship between the two contact identifiers on the shooting preview interface based on the interface size of the shooting preview interface and the initial underwater vertical relative distance between the first device and the second device.
[0253] For example, if the interface height of the shooting preview interface is 15 cm and the initial underwater vertical relative distance between the first device and the second device is 45 meters, then the above vertical mapping relationship can be 300:1, that is, for every 3 meters closer the first device and the second device are in the vertical dimension, the vertical distance between the display positions of the two contact icons on the shooting preview interface decreases by 1 cm.
[0254] In some embodiments of the present application, the shooting preview interface includes a coordinate system, which includes a horizontal coordinate axis and a vertical coordinate axis. The horizontal coordinate axis is used to reflect the horizontal relative position between devices, and the vertical coordinate axis is used to reflect the vertical relative position between devices.
[0255] For example, the scale interval and scale unit step size of the horizontal coordinate axis in the above coordinate system are determined based on the above horizontal mapping relationship. For example, assuming that the above horizontal mapping relationship can be 1000:1, if the scale unit of the horizontal coordinate axis is meters, the scale unit step size corresponding to one scale interval of the horizontal coordinate axis is 10 meters.
[0256] For example, the scale interval and scale unit step size of the vertical coordinate axis in the above coordinate system are determined based on the above vertical mapping relationship. For example, assuming that the above vertical mapping relationship can be 300:1, if the scale unit of the vertical coordinate axis is meters, the scale unit step size corresponding to one scale interval of the vertical coordinate axis is 3 meters.
[0257] For example, let's say the second device is Xiao Li's phone and the first device is Xiao Wang's phone. After receiving the underwater location information sent by Xiao Wang's phone, Xiao Li's phone determines that Xiao Wang's phone is 9 meters vertically above the horizontal plane and has a latitude and longitude of (M2, N2). At this time, Xiao Li's phone is 21 meters vertically above the horizontal plane and has a latitude and longitude of (M1, N1). Then, Xiao Li's phone calculates and determines that the height difference between Xiao Li and Xiao Wang is 12 meters, the horizontal distance between Xiao Wang and Xiao Li is 60 meters, and that Xiao Wang is located north of Xiao Li. At this time, as shown in FIG10A , the shooting preview interface 10 includes a coordinate system, which includes a horizontal coordinate axis X and a vertical coordinate axis Y. The horizontal coordinate axis X is the horizontal distance between the devices, and the vertical coordinate axis Y is the height of the device from the horizontal plane. The arrow direction of the horizontal coordinate axis X indicates the north. The contact identifier of "Xiao Li" is displayed at the 20-meter scale of the horizontal coordinate axis and the 21-meter scale of the vertical coordinate axis, that is, the (2, 7) coordinate point in the coordinate system. The contact identifier of "Xiao Wang" is displayed at the intersection of the 80-meter scale of the horizontal coordinate axis and the 9-meter scale of the vertical coordinate axis, that is, the (8, 3) coordinate point in the coordinate system.
[0258] It should be noted that the correspondence between the actual length of the unit scale in the coordinate axis in the above coordinate system displayed on the screen and the scale value indicated by the unit scale can be considered as the above fixed mapping relationship.
[0259] Step 404: The second device updates the display positions of the first contact identifier and the second contact identifier on the shooting preview interface according to the change in the underwater relative position relationship between the first device and the second device.
[0260] For example, referring to FIG10A , if the positions of both "Xiao Li" and "Xiao Wang" change, assuming that the vertical height of "Xiao Li" from the horizontal plane after the change is 15 meters and the vertical height of "Xiao Wang" from the horizontal plane is 12 meters, the horizontal distance between "Xiao Wang" and "Xiao Li" is 30 meters, and "Xiao Wang" is located to the north of "Xiao Li", as shown in FIG10B , the contact ID of "Xiao Li" is displayed at the intersection of the 30-meter scale on the horizontal coordinate axis and the 15-meter scale on the vertical coordinate axis, that is, the coordinate point (3, 5) in the coordinate system, and the contact ID of "Xiao Wang" is displayed at the intersection of the 60-meter scale on the horizontal coordinate axis and the 12-meter scale on the vertical coordinate axis, that is, the coordinate point (6, 4) in the coordinate system.
[0261] In this way, since the second device can receive the underwater position information of the first device and display the contact identifier in the shooting preview interface based on the relative position relationship between the second device and the first device, the user can more intuitively obtain the relative position and distance between other users and himself, which improves the convenience of finding other users, and can further reduce the risk of users getting lost, thereby ensuring the personal safety of users.
[0262] In some embodiments of the present application, as shown in FIG11 , the communication method provided in the embodiment of the present application further includes the following steps 501 to 503 .
[0263] Step 501: When the actual distance between the first device and the second device is less than a second distance threshold, the second device receives at least one preview image sent by the first device.
[0264] Step 502: Whenever the second device receives a preview image sent by the first device, the second device fuses the preview image sent by the first device with the preview image captured by the camera of the second device at the same time to obtain a fused preview image.
[0265] Step 503: The second device sequentially displays the fusion preview images obtained from each fusion on the shooting preview interface.
[0266] It can be understood that when the actual distance between the first device and the second device is small, the first device and the second device will capture the same shooting scene. Therefore, when the first device and the second device gradually approach, the two devices will capture the same or similar shooting preview screens. At this time, the second device can show the user a display animation in which the preview screens of the two are gradually merged.
[0267] In some embodiments of the present application, when the second device performs image fusion, it can perform fusion in at least two fusion modes.
[0268] Method 1: The second device directly stitches the two preview images to obtain a fused preview image.
[0269] Method 2: The second device performs deduplication fusion on the two preview images to produce a fused preview image. Specifically, the second device can identify identical and differing image content in the two preview images and remove the identical image content in one preview image as redundant image blocks, thereby achieving image deduplication. The preview image that differs from the other preview image can then be fused with the other preview image to produce a fused preview image.
[0270] In some embodiments of the present application, the second device can share its captured real-time shooting preview image with the first device. That is, the second device will continuously send multiple preview image frames to the second device. In this case, the second device can fuse the multiple preview image frames with its own image frames captured at the same time, one by one, according to the capture time of each frame in the multiple preview image frames, so that the user can see a fused real-time preview image on the shooting preview interface.
[0271] In this way, the second device can increase the field of view of the underwater images that the user can see by fusing the preview images taken by the two devices, allowing the user to see the underwater images taken by his own device and the underwater images taken by the cameras of other devices at the same time, thereby improving the flexibility and fun of the image display.
[0272] In some embodiments of the present application, the communication method provided in the embodiments of the present application further includes the following step 601.
[0273] Step 601: The second device displays navigation prompt information on the shooting preview interface.
[0274] In some embodiments of the present application, the above-mentioned navigation prompt information includes at least one of the following: navigation direction prompt information, and actual distance information between the first device and the second device.
[0275] In some embodiments of the present application, the above-mentioned navigation direction prompt information includes navigation prompt information in the horizontal plane direction and the vertical plane direction.
[0276] In some embodiments of the present application, the above-mentioned navigation direction prompt information includes but is not limited to at least one of the following: displaying distance in the form of text, displaying direction in the form of text, and indicating direction in the form of an icon.
[0277] In some embodiments of the present application, the icon indicating the direction may be a 3D icon.
[0278] In some embodiments of the present application, the second device directly displays the navigation prompt information on the shooting preview interface; or, the second device displays a navigation window on the shooting preview interface, and the navigation prompt information is displayed in the navigation window.
[0279] Exemplarily, the navigation window may be a floating window.
[0280] Exemplarily, the window background in the navigation window may be transparent.
[0281] For example, let's take the second device, "Xiao Li," as an example. In conjunction with Figure 2 , in a scenario where "Xiao Li" and "Xiao Wang" are filming together while diving, if "Xiao Li" wants to know "Xiao Wang's" specific location, "Xiao Li" can air-click the map application program icon c in the shooting preview interface 10, i.e., the first input described above. At this point, "Xiao Li's" phone can display the map application's contact window on the shooting preview interface 10. This contact window can contain three contact identifiers: the contact identifier for "Xiao Wang," the contact identifier for "Xiao Zhang," and the group identifier for "Underwater Photography Group." "Xiao Li" can control the phone to select the contact identifier for "Xiao Wang" through air-input. At this point, as shown in Figure 12 , the shooting preview interface 10 on "Xiao Li's" phone will display navigation route information from "Xiao Li" to "Xiao Wang," e.g., moving 20 meters forward, with an arrow 51 indicating the direction of movement.
[0282] In this way, since the light underwater is poor and the user is wearing diving equipment, it is not easy for the user to find his companions. Therefore, the user can learn how to find other users through the navigation prompt information displayed on the second device, so as to find his companions more conveniently, thereby improving the convenience of locating the position of other users and further reducing the risk of the user getting lost with other users.
[0283] The present invention provides a communication method, and Figure 13 shows a flow chart of the communication method provided by the present invention. As shown in Figure 13, the communication method provided by the present invention may include the following steps 701 to 703.
[0284] Step 701: The first device displays a communication window.
[0285] In some embodiments of the present application, the communication window is a communication window between a first contact and a second contact, wherein the first contact is a contact corresponding to the first device, and the second contact is a contact corresponding to the second device.
[0286] In some embodiments of the present application, the communication window includes at least one of the following: a conversation window and a video call window.
[0287] In some embodiments of the present application, when the communication window includes a conversation window, the first contact and the second contact may exchange information by transmitting communication messages.
[0288] In some embodiments of the present application, when the communication window includes a video call window, the first contact and the second contact can view each other through video, or view the shooting preview screen obtained by the other party's device.
[0289] In some embodiments of the present application, the first device may display the communication window in full screen.
[0290] In some embodiments of the present application, the communication window may be a floating window, that is, the communication window may be displayed in a floating manner on the shooting preview interface.
[0291] Exemplarily, the window background of the above-mentioned communication window can be transparent, and the user can view the preview screen below the communication window through the communication window. In this way, the communication window can be prevented from blocking the shooting preview screen displayed in the shooting preview interface, so that the user can view the preview screen collected by the first device while viewing the communication message.
[0292] In some embodiments of the present application, the first device can display the above-mentioned communication window at any position on the shooting preview interface.
[0293] In some embodiments of the present application, the window size and display position of the communication window can be adjusted.
[0294] Exemplarily, the user flexibly adjusts the window size of the communication window through air gesture input, such as the user controls the second device to reduce the window size of the communication window through two-finger air pinch input, or the user controls the first device to enlarge the window size of the communication window through two-finger air expand input.
[0295] Exemplarily, the user drags the communication window to move by air dragging input, and the communication window can move on the shooting preview interface along with the user's dragging operation.
[0296] Step 702: The first device receives a communication message sent by the second device through the communication window.
[0297] In some embodiments of the present application, the communication message includes communication information, which is information indicated by an information identifier selected by a user of the second device from at least one information identifier.
[0298] In some embodiments of the present application, the communication information includes at least one of the following: diving control information and notification information.
[0299] In some embodiments of the present application, when the communication information includes diving control information, the diving control information includes control information for controlling the adjustment of the diving posture or diving action, and the diving control information is used to instruct the user of the first device to adjust the diving posture or diving action.
[0300] In some embodiments of the present application, when the communication information includes notification information, the notification information includes at least one of the following: notification information for delivering a to-do item to the user of the first device, notification information for delivering the user status of the user of the second device to the user of the first device, and notification information for delivering inquiry information to the user of the first device.
[0301] It should be noted that the detailed description of the above diving control information and notification information can be referred to the detailed description above, which will not be repeated here.
[0302] In some embodiments of the present application, the first device receives the communication information sent by the second device in the communication window through the communication application corresponding to the communication window.
[0303] Step 703: The first device displays communication information.
[0304] In some embodiments of the present application, in combination with FIG. 13 , as shown in FIG. 14 , the above step 703 may be specifically implemented through the following step 703 a.
[0305] Step 703a: When the communication window is displayed in full screen, the first device displays a message or a bullet comment in the communication window.
[0306] In some embodiments of the present application, the above-mentioned messages and barrages both include communication information.
[0307] In some embodiments of the present application, when the communication window is displayed in full screen, if the first device receives a communication message in the communication window, the first device can display the communication message in the communication window in the form of a barrage, or the first device can display the communication message in the communication window.
[0308] Exemplarily, when the first device displays the communication information above the communication window in the form of a bullet screen, the bullet screen may be displayed at a fixed position of the communication window, or the bullet screen may float above the communication window.
[0309] For example, taking the first device as "Xiao Wang's" mobile phone and the second device as "Xiao Li's" mobile phone as an example, as shown in Figure 15, if "Xiao Wang's" mobile phone receives message 1 sent by "Xiao Li's" mobile phone through personal communication program A, and the message content of message 1 includes "turn around", then "Xiao Li's" mobile phone can full-screen the communication window 41 between "Xiao Wang" and "Xiao Li" in personal communication program A, and display the message 1 in the communication window 41, that is, 42 in Figure 15, and display the barrage 1 in the center above the communication window 41, and the barrage content of the barrage 1 includes "turn around".
[0310] In this way, after the first device receives the communication information sent by the second device, the first device does not need to exit the shooting preview interface, and can display the communication window in full screen to display the received information, reducing the operation steps brought about by program switching.
[0311] In some embodiments of the present application, in combination with FIG. 13 , as shown in FIG. 16 , the above step 703 may be specifically implemented through the following step 703 b.
[0312] Step 703b: When the shooting preview interface of the first device is displayed in full screen and the communication window is superimposed on the shooting preview interface, the first device displays a prompt message in the communication window or updates the display mode of the communication window, and displays a barrage on the shooting preview interface.
[0313] In some embodiments of the present application, the above-mentioned prompt information and barrage both include communication information.
[0314] In some embodiments of the present application, the above-mentioned display mode includes at least one of the following: vibration mode, highlight display mode, magnification display mode, and color change display mode.
[0315] In some embodiments of the present application, when the shooting preview interface of the first device is displayed in full screen, in order to avoid the above-mentioned communication window blocking the shooting preview screen in the shooting preview interface, the communication window can be superimposed on the shooting preview interface in a small window mode. At this time, in order to avoid the user of the first device missing the message, the first device can send a prompt message or change the display mode of the communication window to remind the user of the first device that a new message has arrived.
[0316] In some embodiments of the present application, after receiving a communication message, the first device displays the communication message in the form of a bullet screen on the shooting preview interface, so that the user of the first device can view the detailed content of the communication information without displaying the communication window in full screen, thereby reducing unnecessary message viewing operations.
[0317] For example, taking the first device as "Xiao Wang's" mobile phone and the second device as "Xiao Li's" mobile phone, as shown in Figure 17, if "Xiao Wang's" mobile phone receives message 2 sent by "Xiao Li's" mobile phone through personal communication program A, the message content of message 2 includes "Which depth have you reached?", at this time, "Xiao Wang's" mobile phone can superimpose the communication window 43 between "Xiao Wang" and "Xiao Li" in personal communication program A on the shooting preview interface in small window mode, and display the message 2 in the communication window 43, that is, 44 in Figure 17, and display the barrage 2 in the center above the shooting preview interface, and the barrage content of the barrage 2 includes "Which depth have you reached?".
[0318] In this way, after the first device receives the communication information sent by the second device, the first device does not need to exit the shooting preview interface. The communication window can be superimposed on the shooting preview interface to display the received information, reducing the operation steps brought about by program switching.
[0319] In the communication method provided in the embodiment of the present application, the first device can receive communication messages sent by the second device, so that the user of the first device and the user of the second device can communicate directly by transmitting communication messages between the devices without exiting the shooting preview interface, thereby reducing the operating steps brought about by program switching, simplifying the communication process, improving the convenience of user communication, and realizing normal communication and communication between device users in underwater shooting scenes.
[0320] The above-mentioned method embodiments, or various possible implementation methods in each method embodiment, can be executed separately, or, under the premise that there is no contradiction, can also be executed in combination with each other. The specific implementation can be determined according to actual usage requirements, and the embodiments of the present application do not limit this.
[0321] It should be noted that the communication method provided in the embodiments of the present application can be executed by a communication device, an electronic device, or a functional module or entity in an electronic device. In the embodiments of the present application, the communication method performed by an electronic device is used as an example to illustrate the communication device provided in the embodiments of the present application.
[0322] FIG18 shows a possible structural diagram of a communication device involved in an embodiment of the present application. As shown in FIG18 , the communication device 80 may include: a receiving module 81 and a display module 82 .
[0323] The receiving module 81 is used to receive a first input from a user on a communication icon among at least one communication icon displayed on the shooting preview interface. The first input is used to select a communication icon, and the communication icon is used to indicate a communication application.
[0324] The display module 82 is used to respond to the first input received by the receiving module 81 and display at least one contact identifier of the communication application indicated by the communication icon selected by the first input on the shooting preview interface, where the contact identifier is used to indicate a contact or a conversation group in the communication application.
[0325] The receiving module 81 is further configured to receive a second input from a user regarding a first contact identifier among the at least one contact identifier displayed by the display module 82 , wherein the second input is used to select a contact identifier, where the first contact identifier indicates a first contact.
[0326] The display module 82 is further used to display a communication window in response to the second input received by the receiving module 81. The communication window is a communication window between the first contact and the second contact. The first contact is the contact corresponding to the first device, and the second contact is the contact corresponding to the second device.
[0327] In the communication device provided in the embodiment of the present application, by displaying one or more communication icons on the shooting preview interface, the user can easily control the device to call out the communication window with any contact by operating the communication icon in the shooting preview interface in the underwater shooting scene, without having to exit the shooting preview interface, thereby reducing the tedious user operation steps of program switching, simplifying the communication process, improving the convenience of user communication, and realizing normal communication and communication between device users in the underwater shooting scene.
[0328] In one possible implementation, the first input includes air gesture input, or user input on a physical button on the second device; the second input includes air gesture input, or user input on a physical button on the second device; the communication window includes at least one of the following: a conversation window, a video call window.
[0329] In one possible implementation, the shooting preview interface includes: at least one information identifier, which is used to indicate a communication message. The receiving module 81 is also used to receive a third input from the user for one of the at least one information identifiers after the display module 82 displays the communication window, and the third input is used to select an information identifier, which indicates communication information. The communication device 80 provided in the embodiment of the present application also includes a sending module for sending a communication message to the first device through the communication window in response to the third input received by the receiving module 81, and the communication message includes the communication information indicated by the information identifier selected by the third input.
[0330] In a possible implementation, the communication information includes at least one of the following: diving control information and notification information.
[0331] In a possible implementation, when the communication information includes diving control information, the diving control information includes control information for controlling adjustment of a diving posture or diving action, and the diving control information is used to instruct a user of the first device to adjust a diving posture or diving action.
[0332] In one possible implementation, when the communication information includes notification information, the notification information includes at least one of the following: notification information for delivering a to-do item to the user of the first device, notification information for delivering the user status of the user of the second device to the user of the first device, and notification information for delivering inquiry information to the user of the first device.
[0333] In one possible implementation, the at least one contact identifier includes at least one of the following: the contact identifier of the contact corresponding to the device whose signal strength is greater than the strength threshold, and the contact identifier of the contact corresponding to the device whose distance to the second device is less than the first distance threshold and which has established a Bluetooth connection with the second device.
[0334] In one possible implementation, the at least one contact identifier includes a contact identifier of a contact corresponding to a device whose distance from the second device is less than a first distance threshold and which has established a Bluetooth connection with the second device. The second device and the first device have been Bluetooth paired and a Bluetooth connection has been established. The communication device 80 provided in the embodiment of the present application also includes a processing module for disconnecting the Bluetooth connection between the first device and the second device when the distance between the second device and the first device is greater than the first distance threshold. The communication device 80 provided in the embodiment of the present application also includes a monitoring module for monitoring changes in the distance from the first device. The processing module is also used to re-establish the Bluetooth connection with the first device when the monitoring module detects that the distance from the first device changes from greater than the first distance threshold to less than the first distance threshold. The display module 82 is also used to use the contact identifier of the contact corresponding to the first device as a contact identifier that can be displayed on the shooting preview interface when the monitoring module detects that the distance from the first device changes from greater than the first distance threshold to less than the first distance threshold.
[0335] In one possible implementation, the receiving module 81 is further configured to receive first underwater location information transmitted by the first device, the first underwater location information including: underwater height information of the first device from the water surface and latitude and longitude information of the first device's location. The communication device 80 provided in this embodiment of the present application further includes a determination module for determining the underwater relative position relationship between the first device and the second device based on the first underwater location information received by the receiving module 81 and the second underwater location information of the second device, the second underwater location information including: underwater height information of the second device from the water surface and latitude and longitude information of the second device's location. The display module 82 is further configured to display the first contact identifier and the second contact identifier of the second contact on the shooting preview interface according to a mapping relationship between the underwater relative position relationship determined by the determination module and the display position relationship of the two contact identifiers on the shooting preview interface. The display module 82 is further configured to update the display positions of the first contact identifier and the second contact identifier on the shooting preview interface in response to changes in the underwater relative position relationship between the first and second devices. The first contact identifier includes at least one of the following: a first contact icon, an environmental image of the actual underwater location of the first device; the second contact identifier includes at least one of the following: a second contact icon, an environmental image of the actual underwater location of the second device.
[0336] In one possible implementation, the receiving module 81 is further configured to receive at least one preview image sent by the first device when the actual distance between the first device and the second device is less than a second distance threshold. The communication device 80 provided in the embodiment of the present application further includes a fusion module configured to fuse the preview image sent by the first device with the preview image captured by the camera of the second device at the same time each time the receiving module 81 receives a preview image sent by the first device, thereby obtaining a fused preview image. The display module 82 is further configured to sequentially display the fused preview images obtained by each fusion on the shooting preview interface.
[0337] In one possible implementation, the display module 82 is further configured to display navigation prompt information on the shooting preview interface. The navigation prompt information includes at least one of the following: navigation direction prompt information and actual distance information between the first device and the second device; the navigation direction prompt information includes navigation prompt information in the horizontal plane and the vertical plane.
[0338] In one possible implementation, the above-mentioned display module 82 is also used to display at least one communication icon on the shooting preview interface before the receiving module 81 receives the user's first input for one of the at least one communication icons displayed on the shooting preview interface, when it is monitored that the shooting environment is an underwater shooting environment.
[0339] FIG19 shows a possible structural diagram of a communication device involved in an embodiment of the present application. As shown in FIG19 , the communication device 90 may include: a display module 91 and a receiving module 92 .
[0340] The display module 91 is used to display a communication window; the communication window is a communication window between a first contact and a second contact, the first contact is a contact corresponding to the first device, and the second contact is a contact corresponding to the second device.
[0341] The receiving module 92 is used to receive a communication message sent by the second device through the communication window displayed by the display module 91. The communication message includes communication information, which is information indicated by an information identifier selected by the user of the second device from at least one information identifier.
[0342] The display module 91 is used to display the communication information received by the receiving module 92 .
[0343] In the communication device provided in the embodiment of the present application, the first device can receive communication messages sent by the second device, so that the user of the first device and the user of the second device can communicate directly by transmitting communication messages between the devices without exiting the shooting preview interface, thereby reducing the operating steps brought about by program switching, simplifying the communication process, improving the convenience of user communication, and realizing normal communication and communication between device users in underwater shooting scenes.
[0344] In a possible implementation, the communication window includes at least one of the following: a conversation window and a video call window.
[0345] In a possible implementation, the communication information includes at least one of the following: diving control information and notification information.
[0346] In a possible implementation, when the communication information includes diving control information, the diving control information includes control information for controlling adjustment of a diving posture or diving action, and the diving control information is used to instruct a user of the first device to adjust a diving posture or diving action.
[0347] In one possible implementation, when the communication information includes notification information, the notification information includes at least one of the following: notification information of delivering to-do items to the user of the first device, notification information of delivering the user status of the user of the second device to the user of the first device, and notification information of delivering inquiry information to the user of the first device.
[0348] In one possible implementation, the above-mentioned display module 91 is specifically used to display a message or a barrage in the communication window when the communication window is displayed in full screen, and the message and barrage both include communication information; when the shooting preview interface of the first device is displayed in full screen and the communication window is superimposed on the shooting preview interface, a prompt message is displayed in the communication window or the display mode of the communication window is updated, and a barrage is displayed on the shooting preview interface, and the prompt message and barrage both include communication information; wherein the display mode includes at least one of the following: vibration mode, highlight display mode, enlarged display mode, and color change display mode.
[0349] The communication device in the embodiment of the present application can be an electronic device or a component in an electronic device, such as an integrated circuit or a chip. The electronic device can be a terminal or other device other than a terminal. For example, the electronic device can be a mobile phone, a tablet computer, a laptop computer, a PDA, an in-vehicle electronic device, a mobile Internet device (MID), an augmented reality (AR) / virtual reality (VR) device, a robot, a wearable device, an ultra-mobile personal computer (UMPC), a netbook or a personal digital assistant (PDA), etc. It can also be a server, a network attached storage (NAS), a personal computer (PC), a television (TV), a teller machine or a self-service machine, etc., and the embodiment of the present application does not specifically limit it.
[0350] The communication device in the embodiment of the present application may be a device having an operating system. The operating system may be an Android operating system, an iOS operating system, or other possible operating systems, which are not specifically limited in the embodiment of the present application.
[0351] The communication device provided in the embodiment of the present application can implement each process implemented in the above method embodiment. To avoid repetition, it will not be described here.
[0352] Optionally, as shown in Figure 20, an embodiment of the present application also provides an electronic device 100, including a processor 101 and a memory 102, and the memory 102 stores a program or instruction that can be run on the processor 101. When the program or instruction is executed by the processor 101, the various steps of the above-mentioned communication method embodiment are implemented and the same technical effect can be achieved. To avoid repetition, it will not be repeated here.
[0353] It should be noted that the electronic devices in the embodiments of the present application include the mobile electronic devices and non-mobile electronic devices mentioned above.
[0354] FIG21 is a schematic diagram of the hardware structure of an electronic device implementing an embodiment of the present application.
[0355] The electronic device 1100 includes but is not limited to components such as a radio frequency unit 1101 , a network module 1102 , an audio output unit 1103 , an input unit 1104 , a sensor 1105 , a display unit 1106 , a user input unit 1107 , an interface unit 1108 , a memory 1109 , and a processor 1110 .
[0356] Those skilled in the art will appreciate that the electronic device 1100 may further include a power source (such as a battery) for powering various components. The power source may be logically connected to the processor 110 via a power management system, thereby enabling the power management system to manage charging, discharging, and power consumption. The electronic device structure shown in FIG21 does not limit the electronic device. The electronic device may include more or fewer components than shown, or may combine certain components, or have different component arrangements, which will not be described in detail here.
[0357] Here, taking the electronic device 1100 as the second device as an example:
[0358] The user input unit 1107 is used to receive a first input from a user on a communication icon among at least one communication icon displayed on the shooting preview interface. The first input is used to select a communication icon, and the communication icon is used to indicate a communication application.
[0359] The display unit 1106 is used to respond to the first input received by the user input unit 1107 and display at least one contact identifier of the communication application indicated by the communication icon selected by the first input on the shooting preview interface, where the contact identifier is used to indicate a contact or a conversation group in the communication application.
[0360] The user input unit 1107 is further configured to receive a second input from the user regarding a first contact identifier among the at least one contact identifier displayed by the display unit 1106 , wherein the second input is used to select a contact identifier, where the first contact identifier indicates a first contact.
[0361] The display unit 1106 is further used to display a communication window in response to a second input received by the user input unit 1107. The communication window is a communication window between the first contact and the second contact. The first contact is the contact corresponding to the first device, and the second contact is the contact corresponding to the second device.
[0362] In the electronic device provided in the embodiment of the present application, by directly displaying one or more communication icons in the shooting preview interface, the user can directly communicate with the contacts in the communication application indicated by the communication icon through the communication icon in the shooting preview interface in the underwater shooting scene, without having to exit the shooting preview interface, thereby reducing the operating steps brought about by program switching, simplifying the communication process, improving the convenience of user communication, and realizing normal communication and communication between device users in the underwater shooting scene.
[0363] Optionally, the first input includes air gesture input, or user input on physical buttons on the second device; the second input includes air gesture input, or user input on physical buttons on the second device; the communication window includes at least one of the following: a conversation window, a video call window.
[0364] Optionally, the shooting preview interface includes at least one information identifier, the information identifier being used to indicate a communication message. User input unit 1107 is further configured to receive a third user input for one of the at least one information identifiers after display unit 1106 displays the communication window, the third input being used to select an information identifier indicating a communication message. Processor 1110 is configured to, in response to the third input received by user input unit 1107, send a communication message to the first device via the communication window, the communication message including the communication message indicated by the information identifier selected by the third input.
[0365] Optionally, the communication information includes at least one of the following: diving control information and notification information.
[0366] Optionally, in the case where the communication information includes diving control information, the diving control information includes control information for controlling adjustment of a diving posture or a diving action, and the diving control information is used to instruct a user of the first device to adjust a diving posture or a diving action.
[0367] Optionally, when the communication information includes notification information, the notification information includes at least one of the following: notification information of delivering to-do items to the user of the first device, notification information of delivering user status of the user of the second device to the user of the first device, and notification information of delivering inquiry information to the user of the first device.
[0368] Optionally, the at least one contact identifier includes at least one of the following: the contact identifier of the contact corresponding to the device whose signal strength is greater than the strength threshold, and the contact identifier of the contact corresponding to the device whose distance to the second device is less than the first distance threshold and which has established a Bluetooth connection with the second device.
[0369] Optionally, the at least one contact identifier includes the contact identifier of the contact corresponding to the device whose distance from the second device is less than the first distance threshold and which has established a Bluetooth connection with the second device. The second device and the first device have been Bluetooth paired and a Bluetooth connection has been established. The processor 1110 is used to disconnect the Bluetooth connection between the first device and the second device when the distance between the second device and the first device is greater than the first distance threshold. The processor 1110 is used to monitor the change in the distance to the first device. The processor 1110 is also used to re-establish the Bluetooth connection with the first device when it is monitored that the distance to the first device changes from greater than the first distance threshold to less than the first distance threshold, and use the contact identifier of the contact corresponding to the first device as the contact identifier that can be displayed on the shooting preview interface.
[0370] Optionally, the user input unit 1107 is further configured to receive first underwater location information sent by the first device, the first underwater location information including: underwater height information of the first device from the water surface and latitude and longitude information of the first device's location. The processor 1110 is configured to determine the underwater relative positional relationship between the first device and the second device based on the first underwater location information received by the user input unit 1107 and the second underwater location information of the second device, the second underwater location information including: underwater height information of the second device from the water surface and latitude and longitude information of the second device's location. The display unit 1106 is further configured to display the first contact identifier and the second contact identifier of the second contact on the shooting preview interface according to a mapping relationship between the underwater relative positional relationship determined by the processor 1110 and the display position relationship of the two contact identifiers on the shooting preview interface. The processor 1110 is configured to update the display positions of the first contact identifier and the second contact identifier displayed by the display unit 1106 on the shooting preview interface in response to changes in the underwater relative positional relationship between the first and second devices. The first contact identifier includes at least one of the following: a first contact icon, an environmental image of the actual underwater location of the first device; the second contact identifier includes at least one of the following: a second contact icon, an environmental image of the actual underwater location of the second device.
[0371] Optionally, the user input unit 1107 is further configured to receive at least one preview image sent by the first device when the actual distance between the first device and the second device is less than a second distance threshold. The processor 1110 is configured to, each time the user input unit 1107 receives a preview image sent by the first device, fuse the preview image sent by the first device with the preview image captured by the camera of the second device at the same time to obtain a fused preview image. The display unit 1106 is further configured to sequentially display the fused preview images obtained from each fusion on the shooting preview interface.
[0372] Optionally, the display unit 1106 is further configured to display navigation prompt information on the shooting preview interface. The navigation prompt information includes at least one of the following: navigation direction prompt information, actual distance information between the first device and the second device; and the navigation direction prompt information includes navigation prompt information in the horizontal plane direction and the vertical plane direction.
[0373] Optionally, the display unit 1106 is also used to display at least one communication icon on the shooting preview interface before the user input unit 1107 receives the user's first input for one of the at least one communication icons displayed on the shooting preview interface, when it is monitored that the shooting environment is an underwater shooting environment.
[0374] Here, taking the electronic device 1100 as the first device as an example:
[0375] The display unit 1106 is used to display a communication window; the communication window is a communication window between a first contact and a second contact, the first contact is a contact corresponding to the first device, and the second contact is a contact corresponding to the second device.
[0376] The user input unit 1107 is used to receive a communication message sent by the second device through the communication window displayed by the display unit 1106. The communication message includes communication information, which is information indicated by an information identifier selected by the user of the second device from at least one information identifier.
[0377] The display unit 1106 is used to display the communication information received by the user input unit 1107 .
[0378] In the electronic device provided in the embodiment of the present application, the first device can receive communication messages sent by the second device, so that the user of the first device and the user of the second device can communicate directly by transmitting communication messages between the devices without exiting the shooting preview interface, thereby reducing the operating steps brought about by program switching, simplifying the communication process, improving the convenience of user communication, and realizing normal communication and communication between device users in underwater shooting scenes.
[0379] Optionally, the communication window includes at least one of the following: a conversation window and a video call window.
[0380] Optionally, the communication information includes at least one of the following: diving control information and notification information.
[0381] Optionally, in the case where the communication information includes diving control information, the diving control information includes control information for controlling adjustment of a diving posture or a diving action, and the diving control information is used to instruct a user of the first device to adjust a diving posture or a diving action.
[0382] Optionally, in the case where the communication information includes notification information, the notification information includes at least one of the following: notification information of delivering to-do items to the user of the first device, notification information of delivering user status of the user of the second device to the user of the first device, and notification information of delivering inquiry information to the user of the first device.
[0383] Optionally, the display unit 1106 is specifically used to display a message or a barrage in the communication window when the communication window is displayed in full screen, and the message and the barrage both include communication information; the display unit 1106 is also used to display a prompt message in the communication window or update the display mode of the communication window when the shooting preview interface of the first device is displayed in full screen and the communication window is superimposed on the shooting preview interface, and to display a barrage on the shooting preview interface, and the prompt message and the barrage both include communication information; wherein the display mode includes at least one of the following: vibration mode, highlight display mode, enlarged display mode, and color change display mode.
[0384] The electronic device provided in the embodiment of the present application can implement each process implemented in the above method embodiment and can achieve the same technical effect. To avoid repetition, it will not be described here.
[0385] The beneficial effects of various implementations in this embodiment can be specifically referred to the beneficial effects of the corresponding implementations in the above method embodiment. To avoid repetition, they will not be described here.
[0386] It should be understood that in an embodiment of the present application, the input unit 1104 may include a graphics processing unit (GPU) 1041 and a microphone 11042, and the graphics processor 11041 processes the image data of a static picture or video obtained by an image capture device (such as a camera) in a video capture mode or an image capture mode. The display unit 1106 may include a display panel 11061, and the display panel 11061 may be configured in the form of a liquid crystal display, an organic light emitting diode, etc. The user input unit 1107 includes a touch panel 11071 and at least one of other input devices 11072. The touch panel 11071 is also called a touch screen. The touch panel 11071 may include two parts: a touch detection device and a touch controller. Other input devices 11072 may include, but are not limited to, a physical keyboard, function keys (such as volume control keys, switch keys, etc.), a trackball, a mouse, and an operating stick, which will not be repeated here.
[0387] The memory 1109 can be used to store software programs and various data. The memory 1109 may mainly include a first storage area for storing programs or instructions and a second storage area for storing data, wherein the first storage area may store an operating system, applications or instructions required for at least one function (such as a sound playback function, an image playback function, etc.). In addition, the memory 1109 may include a volatile memory or a non-volatile memory, or the memory 1109 may include both volatile and non-volatile memories. Among them, the non-volatile memory may be a read-only memory (ROM), a programmable read-only memory (PROM), an erasable programmable read-only memory (EPROM), an electrically erasable programmable read-only memory (EEPROM), or a flash memory. The volatile memory may be random access memory (RAM), static random access memory (SRAM), dynamic random access memory (DRAM), synchronous dynamic random access memory (SDRAM), double data rate synchronous dynamic random access memory (DDRSDRAM), enhanced synchronous dynamic random access memory (ESDRAM), synchronous link dynamic random access memory (SLDRAM), and direct RAM bus random access memory (DRRAM). The memory 1109 in the embodiment of the present application includes but is not limited to these and any other suitable types of memory.
[0388] Processor 1110 may include one or more processing units. Optionally, processor 1110 integrates an application processor and a modem processor. The application processor primarily handles operations related to the operating system, user interface, and application programs, while the modem processor primarily processes wireless communication signals, such as a baseband processor. It is understood that the modem processor may not be integrated into processor 1110.
[0389] An embodiment of the present application also provides a readable storage medium, on which a program or instruction is stored. When the program or instruction is executed by a processor, the various processes of the above-mentioned method embodiment are implemented and the same technical effect can be achieved. To avoid repetition, it will not be repeated here.
[0390] The processor is the processor in the electronic device described in the above embodiment. The readable storage medium includes a computer readable storage medium, such as a computer read-only memory (ROM), a random access memory (RAM), a magnetic disk, or an optical disk.
[0391] An embodiment of the present application further provides a chip, which includes a processor and a communication interface, wherein the communication interface is coupled to the processor, and the processor is used to run programs or instructions to implement the various processes of the above-mentioned method embodiment and achieve the same technical effect. To avoid repetition, it will not be repeated here.
[0392] It should be understood that the chip mentioned in the embodiments of the present application can also be called a system-level chip, a system chip, a chip system or a system-on-chip chip, etc.
[0393] An embodiment of the present application provides a computer program product, which is stored in a storage medium. The program product is executed by at least one processor to implement the various processes of the above-mentioned method embodiment and can achieve the same technical effect. To avoid repetition, it will not be repeated here.
[0394] It should be noted that, in this article, the terms "comprise", "include" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device comprising a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, an element defined by the statement "comprises a ..." does not exclude the presence of other identical elements in the process, method, article or device comprising the element. In addition, it should be noted that the scope of the methods and devices in the embodiments of the present application is not limited to performing functions in the order shown or discussed, and may also include performing functions in a substantially simultaneous manner or in the opposite order according to the functions involved. For example, the described method may be performed in an order different from that described, and various steps may also be added, omitted, or combined. In addition, the features described with reference to certain examples may be combined in other examples.
[0395] Through the description of the above implementation methods, those skilled in the art can clearly understand that the above-mentioned embodiment methods can be implemented by means of software plus the necessary general hardware platform, and of course can also be implemented by hardware, but in many cases the former is a better implementation method. Based on this understanding, the technical solution of the present application is essentially or the part that contributes to the prior art can be embodied in the form of a computer software product, which is stored in a storage medium (such as ROM / RAM, magnetic disk, optical disk), including a number of instructions for enabling a terminal (which can be a mobile phone, computer, server, or network device, etc.) to execute the methods described in each embodiment of the present application.
[0396] The embodiments of the present application are described above in conjunction with the accompanying drawings, but the present application is not limited to the above-mentioned specific implementation methods. The above-mentioned specific implementation methods are merely illustrative and not restrictive. Under the guidance of this application, ordinary technicians in this field can also make many forms without departing from the purpose of this application and the scope of protection of the claims, all of which are within the protection of this application.
Claims
1. A communication method, comprising: The second device receives a first input from a user on a communication icon among at least one communication icon displayed on the shooting preview interface, wherein the first input is used to select a communication icon, and the communication icon is used to indicate a communication application; In response to the first input, the second device displays, on the shooting preview interface, at least one contact identifier of the communication application indicated by the communication icon selected by the first input, wherein the contact identifier is used to indicate a contact or a conversation group in the communication application; The second device receives a second input from the user for a first contact identifier among the at least one contact identifier, the second input being used to select a contact identifier, the first contact identifier indicating a first contact; The second device displays a communication window in response to the second input, where the communication window is a communication window between the first contact and the second contact, where the first contact is a contact corresponding to the first device, and the second contact is a contact corresponding to the second device.
2. The method according to claim 1, wherein: The first input includes an air gesture input, or an input by the user on a physical button on the second device; The second input includes an air gesture input, or an input by the user on a physical button on the second device; The communication window includes at least one of the following: a conversation window and a video call window.
3. The method according to claim 1, wherein: The shooting preview interface includes: at least one information identifier, the information identifier is used to indicate a communication message; After displaying the communication window, the method further includes: The second device receives a third input from the user for one of the at least one information identifiers, the third input being used to select an information identifier, the information identifier indicating communication information; In response to the third input, the second device sends a communication message to the first device through the communication window, where the communication message includes the communication information indicated by the information identifier selected by the third input.
4. The method according to claim 3, wherein: The communication information includes at least one of the following: diving control information and notification information.
5. The method according to claim 4, wherein: In the case where the communication information includes the diving control information, the diving control information includes control information for controlling adjustment of a diving posture or a diving action, and the diving control information is used to instruct a user of the first device to adjust a diving posture or a diving action.
6. The method according to claim 4, wherein: In the case where the communication information includes the notification information, the notification information includes at least one of the following: notification information conveying a to-do item to a user of the first device, notification information conveying a user status of a user of the second device to a user of the first device, and notification information conveying inquiry information to a user of the first device.
7. The method according to claim 1, wherein: The at least one contact identifier includes at least one of the following: a contact identifier of a contact corresponding to a device whose signal strength is greater than a strength threshold, and a contact identifier of a contact corresponding to a device whose distance from the second device is less than a first distance threshold and which has established a Bluetooth connection with the second device.
8. The method according to claim 7, wherein: The at least one contact identifier includes a contact identifier of a contact corresponding to a device whose distance from the second device is less than a first distance threshold and with which a Bluetooth connection has been established; The second device has been paired with the first device via Bluetooth and a Bluetooth connection has been established, and the method further includes: When the distance between the second device and the first device is greater than the first distance threshold, disconnecting the Bluetooth connection between the first device and the second device; The method further comprises: The second device monitors a change in the distance between the second device and the first device; When the second device monitors that the distance between it and the first device changes from greater than the first distance threshold to less than the first distance threshold, it re-establishes the Bluetooth connection with the first device and uses the contact identifier of the contact corresponding to the first device as the contact identifier that can be displayed on the shooting preview interface.
9. The method according to claim 1, wherein: The method further comprises: The second device receives the first underwater position information sent by the first device, where the first underwater position information includes: the height information of the first device from the water surface and the longitude and latitude information of the location of the first device; The second device determines the underwater relative position relationship between the first device and the second device based on the first underwater position information and the second underwater position information of the second device, wherein the second underwater position information includes: the height information of the second device from the water surface underwater and the longitude and latitude information of the location of the second device; The second device displays the first contact identifier and the second contact identifier of the second contact on the shooting preview interface according to the mapping relationship between the underwater relative position relationship and the display position relationship of the two contact identifiers on the shooting preview interface; The second device updates display positions of the first contact identifier and the second contact identifier on the shooting preview interface accordingly according to a change in the underwater relative position relationship between the first device and the second device; The first contact identification includes at least one of the following: a first contact icon, an environmental image of the actual underwater location of the first device; the second contact identification includes at least one of the following: a second contact icon, an environmental image of the actual underwater location of the second device.
10. The method according to claim 9, wherein: The method further comprises: When the actual distance between the first device and the second device is less than a second distance threshold, the second device receives at least one preview image sent by the first device; Whenever the second device receives a preview image sent by the first device, the second device fuses the preview image sent by the first device with the preview image captured by the camera of the second device at the same time to obtain a fused preview image; The second device sequentially displays the fused preview images obtained by each fusion on the shooting preview interface.
11. The method according to claim 9, wherein: The method further comprises: The second device displays navigation prompt information on the shooting preview interface; The navigation prompt information includes at least one of the following: navigation direction prompt information, actual distance information between the first device and the second device; The navigation direction prompt information includes navigation prompt information in the horizontal plane direction and the vertical plane direction.
12. The method according to claim 1, wherein: Before the second device receives a first input from a user on a communication icon among at least one communication icon displayed on the shooting preview interface, the method further includes: When the second device detects that the shooting environment is an underwater shooting environment, the at least one communication icon is displayed on the shooting preview interface.
13. A communication method comprising: The first device displays a communication window; The communication window is a communication window between a first contact and a second contact, the first contact is a contact corresponding to the first device, and the second contact is a contact corresponding to the second device; The first device receives a communication message sent by the second device through the communication window, the communication message including communication information, and the communication information is information indicated by an information identifier selected by a user of the second device from at least one information identifier; The first device displays the communication information.
14. The method according to claim 13, wherein: The communication window includes at least one of the following: a conversation window and a video call window.
15. The method according to claim 13, wherein: The communication information includes at least one of the following: diving control information and notification information.
16. The method according to claim 15, wherein: In the case where the communication information includes the diving control information, the diving control information includes control information for controlling adjustment of a diving posture or a diving action, and the diving control information is used to instruct a user of the first device to adjust a diving posture or a diving action.
17. The method according to claim 15, wherein: In the case where the communication information includes the notification information, the notification information includes at least one of the following: notification information conveying a to-do item to a user of the first device, notification information conveying a user status of a user of the second device to a user of the first device, and notification information conveying inquiry information to a user of the first device.
18. The method according to claim 13, wherein: The first device displays the communication information, including: When the communication window is displayed in full screen, the first device displays a message or a bullet screen in the communication window, and both the message and the bullet screen include the communication information; When the shooting preview interface of the first device is displayed in full screen and the communication window is superimposed on the shooting preview interface, the first device displays a prompt message in the communication window or updates the display mode of the communication window, and displays a bullet screen on the shooting preview interface, and the prompt message and the bullet screen both include the communication information; wherein the display mode includes at least one of the following: vibration mode, highlight display mode, enlarged display mode, and color change display mode.
19. A communication device, comprising: a receiving module, configured to receive a first input from a user for a communication icon among at least one communication icon displayed on the shooting preview interface, wherein the first input is used to select a communication icon, and the communication icon is used to indicate a communication application; A display module, configured to display, in response to the first input received by the receiving module, on the shooting preview interface, at least one contact identifier of the communication application indicated by the communication icon selected by the first input, wherein the contact identifier is used to indicate a contact or a conversation group in the communication application; The receiving module is further used to receive a second input from the user on a first contact identifier among the at least one contact identifier displayed by the display module, wherein the second input is used to select a contact identifier, and the first contact identifier indicates a first contact; The display module is further used to display a communication window in response to the second input received by the receiving module, wherein the communication window is a communication window between the first contact and the second contact, the first contact is a contact corresponding to the first device, and the second contact is a contact corresponding to the second device.
20. The device according to claim 19, wherein The first input includes an air gesture input, or an input by the user on a physical button on the second device; The second input includes air gesture input, or the user's input on a physical button on the second device; the communication window includes at least one of the following: a conversation window, a video call window.
21. The device according to claim 19, wherein The shooting preview interface includes: at least one information identifier, the information identifier is used to indicate a communication message; The receiving module is further used to receive a third input from the user for one of the at least one information identifiers after the display module displays the communication window, wherein the third input is used to select an information identifier, and the information identifier indicates communication information; The apparatus further comprises a sending module, configured to send a communication message to the first device through the communication window in response to the third input received by the receiving module, wherein the communication message comprises the communication information indicated by the information identifier selected by the third input.
22. The device according to claim 21, wherein The communication information includes at least one of the following: diving control information and notification information.
23. The device according to claim 22, wherein: In the case where the communication information includes the diving control information, the diving control information includes control information for controlling adjustment of a diving posture or a diving action, and the diving control information is used to instruct a user of the first device to adjust a diving posture or a diving action.
24. The device according to claim 22, wherein: In the case where the communication information includes the notification information, the notification information includes at least one of the following: notification information conveying a to-do item to a user of the first device, notification information conveying a user status of a user of the second device to a user of the first device, and notification information conveying inquiry information to a user of the first device.
25. The device according to claim 19, wherein The at least one contact identifier includes at least one of the following: a contact identifier of a contact corresponding to a device whose signal strength is greater than a strength threshold, and a contact identifier of a contact corresponding to a device whose distance from the second device is less than a first distance threshold and which has established a Bluetooth connection with the second device.
26. The device according to claim 25, wherein The at least one contact identifier includes a contact identifier of a contact corresponding to a device whose distance from the second device is less than a first distance threshold and which has established a Bluetooth connection with the second device; the second device has been Bluetooth paired with the first device and a Bluetooth connection has been established; The apparatus further includes a processing module, configured to disconnect a Bluetooth connection between the first device and the second device when the distance between the second device and the first device is greater than the first distance threshold; The apparatus further comprises a monitoring module, for monitoring a change in distance from the first device; The processing module is further configured to re-establish a Bluetooth connection with the first device when the monitoring module detects that the distance between the first device and the first device changes from being greater than the first distance threshold to being less than the first distance threshold; The display module is also used to use the contact identifier of the contact corresponding to the first device as the contact identifier that can be displayed on the shooting preview interface when the monitoring module monitors that the distance between the first device and the first device changes from greater than the first distance threshold to less than the first distance threshold.
27. The device according to claim 19, wherein The receiving module is further used to receive first underwater position information sent by the first device, where the first underwater position information includes: height information of the first device underwater from the water surface, and longitude and latitude information of the location of the first device; The device also includes a determination module, which is used to determine the underwater relative position relationship between the first device and the second device based on the first underwater position information received by the receiving module and the second underwater position information of the second device, wherein the second underwater position information includes: the height information of the second device from the water surface underwater, and the longitude and latitude information of the location of the second device; The display module is further configured to display the first contact identifier and the second contact identifier of the second contact on the shooting preview interface according to a mapping relationship between the underwater relative position relationship determined by the determination module and a display position relationship between two contact identifiers on the shooting preview interface; The display module is further used to update the display positions of the first contact identifier and the second contact identifier on the shooting preview interface according to the change of the underwater relative position relationship between the first device and the second device; The first contact identification includes at least one of the following: a first contact icon, an environmental image of the actual underwater location of the first device; the second contact identification includes at least one of the following: a second contact icon, an environmental image of the actual underwater location of the second device.
28. The device according to claim 27, wherein The receiving module is further configured to receive at least one preview image sent by the first device when the actual distance between the first device and the second device is less than a second distance threshold; The apparatus further includes a fusion module, configured to fuse the preview image sent by the first device with the preview image captured by the camera of the second device at the same time to obtain a fused preview image when the receiving module receives a preview image sent by the first device each time; The display module is further used to sequentially display the fused preview images obtained by each fusion by the fusion module on the shooting preview interface.
29. The device according to claim 27, wherein: The display module is further used to display navigation prompt information on the shooting preview interface; The navigation prompt information includes at least one of the following: navigation direction prompt information, actual distance information between the first device and the second device; The navigation direction prompt information includes navigation prompt information in the horizontal plane direction and the vertical plane direction.
30. The device according to claim 19, wherein The display module is also used to display the at least one communication icon on the shooting preview interface before the receiving module receives the user's first input for one of the at least one communication icons displayed on the shooting preview interface, when it is monitored that the shooting environment is an underwater shooting environment.
31. A communication device, comprising: Display module, used for displaying the communication window; The communication window is a communication window between a first contact and a second contact, the first contact is a contact corresponding to the first device, and the second contact is a contact corresponding to the second device; a receiving module, configured to receive, through the communication window displayed by the display module, a communication message sent by the second device, wherein the communication message includes communication information, and the communication information is information indicated by an information identifier selected by a user of the second device from at least one information identifier; The display module is also used to display the communication information received by the receiving module.
32. The device according to claim 31, wherein The communication window includes at least one of the following: a conversation window and a video call window.
33. The device according to claim 31, wherein The communication information includes at least one of the following: diving control information and notification information.
34. The device according to claim 33, wherein In the case where the communication information includes the diving control information, the diving control information includes control information for controlling adjustment of a diving posture or a diving action, and the diving control information is used to instruct a user of the first device to adjust a diving posture or a diving action.
35. The device according to claim 33, wherein In the case where the communication information includes the notification information, the notification information includes at least one of the following: notification information conveying a to-do item to a user of the first device, notification information conveying a user status of a user of the second device to a user of the first device, and notification information conveying inquiry information to a user of the first device.
36. The device according to claim 31, wherein The display module is also used for: When the communication window is displayed in full screen, a message or a bullet screen is displayed in the communication window, and both the message and the bullet screen include the communication information; When the shooting preview interface of the first device is displayed in full screen and the communication window is superimposed on the shooting preview interface, a prompt message is displayed in the communication window or the display mode of the communication window is updated, and a bullet screen is displayed on the shooting preview interface, and the prompt message and the bullet screen both include the communication information; wherein the display mode includes at least one of the following: vibration mode, highlight display mode, enlarged display mode, and color change display mode.
37. An electronic device comprising a processor and a memory, wherein the memory stores programs or instructions that can be run on the processor, and when the programs or instructions are executed by the processor, the steps of the communication method as described in any one of claims 1 to 12 are implemented.
38. An electronic device comprising a processor and a memory, wherein the memory stores programs or instructions that can be run on the processor, and when the programs or instructions are executed by the processor, the steps of the communication method as claimed in any one of claims 13 to 18 are implemented.
Citation Information
Patent Citations
Electronic device and method for determining environment of electronic device
CN108427533A
A session creation method and a terminal device
CN109766156A
Underwater selfie system
CN112188088A
Underwater shooting method and electronic equipment
CN117119276A
Underwater user interface
US20200104021A1