Data transmission method, electronic equipment and readable storage medium

By realizing dynamic handover and management of different links in electronic devices, and using appropriate links for different data of the same APP for transmission, the problems of coarse control granularity and poor flexibility in multi-link data transmission are solved, and efficient multi-link utilization and rapid transmission of important data are achieved.

CN119946038APending Publication Date: 2025-05-06HUAWEI TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202311475432.3
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-11-06
Publication Date
2025-05-06

AI Technical Summary

Technical Problem

In multi-link data transmission, electronic devices have a coarse granularity and poor flexibility in controlling application (APP) data transmission, and cannot effectively utilize the bandwidth and reliability of multi-links.

Method used

By implementing dynamic handover and management of different links in electronic devices, appropriate links are used for transmission for different data of the same APP, specifically including pre-configuring data transmission policies and rapid forwarding of important data through cloud service networks.

Benefits of technology

It realizes stream-level data transmission control in the APP, improves the utilization rate of multiple links, ensures the rapid transmission of important data, and improves the user experience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119946038A_ABST
    Figure CN119946038A_ABST
Patent Text Reader

Abstract

The invention provides a data transmission method, electronic equipment and a readable storage medium, in the method, when first data of an application program APP is transmitted, a first link is adopted to transmit the first data. When second data of the APP is transmitted, the second link is adopted to transmit the second data, and the transmission speed of the first link is higher than that of the second link. The electronic equipment can transmit different data of the same APP by adopting different links, flow-level data transmission control in the APP is realized, the control granularity is fine, the flexibility is high, and the utilization rate of multiple links can be improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

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

[0002] With the development of communication technology, electronic devices can support multi-link access to the network. For example, electronic devices can support access to two wireless links: WiFi and long term evolution (LTE). For example, electronic devices can support access to four wireless links: WiFi 2.4G, WiFi5G, cellular 5G, and cellular 4G. Electronic devices support multi-link access to the network, which provides greater bandwidth, higher reliability, and lower latency.

[0003] Currently, in multi-link data transmission, the control granularity of electronic devices over application (APP) data transmission is coarse and the flexibility is poor. Summary of the invention

[0004] The embodiments of the present application provide a data transmission method, an electronic device, and a readable storage medium, which can use different links to send different data of the same APP, and the data transmission control granularity is fine and the flexibility is high.

[0005] In the first aspect, the embodiment of the present application provides a data transmission method, and the execution subject of the method can be an electronic device or a chip in the electronic device. The following is an explanation using an electronic device as an example. In the method, when transmitting the first data of an application APP, the electronic device can use a first link to transmit the first data, and when transmitting the second data of the APP, the electronic device can use a second link to transmit the second data, and the transmission speed of the first link is higher than that of the second link.

[0006] In the embodiment of the present application, the electronic device can use different links to transmit different data of the same APP, and achieve data transmission control at the flow level in the APP. The data transmission control has fine granularity and high flexibility, which can improve the utilization rate of multiple links.

[0007] In some embodiments, the first data is data of the APP configured in the data transmission policy. The importance of the first data is higher than that of the second data.

[0008] In this example, the first data can be regarded as important data in the APP, and the transmission of this data directly affects the user experience. The second data can be regarded as unimportant data in the APP, and the transmission of this data will not directly affect the user experience. In the embodiment of the present application, for the first data and the second data in the APP, the electronic device can select a suitable link to transmit the data, wherein the electronic device can use a first link with a fast transmission speed to transmit the first data, which can ensure that the first data with high importance in the APP is quickly transmitted, and ensure the smooth progress of the main business of the APP. In addition, the electronic device uses a second link with a relatively slow transmission speed to transmit the second data. Although the transmission speed of the second data is slow, the second data will still be transmitted, which will not directly affect the user experience, and the user will not perceive it.

[0009] In one possible implementation, a data transmission policy may be preconfigured in the electronic device. In one embodiment, in order to facilitate timely updating of the data transmission policy, the staff may configure and update the data transmission policy in the policy control center. Accordingly, the electronic device may periodically request the data transmission policy from the policy control center. The data transmission policy is used to indicate the APP applicable to the first link and the data in the APP.

[0010] In this way, when transmitting the data of the APP, the electronic device can identify whether the APP is the APP configured in the data transmission policy according to the data transmission policy. Among them, when the APP is the APP configured in the data transmission policy, the electronic device can also identify whether the data of the APP is the data of the APP configured in the data transmission policy according to the data transmission policy.

[0011] Among them, when the APP is the APP configured in the data transmission policy, and the data of the APP is the data of the APP configured in the data transmission policy, the electronic device can use the data of the APP as the first data, and the electronic device can use the first link to transmit the first data.

[0012] Among them, when the APP is the APP configured in the data transmission policy, and the data of the APP is not the data of the APP configured in the data transmission policy, the electronic device can use the data of the APP as the second data, and the electronic device can use the second link to transmit the second data.

[0013] When the APP is not an APP configured in the data transmission policy, the electronic device may use a third link to transmit data of the APP. The transmission speed of the first link is higher than that of the third link.

[0014] The first link, the second link, and the third link are introduced below:

[0015] First, the first link includes: electronic equipment, access network equipment, core network equipment, cloud service network, and the server corresponding to the APP.

[0016] In this example, when the electronic device transmits the first data, it can forward the first data to the server corresponding to the APP through the cloud service network. It should be understood that the cloud service network can realize fast forwarding of the first data, and realize that the transmission speed of the first link is greater than the transmission speed of the second link.

[0017] Secondly, the second link includes: electronic equipment, access network equipment, core network equipment, and the server corresponding to the APP. It should be understood that the second link can be regarded as a traditional link for transmitting APP data.

[0018] In this example, when the electronic device transmits the second data, the second data can be sent to the server corresponding to the APP through the access network device.

[0019] Third, the third link includes: electronic equipment, access network equipment, core network equipment, and the server corresponding to the APP. It should be understood that from the perspective of the physical device, the third link is the same as the second link, but from the perspective of the module inside the physical device, the third link is different from the second link, and the following relevant description can be referred to.

[0020] The following describes the first link, the second link, and the third link in combination with the structure of the electronic device and the structure of the cloud service network:

[0021] The electronic device comprises: the APP, a network interface management module, a virtual network card, and a data identification module. The APP sends the data of the APP to the network interface management module. The network interface management module identifies whether the APP is the APP configured in the data transmission policy.

[0022] If the APP is an APP configured in the data transmission strategy, the network interface management module sends the data of the APP to the data identification module through the virtual network card. Correspondingly, the data identification module identifies whether the data of the APP is the first data configured in the data transmission strategy.

[0023] In some embodiments, the electronic device further includes: a first multi-link scheduling module, an end-cloud protocol stack, and a physical network card.

[0024] Among them, when the APP is not an APP configured in the data transmission strategy, the network interface management module sends the data of the APP to the server corresponding to the APP through the physical network card, the access network device, and the core network device in sequence. Correspondingly, the third link may include: APP, network interface management module, physical network card, access network device, core network device, and server corresponding to the APP.

[0025] When the data of the APP is the first data, the data identification module sends the first data to the server through the first multi-link scheduling module, the end-cloud protocol stack, the physical network card, the access network device, the core network device, and the cloud service network in sequence. Correspondingly, the first link may include: APP, network interface management module, the virtual network card, the data identification module, the first multi-link scheduling module, the end-cloud protocol stack, the physical network card, the access network device, the core network device, the cloud service network, and the server corresponding to the APP.

[0026] When the data of the APP is not the first data (i.e., the second data), the data identification module sends the data of the APP to the server through the physical network card, the access network device, and the core network device in sequence. Correspondingly, the second link may include: APP, network interface management module, the virtual network card, the data identification module, the physical network card, the access network device, the core network device, and the server corresponding to the APP.

[0027] In summary, when the APP is not an APP configured in the data transmission strategy, or the data of the APP is the second data, the electronic device can quickly forward the data of the APP through the cloud service network. When the data of the APP is the first data, the electronic device can quickly forward the data of the APP through the cloud service network, which can ensure that the first data with high importance in the APP is quickly transmitted, and ensure the smooth progress of the main business of the APP.

[0028] In a possible implementation, the cloud service network includes an access point, a backbone network, and a proxy point. The access point is used to connect to an electronic device, receive the first data from the electronic device, and send the first data to the backbone network. The backbone network is used to send the first data to the proxy point. The proxy point is used to connect to a server corresponding to the APP and send the first data to the server.

[0029] In some embodiments, the first link may specifically include: APP, a network interface management module, the virtual network card, the data identification module, the first multi-link scheduling module, the end-cloud protocol stack, the physical network card, an access point, a backbone network, a proxy point, and a server corresponding to the APP.

[0030] It should be understood that the access point in the cloud service network is used to connect to the electronic device, and the electronic device needs to access the access point before forwarding the first data through the cloud service network. In the embodiment of the present application, the electronic device adopts the first link, and before transmitting the first data, it also includes: the electronic device interacts with the access control center to receive access information from the access control center, and the access information includes: information about the access point to be accessed by the electronic device. The electronic device accesses the access point according to the access information.

