Underwater biological detection system and equipment networking configuration method thereof

By using Bluetooth packet broadcast and mode switching technology in the underwater biological detection system, the networking process is simplified, the delay is reduced, and the problem of the sonar detector being unable to switch to AP mode in STA mode is solved, expanding its scope of use. .

CN118695329APending Publication Date: 2024-09-24HANGZHOU MICROIMAGE SOFTWARE CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410763943.3
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-06-13
Publication Date
2024-09-24

AI Technical Summary

Technical Problem

The network configuration process of the existing underwater biological detection system is complicated and has a large delay. The sonar detector cannot switch to AP mode in STA mode, resulting in limited use.

Method used

Connect to the WIFI of the nesting boat through a mobile terminal, and broadcast the Bluetooth packet containing the WIFI SSID of the nesting boat and the detector mode switching field. After receiving the sonar detector, it switches to STA mode and connects to the WIFI of the nesting boat; it is not connected after entering the water. Switch to AP mode to achieve independent control of sonar detectors.

Benefits of technology

It simplifies the networking process, reduces the networking delay, and expands the scope of use of the sonar detector so that it can be independently controlled even when the nesting boat is not nearby.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118695329A
    Figure CN118695329A
Patent Text Reader

Abstract

The invention discloses a networking configuration method for an aquatic organism detection system. The networking configuration method comprises the steps that a mobile terminal is connected with WIFI of a bait throwing ship; the mobile terminal or the nest throwing ship broadcasts a Bluetooth packet according to a set format, and the Bluetooth packet comprises a WIFI SSID of the nest throwing ship and a detector mode switching field; wherein the detector mode switching field is set to represent an STA mode; the sonar detector receives the Bluetooth packet, stores the WIFI SSID, and switches the mode of the sonar detector to the STA mode indicated by the detector mode field; the sonar detector is connected with the WIFI of the bait throwing ship based on the WIFI SSID; after the sonar detector is connected with the WIFI of the nest throwing ship, the nest throwing ship informs the mobile terminal that networking has been performed; wherein when the sonar detector is not connected with the WIFI within the first set time after entering the water, the mode of the sonar detector is switched to the AP mode. According to the invention, the networking process can be simplified, the networking delay can be reduced, and the application range of the sonar detector can be expanded.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to local area network technology, and in particular to an underwater biological detection system and a method for configuring the network of its equipment. Background Art

[0002] With the continuous development of network technology, the underwater biological detection system composed of mobile terminals, nesting boats and sonar detectors (such as Figure 1 As shown), they can be interconnected for information exchange and operation control, so as to achieve the purpose of detecting fish and other aquatic organisms. Among them, the bait boat can be moved on the water surface by the control of the mobile terminal and is physically connected to the sonar detector. In this way, under the control of the mobile terminal, the bait boat and the sonar detector can be moved to the designated position to detect underwater organisms, and the detection results can be fed back to the mobile terminal. The sonar detector will short-circuit and automatically power on in the water. After power-on, the device continuously sends sonar underwater, so as to achieve the effect of exploring underwater fish and other organisms. The sonar detector has no human-computer interaction interface and no physical switch button. It can only be controlled by connecting the mobile terminal to the sonar detector. The sonar detector can also be used alone, and the mobile terminal can be connected to the WiFi AP of the sonar detector for control.

[0003] In order to realize information exchange and operation control, it is generally necessary to connect the mobile terminal, the fishing boat and the sonar detector to the same local area network. Figure 2 As shown, the mobile terminal connects to the WIFI of the nesting boat and obtains the WIFI SSID and WIFI password (PSW) of the nesting boat. Then the mobile terminal disconnects the WIFI of the nesting boat, connects to the WIFI of the sonar detector, sends the WIFI SSID and WIFI password (PSW) of the nesting boat to the sonar detector, and controls the nesting boat to switch from STA mode to AP mode. Based on the received WIFI SSID and WIFI password (PSW), the mobile terminal connects to the WIFI of the nesting boat again. After the above processing, the mobile terminal, the nesting boat and the sonar detector are connected in the same local area network and can interact with each other.

