WO2023280160A1 - Procédé et appareil de commutation de canal - Google Patents

Procédé et appareil de commutation de canal Download PDF

Info

Publication number
WO2023280160A1
WO2023280160A1 PCT/CN2022/103922 CN2022103922W WO2023280160A1 WO 2023280160 A1 WO2023280160 A1 WO 2023280160A1 CN 2022103922 W CN2022103922 W CN 2022103922W WO 2023280160 A1 WO2023280160 A1 WO 2023280160A1
Authority
WO
WIPO (PCT)
Prior art keywords
channel
receiving end
sending end
data
sending
Prior art date
Application number
PCT/CN2022/103922
Other languages
English (en)
Chinese (zh)
Inventor
周蓉
邱泽令
Original Assignee
华为技术有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 华为技术有限公司 filed Critical 华为技术有限公司
Publication of WO2023280160A1 publication Critical patent/WO2023280160A1/fr

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W36/00Hand-off or reselection arrangements
    • H04W36/24Reselection being triggered by specific parameters
    • H04W36/30Reselection being triggered by specific parameters by measured or perceived connection quality data
    • H04W36/302Reselection being triggered by specific parameters by measured or perceived connection quality data due to low signal strength
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W36/00Hand-off or reselection arrangements
    • H04W36/0005Control or signalling for completing the hand-off
    • H04W36/0083Determination of parameters used for hand-off, e.g. generation or modification of neighbour cell lists
    • H04W36/00837Determination of triggering parameters for hand-off
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W36/00Hand-off or reselection arrangements
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W76/00Connection management
    • H04W76/10Connection setup
    • H04W76/15Setup of multiple wireless link connections