[0031] In a second aspect, an embodiment of the present application provides an electronic device, which may include: a processor and a memory. The memory is used to store computer executable program code, and the program code includes instructions; when the processor executes the instructions, the instructions cause the electronic device to execute the method in the first aspect.

[0032] In a third aspect, an embodiment of the present application provides an electronic device, which may include a unit, a module or a circuit for executing the method provided in the first aspect above.

[0033] In a fourth aspect, an embodiment of the present application provides a computer program product comprising instructions, which, when executed on a computer, enables the computer to execute the method in the first aspect.

[0034] In a fifth aspect, an embodiment of the present application provides a computer-readable storage medium, wherein instructions are stored in the computer-readable storage medium, and when the computer-readable storage medium is run on a computer, the computer executes the method in the first aspect above.

[0035] In a sixth aspect, an embodiment of the present application provides a chip, comprising a processor and a communication interface, wherein the processor utilizes the communication interface to execute the method in the first aspect above.

[0036] The beneficial effects of the possible implementation methods of the second to sixth aspects mentioned above can be referred to the beneficial effects brought about by the first aspect mentioned above, and will not be elaborated here. BRIEF DESCRIPTION OF THE DRAWINGS

[0037] Figure 1 A schematic diagram of using multiple links to transmit data for an electronic device;

[0038] Figure 2 A schematic diagram of a system architecture applicable to the data transmission method provided in an embodiment of the present application;

[0039] Figure 3 Another schematic diagram of a system architecture applicable to the data transmission method provided in an embodiment of the present application;

[0040] Figure 4 A schematic diagram of the structure of an electronic device provided in an embodiment of the present application;

[0041] Figure 5 Another schematic diagram of a system architecture applicable to the data transmission method provided in an embodiment of the present application;

[0042] Figure 6 Another schematic diagram of a system architecture applicable to the data transmission method provided in an embodiment of the present application;

[0043] Figure 7 Another schematic diagram of a system architecture applicable to the data transmission method provided in an embodiment of the present application;

[0044] Figure 8 A flowchart of an embodiment of a data transmission method provided in an embodiment of the present application;

[0045] Fig. 9 A flowchart of another embodiment of the data transmission method provided in the embodiment of the present application;

[0046] Fig.10 A flowchart of another embodiment of the data transmission method provided in the embodiment of the present application;

[0047] Fig.11 A flowchart of another embodiment of the data transmission method provided in the embodiment of the present application;

[0048] Fig.12 A schematic diagram of the structure of an electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION

[0049] With the development of communication technology, electronic devices can support multi-link access to the network. For example, electronic devices can support access to two wireless links: WiFi and long term evolution (LTE). For example, electronic devices can support access to four wireless links: WiFi 2.4G, WiFi5G, cellular 5G, and cellular 4G. Electronic devices support multi-link access to the network, and multi-link communication will provide greater bandwidth, higher reliability, and lower latency.

[0050] In some embodiments, a multipath transmission control protocol (MPTCP) or a multipath user datagram protocol (MPUDP) may be configured in the electronic device. MPTCP and MPUDP specify multi-link switching rules and load balancing rules for data transmission. Among them, the multi-link switching rule stipulates that the electronic device can switch between multiple links to transmit application data. The load balancing rule stipulates that the electronic device can use multiple links to transmit data simultaneously, which can improve the utilization rate of the link bandwidth.

[0051] Figure 1 A schematic diagram of using multiple links to transmit data for electronic devices. Figure 1 Taking the example of an electronic device supporting access to two wireless links, WiFi and LTE, MPTCP can be pre-configured in the first APP of the electronic device and the server corresponding to the first APP. When the electronic device and the server corresponding to the first APP exchange data of the first APP, the two can exchange data of the first APP based on the provisions of the MPTCP. It should be understood that the first APP can be a third-party APP installed in the electronic device.

[0052] It should be understood that the data transmission method provided in the embodiment of the present application is not only applicable to third-party APPs in electronic devices, but can also be applied to system applications in electronic devices, etc. The embodiment of the present application does not limit this, and the following description will be given using APP as an example.

[0053] At present, electronic devices use multi-link to transmit APP data, which requires the multi-link data transmission protocol to be configured in advance in the APP and the server corresponding to the APP, which is highly complex. In addition, when electronic devices use multi-link to transmit APP data, the control granularity of application data transmission is coarse and the flexibility is poor.

[0054] For example, taking the APP as a game APP, an access point (AP) is installed in the living room, and the electronic device can access the network through WiFi through the AP. In addition, the electronic device can also access the cellular network. When the user uses the electronic device to play games in the living room, the WiFi network signal is strong, and the electronic device can use the WiFi link to transmit the data of the game APP. When the user moves to the room, the WiFi network signal becomes worse. For example, when the WiFi network signal quality is less than the first threshold, the electronic device can use the WiFi link and the cellular link at the same time, and use the redundant mode to transmit the data of the game APP.

[0055] Among them, the data of game apps may include but are not limited to: game streaming data, heartbeat messages, bullet screen data, etc. In the current multi-link data transmission, electronic devices can use WiFi links, or WiFi links and cellular links to transmit the data of the app. The data transmission control granularity is coarse and the flexibility is poor. The following is a specific example to illustrate the reasons for the coarse granularity and poor flexibility of the current multi-link data transmission control:

[0056] Taking game apps as an example, when the user moves from the living room to the room, the electronic device can use both WiFi links and cellular links to transmit the data of the game apps in a redundant mode. In the data of game apps, game stream data is the main data. When the user moves from the living room to the room, the WiFi network signal deteriorates. If the electronic device does not use the cellular link to transmit the game stream data in time, it will directly affect the user experience. For example, the user will see the game interface freeze on the electronic device. However, for unimportant data such as heartbeat messages and bullet screen data, when the user moves from the living room to the room, the WiFi network signal deteriorates. If the electronic device still uses the WiFi link to transmit heartbeat messages, bullet screen data and other data, the heartbeat messages, bullet screen data and other data will be delayed in arrival, and the user will eventually see the bullet screen on the electronic device, and the server corresponding to the game app will also receive the heartbeat message from the electronic device. These unimportant data will not directly affect the user experience.

[0057] However, at present, for data of different importance of the same APP, electronic devices use the same link (such as WiFi link or cellular link) to transmit the data of the APP. For example, when the user is in the living room, the electronic device uses the WiFi link to transmit the data of the game APP. When the user moves from the living room to the room, the electronic device uses the WiFi link and the cellular link to transmit the data of the game APP. At present, for different data of the same APP, electronic devices do not distinguish between the links to transmit different data of the APP, and the data management granularity is coarse and the flexibility is poor. For example, when the user moves from the living room to the room, the electronic device uses heartbeat messages, barrage data and other data, but the delay of these data does not affect the user experience, and it will also occupy the bandwidth of the cellular link.

[0058] Based on this, in the scenario of multi-link data transmission, how to reasonably use multi-link data transmission is crucial. The embodiment of the present application provides a data transmission method, which can use appropriate links to transmit data for different data of the same APP, so as to achieve data transmission control at the flow level in the APP, with fine control granularity and high flexibility, and can improve the utilization rate of multi-links.

[0059] It should be understood that the electronic device in the embodiment of the present application is a device that supports multi-link access, and the electronic device can be called user equipment (UE), terminal, etc. For example, the electronic device can be a mobile phone, a portable android device (PAD tablet), a personal digital assistant (PDA), a handheld device with a wireless communication function, a computing device, a vehicle-mounted device or a wearable device, a virtual reality (VR) terminal device, an augmented reality (AR) terminal device, a wireless terminal in industrial control, a wireless terminal in a smart home, etc. The form of the electronic device is not specifically limited in the embodiment of the present application.

[0060] Before introducing the data transmission method provided in the embodiment of the present application, the system architecture applicable to the data transmission method provided in the embodiment of the present application is first introduced:

[0061] Figure 2 A schematic diagram of a system architecture applicable to the data transmission method provided in the embodiment of the present application. Figure 2 The system architecture may include: electronic device 21, access network device 22, core network device 23, cloud service network 24, and server 25.

[0062] In some embodiments, the system architecture may include a plurality of electronic devices, Figure 2 An electronic device 21 is taken as an example for explanation.

[0063] The access network device 22 is used to assist the electronic device 21 in accessing the network.

[0064] In some embodiments, there may be at least two access network devices 22. Exemplarily, the access network devices 22 may include, but are not limited to: base stations, access points (APs) of WiFi networks, next-generation base stations (collectively referred to as next-generation radio access network nodes (NG-RAN nodes), where the next-generation base stations include new air interface base stations (NR nodeBs, gNBs), new-generation evolved base stations (NG-eNBs), central units (CUs) and distributed units (DUs) separated gNBs, etc.), transmission receive points (TRPs), transmission points (TPs) or other nodes.

[0065] For example, Figure 2 In the example, the access network device 22 includes: AP, base station 1, and base station 2. It is understandable that the electronic device 21 can access the network through any one of the AP, base station 1, and base station 2. In the multi-link data transmission scenario, the electronic device 21 can access the core network device 23 through the AP, access the core network device 23 through the base station 1, and access the core network device 23 through the base station 2. In other words, the electronic device 21 can achieve WiFi access through the AP, the electronic device can achieve cellular network access through the base station 1, and the electronic device can achieve cellular network access through the base station 2.