[0004] However, the above networking configuration process requires the mobile terminal to repeatedly connect to WIFI three times. If there are multiple sonar detectors, more WIFI connections are required. It can be seen that the current networking configuration method has a complex networking process and a large delay. At the same time, when the sonar detector is in STA mode and the fishing boat is not nearby, it is impossible to switch between AP mode and STA mode, which limits its use. Summary of the invention

[0005] The present application provides an underwater biological detection system and its equipment networking configuration method, which can simplify the networking process, reduce networking delay, and expand the scope of use of sonar detectors.

[0006] To achieve the above objectives, this application adopts the following technical solutions:

[0007] A method for configuring a network of an underwater biological detection system, comprising:

[0008] The mobile terminal connects to the WIFI of the nesting boat;

[0009] The mobile terminal or the nesting boat broadcasts a Bluetooth packet in a set format, wherein the Bluetooth packet includes the WIFI SSID of the nesting boat and a detector mode switching field; wherein the detector mode switching field is set to indicate STA mode;

[0010] The sonar detector receives the Bluetooth packet, saves the WIFI SSID, and switches its mode to the STA mode indicated by the detector mode field;

[0011] The sonar detector is connected to the WIFI of the nesting boat based on the WIFI SSID;

[0012] After the sonar detector is connected to the WIFI of the nesting boat, the nesting boat notifies the mobile terminal that the network has been established;

[0013] Wherein, when the sonar detector fails to connect to WIFI within the first set time after entering the water, the sonar detector switches its mode to AP mode.

[0014] Preferably, the Bluetooth packet includes a password prompt field;

[0015] The sonar detector is used to calculate the WIFI password of the bait-making boat based on the value of the password prompt field in the Bluetooth packet, and to connect to the WIFI of the bait-making boat based on the WIFI password.

[0016] Preferably, after the mobile terminal and the sonar detector are connected to the WIFI of the bait boat, the method further includes: the mobile terminal notifies the bait boat to shut down the networking based on an external input shutdown network instruction, the bait boat or the mobile terminal broadcasts a Bluetooth packet in the format, and sets the fish finder mode switching field to indicate AP mode; the sonar detector switches to AP mode based on the received Bluetooth packet.

[0017] Preferably, after the mobile terminal notifies the nesting boat to close the networking, the method further comprises: the mobile terminal connects to the WIFI of the sonar detector to control the sonar detector.

[0018] Preferably, when the nesting boat broadcasts the Bluetooth packet, before the nesting boat broadcasts the Bluetooth packet, the method further comprises: the mobile terminal connects to the WIFI of the nesting boat, and instructs the nesting boat to start networking;

[0019] After receiving the instruction to start networking, the nesting boat executes the operation of broadcasting the Bluetooth packet.

[0020] An underwater biological detection system, comprising: a mobile terminal, a nesting boat and a sonar detector;

[0021] The mobile terminal is used to connect to the WIFI of the nest-making boat;

[0022] The mobile terminal or the nesting boat is used to broadcast a Bluetooth packet in a set format after receiving an instruction to start networking from the mobile terminal, wherein the Bluetooth packet includes the WIFI SSID and the detector mode switching field of the nesting boat, and the value of the detector mode switching field included in the Bluetooth packet is set to indicate the STA mode;

[0023] The nesting boat is used to notify the mobile terminal that the network has been established after the sonar detector is connected to its own WIFI;

[0024] The sonar detector is used to receive the Bluetooth packet, switch its own mode to the STA mode indicated by the sonar detector mode switching field, and save the WIFI SSID; it is also used to connect to the WIFI of the bait-making boat based on the WIFI SSID; it is also used to switch its own mode to AP mode when the WIFI is not connected within the first set time after entering the water.

[0025] Preferably, the Bluetooth packet includes a password prompt field;

[0026] The sonar detector is used to calculate the WIFI password of the bait-making boat based on the value of the password prompt field in the Bluetooth packet, and to connect to the WIFI of the bait-making boat based on the WIFI password.

[0027] Preferably, the mobile terminal is further used to notify the nesting boat to close the network based on an external input closing network instruction;

[0028] The nesting boat is further used to broadcast a Bluetooth packet according to the format and set the fish finder mode switching field to indicate AP mode;

[0029] The sonar detector switches to AP mode based on the received Bluetooth packet and disconnects the WIFI connection with the nesting boat.