Definitions

  • the solution relates to the technical field of communications, and in particular to a channel switching method and device.
  • the embodiment of the present application provides a channel switching method and device.
  • the sending end transmits data to the receiving end through the first channel; when the quality parameter of the first channel is lower than the first threshold, the sending end sends the data to the receiving end.
  • the breakpoint position, the breakpoint position is used to determine the first data, the first data is the data that the sender has not sent when the quality parameter of the first channel is lower than the first threshold; the sender maintains the first channel, and
  • the receiving end negotiates to establish a second channel; the sending end sends the first data to the receiving end through the second channel, and the first data is used by the receiving end to splicing the first data and the second data based on the breakpoint position, and the second data is the receiving end Data received through the first channel prior to the breakpoint location.
  • the sending end and the receiving end do not switch channels immediately when the channel is abnormal, but there is a preparation time between determining the breakpoint position and switching to ensure that the channel after switching is optimally available, and there will be no post-switching It is still not easy to use, but the data at the receiving end is directly spliced and received from the negotiated breakpoint position, no comparison calculation is required, and the splicing time can be reduced, thereby ensuring smooth switching and no user perception.
  • the embodiment of the present application provides a channel switching method, the method is applied to the sending end, and the method includes:
  • the sending end transmits data to the receiving end through the first channel
  • the sending end sends a breakpoint position to the receiving end, the breakpoint position is used to determine first data, and the first data is the Data not sent by the sending end when the quality parameter of the first channel is lower than a first threshold;
  • the sending end negotiates with the receiving end to establish a second channel while maintaining the first channel
  • the sending end sends the first data to the receiving end through the second channel, and the first data is used by the receiving end to compare the first data with the second data based on the breakpoint position Splicing, the second data is the data received by the receiving end through the first channel and located before the breakpoint.
  • the first threshold is set, and the sending end can negotiate breakpoint information with the receiving end in time when the first channel is abnormal. Therefore, when the sending end and the receiving end switch channels, the receiving end can promptly start from the breakpoint.
  • the splicing of data improves the speed of splicing data at the receiving end, so that the user has a higher sense of experience in the process of switching channels.
  • the sending end and the receiving end can simultaneously detect the quality of the first channel to improve the success rate.
  • the sending end may negotiate with the receiving end to update the breakpoint position and negotiate to determine the second channel every preset time, and then switch the first channel to the second channel. It can be understood that since the network quality is constantly changing, the second channel determined within one to two seconds before the handover is more likely to be available and optimal.
  • the quality parameter of the first channel is any parameter in signal strength, channel throughput, channel rate, heartbeat packet or the signal strength, the channel throughput , the channel rate, and the weighted sum of at least two parameters in the heartbeat packet.
  • the method for detecting channel quality at the sending end and the receiving end can be realized through the quality parameter of the first channel, and the quality parameter of the first channel can be any one of signal strength, channel throughput rate, channel rate, and heartbeat packet parameter or the weighted sum of at least two parameters in the signal strength, the channel throughput rate, the channel rate, and the heartbeat packet.
  • the sending end can select different quality parameters according to application scenarios, or perform various processing methods such as classification and weighted summation of the quality parameters, so that the channel quality can be reasonably evaluated according to different application scenarios. For example, in the process of data transmission, the evaluation of channel quality focuses on the speed of the channel, and the sending end can increase the weight of the channel rate; another example, in the process of screen projection, the evaluation of channel quality focuses on the stability of the business , the sender can increase the weight of the channel throughput.
  • the sending end negotiates with the receiving end to establish a second channel while maintaining the first channel, including:
  • the sending end acquires channels available to the receiving end;
  • the sending end determines a channel that is available to both the sending end and the receiving end as an available channel
  • the sending end determines the second channel from the available channels
  • the sending end sends the second channel to the receiving end
  • the sending end After receiving the reply message from the receiving end, the sending end establishes a second channel connection with the receiving end.
  • the second channel is established while the first channel is continuously transmitted. Therefore, when the sending end and the receiving end can switch from the first channel to the second channel, the data will not appear for a long time. stop transmission.
  • the search for the second channel is often started after the first channel becomes abnormal, but the embodiment of the present application has established the second channel in advance to ensure smooth switching between the first channel and the second channel.
  • the sending end determines the second channel from the available channels, including:
  • the sending end obtains the quality parameter of each channel in the available channels
  • the sending end determines the channel with the highest quality parameter among the available channels as the second channel.
  • the sending end and/or the receiving end may select the channel with the highest channel quality among the available channels as the second channel.
  • the sending end, the receiving end, and the node communicate through the same network, and the sending end determines the second channel from the available channels, including :
  • the sending end obtains the channel type used when the node transmits data of the same type as the first data within the target time;
  • the sending end determines a channel belonging to the channel type among the available channels as the second channel.
  • the sending end determines the second channel from the available channels, including:
  • the sending end obtains the quality parameter of each channel in the available channels
  • the sending end determines an available channel whose quality parameter is higher than that of the first channel as the second channel.
  • sending the first data to the receiving end by the sending end through the second channel includes:
  • the sending end sends the first data to the receiving end through the second channel, and the preset condition includes that the quality parameter of the first channel is lower than a second threshold , at least one condition in which the quality parameter of the first channel is lower than the quality parameter of the available channel and the quality parameter of the available channel is higher than a third threshold.
  • the sending end includes at least two chips
  • the available channel includes a channel between any one of the two chips and the receiving end.
  • the sending end sends the breakpoint location to the receiving end, including:
  • the sending end broadcasts the breakpoint location to the receiving end.
  • the sending end sends the breakpoint location to the receiving end, including:
  • the sending end sends the breakpoint position to the receiving end through a control channel.
  • the sending end when the channel quality of the first channel is not good, sends the first breakpoint information to the receiving end through other channels, which can avoid failure to send the first breakpoint information.
  • the embodiment of the present application provides a channel switching method, the method is applied to the receiving end, and the method includes:
  • the receiving end receives data from the sending end through the first channel
  • the receiving end negotiates a breakpoint position with the sending end, and the breakpoint position is used to determine first data, and the first data is sent by the sending end through the first channel and is located at the breakpoint position subsequent data;
  • the receiving end negotiates with the sending end to establish a second channel while maintaining the first channel
  • the receiving end receives the first data from the sending end through the second channel
  • the receiving end splices the first data and second data based on the breakpoint position, and the second data is the data received by the receiving end through the first channel before the breakpoint position .
  • the breakpoint position is the breakpoint position received by the receiving end from the sending end, and the first data is the Data not sent when the quality parameter of the channel is lower than the first threshold; or, the breakpoint position is determined by the receiving end when the quality parameter of the first channel is lower than the fourth threshold, the first The data is data not received by the receiving end when the quality parameter of the first channel is lower than the fourth threshold.
  • the receiving end negotiates with the sending end to establish a second channel while maintaining the first channel, including:
  • the receiving end acquires channels available to the sending end
  • the receiving end determines a channel that is available to both the receiving end and the sending end as an available channel
  • the receiving end determines the second channel from the available channels
  • the receiving end sends the second channel to the sending end
  • the receiving end After receiving the reply message from the sending end, the receiving end establishes a second channel connection with the sending end.
  • the sending end and the receiving end detect the first channel at the same time, which can improve the detection effect of the detection result and help improve the success rate of channel switching.
  • the receiving end determining the second channel from the available channels includes:
  • the receiving end obtains a quality parameter of each channel in the available channels
  • the receiving end determines the channel with the highest quality parameter among the available channels as the second channel.
  • the receiving end, the receiving end and the node communicate through the same network, and the receiving end determines the second channel from the available channels, including :
  • the receiving end obtains the channel type used by the node when transmitting data of the same type as the first data within the target time;
  • the receiving end determines a channel belonging to the channel type among the available channels as the second channel.
  • the receiving end determining the second channel from the available channels includes:
  • the receiving end obtains a quality parameter of each channel in the available channels
  • the receiving end determines an available channel whose quality parameter is higher than that of the first channel as the second channel.
  • the receiving end includes at least two chips
  • the available channel includes a channel between any one of the two chips and the sending end.
  • the receiving end and the sending end negotiate a breakpoint position, including:
  • the receiving end broadcasts the breakpoint location to the sending end.
  • the receiving end and the sending end negotiate a breakpoint position, including:
  • the receiving end sends the breakpoint position to the sending end through a control path.
  • the second channel is determined by the sending end, and the receiving end negotiates with the sending end to establish a second channel while maintaining the first channel.
  • Two channels including:
  • the receiving end When receiving the second channel from the sending end, the receiving end establishes a connection of the second channel with the sending end.
  • an electronic device in a third aspect, includes: one or more processors, memory, and a display screen; the memory is coupled to the one or more processors, and the memory is used for Store computer program code, the computer program code includes computer instructions, and the one or more processors are used to invoke the computer instructions so that the electronic device executes the first aspect and any possible implementation manner in the first aspect described method.
  • an electronic device in a fourth aspect, includes: one or more processors, a memory, and a display screen; the memory is coupled to the one or more processors, and the memory is used for Store computer program code, the computer program code includes computer instructions, and the one or more processors are used to invoke the computer instructions so that the electronic device executes the second aspect and any possible implementation manner in the second aspect described method.
  • the embodiment of the present application provides a chip, the chip is applied to an electronic device, and the chip includes one or more processors, and the processor is used to invoke computer instructions so that the electronic device executes the electronic device according to the first aspect and the second aspect.
  • the processor is used to invoke computer instructions so that the electronic device executes the electronic device according to the first aspect and the second aspect.
  • the embodiment of the present application provides a chip, the chip is applied to an electronic device, and the chip includes one or more processors, and the processor is used to invoke computer instructions so that the electronic device executes the electronic device according to the second aspect and the second aspect.
  • the processor is used to invoke computer instructions so that the electronic device executes the electronic device according to the second aspect and the second aspect.
  • the embodiment of the present application provides a computer program product containing instructions, and when the above computer program product is run on the electronic device, the above electronic device is made to execute any possible implementation method according to the first aspect and the first aspect described method.
  • the embodiment of the present application provides a computer program product containing instructions, when the above-mentioned computer program product is run on the electronic device, the above-mentioned electronic device is made to execute any possible implementation method according to the second aspect and the second aspect described method.
  • the embodiment of the present application provides a computer-readable storage medium, including instructions, which, when the above-mentioned instructions are run on the electronic device, cause the above-mentioned electronic device to execute any possible implementation method according to the first aspect and the first aspect. described method.
  • the embodiment of the present application provides a computer-readable storage medium, including instructions, which, when the above-mentioned instructions are run on the electronic device, cause the above-mentioned electronic device to execute any possible implementation of the second aspect and the second aspect. described method.
  • FIG. 1A is a schematic diagram of a channel switching network architecture provided by an embodiment of the present application.
  • FIG. 1B is a schematic diagram of another channel switching network architecture provided by the embodiment of the present application.
  • FIG. 2 is a schematic structural diagram of an electronic device 100 provided in an embodiment of the present application.
  • FIG. 3 is a software structural block diagram of an electronic device 100 provided in an embodiment of the present application.
  • FIG. 4 is a flowchart of a channel switching method provided in an embodiment of the present application.
  • FIG. 5 is a schematic diagram of a breakpoint information provided by an embodiment of the present application.
  • FIG. 6 is a schematic diagram of a scoring method for available channels provided by an embodiment of the present application.
  • FIG. 1A is a schematic diagram of a channel switching network architecture provided by an embodiment of the present application.
  • the network architecture includes a sending end 10 and a receiving end 20 , and the sending end 10 and the receiving end 20 can communicate through multiple channels. in:
  • the sending end 10 transmits data to the receiving end 20 through the first channel; when the quality parameter of the first channel is lower than the first threshold, the sending end 10 sends the breakpoint position to the receiving end 20, and the breakpoint position is used to determine the second One data
  • the first data is the data not sent by the sending end 10 when the quality parameter of the first channel is lower than the first threshold, correspondingly, the receiving end 20 receives the breakpoint information from the sending end 10; the sending end 10 keeps the In the case of one channel, negotiate with the receiving end 20 to establish a second channel; the sending end 10 sends the first data to the receiving end 20 through the second channel; the receiving end 20 splices the first data and the second data based on the breakpoint position, The second data is the data received by the receiving end 20 through the first channel and located before the breakpoint.
  • FIG. 1B is a schematic diagram of another channel switching network architecture provided by an embodiment of the present application.
  • the network architecture includes a sending end 10 , a receiving end 20 and a node 30 , wherein the sending end 10 , receiving end 20 and node 30 are in the same network environment or communicate through the same network.
  • the sending end 10 and the receiving end 20 can obtain from the node 30 the channel type used by the node 30 to transmit data of the same type as the first data within the target time, and then determine the transmission For the channel of the first data, please refer to the relevant content below for specific content.
  • the above-mentioned sending end 10, receiving end 20, and node 30 may be electronic devices, which include but are not limited to smart phones, tablet computers, personal digital assistants (personal digital assistant, PDA), wearable electronic devices with wireless communication functions (such as smart watches, smart glasses), augmented reality (augmented reality, AR) equipment, virtual reality (virtual reality, VR) equipment, etc.
  • Exemplary embodiments of electronic devices include, but are not limited to Portable electronic devices with Linux or other operating systems.
  • the aforementioned electronic equipment may also be other portable electronic equipment, such as a laptop computer (Laptop). It should also be understood that, in some other embodiments, the above-mentioned electronic device may not be a portable electronic device, but a desktop computer or the like.
  • the communication connection between the sending end 10 and the receiving end 20 may be a wired connection or a wireless connection.
  • the wireless connection may be a high-fidelity wireless communication (wireless fidelity, Wi-Fi) connection, a Bluetooth connection, an infrared connection, an NFC connection, a ZigBee connection, or a short-distance connection.
  • the channel refers to the logical channel through which information can be transmitted, based on communication media and relay equipment, and the media can be universal serial bus (universal serial bus, USB) interface lines, cables and optical fibers in wired form, or wireless Electromagnetic wave channel.
  • the channel is not limited to the channel of the wireless application layer transmission protocol.
  • L2CAP Logical Link Control and Adaptation Protocol
  • LMP Link Manager Protocol
  • Channel establishment includes channel negotiation and selection, not only switching on the channel, but also switching between wireless and wired, and wireless application layer protocols.
  • channel switching network architectures in FIG. 1A and FIG. 1B are only exemplary implementations of the embodiments of the present application, and the channel switching network architectures in the embodiments of the present application include but are not limited to the above channel switching network architectures.
  • FIG. 2 is a schematic structural diagram of an electronic device 100 provided in an embodiment of the present application.
  • electronic device 100 may have more or fewer components than shown in the figures, may combine two or more components, or may have a different configuration of components.
  • the various components shown in the figures may be implemented in hardware, software, or a combination of hardware and software including one or more signal processing and/or application specific integrated circuits.
  • the electronic device 100 may include: a processor 110, an external memory interface 120, an internal memory 121, a universal serial bus (universal serial bus, USB) interface 130, a charging management module 140, a power management module 141, a battery 142, an antenna 1, and an antenna 2.
  • Mobile communication module 150 wireless communication module 160, audio module 170, speaker 170A, receiver 170B, microphone 170C, earphone jack 170D, sensor module 180, button 190, motor 191, indicator 192, camera 193, display screen 194 and A subscriber identification module (subscriber identification module, SIM) card interface 195 and the like.
  • SIM subscriber identification module
  • the sensor module 180 may include a pressure sensor 180A, a gyroscope sensor 180B, an air pressure sensor 180C, a magnetic sensor 180D, an acceleration sensor 180E, a distance sensor 180F, a proximity light sensor 180G, a fingerprint sensor 180H, a temperature sensor 180J, a touch sensor 180K, an ambient light sensor 180L, bone conduction sensor 180M, etc.
  • the structure illustrated in the embodiment of the present application does not constitute a specific limitation on the electronic device 100 .
  • the electronic device 100 may include more or fewer components than shown in the figure, or combine certain components, or separate certain components, or arrange different components.
  • the illustrated components can be realized in hardware, software or a combination of software and hardware.
  • the processor 110 may include one or more processing units, for example: the processor 110 may include an application processor (application processor, AP), a modem processor, a graphics processing unit (graphics processing unit, GPU), an image signal processor (image signal processor, ISP), controller, memory, video codec, digital signal processor (digital signal processor, DSP), baseband processor, and/or neural network processor (neural-network processing unit, NPU) Wait. Wherein, different processing units may be independent devices, or may be integrated in one or more processors.
  • application processor application processor, AP
  • modem processor graphics processing unit
  • GPU graphics processing unit
  • image signal processor image signal processor
  • ISP image signal processor
  • controller memory
  • video codec digital signal processor
  • DSP digital signal processor
  • baseband processor baseband processor
  • neural network processor neural-network processing unit
  • the controller may be the nerve center and command center of the electronic device 100 .
  • the controller can generate an operation control signal according to the instruction opcode and timing signal, and complete the control of fetching and executing the instruction.
  • a memory may also be provided in the processor 110 for storing instructions and data.
  • the memory in processor 110 is a cache memory.
  • the memory may hold instructions or data that the processor 110 has just used or recycled. If the processor 110 needs to use the instruction or data again, it can be called directly from the memory. Repeated access is avoided, and the waiting time of the processor 110 is reduced, thereby improving the efficiency of the system.
  • processor 110 may include one or more interfaces.
  • the interface may include an integrated circuit (inter-integrated circuit, I2C) interface, an integrated circuit built-in audio (inter-integrated circuit sound, I2S) interface, a pulse code modulation (pulse code modulation, PCM) interface, a universal asynchronous transmitter (universal asynchronous receiver/transmitter, UART) interface, mobile industry processor interface (mobile industry processor interface, MIPI), general-purpose input and output (general-purpose input/output, GPIO) interface, subscriber identity module (subscriber identity module, SIM) interface, and /or Universal Serial Bus interface, etc.
  • I2C integrated circuit
  • I2S integrated circuit built-in audio
  • PCM pulse code modulation
  • PCM pulse code modulation
  • UART universal asynchronous transmitter
  • MIPI mobile industry processor interface
  • GPIO general-purpose input and output
  • subscriber identity module subscriber identity module
  • SIM subscriber identity module
  • Universal Serial Bus interface etc.
  • the I2C interface is a bidirectional synchronous serial bus, including a serial data line (serial data line, SDA) and a serial clock line (derail clock line, SCL).
  • processor 110 may include multiple sets of I2C buses.
  • the processor 110 can be respectively coupled to the touch sensor 180K, the charger, the flashlight, the camera 193 and the like through different I2C bus interfaces.
  • the processor 110 may be coupled to the touch sensor 180K through the I2C interface, so that the processor 110 and the touch sensor 180K communicate through the I2C bus interface to realize the touch function of the electronic device 100 .
  • the I2S interface can be used for audio communication.
  • processor 110 may include multiple sets of I2S buses.
  • the processor 110 may be coupled to the audio module 170 through an I2S bus to implement communication between the processor 110 and the audio module 170 .
  • the audio module 170 can transmit audio signals to the wireless communication module 160 through the I2S interface, so as to realize the function of answering calls through the Bluetooth headset.
  • the PCM interface can also be used for audio communication, sampling, quantizing and encoding the analog signal.
  • the audio module 170 and the wireless communication module 160 may be coupled through a PCM bus interface.
  • the audio module 170 can also transmit audio signals to the wireless communication module 160 through the PCM interface, so as to realize the function of answering calls through the Bluetooth headset. Both the I2S interface and the PCM interface can be used for audio communication.
  • the UART interface is a universal serial data bus used for asynchronous communication.
  • the bus can be a bidirectional communication bus. It converts the data to be transmitted between serial communication and parallel communication.
  • a UART interface is generally used to connect the processor 110 and the wireless communication module 160 .
  • the processor 110 communicates with the Bluetooth module in the wireless communication module 160 through the UART interface to realize the Bluetooth function.
  • the audio module 170 can transmit audio signals to the wireless communication module 160 through the UART interface, so as to realize the function of playing music through the Bluetooth headset.
  • the MIPI interface can be used to connect the processor 110 with peripheral devices such as the display screen 194 and the camera 193 .
  • MIPI interface includes camera serial interface (camera serial interface, CSI), display serial interface (display serial interface, DSI), etc.
  • the processor 110 communicates with the camera 193 through the CSI interface to realize the shooting function of the electronic device 100 .
  • the processor 110 communicates with the display screen 194 through the DSI interface to realize the display function of the electronic device 100 .
  • the GPIO interface can be configured by software.
  • the GPIO interface can be configured as a control signal or as a data signal.
  • the GPIO interface can be used to connect the processor 110 with the camera 193 , the display screen 194 , the wireless communication module 160 , the audio module 170 , the sensor module 180 and so on.
  • the GPIO interface can also be configured as an I2C interface, I2S interface, UART interface, MIPI interface, etc.
  • the SIM interface can be used to communicate with the SIM card interface 195 to realize the function of transmitting data to the SIM card or reading data in the SIM card.
  • the USB interface 130 is an interface conforming to the USB standard specification, specifically, it can be a Mini USB interface, a Micro USB interface, a USB Type C interface, and the like.
  • the USB interface 130 can be used to connect a charger to charge the electronic device 100 , and can also be used to transmit data between the electronic device 100 and peripheral devices. It can also be used to connect headphones and play audio through them. This interface can also be used to connect other electronic devices, such as AR devices.
  • the interface connection relationship between the modules shown in the embodiment of the present application is only a schematic illustration, and does not constitute a structural limitation of the electronic device 100 .
  • the electronic device 100 may also adopt different interface connection manners in the foregoing embodiments, or a combination of multiple interface connection manners.
  • the charging management module 140 is configured to receive a charging input from a charger.
  • the charger may be a wireless charger or a wired charger.
  • the power management module 141 is used for connecting the battery 142 , the charging management module 140 and the processor 110 .
  • the power management module 141 receives the input from the battery 142 and/or the charging management module 140 to provide power for the processor 110 , the internal memory 121 , the external memory, the display screen 194 , the camera 193 , and the wireless communication module 160 .
  • the wireless communication function of the electronic device 100 can be realized by the antenna 1 , the antenna 2 , the mobile communication module 150 , the wireless communication module 160 , a modem processor, a baseband processor, and the like.
  • Antenna 1 and Antenna 2 are used to transmit and receive electromagnetic wave signals.
  • Each antenna in electronic device 100 may be used to cover single or multiple communication frequency bands. Different antennas can also be multiplexed to improve the utilization of the antennas.
  • Antenna 1 can be multiplexed as a diversity antenna of a wireless local area network.
  • the antenna may be used in conjunction with a tuning switch.
  • the mobile communication module 150 can provide wireless communication solutions including 2G/3G/4G/5G applied on the electronic device 100 .
  • the mobile communication module 150 may include at least one filter, switch, power amplifier, low noise amplifier (low noise amplifier, LNA) and the like.
  • the mobile communication module 150 can receive electromagnetic waves through the antenna 1, filter and amplify the received electromagnetic waves, and send them to the modem processor for demodulation.
  • the mobile communication module 150 can also amplify the signals modulated by the modem processor, and convert them into electromagnetic waves through the antenna 1 for radiation.
  • at least part of the functional modules of the mobile communication module 150 may be set in the processor 110 .
  • at least part of the functional modules of the mobile communication module 150 and at least part of the modules of the processor 110 may be set in the same device.
  • a modem processor may include a modulator and a demodulator.
  • the modulator is used for modulating the low-frequency baseband signal to be transmitted into a medium-high frequency signal.
  • the demodulator is used to demodulate the received electromagnetic wave signal into a low frequency baseband signal. Then the demodulator sends the demodulated low-frequency baseband signal to the baseband processor for processing.
  • the low-frequency baseband signal is passed to the application processor after being processed by the baseband processor.
  • the application processor outputs sound signals through audio equipment (not limited to speaker 170A, receiver 170B, etc.), or displays images or videos through display screen 194 .
  • the modem processor may be a stand-alone device.
  • the modem processor may be independent of the processor 110, and be set in the same device as the mobile communication module 150 or other functional modules.
  • the wireless communication module 160 can provide wireless local area networks (wireless local area networks, WLAN) (such as wireless fidelity (Wireless Fidelity, Wi-Fi) network), bluetooth (bluetooth, BT), global navigation satellite, etc. applied on the electronic device 100.
  • System global navigation satellite system, GNSS
  • frequency modulation frequency modulation, FM
  • near field communication technology near field communication, NFC
  • infrared technology infrared, IR
  • the wireless communication module 160 may be one or more devices integrating at least one communication processing module.
  • the wireless communication module 160 receives electromagnetic waves via the antenna 2 , frequency-modulates and filters the electromagnetic wave signals, and sends the processed signals to the processor 110 .
  • the wireless communication module 160 can also receive the signal to be sent from the processor 110 , frequency-modulate it, amplify it, and convert it into electromagnetic waves through the antenna 2 for radiation.
  • the antenna 1 of the electronic device 100 is coupled to the mobile communication module 150, and the antenna 2 is coupled to the wireless communication module 160, so that the electronic device 100 can communicate with the network and other devices through wireless communication technology.
  • the wireless communication technology may include global system for mobile communications (GSM), general packet radio service (general packet radio service, GPRS), code division multiple access (code division multiple access, CDMA), broadband Code division multiple access (wideband code division multiple access, WCDMA), time-division code division multiple access (TD-SCDMA), long term evolution (long term evolution, LTE), BT, GNSS, WLAN, NFC , FM, and/or IR techniques, etc.
  • the GNSS may include a global positioning system (global positioning system, GPS), a global navigation satellite system (global navigation satellite system, GLONASS), a Beidou navigation satellite system (beidou navigation satellite system, BDS), a quasi-zenith satellite system (quasi -zenith satellite system (QZSS) and/or satellite based augmentation systems (SBAS).
  • GPS global positioning system
  • GLONASS global navigation satellite system
  • Beidou navigation satellite system beidou navigation satellite system
  • BDS Beidou navigation satellite system
  • QZSS quasi-zenith satellite system
  • SBAS satellite based augmentation systems
  • the electronic device 100 realizes the display function through the GPU, the display screen 194 , and the application processor.
  • the GPU is a microprocessor for image processing, and is connected to the display screen 194 and the application processor. GPUs are used to perform mathematical and geometric calculations for graphics rendering.
  • Processor 110 may include one or more GPUs that execute program instructions to generate or change display information.
  • the display screen 194 is used to display images, videos and the like.
  • the display screen 194 includes a display panel.
  • the display panel can be a liquid crystal display (LCD), an organic light-emitting diode (OLED), an active matrix organic light emitting diode or an active matrix organic light emitting diode (active-matrix organic light emitting diode, AMOLED), flexible light-emitting diode (flex light-emitting diode, FLED), Miniled, MicroLed, Micro-oLed, quantum dot light emitting diodes (quantum dot light emitting diodes, QLED), etc.
  • the electronic device 100 may include 1 or N display screens 194 , where N is a positive integer greater than 1.
  • the electronic device 100 can realize the shooting function through the ISP, the camera 193 , the video codec, the GPU, the display screen 194 and the application processor.
  • the ISP is used for processing the data fed back by the camera 193 .
  • the light is transmitted to the photosensitive element of the camera through the lens, and the light signal is converted into an electrical signal, and the photosensitive element of the camera transmits the electrical signal to the ISP for processing, and converts it into an image visible to the naked eye.
  • ISP can also perform algorithm optimization on image noise, brightness, and skin color.
  • ISP can also optimize the exposure, color temperature and other parameters of the shooting scene.
  • the ISP may be located in the camera 193 .
  • Camera 193 is used to capture still images or video.
  • the object generates an optical image through the lens and projects it to the photosensitive element.
  • the photosensitive element may be a charge coupled device (CCD) or a complementary metal-oxide-semiconductor (CMOS) phototransistor.
  • CMOS complementary metal-oxide-semiconductor
  • the photosensitive element converts the light signal into an electrical signal, and then transmits the electrical signal to the ISP to convert it into a digital image signal.
  • the ISP outputs the digital image signal to the DSP for processing.
  • DSP converts digital image signals into standard RGB, YUV and other image signals.
  • the electronic device 100 may include 1 or N cameras 193 , where N is a positive integer greater than 1.
  • Digital signal processors are used to process digital signals. In addition to digital image signals, they can also process other digital signals. For example, when the electronic device 100 selects a frequency point, the digital signal processor is used to perform Fourier transform on the energy of the frequency point.
  • Video codecs are used to compress or decompress digital video.
  • the electronic device 100 may support one or more video codecs.
  • the electronic device 100 can play or record videos in various encoding formats, for example: moving picture experts group (moving picture experts group, MPEG) 1, MPEG2, MPEG3, MPEG4 and so on.
  • MPEG moving picture experts group
  • the NPU is a neural-network (NN) computing processor.
  • NN neural-network
  • Applications such as intelligent cognition of the electronic device 100 can be realized through the NPU, such as image recognition, face recognition, speech recognition, text understanding, and the like.
  • the external memory interface 120 can be used to connect an external memory card, such as a Micro SD card, so as to expand the storage capacity of the electronic device 100.
  • the external memory card communicates with the processor 110 through the external memory interface 120 to implement a data storage function. Such as saving music, video and other files in the external memory card.
  • the internal memory 121 may be used to store computer-executable program codes including instructions.
  • the processor 110 executes various functional applications and data processing of the electronic device 100 by executing instructions stored in the internal memory 121 .
  • the internal memory 121 may include an area for storing programs and an area for storing data. Wherein, the stored program area can store an operating system, at least one application required by a function (such as a face recognition function, a fingerprint recognition function, a mobile payment function, etc.) and the like.
  • the data storage area can store data created during use of the electronic device 100 (such as face information template data, fingerprint information template, etc.) and the like.
  • the internal memory 121 may include a high-speed random access memory, and may also include a non-volatile memory, such as at least one magnetic disk storage device, flash memory device, universal flash storage (universal flash storage, UFS) and the like.
  • the electronic device 100 can implement audio functions through the audio module 170 , the speaker 170A, the receiver 170B, the microphone 170C, the earphone interface 170D, and the application processor. Such as music playback, recording, etc.
  • the audio module 170 is used to convert digital audio information into analog audio signal output, and is also used to convert analog audio input into digital audio signal.
  • the audio module 170 may also be used to encode and decode audio signals.
  • the audio module 170 may be set in the processor 110 , or some functional modules of the audio module 170 may be set in the processor 110 .
  • Speaker 170A also referred to as a "horn" is used to convert audio electrical signals into sound signals.
  • Electronic device 100 can listen to music through speaker 170A, or listen to hands-free calls.
  • Receiver 170B also called “earpiece” is used to convert audio electrical signals into sound signals.
  • the receiver 170B can be placed close to the human ear to receive the voice.
  • the microphone 170C also called “microphone” or “microphone” is used to convert sound signals into electrical signals. When making a phone call or sending a voice message, the user can put his mouth close to the microphone 170C to make a sound, and input the sound signal to the microphone 170C.
  • the electronic device 100 may be provided with at least one microphone 170C. In some other embodiments, the electronic device 100 may be provided with two microphones 170C, which may also implement a noise reduction function in addition to collecting sound signals. In some other embodiments, the electronic device 100 can also be provided with three, four or more microphones 170C to collect sound signals, reduce noise, identify sound sources, and realize directional recording functions, etc.
  • the earphone interface 170D is used for connecting wired earphones.
  • the earphone interface 170D may be a USB interface 130, or a 3.5mm open mobile terminal platform (open mobile terminal platform, OMTP) standard interface, or a cellular telecommunications industry association of the USA (CTIA) standard interface.
  • OMTP open mobile terminal platform
  • CTIA cellular telecommunications industry association of the USA
  • the pressure sensor 180A is used to sense the pressure signal and convert the pressure signal into an electrical signal.
  • pressure sensor 180A may be disposed on display screen 194 .
  • pressure sensors 180A such as resistive pressure sensors, inductive pressure sensors, and capacitive pressure sensors.
  • a capacitive pressure sensor may be comprised of at least two parallel plates with conductive material.
  • the electronic device 100 determines the intensity of pressure according to the change in capacitance.
  • the electronic device 100 detects the intensity of the touch operation according to the pressure sensor 180A.
  • the electronic device 100 may also calculate the touched position according to the detection signal of the pressure sensor 180A.
  • touch operations acting on the same touch position but with different touch operation intensities may correspond to different operation instructions. For example: when a touch operation with a touch operation intensity less than the first pressure threshold acts on the short message application icon, an instruction to view short messages is executed. When a touch operation whose intensity is greater than or equal to the first pressure threshold acts on the icon of the short message application, the instruction of creating a new short message is executed.
  • the gyro sensor 180B can be used to determine the motion posture of the electronic device 100 .
  • the angular velocity of the electronic device 100 around three axes may be determined by the gyro sensor 180B.
  • the gyro sensor 180B can be used for image stabilization. Exemplarily, when the shutter is pressed, the gyro sensor 180B detects the shaking angle of the electronic device 100, calculates the distance that the lens module needs to compensate according to the angle, and allows the lens to counteract the shaking of the electronic device 100 through reverse movement to achieve anti-shake.
  • the gyro sensor 180B can also be used for navigation and somatosensory game scenes.
  • the air pressure sensor 180C is used to measure air pressure.
  • the electronic device 100 calculates the altitude based on the air pressure value measured by the air pressure sensor 180C to assist positioning and navigation.
  • the magnetic sensor 180D includes a Hall sensor.
  • the electronic device 100 may use the magnetic sensor 180D to detect the opening and closing of the flip leather case.
  • the electronic device 100 when the electronic device 100 is a clamshell machine, the electronic device 100 can detect opening and closing of the clamshell according to the magnetic sensor 180D.
  • features such as automatic unlocking of the flip cover are set.
  • the acceleration sensor 180E can detect the acceleration of the electronic device 100 in various directions (generally three axes). When the electronic device 100 is stationary, the magnitude and direction of gravity can be detected. It can also be used to identify the posture of electronic devices, and can be used in applications such as horizontal and vertical screen switching, pedometers, etc.
  • the distance sensor 180F is used to measure the distance.
  • the electronic device 100 may measure the distance by infrared or laser. In some embodiments, when shooting a scene, the electronic device 100 may use the distance sensor 180F for distance measurement to achieve fast focusing.
  • Proximity light sensor 180G may include, for example, light emitting diodes (LEDs) and light detectors, such as photodiodes.
  • the light emitting diodes may be infrared light emitting diodes.
  • the electronic device 100 emits infrared light through the light emitting diode.
  • Electronic device 100 uses photodiodes to detect infrared reflected light from nearby objects. When sufficient reflected light is detected, it may be determined that there is an object near the electronic device 100 . When insufficient reflected light is detected, the electronic device 100 may determine that there is no object near the electronic device 100 .
  • the electronic device 100 can use the proximity light sensor 180G to detect that the user is holding the electronic device 100 close to the ear to make a call, so as to automatically turn off the screen to save power.
  • the proximity light sensor 180G can also be used in leather case mode, automatic unlock and lock screen in pocket mode.
  • the ambient light sensor 180L is used for sensing ambient light brightness.
  • the electronic device 100 can adaptively adjust the brightness of the display screen 194 according to the perceived ambient light brightness.
  • the ambient light sensor 180L can also be used to automatically adjust the white balance when taking pictures.
  • the ambient light sensor 180L can also cooperate with the proximity light sensor 180G to detect whether the electronic device 100 is in the pocket, so as to prevent accidental touch.
  • the fingerprint sensor 180H is used to collect fingerprints.
  • the electronic device 100 can use the collected fingerprint characteristics to implement fingerprint unlocking, access to application locks, take pictures with fingerprints, answer incoming calls with fingerprints, and the like.
  • the temperature sensor 180J is used to detect temperature.
  • the electronic device 100 uses the temperature detected by the temperature sensor 180J to implement a temperature treatment strategy. For example, when the temperature reported by the temperature sensor 180J exceeds the threshold, the electronic device 100 may reduce the performance of the processor located near the temperature sensor 180J, so as to reduce power consumption and implement thermal protection.
  • the electronic device 100 when the temperature is lower than another threshold, the electronic device 100 heats the battery 142 to prevent the electronic device 100 from being shut down abnormally due to the low temperature.
  • the electronic device 100 boosts the output voltage of the battery 142 to avoid abnormal shutdown caused by low temperature.
  • Touch sensor 180K also known as "touch panel”.
  • the touch sensor 180K can be disposed on the display screen 194, and the touch sensor 180K and the display screen 194 form a touch screen, also called a “touch screen”.
  • the touch sensor 180K is used to detect a touch operation on or near it.
  • the touch sensor can pass the detected touch operation to the application processor to determine the type of touch event.
  • Visual output related to the touch operation can be provided through the display screen 194 .
  • the touch sensor 180K may also be disposed on the surface of the electronic device 100 , which is different from the position of the display screen 194 .
  • the keys 190 include a power key, a volume key and the like.
  • the key 190 may be a mechanical key. It can also be a touch button.
  • the electronic device 100 can receive key input and generate key signal input related to user settings and function control of the electronic device 100 .
  • the motor 191 can generate a vibrating reminder.
  • the motor 191 can be used for incoming call vibration prompts, and can also be used for touch vibration feedback.
  • touch operations applied to different applications may correspond to different vibration feedback effects.
  • the motor 191 may also correspond to different vibration feedback effects for touch operations acting on different areas of the display screen 194 .
  • Different application scenarios for example: time reminder, receiving information, alarm clock, games, etc.
  • the touch vibration feedback effect can also support customization.
  • the indicator 192 can be an indicator light, and can be used to indicate charging status, power change, and can also be used to indicate messages, missed calls, notifications, and the like.
  • the SIM card interface 195 is used for connecting a SIM card.
  • the SIM card can be connected and separated from the electronic device 100 by inserting it into the SIM card interface 195 or pulling it out from the SIM card interface 195 .
  • the electronic device 100 may support 1 or N SIM card interfaces, where N is a positive integer greater than 1.
  • SIM card interface 195 can support Nano SIM card, Micro SIM card, SIM card etc. Multiple cards can be inserted into the same SIM card interface 195 at the same time. The types of the multiple cards may be the same or different.
  • the SIM card interface 195 is also compatible with different types of SIM cards.
  • the SIM card interface 195 is also compatible with external memory cards.
  • the electronic device 100 interacts with the network through the SIM card to implement functions such as calling and data communication.
  • both the sending end 10 and the receiving end 20 may be the electronic device 100, and the electronic device 100 may execute the channel switching method through the processor 110.
  • FIG. 3 is a software structural block diagram of an electronic device 100 provided in an embodiment of the present application.
  • the layered architecture divides the software into several layers, and each layer has a clear role and division of labor. Layers communicate through software interfaces.
  • the system is divided into four layers, which are application program layer, application program framework layer, runtime (Runtime) and system library, and kernel layer from top to bottom.
  • the application layer can consist of a series of application packages.
  • the application package may include application programs (also called applications) such as camera, gallery, calendar, call, map, navigation, WLAN, Bluetooth, music, video, and short message.
  • application programs also called applications
  • the application framework layer provides an application programming interface (application programming interface, API) and a programming framework for applications in the application layer.
  • the application framework layer includes some predefined functions.
  • the application framework layer can include window manager, content provider, view system, phone manager, resource manager, notification manager, etc.
  • a window manager is used to manage window programs.
  • the window manager can get the size of the display screen, determine whether there is a status bar, lock the screen, capture the screen, etc.
  • Content providers are used to store and retrieve data and make it accessible to applications.
  • Said data may include video, images, audio, calls made and received, browsing history and bookmarks, phonebook, etc.
  • the view system includes visual controls, such as controls for displaying text, controls for displaying pictures, and so on.
  • the view system can be used to build applications.
  • a display interface can consist of one or more views.
  • a display interface including a text message notification icon may include a view for displaying text and a view for displaying pictures.
  • the phone manager is used to provide communication functions of the electronic device 100 . For example, the management of call status (including connected, hung up, etc.).
  • the resource manager provides various resources for the application, such as localized strings, icons, pictures, layout files, video files, and so on.
  • the notification manager enables the application to display notification information in the status bar, which can be used to convey notification-type messages, and can automatically disappear after a short stay without user interaction.
  • the notification manager is used to notify the download completion, message reminder, etc.
  • the notification manager can also be a notification that appears on the top status bar of the system in the form of a chart or scroll bar text, such as a notification of an application running in the background, or a notification that appears on the screen in the form of a dialog interface. For example, prompting text information in the status bar, issuing a prompt sound, vibrating the electronic device, and flashing the indicator light, etc.
  • Runtime includes the core library and virtual machine. Runtime is responsible for the scheduling and management of the system.
  • the core library includes two parts: one part is the function function that the programming language (for example, jave language) needs to call, and the other part is the core library of the system.
  • one part is the function function that the programming language (for example, jave language) needs to call
  • the other part is the core library of the system.
  • the application layer and the application framework layer run in virtual machines.
  • the virtual machine executes programming files (for example, jave files) of the application program layer and the application program framework layer as binary files.
  • the virtual machine is used to perform functions such as object life cycle management, stack management, thread management, security and exception management, and garbage collection.
  • a system library can include multiple function modules. For example: surface manager (surface manager), media library (Media Libraries), 3D graphics processing library (eg: OpenGL ES), 2D graphics engine (eg: SGL), etc.
  • the surface manager is used to manage the display subsystem, and provides fusion of two-dimensional (2-Dimensional, 2D) and three-dimensional (3-Dimensional, 3D) layers for multiple applications.
  • the media library supports playback and recording of various commonly used audio and video formats, as well as still image files, etc.
  • the media library can support a variety of audio and video encoding formats, such as: MPEG4, H.264, MP3, AAC, AMR, JPG, PNG, etc.
  • the 3D graphics processing library is used to implement 3D graphics drawing, image rendering, compositing, and layer processing, etc.
  • 2D graphics engine is a drawing engine for 2D drawing.
  • the kernel layer is the layer between hardware and software.
  • the kernel layer includes at least a display driver, a camera driver, an audio driver, a sensor driver, and a virtual card driver.
  • the workflow of the software and hardware of the electronic device 100 will be exemplarily described below in conjunction with capturing and photographing scenes.
  • a corresponding hardware interrupt is sent to the kernel layer.
  • the kernel layer processes touch operations into original input events (including touch coordinates, time stamps of touch operations, and other information). Raw input events are stored at the kernel level.
  • the application framework layer obtains the original input event from the kernel layer, and identifies the control corresponding to the input event. Take the touch operation as a touch click operation, and the control corresponding to the click operation is the control of the camera application icon as an example.
  • the camera application calls the interface of the application framework layer to start the camera application, and then starts the camera driver by calling the kernel layer.
  • Camera 193 captures still images or video.
  • FIG. 4 is a flowchart of a channel switching method provided in the embodiment of the present application. As shown in FIG. 4, the channel switching method includes some or all of the following steps:
  • the sending end transmits data to the receiving end through the first channel.
  • the data transmitted from the sending end to the receiving end may be a message, display data, or control instructions.
  • the sending end can be a mobile phone
  • the receiving end can be a large-screen device
  • the first channel can be a Bluetooth channel.
  • the mobile phone can send display data to the large-screen device based on the Bluetooth connection.
  • the large-screen device renders and displays the display data after receiving the display data sent by the mobile phone.
  • the sending end when the sending end establishes the connection of the first channel with the receiving end, it also establishes the connection of the control channel.
  • the sending end and/or the receiving end detect the channel quality of the first channel.
  • the sending end and/or the receiving end may detect the quality parameter of the first channel in real time or at an interval of a target time, and then determine the channel quality of the first channel according to the quality parameter of the first channel.
  • the quality parameter of the first channel may be Signal Strength (Received Signal Strength Indication, RSSI), channel throughput rate, channel rate, heartbeat packet, etc.
  • the sending end may classify the parameters of the first channel, and then multiply the parameters of different categories by different weights, and finally obtain the channel parameters of the first channel through summation.
  • the sender divides the channel delay and channel rate into the first group, and divides the signal strength, heartbeat packet and channel throughput into the second group; the sender obtains the channel delay, channel rate, and signal strength of the first channel respectively.
  • heartbeat packet and channel throughput rate and then sum the channel delay and channel rate to get the value of the first group, and sum the signal strength, heartbeat packet and channel throughput rate to get the value of the second group;
  • the product of the value of one group multiplied by the weight of the first group plus the product of the value of the second group multiplied by the weight of the second group obtains the channel quality of the first channel.
  • the sending end may also use a quality parameter as a channel quality standard of the first channel.
  • the sending end uses the rate of the first channel as the channel quality of the first channel.
  • the sending end and/or the receiving end may also detect the channel quality of the first channel in other ways, which is not limited here.
  • the sending end sends first breakpoint information to the receiving end.
  • the sending end may determine the first breakpoint information when the quality parameter of the first channel is lower than the first threshold, and then send the first breakpoint information to the receiving end.
  • the sending end can send the first breakpoint information to the receiving end through the first channel; the sending end can also broadcast the first breakpoint information to the receiving end; the sending end can also send the first breakpoint information to the receiving end through the control channel point information
  • the control channel may refer to a channel for transmitting control messages.
  • the control channel can be a Bluetooth Low Energy (ble) channel established between the sending end and the receiving end.
  • ble Bluetooth Low Energy
  • the mobile phone and the large-screen device establish a ble control channel.
  • the first channel of the mobile phone and large-screen device transmission device is the routing AP channel.
  • the mobile phone can send the first breakpoint information to the receiving end through the ble control channel. It can be understood that when the channel quality of the first channel is poor, the sending end sends the first breakpoint information to the receiving end through other channels, so as to avoid failure to send the first breakpoint information.
  • the first breakpoint information can be sent through broadcast and connection, and under the same speed, it can be sent on the connection first.
  • the first breakpoint information may include a breakpoint location, a sender ID, a session ID, progress information, a receiver ID, and the like.
  • the data packet is filled in according to a variable form (Type Length Value, TLV), and the first breakpoint information may include a field name (Type).
  • TLV Type Length Value
  • the first breakpoint information may also include other data, which is not limited here.
  • the first breakpoint information may include a field name, a sender identifier, a session identifier, progress information, and a receiver identifier.
  • the field name includes the meaning of the field, which is used to indicate the breakpoint position;
  • the sender identifier can be the Media Access Control Address (Media Access Control Address, MAC) address of the sender, and the receiver identifier can be the MAC address of the receiver;
  • the session identifier It is used to indicate the session after the breakpoint.
  • the session ID can be used to indicate the current session transmitted by the first channel;
  • the progress information in this section can include the percentage of the transmission and the specific details of the current transmission. content.
  • the sending end may determine that The channel quality of the first channel is lower than the first indicator.
  • the sending end may also determine whether to send the first breakpoint information to the receiving end according to the progress information. For example, when the file transmission reaches 90%, the sending end may not send the first breakpoint information to the receiving end.
  • the first threshold is set, and the sending end can negotiate breakpoint information with the receiving end in time when the first channel is abnormal. Therefore, when the sending end and the receiving end switch channels, the receiving end can promptly start from the breakpoint.
  • the splicing of data improves the speed of splicing data at the receiving end, so that the user has a higher sense of experience in the process of switching channels.
  • the receiving end sends second breakpoint information to the sending end when the channel quality of the first channel is lower than the first index.
  • step S103 please refer to the relevant content of step S103, which will not be repeated here.
  • the sending end negotiates target breakpoint information with the receiving end.
  • the sending end sends the first breakpoint information to the receiving end, and the receiving end does not send the second breakpoint information to the sending end, then the receiving end sends an acknowledgment to the sending end after receiving the first breakpoint information information, both ends determine that the first breakpoint information sent by the sender is the target breakpoint information.
  • the receiving end sends the second breakpoint information to the sending end, and the sending end does not send the first breakpoint information to the receiving end, then the sending end sends The receiving end replies with confirmation information, and the two ends determine that the second breakpoint information sent by the receiving end is the target breakpoint information.
  • the receiving end sends the second breakpoint information to the sending end, and the sending end sends the first breakpoint information to the receiving end, then the receiving end sends a reply to the sending end after receiving the first breakpoint information
  • both ends determine that the first breakpoint information sent by the sender is the target breakpoint information. It can be understood that the sending end and the receiving end detect the first channel at the same time, which can improve the detection effect of the detection result and help to improve the success rate of channel switching.
  • the sending end and the receiving end can update the target breakpoint information again after a preset time. For example, two seconds after the sending end and the receiving end have negotiated and determined the target breakpoint information, but the sending end and the receiving end still use the first channel to transmit data, the sending end and the receiving end may renegotiate the target breakpoint information.
  • the sending end determines the first available channel.
  • the sending end can obtain the available channels of the receiving end, and determine the channels available to both the sending end and the receiving end as available channels, and then, the sending end determines the first channel from the available channels An available channel.
  • the sending end may obtain the quality parameter of each channel in the available channels, and determine the channel with the highest quality parameter among the available channels as the first available channel.
  • FIG. 6 is a schematic diagram of a scoring method for available channels provided by an embodiment of the present application.
  • the available channels include ble, classic Bluetooth (Basic Rate, BR), limited application protocol (coap) and point-to-point transmission protocol (Point to point, p2p).
  • Delay as group A, signal strength, heartbeat packet and throughput as group B, and score each group according to the collected data, for example, 2 points for no interference, 1 point for interference, and multiple reoccurrences at the bottom layer with severe interference Pass 0 points.
  • the sender can combine the actual business scenario, in the scenario where the control command class requires higher speed, you can increase the weight of Group A; in the scenario where large files require higher quality, you can increase the weight of Group B.
  • the ranking results of the available channels are coap, p2p, BR, and ble.
  • the sending end may determine coap as the first available channel.
  • the sending end may obtain the channel type used by the node when transmitting data of the same type as the first data within the target time, and then determine the channel belonging to the channel type among the available channels as the first available channel.
  • the type of data may include instruction (token), text (text), video stream (stream), large file (file) and so on.
  • the sending end is a mobile phone
  • the receiving end is a TV
  • the mobile phone is transmitting video streams to the computer.
  • the sending end and the receiving end maintain a communication connection with the computer, refrigerator, etc., and the sending end can obtain information on the computer, refrigerator, etc.
  • the channel used when the video stream was sent last time, and this channel is determined as the first available channel.
  • each node in the network will summarize the speed and quality of each transmission type on different channels, learn and share, recommend channels and unrecommended channels, optimize the comprehensive sorting strategy, and achieve the optimal choice. Furthermore, when the two devices transmit again, the channel used for the previous transmission can be preferentially used.
  • the sending end may obtain a quality parameter of each channel in the available channels, and then determine an available channel whose quality parameter is higher than that of the first channel as the first available channel.
  • channels available to both the sending end include Bluetooth and point-to-point transmission channels, and the sending end determines Bluetooth as the first available channel when determining that the rate of Bluetooth is higher than that of the point-to-point transmission channel.
  • the sending end and/or the receiving end include at least two chips, and the available channels include any one of the two chips and the channel of the opposite end.
  • the sender is a device that supports multiple wifi chips, when the wifi transmission fails, the sender can detect the wifi channel quality of the second chip; for another example, if the sender is a device that supports multiple bluetooth chips, when the bluetooth transmission fails, the sender can detect the channel quality of the second chip. Two-chip Bluetooth channel quality.
  • the sending end may sort the time-consuming time for establishing connections of the available channels, so as to select the channel with the least time-consuming as the first available channel. It should be understood that only the channel switching time is shorter than the application layer reestablishment connection time, and the application layer link establishment time is shorter than the establishment time after chip switching is requested. Among them, it takes different time to establish connections for different channels of the same application-side transport protocol. For example, ble establishes a link faster than BR.
  • the receiving end determines the second available channel.
  • step S106 For the specific process, reference may be made to the relevant content of step S106, which will not be repeated here.
  • the sending end and receiving end can perform inter-channel detection supported by the same transmission service type. For example, the sending end or receiving end suddenly turns on a hotspot or modifies the channel abnormality caused by 2G/5G wifi selection, and needs to search for available channels again .
  • the sending end and the receiving end can detect between the application layer transport protocols supported by the transmission service type, such as ble, BR, USB, coap, p2p, etc. for text transmission, and search for available channels.
  • the transmission service type such as ble, BR, USB, coap, p2p, etc.
  • the sending end negotiates the second channel with the receiving end.
  • the sending end sends the first available channel to the receiving end, and the receiving end does not send the second available channel to the sending end, then the receiving end returns an acknowledgment message to the sending end after receiving the first available channel, and the two The end determines that the first available channel sent by the sending end is the target available channel.
  • the receiving end sends the second available channel to the sending end, and the sending end does not send the first available channel to the receiving end, then the sending end replies to the receiving end after receiving the second available channel sent by the receiving end. Confirmation information, both ends determine that the second available channel sent by the receiving end is the target available channel.
  • the receiving end sends the second available channel to the sending end, and the sending end sends the first available channel to the receiving end, then the receiving end returns an acknowledgment message to the sending end after receiving the first available channel, Both ends determine that the first available channel sent by the sending end is the target available channel.
  • the sending end establishes a second channel with the receiving end.
  • the connection of the second channel is established.
  • the sending end and the receiving end negotiate to determine the target breakpoint information when the channel quality of the first channel is lower than the first index, and then negotiate to establish the second channel.
  • the second channel is established only when the first channel is abnormal, and the backup channel is not established before the transmission starts, so as to avoid the problem of wasting resources by idle running and affecting the transmission of the first channel.
  • the sending end sends the first data to the receiving end through the second channel, where the first data is data after the target breakpoint position.
  • the sending end and the receiving end switch to the second channel, and the sending end sends the first data to the receiving end through the second channel.
  • the second channel of the receiving end channel receives data from the sending end. first data.
  • the preset condition includes at least one condition that the quality parameter of the first channel is lower than the second threshold, the quality parameter of the first channel is lower than the quality parameter of the available channel, and the quality parameter of the available channel is higher than the third threshold.
  • the second threshold and the third threshold are preset values, which are not specifically limited.
  • the breakpoint position determined through negotiation between the sending end and the receiving end is determined by the sending end when the quality parameter of the first channel is lower than the first threshold, then the sending end may, when the quality parameter of the first channel is lower than the second threshold, The data not sent by the sending end when the quality parameter of the first channel is lower than the first threshold is sent to the receiving end.
  • the sending end negotiates with the receiving end to determine the second channel, it detects the channel quality of the first channel and the second channel in real time, and switches to the second channel when the quality parameter of the first channel is lower than that of the second channel .
  • the sending end and the receiving end may disconnect the connection of the first channel.
  • the receiving end splices the second data received by the first channel with the first data received by the second channel, where the second data is data before the breakpoint position.
  • the receiving end splices the first data with the data before the breakpoint received by the first channel.
  • the output success rate can be improved. Experimental data shows that the transmission success rate can be increased by 30%, especially when the network status changes frequently, especially during the peak access time period.
  • the sending end and the receiving end may disconnect the connection of the first channel. It can be understood that disconnecting unnecessary channels between the sending end and the receiving end is beneficial to the performance of the device.
  • all or part of the functions may be implemented by software, hardware, or a combination of software and hardware.
  • software When implemented using software, it may be implemented in whole or in part in the form of a computer program product.
  • the computer program product includes one or more computer instructions.
  • the computer can be a general purpose computer, a special purpose computer, a computer network, or other programmable devices.
  • the computer instructions may be stored on a computer readable storage medium.
  • the computer-readable storage medium may be any available medium that can be accessed by a computer, or a data storage device such as a server or a data center integrated with one or more available media.
  • the available medium may be a magnetic medium (for example, a floppy disk, a hard disk, or a magnetic tape), an optical medium (for example, DVD), or a semiconductor medium (for example, a solid state disk (solid state disk, SSD)), etc.
  • a magnetic medium for example, a floppy disk, a hard disk, or a magnetic tape
  • an optical medium for example, DVD
  • a semiconductor medium for example, a solid state disk (solid state disk, SSD)
  • the processes can be completed by computer programs to instruct related hardware.
  • the programs can be stored in computer-readable storage media.
  • When the programs are executed may include the processes of the foregoing method embodiments.
  • the aforementioned storage medium includes: ROM or random access memory RAM, magnetic disk or optical disk, and other various media that can store program codes.

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

L'invention concerne un procédé de commutation de canal, comprenant les étapes suivantes : un terminal de transmission transmet des données à un terminal de réception au moyen d'un premier canal ; le terminal de transmission transmet une position de point d'arrêt au terminal de réception lorsqu'un paramètre de qualité du premier canal est inférieur à un premier seuil, la position de point d'arrêt étant utilisée pour déterminer des premières données et les premières données étant des données qui ne sont pas transmises par le terminal de transmission lorsque le paramètre de qualité du premier canal est inférieur au premier seuil ; le terminal de transmission négocie avec le terminal de réception pour établir un second canal dans le cas où le premier canal est maintenu ; et le terminal de transmission transmet les premières données au terminal de réception au moyen du second canal, les premières données étant utilisées par le terminal de réception pour regrouper les premières données et les secondes données sur la base de la position de point d'arrêt et les secondes données étant des données reçues par le terminal de réception avant la position de point d'arrêt au moyen du premier canal. L'invention concerne également un appareil de commutation de canal.
PCT/CN2022/103922 2021-07-07 2022-07-05 Procédé et appareil de commutation de canal WO2023280160A1 (fr)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202110769317.1 2021-07-07
CN202110769317.1A CN115604773A (zh) 2021-07-07 2021-07-07 一种通道切换方法及装置

Publications (1)

Publication Number Publication Date
WO2023280160A1 true WO2023280160A1 (fr) 2023-01-12

Family

ID=84801279

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2022/103922 WO2023280160A1 (fr) 2021-07-07 2022-07-05 Procédé et appareil de commutation de canal

Country Status (2)

Country Link
CN (1) CN115604773A (fr)
WO (1) WO2023280160A1 (fr)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101626554A (zh) * 2009-08-13 2010-01-13 中兴通讯股份有限公司 一种多模移动终端及其下载资源的方法
US20120140651A1 (en) * 2010-12-01 2012-06-07 Deutsche Telekom Ag System support for accessing and switching among multiple wireless interfaces on mobile devices
CN202663551U (zh) * 2012-07-06 2013-01-09 上海中铁通信信号国际工程有限公司 无缝切换嵌入式模块
WO2015165024A1 (fr) * 2014-04-29 2015-11-05 华为终端有限公司 Procédé de transmission de données et terminal
CN106576279A (zh) * 2014-07-30 2017-04-19 华为技术有限公司 多通信制式传输方法及装置
CN109922205A (zh) * 2018-11-29 2019-06-21 努比亚技术有限公司 投屏实现方法、移动终端及计算机可读存储介质

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101626554A (zh) * 2009-08-13 2010-01-13 中兴通讯股份有限公司 一种多模移动终端及其下载资源的方法
US20120140651A1 (en) * 2010-12-01 2012-06-07 Deutsche Telekom Ag System support for accessing and switching among multiple wireless interfaces on mobile devices
CN202663551U (zh) * 2012-07-06 2013-01-09 上海中铁通信信号国际工程有限公司 无缝切换嵌入式模块
WO2015165024A1 (fr) * 2014-04-29 2015-11-05 华为终端有限公司 Procédé de transmission de données et terminal
CN106576279A (zh) * 2014-07-30 2017-04-19 华为技术有限公司 多通信制式传输方法及装置
CN109922205A (zh) * 2018-11-29 2019-06-21 努比亚技术有限公司 投屏实现方法、移动终端及计算机可读存储介质

Also Published As

Publication number Publication date
CN115604773A (zh) 2023-01-13

Similar Documents

Publication Publication Date Title
WO2022257977A1 (fr) Procédé de projection d'écran pour dispositif électronique, et dispositif électronique
US11736224B2 (en) Data transmission method and electronic device
US11683850B2 (en) Bluetooth reconnection method and related apparatus
WO2021175300A1 (fr) Procédé et appareil de transmission de données, dispositif électronique et support de stockage lisible
US20230021994A1 (en) Cross-Device Content Projection Method and Electronic Device
US20230189366A1 (en) Bluetooth Communication Method, Terminal Device, and Computer-Readable Storage Medium
EP4174633A1 (fr) Système d'interaction d'affichage, procédé d'affichage, et dispositif
US20220294896A1 (en) Call method and apparatus
US20230125956A1 (en) Wireless Communication System and Method
CN111316604B (zh) 一种数据传输方法及电子设备
WO2022262492A1 (fr) Procédé et appareil de téléchargement de données, et dispositif terminal
WO2020134868A1 (fr) Procédé d'établissement de connexion, et appareil terminal
EP4135470A1 (fr) Système de fourniture de connexion sans fil, procédé et appareil électronique
WO2023280160A1 (fr) Procédé et appareil de commutation de canal
WO2024093614A1 (fr) Procédé et système d'entrée de dispositif, dispositif électronique et support de stockage
WO2024104128A1 (fr) Procédé d'affichage de données, système, dispositif électronique
WO2024001773A1 (fr) Procédé de migration de données, dispositif électronique et système de mise en réseau
WO2020029213A1 (fr) Procédé de réponse à un appel ou de rejet de ce dernier pendant un transfert srvcc
CN117692693A (zh) 多屏显示方法以及相关设备
CN116938950A (zh) 一种数据传输的方法、电子设备和存储介质
CN118057880A (zh) 一种数据传输方法、装置及系统
CN117850989A (zh) 一种服务调用方法、系统和电子设备
CN115048193A (zh) 一种多设备分布式调度方法及相关设备

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 22836909

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE