Data processing method, data transmission method, readable storage medium and electronic equipment

By configuring multiple wireless communication chips in electronic devices and performing parallel data transmission, the problem of limited data transmission rate in the prior art is solved, more efficient data transmission is achieved, and user experience is improved.

CN119497058APending Publication Date: 2025-02-21HONOR DEVICE CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202311037505.0
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-08-16
Publication Date
2025-02-21

AI Technical Summary

Technical Problem

When existing electronic devices transmit data, since the operating system usually only supports one wireless communication chip, the data transmission rate is limited, especially in big data transmission scenarios, which affects the user experience.

Method used

By configuring at least two wireless communication chips in the electronic device and calling the two chips for parallel data transmission using the interface provided by the operating system, multiple communication links are established to improve the transmission speed.

Benefits of technology

The data transmission speed between electronic devices has been improved, especially in the big data transmission scenario, which significantly reduces the data transmission time and improves the user experience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119497058A_ABST
    Figure CN119497058A_ABST
Patent Text Reader

Abstract

The invention relates to the technical field of terminals, and discloses a data processing method, a data transmission method, a readable storage medium and electronic equipment. The data processing method provided by the invention is applied to first electronic equipment, and the first electronic equipment comprises a first wireless communication chip and at least one second wireless communication chip; when the data transmission service corresponding to the second electronic equipment is detected, the first electronic equipment can call the first wireless communication chip to establish communication connection with the second electronic equipment based on the first interface of the operating system, and call the second wireless communication chip to establish communication connection with the second electronic equipment through the second interface. The second electronic device and the first electronic device are both provided with two wireless transmission chips. According to the method provided by the invention, when the first electronic equipment carries out the data transmission service, the first wireless communication chip and the second wireless communication chip can be called at the same time to carry out the data transmission service. Therefore, the data transmission speed is accelerated, and the data transmission time is shortened.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of terminal technology, and in particular to a data processing method, a data transmission method, a readable storage medium and an electronic device. Background Art

[0002] With the development of terminal technology, the storage capacity of electronic devices is getting larger and larger, and more and more files are saved on electronic devices. Therefore, when users clone or save files when repairing devices, the business volume of data transmission between electronic devices is also increasing. At present, when transferring files between electronic devices, peer-to-peer (P2P) local area network technology is usually used for transmission. P2P transmission can be transmitted through wireless local area networks (WLAN), such as wireless fidelity (Wi-Fi) transmission, Bluetooth (blue tooth) transmission, ultra wide band (UWB), infrared transmission, etc.

[0003] The above-mentioned data transmission services are basically performed by corresponding applications on electronic devices (for example, computer housekeeper, machine cloning and other applications) calling corresponding wireless communication services (such as Wi-Fi services, Bluetooth services, etc.) in the operating system of the electronic device, and then starting the corresponding communication method to perform data transmission services.

[0004] However, in the wireless communication services of some operating systems (such as closed-source operating systems), usually only one wireless communication chip can be selected for data transmission services, so electronic devices are usually equipped with only one wireless communication chip. However, the transmission rate of a single wireless communication chip is limited. For transmission scenarios with large amounts of data, the data transmission time is usually long, which affects the user experience. Summary of the invention

[0005] The embodiments of the present application provide a data processing method, a data transmission method, a readable storage medium, and an electronic device.

[0006] In a first aspect, an embodiment of the present application provides a data processing method, which is applied to a first electronic device, wherein the first electronic device includes a first wireless communication chip and at least one second wireless communication chip; a data transmission service corresponding to a second electronic device is detected, wherein the second electronic device includes a third wireless communication chip and a fourth wireless communication chip; based on a first interface provided by an operating system of the first electronic device, the first wireless communication chip is called to transmit a first part of data of the data transmission service to the third wireless communication chip; based on a second interface, the second wireless communication chip is called to transmit a second part of data of the data transmission service to the fourth wireless communication chip.

[0007] It can be understood that in some embodiments of the present application, the first electronic device has a first wireless communication chip and a second wireless communication chip. In other embodiments, the first wireless communication chip can also be referred to as the main chip of the first electronic device, and the second wireless communication chip can also be referred to as a small chip of the first electronic device. The second electronic device includes a third wireless communication chip and a fourth wireless communication chip. In other embodiments, the third wireless communication chip can also be referred to as the main chip of the second electronic device, and the fourth wireless communication chip can also be referred to as a small chip of the second electronic device. The first electronic device calls the first wireless communication chip through the first interface in the closed-source operating system to establish a communication link with the third wireless communication chip of the second electronic device. At the same time, the first electronic device can also call the second wireless communication chip through the second interface to establish a communication link with the fourth wireless communication chip of the second electronic device. In other embodiments, the first interface can be, for example, an application programming interface in the operating system of the first electronic device, and the second interface can also be referred to as a calling interface hereinafter. The second interface can be, for example, a universal serial bus (USB) interface, and the first electronic device calls the second wireless communication chip through the USB interface to transmit data. Therefore, when the first electronic device performs a data transmission service, data can be transmitted in parallel through two pairs of chips, thereby improving the data transmission speed of the first electronic device.

[0008] In a possible implementation of the first aspect above, the above-mentioned data transmission service includes a machine replacement cloning service and a large data transmission service; wherein the large data transmission service includes a data transmission service exceeding a preset data volume or a data transmission service whose data transmission time exceeds a preset time.

[0009] It can be understood that in some embodiments of the present application, the first electronic device can choose whether to transmit data simultaneously through the first wireless communication chip and the second wireless communication chip according to the type of data transmission service. For example, when the data transmission service is a machine replacement cloning service or a large data transmission service, the first electronic device can call the second wireless communication chip through the second interface, so as to perform the data transmission service simultaneously through the first wireless communication chip and the second wireless communication chip. To speed up the data transmission time of the first electronic device. It can be understood that the large data transmission service can, for example, be a data transmission service with a data volume exceeding a preset data volume or a data transmission service with a data transmission time exceeding a preset time. Therefore, when the data transmission volume is large or the data transmission time is long, the first electronic device can transmit data in parallel through two wireless communication chips to improve the user experience.

[0010] In a possible implementation of the first aspect above, the first interface provided by the operating system of the first electronic device calls the first wireless communication chip to transmit the first part of data of the data transmission service to the third wireless communication chip, including: establishing a first communication link based on the first frequency and a second communication link based on the second frequency between the first wireless communication chip and the third wireless communication chip; and transmitting the first part of data of the data transmission service to the second electronic device based on the first communication link and the second communication link.