[0030] Preferably, the mobile terminal is also used to connect to the WIFI of the sonar detector to control the sonar detector after notifying the nesting boat to close the networking.

[0031] Preferably, if the nesting boat is used to broadcast the Bluetooth packet, the mobile terminal is also used to instruct the nesting boat to start networking;

[0032] The nesting boat is used to broadcast the Bluetooth packet after receiving the instruction to start networking.

[0033] A sonar detector, comprising: a Bluetooth packet processing unit, a WIFI connection unit and a mode adjustment unit;

[0034] The Bluetooth packet processing unit is used to receive a Bluetooth packet broadcasted by a mobile terminal or a bait-making boat in a set format, wherein the Bluetooth packet includes the WIFI SSID of the bait-making boat and a detector mode switching field; and is also used to send the WIFI SSID carried in the Bluetooth packet to the WIFI connection unit, and notify the mode adjustment unit of the mode indicated by the detector mode field;

[0035] The WIFI connection unit is used to connect to the WIFI of the nesting boat based on the WIFI SSID; and is also used to notify the mode adjustment unit when the WIFI is not connected within the first set time after entering the water;

[0036] The mode adjustment unit is used to set the mode of the sonar detector to the mode notified by the Bluetooth packet processing unit; and is also used to set the mode of the sonar detector to the AP mode after receiving the notification from the WIFI connection unit.

[0037] It can be seen from the above technical scheme that in this application, after the mobile terminal notifies the nesting boat to start networking, the nesting boat broadcasts a Bluetooth packet in a set format, and carries the WIFI SSID detector mode field of the nesting boat in the Bluetooth packet, and sets the value of the detector mode field to represent the STA mode; the sonar detector receives the Bluetooth packet, so that on the one hand, the WIFI SSID of the nesting boat can be easily obtained, and on the other hand, based on the detector mode field, it can put itself in STA mode, so that it can directly connect to the nesting boat WIFI based on the WIFI information of the nesting boat, and there is no need for the mobile terminal to connect to the WIFI of the sonar detector to transmit information; after the sonar detector is connected to the WIFI of the nesting boat, the WIFI of the nesting boat notifies the mobile terminal that the network has been established; the mobile terminal can control the sonar detector. At the same time, when the sonar detector is not connected to the WIFI within the first set time after entering the water, it switches its own mode to the AP mode, so that when the nesting boat is not nearby, the mobile terminal can also connect to the WIFI of the sonar detector, thereby realizing the control of the sonar detector, thereby expanding the scope of use of the sonar detector. BRIEF DESCRIPTION OF THE DRAWINGS

[0038] Figure 1 A schematic diagram of the basic flow of the networking configuration method of the aquatic biological detection system of this application;

[0039] Figure 2 A schematic diagram of the interaction between the mobile terminal, the nesting boat and the sonar detector in the networking configuration method;

[0040] Figure 3 This is an example diagram of a broadcast Bluetooth packet;

[0041] Figure 4 This is a basic structural diagram of the underwater biological detection system in this application. DETAILED DESCRIPTION

[0042] In order to make the objectives, technical means and advantages of the present application more clearly understood, the present application is further described in detail below in conjunction with the accompanying drawings.

[0043] In the current aquatic biological detection system, the sonar detector has no physical buttons and visual interface, and its STA mode and AP mode cannot be switched by physical means. The sonar detector needs to be put into the water. After the sonar detector is confirmed to be in the water, it will be powered on. Therefore, the mobile terminal can send instructions to the sonar detector in the powered-on state. After receiving the instructions, the sonar detector sets and switches the STA mode and AP mode. In actual use, it is found that after the mobile terminal, the bait boat and the sonar detector are networked, if the network connection is not turned off before the equipment is landed, the next time the sonar detector is launched and powered on, if the bait boat is not nearby, the mobile terminal cannot control the sonar detector.