[0066] In some embodiments, the core network device 23 may include a management device and a gateway device. The management device may be used for device registration, security authentication, mobility management, and location management of the electronic device 21. The gateway device may be used to establish a channel with the electronic device 21, and forward data packets between the electronic device 21 and the data network on the channel. The data network may include network devices (such as servers, routers, and other devices), and the data network is used to provide a variety of data service services for the electronic device 21. The embodiment of the present application does not limit the specific structure of the core network device 23.

[0067] The server 25 may be a server corresponding to the APP installed in the electronic device 21. Figure 2 A server is used as an example for explanation.

[0068] In some embodiments, when the electronic device 21 sends APP data to the server 25, the electronic device 21 can send the APP data to the server 25 through the access network device 22 and the core network device 23 in sequence.

[0069] In the embodiment of the present application, a cloud service network 24 is additionally provided, and the cloud service network 24 can quickly send the data of the APP to the server 25. Specifically, the electronic device 21 can send the data of the APP to the cloud service network 24 through the access network device 22 and the core network device 23, and the cloud service network 24 can quickly send the data of the APP to the server 25.

[0070] In summary, the embodiments of the present application can provide two links for sending APP data, wherein the nodes in one link include "electronic device 21, access network device 22, core network device 23, and server 25", and the nodes in the other link include "electronic device 21, access network device 22, core network device 23, cloud service network 24, and server 25".

[0071] In some embodiments, the data of the APP can be divided into first data and second data. The first data can be regarded as important data in the APP, and the transmission of this data directly affects the user experience, such as game streaming data in game APPs. The second data can be regarded as unimportant data in the APP, and the transmission of this data will not directly affect the user experience, such as heartbeat messages and bullet screen data in game APPs.

[0072] In the embodiment of the present application, for the first data and the second data in the APP, the electronic device can select a suitable link to transmit the data. Figure 2 In the embodiment of the present application, for the first data in the APP, the electronic device can use the cloud service network 24 to quickly forward the first data to the server 25. Among them, the electronic device 21 can be used to send the first data of the APP to the cloud service network 24, and the cloud service network 24 is used to receive the first data from the electronic device 21 and send the first data to the server 25 corresponding to the APP of the electronic device 21. Among them, the cloud service network 24 can realize the rapid forwarding of the first data.

[0073] For the second data in the APP, the electronic device 21 can use the access network device 22 and the core network device 23 to transmit the second data to the server 25. Among them, the electronic device 21 can send the second data to the access network device 22, the access network device 22 can send the second data to the core network device 23, and the core network device 23 can send the second data to the server 25.

[0074] Among them, the transmission speed of the first data is greater than the transmission speed of the second data. In the embodiment of the present application, because the first data with high importance can be quickly forwarded to the server 25 via the cloud service network 24, for example, when the WiFi link quality is poor, it can still be guaranteed that the first data can quickly reach the server 25 to ensure the smooth progress of the business. For the second data with low importance, the electronic device 21 can use the original transmission link to send it to the server 25, so that when the WiFi link quality is poor, these data will be delayed in arriving at the server 25, but it does not affect the user experience. Among them, the original transmission link can be "electronic device 21, access network device 22, core network device 23, and server 25".

[0075] The following describes the principle by which the cloud service network 24 can achieve rapid data forwarding:

[0076] Reference Figure 2In some embodiments, the cloud service network 24 may include: an access point 241, a backbone network 242, and a proxy point 243. The components in the cloud service network 24 may be implemented in hardware, software, or a combination of software and hardware. In some embodiments, the access point 241, the backbone network 242, and the proxy point 243 may be deployed on one physical device, or on different physical devices, which is not limited in the embodiments of the present application. In some embodiments, at least one access point 241 may be deployed in one physical device.

[0077] The access point 241 is used to connect to the electronic device 21. The electronic device 21 can access the access point 241 through the access network device 22 and the core network device 23, so as to send the first data to the cloud service network 24.

[0078] The backbone network 242 can be used to realize fast forwarding of the first data. The backbone network 242 can quickly forward the first data to the proxy point 243. In some embodiments, the backbone network 242 is composed of multiple backbone acceleration points.

[0079] The proxy point 243 is used to connect to the server 25. The proxy point 243 receives the first data from the backbone network 242 and can send the first data to the server 25.

[0080] It should be understood that the access point in the following embodiments refers to the access point 241 in the cloud service network 24. The “electronic device accessing the access point” described in the following embodiments can be understood as: the electronic device 21 can access the access point 241 through the access network device 22 and the core network device 23.

[0081] In the prior art, MPTCP or MPUDP can be configured in the APP and the server corresponding to the APP. Each APP needs to be pre-configured when using multi-link data transmission, which is highly complex. In the embodiments of the present application, in order to achieve the purpose that the electronic device can use different links to transmit the first data and the second data in the APP, and in order to avoid the problem of high complexity caused by configuring the data transmission strategy in the APP, in some embodiments, the staff can pre-configure the data transmission strategy on the cloud side, so that the electronic device can obtain the data transmission strategy from the cloud side, and then the electronic device can transmit the APP data according to the data transmission strategy, without the need for pre-configuration in the APP, which can reduce complexity.

[0082] Figure 3 Another schematic diagram of a system architecture applicable to the data transmission method provided in the embodiment of the present application. Figure 3The system architecture may include: electronic device 21, access network device 22, core network device 23, cloud service network 24, server 25, policy control center 26, and access control center 27.

[0083] The policy control center 26 is used to manage the data transmission policy. The data transmission policy can be used to indicate the transmission link of the APP data. In some embodiments, the staff can pre-configure the data transmission policy in the policy control center 26. The electronic device 21 can obtain the data transmission policy from the policy control center 26, and then the electronic device 21 can transmit the APP data according to the data transmission policy.

[0084] Among them, the advantages of configuring the data transmission policy in the policy control center 26 are: on the one hand, it does not need to be configured in the APP, which can reduce complexity. On the other hand, it is convenient to update the data transmission policy. For example, the staff can configure the updated data transmission policy in the policy control center 26, and the electronic device 21 can obtain the updated data transmission policy from the policy control center 26, and then the electronic device 21 can use the updated data transmission policy to transmit the data of the APP, which can ensure that the data transmission policy used by the electronic device 21 is the latest data transmission policy.

[0085] In some embodiments, the data transmission strategy may include: an APP list, and a data flow matching rule of the APP. Among them, the APP list may include the identification of the APP that supports multi-link data transmission. The identification of the APP can be used to distinguish different APPs. The identification of the APP can be, for example, the name, icon and other information of the APP. The data flow matching rules of the APP may include, but are not limited to: IP address, port, message content, hash value, etc. Among them, the data flow matching rules of the APP are used to indicate: the electronic device 21 sends the data of the APP that conforms to the message content to the corresponding IP address through the corresponding port through the cloud service network 24.

[0086] In the data flow matching rules of the APP, the IP address can be understood as: the IP address of the device used to interact with the electronic device 21 for the data of the APP, such as the IP address of the server corresponding to the APP. The port can be: the port in the electronic device 21 used to interact with the server for the data of the APP. The message content is used to indicate the first data of the APP, and the electronic device 21 can identify the first data of the APP based on the message content. For the first data, the electronic device 21 can quickly forward the first data to the server 25 through the cloud service network 24.

[0087] The Hash value is used to indicate the first data. The electronic device 21 can calculate the Hash value of the APP data or a certain segment of the APP data and compare it with the Hash value in the data flow matching rule of the APP. If the two are consistent, the electronic device 21 can determine that the APP data is the first data. If they are inconsistent, the electronic device 21 can determine that the APP data is the second data.

[0088] In some embodiments, the data transmission policy is used to indicate the APP that transmits data through the cloud service network 24 and the data in the APP.

[0089] The access control center 27 is used to assist the electronic device 21 in accessing the access point 241 .

[0090] In some embodiments, the cloud service network 24, the policy control center 26, and the access control center 27 may be deployed on one physical device, or on different physical devices. Figure 3 In the example, the policy control center 26 and the access control center 27 are taken as servers. The embodiments of the present application do not limit the specific forms of the policy control center 26 and the access control center 27.

[0091] Taking the example of the access point 241 and the proxy point 243 being deployed on different physical devices, in some embodiments, at least one access point 241 may be deployed in each city, and one proxy point 243 may be deployed in several cities. Exemplarily, taking city A, city B, and city C as examples, at least one access point 241 may be deployed in each city, and one proxy point 243 may be deployed for city A, city B, and city C. Among them, taking city A as an example, the electronic device 21 in city A may access the access point 241 deployed in city A, and the access point 241 may quickly forward the data of the APP from the electronic device 21 to the proxy point 243, and the proxy point 243 may transmit the data of the APP to the server 25. Among them, the proxy point 243 may be the proxy point deployed in city A, city B, and city C accordingly.