[0011] It can be understood that in some embodiments of the present application, the communication link between the first wireless communication chip and the third wireless communication chip needs to be established according to the parameters of the first wireless communication chip and the third wireless communication chip. For example, the first wireless communication chip and the third wireless communication chip both support dual-band dual-transmission, and the supported working frequency bands are both 2.4GHz working frequency band and 5GHz working frequency band, wherein the working mode of dual-band dual-transmission is described below. Then the first wireless communication chip and the third wireless communication chip can establish a first communication link according to the 5GHz working frequency band, and establish a third communication link according to the 2.4GHz working frequency band. Therefore, two communication links can be established between the first wireless communication chip and the third wireless communication chip. It can be understood that the working frequency bands supported by the first wireless communication chip and the third wireless communication chip can also be other frequency bands such as 6GHz, and no restrictions are imposed on the working frequency bands supported by the first wireless communication chip and the third wireless communication chip.

[0012] In other embodiments, if one of the first wireless communication chip and the third wireless communication chip does not support dual-band dual-transmission, the first wireless communication chip and the third wireless communication chip can only select a supported working frequency band to transmit data. For example, the first wireless communication chip and the third wireless communication chip establish a communication link to transmit data based on the 5 GHz working frequency band.

[0013] In a possible implementation of the first aspect above, the above-mentioned calling the second wireless communication chip based on the second interface to transmit the second part of the data of the data transmission service to the fourth wireless communication chip includes: establishing a third communication link based on a third frequency between the second wireless communication chip and the fourth wireless communication chip; and transmitting the second part of the data of the data transmission service to the second electronic device based on the third communication link.

[0014] It is understandable that in some embodiments of the present application, the communication link between the second wireless communication chip and the fourth wireless communication chip needs to be established according to the parameters of the second wireless communication chip and the fourth wireless communication chip. For example, one of the second wireless communication chip and the fourth wireless communication chip does not support dual-band dual-transmission, but the supported working frequency bands are all 5GHz working frequency bands. Then the second wireless communication chip and the fourth wireless communication chip can establish a third communication link based on the 5GHz working frequency band. It is understandable that the working frequency bands supported by the second wireless communication chip and the fourth wireless communication chip can also be other frequency bands such as 6GHz, and no restrictions are imposed on the working frequency bands supported by the second wireless communication chip and the fourth wireless communication chip.

[0015] It can be understood that in other embodiments, if the second wireless communication chip and the fourth wireless communication chip both support dual-band dual-transmission, and the supported working frequency bands are 2.4 GHz and 5 GHz, the second wireless communication chip and the fourth wireless communication chip still only establish the third communication link based on the 5 GHz working frequency band. Because the first wireless communication chip and the third wireless communication chip have already occupied the 2.4 GHz working frequency band, the interference between the first wireless communication chip and the second wireless communication chip using the 2.4 GHz working frequency band at the same time is relatively large, and the 5 GHz working frequency band can be divided into high frequency band and low frequency band transmission, so the first wireless communication chip and the second wireless communication chip can use the 5 GHz working frequency band to transmit signals at the same time.

[0016] In a possible implementation of the first aspect, the operating system of the first electronic device includes a closed source operating system.

[0017] In a possible implementation of the first aspect, the second interface is not provided by a closed-source operating system.

[0018] It can be understood that in some embodiments of the present application, the second interface can be, for example, a USB interface, and the first electronic device is first connected to the USB interface of the second wireless communication chip via the USB, so that the first electronic device can call the second wireless communication chip to transmit data through the USB interface. In other embodiments, the electronic device can also be connected to the second wireless communication chip through other interfaces, which will not be elaborated here.

[0019] In a second aspect, an embodiment of the present application provides a data transmission method, which is applied to a first electronic device, wherein the first electronic device includes a first wireless communication chip and at least one second wireless communication chip; and the method includes: detecting data transmission services corresponding to the second electronic device and the third electronic device; calling the first wireless communication chip based on a first interface provided by an operating system of the first electronic device to transmit data corresponding to the second electronic device in the data transmission service to the second electronic device; calling the second wireless communication chip based on a second interface to transmit data corresponding to the third electronic device in the data transmission service to the third electronic device.

[0020] It can be understood that in some embodiments of the present application, the first electronic device has a first wireless communication chip and a second wireless communication chip. Therefore, the first electronic device can call the first wireless communication chip based on the first interface to establish a communication connection with the second electronic device. And the first electronic device can also call the second wireless communication chip through the second interface to establish a communication connection with the third electronic device at the same time, so that the first electronic device can transmit data with two electronic devices at the same time. Therefore, when the first electronic device needs to transmit data with multiple electronic devices, it does not need to wait for one electronic device to complete the data transmission before transmitting data with another electronic device, thereby improving the data transmission speed of the first electronic device.

[0021] Exemplarily, the second electronic device transmits data through the third wireless transmission chip, and the third electronic device transmits data through the fourth wireless transmission chip. It can be understood that if the first wireless transmission chip and the third wireless transmission chip support dual-band dual-transmission, two communication links can be established between the first wireless communication chip and the third wireless communication chip according to the supported working frequency bands. For example, if the first wireless communication chip and the third wireless communication chip both support working in the 2.4GHz and 5GHz working frequency bands, a first communication link can be established between the first wireless communication chip and the third wireless communication chip in the 2.4GHz working frequency band, and a second communication link can be established in the 5GHz working frequency band. That is, data can be transmitted between the first electronic device and the second electronic device through two communication links.

[0022] If one of the second wireless communication chip and the fourth wireless communication chip does not support dual-band dual-transmission, the second wireless communication chip and the fourth wireless communication chip can establish a communication link according to the supported working frequency band. For example, the second wireless communication chip and the fourth wireless communication chip both support the 5GHz working frequency band, then the second wireless communication chip and the fourth wireless communication chip can establish a third communication link at 5GHz, and the first electronic device and the third electronic device can transmit data through the third communication link.

[0023] In a possible implementation of the second aspect, the operating system of the first electronic device includes a closed-source operating system; and the second interface is not provided by the closed-source operating system.

[0024] It can be understood that in some embodiments of the present application, the second interface can be, for example, a USB interface, and the first electronic device is first connected to the USB interface of the second wireless communication chip via USB, so that the first electronic device can call the second wireless communication chip to transmit data through the USB interface.

[0025] In a third aspect, an embodiment of the present application provides an electronic device, comprising: a memory for storing instructions; and at least one processor for executing instructions so that the electronic device implements the data processing method provided by the first aspect and any possible implementation of the first aspect, or the second aspect and any possible implementation of the second aspect.

[0026] In a fourth aspect, an embodiment of the present application provides a computer-readable storage medium having instructions stored thereon. When the instructions are executed on a computer, the computer executes the data processing method provided by the first aspect and any possible implementation of the first aspect, or the second aspect and any possible implementation of the second aspect.