[0044] The applicant analyzed the above situation in detail and concluded that the reasons for the corresponding situation are: Generally, after completing the networking of a mobile terminal, a bait boat and a sonar detector, the sonar detector will save the WIFI information of the bait boat, and if the network is not disconnected when the sonar detector is powered on, the sonar detector is in STA mode. When the sonar detector is launched and powered on next time, the sonar detector is still in STA mode, that is, it can only connect to other WIFIs and cannot be used as a hotspot for other devices to access. In this case, if the bait boat is not nearby, the sonar detector cannot connect to its WIFI, and since it is in STA mode, the mobile terminal cannot connect to the WIFI of the sonar detector. Therefore, the mobile terminal and the sonar detector cannot be connected to the network and interact, and the mode of the sonar detector cannot be switched, and can only be in STA mode, which causes the terminal to be unable to control the sonar detector and the sonar detector cannot be used.

[0045] Based on the above analysis, the sonar detector is improved in the present application. When the sonar detector enters the water and cannot connect to WIFI within the first set time after being powered on, the control unit in the sonar detector generates a switching instruction from STA mode to AP mode, instructing the components in the sonar detector used to switch the working mode to switch the mode of the sonar detector to AP mode. Regarding the power-on processing, the sonar detector may include a water entry detection unit for detecting whether the sonar detector has entered the water; when the water entry detection unit detects that it has entered the water, it controls the sonar detector to power on. Most simply, water entry detection and power-on control can be achieved by short circuiting. The sonar detector is short-circuited after entering the water, and the sonar detector is powered on by short circuiting. Of course, other water entry detection methods and power-on control methods can also be used, and this application does not limit this.

[0046] Based on the above-mentioned improved sonar detector, the present application provides a networking configuration method for an underwater biological detection system. Figure 1 The following is a basic flow chart of the network configuration method. Figure 2 The following is a schematic diagram of the interaction between the mobile terminal, the nesting boat and the sonar detector in the network configuration method. Figure 1 and Figure 2 As shown, the method includes:

[0047] Step 101, the mobile terminal connects to the WIFI of the nesting boat.

[0048] In this step, the mobile terminal connects to the WIFI of the nesting boat based on the saved WIFI information of the nesting boat (specifically, it may include WIFI SSID and PSW). The specific process of connecting to WIFI can be the same as the existing process, and will not be repeated here. The processing performed by the mobile terminal in this application can usually be implemented using an APP installed on the mobile terminal.

[0049] Step 102: the mobile terminal or the fishing boat broadcasts a Bluetooth packet according to a set format.

[0050] The broadcast Bluetooth packet includes at least the WIFI SSID of the fishing boat and the detector mode switching field.

[0051] In addition, considering that the WIFI password is relatively long, usually at least 8 bits, if the WIFI password is carried directly in the Bluetooth package, multiple Bluetooth packages may be required. This processing method will cause greater networking delays and low security. Therefore, it is considered in this application that the WIFI password is not carried directly in the Bluetooth package. Optionally, a password parameter field can also be included in the Bluetooth package. The password parameter field gives an initial parameter for calculating the WIFI password. Based on the initial parameter, the WIFI password of the nesting boat can be calculated using a preset algorithm. Compared with the process of carrying a complete WIFI password, the Bluetooth package space occupied is small, thereby effectively reducing the networking delay, and it is also more conducive to improving security and ensuring network performance. Of course, the simplest way is to set the password of the nesting boat to be fixed, and keep the WIFI password of the nesting boat in advance in the sonar detector, so that the WIFI password can be carried in the Bluetooth package, which can more effectively reduce the networking delay.

[0052] For the detector mode field in the Bluetooth packet, the value of this field is set to indicate STA mode, thereby instructing the sonar detector to switch itself to STA mode and prepare to access the fishing boat network.

[0053] If you choose to broadcast the Bluetooth package on the nesting boat, connect the WIFI of the nesting boat on the mobile terminal and instruct the nesting boat to start networking. After receiving the instruction to start networking, the nesting boat broadcasts the Bluetooth package.

[0054] Step 103, the sonar detector receives the broadcast Bluetooth packet, saves the WIFI SSID, calculates the WIFI password of the fishing boat based on the value of the password parameter field, and switches its own mode to the STA mode indicated by the detector mode field.

[0055] As mentioned above, the Bluetooth package includes the WIFI SSID, and the sonar detector extracts the WIFI SSID from the Bluetooth package for storage; if the Bluetooth package also includes a parameter password field, the sonar detector extracts the value of the password parameter field from the Bluetooth package, and based on the value, calculates the WIFI password of the bait-making boat according to the preset password generation algorithm, which is used to connect to the WIFI of the bait-making boat.