[0092] In some embodiments, at least one access point may be deployed on a physical device. Exemplarily, take the deployment of three access points on a physical device as an example, and the three access points are access point 1, access point 2, and access point 3. In the embodiment of the present application, take the electronic device 21 supporting the access of three wireless links of WiFi, cellular 1, and cellular 2 as an example. Among them, the electronic device 21 can access access point 1 through the WiFi network, the electronic device 21 can access access point 2 through the cellular 1 network, and the electronic device 21 can access access point 3 through the cellular 2 network. In some embodiments, the access point 1, access point 2, and access point 3 can also be deployed on different physical devices. Similarly, the electronic device 21 can access access point 1 through the WiFi network, the electronic device 21 can access access point 2 through the cellular 1 network, and the electronic device 21 can access access point 3 through the cellular 2 network.

[0093] When the electronic device 21 selects to access an access point, in some embodiments, the electronic device 21 may select to access a nearby access point. If there are multiple nearby access points (the multiple access points may be deployed in the same physical device or in different physical devices), the electronic device 21 may select any access point to access.

[0094] In some embodiments, at least one proxy point may be deployed on a physical device, and one proxy point may correspond to one server, or multiple proxy points may correspond to one server, which may vary depending on the deployment settings. For example, an APP or an application package (application package, APK) is set to correspond to one proxy point, and the one proxy point may correspond to one server. For example, a service flow in an APP is set to correspond to one proxy point, because an APP contains multiple service flows, and multiple proxy points may correspond to one server.

[0095] Similarly, the electronic device 21 can select a proxy point. For example, when setting an APP or an APK to correspond to a proxy point, the electronic device 21 can select the proxy point corresponding to the APP (or APK) when sending the data of the APP (or APK). For example, when setting a service flow in an APP to correspond to a proxy point, the electronic device 21 can select the proxy point corresponding to the service flow according to the service flow to be sent.

[0096] Figure 4 A schematic diagram of the structure of an electronic device provided in an embodiment of the present application. Figure 4 The software system of electronic equipment can adopt a layered architecture, which can divide the software system of electronic equipment into several layers. Each layer has a clear role and division of labor, and the layers communicate through software interfaces.

[0097] In one embodiment, the software system of the electronic device can be divided into three layers, namely, the application layer (applications), the application framework layer (application framework), and the kernel layer (kernel). The embodiments of the present application do not limit the layering of the software structure of the electronic device. The modules included in each layer in the following embodiments are the modules involved in the embodiments of the present application. The modules included in each layer below do not constitute a limitation on the structure of the electronic device, and the level of module deployment (example description) does not constitute a limitation on the structure of the electronic device. In one embodiment, Figure 4 The modules shown in can be deployed individually, or several modules can be deployed together. Figure 4 The division of modules in is an example. In one embodiment, Figure 4 The names of the modules shown in are examples.

[0098] Understandably, Figure 4 The structure shown 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 some components, or split some 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.

[0099] The application layer may include a series of application packages, and the application layer runs the application by calling the application programming interface (API) provided by the application framework layer. Figure 4 , Figure 4 In the description, an application layer including APP1, APP2, ..., and APPN is taken as an example.

[0100] The application framework layer provides API and programming framework for applications in the application layer. The application framework layer includes some predefined functions. For example, the application framework layer may include a window manager, content provider, view system, phone manager, resource manager, notification manager, etc.

[0101] In some embodiments, reference Figure 4 The application framework layer may also include: a network interface management module, a virtual network card management module, a first access control module, and a first policy management module.

[0102] The kernel layer is a layer between hardware and software. The kernel layer is used to drive the hardware to make the hardware work. Exemplarily, the kernel layer at least includes display driver, camera driver, audio driver, sensor driver, motor driver, etc., which is not limited in the embodiments of the present application.

[0103] Reference Figure 4 In an embodiment of the present application, the kernel layer may include: a virtual network card, a data identification module, a first multi-link scheduling module, and an end-cloud protocol stack.

[0104] Among them, the network interface management module is used to adapt the network interface for the APP according to the network configuration of the APP. Exemplarily, when the network configuration of the APP is "default network access", the network interface management module can bind the APP to the virtual network card. Exemplarily, when the network configuration of the APP is "query available network", the network interface management module can feedback the virtual network card to the APP and bind the APP to the virtual network card. It should be understood that the network interface management module binds the APP to the virtual network card, which can be understood as: when transmitting data from the APP, the network interface management module can transfer the data from the APP to the virtual network card, and the virtual network card continues to transmit the data of the APP. Exemplarily, when the network configuration of the APP is "binding non-virtual network card", the network interface management module can feedback a binding failure message to the APP, that is, the APP cannot use the virtual network card to transmit the data of the APP. For an APP that is not bound to a virtual network card, when transmitting data from the APP, the network interface management module can transmit the data of the APP to the default physical network card, and the default physical network card transmits the data of the APP to the server corresponding to the APP.

[0105] At present, when an electronic device switches a link to transmit APP data, it is essentially switching a physical network card. The switching of the physical network card will cause the network input / output (IO) to restart, and there will be a delay in data transmission. In the embodiment of the present application, the network interface management module can bind the APP to the virtual network card. When the electronic device switches the link, it can be achieved by switching the virtual network card, which can shield the delay caused by the switching of the physical network card.

[0106] The virtual network card management module is used to manage the virtual network card. The virtual network card and the virtual network card management module can provide network access services for the APP. Among them, the virtual network card is a network card with the system always-on attribute. Only when all the physical network cards in the electronic device are offline (down), the virtual network card will be down.

[0107] The first policy management module is used to connect to the policy control center. The first policy management module can establish a policy plane connection with the policy control center to enable the first policy management module to obtain the data transmission policy from the policy control center. In some embodiments, when the electronic device is powered on and initialized, the first policy management module can establish a policy plane connection with the policy control center to achieve policy plane interaction. The interaction of the policy plane between the first policy management module and the policy control center can refer to the relevant description in the following embodiments.

[0108] Among them, after the first policy management module obtains the data transmission policy from the policy control center, the first policy management module can configure the data transmission policy in the virtual network card management module, the network interface management module, and the data identification module, so as to assist in the binding management and control of the APP and the virtual network card, as well as data identification, data interception and forwarding control, etc.

[0109] In some embodiments, when the network interface management module receives data from an APP, the network interface management module can identify whether the APP exists in the APP list based on the data transmission strategy. When the APP exists in the APP list, the network interface management module can determine that the data of the APP can be quickly forwarded via the cloud service network, and the network interface management module can transfer the data of the APP to the virtual network card. When the APP does not exist in the APP list, the network interface management module can determine that the data of the APP cannot be quickly forwarded via the cloud service network, and the network interface management module can transfer the data of the APP to the default physical network card, and the default physical network card transmits the data of the APP to the server.

[0110] The first access control module is used to connect to the access control center. The first access control module can establish a control plane connection with the access control center to assist the electronic device in accessing the access point in the cloud service network. The process of the electronic device accessing the access point may include: nearby access, identity authentication, and key negotiation, etc., which can refer to the relevant description in the following embodiments.

[0111] In addition, the first access control module can also obtain access information and configure the access information in the first multi-link scheduling module and the end-cloud protocol stack to achieve multi-link transmission of APP data. The access information may include but is not limited to: the IP address, port, and key of the access point.

[0112] The data identification module may include a data transmission policy configured by the first policy management module. When the data identification module receives the data of the APP, the data identification module can identify the data of the APP according to the data transmission policy to identify whether the data of the APP is the first data or the second data. Among them, when the data of the APP is the first data, the data identification module can intercept the first data and transmit it to the first multi-link scheduling module, and the first multi-link scheduling module realizes the fast forwarding of the first data. When the first multi-link scheduling module receives the first data, the first multi-link scheduling module can quickly forward the first data to the server through the end-cloud protocol stack, the physical network card, and the cloud service network. When the data of the APP is the second data, the data identification module can transmit the second data to the default physical network card, and the physical network card transmits the second data to the server.

[0113] The first multi-link scheduling module is used to process the APP data to be sent and the received data according to a preset algorithm. In some embodiments, the preset algorithm may include but is not limited to: a multi-link scheduling algorithm, a data receiving algorithm, and a data sending algorithm.

[0114] The multi-link scheduling algorithm is used to select a physical network card for multi-link multiplexing data transmission and reception based on link parameters. Exemplary link parameters may include, but are not limited to: link received signal strength indicator (RSSI), link reference signal receiving power (RSRP), link signal to interference plus noise ratio (SINR), link modulation and coding scheme (MCS), number of retransmissions, bit error rate, packet loss rate, etc.

[0115] The data receiving algorithm and the data sending algorithm may include, for example, a multipath mode. The multipath mode may include, but is not limited to, an aggregation mode, a redundant mode, and the like. Among them, when the data of the APP transmitted by the electronic device has a low latency requirement, for example, the data of the APP is call audio, the electronic device may adopt an aggregation mode, and when the data transmitted by the electronic device has a high throughput mode, for example, the data of the APP is video data, the electronic device may adopt a redundant mode. Among them, the aggregation mode can be understood as: multiple links can transmit the data of the APP at the same time, and the data transmitted by each link is different, and the data on the multiple links can be aggregated to obtain the data of the APP. The redundant mode can be understood as: multiple links can transmit the data of the APP at the same time, and the data transmitted by each link is the same, and the data on the multiple links can be obtained after deduplication.