[0027] In a fifth aspect, an embodiment of the present application provides a program product, which, when running on an electronic device, enables the electronic device to implement the data processing method provided by the first aspect and any possible implementation of the first aspect, or the second aspect and any possible implementation of the second aspect.

[0028] It should be understood that the beneficial effects of the third to fifth aspects mentioned above can be referred to the description of the first or second aspect mentioned above, and will not be repeated here. BRIEF DESCRIPTION OF THE DRAWINGS

[0029] Figure 1 A system architecture diagram of an electronic device is shown;

[0030] Figure 2 According to some embodiments of the present application, a scenario diagram of an electronic standby machine cloning service is shown;

[0031] Figure 3a According to some embodiments of the present application, a schematic diagram of a scenario of data transmission between electronic devices is shown;

[0032] Figure 3b According to some embodiments of the present application, an interactive flow chart of data transmission between electronic devices is shown. Figure 3c According to some embodiments of the present application, a system architecture diagram of an electronic device is shown;

[0033] Figure 4 According to some embodiments of the present application, a flow chart of a communication connection method for an electronic device is shown;

[0034] Figure 5 According to some embodiments of the present application, a schematic diagram of a process of establishing a Wi-Fi P2P link of an electronic device is shown;

[0035] Figure 6 According to some embodiments of the present application, a schematic diagram of a triple-link channel is shown;

[0036] Figure 7 According to some embodiments of the present application, a schematic diagram of a dual-link channel is shown;

[0037] Figure 8 According to some embodiments of the present application, a schematic structural diagram of an electronic device is shown. DETAILED DESCRIPTION

[0038] The illustrative embodiments of the present application include, but are not limited to, a data processing method, a data transmission method, a readable storage medium, and an electronic device.

[0039] In order to make the purpose, technical solutions and advantages of the embodiments of the present application clearer, the technical solutions in the embodiments of the present application will be described in detail below in conjunction with the accompanying drawings and specific implementation methods.

[0040] As mentioned above, when data transmission services are performed between electronic devices, the operating systems of some electronic devices are closed-source operating systems and usually only support one wireless communication chip for data transmission services. As a result, in transmission scenarios with large amounts of data, data transmission time is long and user experience is poor.

[0041] For example, Figure 1 A system architecture diagram of an electronic device is shown.

[0042] like Figure 1 As shown, the system architecture mainly includes: an application layer 10, a system layer 20, and a hardware layer 30.

[0043] Among them, the application layer 10 may include various installed application programs (applications, APPs), such as business applications such as computer manager 11 in a personal computer (PC). Business applications can provide capabilities such as device management, event processing, message processing, task management, progress management, and exception judgment.

[0044] The system layer 20 may include an application programming interface 21 and wireless communication services, such as a Bluetooth service 22 and a Wi-Fi service 23 .

[0045] The Bluetooth service 22 and the Wi-Fi service 23 may provide interfaces such as discovering peers and connecting.

[0046] The hardware layer 30 includes a wireless communication chip. The wireless communication chip may include, for example, a Bluetooth chip and a Wi-Fi chip, or the Bluetooth chip and the Wi-Fi chip may be integrated on one chip. For example, in an embodiment of the present application, the wireless communication chip may be a network card, wherein a Bluetooth driver 31 and a Wi-Fi driver 32 are run on a microcontroller unit (MCU) of the network card. The Bluetooth driver 31 and the Wi-Fi driver 32 are used to connect the network card to the operating system of the electronic device.

[0047] The above network card also includes a hardware abstraction layer (HAL). HAL 33 is a package of hardware drivers, providing a unified hardware capability universal interface for the operating system of the electronic device.

[0048] Next, based on the system architecture of the above electronic devices, the scenario of transmitting data between electronic devices in the embodiments of the present application is introduced. It can be understood that the electronic devices in some embodiments of the present application can be, for example, laptops, mobile phones, tablet computers and other devices capable of Wi-Fi communication.

[0049] Figure 2 According to some embodiments of the present application, a scenario diagram of an electronic spare machine cloning service is shown.

[0050] Typically, before using the device cloning service to migrate data from an old electronic device to a new electronic device, an application that supports the device cloning service, such as PC Manager 11 or a device cloning application, must be installed on the old electronic device and the new electronic device respectively.

[0051] After installing the application program that supports the device cloning service on the old electronic device and the new electronic device respectively, if the data migration process is to be performed, a communication connection needs to be established between the old electronic device and the new electronic device. It can be understood that the communication connection here can be a wired connection or a wireless connection.

[0052] In some embodiments, when both the old electronic device and the new electronic device support the installation of Computer Manager 11, the above connection process can be completed through the device replacement cloning function in Computer Manager 11.

[0053] refer to Figure 2The electronic devices in this scenario include computer 100A and computer 100B. Computer 100A is an old device and computer 100B is a new device, and a replacement cloning service is performed.

[0054] Exemplarily, when the computer manager 11 of the computer 100A and the computer 100B performs data transmission services, the wireless communication service in the system layer 20 can be called through the application programming interface 21 to perform corresponding operations. For example, the Bluetooth driver 31 is started through the Bluetooth service 21, and the Bluetooth driver 31 drives the network card through HAL33 to perform Bluetooth corresponding operations, such as device discovery and other operations.

[0055] After computer 100A is searched and found by computer 100B, computer 100A and computer manager 11 of computer 100B continue to communicate with the wireless communication service in system layer 20, perform device connection operation to establish a communication connection between computer 100B and computer 100A. Computer 100A can transmit file information or file data on the data channel corresponding to the communication connection.

[0056] In the process of establishing the above communication connection, the wireless communication service in the system layer 20 of computer 100A and computer 100B can only select one wireless communication chip for communication connection when performing the device connection operation. In addition, the operating systems of computer 100A and computer 100B are closed source, and users cannot modify the code in the operating systems of computer 100A and computer 100B. Even if computer 100A is equipped with multiple wireless communication chips, the wireless communication service will only select one wireless communication chip for communication connection at the same time. In this way, the data transmission rate between computer 100A and computer 100B is limited, and users need to wait for a long time in the scenario of large data transmission services such as machine replacement and cloning.