[0056] The Bluetooth packet also includes a detector mode field. The sonar detector extracts the value of the detector mode field from the Bluetooth packet, and based on the value, switches its own mode to the STA mode indicated by the field, preparing to connect to the WiFi of the fishing boat.

[0057] Here, the value of the detector mode field parsed by the sonar detector indicates that after switching to the STA mode, an instruction for setting the sonar detector to the STA mode is generated, instructing the component in the sonar detector used to switch the working mode to set the mode of the sonar detector to the STA mode.

[0058] In addition to the above information, the Bluetooth packet can also include the manufacturer ID, device model, power information, OEM Code and other custom field information of the fishing boat. The following is an example of a Bluetooth packet. Figure 3 As shown, ADVA is a required field in the Bluetooth broadcast protocol, AdvData is a user-defined field, and the various fields mentioned above are located in this part. Among them, the manufacturer ID can be used to determine whether it is a product of the company that matches the sonar detector; the AP / STA switch field is the aforementioned detector mode field, 1 means off, 2 means AP, and 3 means STA; the OEMCode field can be used to determine the major category of the device, such as custom, neutral, or baseline devices; the power field can be used to know the current power status of the slave.

[0059] Step 104, the sonar detector connects to the WIFI of the bait-making boat based on the WIFI SSID.

[0060] In this step, the sonar detector connects to the WIFI of the bait boat based on the saved WIFI SSID of the bait boat. The specific process of connecting to the WIFI can be the same as the existing process, which will not be repeated here. Among them, when connecting to the WIFI of the bait boat, the WIFI password can be fixed in the sonar detector, or it can be calculated according to the password parameter field in the Bluetooth packet according to a preset algorithm.

[0061] Step 105, after the sonar detector is connected to the WIFI of the fishing boat, the fishing boat notifies the mobile terminal that the network has been established.

[0062] After the bait-making boat confirms that the sonar detector has been connected to its own WIFI, it notifies the mobile terminal that the networking is complete. The mobile terminal has also been connected to the bait-making boat WIFI through step 101. After the mobile terminal receives the information that the networking is complete, the mobile terminal can also determine that the sonar detector has been connected to the bait-making boat WIFI. Next, the mobile terminal can control the sonar detector.

[0063] At this point, the most basic network configuration method process in this application ends. In addition, in order to better improve the function, after the mobile terminal and the sonar detector are connected to the WIFI of the fishing boat, the following steps can also be included:

[0064] Step 106, the mobile terminal notifies the nesting boat to close the network based on the external input network closing instruction.

[0065] When the nesting boat and the sonar detector complete the task and no longer need to continue networking, this step is usually performed before going out of the water. The mobile terminal receives an external input command to close the network, and then notifies the nesting boat to close the network.

[0066] Step 107, the fishing boat or mobile terminal broadcasts a Bluetooth packet in a set format and sets the detector mode field to indicate AP mode; the sonar detector switches to AP mode based on the received Bluetooth packet.

[0067] The bait boat receives the broadcast Bluetooth packet, determines that it needs to be set to AP mode based on the value of the detector mode field, and generates a switching instruction from STA mode to AP mode, instructing the component in the sonar detector used to switch the working mode to switch the mode of the sonar detector to AP mode. In this way, the next time the sonar detector is put into water and automatically powered on, it can be used as an AP, so that the mobile terminal can access the WIFI of the sonar detector, thereby facilitating the control of the sonar detector and ensuring that the sonar detector can be used alone without being used together with the bait boat. Of course, if the above step 107 is not performed before the sonar detector comes out of the water, when the sonar detector in the present application cannot be connected to the WIFI of the bait boat within a certain period of time after the next entry into water and automatic power-on, it will further automatically generate a switching instruction from STA mode to AP mode to complete the switch, ensuring that the mobile terminal can independently control the sonar detector.

[0068] The above is the specific implementation of the networking configuration method in this application. Through the above method, on the one hand, the networking process is improved, and the password parameters with a smaller field length are carried in the Bluetooth packet instead of directly carrying the password, thereby effectively reducing the networking delay; on the other hand, the sonar detector is improved to allow automatic generation of working mode switching instructions and generation of switching instructions based on the field information in the Bluetooth packet, thereby ensuring the independent and normal use of the sonar detector and expanding its scope of use.