[0116] The end-cloud protocol stack is used to carry the multi-link data transmission protocol and to assist in realizing multi-link data transmission.

[0117] In some embodiments, the electronic device may further include a hardware layer, and the hardware layer may include at least one physical network card. Figure 4 , Figure 4 In the example, the hardware layer includes physical network card 1, physical network card 2, and physical network card N. For example, if the electronic device supports access to two wireless links, WiFi and cellular, the WiFi network can correspond to at least one physical network card, and the cellular network can correspond to at least one physical network card.

[0118] Figure 5 Another schematic diagram of a system architecture applicable to the data transmission method provided in an embodiment of the present application. Figure 5 The structure of the electronic equipment in can refer to Figure 4 The following is combined with the description in Figure 5 , details the structure of the cloud service network 24, the policy control center 26, and the access control center 27. It should be understood that Figure 5 The access network equipment 22 and the core network equipment 23 are not shown.

[0119] Reference Figure 5 The policy control center 26 may include a second policy management module. The second policy management module is used to manage the data transmission policy in the policy control center 26, and the second policy management module is also used to establish a policy plane connection with the first policy management module, interact with the first policy management module, and realize the transmission of the data transmission policy.

[0120] The access control center 27 may include a second access control module. The second access control module is configured to establish a control plane connection with the first access control module and interact with the first access control module to enable the electronic device to access the access point 241 .

[0121] The access point 241 may include a second multi-link scheduling module. The second multi-link scheduling module is used to process the data of the APP according to a preset algorithm. In some embodiments, a preset algorithm may be pre-configured in the second multi-link scheduling module, and the preset algorithm may include but is not limited to: a multi-link scheduling algorithm, a data receiving algorithm, and a data sending algorithm, which can refer to the description in the above embodiment.

[0122] In some embodiments, the access point 241 is also configured with an end-cloud protocol stack, which is used to interact with an end-cloud protocol stack in an electronic device to achieve multi-link data transmission.

[0123] In some embodiments, the proxy point 243 in the cloud service network 24 may include proxy logic, which is used to implement the transmission of APP data. In some embodiments, the proxy logic may include but is not limited to: transmission control protocol (TCP) or user datagram protocol (UDP).

[0124] Combine the following Figure 5 Taking APP1 and APP2 as examples, this article introduces the process of electronic devices using different links to transmit APP data:

[0125] Exemplarily, in the data transmission strategy, the APP list includes APP1 but does not include APP2. That is to say, the data of APP1 can be transmitted using the link that is quickly forwarded by the cloud service network 24, and the data of APP2 cannot be transmitted using the link that is quickly forwarded by the cloud service network 24, but is transmitted to the server corresponding to APP2 by the default physical network card. In addition, the data flow matching rules of APP1 specify the message content, IP address, port, hash value, etc. that can be quickly forwarded by the cloud service network 24. Exemplarily, for the data of APP1, the message content in the data flow matching rules of APP1 includes the first data but does not include the second data, that is to say, the first data of APP1 can be transmitted using the link that is quickly forwarded by the cloud service network 24, and the second data of APP1 cannot be transmitted using the link that is quickly forwarded by the cloud service network 24, but is transmitted to the server corresponding to APP1 by the default physical network card.

[0126] Reference Figure 5 , Figure 5 Three different line types are used to represent the transmission paths of the first data, the second data, and the data of APP2 of APP1. Among them, because APP2 is not included in the APP list, when the network interface management module receives the data of APP2, it can transmit the data of APP2 to the default physical network card, and the default physical network card transmits the data of APP2 to the server corresponding to APP2. Correspondingly, the transmission path of APP2 data goes through: network interface management module, physical network card, access network device, core network device, and the server corresponding to APP2 in sequence.

[0127] Because APP1 is included in the APP list, and because the network interface management module can transmit the data of APP1 to the virtual network card when receiving the data of APP1, the virtual network card can transmit the data of APP1 to the data identification module. The data identification module can identify the data of APP1 as the first data or the second data according to the data transmission strategy. Among them, for the first data of APP1, the data identification module can transmit the first data to the first multi-link scheduling module, and the first multi-link scheduling module can transmit the first data to the physical network card, and the physical network card transmits the first data to the access point 241 of the cloud service network 24. The access point 241 can quickly forward the first data to the proxy point 243 through the backbone network 242, and the proxy point 243 can send the first data to the server corresponding to APP1.

[0128] In this example, the transmission path of the first data of APP1 goes through: network interface management module, virtual network card, data identification module, first multi-link scheduling module, end-cloud protocol stack, physical network card, access network equipment, core network equipment, cloud service network 24 (access point 241, backbone network 242, and proxy point 243), and the server corresponding to APP1.

[0129] For the second data of APP1, the data identification module can transmit the second data to the physical network card, and the physical network card transmits the second data to the server corresponding to APP1. Accordingly, the transmission path of the second data of APP1 goes through: network interface management module, virtual network card, data identification module, physical network card, access network device, core network device, and server corresponding to APP1.

[0130] In order to better understand the data transmission method provided in the embodiment of the present application, the configuration process of the data transmission strategy and the process of the electronic device accessing the access point are described below:

[0131] First, the configuration process of data transmission strategy

[0132] The configuration of the data transmission policy is completed by the interaction between the electronic device and the policy control center, specifically, by the interaction between the first policy management module and the second policy management module.

[0133] Second, the process of electronic devices accessing the access point

[0134] The electronic device accesses the access point in the cloud service network through the interaction between the electronic device and the access control center, specifically, through the interaction between the first access control module and the second access control module.

[0135] Reference Figure 6, exemplarily, the electronic device can support 4 types of link access networks, namely network 1, network 2, network 3, and network 4. For example, network 1 can be a WiFi network, network 2 can be a cellular network 1, network 3 can be a cellular network 2, and network 4 can be a Bluetooth network. The embodiment of the present application does not limit the number and type of links supported by the electronic device.

[0136] After the electronic device is turned on, for example, the electronic device can establish a policy plane connection with the policy control center through network 1 to obtain a data transmission policy from the policy control center. For example, the electronic device can establish a control plane connection with the access control center through network 1 to obtain access information from the access control center to prepare for accessing the access point. In addition, for example, the electronic device can also establish a data plane connection with the access point through network 1, network 2, and network 3 to transmit APP data.

[0137] In some embodiments, reference Figure 7 , the data transmission interface between the electronic device and the policy control center can be used as interface 1, the data transmission interface between the electronic device and the access control center can be used as interface 2, the data transmission interface between the electronic device and the cloud service network can be used as interface 3, and the data transmission interface between the cloud service network and the server can be used as interface 4. In some embodiments, the hypertext transfer protocol secure (HTTPS) can be configured in interface 1 and interface 2, UDP can be configured in interface 3, and TCP or UDP can be configured in interface 4. Among them, the interface can transmit data using the protocol therein. Exemplarily, the data transmitted by interface 1 includes data transmission policy, the data transmitted by interface 2 includes access information, and the data transmitted by interface 3 and interface 4 includes APP data. It should be understood that Figure 7 Access points, backbone networks, and proxy points in the cloud service network are not shown.

[0138] Combine the following Figure 8 , which details the configuration process of data transmission strategies and the process of connecting electronic devices to access points. Figure 8 The data transmission method provided in the embodiment of the present application may include: Step 1, start control of the cloud network communication on the end side. Step 2, pre-preparation on the control side. Step 3, obtain authentication data on the end side. Step 4, data transmission strategy configuration. Step 5, access configuration, and electronic equipment access to the access point. Step 6, update the data transmission strategy and access information. It should be understood that Figure 8 This is an example of a process for configuring a data transmission strategy and a process for an electronic device to access an access point. In one embodiment, Figure 8 Some of the steps shown in are optional steps, and the steps can be combined into one step for implementation.

[0139] There is no order distinction between step 4 and step 5, and they can be executed simultaneously. The specific implementation process of step 1 to step 6 can refer to Figure 8 As shown:

[0140] S801, after the electronic device is turned on, the cloud network communication is initialized and the configuration parameters are managed.

[0141] After the electronic device is turned on, the cloud-network communication can be initialized and the attribute switch of the cloud-network communication can be determined. Among them, when the attribute switch of the cloud-network communication is off, it indicates that the cloud-network communication service is terminated, and the electronic device does not need to perform subsequent steps. When the attribute switch of the cloud-network communication is on, the electronic device can start the cloud-network communication. It should be understood that cloud-network communication can be understood as: the interaction between electronic devices and policy control centers, access control centers, etc., to realize the transmission of data of the same APP using different links.

[0142] Management configuration parameters can be understood as: loading end-side preset parameters, token server parameters, policy control center parameters, and access control center parameters. Among them, the end-side preset parameters may include but are not limited to: the model and version of the electronic device, the authentication method of the cloud network interaction command, and the certificate. Token server parameters may include, for example, the domain name of the token server. Policy control center parameters may include, for example, the domain name of the policy 2 control center. Access control center parameters may include, for example, the domain name of the access control center.