[0057] In order to solve the problem that data can only be transmitted through one wireless communication chip between the above-mentioned electronic devices, resulting in a low data transmission rate, the present application provides a data processing method. The electronic device may include a first wireless communication chip that can be called by a system service (such as Bluetooth service 21, Wi-Fi service 22, etc.), and at least one second wireless communication chip that can be called through an additionally set application programming interface (hereinafter referred to as the calling interface). When the application in the electronic device transmits data, it can call the first wireless communication chip through the system service to transmit part of the data, and call the second wireless communication chip through the above-mentioned calling interface to transmit another part of the data. In this way, the application in the electronic device can transmit data through the first wireless communication chip and the second wireless communication chip at the same time, which can improve the data transmission speed when the electronic device transmits data with other electronic devices.

[0058] For example, in some embodiments of the present application, the first wireless communication chip configured on the electronic device is called by the application programming interface 21 of the system layer 20 to perform the data transmission service of the electronic device. The second wireless communication chip is called by the calling interface in the electronic device system layer 20, and can undertake the data transmission service in parallel with the first wireless communication chip.

[0059] The calling interface may be a hardware interface, such as a universal serial bus (USB) interface, and a USB driver capable of identifying the USB interface may be provided on the second wireless communication chip so that the second wireless communication chip can be connected to the calling interface.

[0060] Figure 3a According to some embodiments of the present application, a schematic diagram of a scenario of data transmission between electronic devices is shown. Figure 3a As shown, the interaction scenario includes computer 100A and computer 100B. The wireless communication chip in computer 100A may include main chip A1 (as the first wireless communication chip of computer 100A) and small chip A2 (as the second wireless communication chip of computer 100A), and the wireless communication chip of computer 100B may include main chip B1 (as the first wireless communication chip of computer 100B) and small chip B2 (as the second wireless communication chip of computer 100B).

[0061] For example, during the process of switching and cloning computers 100A and 100B, computer 100A can call processor 110A through computer manager 11 to establish a first communication link between main chip A1 and main chip B1 of computer 100B, and call processor 110A through computer manager 11 to establish a second communication link between small chip A2 and small chip B2 of computer 100B. Then, computer 100A transmits a part of the data to be transmitted to computer 100B through the first communication link, and transmits another part of the data to be transmitted to computer 100B through the second communication link, thereby performing the switching and cloning service of computer 100A and computer 100B.

[0062] In other embodiments, two communication links can be established between the main chip A1 and the main chip B1, one communication link can be established between the small chip A2 and the small chip B2, and data can be transmitted between the computer 100A and the computer 100B through three communication links.

[0063] Combine the following Figure 3a The schematic diagram of a scenario of data transmission between electronic devices is shown, introducing the data transmission service between computer 100A and computer 100B.

[0064] For example, Figure 3b According to some embodiments of the present application, an interactive flow chart of data transmission between electronic devices is shown.

[0065] like Figure 3b As shown, the interaction process includes:

[0066] S301, device discovery is performed between computer 100A and computer 100B.

[0067] For example, in some embodiments of the present application, when computer 100A and computer 100B perform a machine replacement and cloning service, computer 100A can be used as a connection hotspot (e.g., a simulated hotspot (soft access point, SAP)). When computer 100B searches for the hotspot signal, it can be connected to computer 100A as a station (STA) to obtain the device information of computer 100A. Alternatively, if computer 100A and computer 100B are in the same local area network (WLAN), computer 100B can search for computer 100A and obtain the device information of computer 100A. It can be understood that if computer 100A is not searched and found by computer 100B, a prompt message "not found" can be displayed on computer 100B ( Figure 3a ), prompting the user to re-operate the device search process.

[0068] S302, a communication link is established between computer 100A and computer 100B.

[0069] Exemplarily, after computer 100B searches for computer 100A and obtains the device information of computer 100A, a communication connection can be established between computers 100A and 100B. In some embodiments, the communication connection between electronic devices can be determined based on the configuration parameters of the wireless communication chip, and the working modes corresponding to the data transmission between the wireless communication chips can include single band single concurrent (SBSC), dual band single concurrent (DBSC) and dual band dual concurrent (DBDC). Among them, single band single means that the electronic device (or the wireless communication chip described as the electronic device) only supports one working frequency band, and can only use the working frequency band for Wi-Fi connection. In other words, only the working frequency band can be used for Wi-Fi communication.

[0070] Among them, the working frequency band corresponding to the single-frequency single-transmit mode can be a 2.4GHz working frequency band, a 5GHz working frequency band, a 6GHz working frequency band, etc. (i.e., a Wi-Fi P2P communication link). Dual-frequency single-transmit means that the electronic device supports two working frequency bands, but only one of the working frequency bands can be used for Wi-Fi connection. Dual-frequency dual-transmit means that the electronic device supports two working frequency bands, and can use both working frequency bands for Wi-Fi connection at the same time. In other words, the two working frequency bands can be used for Wi-Fi communication at the same time. Among them, the working frequency band of the wireless communication chip can be 2.4GHz, 5GHz, 6GHz, etc.

[0071] In an embodiment of the present application, the wireless communication chip in computer 100A may include a main chip A1 and a small chip A2, and the wireless communication chip in computer 100B may include a main chip B1 and a small chip B2. When computer 100A and computer 100B perform a machine replacement and cloning service, the working modes of the main chip A1 and the small chip A2 on computer 100A can only transmit data according to one of the above working modes according to the chip parameter configuration. Similarly, the main chip 100B and the small chip 100B on computer 100B can only transmit data according to one of the above working modes. Exemplarily, if the main chip A1 of computer 100A and the main chip B1 of computer 100B both support DBDC, and the channel lists supported by the main chip A1 and the main chip B1 are both 2.4GHz and 5GHz working frequency bands, then the main chip A1 and the main chip B1 can establish a first communication link based on the 5GHz working frequency band, and a second communication link based on the 2.4GHz working frequency band. If the channels supported by chiplet A2 of computer 100A and chiplet B2 of computer 100B are also 2.4 GHz and 5 GHz, chiplet A2 and chiplet B2 can establish a third communication link on the 5 GHz working frequency band. Therefore, in the embodiment of the present application, data can be transmitted between computer 100A and computer 100B through the first communication link, the second communication link and the third communication link.

[0072] S303, computer 100A and computer 100B perform data transmission based on the established communication link.

[0073] For example, in some embodiments of the present application, after the communication link is established between the computer 100A and the computer 100B, the processor 110A of the computer 100A can transmit part of the data to be cloned through the first communication link and the second communication link established by the main chip A1 and the main chip B1, and transmit the other part of the data through the third communication link established by the small chip A2 and the small chip B2. Therefore, data can be transmitted simultaneously between the main chip A1 and the main chip B1, and between the small chip A2 and the small chip B2, thereby improving the data transmission speed between the computer 100A and the computer 100B.

