Search

CN-122028222-A - Equipment connection method, related device and communication system

CN122028222ACN 122028222 ACN122028222 ACN 122028222ACN-122028222-A

Abstract

The application provides a device connection method, a related device and a communication system. The first device includes a first short-range communication channel and a second short-range communication channel capable of wireless communication. The first device can be respectively connected with different electronic devices through the first short-distance communication channel and the second short-distance communication channel, and simultaneously perform two different short-distance communication services. Thus, the communication experience of the user can be better improved, and the interruption of one short-distance communication service when the other short-distance communication service is started is avoided.

Inventors

  • WANG LIANG
  • ZHOU BAOGUANG
  • ZHU RENFEI

Assignees

  • 华为技术有限公司

Dates

Publication Date
20260512
Application Date
20250930

Claims (15)

  1. 1. A device connection method, the method being applied to a first device comprising a first short-range communication channel and a second short-range communication channel, the method comprising: The first device communicates with the second device through the first short-distance communication channel to perform a first short-distance communication service; in response to an operation of opening a second short-range communication service, the first device switches a channel for communication with the second device to the second short-range communication channel; And in the process of maintaining the first short-distance communication service through the second short-distance communication channel, the first device communicates with a third device through the first short-distance communication channel to perform the second short-distance communication service.
  2. 2. The method of claim 1, wherein the performance of the first short-range communication channel is better than the performance of the second short-range communication channel.
  3. 3. A method according to claim 1 or 2, characterized in that the second short-range communication service requires a higher transmission distance than the first short-range communication service.
  4. 4. A method according to any of claims 1-3, characterized in that the second short-range communication service is a netless communication service.
  5. 5. The method of claim 4, wherein the gateless communication service includes one or more of a gatekeeper service based on gatekeeper communication, a messaging service based on gatekeeper communication, and a talkback service based on gatekeeper communication.
  6. 6. The method of any of claims 1-5, wherein the first device switching a channel in communication with the second device to the second short-range communication channel comprises: The first device determining a first parameter for communication with the second device over the first short-range communication channel, the first parameter comprising one or more of a power of a signal transmitted to the second device, a heartbeat interval to maintain a communication link with the second device, a physical layer type used for communication with the second device, a start point in time of a next data packet transmitted with the second device; The first device communicates with the second device according to the first parameter over the second short-range communication channel.
  7. 7. The method according to any one of claims 1-6, further comprising: and when the second short-distance communication service is finished, the first device switches a channel communicated with the second device into the first short-distance communication channel, and the first short-distance communication service is carried out with the second device through the first short-distance communication channel.
  8. 8. The method according to any of claims 1-7, wherein the second device is a headset and the first short-range communication service comprises a service instructing the headset to play audio and/or collect audio.
  9. 9. The method of claim 8, wherein the second short-range communication service is a talk service based on a wireless communication or an intercom service based on a wireless communication, the first device communicating with a third device through the first short-range communication channel during the maintaining of the first short-range communication service through the second short-range communication channel, comprising: the first device receives first audio of the third device through the first short-distance communication channel, and sends the first audio to the earphone through the second short-distance communication channel, wherein the first audio is call audio or intercom audio; The first device receives second audio collected by the earphone through the second short-distance communication channel, and sends the second audio to the third device through the first short-distance communication channel.
  10. 10. The method according to any of claims 1-9, wherein the communication means supported by the first short-range communication channel is the same as or different from the communication means supported by the second short-range communication channel.
  11. 11. The method of any of claims 1-10, wherein the first short-range communication channel and the second short-range communication channel are provided on the same chip.
  12. 12. An electronic device comprising a first short-range communication channel, a second short-range communication channel, a memory, and a processor, wherein the first short-range communication channel and the second short-range communication channel are used for short-range communication, the memory is used for storing a computer program, and the processor executes the computer program to implement the method of any one of claims 1-11.
  13. 13. A computer readable storage medium storing instructions which, when executed by a processor, implement the method of any one of claims 1-11.
  14. 14. A computer program product comprising computer instructions which, when executed by a processor, implement the method of any one of claims 1-11.
  15. 15. A chip system comprising processing circuitry and interface circuitry, the interface circuitry to receive code instructions and to transmit to the processing circuitry, the processing circuitry to execute the code instructions to perform the method of any of claims 1-11.

Description

Equipment connection method, related device and communication system Technical Field The present application relates to the field of terminal technologies, and in particular, to a device connection method, a related device, and a communication system. Background With the development of electronic devices, electronic devices such as mobile phones and tablet computers play an increasingly important role in the life of people. A user may use the electronic device in an environment where network signals are not good, such as an outdoor scenario. The electronic equipment can provide a network-free communication function, and is convenient for a user to contact with other users in an environment with poor network signals. How to improve the internet-free communication experience is a problem to be solved currently. Disclosure of Invention The application provides a device connection method, a related device and a communication system. The first device may connect different electronic devices through two short-range communications in the first device, and perform two different short-range communications services simultaneously. Thus, the communication experience of the user can be better improved, and the interruption of one short-distance communication service when the other short-distance communication service is started is avoided. In a first aspect, the present application provides a device connection method. The method is applicable to a first device comprising a first short-range communication channel and a second short-range communication channel. The first device communicates with the second device through the first short-distance communication channel to perform a first short-distance communication service, responds to the operation of starting the second short-distance communication service, switches the channel communicated with the second device into the second short-distance communication channel, and communicates with the third device through the first short-distance communication channel to perform the second short-distance communication service in the process of maintaining the first short-distance communication service through the second short-distance communication channel. In some embodiments, the performance of the first short-range communication channel is better than the performance of the second short-range communication channel. The better performance of the first short-range communication channel may indicate that the first device is capable of communicating with electronic devices further from the first device via the first short-range communication channel. It can be seen that the first device may connect different devices through the first short-range communication channel and the second short-range communication channel, while performing two different short-range communication services. And when the first short-distance communication service occupies the first short-distance communication channel, the first device can switch the channel for carrying out the first short-distance communication service when the second short-distance communication service needs to be started, and the first short-distance communication channel with better performance is used for carrying out the second short-distance communication service. Therefore, the interruption of one short-distance communication service when the other short-distance communication service is started can be avoided, the smooth proceeding of different short-distance communication services can be ensured, and the communication experience of a user is improved. In combination with the first aspect, in some embodiments, the second short-range communication service requires a higher transmission distance than the first short-range communication service. Thus, the first device can use the first short-distance communication channel with better performance to carry out the second short-distance communication service, and ensure the smooth operation of the service with higher requirement on the transmission distance. With reference to the first aspect, in some embodiments, the second short-range communication service has a higher priority than the first short-range communication service. The priority of the short-range communication service may be preset. It can be seen that if the second short-range communication service with higher priority needs to be performed, the first short-range communication channel with better performance is occupied by the first short-range communication service with lower priority, then the first device may switch the channel connected to the second device associated with the first short-range communication service to the second short-range communication channel, and then use the first short-range communication channel to perform the second short-range communication service with higher priority. Therefore, the user experience of the high-priority short-distance communication service can be improved, the short-distan