[0143] It should be understood that step 1 may include S801.

[0144] S802: Configure a root certificate and a data transmission policy in a policy control center.

[0145] The root certificate is used to verify the identity of the electronic device, and the data transmission strategy can refer to the description in the above embodiment.

[0146] It should be understood that S802 is a configuration operation performed in advance by the staff in the policy control center, and there is no restriction on the order of S801.

[0147] S803: Configure a master key (MK) in the access control center.

[0148] MK is used to encrypt data transmitted from the access control center to the electronic device.

[0149] In some embodiments, the proximity access policy can be configured in the access point control center, and the service signature key in the access point control center can be updated regularly. Among them, the access point control center is used to manage access points. The proximity access policy can be understood as: the rules for electronic devices to access the access point nearby. The service signature key is used to sign the data of the APP to ensure the security of data transmission.

[0150] In this example, the access point control center may synchronize the service signature key with the access control center and the access point.

[0151] In some embodiments, the access control center may also configure a nearby access policy, and periodically update the service signature key in the access point control center. In this way, the access control center can determine the nearest access point of the electronic device, send access information to the electronic device, and enable the electronic device to access the access point. In this example, the access control center can synchronize the service signature key with the access point, and refer to S804-S805.

[0152] S804: Configure the nearest access policy in the access control center.

[0153] It should be understood that S803-S804 are configuration operations performed in advance by the staff in the access control center, and there is no sequence restriction with S801 and S802.

[0154] S805: The access control center synchronizes the service signature key with the access point.

[0155] It should be understood that step 2 may include S802-S805.

[0156] S806, the electronic device obtains a certificate chain.

[0157] The certificate chain is used to verify the identity of the electronic device when the electronic device interacts with the policy control center and the access control center, enabling the policy control center and the access control center to determine whether the electronic device supports interaction with them.

[0158] In some embodiments, the electronic device may include a keystore system. For each APP, the APP may request a certificate chain from the keystore system. In some embodiments, the certificate chain of each APP may be different.

[0159] S807, the electronic device negotiates a first encryption channel with the token server based on the certificate chain.

[0160] The token server is used to issue a token to the electronic device. The token is used to verify the identity of the electronic device and enable the policy control center and the access control center to determine whether to synchronize information to the electronic device. The information may be, for example, data transmission policy, access information, etc. The first encrypted channel is used to transmit the token.

[0161] S808, the electronic device applies for a token from the token server.

[0162] S809, the token server sends a token to the electronic device.

[0163] In some embodiments, the authentication data on the end side may include: a certificate chain of the electronic device, and a token.

[0164] In some embodiments, S807-S809 are optional steps. In this example, the authentication data on the terminal side may include: a certificate chain of the electronic device. It should be understood that Figure 8 The dotted line represents the token server, and S807-S809 are optional steps.

[0165] In some embodiments, the authentication data on the terminal side may also be: other information in addition to the certificate chain and token. In the embodiments of the present application, the certificate chain and token are used as examples for explanation.

[0166] It should be understood that step 3 may include S806, or S806-S809.

[0167] In some embodiments, when the electronic device fails to apply for a token, S807-S809 may be repeatedly executed so that the electronic device obtains a token.

[0168] S810, electronic device access policy control center.

[0169] The electronic device can access the domain name of the policy control center. The domain name system (DNS) in the electronic device can resolve the IP address of the nearest policy control center. The electronic device can access the policy control center through the IP address of the policy control center.

[0170] S811, the policy control center verifies the electronic device.

[0171] In some embodiments, the policy control center can verify the electronic device by verifying the authentication data of the electronic device. This embodiment of the present application does not describe this process in detail.

[0172] S812, when the verification is passed, the policy control center sends the data transmission policy to the electronic device.

[0173] In some embodiments, the electronic device can negotiate with the policy control center based on the token to establish a second encrypted channel. The second encrypted channel is used to transmit the data transmission policy, which can ensure the transmission security of the data transmission policy.

[0174] In the embodiment of the present application, when the electronic device passes the verification, the policy control center can send the data transmission policy to the electronic device through the second encrypted channel.

[0175] It should be understood that step 4 may include S810 - S812 .

[0176] S813, the electronic device accesses the access control center.

[0177] The electronic device can access the domain name of the access control center, the DNS in the electronic device can resolve the IP address of the nearest access control center, and the electronic device can access the access control center through the IP address of the access control center.

[0178] S814, the access control center verifies the electronic device.

[0179] In some embodiments, the access control center may verify the electronic device by verifying the authentication data of the electronic device, and this embodiment of the present application does not describe this process in detail.

[0180] S815, when the verification is passed, the access control center determines to match the electronic device to the nearest access point according to the IP address database.

[0181] The IP address library may include at least one access point, and the access control center may match the electronic device to the nearest access point according to the IP address.

[0182] S816: The access control center sends access information to the electronic device.

[0183] The access information includes: information of the nearest access point determined by the access control center. Exemplarily, the access information may include: the IP address of the access point, the service signature key, and the validity period of the service signature key.

[0184] S817, the electronic device accesses the access point according to the access information.

[0185] It should be understood that step 5 may include S813-S817.

[0186] It should be understood that after the electronic device is connected to the access point, the preparation is ready, and the electronic device can transmit the APP data based on the data transmission strategy. The specific transmission process can be referred to Figure 10-11 Description in the embodiments of the present invention.

[0187] In some embodiments, the data transmission strategy and the access network may be updated. In order to facilitate the electronic device to obtain the latest data transmission strategy and to enable the electronic device to access the nearest access point, the electronic device may further execute S818:

[0188] S818, the electronic device periodically updates the data transmission strategy and updates the access point.

[0189] When the data transmission policy is updated, the staff can configure a new data transmission policy in the policy control center. The electronic device can periodically access the policy control center to determine whether the data transmission policy is updated to obtain the latest data transmission policy. Alternatively, after the staff configures a new data transmission policy in the policy control center, the policy control center can send an update prompt to the electronic device, and the electronic device can obtain the latest data transmission policy from the policy control center based on the update prompt.

[0190] In some embodiments, for example, the period for the electronic device to periodically access the policy control center may be 120 minutes.

[0191] In some embodiments, the electronic device can access the policy control center each time the screen is turned on after the screen is off.

[0192] In some embodiments, as the electronic device moves, the access point to which the electronic device accesses may change. The electronic device may periodically execute S813 so that the access control center can match the electronic device to the nearest access point. In some embodiments, for example, the period of the electronic device periodically accessing the policy control center may be 120 minutes. In some embodiments, the electronic device may access the access control center when the screen is turned on after each screen-off.

[0193] In the embodiment of the present application, on the one hand, the data transmission policy can be configured in the policy control center in advance, and the APP does not need to be adapted. After the electronic device is turned on, the data transmission policy can be obtained from the policy control center, which avoids the high complexity of configuring the data transmission policy in the APP of the electronic device. In addition, it can also facilitate the update of the data transmission policy, and the electronic device can obtain the latest data transmission policy in time. On the other hand, after the electronic device is turned on, all preparations can be done. The preparations may include: establishing a policy plane connection with the policy control center, establishing a control plane connection with the access control center, and establishing a data plane connection with the access point. In this way, when the electronic device interacts with the server to exchange APP data, the first packet can carry a data message, and the data plane does not need to rely on multiple handshake negotiations, which meets the concept of 0 round trip time (0RTT) and improves the APP data transmission efficiency. Among them, the first packet can be understood as the first data packet.

[0194] Fig. 9 A flowchart of another embodiment of the data transmission method provided in the embodiment of the present application. Fig. 9 The pre-configuration process of the electronic device after it is turned on is introduced in detail, and the process of the electronic device transmitting APP data is roughly introduced. The process of the electronic device transmitting APP data can be referred to Figure 10-11 Detailed description in:

[0195] S901, electronic equipment is turned on.

[0196] S902, the electronic device initializes cloud network communication.

[0197] S903, the electronic device detects whether the attribute switch of the cloud network communication is turned on. If not, execute S904, and if so, execute S905.

[0198] S904, the electronic device does not start the mechanism for quickly forwarding APP data.

[0199] It should be understood that when the attribute switch of cloud network communication is turned off, the electronic device may not start the data transmission method provided in the embodiment of the present application, but adopt the method in the current prior art to transmit the data of the APP. The mechanism of fast forwarding the data of the APP can be understood as: fast forwarding the data of the APP to the server via the cloud service network.

[0200] S905, electronic equipment management configuration parameters.

[0201] S901 - S905 may refer to the description of S801 .

[0202] S906, when a token is stored in the electronic device, check whether the token is within the validity period. If yes, execute S913, if not, execute S907.

[0203] The electronic device also obtained a token when it was powered on last time. Therefore, after the electronic device is powered on this time, if the token is stored in the electronic device, the electronic device can detect whether the token is within the validity period. If the token is within the validity period, the electronic device can directly use the token. If the token is not within the validity period, the electronic device can reapply for a token.

[0204] S907, token server interaction channel initialization.

[0205] S908, the token server verifies the authentication data of the electronic device based on the interactive channel.