[0074] Through this solution, when data is transmitted between electronic devices, if the amount of data transmitted exceeds the preset amount of data, or the transmission time exceeds the preset time, an additional communication connection can be established between the electronic devices through at least one second wireless communication chip. This increases the speed of data transmission between electronic devices, reduces the time of data transmission, reduces the power consumption of electronic devices, and improves the user experience.

[0075] Figure 3c According to some embodiments of the present application, a system architecture diagram of an electronic device is shown.

[0076] like Figure 3c As shown, the system architecture mainly includes: an application layer 10, a system layer 20, and a hardware layer 30.

[0077] Among them, the application layer 10 may include various installed application programs (applications, APPs), such as business applications such as the computer manager 11 of a PC. Business applications can provide capabilities such as device management, event processing, message processing, task management, progress management, and exception judgment.

[0078] In other embodiments, the application layer 10 may also be, for example, a mobile phone cloning application.

[0079] The system layer 20 may include an application programming interface 21 , wireless communication services (eg, a Bluetooth service 22 and a Wi-Fi service 23 ), and a call interface 24 .

[0080] The Bluetooth service 22 and the Wi-Fi service 23 may provide interfaces such as discovering peers and connecting.

[0081] The call interface 24 can communicate with the application program in the application layer 10 and respond to the services executed by the application program.

[0082] The hardware layer 30 includes a first wireless communication chip and a second wireless communication chip.

[0083] The first wireless communication chip may include, for example, a Bluetooth chip and a Wi-Fi chip, or the Bluetooth chip and the Wi-Fi chip may be integrated on one chip. For example, in an embodiment of the present application, the first wireless communication chip may be a network card, wherein a Bluetooth driver 31 and a Wi-Fi driver 32 are run on a microcontroller unit (MCU) of the network card. The above-mentioned Bluetooth driver 31 and Wi-Fi driver 32 are used to connect the network card to the operating system of the electronic device. It should be understood that in an embodiment of the present application, the network card is, for example, the above-mentioned first wireless communication chip, and the network card is called by the application programming interface 21 of the system layer 20 and executes related services.

[0084] The network card also includes a hardware abstraction layer HAL 33 which is a package of hardware drivers and provides a unified hardware capability universal interface for the operating system of the electronic device. The network card firewall 34 is used to help the electronic device network build a relatively isolated protection barrier between its internal and external networks to protect user data and information security.

[0085] The second wireless chip may be, for example, a small chip, which includes a USB driver 301 , a LAN driver 302 , a Bluetooth protocol stack 303 , a Wi-Fi protocol stack 304 , a small chip HAL 305 and a small chip firewall 306 .

[0086] The USB driver 301 is used to connect the USB interface on the chiplet with the call interface 24 of the system layer 20. It is understood that in other embodiments, the chiplet can also be connected to the call interface 24 of the system layer 20 through other interfaces. The LAN driver 302 can, for example, include a Bluetooth driver and a Wi-Fi driver on the chiplet. The LAN driver 302 can connect the LAN interface (such as the Bluetooth interface and the Wi-Fi interface) on the chiplet with the call interface 24 of the system layer 20.

[0087] The Bluetooth protocol stack 303 is used to define the behaviors of each electronic device communicating with each other via Bluetooth. Electronic devices use the Bluetooth protocol stack 303 to discover and use services that can be provided by electronic devices in their vicinity. The Bluetooth protocol stack 303 allows devices manufactured by different Bluetooth manufacturers to establish Bluetooth connections and transfer data to each other. The Bluetooth protocol stack 303 defines a layered data transmission architecture and various protocols to handle data transfer between two electronic devices to implement specific services.

[0088] The Wi-Fi protocol stack 304 is a software protocol stack used for communication in a wireless local area network. It consists of a series of network protocols used to manage and transmit data packets to achieve wireless communication between devices.

[0089] The chiplet HAL 305 is a package of the chiplet driver, providing a unified hardware capability universal interface for the calling interface 24 of the electronic device.

[0090] The chiplet firewall 306 is used to help the electronic device network build a relatively isolated protection barrier between its internal and external networks to protect user data and information security.

[0091] It can be understood that in some embodiments of the present application, when the above-mentioned electronic device performs data transmission services, in addition to calling the network card to execute data transmission through the application programming interface 21 of the system layer 20, it can also call the small chip and the network card to perform data transmission services in parallel through the calling interface 24, thereby improving the speed of data transmission.

[0092] Next, based on the system architecture of the above electronic devices, the scenario of transmitting data between electronic devices in the embodiments of the present application is introduced. It can be understood that the electronic devices in some embodiments of the present application can be, for example, laptops, mobile phones, tablet computers, wearable devices, etc.

[0093] Figure 4 According to some embodiments of the present application, a flowchart of a communication connection method for an electronic device is shown.

[0094] It can be understood that in some embodiments of the present application, the communication connection method of the electronic device in the present application is described by taking the case where the computer 100A and the computer 100B perform the machine replacement cloning service through the computer manager 11 using the Wi-Fi P2P technology as an example.

[0095] like Figure 4 As shown, the method includes:

[0096] 401, computer 100A and computer 100B perform low power Bluetooth scanning and discovery.

[0097] For example, a complete Wi-Fi P2P service includes three stages: Wi-Fi P2P device discovery, Wi-Fi P2P device connection, and Wi-Fi P2P device service data transmission. After the Wi-Fi P2P device connection is established, a P2P group (or also called a Wi-Fi P2P group) is formed. Within the P2P group, devices have two roles: P2P group owner (GO) and P2P group client (GC). At the same time, the protocol specification explains and restricts the Wi-Fi P2P connection method, mainly the following three points:

[0098] (1) GO devices can only connect to GC and cannot establish connections with other GO devices;

[0099] (2) GC devices can only connect to GO devices and cannot establish connections with other GO devices or GC devices;

[0100] (3) There is an upper limit on the number of GO devices that can be connected to GC devices.

[0101] In some embodiments of the present application, in order to speed up the process of establishing a Wi-Fi P2P connection, the present embodiment uses blue tooth low energy (BLE) discovery instead of Wi-Fi P2P device discovery to speed up the discovery process.

[0102] In some embodiments of the present application, the computer 100A and the computer 100B perform the BLE scanning and discovery process through the computer manager 11. For example, the computer manager 11 starts the BLE scanning and discovery functions on the network card (hereinafter referred to as the main chip) and the small chip through the application programming interface 21 and the call interface 24 respectively.

[0103] It is understood that in other embodiments, the electronic devices can also perform the discovery process of Wi-Fi P2P devices through USB connection, BR connection, near field communication (NFC) connection, Zigbee connection, Wi-Fi connection or LAN-based socket connection, etc. The embodiments of the present application are not limited here.

[0104] 402, computer 100A and computer 100B are connected and paired via low-power Bluetooth.