[0069] Next, the composition and functions of the entire system are explained in detail from the perspective of the aquatic biological detection system. Figure 4 Schematic diagram of the structure of the underwater biological detection system in this application. Figure 4 As shown, the system includes: a mobile terminal, a nesting boat and a sonar detector.

[0070] Mobile terminal, used to connect to the WIFI of the nesting boat;

[0071] The mobile terminal or the nesting boat is used to broadcast a Bluetooth packet in a set format after receiving an instruction to start networking from the mobile terminal, the Bluetooth packet including the WIFI SSID and the detector mode switching field of the nesting boat, and set the value of the detector mode switching field included in the Bluetooth packet to indicate the STA mode;

[0072] The nesting boat is used to notify the mobile terminal that the network has been established after the sonar detector is connected to its own WIFI;

[0073] The sonar detector is used to receive Bluetooth packets and switch its own mode to the STA mode indicated by the sonar detector mode switching field to save the WIFI SSID; it is also used to connect to the WIFI of the fishing boat based on the WIFI SSID; it is also used to switch its own mode to AP mode when the WIFI is not connected within the first set time after entering the water.

[0074] Optionally, the Bluetooth packet may further include a password prompt field;

[0075] The sonar detector is used to calculate the WiFi password of the bait-making boat based on the value of the password prompt field in the Bluetooth package, and to connect to the WiFi of the bait-making boat based on the calculated WiFi password.

[0076] Optionally, the mobile terminal is further used to notify the nesting boat to close the network based on the external input network closing instruction;

[0077] The fishing boat is also used to broadcast Bluetooth packets according to the format and set the fish finder mode switch field to indicate AP mode;

[0078] Based on the received Bluetooth packets, the sonar detector switches to AP mode and disconnects the WiFi connection with the fishing boat.

[0079] Optionally, the mobile terminal is also used to connect to the WIFI of the sonar detector to control the sonar detector after notifying the bait-making boat to close the networking.

[0080] Optionally, if the nesting boat is used to broadcast Bluetooth packets, the mobile terminal is also used to instruct the nesting boat to start networking; the nesting boat is used to broadcast Bluetooth packets after receiving the instruction to start networking.

[0081] The sonar detector provided in the present application may specifically include: a Bluetooth packet processing unit, a WIFI connection unit and a mode adjustment unit;

[0082] A Bluetooth packet processing unit is used to receive a Bluetooth packet broadcasted by a mobile terminal or a nesting boat in a set format, wherein the Bluetooth packet includes the WIFI SSID, password parameter field and detector mode switching field of the nesting boat; and is also used to send the WIFI SSID and password parameter field carried in the Bluetooth packet to the WIFI connection unit, and notify the mode adjustment unit of the mode indicated by the detector mode field;

[0083] A WIFI connection unit, used to calculate the WIFI password of the nesting boat based on the value of the password parameter field, and to connect the WIFI of the nesting boat based on the WIFI SSID and the WIFI password; and also used to notify the mode adjustment unit when the WIFI is not connected within the first set time after entering the water;

[0084] The mode adjustment unit is used to set the mode of the sonar detector to the mode notified by the Bluetooth packet processing unit; it is also used to set the mode of the sonar detector to AP mode after receiving the notification from the WIFI connection unit.

[0085] Optionally, the mode adjustment unit is also used to disconnect the WIFI connection with the nesting boat after determining that the mode is switched to AP mode.

[0086] Optionally, the Bluetooth packet may further include a password prompt field;

[0087] The WIFI connection unit can be used to calculate the WIFI password of the bait-making boat based on the value of the password prompt field in the Bluetooth package, and connect to the WIFI of the bait-making boat based on the calculated WIFI password.

[0088] The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and principles of the present invention should be included in the scope of protection of the present invention.

Claims

