Search

CN-122027531-A - Communication test method, communication test system, readable storage medium, and program product

CN122027531ACN 122027531 ACN122027531 ACN 122027531ACN-122027531-A

Abstract

The application relates to the technical field of terminals, and discloses a communication test method, a communication test system, a readable storage medium and a program product. In the method, a sending result of a first test message sent by a first electronic device to a second electronic device on water is obtained, a receiving result of the first test message sent by the first electronic device is obtained by the second electronic device on water, and underwater communication capacity of the first electronic device and/or the second electronic device is determined according to the sending result of the first test message and the receiving result of the first test message. Thus, the communication test process does not need to construct a test environment under water, and a diver can directly conduct communication test on water without diving, so that the communication test process is more convenient and safer.

Inventors

  • Yuan Wenan
  • JIN LE
  • JIANG JIN
  • Wu Tiejing

Assignees

  • 华为技术有限公司

Dates

Publication Date
20260512
Application Date
20250826

Claims (20)

  1. 1. A method of communication testing, the method comprising: acquiring a transmission result of a first test message transmitted by a first electronic device on water to a second electronic device, and acquiring a receiving result of the first test message transmitted by the first electronic device received by the second electronic device on water; And determining the underwater communication capability of the first electronic equipment and/or the second electronic equipment according to the sending result of the first test message and the receiving result of the first test message.
  2. 2. The method of claim 1, wherein the step of determining the position of the substrate comprises, Obtaining a receiving result of the first test message sent by the first electronic device by the second electronic device on water, wherein the receiving result comprises the following steps: The first electronic device receives a receiving result of the first test message from the second electronic device; determining the underwater communication capability of the first electronic device and/or the second electronic device according to the sending result of the first test message and the receiving result of the first test message, including: And according to the sending result of the first test message and the receiving result of the first test message, the first electronic equipment determines the sending capability of the first electronic equipment under water and/or the receiving capability of the second electronic equipment under water.
  3. 3. The method of claim 2, wherein the first electronic device comprises an acoustic transducer, the method further comprising: The first electronic device sends the first test message to the second electronic device over water through an acoustic transducer.
  4. 4. A method according to claim 2 or 3, characterized in that before the first electronic device sends the first test message to the second electronic device on water via an acoustic transducer, the method further comprises: The first electronic device determines the first test message in response to a first operation that opens a communication test function of the first electronic device.
  5. 5. The method according to any one of claims 2 to 4, further comprising: the first electronic device sends a sending result of the first test message to the second electronic device, wherein the sending result of the first test message is used for determining the underwater receiving capability of the second electronic device and/or the underwater sending capability of the first electronic device by the second electronic device.
  6. 6. The method according to any one of claims 2 to 5, further comprising: The first electronic device receives a second test message sent by the second electronic device to the first electronic device on water; The first electronic device sends a receiving result of the second test message to the second electronic device, and the receiving result of the second test message is used for determining the underwater sending capability of the second electronic device and/or the underwater receiving capability of the first electronic device by the second electronic device.
  7. 7. The method of claim 6, wherein the method further comprises: In response to receiving the second test message, the first electronic device sends the first test message to the second electronic device, or Periodically the first electronic device sends the first test message to the second electronic device.
  8. 8. The method according to any one of claims 2 to 7, wherein, The underwater communication capability of the first electronic device includes an anti-interference capability, the method further comprising: The first electronic device sends a request message to a third electronic device, wherein the request message is used for requesting the third electronic device, and when the first electronic device sends the first test message to the second electronic device, the first electronic device sends the third test message to the second electronic device.
  9. 9. The method according to claim 1, wherein the method further comprises: the second electronic device sends a receiving result of the first test message to the first electronic device, wherein the receiving result of the first test message is used for determining the underwater sending capability of the first electronic device and/or the underwater receiving capability of the second electronic device by the first electronic device.
  10. 10. The method according to claim 9, wherein the obtaining the transmission result of the first test message transmitted by the first electronic device by the second electronic device on water includes: the second electronic device receives a sending result of the first test message from the first electronic device; the determining the underwater communication capability of the first electronic device and/or the second electronic device comprises: And according to the sending result of the first test message and the receiving result of the first test message, the second electronic equipment determines the sending capability of the first electronic equipment under water and/or the receiving capability of the second electronic equipment under water.
  11. 11. The method of claim 9 or 10, wherein prior to the second electronic device receiving the first test message from the first electronic device, the method further comprises: in response to a second operation to turn on a communication test function of the second electronic device, the second electronic device determines the first test message for communication testing.
  12. 12. The method according to any one of claims 9 to 11, further comprising: The second electronic device sends a second test message to the first electronic device on water; The second electronic device receives a receiving result of the second test message from the first electronic device; and according to the sending result of the second test message and the receiving result of the second test message, the second electronic equipment determines the sending capability of the second electronic equipment under water and/or the receiving capability of the first electronic equipment under water.
  13. 13. The method of claim 12, wherein the second electronic device sending a second test message to the first electronic device over water comprises: In response to receiving the first test message, the second electronic device sends the second test message to the first electronic device, or Periodically, the second electronic device sends the second test message to the first electronic device.
  14. 14. The method of claim 12 or 13, wherein the second electronic device sending a second test message to the first electronic device comprises: the second electronic device sends the second test message to the first electronic device over water through an acoustic transducer.
  15. 15. The method of any of claims 12 to 14, wherein before the second electronic device sends a second test message to the first electronic device, the method further comprises: in response to a second operation to turn on a communication test function of the second electronic device, the second electronic device determines the second test message for communication testing.
  16. 16. The method according to any one of claims 1 to 15, wherein the receiving result of the first test message comprises: The receiving rate of the first test message and/or the receiving text accuracy rate of the first test message.
  17. 17. The method of any one of claims 1 to 16, wherein the underwater communication capability comprises an underwater communication distance, the method further comprising: acquiring a first water communication distance between the first electronic device and the second electronic device when the first electronic device sends a first test message; And determining a first underwater communication distance corresponding to the first underwater communication distance according to a first corresponding relation between the distance and the acoustic wave performance parameter on water, a second corresponding relation between the distance and the acoustic wave performance parameter under water and the first underwater communication distance.
  18. 18. The method of claim 17, wherein the method further comprises: Obtaining receiving results of a plurality of test messages sent by the first electronic equipment to the second electronic equipment on water, wherein the receiving results of the plurality of test messages correspond to different water communication distances of the first electronic equipment and the second electronic equipment; And determining that the first water communication distance is a water communication critical distance according to the receiving results of the plurality of test messages.
  19. 19. The method of claim 18, wherein when the first water communication distance is a water communication critical distance, the first underwater communication distance corresponding to the first water communication distance is an underwater communication critical distance.
  20. 20. The method of claim 18 or 19, wherein the determining a first underwater communication distance corresponding to the first underwater communication distance comprises: determining a first sound wave performance value corresponding to the first water communication distance in the first corresponding relation according to the first corresponding relation and the first water communication distance; Acquiring an acoustic wave performance attenuation value; determining a second acoustic performance value from the first acoustic performance value and the sum of acoustic performance attenuation values; And determining the first underwater communication distance corresponding to the second acoustic performance value in the second corresponding relation according to the second corresponding relation and the second acoustic performance value.