[0105] Exemplarily, when computer 100A scans computer 100B, BLE / Bluetooth basic rate (BR) connection and pairing can be established. It should be understood that after computer 100A and computer 100B are paired by Bluetooth, Wi-Fi P2P connection can be performed via Bluetooth.

[0106] 403, computer 100A sends a Wi-Fi P2P connection request to computer 100B.

[0107] Exemplarily, computer 100A can send a Wi-Fi P2P connection request to computer 100B based on Bluetooth communication. The connection request may include, for example, security authentication information, whether computer 100A has both a main chip and a small chip, and the configurations of the main chip and the small chip, a list of channels supported by computer 100A, the expected connection method of computer 100A (for example, computer 100A expects to connect as a GO) and service type (for example, whether it is a machine cloning service or a large data transmission service), etc.

[0108] Exemplarily, in some other implementations, computer 100B may send a Wi-Fi P2P connection request to computer 100A.

[0109] 404, computer 100A and computer 100B establish a Wi-Fi P2P connection.

[0110] Exemplarily, security authentication and exchange of P2P group information between computer 100A and computer 100B are performed based on BLE connection, and computer 100B is ultimately connected to the P2P group directly on a designated channel using a GC device, thereby achieving Wi-Fi P2P connection and pairing of computer 100A and computer 100B.

[0111] For example, in the embodiment of the present application, the service initiated by the computer manager 11 is the machine replacement cloning service, and both the computer 100A and the computer 100B have a main chip and a small chip, thereby establishing a dual-chip connection. It can be understood that the dual-chip connection can be, for example, a communication connection between the computer 100A and the computer 100B through the main chip and the small chip at the same time. The process of Wi-Fi P2P connection is described below.

[0112] In other embodiments of the present application, when a BLE connection is established between computer 100A and computer 100B to send a request to establish a Wi-Fi P2P connection, the service time can be predicted based on the current network speed of the electronic device. If the service time exceeds a preset value and both electronic devices at both ends have a main chip and a small chip, a dual-chip connection can also be established.

[0113] 405 , computer 100A and computer 100B perform data transmission based on Wi-Fi P2P connection.

[0114] Exemplarily, after the computer 100A and the computer 100B establish a Wi-Fi P2P connection, data transmission services can be performed.

[0115] It can be understood that the above-mentioned method of establishing a communication connection can enable the main chip and the small chip to undertake data transmission services in parallel when the electronic device performs large data transmission or device cloning services, thereby improving the data transmission speed, reducing the data transmission time, and bringing a good user experience.

[0116] Next, based on the above communication connection method, the process of establishing a communication link between electronic devices is further introduced.

[0117] Figure 5 According to some embodiments of the present application, a schematic diagram of a process of Wi-Fi P2P connection of an electronic device is shown.

[0118] It can be understood that in some embodiments of the present application, taking the above-mentioned computer 100B receiving the Wi-Fi P2P connection request of computer 100A as an example, the process of establishing a communication link between computer 100A and computer 100B is introduced.

[0119] like Figure 5 As shown, the process includes:

[0120] 501, receiving a full-scenario service channel selection request.

[0121] Exemplarily, after receiving the Wi-Fi P2P connection request from computer 100A, computer 100B selects the communication link for the data transmission service according to the connection request and the channels supported by the main chip and the small chip of computer 100B. For example, the working frequency bands of the main chip and the small chip of computer 100A and computer 100B can both be Wi-Fi P2P links corresponding to 2.4GHz and 5GHz. Then computer 100A and computer 100B can transmit data within the above working frequency bands.

[0122] 502 , determine whether the current service is a machine replacement cloning or a large data transmission service.

[0123] Exemplarily, the Wi-Fi P2P connection request sent by computer 100A to computer 100B also includes a service type, and computer 100B needs to determine whether the service type is a machine replacement cloning or a large data transmission service.

[0124] If the judgment result is yes, for example, the computer 100B detects that the data transmission service type is machine cloning or the transmitted data exceeds the preset data volume, the 504 process is executed to determine whether the dual-end electronic device supports dual-chip data transmission.

[0125] If the judgment result is no, for example, the computer 100B detects that the data transmission service type is not machine cloning and the transmitted data does not exceed the preset data volume, the 503 process is executed to transmit data through a single chip.

[0126] It is understandable that the data transmission volume in the machine replacement cloning service and the large data transmission service is large and the transmission time is long. Therefore, if the dual-end electronic device supports dual-chip data transmission, the data transmission speed can be accelerated, the data transmission time can be reduced, and a good user experience can be brought to the user. The above-mentioned preset data volume can be set to 500Mb, etc., and no limitation is made here.

[0127] In other embodiments, the computer 100B can also predict the data transmission time according to the data transmission service and the network speed of the dual-end electronic device. If the data transmission time exceeds the preset time, for example, 10 minutes, the computer 100B will also execute the 504 process to determine whether the dual-end electronic device supports dual-chip data transmission. No limitation is made to the preset time.

[0128] 503, data transmission via a single chip.

[0129] For example, when computer 100B confirms that the service type in the Wi-Fi P2P connection request sent by computer 100A is not a machine cloning service or a large data transmission service, it means that the data volume of this service is small, so data can be transmitted only through a single chip. The single chip can be a main chip or a small chip.

[0130] Alternatively, when computer 100B determines that computer 100A does not support dual-chip data transmission, it will also transmit data only through a single chip.

[0131] 504, determine whether the dual-end electronic device supports dual-chip data transmission.

[0132] Exemplarily, computer 100B can confirm from the Wi-Fi P2P connection request sent by computer 100A whether computer 100A supports dual-chip data transmission (for example, transmitting data in parallel through a main chip and a small chip).

[0133] If the judgment result is yes, for example, computer 100B confirms that computer 100A is equipped with dual chips and data can be transmitted through the dual chips, then execute process 505 to obtain the main chip specifications and the small chip specifications.

[0134] If the judgment result is no, for example, computer 100B confirms that computer 100A is not equipped with dual chips or cannot transmit data through dual chips, then execute 505 process to obtain the main chip specifications and the small chip specifications.

[0135] It can be understood that the above-mentioned dual chip means that the electronic device is configured with a main chip and a small chip for transmitting data.

[0136] It can be understood that there is no order between the above-mentioned process 504 and process 505. In other embodiments, the electronic device may first execute process 505 and then execute process 504.

[0137] 505, obtain the main chip specification and the small chip specification.

[0138] Exemplarily, after computer 100B determines that computer 100A supports dual-chip data transmission, it determines the specifications of the main chip and the small chip in computer 100A according to the configuration of the main chip and the small chip in the Wi-Fi P2P connection request sent by computer 100A. The specifications may be, for example, parameters of the main chip and the small chip and a list of supported channels.