1. A networking configuration method for an underwater biological detection system, It is characterized in that include: The mobile terminal connects to the WIFI of the nesting boat; The mobile terminal or the nesting boat broadcasts a Bluetooth packet in a set format, wherein the Bluetooth packet includes the WIFI SSID of the nesting boat and a detector mode switching field; wherein the detector mode switching field is set to indicate STA mode; The sonar detector receives the Bluetooth packet, saves the WIFI SSID, and switches its mode to the STA mode indicated by the detector mode field; The sonar detector is connected to the WIFI of the nesting boat based on the WIFI SSID; After the sonar detector is connected to the WIFI of the nesting boat, the nesting boat notifies the mobile terminal that the network has been established; Wherein, when the sonar detector fails to connect to WIFI within the first set time after entering the water, the sonar detector switches its mode to AP mode.

2. The method according to claim 1, It is characterized in that After the mobile terminal and the sonar detector are connected to the WIFI of the bait boat, the method further includes: the mobile terminal notifies the bait boat to close the networking based on an external input shutdown network instruction, the bait boat or the mobile terminal broadcasts a Bluetooth packet in the format, and sets the fish finder mode switching field to indicate AP mode; the sonar detector switches to AP mode based on the received Bluetooth packet.

3. The method according to claim 2, It is characterized in that After the mobile terminal notifies the nesting boat to close the networking, the method further includes: the mobile terminal is connected to the WIFI of the sonar detector to control the sonar detector.

4. The method according to claim 1, It is characterized in that When the nesting boat broadcasts the Bluetooth packet, before the nesting boat broadcasts the Bluetooth packet, the method further includes: the mobile terminal connects to the WIFI of the nesting boat, and instructs the nesting boat to start networking; After receiving the instruction to start networking, the nesting boat executes the operation of broadcasting the Bluetooth packet.

5. An underwater biological detection system, It is characterized in that include: Mobile terminals, bait boats and sonar detectors; The mobile terminal is used to connect to the WIFI of the nest-making boat; The mobile terminal or the nesting boat is used to broadcast a Bluetooth packet in a set format after receiving an instruction to start networking from the mobile terminal, wherein the Bluetooth packet includes the WIFI SSID and the detector mode switching field of the nesting boat, and the value of the detector mode switching field included in the Bluetooth packet is set to indicate the STA mode; The nesting boat is used to notify the mobile terminal that the network has been established after the sonar detector is connected to its own WIFI; The sonar detector is used to receive the Bluetooth packet, switch its own mode to the STA mode indicated by the sonar detector mode switching field, and save the WIFI SSID; it is also used to connect to the WIFI of the fishing boat based on the WIFI SSID; it is also used to switch its own mode to AP mode when the WIFI is not connected within the first set time after entering the water.

6. The system according to claim 5, It is characterized in that The mobile terminal is further used to notify the nesting boat to close the network based on the external input closing network instruction; The nesting boat is further used to broadcast a Bluetooth packet according to the format and set the fish finder mode switching field to indicate AP mode; The sonar detector switches to AP mode based on the received Bluetooth packet and disconnects the WIFI connection with the nesting boat.

7. The system according to claim 6, It is characterized in that The mobile terminal is also used to connect to the WIFI of the sonar detector to control the sonar detector after notifying the nesting boat to close the networking.

8. The system according to claim 5, It is characterized in that If the nesting boat is used to broadcast the Bluetooth packet, the mobile terminal is also used to instruct the nesting boat to start networking; The nesting boat is used to broadcast the Bluetooth packet after receiving the instruction to start networking.

9. A sonar detector, It is characterized in that include: Bluetooth packet processing unit, WIFI connection unit and mode adjustment unit; The Bluetooth packet processing unit is used to receive a Bluetooth packet broadcasted by a mobile terminal or a bait-making boat in a set format, wherein the Bluetooth packet includes the WIFI SSID of the bait-making boat and a detector mode switching field; and is also used to send the WIFI SSID carried in the Bluetooth packet to the WIFI connection unit, and notify the mode adjustment unit of the mode indicated by the detector mode field; The WIFI connection unit is used to connect to the WIFI of the nesting boat based on the WIFI SSID; and is also used to notify the mode adjustment unit when the WIFI is not connected within the first set time after entering the water; The mode adjustment unit is used to set the mode of the sonar detector to the mode notified by the Bluetooth packet processing unit; and is also used to set the mode of the sonar detector to the AP mode after receiving the notification from the WIFI connection unit.