[0206] S909, when the verification is passed, the electronic device and the token server establish a first encryption channel.

[0207] S910, the token server sends a token to the electronic device through a first encryption channel.

[0208] When the token server fails to obtain the token, S912 may be executed.

[0209] S911, token server interaction channel deinitialization.

[0210] Deinitialization of the interactive channel can be understood as: releasing the interactive channel.

[0211] S912, the token server starts the round-robin retry mechanism.

[0212] It should be understood that after the token server executes S912, it can return to execute S907 to re-send the token to the electronic device.

[0213] S913, the electronic device starts information synchronization.

[0214] Information synchronization may include: the electronic device obtaining a data transmission policy from a policy control center, and obtaining access information from an access control center.

[0215] S914: The policy control center initializes the interaction channel.

[0216] S915, the policy control center verifies the authentication data of the electronic device based on the interactive channel.

[0217] S916, when the verification is passed, the policy control center sends the data transmission policy to the electronic device.

[0218] S917: The policy control center initializes the interaction channel.

[0219] S918, the access control center initializes the interaction channel.

[0220] S919, the access control center verifies the authentication data of the electronic device based on the interactive channel.

[0221] S920: When the verification is successful, the access control center sends access information to the electronic device.

[0222] S921: The access control center initializes the interaction channel.

[0223] It should be understood that there is no order restriction for S914-S917 and S918-S921, and both can be executed simultaneously.

[0224] Among them, after S914-S917, you can also execute:

[0225] S922, the electronic device detects whether the data transmission strategy fails to be synchronized. If so, execute S923, if not, execute S928.

[0226] S923, the electronic device detects whether the token of the electronic device is invalid. If so, return to execute S907, if not, execute S924.

[0227] S924, the electronic device starts a data transmission strategy retry training mechanism.

[0228] It should be understood that after S924 , the execution may return to S914 - S917 .

[0229] Among them, after S918-S921, you can also execute:

[0230] S925, the electronic device detects whether the access information synchronization fails. If so, execute S926, if not, execute S929.

[0231] S926, the electronic device detects whether the token of the electronic device is invalid. If so, return to execute S907, if not, execute S918.

[0232] S927, the electronic device starts the access information retry training mechanism.

[0233] It should be understood that after S927 , the execution may return to S918 - S921 .

[0234] S928, the electronic device configures the data transmission strategy in the virtual network card management module, the network interface management module, and the data identification module.

[0235] S929, the electronic device configures the access information in the first multi-link scheduling module and the end-cloud protocol stack.

[0236] S930, the electronic device periodically updates the data transmission strategy.

[0237] S931, the electronic device periodically updates access information.

[0238] After the electronic device obtains the data transmission strategy and access information, it can start transmitting the APP data, which may include:

[0239] S932, the electronic device starts the data transmission strategy, preset algorithm, etc.

[0240] S933, the electronic device identifies the first data and the second data of the APP according to the data transmission strategy, and uses different links to transmit the first data and the second data.

[0241] Among them, when the electronic device transmits the data of the APP, it can carry the data message in the first packet, trigger the heartbeat message detection mechanism, and the abnormal event detection mechanism. In some embodiments, the heartbeat message detection mechanism can be understood as: the electronic device and the access point can periodically exchange heartbeat messages to sense whether the other party is online. The abnormal event detection mechanism can be used to detect the following situations: for example, the heartbeat message has no response within a preset time, the heartbeat detection fails, or the access control center is abnormal.

[0242] In some embodiments, when an abnormal event is detected, the electronic device can close the link for quickly forwarding the APP data and use the original link to transmit the APP data.

[0243] In the embodiment of the present application, after the electronic device is ready, the electronic device can transmit the data of the APP according to the data transmission strategy, which can be referred to as Fig.10 Description in . Fig.10 A flowchart of another embodiment of the data transmission method provided in the embodiment of the present application. Fig.10 , the data transmission method provided in the embodiment of the present application may include:

[0244] S1001, when transmitting APP data, the electronic device identifies whether the APP is an APP configured in the data transmission policy. If so, execute S1002, if not, execute S1005.

[0245] The data transmission policy includes an APP list. When the electronic device transmits APP data, the electronic device can identify whether the APP is an APP configured in the data transmission policy based on the data transmission policy.

[0246] S1002, according to the data transmission rule, identify whether the data of the APP is the first data. If so, execute S1003, if not, execute S1004.

[0247] When the APP is an APP configured in the data transmission policy, in the embodiment of the present application, the data of the APP needs to be further identified, and different links are used for transmission for different data in the APP. Among them, the electronic device can identify whether the data of the APP is the data of the APP specified in the data transmission policy.

[0248] Among them, the data transmission strategy includes the data flow matching rule of the APP, and the data flow matching rule of the APP is used to indicate the first data in the APP. Specifically, the electronic device can identify whether the data of the APP is the same as the message content according to the message content in the data flow matching rule of the APP. If they are the same, the electronic device can determine that the data of the APP is the first data; if they are not the same, the electronic device can determine that the data of the APP is the second data.

[0249] S1003, using the first link to transmit APP data.

[0250] The first link is: quickly forwarding the APP data to the server corresponding to the APP through the cloud service network. Among them, the first link goes through: electronic equipment, cloud service network, and the server corresponding to the APP in sequence. For details, refer to Figure 5 The first link goes through: the network interface management module of the electronic device, the virtual network card, the data identification module, the first multi-link scheduling module, the end-cloud protocol stack, the physical network card, the access network device, the core network device, the cloud service network (access point, backbone network, and proxy point), and the server corresponding to the APP.

[0251] S1004, using the second link to transmit APP data, the transmission speed of the first link is higher than the transmission speed of the second link.

[0252] The second link is: the default physical network card transmits the APP data to the server corresponding to the APP. The second link goes through: electronic equipment, server. For details, refer to Figure 5 The second link goes through: the network interface management module of the electronic device, the virtual network card, the data identification module, the physical network card, the access network device, the core network device, and the server corresponding to the APP.

[0253] S1005, using the third link to transmit the APP data, the transmission speed of the first link is higher than the transmission speed of the third link.

[0254] The third link is: the default physical network card transmits the APP data to the server corresponding to the APP. The third link goes through: electronic equipment, server. For details, refer to Figure 5 Unlike the second link, the third link goes through: the network interface management module of the electronic device, the physical network card, the access network device, the core network device, and the server corresponding to the APP.

[0255] Because the cloud service network can quickly forward the APP data to the server corresponding to the APP, the first link has a higher transmission speed than the second link and the third link.

[0256] In the embodiment of the present application, the electronic device can use different links to transmit different data of the same APP, and achieve flow-level data transmission control in the APP, with fine control granularity and high flexibility, which can improve the utilization rate of multiple links.

[0257] Exemplarily, take the example of an electronic device transmitting data of a game APP, and take the game APP as an APP configured in the data transmission strategy. When the electronic device is in the living room, the WiFi network signal is strong, and the electronic device can use the WiFi link to transmit the data of the game APP, which may include game stream data, heartbeat messages, barrage data, etc. Specifically, for game stream data as the first data, the electronic device can use the first link, and the cloud service network will quickly forward the game stream data to the server. For heartbeat messages, barrage data, etc. as the second data, the electronic device can use the second link to transmit to the server via the default physical network card.

[0258] In addition, in an embodiment of the present application, when the user moves to the room, the WiFi network signal deteriorates. Compared with the prior art, the embodiment of the present application sets an advance threshold, which is a second threshold, and the second threshold is greater than the first threshold. It should be understood that the first threshold is a threshold used to detect the quality of WiFi network signals in the prior art. Among them, when the electronic device detects that the quality of the WiFi network signal is less than or equal to the second threshold, it can start the cellular network and use the redundant mode to transmit the data of the game APP. Exemplarily, the electronic device can use the WiFi network to transmit the data of the game APP, and use the cellular network to transmit the data of the game APP. The embodiment of the present application does not limit the redundancy of the data of the game APP transmitted by the cellular network, that is, the duplication of the data of the game APP transmitted by the WiFi network. Among them, when the WiFi network transmits the data of the game APP, the electronic device can use the first link to transmit the first data, and use the second link to transmit the second data. Similarly, when the cellular network transmits the data of the game APP, the electronic device can use the first link to transmit the first data, and use the second link to transmit the second data.

[0259] In addition, when electronic devices currently establish a link, they establish a link from the APP to the physical network card, and the data of the APP is transmitted by this link. Exemplarily, the electronic device can establish a link from the APP to the WiFi physical network card to obtain a WiFi link. When the user is in the living room, the electronic device uses the WiFi link to transmit the data of the game APP. When the user moves to the room, the electronic device will establish a link from the APP to the cellular physical network card, obtain a cellular link, and then use the WiFi link and the cellular link to transmit the data of the game APP. Among them, the APP will perceive the establishment and switching process of the link, and the APP needs to adapt to the link establishment process, which is highly complex.

[0260] In the present application, refer to Figure 5 As described in , the different links for transmitting APP data are identified and determined by the network interface management module or the data identification module. The APP is unaware of this and does not need to be adapted in the APP, which reduces complexity.