[0139] 506, determine whether the main chip or the small chip of the dual-end electronic device supports dual-frequency dual-transmission.

[0140] Exemplarily, after obtaining the parameters of the main chip or the small chip, the computer 100B can determine whether the main chip and the small chip support dual-band dual-transmission.

[0141] If the judgment result is yes, for example, the main chip or chiplet of computer 100A and computer 100B supports dual-band dual-transmission, then process 507 is executed to establish a triple-link channel.

[0142] If the judgment result is no, for example, the main chip and the small chip of computer 100A and computer 100B do not support dual-band dual-transmission, then execute the 508 process to establish a dual-link channel.

[0143] 507, establish a triple-link channel.

[0144] For example, the main chips of computer 100A and computer 100B support dual-band dual-transmission. The operating frequency bands of the channel list supported by the main chips of computer 100A and computer 100B can be 2.4GHz and 5GHz. The operating frequency bands of the channel list of the small chip can also be 2.4GHz and 5GHz. Then computer 100A and computer 100B can establish a triple-link channel.

[0145] like Figure 6 As shown, the main chip of computer 100A works as SAP in the 5 GHz working frequency band, and the main chip of computer 100B works as STA in the 5 GHz working frequency band to establish link 1.

[0146] The main chip of computer 100A works as SAT in the 2.4 GHz working frequency band, and the main chip of computer 100B works as SAP in the 2.4 GHz working frequency band to establish link 2.

[0147] The small chip of computer 100A works as SAP in the 5 GHz working frequency band, and the small chip of computer 100B works as STA in the 5 GHz working frequency band to establish link 3.

[0148] Computer 100A and computer 100B thus establish three link channels for data transmission services.

[0149] It is understandable that if the small chips of computer 100A and computer 100B also support dual-band dual-transmission, theoretically there can be 4 links to transmit data, but because the main chip and the small chip are in the same 2.4GHz working frequency band, it may cause greater interference during data transmission. The 5GHz working frequency band can be divided into high-frequency band and low-frequency band transmission, so the main chip and the small chip can transmit data on the 5GHz working frequency band at the same time.

[0150] It is understood that in other embodiments, the small chips of computer 100A and computer 100B support dual-band dual-transmission, and computer 100A and computer 100B can establish a channel in the 2.4 GHz working frequency band and a channel in the 5 GHz working frequency band to transmit data through the small chip. The main chip only establishes a channel in the 5 GHz working frequency band to transmit data.

[0151] 508, establish a dual-link channel.

[0152] For example, if the main chip and the small chip of one of the computers 100A and 100B do not support dual-band dual-transmission, the computers 100A and 100B perform a dual-link connection according to the channel list supported by the main chip and the small chip.

[0153] like Figure 7 As shown, the operating frequency bands of the main chip and the small chip of 100A and computer 100B can both be 2.4GHz and 5GHz. Then the main chip of computer 100A works as SAP in the 5GHz working frequency band, and the main chip of computer 100B works as STA in the 5GHz working frequency band to establish link 1.

[0154] The small chip of computer 100A works as SAP in the 5 GHz working frequency band, and the small chip of computer 100B works as STA in the 5 GHz working frequency band to establish link 2.

[0155] Computer 100A and computer 100B thus establish two link channels for data transmission services.

[0156] It can be understood that in the above embodiment, computer 100B can determine the communication connection between computer 100B and computer 100A according to the Wi-Fi P2P connection request sent by computer 100A. In the machine replacement cloning service or large data transmission service, if both computer 100A and computer 100B support dual-chip data transmission and do not support dual-band dual-transmission, the data transmission speed can theoretically increase by 100%. Therefore, through this application, the data transmission speed between electronic devices can be increased, the data transmission time can be reduced, and a good user experience can be brought to users.

[0157] In other embodiments, since the electronic device is configured with a main chip and a small chip, the electronic device can communicate and connect with two electronic devices simultaneously through the main chip and the small chip respectively, execute data transmission services, and enhance user experience.

[0158] The electronic devices involved in some embodiments of the present invention are described in detail below.

[0159] Figure 8 According to an embodiment of the present application, a structural schematic diagram of an electronic device is shown.

[0160] like Figure 8 As shown, the electronic device may include a processor 110, an external memory interface 120, an internal memory 121, a universal serial bus (USB) interface 130, a charging management module 140, a power management module 141, a battery 142, an antenna 1, an antenna 2, a wireless communication module 160, an audio module 170, a speaker 170A, a receiver 170B, a microphone 170C, an earphone interface 170D, a sensor module 180, a button 190, a motor 191, an indicator 192, a camera 193, a display screen 194, etc.

[0161] It is to be understood that the structure illustrated in the embodiment of the present invention does not constitute a specific limitation on the electronic device. In other embodiments of the present application, the electronic device may include more or fewer components than shown in the figure, or combine certain components, or split certain components, or arrange the components differently. The components shown in the figure may be implemented in hardware, software, or a combination of software and hardware.

[0162] The processor 110 may include one or more processing units, for example, the processor 110 may include an application processor (AP), a modem processor, a graphics processor (GPU), an image signal processor (ISP), a controller, a video codec, a digital signal processor (DSP), a baseband processor, and / or a neural-network processing unit (NPU), etc. Different processing units may be independent devices or integrated into one or more processors.

[0163] The controller can generate operation control signals according to the instruction operation code and timing signal to complete the control of instruction fetching and execution.

[0164] The processor 110 may also be provided with a memory for storing instructions and data. In some embodiments, the memory in the processor 110 is a cache memory. The memory may store instructions or data that the processor 110 has just used or cyclically used. If the processor 110 needs to use the instruction or data again, it may be directly called from the memory. This avoids repeated access, reduces the waiting time of the processor 110, and thus improves the efficiency of the system.

[0165] In some embodiments, the processor 110 may include one or more interfaces. The interface may include an inter-integrated circuit (I2C) interface, an inter-integrated circuit sound (I2S) interface, a pulse code modulation (PCM) interface, a universal asynchronous receiver / transmitter (UART) interface, a mobile industry processor interface (MIPI), a general-purpose input / output (GPIO) interface, a subscriber identity module interface, and / or a universal serial bus interface, etc.

[0166] The processor 100 also includes instructions, which, when executed, enable the electronic device to implement the above-mentioned data transmission method.

[0167] The charging management module 140 is used to receive charging input from a charger, where the charger can be a wireless charger or a wired charger.

