WO2019237291A1 - 一种传输控制方法及设备 - Google Patents
一种传输控制方法及设备 Download PDFInfo
- Publication number
- WO2019237291A1 WO2019237291A1 PCT/CN2018/091149 CN2018091149W WO2019237291A1 WO 2019237291 A1 WO2019237291 A1 WO 2019237291A1 CN 2018091149 W CN2018091149 W CN 2018091149W WO 2019237291 A1 WO2019237291 A1 WO 2019237291A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- communication connection
- communication
- data
- connection
- error
- Prior art date
Links
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W88/00—Devices specially adapted for wireless communication networks, e.g. terminals, base stations or access point devices
- H04W88/02—Terminal devices
- H04W88/06—Terminal devices adapted for operation in multiple networks or having at least two operational modes, e.g. multi-mode terminals
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W36/00—Hand-off or reselection arrangements
- H04W36/24—Reselection being triggered by specific parameters
- H04W36/30—Reselection being triggered by specific parameters by measured or perceived connection quality data
- H04W36/305—Handover due to radio link failure
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W4/00—Services specially adapted for wireless communication networks; Facilities therefor
- H04W4/80—Services using short range communication, e.g. near-field communication [NFC], radio-frequency identification [RFID] or low energy communication
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W24/00—Supervisory, monitoring or testing arrangements
- H04W24/04—Arrangements for maintaining operational condition
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W36/00—Hand-off or reselection arrangements
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W36/00—Hand-off or reselection arrangements
- H04W36/0005—Control or signalling for completing the hand-off
- H04W36/0055—Transmission or use of information for re-establishing the radio link
- H04W36/0077—Transmission or use of information for re-establishing the radio link of access information of target access point
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W76/00—Connection management
- H04W76/10—Connection setup
- H04W76/18—Management of setup rejection or failure
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W76/00—Connection management
- H04W76/10—Connection setup
- H04W76/19—Connection re-establishment
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W84/00—Network topologies
- H04W84/02—Hierarchically pre-organised networks, e.g. paging networks, cellular networks, WLAN [Wireless Local Area Network] or WLL [Wireless Local Loop]
- H04W84/10—Small scale networks; Flat hierarchical networks
- H04W84/12—WLAN [Wireless Local Area Networks]
Definitions
- Embodiments of the present application relate to the field of communications technologies, and in particular, to a transmission control method and device.
- Wireless LAN technology enables users to access network resources conveniently and wirelessly anytime, anywhere.
- Wi-Fi Wireless Fidelity
- Wi-Fi has been widely used as one of wireless local area network (WLAN) technologies.
- WLAN wireless local area network
- the device can only reconnect to the Wi-Fi hotspot in response to a user operation after giving an error prompt. After the Wi-Fi connection fails, the user needs to intervene before the device can re-establish the Wi-Fi connection. Devices are less efficient at establishing Wi-Fi connections.
- the embodiments of the present application provide a transmission control method and device, and the devices on both sides can timely detect a Wi-Fi connection error and perform fault tolerance processing.
- an embodiment of the present application provides a transmission control method.
- the transmission control method includes: a first device and a second device transmit first data through a first communication connection; a first device and a second device connect through a first communication connection During the transmission of the first data, the first device found that the first communication connection was in error; the first device sent the first communication connection error information to the second device through the second communication connection.
- the second communication connection is different from the first communication connection, and the foregoing error information is used to indicate that the first communication connection is in error.
- the first device may send error information of the first communication connection to the second device through the second communication connection after finding that the first communication connection is in error.
- the first device sends the error information of the first communication connection to the second device in time, so that the second device can detect the error of the first communication connection in time. In this way, the first device and the second device can perform fault tolerance processing in a timely manner.
- the first device after the first device sends error information of the first communication connection to the second device through the second communication connection, the first device interacts with the second device through the second communication connection. Connection parameters for communication connections.
- the first device and the second device can directly re-establish the first communication connection according to the connection parameter.
- the connection parameters of the first communication connection instead of performing error correction processing on the first communication connection, and then interacting with the connection parameters of the first communication connection according to the normal flow of the first communication connection, and then re-establishing the first communication connection according to the connection parameters. In this way, the time for establishing the first communication connection can be shortened, and the efficiency of establishing the first communication connection can be improved.
- the foregoing error information may further include first breakpoint information of the first data.
- the first breakpoint information is used to indicate a cut-off position of data in the first data that the first device and the second device have transmitted correctly.
- the first device and the second device may re-establish the first communication connection according to the connection parameters of the first communication connection, and then use the first breakpoint information to pass the first A communication connection transmits the first data.
- the first device and the second device may according to the first breakpoint Information, transmitting the first data through the second communication connection.
- the first data is continuously transmitted according to the second communication connection.
- the first data is transmitted through the re-established first communication connection. In this way, the transmission of the first data can be completed quickly, and the transmission efficiency of the first data can be improved.
- the first communication connection Take the first communication connection as a Wi-Fi connection and the second communication connection as a Bluetooth connection as an example. It can be understood that in the case where the first device and the second device have established a Bluetooth connection, it takes time for the first device and the second device to re-establish a Wi-Fi connection; therefore, the first device and the second device are connected via Bluetooth. The transmission of the first data through the connection can quickly complete the transmission of the first data and improve the transmission efficiency of the first data. In the case where the first device and the second device have not established a Bluetooth connection, it takes time to re-establish a Wi-Fi connection between the first device and the second device, and the time required to establish a Bluetooth connection is less than the time required to establish a Wi-Fi connection. Therefore, transmitting the first data through the Bluetooth connection between the first device and the second device can quickly complete the transmission of the first data and improve the transmission efficiency of the first data.
- the first device and the second device can directly transmit the first data through the second communication connection. That is, the first device performs a second operation with the second device: transmitting the first data through the second communication connection.
- the first device and the second device may wait for the first communication connection to be re-established successfully, and transmit the first data through the re-established first communication connection. That is, the first device and the second device perform operation 1: re-establish the first communication connection, and transmit the first data through the re-established first communication connection.
- the user may select the first device and the second device to perform the foregoing “operation one” or “operation two”.
- the first device and the second device transmitting the first data through the second communication connection according to the first breakpoint information may include: the first device displaying a second interface including the first confirmation information.
- the first confirmation information is used to indicate that the first communication connection is in error, and requests the user to confirm that the first operation or the second operation is performed.
- the first device and the second device may transmit the first data through the second communication connection according to the first breakpoint information.
- the first device and the second device may transmit the first data through the first communication connection according to the first breakpoint information.
- the transmission rate of the first communication connection may be greater than the transmission rate of the second communication connection.
- the first device and the second device may retransmit the first data through the first communication connection after the first communication connection is successfully established.
- the first device and the second device re-establish the first communication connection according to the connection parameters of the first communication connection.
- the first device and the second device may stop transmitting the first data through the second communication connection, and according to the second breakpoint information of the first data, The first data is transmitted over the first communication connection.
- the second breakpoint information is used to indicate a cut-off position of data in the first data that has been correctly transmitted by the first device and the second device through the second communication connection.
- the first device may determine whether the transmission rate of the first communication connection is higher than the transmission rate of the second communication connection.
- the first device and the second device may stop transmitting the first data through the second communication connection, and according to the second interruption of the first data, Point information, and continue to transmit the first data through the first communication connection.
- the terminal may determine whether the amount of the untransmitted data in the first data is greater than a preset data amount threshold. When the amount of data that has not been transmitted is greater than a preset data amount threshold, the terminal may stop transmitting the first data through the second communication connection, and continue transmitting the first data through the first communication connection. When the amount of data that has not been transmitted is less than or equal to a preset data amount threshold, the terminal may continue to transmit the first data through the second communication connection.
- the user can choose whether to continue transmitting the first data through the re-established first communication connection.
- the first device may display a fourth interface including the second confirmation information.
- the second confirmation information is used to indicate that the first communication connection is successfully established, and requests the user to confirm whether to continue transmitting the first data through the re-established first communication connection.
- the first device and the second device may stop transmitting the first data through the second communication connection, and according to the second breakpoint information of the first data, pass The first communication connection transmits first data.
- an embodiment of the present application provides a transmission control method.
- the transmission control method includes: during a process of establishing a first communication connection between the first device and the second device, the first device finds that the first communication connection is in error; The device sends error information of the first communication connection to the second device through the second communication connection. The second communication connection is different from the first communication connection, and the error information is used to indicate that the first communication connection is in error.
- the first device and the second device exchange connection parameters of the first communication connection through the second communication connection; the first device and the second device establish a first communication connection according to the connection parameters of the first communication connection.
- the first device may send error information of the first communication connection to the second device through the second communication connection after finding that the first communication connection is in error.
- the first device sends the error information of the first communication connection to the second device in time, so that the second device can detect the error of the first communication connection in time.
- the first device and the second device may exchange connection parameters of the first communication connection through the second communication connection after the first communication connection fails. Then, the first communication connection is re-established directly according to the connection parameter. In this way, the time for establishing the first communication connection can be shortened, and the efficiency of establishing the first communication connection can be improved.
- the functions of the second communication connection between the first device and the second device are both turned on. And, the first device establishes a second communication connection with the second device. In this case, when the first device finds that the first communication connection is in error, it may directly send an error message to the second device through the second communication connection between the first device and the second device.
- the function of the second communication connection of the second device is turned on. Before the first device sends an error message to the second device through the second communication connection, the function of the second communication connection of the first device is turned on. However, the first device and the second device have not established a second communication connection. In this case, in response to finding that the first communication connection is in error, the first device may establish a second communication connection with the second device.
- the function of the second communication connection (such as the Bluetooth connection) of the second device is turned on.
- the function of the second communication connection of the first device is turned off.
- the first device in response to finding that the first communication connection is in error, the first device may enable the function of the second communication connection of the first device and establish a second communication connection with the second device.
- the first device and the second device have another communication connection in addition to the first communication connection.
- the first device in response to finding that the first communication connection is in error, the first device may determine that the other communication connection is the second communication connection. Then, the first communication connection error information is sent to the second device through the second communication connection.
- the first prompt information may be sent before the first device sends the error information to the second device through the Bluetooth connection.
- the first prompt information is used to indicate that the first communication connection is in error, and requests the user to confirm that error information is sent to the second device through the Bluetooth connection.
- the manner in which the first device sends out the first prompt information may include: the first terminal displaying an interface including the first prompt information; or the first terminal playing the first prompt information through a voice prompt.
- the first device and the second device have multiple communication connections except the first communication connection.
- the first device in response to finding that the first communication connection is faulty, the first device may select a communication connection with a lower power consumption or a faster transmission rate from the plurality of communication connections as the second communication connection. Then, the first communication connection error information is sent to the second device through the second communication connection.
- the first device and the second device have multiple communication connections except the first communication connection.
- the first device in response to finding that the first communication connection is in error, the first device may display the first interface.
- the first interface includes the selection items of the plurality of communication connections.
- the first device uses the communication connection selected by the user as the second communication connection in response to the user's selection operation on the selection items of the plurality of communication connections. That is, when there are multiple communication connections between the first device and the second device, the user can select the second communication connection from the multiple communication connections. In this way, the interaction performance between the device and the user can be improved.
- the first interface further includes second prompt information.
- the second prompt information is used to indicate that the first communication connection is in error, and instruct the user to select one communication connection from at least two communication connections.
- the first device in response to finding that the first communication connection is in error, may display a third interface.
- the third interface includes a plurality of communication connection options.
- the multiple communication connections include communication connections that can be established between the first device and the second device.
- the communication connection corresponding to the selection item selected by the user is determined as the second communication connection, and a second communication connection is established with the second device.
- the communication connection that can be established between the first device and the second device may include: a communication connection that has been established between the first device and the second device, and a communication connection that has not been established between the first device and the second device.
- the first device and the second device have not established the foregoing communication connection
- the first device and the second device have the conditions for establishing the communication connection.
- the communication connections that can be established between the first device and the second device include a Bluetooth connection and a USB connection.
- the first communication connection is a Wi-Fi connection
- the second communication connection is a Bluetooth connection
- the communication connections in the embodiments of the present application include, but are not limited to, Wi-Fi connections and Bluetooth connections. The embodiments of this application will not be described in detail here.
- an embodiment of the present application provides a device.
- the device is a first device, and the device includes a first communication unit, a detection unit, and a second communication unit.
- the first communication unit is configured to transmit the first data with the second device through the first communication connection.
- the detecting unit is configured to detect an error in the first communication connection during the process of transmitting the first data between the first communication unit and the second device through the first communication connection.
- the second communication unit is configured to send error information of the first communication connection to the second device through the second communication connection.
- the second communication connection is different from the first communication connection, and the error information is used to indicate that the first communication connection is in error.
- the second communication unit is further configured to, after sending error information of the first communication connection to the second device through the second communication connection, communicate with the second device through the second The communication connection interacts with connection parameters of the first communication connection.
- the establishing unit is configured to establish a first communication connection with the second device according to the connection parameters of the first communication connection obtained by the second communication unit.
- the foregoing error information further includes first breakpoint information of the first data, and the first breakpoint information is used to indicate that in the first data, the first device and the second device The cut-off position of the data that has been correctly transmitted.
- the second communication unit is further configured to transmit the first data through the second communication connection with the second device according to the first breakpoint information after sending the error information of the first communication connection to the second device through the second communication connection.
- the foregoing error information further includes first breakpoint information of the first data, and the first breakpoint information is used to indicate that in the first data, the first device and the second device The cut-off position of the data that has been correctly transmitted.
- the first communication unit is further configured to transmit the first data through the first communication connection with the second device according to the first breakpoint information after the first communication connection is established by the establishment unit.
- the foregoing device further includes: a control unit.
- the control unit is configured to control the second communication unit and the second device to stop transmitting the first data through the second communication connection after the establishment unit establishes the first communication connection.
- the first communication unit is configured to transmit the first data through the first communication connection according to the second breakpoint information of the first data.
- the second breakpoint information is used to indicate a cut-off position of data in the first data that has been correctly transmitted by the first device and the second device through the second communication connection.
- control unit is specifically configured to: if the first data has not yet been transmitted, and the amount of the untransmitted data is greater than a preset data amount threshold, control the second The communication unit and the second device stop transmitting the first data through the second communication connection, and transmit the first data through the first communication connection according to the second breakpoint information.
- the foregoing device further includes: a selection unit.
- a selection unit configured to select a second one or more communication connections in response to the first communication connection being found to be in error before the second communication unit sends the first communication connection error information to the second device through the second communication connection
- the communication connection, and the second communication connection is a communication connection with the smallest power consumption and / or the fastest transmission rate among the one or more communication connections.
- the one or more communication connections include all communication connections established by the first device and the second device except the first communication connection.
- the foregoing device further includes: a prompting unit.
- a prompting unit configured to issue a first communication connection error message to the second device through the second communication connection after the selection unit selects the second communication connection from the one or more communication connections, Prompt message.
- the first prompt information is used to indicate that the first connection is in error, and requests the user to confirm whether to send error information to the second device through the second communication connection.
- the foregoing device further includes: a display unit.
- a display unit configured to display a first interface in response to a failure of the first communication connection before the second communication unit sends error information of the first communication connection to the second device through the second communication connection, and the first interface includes one or more One communication connection option.
- One or more communication connections include all communication connections established by the first device and the second device except the first communication connection.
- the determining unit is configured to determine, as a second communication connection, a communication connection corresponding to the selection item selected by the user in response to a user's selection operation on one or more selection items of the communication connection.
- the first interface displayed by the display unit further includes second prompt information; the second prompt information is used to indicate that the first communication connection is in error, and instruct the user to switch from at least two Select a communication connection among the communication connections.
- the establishment unit is further configured to, before the second communication unit sends the error information of the first communication connection to the second device through the second communication connection, respond to the discovery of the first A communication connection error occurs, and a second communication connection is established with the second device.
- the display unit is configured to display a third interface in response to finding that the first communication connection is in error.
- the third interface includes multiple communication connection options and multiple communication.
- the connection includes a communication connection that can be established between the first device and the second device;
- the establishing unit is further configured to determine the communication connection corresponding to the selection item selected by the user as the second communication connection in response to the user's selection operation of the multiple communication connection selection items displayed on the display unit, and establish the second communication with the second device. connection.
- the display unit is used for a first device to display a second interface, and the second interface includes first confirmation information, and the first confirmation information is used to indicate that the first communication connection is in error. And ask the user to confirm that the following operation 1 or operation 2 is performed; operation 1 is: re-establishing the first communication connection and transmitting the first data through the re-established first communication connection; operation 2 is: transmitting the first data through the second communication connection .
- the second communication unit is further configured to respond to a user's selection of operation two displayed on the display unit, and the first device and the second device transmit the first data through the second communication connection according to the first breakpoint information.
- the first communication unit is further configured to respond to a user's selection of operation one displayed on the display unit, and after the first communication connection is established by the establishing unit, the The device transmits the first data through the first communication connection according to the first breakpoint information.
- the display unit is configured to display a fourth interface if the first data has not been successfully transmitted when the establishment unit establishes the first communication connection, and the fourth interface includes The second confirmation information is used to indicate that the first communication connection is successfully established, and requests the user to confirm whether to continue transmitting the first data through the re-established first communication connection.
- the control unit is specifically configured to continue transmitting the first data through the re-established first communication connection in response to the user selection, and stop transmitting the first data through the second communication connection with the second device.
- the first communication connection is a Wi-Fi connection
- the second communication connection is a Bluetooth connection
- an embodiment of the present application provides a device.
- the device is a first device.
- the device includes a processor, a memory, a first communication interface, and a second communication interface.
- the first communication interface, the second communication interface, and the memory Coupling with the processor, the first communication interface is used to send and receive data through the first communication connection, the second communication interface is used to send and receive data through the second communication connection, and the second communication connection is different from the first communication connection.
- the memory is used to store computer program code.
- the computer program code includes computer instructions. When the processor executes the computer instructions, the first communication interface is used to transmit the first data through the first communication connection.
- the processor is used to During the transmission of the first data through the first communication connection between the communication interface and the second device, the first communication connection was found to be in error; the second communication interface is used to send the first communication connection error information to the second device through the second communication connection.
- the error information is used to indicate that the first communication connection is in error.
- the second communication interface is further configured to, after sending the error information of the first communication connection to the second device through the second communication connection, communicate with the second device through the second The communication connection interacts with connection parameters of the first communication connection.
- the processor is further configured to establish a first communication connection with the second device according to the connection parameters of the first communication connection.
- the foregoing error information further includes first breakpoint information of the first data, and the first breakpoint information is used to indicate that in the first data, the first device and the second device The cut-off position of the data that has been correctly transmitted.
- the second communication interface is further configured to transmit the first data through the second communication connection with the second device according to the first breakpoint information after sending the error information of the first communication connection to the second device through the second communication connection.
- the foregoing error information further includes first breakpoint information of the first data, and the first breakpoint information is used to indicate that in the first data, the first device and the second device The cut-off position of the data that has been correctly transmitted.
- the first communication interface is further configured to, after the processor and the second device establish the first communication connection according to the connection parameters of the first communication connection, transmit the first communication connection with the second device through the first communication connection according to the first breakpoint information. data.
- the processor is further configured to control the second communication interface and the second device to stop when the first data has not been transmitted when the first communication connection is successfully established.
- the first data is transmitted over the second communication connection.
- the first communication interface is further configured to transmit the first data through the first communication connection according to the second breakpoint information of the first data.
- the second breakpoint information is used to indicate a cut-off position of data in the first data that has been correctly transmitted by the first device and the second device through the second communication connection.
- the processor is configured to control the second communication interface and the second device to stop transmitting the first data through the second communication connection if the first data has not been transmitted
- the processor includes a processor for controlling the second communication interface and the second device to stop transmitting the first data through the second communication connection if the first data has not been transmitted and the amount of the untransmitted data is greater than a preset data amount threshold.
- the foregoing processor is further configured to, before the second communication interface sends the first communication connection error information to the second device through the second communication connection, respond to the discovery of the first A communication connection is faulty, and a second communication connection is selected from one or more communication connections.
- the second communication connection is a communication connection with the smallest power consumption and / or the fastest transmission rate among the one or more communication connections.
- the one or more communication connections include all communication connections established by the first device and the second device except the first communication connection.
- the foregoing processor is further configured to, after selecting the second communication connection from one or more communication connections, the second communication interface sends the second communication interface to the first communication connection through the second communication connection.
- the first prompt information is sent. The first prompt information is used to indicate that the first connection is in error and requests the user to confirm whether to send the error information to the second device through the second communication connection.
- the foregoing device further includes: a display.
- a display configured to display a first interface in response to a first communication connection error before the second communication interface sends error information of the first communication connection to the second device through the second communication connection, and the first interface includes one or more A communication connection option.
- One or more communication connections include all communication connections established by the first device and the second device except the first communication connection.
- the processor is further configured to determine, as a second communication connection, a communication connection corresponding to the selection item selected by the user in response to a user's selection operation of one or more selection items of the communication connection.
- the first interface displayed on the display further includes a second prompt information; the second prompt information is used to indicate that the first communication connection is in error, and instructs the user to select from at least two Select a communication connection among the communication connections.
- the foregoing processor is further configured to, before the second communication interface sends the first communication connection error information to the second device through the second communication connection, respond to the discovery of the first A communication connection error occurs, and a second communication connection is established with the second device.
- the foregoing display is further configured to display a third interface in response to a failure of the first communication connection, and the third interface includes multiple communication connection options and multiple communication.
- the connection includes a communication connection that can be established between the first device and the second device.
- the processor is further configured to determine the communication connection corresponding to the selection item selected by the user as the second communication connection in response to the user's selection operation of multiple communication connection selection items, and establish a second communication connection with the second device.
- the display is used to display a second interface.
- the second interface includes first confirmation information, and the first confirmation information is used to indicate that the first communication connection is in error and requests the user. Confirm that the following operation 1 or operation 2 is performed; operation 1 is: re-establishing the first communication connection and transmitting the first data through the re-established first communication connection; operation 2 is: transmitting the first data through the second communication connection.
- the second communication interface is further configured to transmit the first data through a second communication connection with the second device according to the first breakpoint information in response to the user's selection of operation two.
- the foregoing first communication interface is further configured to respond to a user's selection of operation one, and after the processor establishes the first communication connection, communicate with the second device according to the first Breakpoint information, the first data is transmitted through the first communication connection.
- the foregoing display is configured to display a fourth interface when the processor has successfully established the first communication connection, and if the first data has not been transmitted, the fourth interface includes the first interface.
- Second confirmation information the second confirmation information is used to indicate that the first communication connection is successfully established, and requests the user to confirm whether to continue transmitting the first data through the re-established first communication connection.
- the processor is further configured to control the second communication interface and the second device to stop transmitting the first data through the second communication connection in response to the user selecting to continue transmitting the first data through the re-established first communication connection.
- the first communication interface is further configured to transmit the first data through the first communication connection according to the second breakpoint information of the first data.
- an embodiment of the present application provides a computer storage medium.
- the computer storage medium includes computer instructions, and when the computer instructions are run on a device, the device is caused to execute the first aspect or the second aspect and its possible The transmission control method described in the design method.
- an embodiment of the present application provides a computer program product, and when the computer program product runs on a computer, the computer is caused to perform the transmission according to the first aspect or the second aspect and a possible design manner thereof. Control Method.
- FIG. 1 is a schematic architecture diagram of a communication system according to an embodiment of the present application.
- FIG. 2 is a schematic diagram of a hardware structure of a mobile phone according to an embodiment of the present application.
- FIG. 3 is a schematic flowchart of establishing a Wi-Fi connection according to an embodiment of the present application
- FIG. 4 is a first schematic flowchart of a transmission control method according to an embodiment of the present application.
- FIG. 5 is a second flowchart of a transmission control method according to an embodiment of the present application.
- FIG. 6 is a third flowchart of a transmission control method according to an embodiment of the present application.
- FIG. 7 is a first schematic diagram of a frame structure example of a Bluetooth frame according to an embodiment of the present application.
- FIG. 8 is a second schematic diagram of a frame structure example of a Bluetooth frame according to an embodiment of the present application.
- FIG. 9 is a third example of a frame structure of a Bluetooth frame according to an embodiment of the present application.
- FIG. 10 is a first schematic diagram of a display interface according to an embodiment of the present application.
- FIG. 11 is a second schematic diagram of a display interface provided by an embodiment of the present application.
- FIG. 12 is a third schematic diagram of a display interface according to an embodiment of the present application.
- FIG. 13 is a fourth flowchart of a transmission control method according to an embodiment of the present application.
- FIG. 14 is a fourth schematic diagram of a display interface according to an embodiment of the present application.
- FIG. 15 is a schematic flowchart of a transmission control method according to an embodiment of the present application.
- 16A is a schematic flowchart of a transmission control method according to an embodiment of the present application.
- 16B is a schematic flowchart VII of a transmission control method according to an embodiment of the present application.
- 17 is a schematic flowchart of a transmission control method according to an embodiment of the present application.
- FIG. 18 is a fifth schematic diagram of a display interface according to an embodiment of the present application.
- FIG. 19 is a sixth schematic diagram of a display interface according to an embodiment of the present application.
- FIG. 20 is a first schematic structural composition diagram of a device according to an embodiment of the present application.
- 21 is a second schematic diagram of the structure and composition of a device according to an embodiment of the present application.
- FIG. 22 is a third structural schematic diagram of a device according to an embodiment of the present application.
- first and second are used for descriptive purposes only, and cannot be understood as indicating or implying relative importance or implicitly indicating the number of technical features indicated. Therefore, the features defined as “first” and “second” may explicitly or implicitly include one or more of the features. In the description of the embodiments of the present application, unless otherwise stated, the meaning of "a plurality" is two or more.
- An embodiment of the present application provides a transmission control method, which can be applied to a device.
- the method may be applied to a process in which a device establishes a first communication connection and performs data transmission through the first communication connection.
- the device can feed back error information to the opposite device through the second communication connection, so that the opposite device can make corresponding processing according to the error information. In this way, the device can detect Wi-Fi connection errors in time and perform fault tolerance processing in a timely manner.
- the first communication connection in the embodiment of the present application may include Wi-Fi connection, Bluetooth connection, Universal Serial Bus (USB) connection, Ultra Wideband (UWB) connection, ZigBee (ZigBee Technology) Any of a connection and a near field communication (NFC) connection.
- the second communication connection may include any one of a Bluetooth connection, a USB connection, a UWB connection, a ZigBee connection, and an NFC connection.
- the first communication connection in the embodiment of the present application is different from the second communication connection.
- the second communication connection may be any one of a Bluetooth connection, a USB connection, a UWB connection, a ZigBee connection, and an NFC connection.
- the first communication connection is a Bluetooth connection
- the second communication connection may be any one of a USB connection, a UWB connection, a ZigBee connection, and an NFC connection.
- the Bluetooth connection in the embodiment of the present application may be a conventional Bluetooth connection or a Bluetooth Low Energy (BLE) connection.
- FIG. 1 is a schematic structural diagram of a communication system to which a transmission control method according to an embodiment of the present application is applied.
- the communication system 100 may include a wireless access point (AP) 101, a station (STA) 102, and a STA 103.
- STA 102 and STA 103 can establish Wi-Fi connection with AP 101. That is, STA 102 and STA 103 can access the Wi-Fi network provided by AP 101.
- the AP 101 in the embodiment of the present application may be a wireless router.
- AP 101 can be a mobile phone, tablet, desktop, laptop, handheld computer, laptop, Ultra-mobile Personal Computer (UMPC), netbook, cellular phone, and Personal Digital Assistant (Personal Digital Assistant (PDA), wearable electronic devices (such as smart watches), tablet computers, augmented reality (AR) ⁇ virtual reality (VR) devices, and in-car computers can be used as wireless access points (such as Wi- Fi hotspot), a device that provides a wireless network for other devices, the embodiment of this application does not specifically limit the specific form of the AP 101.
- PDA Personal Digital Assistant
- wearable electronic devices such as smart watches
- AR augmented reality
- VR virtual reality
- in-car computers can be used as wireless access points (such as Wi- Fi hotspot)
- Wi- Fi hotspot such as Wi- Fi hotspot
- STA 102 and STA 103 in the embodiments of the present application may be mobile phones, tablet computers, desktops, laptops, handheld computers, laptops, UMPCs, netbooks, cellular phones, and PDAs, wearable electronic devices (such as smart watches) , Tablet computers, AR ⁇ VR devices, and on-board computers, the embodiments of this application do not specifically limit the specific forms of STA 102 and STA 103.
- the above-mentioned AP 101, STA 102, or STA 103 is a mobile phone 200 as an example, and the device provided in the embodiment of the present application is described.
- the mobile phone 200 shown in FIG. 2 is only an example, and does not constitute a limitation on the mobile phone 200.
- the mobile phone 200 may have more or fewer components than those shown in the figure. You can combine two or more parts, or you can have different part configurations.
- the various components shown in FIG. 2 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 mobile phone 200 may specifically include: a processor 201, a radio frequency (RF) circuit 202, a memory 203, a touch screen 204, a Bluetooth device 205, one or more sensors 206, a Wi-Fi device 207, and positioning The device 208, audio circuit 209, peripheral interface 120, power supply system 211, fingerprint reader 212, and other components. These components can communicate via one or more communication buses or signal lines (not shown in FIG. 2).
- RF radio frequency
- the processor 201 is a control center of the mobile phone 200, and uses various interfaces and lines to connect various parts of the mobile phone 200, and runs or executes an application program (Application, App) stored in the memory 203, and calls data stored in the memory 203. And instructions to perform various functions of the mobile phone 200 and process data.
- the processor 201 may include one or more processing units; the processor 201 may further integrate an application processor and a modem processor.
- the application processor mainly deals with the operating system, user interface, and application programs.
- the modem processor mainly handles wireless communication. It can be understood that the foregoing modem processor may not be integrated into the processor 201.
- the processor 201 may be a Kirin 960 chip manufactured by Huawei Technologies Co., Ltd.
- the radio frequency circuit 202 may be used for receiving and transmitting wireless signals during information transmission and reception or during a call. Specifically, the radio frequency circuit 202 may receive the downlink data of the base station and then process the downlink data to the processor 201. In addition, uplink-related data is transmitted to the base station. Generally, the radio frequency circuit 202 includes, but is not limited to, an antenna, at least one amplifier, a transceiver, a coupler, a low noise amplifier, a duplexer, and the like. In addition, the radio frequency circuit 202 can also communicate with other devices through wireless communication. The wireless communication may use any communication standard or protocol, including but not limited to a global mobile communication system, a general packet wireless service, code division multiple access, broadband code division multiple access, long-term evolution, email, short message service, and the like.
- the memory 203 is used to store application programs and data, and the processor 201 executes various functions and data processing of the mobile phone 200 by running the application programs and data stored in the memory 203.
- the memory 203 mainly includes a program storage area and a data storage area.
- the storage program area may store an operating system and application programs required for at least one function (such as a sound playback function and an image playback function).
- the storage data area can store data (such as audio data, phone book, etc.) created when the mobile phone 200 is used.
- the memory 203 may include a high-speed random access memory, and may also include a non-volatile memory, such as a magnetic disk storage device, a flash memory device, or other volatile solid-state storage devices.
- the memory 203 can store various operating systems, such as those developed by Apple Inc. Operating system, developed by Google Operating system, etc.
- the touch screen 204 may include a touch-sensitive surface 204-1 and a display 204-2.
- the touch-sensitive surface 204-1 (such as a touch panel) can capture touch events on or near the user of the mobile phone 200 (for example, the user uses a finger, a stylus, or any suitable object on the touch-sensitive surface 204-1). Or operations near the touch-sensitive surface 204-1), and send the collected touch information to other devices such as the processor 201.
- the touch event of the user near the touch-sensitive surface 204-1 may be referred to as a floating touch. Hovering touch can mean that the user does not need to directly touch the touchpad in order to select, move, or drag an object (such as an icon), but only needs the user to be near the terminal in order to perform the desired function.
- the touch-sensitive surface 204-1 capable of floating touch can be implemented using a capacitive type, an infrared light sensor, and an ultrasonic wave.
- the touch-sensitive surface 204-1 may include two parts, a touch detection device and a touch controller. Among them, the touch detection device detects the user's touch position, and detects the signal brought by the touch operation, and transmits the signal to the touch controller; the touch controller receives touch information from the touch detection device, converts it into contact coordinates, and then When sent to the processor 201, the touch controller may also receive and execute instructions sent by the processor 201.
- the display also referred to as a display screen
- the display 204-2 may be used to display information input by the user or information provided to the user and various menus of the mobile phone 200.
- the display 204-2 may be configured in the form of a liquid crystal display, an organic light emitting diode, or the like.
- the touch-sensitive surface 204-1 may be overlaid on the display 204-2. When the touch-sensitive surface 204-1 detects a touch event on or near it, it is transmitted to the processor 201 to determine the type of the touch event.
- the touch-sensitive surface 204-1 and the display screen 204-2 are implemented as two independent components to implement the input and output functions of the mobile phone 200, in some embodiments, the touch-sensitive surface 204- 1 Integrated with the display 204-2 to implement the input and output functions of the mobile phone 200. It can be understood that the touch screen 204 is formed by stacking multiple layers of materials. Only the touch-sensitive surface (layer) and the display screen (layer) are shown in the embodiments of the present application, and other layers are not described in the embodiments of the present application.
- the touch-sensitive surface 204-1 may cover the display 204-2, and the size of the touch-sensitive surface 204-1 is larger than the size of the display screen 204-2, so that the display screen 204- 2 are all covered under the touch-sensitive surface 204-1, or the touch-sensitive surface 204-1 may be configured on the front of the mobile phone 200 in the form of a comprehensive board, that is, the user's touch on the front of the mobile phone 200 can be perceived by the mobile phone 200, In this way, a full touch experience on the front of the mobile phone 200 can be realized.
- the touch-sensitive surface 204-1 is configured on the front of the mobile phone 200 in the form of a full board
- the display 204-2 may also be configured on the front of the mobile phone 200 in the form of a full board, so that it is on the front of the mobile phone 200
- a frameless structure can be realized.
- the mobile phone 200 may further include a Bluetooth device 205 for implementing data exchange between the mobile phone 200 and other short-range terminals (such as a mobile phone, a smart watch, etc.).
- the Bluetooth device in the embodiment of the present application may be an integrated circuit or a Bluetooth chip.
- the mobile phone 200 may further include at least one sensor 206, such as a light sensor, a motion sensor, and other sensors.
- the light sensor may include an ambient light sensor and a proximity sensor.
- the ambient light sensor may adjust the brightness of the display of the touch screen 204 according to the brightness of the ambient light.
- the proximity sensor may turn off the power of the display when the mobile phone 200 is moved to the ear.
- an accelerometer sensor can detect the magnitude of acceleration in various directions (generally three axes), and can detect the magnitude and direction of gravity when it is stationary.
- the mobile phone 200 may further have a fingerprint recognition function.
- the fingerprint reader 212 can be arranged on the back of the mobile phone 200 (for example, under the rear camera), or the fingerprint reader 212 can be arranged on the front of the phone 200 (for example, under the touch screen 204 and then on the home screen key of the phone 200) .
- the fingerprint recognition function can also be implemented by configuring the fingerprint reader 212 in the touch screen 204, that is, the fingerprint reader 212 can be integrated with the touch screen 204 to implement the fingerprint recognition function of the mobile phone 200.
- the fingerprint reader 212 may be configured in the touch screen 204, may be a part of the touch screen 204, or may be configured in the touch screen 204 in other ways.
- the fingerprint reader 212 can also be implemented as a full-board fingerprint reader. Therefore, the touch screen 204 can be regarded as a panel where fingerprint collection can be performed at any position.
- the fingerprint identifier 212 can process the collected fingerprints. For example, the fingerprint identifier 212 may perform processing such as fingerprint verification on the collected fingerprint. The fingerprint identifier 212 may also send the processing result of the fingerprint verification (such as whether the fingerprint verification is passed) to the processor 201 so that the processor 201 responds according to the received result of the fingerprint verification. In other embodiments, the fingerprint identifier 212 may also send the collected fingerprint to the processor 201 so that the processor 201 processes the fingerprint (for example, fingerprint verification, etc.).
- the main component of the fingerprint reader 212 in the embodiment of the present application is a fingerprint sensor.
- the fingerprint sensor may use any type of sensing technology, including, but not limited to, optical, capacitive, piezoelectric, or ultrasonic sensing technologies.
- Wi-Fi device 207 is used to provide mobile phone 200 with network access that complies with Wi-Fi related standard protocols. Mobile phone 200 can access Wi-Fi access points through Wi-Fi device 207 to help users send and receive email, Browse the web and access streaming media, etc., it provides users with wireless broadband Internet access. In some other embodiments, the Wi-Fi device 207 can also be used as a Wi-Fi wireless access point, and can provide Wi-Fi network access for other terminals.
- the positioning device 208 is configured to provide a geographic location for the mobile phone 200. It can be understood that the positioning device 208 may specifically be a receiver of a positioning system such as a Global Positioning System (GPS) or a Beidou satellite navigation system. After receiving the geographical position sent by the positioning system, the positioning device 208 sends the information to the processor 201 for processing, or sends the information to the memory 203 for storage. In other embodiments, the positioning device 208 may be a receiver of an assisted global positioning system (AGPS). AGPS is a GPS positioning operation method with certain assistance. It can use the signal from the base station and the GPS satellite signal to make the mobile phone 200 locate faster.
- AGPS assisted global positioning system
- the positioning device 208 can be used with Communication is assisted by a positioning server (for example, the positioning server of the mobile phone 200) to obtain positioning assistance.
- the AGPS system assists the positioning device 208 to complete ranging and positioning services by serving as an auxiliary server.
- the auxiliary positioning server communicates with the terminal such as the positioning device 208 (ie, the GPS receiver) of the mobile phone 200 through a wireless communication network to provide positioning assist.
- the audio circuit 209, the speaker 213, and the microphone 214 may provide an audio interface between the user and the mobile phone 200.
- the audio circuit 209 can transmit the received electrical data converted electrical signal to the speaker 214, and the speaker 213 converts it into a sound signal for output.
- the microphone 214 converts the collected sound signal into an electrical signal, and the audio circuit 209 After receiving, it is converted into audio data, and then the audio data is output to the RF circuit 202 for sending to another mobile phone, or the audio data is output to the memory 203 for further processing.
- the peripheral interface 220 is used to provide various interfaces for external input / output devices (such as a keyboard, a mouse, an external display, an external memory, a user identification module card, etc.). For example, it is connected to a mouse through a universal serial bus interface, and connected to a subscriber identity module (SIM) card provided by a telecommunications operator through a metal contact on the card slot of the subscriber identity module.
- SIM subscriber identity module
- the peripheral interface 120 may be used to couple the above-mentioned external input / output peripherals to the processor 201 and the memory 203.
- the mobile phone 200 may further include a power supply device 211 (such as a battery and a power management chip) for supplying power to various components.
- the battery may be logically connected to the processor 201 through the power management chip, so as to manage charging, discharging, and power consumption management through the power supply device 211. And other functions.
- the mobile phone 200 may further include a camera (a front camera and / or a rear camera), a flash, a micro-projection device, a near field communication (NFC) device, and the like, and details are not described herein.
- a camera a front camera and / or a rear camera
- a flash a flash
- a micro-projection device a micro-projection device
- NFC near field communication
- the method of the embodiment of the present application may be applied to a process in which a STA 102 or a STA 103 and an AP 101 (that is, a Wi-Fi hotspot) establish a Wi-Fi connection.
- a method for establishing a Wi-Fi connection between the STA 102 and the AP 101 is used as an example to describe the method in the embodiment of the present application:
- the process of establishing a Wi-Fi connection between the STA 102 and the AP 101 may specifically include the scanning processes S301-S302, the authentication processes S303-S304, and the association processes S305-S306 shown in FIG. 3:
- S301 STA 102 sends a Probe Request frame to AP 101.
- STA 102 can use Scanning to search for the AP, that is, the STA searches for the SSID transmitted by the AP.
- the STA searches for the SSID transmitted by the AP.
- the STA can search on every available channel.
- an Active Scanning search method is used as an example.
- the STA can send a Probe Request frame on each available channel (such as 13 channels) in turn.
- the Probe Request frame carries the SSID of the AP.
- the Probe Request frame is used to search for an AP with the above SSID.
- the STA can discover the AP by listening to the beacon frames sent by the AP periodically.
- the Beacon frame can provide information about the AP and the Basic Service Set (BSS) where the AP is located.
- BSS Basic Service Set
- the AP 101 returns a Probe Response frame to the STA 102.
- AP 101 can receive a Probe Request frame with an SSID sent by STA 102.
- the AP responds to the Probe Request frame and returns a Probe frame to the STA.
- the STA 102 sends an Authentication Request frame to the AP 101.
- the STA 102 After the STA 102 receives the Probe Response frame sent by the AP 101, it can send an Authentication Request frame to the AP 101 to perform the identity authentication of the STA 102.
- the AP 101 returns an Authentication Response frame to the STA 102.
- AP 101 After AP 101 receives the Authentication Request frame, it can perform identity authentication on STA 102. After the identity authentication is passed, an Authentication Response frame is returned to the second device 1002 to indicate that the identity authentication is passed.
- the STA 102 sends an Association Request frame to the AP 101.
- STA 102 can initiate a formal connection request to AP 101, that is, an Association Request frame, requesting access to the Wi-Fi network provided by AP 101.
- the AP 101 returns an Association Response (Association Response) frame to the STA 102.
- AP 101 After AP 101 receives the Association Request frame, it can respond to the Association Request frame and send an Association frame to the STA 102. At this point, the Wi-Fi connection is complete, and STA 102 can perform data transmission through the Wi-Fi network provided by AP 101.
- a Wi-Fi connection error may occur due to any of the foregoing scanning process, authentication process, or association process, resulting in Wi-Fi connection failure.
- the embodiments of the present application provide a transmission control method, which can timely detect errors in the Wi-Fi connection and perform fault tolerance processing.
- the transmission control method is applied to a process in which a first device establishes a first communication connection with a second device.
- the first device in this embodiment of the present application may be the STA 102 described above, and the second device is an AP 101.
- the first device may be the above-mentioned AP 101, and the second device may be the STA 102.
- the transmission control method may include S401-S404:
- the first device is STA 102
- the second device is AP 101
- the first communication connection is a Wi-Fi connection.
- the STA 102 determines that the Wi-Fi connection error occurs: After the STA 102 executes S301, the Probe frame that is not received by the AP 101 within the first preset time is determined to determine that the Wi-Fi connection is in error. Alternatively, after the STA 102 executes S303, the Authentication Response frame sent by the AP 101 is not received within the first preset time, and it is determined that the Wi-Fi connection is in error. Or, after the STA 102 executes S305, the Association Response Frame sent by the AP 101 is not received within the first preset time, and it is determined that the Wi-Fi connection is in error.
- the foregoing Wi-Fi connection error may be caused by an AP 101 failure.
- the AP 101 fault can at least include the situation (1), the situation (2) and the situation (3).
- Case (1) The Wi-Fi device of AP 101 is faulty and cannot send or receive Wi-Fi frames.
- the Wi-Fi device of the AP 101 fails, it cannot receive the Probe Request frame, the Authentication Request frame, or the Association Request frame sent by the STA 102. Therefore, it is also impossible to send a Probe frame, an Authentication frame, or an Association frame to the STA 102. Or, if the Wi-Fi device of the AP 101 is faulty, it can only receive a Probe Request frame, an Authentication Request frame, or an Association Request frame sent by the STA 102, but cannot send a ProbeResponse frame, an Authentication Response Frame, or an AssociationResponse frame to the STA 102.
- Case (2) The network of AP 101 is faulty, and Wi-Fi network cannot be provided.
- the network failure of the AP 101 may refer to the optical network failure of the wireless router.
- the network failure of the AP 101 may refer to the mobile network of the mobile phone (such as the Fourth Generation of Mobile Phone Mobile Communication Standards, 4G) network) failure.
- Case (3) Other components of the AP 101 are faulty and cannot assist the Wi-Fi device to send and receive Wi-Fi frames.
- other components of the AP 101 fail, which cannot assist the Wi-Fi device to send and receive Wi-Fi frames, and also cause the Wi-Fi device to send and receive Wi-Fi frames.
- other components of the AP 101 may include a CPU of the AP 101.
- AP 101 failure may also include power failure of AP 101.
- the AP 101 When the AP 101 is powered off, the AP 101 cannot send or receive Wi-Fi frames.
- the Wi-Fi connection error may also be caused by the STA 102 failure.
- the STA 102 failure can at least include the situation (4):
- the Wi-Fi device of the STA 102 fails. At this time, the STA 102 cannot receive the Probe frame, the Authentication frame, or the Association frame that is sent by the AP 101.
- the STA 102 may determine that the Wi-Fi connection is in error may include: After the STA 102 receives the Probe frame, it cannot perform S303 to send an Authentication Request frame to the AP 101 to determine that the Wi-Fi connection is in error. Alternatively, after the STA 102 receives the Authentication Response frame, it cannot execute S305 to send the Association Request frame to the AP 101 to determine that the Wi-Fi connection is in error.
- the above-mentioned Wi-Fi connection error may be caused by a failure of the Wi-Fi device of the STA 102.
- the first device is an AP 101
- the second device is an STA 102
- the first communication connection is a Wi-Fi connection.
- the AP 101 can determine that the Wi-Fi connection is in error.
- the AP 101 determines that the Wi-Fi connection error occurs: After the AP 101 executes S302 to send a Probe frame to the STA 102, the AP does not receive the Authentication Request frame sent by the STA 102 within the second preset time, and determines that the Wi-Fi connection error . After AP 101 executes S304 to send an Authentication and Response frame to STA 102, it does not receive the Association Request frame sent by STA 102 within the second preset time, and determines that the Wi-Fi connection is in error.
- the foregoing Wi-Fi connection error may be caused by an AP 101 failure.
- the AP 101 fault can at least include the situation (5), the situation (6) and the situation (7).
- Case (5) The Wi-Fi device of the AP 101 is faulty and cannot send or receive Wi-Fi frames.
- Case (6) The network of AP 101 is faulty, and Wi-Fi network cannot be provided. Among them, the detailed description of the situation (6) can refer to the situation (2), which will not be repeated here in the embodiment of the present application.
- Case (7) Other components of the AP 101 are faulty and cannot assist the Wi-Fi device to send and receive Wi-Fi frames. Among them, the detailed description of the situation (7) can refer to the situation (3), which will not be repeated here in the embodiment of the present application.
- the Wi-Fi connection error can also be caused by the STA 102 failure.
- the STA 102 side failure can at least include the situation (8):
- the STA 102 cannot receive a Probe frame, an Authentication frame, or an Association frame, or an Authentication Request frame or an Association Request frame.
- the first communication connection is a Wi-Fi connection.
- the foregoing Wi-Fi connection error may be due to the fact that the first device or the second device does not support 5G Wi-Fi, and the 5G Wi-Fi connection cannot be established.
- the first device sends error information of the first communication connection to the second device through the second communication connection.
- the first device may send the Wi-Fi connection error information to the second device.
- the error information is used to indicate that the Wi-Fi connection between the first device and the second device is incorrect.
- the Bluetooth of the first device and the second device are both on. And, the first device establishes a Bluetooth connection with the second device. That is, before S401, the first device and the second device establish a second communication connection. In this way, when the first device finds that the Wi-Fi connection is wrong, it can directly send an error message to the second device through the Bluetooth connection of the first device and the second device.
- a device that has established a Bluetooth connection with the first device includes, but is not limited to, a second device.
- the first device needs to obtain the identity of the second device.
- the first device selects the second device from the devices that have established a Bluetooth connection with the first device according to the identity of the second device.
- the identifier of the second device may be used to uniquely identify the second device.
- the identifier of the second device may be a Media Access Control (Media Access Control, MAC) address of the second device.
- MAC Media Access Control
- the first device discovers that the Wi-Fi connection between the first device and the second device is wrong, it can obtain the MAC address (such as MAC address-1) of the second device.
- the first device may find a device with a MAC address of MAC address-1 among the devices that have established a Bluetooth connection with the first device.
- the first device may send an error message to the found device via the Bluetooth connection.
- the function of the second communication connection (such as the Bluetooth connection) of the second device is turned on.
- the function of the second communication connection of the first device is in a closed state. As shown in FIG. 5, after S401 and before S402, the method in this embodiment of the present application further includes S501:
- the first device In response to finding that the first communication connection is in error, the first device enables the function of the second communication connection of the first device, and establishes a second communication connection with the second device.
- the first communication connection is a Wi-Fi connection and the second communication connection is a Bluetooth connection.
- Bluetooth of the second device is on, that is, Bluetooth of the second device is turned on.
- the Bluetooth of the first device may be in an off state.
- the first device may turn on the Bluetooth of the first device and establish a Bluetooth connection with the second device.
- the first device finds that the first communication connection is in error, it starts the function of the second communication connection of the first device and establishes a second communication connection with the second device. In this way, the power consumption of the first device can be reduced.
- the function of the second communication connection of the second device is turned on. Before executing S402, the function of the second communication connection of the first device is on. However, the first device and the second device have not established a second communication connection. As shown in FIG. 6, after S401 and before S402, the method in this embodiment of the present application further includes S601:
- the first device In response to finding that the first communication connection is in error, the first device establishes a second communication connection with the second device.
- the first communication connection is a Wi-Fi connection and the second communication connection is a Bluetooth connection.
- the Bluetooth of the first device may be on. However, the Bluetooth connection between the first device and the second device is not established. In response to discovering a Wi-Fi connection, the first device may establish a Bluetooth connection with the second device.
- the first device before the first device executes S501 or S601, before establishing a second communication connection with the second device, multiple Bluetooth devices can be searched.
- the first device needs to obtain the identifier of the second device, and then, according to the identifier of the second device, find the Bluetooth device corresponding to the identifier from the multiple Bluetooth devices.
- the first device establishes a Bluetooth connection with the found Bluetooth device, and sends an error message to the found Bluetooth device.
- the identifier of the second device may be used to uniquely identify the second device.
- the identity of the second device may be a MAC address of the second device.
- the first device can obtain the MAC address (eg, MAC address-1) of the second device. Then, the first device may find a device with a MAC address of MAC address-1 among the searched Bluetooth devices.
- the first device can establish a Bluetooth connection with the found Bluetooth device, and the found Bluetooth device sends an error message.
- the first device may send a Bluetooth frame carrying the error information to the second device through the Bluetooth connection between the first device and the second device based on the Bluetooth protocol.
- the first device may send a Bluetooth frame carrying the foregoing error information to the second device based on a Bluetooth Serial Port (Serial Port Profile, SPP) protocol.
- SPP Bluetooth Serial Port Profile
- FIG. 7 is a schematic diagram illustrating an example of a frame structure of an SPP Bluetooth frame (ie, a Bluetooth frame sent based on the SPP protocol) according to an embodiment of the present application.
- the SPP Bluetooth frame may include: Logical Link Control and Adaptation Protocol (L2CAP) 71, RFCOMM 72, and Data field 73.
- L2CAP Logical Link Control and Adaptation Protocol
- the above error information may be carried in the Data field 73 of the SPP Bluetooth frame.
- the above error information may be carried in L2CAP 71 of the SPP Bluetooth frame.
- the L2CAP 71 includes an L2CAP header 711 and a payload field 712.
- the error information may be carried in the payload field 712 of the L2CAP 71.
- L2CAP 81 may include an L2CAP header 811 and a payload field 812.
- the above error information may be carried in the L2CAP header 811 or the payload field 812.
- the above-mentioned Bluetooth frame may be a BLE Bluetooth frame based on a Generic Attribute Configuration Protocol (GATT).
- GATT Generic Attribute Configuration Protocol
- the BLE Bluetooth frame may include: L2CAP 91 and Data field 92.
- the above error information may be carried in the Data field 92 of the BLE Bluetooth frame.
- the above error information may be carried in L2CAP 91 of the BLE Bluetooth frame.
- the L2CAP 91 may include: an L2CAP header 911, an attribute protocol (ATT) field 912, and a GATT field 913.
- the GATT field 913 may include: other fields 9131 and a payload field 9132.
- the above error information may be carried in the L2CAP header 911 or the payload field 9132.
- the error information includes the error code of the Wi-Fi connection.
- the error code is used to indicate the cause of the Wi-Fi connection error between the first device and the second device. For example, when the error code is 00, it is used to indicate that the Wi-Fi device of the AP 101 is faulty. When the error code is 01, it is used to indicate that the Wi-Fi device of the STA 102 is faulty. When the error code is 10, it is used to indicate the network failure of the AP 101. When the error code is 11, it is used to indicate that AP 101 or STA 102 does not support 5G Wi-Fi.
- the error codes in the embodiments of the present application include, but are not limited to, the foregoing “00”, “01”, “10”, and “11”. Other forms of error codes are not repeated here in the examples of this application.
- the second communication connection in the embodiment of the present application may be a communication connection that satisfies a preset condition in addition to the first communication connection among the possible communication connections between the first device and the second device.
- the first device After the first device discovers that the first communication connection is in error, it may select a communication connection that meets a preset condition in addition to the first communication connection from the possible communication connections between the first device and the second device.
- the method for the first device to select the second communication connection may include: when there is another communication connection other than the first communication connection between the first device and the second device, the first device determines the other communication connection.
- the communication connection is a second communication connection.
- the first communication connection is a Wi-Fi connection.
- a Wi-Fi connection not only a Wi-Fi connection, but also a Bluetooth connection is established between the first device and the second device. Then when the first device finds that the Wi-Fi connection is in error, the Bluetooth connection is the second communication connection.
- the first prompt information may be sent before the first device sends the error information to the second device through the Bluetooth connection.
- the first prompt information is used to indicate that the first communication connection is in error, and requests the user to confirm that error information is sent to the second device through the Bluetooth connection.
- the manner in which the first device sends out the first prompt information may include: the first terminal displaying an interface including the first prompt information; or the first terminal playing the first prompt information through a voice prompt.
- the mobile phone 200 is a first device and the mobile phone 300 is a second device.
- the mobile phone 200 is STA 102, and the mobile phone 300 is AP 101.
- the mobile phone 200 finds that the Wi-Fi connection is in error.
- the mobile phone 200 may display the first prompt information 1001 shown in FIG. 10.
- the first prompt message 1001 may be "Failure to establish a Wi-Fi connection with the mobile phone 300. Will the mobile phone 300 be notified of an error message via Bluetooth?".
- the mobile phone 200 may send an error message to the mobile phone 300 via Bluetooth in response to a user's selection operation of the “Yes” button shown in FIG. 10.
- the method for the first device to select the second communication connection may include: when the first device and the second device have one or more communication connections other than the first communication connection, the first device may A communication connection with a smaller power consumption or a faster transmission rate is selected from the one or more communication connections as the second communication connection.
- a communication connection with low power consumption refers to a communication connection with the lowest power consumption when multiple communication connections transmit the same data.
- the first communication connection is a Wi-Fi connection.
- a Wi-Fi connection is established between the first device and the second device, but a Bluetooth connection and a ZigBee connection are also established. It is assumed that the power consumption of transmitting data by Bluetooth connection is less than the power consumption of transmitting data by ZigBee connection. Then when the first device finds that the Wi-Fi connection is wrong, it can determine that the Bluetooth connection is the second communication connection.
- a communication connection with a higher transmission rate refers to a communication connection with the fastest transmission rate when multiple communication connections transmit the same data.
- the first communication connection is a Wi-Fi connection.
- a Wi-Fi connection is established between the first device and the second device, but a Bluetooth connection and a USB connection are also established. It is assumed that the USB connection is transmitting data at a higher rate than the Bluetooth connection. Then when the first device finds that the Wi-Fi connection is wrong, it can determine that the USB connection is the second communication connection.
- the method for the first device to select the second communication connection may include: when the first device and the second device have multiple communication connections other than the first communication connection, the first device displays the first communication connection. interface.
- the first interface includes the selection items of the plurality of communication connections.
- the first device uses the communication connection selected by the user as the second communication connection in response to the user's selection operation on the selection items of the plurality of communication connections.
- the mobile phone 200 is a first device and the mobile phone 300 is a second device.
- the mobile phone 200 is STA 102
- the mobile phone 300 is AP 101.
- the mobile phone 200 and the mobile phone 300 establish a Bluetooth connection and a USB connection.
- the mobile phone 200 finds that the Wi-Fi connection is in error.
- the mobile phone 200 may display a first interface 1101 shown in FIG. 11.
- the first interface 1101 includes a Bluetooth connection option 1102 and a USB connection option 1103.
- the mobile phone 200 may select a Bluetooth connection as the second communication connection in response to a user's selection operation (such as a click operation) on the Bluetooth connection selection item 1102.
- the mobile phone 200 may send an error message to the mobile phone 300 through a Bluetooth connection.
- the first interface 1101 may further include second prompt information 1104.
- the second prompt message 1104 is used to indicate that the Wi-Fi connection is in error, and instruct the user to select a communication connection from the communication connections to be selected to send an error message to the mobile phone 300.
- the second prompt message 1104 may be "Failure to establish a Wi-Fi connection with the mobile phone 300, please select a communication connection to notify the mobile phone 300 of error information!.
- the mobile phone 200 in response to the user's selection operation of the "Cancel" button shown in FIG. 11, the mobile phone 200 may not need to send an error message to the mobile phone 300 through any communication connection. And, the mobile phone 300 may stop establishing a Wi-Fi connection with the mobile phone 300.
- the method for the first device to select the second communication connection may include: when the first device has only the first communication connection with the second device, the first device may request to establish the second communication with the second device. connection.
- the second communication connection may be any communication connection among possible communication connections between the first device and the second device.
- the second communication connection may be a communication connection with a smaller power consumption or a faster transmission rate among the possible communication connections between the first device and the second device.
- the method for the first device to select the second communication connection may include: when the first device and the second device only have the first communication connection, the first device may request to establish a user-selected connection with the second device. Communication connection (ie second communication connection). Specifically, the first device may display a third interface in response to finding that the first communication connection is in error. The third interface includes options for a possible communication connection between the first device and the second device. The first device may request the second device to establish a second communication connection corresponding to the selection item selected by the user in response to the user's selection operation of the selection item of the communication connection.
- the mobile phone 200 may display a third interface 1201 shown in FIG. 12.
- the third interface 1201 includes a Bluetooth connection option 1202, a USB connection option 1203, and a ZigBee connection option 1204.
- the mobile phone 200 may select a Bluetooth connection as the second communication connection in response to a user's selection operation (such as a click operation) on the Bluetooth connection selection item 1202.
- the mobile phone 200 may request to establish a Bluetooth connection with the mobile phone 300, and send an error message to the mobile phone 300 through the Bluetooth connection.
- the third interface 1201 may further include third prompt information 1205.
- the third prompt message 1205 is used to indicate that the Wi-Fi connection is in error, and instruct the user to select a communication connection from the communication connections to be selected to establish a corresponding communication connection with the mobile phone 300, and send an error to the mobile phone 300 through the communication connection.
- the third prompt message 1205 may be "Failed to establish a Wi-Fi connection with the mobile phone 300, please select a communication connection so that the mobile phone 200 establishes the communication connection with the mobile phone 300, and notify the mobile phone 300 of the error information through the communication connection! .
- the second device receives error information of the first communication connection sent by the first device through the second communication connection.
- the second device may receive the error information of the Wi-Fi connection sent by the first device through the Bluetooth connection.
- the first device and the second device may perform fault tolerance processing on the first communication connection according to the foregoing error information. That is, after S403, the method in the embodiment of the present application may further include S404:
- the first device and the second device perform fault tolerance processing on the first communication connection according to the error information.
- S404 shown in FIG. 4 may include S1301-S1302:
- the first device and the second device use a second communication connection to exchange connection parameters of the first communication connection.
- the first device and the second device establish a first communication connection according to the connection parameters of the first communication connection transmitted through the second communication connection.
- the second device may actively request to re-establish a first communication connection with the first device.
- the second device and the first device may use a second communication connection to exchange connection parameters of the first communication connection.
- the first device is an AP 101 and the second device is an STA 102.
- the first communication connection is a Wi-Fi connection and the Bluetooth connection of the second communication connection.
- STA 102 After STA 102 receives the error message sent by AP 101 through Bluetooth connection, it can interact with the AP 101 through Wi-Fi connection parameters via Bluetooth connection.
- the connection parameters of the Wi-Fi connection may include: Wi-Fi capability of STA 102 (for example, STA 102 supports Wi-Fi 5G and Wi-Fi 2.4G, or STA 102 Wi-Fi 2.4G, etc. ), The transmission rate supported by STA 102, the service set identifier (SSID) of the AP 101, and the Wi-Fi key.
- Wi-Fi capability of STA 102 for example, STA 102 supports Wi-Fi 5G and Wi-Fi 2.4G, or STA 102 Wi-Fi 2.4G, etc.
- the transmission rate supported by STA 102 for example, STA 102 supports Wi-Fi 5G and Wi-Fi 2.4G, or STA 102 Wi-Fi 2.4G, etc.
- the transmission rate supported by STA 102 for example, STA 102 supports Wi-Fi 5G and Wi-Fi 2.4G, or STA 102 Wi-Fi 2.4G, etc.
- the transmission rate supported by STA 102 for example, STA 102 supports Wi-Fi 5G
- the first communication connection is a Wi-Fi connection and the Bluetooth connection of the second communication connection is taken as an example.
- the first device and the second device may exchange connection parameters of the Wi-Fi connection through the Bluetooth connection between the first device and the second device based on the Bluetooth protocol.
- the specific method for the first device and the second device to interact with the connection parameters of the Wi-Fi connection through the Bluetooth connection based on the Bluetooth protocol can refer to the first device and the second device based on the Bluetooth protocol to transmit the Wi-Fi connection through the Bluetooth connection.
- the method of error information is not described in the embodiment of the present application.
- the second device may display a fifth interface, and the fifth interface includes third confirmation information.
- the third confirmation information is used to instruct the second device to receive error information of the first communication connection through the second communication connection, and request the user to confirm whether to re-establish the first communication connection through the second communication connection.
- the mobile phone 300 is a second device.
- the mobile phone 300 may display the fifth interface 1401 shown in FIG. 14 after receiving the error information sent by the mobile phone 200 through the Bluetooth connection.
- the fifth interface 1401 includes third confirmation information 1402.
- the third confirmation information 1402 may be "The mobile phone 200 indicates that the Wi-Fi connection failed through the Bluetooth connection.
- the mobile phone 300 receives a user's click operation (such as a click operation) on the "Yes" button in the fifth interface 1401.
- a user's click operation such as a click operation
- the mobile phone 300 can interact with the mobile phone 200 via Wi-Fi connection connection parameters through the Bluetooth connection, and re-establish the Wi-Fi connection.
- the first device in response to finding that the first communication connection is faulty, after the first device sends error information to the second device through the second communication connection, it may also actively request to re-establish the first communication connection with the first device.
- the first device is an AP 101 and the second device is an STA 102.
- the first communication connection is a Wi-Fi connection and the Bluetooth connection of the second communication connection.
- AP 101 sends error information to STA 102, it can also exchange Wi-Fi connection connection parameters with STA 102 via Bluetooth connection. For example, as shown in FIG.
- the mobile phone 200 may also interact with the mobile phone 300 via Wi-Fi connection connection parameters and re-establish a Wi-Fi connection in response to a user's click operation on the "Yes" button.
- the mobile phone 200 in response to the user's selection operation of the Bluetooth connection selection item, can also interact with the mobile phone 300 through Wi-Fi connection parameters of the Wi-Fi connection and re-establish the Wi-Fi connection.
- the first device and the second device can also perform error correction processing on the cause of the error in the first communication connection according to the error information, so that the first communication connection can be re-established as soon as possible.
- the first device and the second device may exchange connection parameters of the first communication connection through the second communication connection after the first communication connection fails. In this way, after the first device and the second device correct the foregoing errors, the first communication connection can be re-established directly according to the connection parameters of the first communication connection transmitted through the second communication connection. In this way, the time for establishing the first communication connection can be shortened, and the efficiency of establishing the first communication connection can be improved.
- An embodiment of the present application provides a transmission control method. After a first device detects an error in the first communication connection, the first device may send error information of the first communication connection to the second device through the second communication connection. The first device sends the error information of the first communication connection to the second device in time, so that the second device can detect the error of the first communication connection in time. In addition, the first device and the second device may exchange connection parameters of the first communication connection through the second communication connection after the first communication connection fails. Then, the first communication connection is re-established directly according to the connection parameter. In this way, the time for establishing the first communication connection can be shortened, and the efficiency of establishing the first communication connection can be improved.
- the first device and the second device have established a first communication connection.
- the transmission control method provided in the embodiment of the present application may be applied to a process in which a first device and a second device perform data transmission through a first communication connection.
- the method in the embodiment of the present application may be applied to a scenario of mobile phone cloning. Take the first communication connection as a Wi-Fi connection as an example.
- mobile phone 1 that is, the first device
- mobile phone 2 that is, the second device
- can transmit clone information that is, the first data
- the clone information (that is, the first data) may include various communication data in the mobile phone 1, mobile phone short messages, WeChat information, photos, contacts, and the like.
- the mobile phone 1 and the mobile phone 2 can exchange error information of the first communication connection through a second communication connection (such as a Bluetooth connection).
- the mobile phone 1 and the mobile phone 2 can continue to transmit the clone information through a second communication connection (such as a Bluetooth connection).
- the mobile phone 1 and the mobile phone 2 may also exchange connection parameters of the Wi-Fi connection through a second communication connection (such as a Bluetooth connection) to re-establish a Wi-Fi connection.
- the first communication connection may be a Wi-Fi connection.
- the first device may be the above-mentioned STA 102, and the second device may be the AP 101.
- the first device may be the above-mentioned AP 101, and the second device may be the STA 102.
- the first device may be the STA 102 and the second device is the STA 103.
- STA 102 and STA 103 can perform data transmission through the Wi-Fi network provided by AP 101.
- the transmission control method may include S1501-S1507:
- the first device and the second device transmit the first data through the first communication connection.
- the first data in the embodiment of the present application may be multiple data forms such as a file, signaling, or message.
- the embodiment of the present application does not limit the specific form of the first data.
- the first device finds that the first communication connection is in error.
- the first device may be a receiving end of the first data or a sending end of the first data. For example, when the first device is the receiving end of the first data, if the first device finds that the received first data is garbled, the first device can check whether the first communication connection is in error.
- the first device is STA 102
- the second device is AP 101
- the first communication connection is a Wi-Fi connection.
- Wi-Fi connection errors can be caused by AP 101 failure.
- the AP 101 fault may include at least the above-mentioned situation (1), situation (2), and situation (3).
- AP 101 failure may also include power failure of AP 101.
- the Wi-Fi connection error can also be caused by the STA 102 failure.
- the failure of STA 102 may include at least the above situation (4).
- the first device is an AP 101
- the second device is an STA 102
- the first communication connection is a Wi-Fi connection.
- the above Wi-Fi connection error may be caused by AP 101 failure.
- the AP 101 failure can include at least the above-mentioned situation (5), situation (6) and situation (7).
- the Wi-Fi connection error can also be caused by the STA 102 failure.
- the fault on the STA 102 side can at least include the above situation (8).
- the first device is STA 103
- the second device is STA 102
- the first communication connection is a Wi-Fi connection.
- the above Wi-Fi connection error may be caused by AP 101 failure.
- AP 101 fails, Wi-Fi networks cannot be provided for STA 103 and STA 102, which results in Wi-Fi connection errors and abnormal first data transmission.
- the first device sends error information of the first communication connection to the second device through the second communication connection.
- the function of the second communication connection (such as the Bluetooth connection) of the second device is turned on.
- the method in the embodiment of the present application may further include the foregoing S501 or S601. The detailed description of S501 and S601 is not repeated here in the embodiment of the present application.
- the second communication connection in the embodiment of the present application may be a communication connection that satisfies a preset condition in addition to the first communication connection among the possible communication connections between the first device and the second device.
- the first device After the first device discovers that the first communication connection is in error, it may select a communication connection that meets a preset condition in addition to the first communication connection from the possible communication connections between the first device and the second device.
- the second device receives error information of the first communication connection sent by the first device through the second communication connection.
- the first device and the second device may exchange connection parameters of the first communication connection through a second communication connection, so as to re-establish the first communication connection.
- the method in the embodiment of the present application may further include the foregoing S1505-S1507.
- the first device and the second device exchange a connection parameter of the first communication connection through a second communication connection.
- S1506 The first device and the second device establish a first communication connection according to the connection parameters of the first communication connection transmitted through the second communication connection.
- the first device and the second device transmit the first data through the first communication connection according to the first breakpoint information of the first data.
- the above error information may further include first breakpoint information of the first data.
- the first breakpoint information of the first data is used to indicate a cut-off position of data that has been correctly transmitted by the first device and the second device during the transmission of the first data.
- the first breakpoint information of the first data may be an identifier of data that was recently correctly transmitted in the first data.
- the data that was recently correctly transmitted in the first data refers to the error that ended the first communication connection, and the latest data that was correctly transmitted in the first data. In this way, the first device and the second device can continue to transmit the first data through the first communication connection according to the first breakpoint information of the first data.
- the first device may send error information of the first communication connection to the second device through the second communication connection after finding that the first communication connection is in error.
- the first device sends the error information of the first communication connection to the second device in time, so that the second device can detect the error of the first communication connection in time.
- the first device and the second device may exchange connection parameters of the first communication connection through the second communication connection after the first communication connection fails. Then, the first communication connection is re-established directly according to the connection parameter. In this way, the time for establishing the first communication connection can be shortened, and the efficiency of establishing the first communication connection can be improved.
- the first device and the second device may continue to transmit the first data directly through the second communication connection according to the first breakpoint information of the first data.
- the method in the embodiment of the present application may further include S1505-S1506 and S1601:
- the first device and the second device continue to transmit the first data through the second communication connection according to the first breakpoint information of the first data.
- the first device and the second device execute S1505-S1506 and S1601 simultaneously.
- the first device and the second device may continue to transmit the first data through the second communication connection directly.
- the first device and the second device in the embodiment of the present application may not execute S1505-S1507, but directly execute S1601.
- the method in the embodiment of the present application may further include S1601.
- the first device may send error information of the first communication connection to the second device through the second communication connection after finding that the first communication connection is in error.
- the first device sends the error information of the first communication connection to the second device in time, so that the second device can detect the error of the first communication connection in time.
- the first device and the second device may continue to transmit the first data through the second communication connection according to the first breakpoint information of the first data directly after the first communication connection fails.
- the first communication connection Take the first communication connection as a Wi-Fi connection and the second communication connection as a Bluetooth connection as an example. It can be understood that in the case where the first device and the second device have established a Bluetooth connection, it takes time for the first device and the second device to re-establish a Wi-Fi connection; therefore, the first device and the second device are connected via Bluetooth. The transmission of the first data through the connection can quickly complete the transmission of the first data and improve the transmission efficiency of the first data. In the case where the first device and the second device have not established a Bluetooth connection, it takes time to re-establish a Wi-Fi connection between the first device and the second device, and the time required to establish a Bluetooth connection is less than the time required to establish a Wi-Fi connection. Therefore, transmitting the first data through the Bluetooth connection between the first device and the second device can quickly complete the transmission of the first data and improve the transmission efficiency of the first data.
- the first device or the second device may determine to continue to execute S1505-S1507, or continue to execute S1601, or continue to execute S1505-S1506 and S1601 according to a preset policy.
- the method for determining whether the first device or the second device performs the foregoing steps according to a preset policy may include: at least one of the first device or the second device according to a service type of the first data, a data amount of the first data, and available resources. One item, determine to perform the above steps.
- the available resources may include a communication connection available to the first device and the second device.
- the service type of the first data may indicate that the first data is video data, audio data, or text data.
- Different service types have different requirements on latency. For example, when a user watches a video using a Wi-Fi network, the first data is video data. In order to ensure the user experience when a user watches a video, video data generally requires higher delay. For example, the delay requirement for video data is higher than the delay requirement for text data. Therefore, when the first data is video data, in order to ensure continuous and uninterrupted transmission of the video data, after S1504, the first device and the second device may directly execute S1601, and according to the first breakpoint information of the first data, The first data continues to be transmitted through the second communication connection.
- the first device and the second device may execute S1505-S1506 and S1601. That is, the first device and the second device can transmit the video-type data through the Bluetooth connection while re-establishing the Wi-Fi connection.
- the first device and the second device can continue to transmit the first data through the re-established Wi-Fi connection after re-establishing the Wi-Fi connection. That is, after S1504, the first device and the second device can execute S1505-S1507.
- the transmission rate of the first communication connection may be greater than the transmission rate of the second communication connection.
- the first device and the second device may retransmit the first data through the first communication connection after the first communication connection is successfully established. That is, as shown in FIG. 17, after S1505-S1506 and S1601 shown in FIG. 16A, the method in this embodiment of the present application may further include S1701:
- S1701 may be replaced by: when the first communication connection is successfully established, if the first data has not been transmitted and the transmission rate of the first communication connection is higher than the transmission rate of the second communication connection, the first device and the first communication connection The two devices stop transmitting the first data through the second communication connection, and continue transmitting the first data through the first communication connection according to the second breakpoint information of the first data.
- the second breakpoint information may be transmitted by the first device and the second device through the second communication connection.
- the second breakpoint information is used to indicate a cut-off position of data that has been correctly transmitted by the first device and the second device during the transmission of the first data through the second communication connection.
- the first device and the second device may stop transmitting the video data through the Bluetooth connection.
- the first device and the second device may continue to transmit video data through a Wi-Fi connection according to the second breakpoint information of the video data.
- the terminal may determine whether the amount of the untransmitted data in the first data is greater than a preset data amount threshold. When the amount of data that has not been transmitted is greater than a preset data amount threshold, the terminal may stop transmitting the first data through the second communication connection, and continue transmitting the first data through the first communication connection. When the amount of data that has not been transmitted is less than or equal to a preset data amount threshold, the terminal may continue to transmit the first data through the second communication connection.
- the data amount of the first data may indicate the size of the first data. When the data amount of the first data is small, the first device and the second device may transmit the first data through the Bluetooth device until the first data is transmitted. Even if the Wi-Fi connection is re-established, the first data does not need to be transmitted through the re-established Wi-Fi connection.
- the available resources may include communication connections available to the first device and the second device. For example, when the first device and the second device have no other available communication connection except the first communication connection (such as a Wi-Fi connection), or cannot establish other available communication connections, the first device and the second device After the Wi-Fi connection is re-established, the first data may continue to be transmitted through the re-established Wi-Fi connection. That is, after S1504, the first device and the second device can execute S1505-S1507.
- the user may also decide that after S1504, the first device and the second device continue to execute S1505-S1507, S1601, or S1505-S1506 and S1601.
- the user of the first device may decide that after S1503, the first device and the second device continue to execute S1505-S1507, S1601, or S1505-S1506 and S1601.
- the first device may display the second interface while performing S1503.
- the second interface includes first confirmation information.
- the first confirmation information is used to indicate that the first communication connection is in error, and requests the user to confirm that "the first communication connection is re-established and then the first data is transmitted through the re-established first communication connection" or "the first data is transmitted through the second communication connection ".
- the first device is a mobile phone 400
- the first communication connection is a Wi-Fi connection
- the second communication connection is a Bluetooth connection.
- the mobile phone 400 may display the second interface 1801 shown in FIG. 18 while executing S1503.
- the second interface 1801 includes first confirmation information 1802.
- the first confirmation message 1802 may be "Wi-Fi connection error! Please confirm that after re-establishing the Wi-Fi connection, transmit the first data through the re-established Wi-Fi connection, or transmit the first data through the Bluetooth connection?".
- the user of the second device may decide that after S1504, the first device and the second device continue to execute S1505-S1507, S1601, or S1505-S1506 and S1601.
- the second device may display the second interface in response to receiving the error information of the first communication connection.
- the second interface includes first confirmation information.
- the first confirmation information is used to indicate that the first communication connection is in error, and requests the user to confirm that "the first communication connection is re-established, and then the first data is transmitted through the re-established first communication connection" or "the first data is transmitted through the second communication connection.” ".
- the second device is a mobile phone 400
- the first communication connection is a Wi-Fi connection
- the second communication connection is a Bluetooth connection.
- the mobile phone 400 When the mobile phone 400 receives the error message of the Wi-Fi connection, it can display the second interface 1801 shown in FIG. 18.
- the second interface 1801 includes first confirmation information 1802.
- the first confirmation message 1802 may be "Wi-Fi connection error! Please confirm that after re-establishing the Wi-Fi connection, transmit the first data through the re-established Wi-Fi connection, or transmit the first data through the Bluetooth connection?".
- the mobile phone 400 may execute S1505-S1507 in response to the user's selection operation of the option "Re-establish Wi-Fi connection, and then transmit first data through the re-established Wi-Fi connection".
- the mobile phone 400 may execute S1505-S1506 and S1601 in response to the user's selection operation of the option "Transfer first data through Bluetooth connection" shown in FIG. 18, or may execute S1601.
- the mobile phone 400 may further display a fourth interface 1901.
- the fourth interface 1901 includes second confirmation information 1902.
- the second confirmation information 1902 is used to indicate that the Wi-Fi connection is successfully re-established, and whether to continue transmitting data through the re-established Wi-Fi connection.
- the mobile phone 400 may stop transmitting the first data through the Bluetooth connection in response to the user ’s click operation on the “Yes” button shown in FIG. 19, and continue to transmit the first data through the Wi-Fi connection according to the second breakpoint information of the first data. data.
- the mobile phone 400 may continue to transmit the first data through the Bluetooth connection in response to the user's click operation on the “No” button shown in FIG. 19.
- the first device and the second device may transmit the first data through a Bluetooth connection between the first device and the second device based on the Bluetooth protocol.
- the specific method for transmitting the first data through the Bluetooth connection based on the Bluetooth protocol between the first device and the second device can be referred to the method for transmitting the error information of the Wi-Fi connection through the Bluetooth connection based on the Bluetooth protocol between the first device and the second device. This embodiment of the present application will not repeat them here.
- the embodiment of the present application provides a transmission control method, which can not only improve the efficiency of establishing the first communication connection, but also improve the transmission efficiency of the first data.
- the first device or the second device may complete the transmission of the first data through the communication connection selected by the user in response to the user's selection of the first data transmission mode. In this way, the interaction performance between the device and the user can be improved.
- the first device and the second device include a hardware structure and / or a software module corresponding to each function.
- the embodiments of the present application can be implemented in the form of hardware or a combination of hardware and computer software. Whether a certain function is performed by hardware or computer software-driven hardware depends on the specific application and design constraints of the technical solution. Professional technicians can use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of the embodiments of the present application.
- the embodiments of the present application may divide the functional modules of the foregoing devices according to the foregoing method examples.
- each functional module may be divided corresponding to each function, or two or more functions may be integrated into one processing module.
- the above integrated modules can be implemented in the form of hardware or software functional modules. It should be noted that the division of the modules in the embodiments of the present application is schematic, and is only a logical function division. In actual implementation, there may be another division manner.
- an embodiment of the present application provides a device 2000, which includes a first communication unit 2001, a detection unit 2002, and a second communication unit 2003.
- the first communication unit 2001 is used to support the device 2000 to perform S301, S303, S305, S1501, S1507 in the above method embodiment, and / or other processes used in the technology described herein.
- the detection unit 2002 is used to support the device 2000 to perform S401, S1502 in the above method embodiment, and / or other processes used in the technology described herein.
- the second communication unit 2003 is used to support the device 2000 to perform S402, S1301, S1503, S1505, S1601, and / or other processes for the technology described herein.
- the above-mentioned device 2000 may further include: a establishing unit 2004.
- the establishing unit 2004 is configured to support the device 2000 to establish a first communication connection and a second communication connection with the second device.
- the establishing unit 2004 is used to support the device 2000 to execute S501, S601, S1302, S1506 in the above method embodiment, and / or other processes used in the technology described herein.
- the above-mentioned device 2000 may further include: a control unit.
- the control unit is used to support the device 2000 to perform the operations of controlling the second communication unit 2003 “stopping the transmission of the first data through the second communication connection” in S404 and S1701 in the foregoing method embodiment, and / or the technology described herein Other processes.
- the above-mentioned device 2000 may further include: a selection unit.
- the selection unit is used to support the device 2000 in selecting a second communication connection from one or more communication connections, and / or other processes for the techniques described herein.
- the above-mentioned device 2000 may further include: a prompting unit.
- the prompting unit is used to support the device 2000 to issue a first prompting message, and / or other processes for the techniques described herein.
- the above device 2000 may further include: a display unit and a determination unit.
- the display unit is configured to support the device 2000 to display the first interface, the third interface, the second interface, the fourth interface, and the like, and / or other processes used in the technology described herein.
- the determination unit is configured to support the device 2000 in response to a user's selection operation of a selection item of the communication connection displayed by the display unit, to determine that the communication connection selected by the user is the second communication connection, and / or other processes for the technology described herein.
- the functional units of the above device 2000 include but are not limited to the above units.
- the above-mentioned device 2000 may further include a storage unit.
- the above-mentioned first communication unit 2001 and second communication unit 2003 may be integrated into one communication module for implementation.
- the above-mentioned detection unit 2002, establishment unit 2004, control unit, selection unit, prompting unit, and determination unit may be implemented in one processing module.
- the display unit may be a display module.
- the storage unit may be a storage module.
- FIG. 22 shows a schematic diagram of a possible structure of the device involved in the foregoing embodiment.
- the device 2200 includes a processing module 2201, a storage module 2202, a display module 2203, and a communication module 2204.
- the processing module 2201 is configured to control and manage the device 2200.
- the display module 2203 is configured to display an interface and receive a touch operation of a user.
- the storage module 2202 is configured to store program codes and data of the device 2200.
- the communication module 2204 is used to communicate with other devices. For example, the communication module is used to receive or send information to other devices.
- the processing module 2201 may be a processor or a controller.
- the processing module 2201 may include a central processing unit (CPU) and a graphics processing unit (GPU), a general-purpose processor, and a digital signal processor (Digital Signal Processor). , DSP), application-specific integrated circuit (ASIC), field programmable gate array (Field Programmable Gate Array, FPGA) or other programmable logic devices, transistor logic devices, hardware components or any combination thereof. It may implement or execute various exemplary logical blocks, modules, and circuits described in connection with the disclosure of this application.
- the processor may also be a combination that realizes computing functions, for example, a combination including one or more microprocessors, a combination of a DSP and a microprocessor, and so on.
- the communication module may be a transceiver, a transceiver circuit, or a communication interface.
- the storage module 2202 may be a memory.
- the processing module 2201 is a processor (such as the processor 201 shown in FIG. 2, the communication module is a radio frequency circuit (such as the radio frequency circuit 202 shown in FIG. 2), and the storage module 2202 is a memory (such as the memory 203 shown in FIG. 2).
- the display module 2203 is a display (including the display 204 including the touch panel 204-1 and the display panel 204-5 shown in FIG. 2)
- the device provided in this application may be the mobile phone 200 shown in FIG. 2.
- the communication module may include not only a radio frequency circuit, but also a WiFi module and a Bluetooth module. Communication modules such as a radio frequency circuit, a WiFi module, and a Bluetooth module may be collectively referred to as a communication interface. It may be referred to as a second communication interface, wherein the processor, the communication interface, the touch screen, and the memory may be coupled together through a bus.
- An embodiment of the present application further provides a computer storage medium, where the computer storage code is stored in the computer storage medium.
- the processor executes the computer program code
- the device executes FIG. 4, FIG. 5, FIG. 13, FIG.
- the relevant method steps in any of FIGS. 16A, 16B, and 17 implement the method in the above embodiment.
- the embodiment of the present application further provides a computer program product, which causes the computer to execute FIG. 4, FIG. 5, FIG. 6, FIG. 13, FIG. 15, FIG. 16A, FIG. 16B, and FIG. 17 when the computer program product runs on the computer.
- the relevant method steps in any of the figures implement the method in the above embodiments.
- the device 2000 and the device 2200, the computer storage medium, or the computer program product provided in this application are used to execute the corresponding methods provided above. Therefore, for the beneficial effects that can be achieved, refer to the corresponding ones provided above. The beneficial effects in the method are not repeated here.
- the disclosed systems, devices, and methods may be implemented in other ways.
- the device embodiments described above are only schematic.
- the division of the modules or units is only a logical function division.
- multiple units or components may be divided.
- the combination can either be integrated into another system, or some features can be ignored or not implemented.
- the displayed or discussed mutual coupling or direct coupling or communication connection may be indirect coupling or communication connection through some interfaces, devices or units, which may be electrical, mechanical or other forms.
- the units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, may be located in one place, or may be distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the objective of the solution of this embodiment.
- each functional unit in each embodiment of the present application may be integrated into one processing unit, or each of the units may exist separately physically, or two or more units may be integrated into one unit.
- the above integrated unit may be implemented in the form of hardware or in the form of software functional unit.
- the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it may be stored in a computer-readable storage medium.
- the technical solution of the present application is essentially a part that contributes to the existing technology or all or part of the technical solution can be embodied in the form of a software product, which is stored in a storage medium , Including a plurality of instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) or a processor to perform all or part of the steps of the method described in the embodiments of the present application.
- the foregoing storage medium includes: various types of media that can store program codes, such as a flash memory, a mobile hard disk, a read-only memory, a random access memory, a magnetic disk, or an optical disk.
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Mobile Radio Communication Systems (AREA)
- Communication Control (AREA)
Abstract
Description
Claims (35)
- 一种传输控制方法,其特征在于,所述传输控制方法包括:第一设备与第二设备通过第一通信连接传输第一数据,所述第一通信连接是无线保真Wi-Fi连接;所述第一设备与所述第二设备通过所述第一通信连接传输所述第一数据的过程中,所述第一设备发现所述第一通信连接出错;所述第一设备通过第二通信连接向所述第二设备发送所述第一通信连接的错误信息,所述第二通信连接与所述第一通信连接不同,所述错误信息用于指示所述第一通信连接出错。
- 根据权利要求1所述的传输控制方法,其特征在于,所述错误信息包括所述第一数据的第一断点信息,所述第一断点信息用于指示所述第一数据中、所述第一设备与所述第二设备已经正确传输的数据的截止位置;在所述第一设备通过第二通信连接向所述第二设备发送所述第一通信连接的错误信息之后,所述方法还包括:所述第一设备与所述第二设备根据所述第一断点信息,通过所述第二通信连接传输所述第一数据。
- 根据权利要求1或2所述的传输控制方法,其特征在于,在所述第一设备通过第二通信连接向所述第二设备发送所述第一通信连接的错误信息之后,所述方法还包括:所述第一设备与所述第二设备通过所述第二通信连接,交互所述第一通信连接的连接参数;所述第一设备与所述第二设备根据所述第一通信连接的连接参数,建立所述第一通信连接。
- 根据权利要求3所述的传输控制方法,其特征在于,在所述第一设备与所述第二设备根据所述第一通信连接的连接参数,建立所述第一通信连接之后,所述方法还包括:响应于所述第一通信连接建立成功,如果所述第一数据还未传输完,所述第一设备与所述第二设备停止通过所述第二通信连接传输第一数据,并根据所述第一数据的第二断点信息,通过所述第一通信连接传输所述第一数据;其中,所述第二断点信息用于指示所述第一数据中、所述第一设备与所述第二设备通过所述第二通信连接已经正确传输的数据的截止位置。
- 根据权利要求4所述的传输控制方法,其特征在于,所述如果所述第一数据还未传输完,所述第一设备与所述第二设备停止通过所述第二通信连接传输第一数据,并根据所述第一数据的第二断点信息,通过所述第一通信连接传输所述第一数据,包括:如果所述第一数据还未传输完,且还未传输完的数据量大于预设数据量阈值,所述第一设备与所述第二设备停止通过所述第二通信连接传输第一数据,并根据所述第二断点信息通过所述第一通信连接传输所述第一数据。
- 根据权利要求1-5中任意一项所述的传输控制方法,其特征在于,在所述第一 设备通过第二通信连接向所述第二设备发送所述第一通信连接的错误信息之前,所述方法还包括:响应于发现所述第一通信连接出错,所述第一设备从一个或多个通信连接中选择出所述第二通信连接,所述第二通信连接是所述一个或多个通信连接中功耗最小和/或传输速率最快的通信连接;其中,所述一个或多个通信连接包括除所述第一通信连接之外,所述第一设备与所述第二设备已建立的所有通信连接。
- 根据权利要求6所述的传输控制方法,其特征在于,在所述第一设备从一个或多个通信连接中选择出所述第二通信连接之后,所述第一设备通过第二通信连接向所述第二设备发送所述第一通信连接的错误信息之前,所述方法还包括:所述第一设备发出第一提示信息,所述第一提示信息用于指示所述第一连接出错,并请求用户确认是否通过所述第二通信连接向所述第二设备发送所述错误信息。
- 根据权利要求1-7中任意一项所述的传输控制方法,其特征在于,在所述第一设备通过第二通信连接向所述第二设备发送所述第一通信连接的错误信息之前,所述方法还包括:响应于发现所述第一通信连接出错,所述第一设备显示第一界面,所述第一界面包括一个或多个通信连接的选择项,所述一个或多个通信连接包括除所述第一通信连接之外,所述第一设备与所述第二设备已建立的所有通信连接;响应于用户对所述一个或多个通信连接的选择项的选择操作,将用户选择的选择项目对应的通信连接确定为所述第二通信连接。
- 根据权利要求8所述的传输控制方法,其特征在于,所述第一界面中还包括第二提示信息;所述第二提示信息用于指示所述第一通信连接出错,并指示用户从所述至少两个通信连接中选择一个通信连接。
- 根据权利要求1-9中任意一项所述的传输控制方法,其特征在于,所述第一设备与所述第二设备根据所述第一断点信息,通过所述第二通信连接传输所述第一数据,包括:所述第一设备显示第二界面,所述第二界面包括第一确认信息,所述第一确认信息用于指示所述第一通信连接出错,并请求用户确认执行以下操作一或者操作二;其中,所述操作一为:重新建立所述第一通信连接,通过重新建立的第一通信连接传输所述第一数据;所述操作二为:通过所述第二通信连接传输所述第一数据;响应于用户对所述操作二的选择,所述第一设备与所述第二设备根据所述第一断点信息,通过所述第二通信连接传输所述第一数据。
- 根据权利要求10所述的传输控制方法,其特征在于,所述方法还包括:响应于用户对所述操作一的选择,所述第一设备与第二设备重新建立所述第一通信连接,在重新建立所述第一通信连接后,所述第一设备与所述第二设备根据所述第一断点信息,通过所述第一通信连接传输所述第一数据。
- 一种设备,其特征在于,所述设备是第一设备,所述设备包括:第一通信单元,用于与第二设备通过第一通信连接传输第一数据;检测单元,用于所述第一通信单元与所述第二设备通过所述第一通信连接传输所 述第一数据的过程中,发现所述第一通信连接出错;第二通信单元,用于通过第二通信连接向所述第二设备发送所述第一通信连接的错误信息,所述第二通信连接与所述第一通信连接不同,所述错误信息用于指示所述第一通信连接出错。
- 根据权利要求12所述的设备,其特征在于,所述错误信息还包括所述第一数据的第一断点信息,所述第一断点信息用于指示所述第一数据中、所述第一设备与所述第二设备已经正确传输的数据的截止位置;所述设备还包括:所述第二通信单元,还用于在通过第二通信连接向所述第二设备发送所述第一通信连接的错误信息之后,与所述第二设备根据所述第一断点信息,通过所述第二通信连接传输所述第一数据。
- 根据权利要求12或13所述的设备,其特征在于,所述第二通信单元,还用于在通过第二通信连接向所述第二设备发送所述第一通信连接的错误信息之后,与所述第二设备通过所述第二通信连接,交互所述第一通信连接的连接参数;建立单元,用于与所述第二设备根据所述第二通信单元得到的所述第一通信连接的连接参数,建立所述第一通信连接。
- 根据权利要求14所述的设备,其特征在于,所述设备还包括:控制单元,用于响应于所述建立单元成功建立所述第一通信连接,如果所述第一数据还未传输完,控制所述第二通信单元与所述第二设备停止通过所述第二通信连接传输第一数据;所述第一通信单元,用于根据所述第一数据的第二断点信息,通过所述第一通信连接传输所述第一数据;其中,所述第二断点信息用于指示所述第一数据中、所述第一设备与所述第二设备通过所述第二通信连接已经正确传输的数据的截止位置。
- 根据权利要求15所述的设备,其特征在于,所述控制单元,具体用于:如果所述第一数据还未传输完,且还未传输完的数据量大于预设数据量阈值,控制所述第二通信单元与所述第二设备停止通过所述第二通信连接传输第一数据,并根据所述第二断点信息通过所述第一通信连接传输所述第一数据。
- 根据权利要求12-16中任意一项所述的设备,其特征在于,所述设备还包括:选择单元,用于在所述第二通信单元通过第二通信连接向所述第二设备发送所述第一通信连接的错误信息之前,响应于发现所述第一通信连接出错,从一个或多个通信连接中选择出所述第二通信连接,所述第二通信连接是所述一个或多个通信连接中功耗最小和/或传输速率最快的通信连接;其中,所述一个或多个通信连接包括除所述第一通信连接之外,所述第一设备与所述第二设备已建立的所有通信连接。
- 根据权利要求16所述的设备,其特征在于,所述设备还包括:提示单元,用于在所述选择单元从一个或多个通信连接中选择出所述第二通信连接之后,所述第二通信单元通过第二通信连接向所述第二设备发送所述第一通信连接的错误信息之前,发出第一提示信息;其中,所述第一提示信息用于指示所述第一连接出错,并请求用户确认是否通过所述第二通信连接向所述第二设备发送所述错误信息。
- 根据权利要求12-18中任意一项所述的设备,其特征在于,所述设备还包括:显示单元,用于在所述第二通信单元通过第二通信连接向所述第二设备发送所述第一通信连接的错误信息之前,响应于发现所述第一通信连接出错,显示第一界面,所述第一界面包括一个或多个通信连接的选择项,所述一个或多个通信连接包括除所述第一通信连接之外,所述第一设备与所述第二设备已建立的所有通信连接;确定单元,用于响应于用户对所述一个或多个通信连接的选择项的选择操作,将用户选择的选择项目对应的通信连接确定为所述第二通信连接。
- 根据权利要求19所述的设备,其特征在于,所述显示单元显示的所述第一界面中还包括第二提示信息;所述第二提示信息用于指示所述第一通信连接出错,并指示用户从所述至少两个通信连接中选择一个通信连接。
- 根据权利要求12-20中任意一项所述的设备,其特征在于,所述设备还包括:显示单元,用于所述第一设备显示第二界面,所述第二界面包括第一确认信息,所述第一确认信息用于指示所述第一通信连接出错,并请求用户确认执行以下操作一或者操作二;所述操作一为:重新建立所述第一通信连接,通过重新建立的第一通信连接传输所述第一数据;所述操作二为:通过所述第二通信连接传输所述第一数据;所述第二通信单元,还用于响应于用户对所述显示单元显示的所述操作二的选择,所述第一设备与所述第二设备根据所述第一断点信息,通过所述第二通信连接传输所述第一数据。
- 根据权利要求21所述的设备,其特征在于,所述第一通信单元,还用于响应于用户对所述显示单元显示的所述操作一的选择,在所述建立单元建立所述第一通信连接后,与所述第二设备根据所述第一断点信息,通过所述第一通信连接传输所述第一数据。
- 一种设备,其特征在于,所述设备是第一设备,所述设备包括:处理器、存储器、第一通信接口和第二通信接口;所述第一通信接口、所述第二通信接口、所述存储器与所述处理器耦合,所述第一通信接口用于通过第一通信连接收发数据,所述第二通信接口用于通过第二通信连接收发数据,所述第二通信连接与所述第一通信连接不同,所述存储器包括非易失性存储介质,所述存储器用于存储计算机程序代码,所述计算机程序代码包括计算机指令,所述处理器执行计算机指令时,所述第一通信接口,用于通过第一通信连接传输第一数据;所述处理器,用于在所述第一通信接口与所述第二设备通过所述第一通信连接传输所述第一数据的过程中,发现所述第一通信连接出错;所述第二通信接口,用于通过所述第二通信连接向所述第二设备发送所述第一通信连接的错误信息,所述错误信息用于指示所述第一通信连接出错。
- 根据权利要求23所述的设备,其特征在于,所述错误信息还包括所述第一数据的第一断点信息,所述第一断点信息用于指示所述第一数据中、所述第一设备与所述第二设备已经正确传输的数据的截止位置;所述第二通信接口,还用于在通过第二通信连接向所述第二设备发送所述第一通 信连接的错误信息之后,与所述第二设备根据所述第一断点信息,通过所述第二通信连接传输所述第一数据。
- 根据权利要求23或24所述的设备,其特征在于,所述第二通信接口,还用于在通过第二通信连接向所述第二设备发送所述第一通信连接的错误信息之后,与所述第二设备通过所述第二通信连接,交互所述第一通信连接的连接参数;所述处理器,还用于与所述第二设备根据所述第一通信连接的连接参数,建立所述第一通信连接。
- 根据权利要求25所述的设备,其特征在于,所述处理器,还用于响应于所述第一通信连接建立成功,如果所述第一数据还未传输完,控制所述第二通信接口与所述第二设备停止通过所述第二通信连接传输第一数据;所述第一通信接口,还用于根据所述第一数据的第二断点信息,通过所述第一通信连接传输所述第一数据;其中,所述第二断点信息用于指示所述第一数据中、所述第一设备与所述第二设备通过所述第二通信连接已经正确传输的数据的截止位置。
- 根据权利要求26所述的设备,其特征在于,所述处理器,用于如果所述第一数据还未传输完,控制所述第二通信接口与所述第二设备停止通过所述第二通信连接传输第一数据,包括:所述处理器,用于如果所述第一数据还未传输完,且还未传输完的数据量大于预设数据量阈值,控制所述第二通信接口与所述第二设备停止通过所述第二通信连接传输第一数据。
- 根据权利要求23-27中任意一项所述的设备,其特征在于,所述处理器,还用于在所述第二通信接口通过第二通信连接向所述第二设备发送所述第一通信连接的错误信息之前,响应于发现所述第一通信连接出错,从一个或多个通信连接中选择出所述第二通信连接,所述第二通信连接是所述一个或多个通信连接中功耗最小和/或传输速率最快的通信连接;其中,所述一个或多个通信连接包括除所述第一通信连接之外,所述第一设备与所述第二设备已建立的所有通信连接。
- 根据权利要求28所述的设备,其特征在于,所述处理器,还用于在从一个或多个通信连接中选择出所述第二通信连接之后,所述第二通信接口通过第二通信连接向所述第二设备发送所述第一通信连接的错误信息之前,发出第一提示信息,所述第一提示信息用于指示所述第一连接出错,并请求用户确认是否通过所述第二通信连接向所述第二设备发送所述错误信息。
- 根据权利要求23-29中任意一项所述的设备,其特征在于,所述设备还包括:显示器,用于在所述第二通信接口通过第二通信连接向所述第二设备发送所述第一通信连接的错误信息之前,响应于发现所述第一通信连接出错,显示第一界面,所述第一界面包括一个或多个通信连接的选择项,所述一个或多个通信连接包括除所述第一通信连接之外,所述第一设备与所述第二设备已建立的所有通信连接;所述处理器,还用于响应于用户对所述一个或多个通信连接的选择项的选择操作,将用户选择的选择项目对应的通信连接确定为所述第二通信连接。
- 根据权利要求30所述的设备,其特征在于,所述显示器显示的所述第一界面中还包括第二提示信息;所述第二提示信息用于指示所述第一通信连接出错,并指示用户从所述至少两个通信连接中选择一个通信连接。
- 根据权利要求23-31中任意一项所述的设备,其特征在于,所述设备还包括:显示器,用于显示第二界面,所述第二界面包括第一确认信息,所述第一确认信息用于指示所述第一通信连接出错,并请求用户确认执行以下操作一或者操作二;所述操作一为:重新建立所述第一通信连接,通过重新建立的第一通信连接传输所述第一数据;所述操作二为:通过所述第二通信连接传输所述第一数据;所述第二通信接口,还用于响应于用户对所述操作二的选择,与所述第二设备根据所述第一断点信息,通过所述第二通信连接传输所述第一数据。
- 根据权利要求32所述的设备,其特征在于,所述第一通信接口,还用于响应于用户对所述操作一的选择,在所述处理器建立所述第一通信连接后,与所述第二设备根据所述第一断点信息,通过所述第一通信连接传输所述第一数据。
- 一种计算机存储介质,其特征在于,所述计算机存储介质包括计算机指令,当所述计算机指令在设备上运行时,使得所述设备执行如权利要求1-11中任意一项所述的传输控制方法。
- 一种计算机程序产品,其特征在于,当所述计算机程序产品在计算机上运行时,使得所述计算机执行如权利要求1-11中任意一项所述的传输控制方法。
Priority Applications (6)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201880079002.0A CN111448825B (zh) | 2018-06-13 | 2018-06-13 | 一种传输控制方法及设备 |
CN202110656790.9A CN113473428B (zh) | 2018-06-13 | 2018-06-13 | 一种传输控制方法及设备 |
EP18922405.8A EP3799469B1 (en) | 2018-06-13 | 2018-06-13 | Transmission control method and device |
PCT/CN2018/091149 WO2019237291A1 (zh) | 2018-06-13 | 2018-06-13 | 一种传输控制方法及设备 |
AU2018427289A AU2018427289B2 (en) | 2018-06-13 | 2018-06-13 | Transmission control method and device |
US17/251,551 US11553393B2 (en) | 2018-06-13 | 2018-06-13 | Transmission control method and device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
PCT/CN2018/091149 WO2019237291A1 (zh) | 2018-06-13 | 2018-06-13 | 一种传输控制方法及设备 |
Publications (1)
Publication Number | Publication Date |
---|---|
WO2019237291A1 true WO2019237291A1 (zh) | 2019-12-19 |
Family
ID=68841820
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
PCT/CN2018/091149 WO2019237291A1 (zh) | 2018-06-13 | 2018-06-13 | 一种传输控制方法及设备 |
Country Status (5)
Country | Link |
---|---|
US (1) | US11553393B2 (zh) |
EP (1) | EP3799469B1 (zh) |
CN (2) | CN113473428B (zh) |
AU (1) | AU2018427289B2 (zh) |
WO (1) | WO2019237291A1 (zh) |
Families Citing this family (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US11595789B2 (en) * | 2019-05-31 | 2023-02-28 | Apple Inc. | Missed communication notification |
CN113419907B (zh) * | 2021-05-26 | 2023-05-23 | 杭州安恒信息技术股份有限公司 | 操作系统探测方法、装置、电子装置和计算机设备 |
CN113824798A (zh) * | 2021-11-19 | 2021-12-21 | 浙江中控技术股份有限公司 | 断点续传方法及系统 |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN205430248U (zh) * | 2015-12-20 | 2016-08-03 | 南京邮电大学 | 支持VLC+WiFi联合接入系统的VLC接收终端 |
CN105992288A (zh) * | 2015-03-05 | 2016-10-05 | 中兴通讯股份有限公司 | 一种在切换程序中传输数据的方法、装置和系统 |
CN107105516A (zh) * | 2011-11-28 | 2017-08-29 | Sk电信有限公司 | 用于支持基于多网络的数据传输服务的设备和方法 |
Family Cites Families (30)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101626317A (zh) | 2008-07-07 | 2010-01-13 | 华为技术有限公司 | 一种链路故障恢复的方法、系统和装置 |
US8995359B2 (en) * | 2010-04-05 | 2015-03-31 | Qualcomm Incorporated | Method and apparatus to facilitate support for multi-radio coexistence |
CN102804910A (zh) | 2011-03-21 | 2012-11-28 | 华为技术有限公司 | 连接建立方法、故障处理方法、通信系统及相关设备 |
CN102315864B (zh) | 2011-09-07 | 2015-11-25 | 百度在线网络技术(北京)有限公司 | 用于移动设备点对点数据传输的方法和装置 |
US9049637B2 (en) | 2011-09-09 | 2015-06-02 | Genband Us Llc | Automatic transfer of mobile calls between voice over internet protocol (VoIP) and guaranteed service (GS) networks based on quality of service (QoS) measurements |
WO2013042920A2 (ko) * | 2011-09-19 | 2013-03-28 | 에스케이텔레콤 주식회사 | 다중 네트워크 기반 데이터 동시 전송 서비스를 지원하는 장치 및 방법 |
KR101278722B1 (ko) | 2011-12-28 | 2013-06-25 | 에스케이텔레콤 주식회사 | 이기종 네트워크 기반 데이터 동시 전송 방법 및 이에 적용되는 장치 |
KR101437371B1 (ko) | 2012-02-15 | 2014-09-03 | 에스케이텔레콤 주식회사 | 이기종 네트워크 기반 데이터 동시 전송 서비스를 지원하는 장치 |
CN103368611A (zh) * | 2012-03-27 | 2013-10-23 | 腾讯科技(深圳)有限公司 | 传输文件的方法和移动终端 |
JP6090309B2 (ja) | 2012-04-10 | 2017-03-08 | ソニー株式会社 | 通信装置、通信制御方法及びプログラム |
WO2014067053A1 (zh) | 2012-10-29 | 2014-05-08 | 华为终端有限公司 | 通信连接建立方法和终端 |
CN104730366B (zh) | 2013-12-23 | 2017-12-19 | 美的集团股份有限公司 | 用于家用电器的故障诊断与维修辅助设备 |
CN104883716A (zh) * | 2014-02-27 | 2015-09-02 | 宇龙计算机通信科技(深圳)有限公司 | 网络处理装置及网络切换的方法 |
JP2016046792A (ja) * | 2014-08-27 | 2016-04-04 | 富士通株式会社 | 移動通信装置、無線通信方法および通信制御プログラム |
US9826423B2 (en) * | 2014-12-12 | 2017-11-21 | Netgear, Inc. | Systems and methods for LTE and WLAN coexistence |
CN104581993B (zh) * | 2014-12-15 | 2019-05-03 | 华为技术有限公司 | 无线连接建立的方法、数据传输的方法以及终端 |
JP6246142B2 (ja) * | 2015-01-14 | 2017-12-13 | キヤノン株式会社 | 情報処理装置、情報処理方法及びプログラム |
CN107211242B (zh) | 2015-02-08 | 2020-10-23 | 苹果公司 | 车内无线通信 |
DE112015006863T5 (de) | 2015-08-31 | 2018-05-30 | Intel IP Corporation | Duale Konnektivität für Zuverlässigkeit |
CN205072837U (zh) * | 2015-10-14 | 2016-03-09 | 北京异度矩阵科技有限公司 | 一种智能体温监控报警系统 |
JP6724338B2 (ja) * | 2015-10-30 | 2020-07-15 | ブラザー工業株式会社 | 通信機器 |
CN106996004A (zh) | 2016-01-26 | 2017-08-01 | 青岛海尔洗衣机有限公司 | 一种智能家电控制方法及采用其的洗衣机 |
CN107371219B (zh) | 2016-05-13 | 2020-08-25 | 华为终端有限公司 | WiFi配置方法、WiFi移动终端和WiFi设备 |
CN107567109A (zh) | 2016-08-31 | 2018-01-09 | 深圳云麦科技有限公司 | 一种wifi智能硬件快速连接wifi设备的系统及方法 |
US10515318B2 (en) * | 2016-09-30 | 2019-12-24 | Fortinet, Inc. | Automated resolution of Wi-Fi connectivity issues over SMS |
CN106571989A (zh) | 2016-11-09 | 2017-04-19 | 杭州联络互动信息科技股份有限公司 | 智能移动终端控制智能家居设备的方法和装置 |
CN107018554B (zh) * | 2017-03-07 | 2020-11-06 | Oppo广东移动通信有限公司 | 一种数据传输方法、装置及智能终端 |
CN207148921U (zh) * | 2017-06-22 | 2018-03-27 | 深圳市捷顺科技实业股份有限公司 | 一种用于通过蓝牙通信的停车场的管理系统 |
CN107948959A (zh) | 2017-11-20 | 2018-04-20 | 珠海市魅族科技有限公司 | 通信控制方法及装置、计算机装置及可读存储介质 |
US10705899B2 (en) * | 2018-11-27 | 2020-07-07 | Centurylink Intellectual Property Llc | Method and system for detecting errors in local area network |
-
2018
- 2018-06-13 AU AU2018427289A patent/AU2018427289B2/en active Active
- 2018-06-13 CN CN202110656790.9A patent/CN113473428B/zh active Active
- 2018-06-13 EP EP18922405.8A patent/EP3799469B1/en active Active
- 2018-06-13 US US17/251,551 patent/US11553393B2/en active Active
- 2018-06-13 WO PCT/CN2018/091149 patent/WO2019237291A1/zh unknown
- 2018-06-13 CN CN201880079002.0A patent/CN111448825B/zh active Active
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107105516A (zh) * | 2011-11-28 | 2017-08-29 | Sk电信有限公司 | 用于支持基于多网络的数据传输服务的设备和方法 |
CN105992288A (zh) * | 2015-03-05 | 2016-10-05 | 中兴通讯股份有限公司 | 一种在切换程序中传输数据的方法、装置和系统 |
CN205430248U (zh) * | 2015-12-20 | 2016-08-03 | 南京邮电大学 | 支持VLC+WiFi联合接入系统的VLC接收终端 |
Also Published As
Publication number | Publication date |
---|---|
US20210250836A1 (en) | 2021-08-12 |
CN113473428B (zh) | 2024-01-30 |
EP3799469B1 (en) | 2023-10-04 |
EP3799469A4 (en) | 2021-06-23 |
AU2018427289B2 (en) | 2022-02-17 |
CN113473428A (zh) | 2021-10-01 |
AU2018427289A1 (en) | 2021-01-21 |
US11553393B2 (en) | 2023-01-10 |
CN111448825B (zh) | 2021-06-15 |
EP3799469A1 (en) | 2021-03-31 |
CN111448825A (zh) | 2020-07-24 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
EP3893109B1 (en) | Method and device for connecting bluetooth devices | |
JP7204792B2 (ja) | Wi-fiホットスポット接続方法および端末 | |
KR102092063B1 (ko) | 통신 서비스 수행 방법 및 장치 | |
US20200029200A1 (en) | Access method, network device, terminal device, and amf device | |
JP2021524190A (ja) | データ伝送方法、関連装置、システム及びコンピュータープログラム | |
WO2017080378A1 (zh) | 一种授权频谱辅助接入方法,网络设备及终端设备 | |
US20100330910A1 (en) | Method for transmitting and receiving data using e-field in portable terminal and apparatus thereof | |
WO2018161962A1 (zh) | 分享图像的方法、电子设备及系统 | |
WO2019184016A1 (zh) | Sim卡鉴权方法及终端 | |
WO2019140657A1 (zh) | 一种网络连接的方法、装置及终端 | |
CN112119673B (zh) | 支持多种无线通信协议的电子装置及其方法 | |
WO2018153028A1 (zh) | 一种建立无线局域网连接的方法、装置和终端 | |
CN111031471A (zh) | 一种数据传输方法、终端及基站 | |
WO2019237291A1 (zh) | 一种传输控制方法及设备 | |
WO2019178816A1 (zh) | 一种补充业务的设置方法及设备 | |
CN108540146A (zh) | 一种天线切换的方法、装置及计算机存储介质 | |
WO2017128663A1 (zh) | 移动终端及wifi控制方法、存储介质 | |
WO2019191996A1 (zh) | 一种数据传输方法及设备 | |
WO2018119789A1 (zh) | 一种连接接入点的方法及终端、管理服务器 | |
WO2024077425A1 (zh) | 移动网络感知方法、装置、存储介质、感知执行端以及感知应用功能网元 | |
WO2022213277A1 (zh) | 处理方法、设备、系统及存储介质 | |
WO2015089738A1 (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: 18922405 Country of ref document: EP Kind code of ref document: A1 |
|
NENP | Non-entry into the national phase |
Ref country code: DE |
|
ENP | Entry into the national phase |
Ref document number: 2018922405 Country of ref document: EP Effective date: 20201222 |
|
ENP | Entry into the national phase |
Ref document number: 2018427289 Country of ref document: AU Date of ref document: 20180613 Kind code of ref document: A |