[0261] Above Fig.10 The embodiment shown in the figure introduces the process of sending APP data by the electronic device. Fig.11 The present invention introduces the process of an electronic device receiving data from a server. Fig.11 A flowchart of another embodiment of the data transmission method provided in the embodiment of the present application. Fig.11 , the data transmission method provided in the embodiment of the present application may include:

[0262] S1101, the electronic device receives data from the server.

[0263] S1102: When the data is transmitted via the first link, the electronic device reports the data to the APP using the fourth link.

[0264] S1103: When the data is transmitted via the second link, the electronic device reports the data to the APP using the fifth link.

[0265] S1104: When the data is transmitted via the second link, the electronic device reports the data to the APP using the sixth link.

[0266] After the electronic device sends the APP data to the server, the server can feed back the corresponding data to the electronic device. Among them, when the server receives data from the default physical network card, the server will also send data to the default physical network card when sending data to the electronic device. When the server receives data from the cloud service network, the server will also send data to the cloud service network when sending data to the electronic device. Correspondingly, the cloud service network receives data from the server and can feed back to the electronic device through the original link. For example, the cloud service network can send data to the electronic device. It should be understood that the original link refers to the link that transmits APP data from the electronic device to the server.

[0267] Among them, for data transmitted via the first link, the electronic device can use the fourth link to report the data to the APP. The fourth link goes through: physical network card, end-cloud protocol stack, first multi-link scheduling module, data identification module, virtual network card, network interface management module, and APP in sequence. Among them, for data transmitted via the second link, the electronic device can use the fifth link to report the data to the APP. The fifth link can go through: physical network card, data identification module, virtual network card, network interface management module, and APP in sequence. Among them, for data transmitted via the third link, the electronic device can use the sixth link to report the data to the APP. The sixth link can go through: physical network card, network interface management module, and APP in sequence.

[0268] In the embodiment of the present application, when the electronic device receives data from the server, the electronic device can feed the data back to the APP according to the original link based on the link for transmitting the data.

[0269] It should be noted that the data involved in this application (including but not limited to data used for analysis, stored data, displayed data, etc.) are all information and data authorized by the user or fully authorized by all parties, and the collection, use and processing of relevant data must comply with relevant laws, regulations and standards of relevant countries and regions, and provide corresponding operation entrances for users to choose to authorize or refuse.

[0270] In one embodiment, the present application also provides an electronic device, referring to Fig.12 , the electronic device may include: a processor 1201 (such as a CPU), and a memory 1202. The memory 1202 may include a high-speed random access memory (RAM), and may also include a non-volatile memory (NVM), such as at least one disk memory. The memory 1202 may store various instructions for completing various processing functions and implementing the method steps of the present application.

[0271] Optionally, the electronic device involved in the present application may further include: a power supply 1203, a communication bus 1204 and a communication port 1205. The above-mentioned communication port 1205 is used to realize the connection and communication between the electronic device and other peripherals. In the embodiment of the present application, the memory 1202 is used to store computer executable program code, and the program code includes instructions; when the processor 1201 executes the instruction, the instruction causes the processor 1201 of the electronic device to perform the action in the above-mentioned method embodiment, and its implementation principle and technical effect are similar, which will not be repeated here.

[0272] It should be noted that the modules or components described in the above embodiments may be one or more integrated circuits configured to implement the above methods, such as one or more application specific integrated circuits (ASICs), or one or more digital signal processors (DSPs), or one or more field programmable gate arrays (FPGAs). For another example, when a module above is implemented in the form of a processing element scheduling program code, the processing element may be a general-purpose processor, such as a central processing unit (CPU) or other processors that can call program codes, such as a controller. For another example, these modules may be integrated together and implemented in the form of a system-on-a-chip (SOC).

[0273] In the above embodiments, it can be implemented in whole or in part by software, hardware, firmware or any combination thereof. When implemented using software, it can be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions. When loading and executing computer program instructions on a computer, the process or function according to the embodiment of the present application is generated in whole or in part. The computer can be a general-purpose computer, a special-purpose computer, a computer network, or other programmable devices. The computer instructions can be stored in a computer-readable storage medium, or transmitted from one computer-readable storage medium to another computer-readable storage medium. For example, the computer instructions can be transmitted from a website site, a computer, a server or a data center by wired (e.g., coaxial cable, optical fiber, digital subscriber line (DSL)) or wireless (e.g., infrared, wireless, microwave, etc.) mode to another website site, computer, server or data center. The computer-readable storage medium can be any available medium that a computer can access or a data storage device such as a server, a data center, etc. that contains one or more available media integrated. The available medium can be a magnetic medium, (e.g., a floppy disk, a hard disk, a tape), an optical medium (e.g., a DVD), or a semiconductor medium (e.g., a solid-state hard disk Solid State Disk (SSD)), etc.

[0274] The term "plurality" in this article refers to two or more than two. The term "and / or" in this article is only a description of the association relationship of associated objects, indicating that three relationships may exist. For example, A and / or B can represent: A exists alone, A and B exist at the same time, and B exists alone. In addition, the character " / " in this article generally indicates that the previous and next associated objects are in an "or" relationship; in the formula, the character " / " indicates that the previous and next associated objects are in a "division" relationship. In addition, it should be understood that in the description of this application, words such as "first" and "second" are only used for the purpose of distinguishing descriptions, and cannot be understood as indicating or implying relative importance, nor can they be understood as indicating or implying order.

[0275] It should be understood that the various numerical numbers involved in the embodiments of the present application are only used for the convenience of description and are not used to limit the scope of the embodiments of the present application.

[0276] It can be understood that in the embodiments of the present application, the size of the serial numbers of the above-mentioned processes does not mean the order of execution. The execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiments of the present application.

Claims

1. A data transmission method, characterized in that: Applied to electronic equipment, the method comprises: When transmitting first data of the application APP, using the first link to transmit the first data; When the second data of the APP is transmitted, the second link is used to transmit the second data, and the transmission speed of the first link is higher than that of the second link.

2. The method according to claim 1, characterized in that The method further comprises: When transmitting data of the APP, identifying whether the APP is the APP configured in the data transmission policy; If so, identify whether the data of the APP is the data of the APP configured in the data transmission policy.

3. The method according to claim 2, characterized in that The method further comprises: When the data of the APP is the data of the APP configured in the data transmission policy, determining that the data of the APP is the first data; When the data of the APP is not the data of the APP configured in the data transmission policy, it is determined that the data of the APP is the second data.

4. The method according to claim 2 or 3, characterized in that: The method further comprises: When the APP is not an APP configured in the data transmission strategy, a third link is used to transmit data of the APP, and the transmission speed of the first link is higher than that of the third link.

5. The method according to any one of claims 1 to 4, characterized in that The adopting the first link to transmit the first data includes: The first data is forwarded to the server corresponding to the APP through the cloud service network.

6. The method according to claim 5, characterized in that The cloud service network includes an access point, a backbone network, and a proxy point. The access point is used to receive the first data from the electronic device and send the first data to the backbone network. The backbone network is used to send the first data to the proxy point. The proxy point is used to send the first data to the server.

7. The method according to any one of claims 1 to 6, characterized in that The adopting the second link to transmit the second data includes: The second data is sent to the server corresponding to the APP through the access network device and the core network device.

8. The method according to any one of claims 2 to 4, characterized in that: The electronic device comprises: the APP, a network interface management module, a virtual network card, and a data identification module; the method comprises: The APP sends data of the APP to the network interface management module; The network interface management module identifies whether the APP is the APP configured in the data transmission policy; If yes, the network interface management module sends the data of the APP to the data identification module through the virtual network card; The data identification module identifies whether the data of the APP is the data of the APP configured in the data transmission strategy.

9. The method according to claim 8, characterized in that The electronic device further includes: a first multi-link scheduling module, a terminal-cloud protocol stack, and a physical network card; the method includes: When the APP is not an APP configured in the data transmission policy, the network interface management module sends the data of the APP to the server corresponding to the APP through the physical network card, the access network device, and the core network device in sequence; When the data of the APP is the data of the APP configured in the data transmission strategy, the data identification module sends the first data to the server through the first multi-link scheduling module, the end-cloud protocol stack, the physical network card, the access network device, the core network device, and the cloud service network in sequence; When the data of the APP is not the data of the APP configured in the data transmission strategy, the data identification module sends the data of the APP to the server through the physical network card, the access network device, and the core network device in sequence.

10. The method according to any one of claims 2-4, 8 and 9, characterized in that: The method further comprises: The data transmission policy is requested from a policy control center, where the data transmission policy is used to indicate an APP applicable to the first link and data in the APP.

11. The method according to claim 6, characterized in that Before the first data is transmitted by using the first link, the method further includes: Receiving access information from an access control center, the access information including: information of an access point to be accessed by the electronic device; Access the access point according to the access information.

12. An electronic device, characterized in that: include: Processor and memory; The memory stores computer-executable instructions; The processor executes the computer-executable instructions stored in the memory, so that the processor performs the method according to any one of claims 1 to 11.

13. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program or instruction, and when the computer program or instruction is executed, the method according to any one of claims 1 to 11 is implemented.