[0168] The power management module 141 is used to connect the battery 142, the charging management module 140 and the processor 110. The power management module 141 receives input from the battery 142 and / or the charging management module 140 to power the processor 110, the internal memory 121, the display screen, the camera, and the wireless communication module 160.

[0169] The wireless communication function of the electronic device can be implemented through an antenna, a wireless communication module 160, a modem processor, a baseband processor, and the like.

[0170] Antennas are used to transmit and receive electromagnetic wave signals. Antennas in electronic devices can be used to cover single or multiple communication frequency bands. Different antennas can also be reused to improve antenna utilization.

[0171] The wireless communication module 160 can provide wireless communication solutions for applications on electronic devices, including wireless local area networks (WLAN) (such as wireless fidelity (Wi-Fi) networks), bluetooth (BT), global navigation satellite system (GNSS), frequency modulation (FM), near field communication (NFC), infrared (IR), etc. The wireless communication module 160 can be one or more devices integrating at least one communication processing module. The wireless communication module 160 receives electromagnetic waves via an antenna, modulates and filters the electromagnetic wave signals, and sends the processed signals to the processor 110. The wireless communication module 160 can also receive the signal to be sent from the processor 110, modulate the frequency, amplify it, and convert it into electromagnetic waves for radiation through the antenna.

[0172] Exemplarily, in an embodiment of the present application, the wireless communication module 160 includes a first wireless communication chip and at least one second wireless communication chip. The first wireless communication chip can perform data transmission services in parallel with the second wireless communication chip to improve the data transmission speed of the electronic device.

[0173] The external memory interface 120 can be used to connect an external memory card, such as a micro SD card, to expand the storage capacity of the electronic device. The external memory card communicates with the processor 110 through the external memory interface 120 to implement a data storage function. For example, files such as music and videos can be stored in the external memory card.

[0174] The internal memory 121 can be used to store computer executable program codes, which include instructions. The internal memory 121 may include a program storage area and a data storage area. Among them, the program storage area may store an operating system, an application required for at least one function (such as a sound playback function, an image playback function, etc.), etc. The data storage area may store data created during the use of the electronic device (such as audio data, a phone book, etc.), etc. In addition, the internal memory 121 may include a high-speed random access memory, and may also include a non-volatile memory, such as at least one disk storage device, a flash memory device, a universal flash storage (UFS), etc. The processor 110 executes various functional applications and data processing of the electronic device by running instructions stored in the internal memory 121 and / or instructions stored in a memory provided in the processor.

[0175] In the accompanying drawings, some structural or method features may be shown in a specific arrangement and / or order. However, it should be understood that such a specific arrangement and / or order may not be required. Instead, in some embodiments, these features may be arranged in a manner and / or order different from that shown in the illustrative drawings. In addition, the inclusion of structural or method features in a particular figure does not mean that such features are required in all embodiments, and in some embodiments, these features may not be included or may be combined with other features.

[0176] It should be noted that the units / modules mentioned in the various device embodiments of the present application are all logical units / modules. Physically, a logical unit / module can be a physical unit / module, or a part of a physical unit / module, or can be implemented as a combination of multiple physical units / modules. The physical implementation method of these logical units / modules themselves is not the most important. The combination of functions implemented by these logical units / modules is the key to solving the technical problems proposed by the present application. In addition, in order to highlight the innovative part of the present application, the above-mentioned device embodiments of the present application do not introduce units / modules that are not closely related to solving the technical problems proposed by the present application, which does not mean that there are no other units / modules in the above-mentioned device embodiments.

[0177] It should be noted that in the examples and description of this patent, relational terms such as first and second, etc. are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "include", "comprise" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, the elements defined by the sentence "including one" do not exclude the existence of other identical elements in the process, method, article or device including the elements.

[0178] Although the present application has been illustrated and described with reference to certain preferred embodiments thereof, it will be apparent to those skilled in the art that various changes in form and details may be made therein without departing from the spirit and scope of the present application.

Claims

1. A data processing method, applied to a first electronic device, characterized in that: The first electronic device includes a first wireless communication chip and at least one second wireless communication chip; detecting a data transmission service corresponding to a second electronic device, wherein the second electronic device includes a third wireless communication chip and a fourth wireless communication chip; Invoke the first wireless communication chip to transmit a first part of the data of the data transmission service to the third wireless communication chip based on a first interface provided by the operating system of the first electronic device; The second wireless communication chip is called based on the second interface to transmit the second part of the data of the data transmission service to the fourth wireless communication chip.

2. The method according to claim 1, characterized in that The data transmission services include machine replacement cloning services and large data transmission services; The large data transmission service includes a data transmission service with a data volume exceeding a preset amount or a data transmission service with a data transmission time exceeding a preset time.

3. The method according to claim 1, characterized in that The calling, based on the first interface provided by the operating system of the first electronic device, of the first wireless communication chip to transmit the first part of the data of the data transmission service to the third wireless communication chip includes: Establishing a first communication link based on a first frequency and a second communication link based on a second frequency between the first wireless communication chip and the third wireless communication chip; A first portion of data of the data transmission service is transmitted to the second electronic device based on the first communication link and the second communication link.

4. The method according to claim 1, characterized in that: The calling the second wireless communication chip to transmit the second part of the data of the data transmission service to the fourth wireless communication chip based on the second interface includes: Establishing a third communication link based on a third frequency between the second wireless communication chip and the fourth wireless communication chip; A second portion of data of the data transmission service is transmitted to the second electronic device based on the third communication link.

5. The method according to claim 1, characterized in that The operating system of the first electronic device includes a closed source operating system.

6. The method according to claim 5, characterized in that The second interface is not provided by the closed-source operating system.

7. A data transmission method, applied to a first electronic device, characterized in that: The first electronic device includes a first wireless communication chip and at least one second wireless communication chip; and the method includes: detecting a data transmission service corresponding to the second electronic device and the third electronic device; Based on a first interface provided by an operating system of the first electronic device, calling the first wireless communication chip to transmit data corresponding to the second electronic device in the data transmission service to the second electronic device; The second wireless communication chip is called based on the second interface to transmit the data corresponding to the third electronic device in the data transmission service to the third electronic device.

8. The method according to claim 7, characterized in that The operating system of the first electronic device includes a closed-source operating system; and the second interface is not provided by the closed-source operating system.

9. An electronic device, characterized in that: include: A memory for storing instructions; At least one processor is used to execute the instructions so that the electronic device implements the data processing method described in any one of claims 1 to 6 or the data transmission method described in any one of claims 7 to 8.

10. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores instructions, and when the instructions are executed on a computer, the computer is caused to execute the data processing method according to any one of claims 1 to 6 or the data transmission method according to any one of claims 7 to 8.