Description

Communication test method, communication test system, readable storage medium, and program product Technical Field The present application relates to the field of terminal technologies, and in particular, to a communication test method, a communication test system, a readable storage medium, and a program product. Background Currently, diving equipment such as a diving computer, a diving watch and the like can support underwater communication, for example, the underwater diving equipment can communicate with electronic equipment positioned on water through sound waves, or the underwater diving equipment can communicate with the electronic equipment also positioned under water through sound waves. However, since diving is a dangerous limiting exercise, it is important to check the communication ability of these diving equipment. At present, a great amount of manpower and material resources are needed to be input in the underwater communication test process to construct an underwater complex environment, and the cost is high and the efficiency is low. In addition, the diver needs to submerge under the water for a certain depth to perform underwater communication test, and before the diver is launched, the diver does not know whether the functions of the diving equipment meet the requirements, so that the safety after diving is difficult to be ensured. Therefore, how to perform underwater communication test quickly, efficiently and safely is a problem to be solved. Disclosure of Invention In view of this, the present application provides a communication test method, a communication test system, a readable storage medium, and a program product for determining underwater communication capability of a diving equipment by transferring a communication test procedure of the diving equipment originally under water to water and determining the underwater communication capability of the diving equipment based on the communication test result on water. Therefore, the communication test process does not need to construct a test environment under water, and a diver can directly conduct communication test on water without diving, so that the communication test process is more convenient and safer. In a first aspect, a communication test method is provided, and the method includes the steps of obtaining a transmission result of a first test message sent by a first electronic device on water to a second electronic device, obtaining a receiving result of the first test message sent by the first electronic device received by the second electronic device on water, and determining underwater communication capability of the first electronic device and/or the second electronic device according to the transmission result of the first test message and the receiving result of the first test message. Optionally, the transmission result of the first test message includes a transmission case in which the first electronic device actually transmits the first test message, for example, the transmission case includes an actual transmission number of the first test message, a message type, a transmission delay, and the like. The reception result of the first test message includes a reception situation in which the second electronic device actually receives the first test message, for example, the reception situation includes an actual reception number, a reception ratio, a received text accuracy, and the like of the first test message. Optionally, the underwater communication capability includes at least one of a transmission capability/reception capability, an anti-interference capability, and an underwater communication distance. Based on the method, on one hand, the communication test process is carried out on water without constructing a test environment under water, and the communication test process is lower in cost and higher in efficiency. On the other hand, the diver can directly carry out communication test on water without diving to a certain depth, and the difficulty of carrying out communication test is lower, the process is more convenient and the safety is higher. Alternatively, the electronic device performing the communication test method may be a dedicated electronic device, such as a server, network device, that provides centralized computing, storage, or network services for the user or other electronic device. For example, the electronic device executing the communication test method is a server, the first electronic device uploads the sending result of the first test message to the server, such as a cloud server in the cloud, and the second electronic device uploads the receiving result of the first test message to the server. Furthermore, the server obtains the transmission result and the receiving result of the uploaded first test message, and determines the underwater communication capability of the first electronic device and/or the second electronic device. Alternatively, the electronic device performing the commun