A method for establishing a pathway and an electronic device

By using virtual network cards and bridging technology in the AP and MODEM architecture, the problems of bandwidth contention and inaccurate billing caused by multiple WAN services sharing the same path are solved, achieving independent dialing and decoupling effects.

CN115707154BActive Publication Date: 2025-11-14HUAWEI TECH CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202110931723.3
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-08-13
Publication Date
2025-11-14
Estimated Expiration
2041-08-13

AI Technical Summary

Technical Problem

In an AP+MODEM architecture, when the MODEM only supports one data path, multiple WAN services sharing the same path can lead to bandwidth contention and indeterminate service billing.

Method used

By using a virtual network card between the AP and the modem and establishing an independent path using bridging technology, independent dialing of multi-WAN services and decoupling from other services can be achieved.

Benefits of technology

This enables independent dialing and decoupling of multi-WAN services even when the modem only supports one data path, avoiding bandwidth contention and inaccurate service billing issues, and meeting the independent needs of each service.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115707154B_ABST
    Figure CN115707154B_ABST
Patent Text Reader

Abstract

This application provides a method for establishing a communication path and an electronic device. The method includes: virtualizing one or more first network interface cards (NICs) in a first processor and virtualizing one or more second NICs in a second processor, wherein the first NICs and the second NICs correspond to each other; obtaining a public IP address; bridging the second NICs and the first interface based on the public IP address, so that the first NICs and the second NICs establish one or more first communication paths based on the first interface; and carrying one or more first services based on the one or more first communication paths.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of terminal technology, and in particular to a method for establishing a pathway and an electronic device. Background Technology

[0002] Customer premises equipment (CPE) is a device that converts wireless signals transmitted by a wireless base station into wireless fidelity (Wi-Fi) signals. These wireless signals can include 5G or 4G signals, etc. The CPE includes a SIM card interface for inserting a subscriber identification module (SIM) card; alternatively, the CPE includes an embedded SIM card; or the CPE can store a software-implemented SIM. The CPE interacts with the wireless base station via the SIM to obtain the aforementioned wireless signals. CPEs can be used in homes, buses, stores, or remote areas as routers to enable wireless network access, saving the cost of laying wired networks. Summary of the Invention

[0003] In a first aspect, this application provides a method for establishing a pathway, using an electronic device, the electronic device including a first processor and a second processor, the method comprising:

[0004] One or more first network interface cards (NICs) are virtualized in a first processor, and one or more second NICs are virtualized in a second processor, with the first NICs and second NICs corresponding to each other; exemplarily, the first processor is an AP processor and the second processor is a MODEM processor.

[0005] Obtain a public IP address;

[0006] Based on the public IP address, the second network card and the first interface are bridged so that the first network card and the second network card can establish one or more first paths based on the first interface; for example, the first interface can be a virtual interface.

[0007] One or more first services are carried based on one or more first channels. For example, the first service can be a multi-WAN service.

[0008] In one embodiment of this application, a first processor and a second processor are connected via a second interface, wherein the first processor emulates one or more first network interface cards (NICs), and the second processor emulates one or more second NICs, including:

[0009] Based on the second interface driver, one or more first network cards are virtualized in the first processor, and one or more second network cards are virtualized in the second processor.

[0010] In one embodiment of this application, the second interface includes USB or PCIe.

[0011] In one embodiment of this application, obtaining a public IP address includes:

[0012] The second processor sends a dialing request to the network side.

[0013] The second processor receives the public IP address sent by the network side;

[0014] The second processor sends the public IP address to the first processor.

[0015] In one embodiment of this application, bridging the second network interface card and the first interface based on a public IP address includes:

[0016] The IP address is sent to the target process in the second processor, which, for example, may be the wirproxy proxy process;

[0017] The target process configures the second network interface card via IP address and creates one or more bridges.

[0018] The second interface and the second network card are bridged through one or more bridges;

[0019] Based on the first interface, one or more first paths are established on the first network card and the second network card.

[0020] In one embodiment of this application, the first processor is an application processor and the second processor is a modem.

[0021] Secondly, this application provides a pathway establishment apparatus, the apparatus comprising:

[0022] A virtual module is used to virtualize one or more first network interface cards (NICs) in a first processor and one or more second NICs in a second processor, wherein the first NICs and the second NICs correspond to each other.

[0023] The acquisition module is used to obtain public IP addresses;

[0024] The bridging module is used to bridge the second network card and the first interface based on the public IP address, so that the first network card and the second network card can establish one or more first paths based on the first interface;

[0025] The bearer module is used to carry one or more first services based on one or more first channels.

[0026] In one embodiment of this application, the first processor and the second processor are connected via a second interface, and the virtual module is further used for:

[0027] Based on the second interface driver, one or more first network cards are virtualized in the first processor, and one or more second network cards are virtualized in the second processor.

[0028] In one embodiment of this application, the acquisition module is further configured to:

[0029] The second processor sends a dialing request to the network side.

[0030] The second processor receives the public IP address sent by the network side;

[0031] The second processor sends the public IP address to the first processor.

[0032] In one embodiment of this application, the bridging module is further configured to:

[0033] The first processor sends the IP address to the target process in the second processor;

[0034] The target process configures the second network interface card via IP address and creates one or more bridges.

[0035] The second interface and the second network card are bridged through one or more bridges to form one or more first paths.

[0036] Thirdly, this application provides an electronic device including a processor and a storage device, the storage device storing program instructions that, when executed by the processor, cause the electronic device to perform the creation method as described in the first aspect.

[0037] Fourthly, this application provides a computer-readable storage medium including computer instructions that, when executed on the electronic device, cause the electronic device to perform the establishment method as described in the first aspect.

[0038] Based on the method shown in this application, it is possible to achieve independent dialing and decoupling from other services in an AP+MODEM architecture where the MODEM only supports one data path. Attached Figure Description

[0039] Figure 1 This is an example diagram of a communication system provided in one embodiment of this application;

[0040] Figure 2 This is a structural example diagram of a CPE provided in one embodiment of this application;

[0041] Figure 3 This is a dialing flowchart for carrying multi-WAN services via WAN in the related technologies of this application;

[0042] Figure 4 A schematic diagram of the path between the AP and the MODEM in a CPE 400 provided in one embodiment of this application;

[0043] Figure 5 A schematic diagram of the path between the AP and the MODEM in a CPE 400 provided in one embodiment of this application;

[0044] Figure 6 A flowchart illustrating a pathway establishment method provided in one embodiment of this application;

[0045] Figure 7 For this application Figure 4 A detailed schematic diagram of the path between the AP and the MODEM in the CPE 400. Detailed Implementation

[0046] The technical solutions of the embodiments of this application will be described below with reference to the accompanying drawings. In the description of the embodiments of this application, unless otherwise stated, " / " means "or," for example, A / B can mean A or B; the term "and / or" in this document is merely a description of the relationship between related objects, indicating that three relationships can exist. For example, A and / or B can represent: A existing alone, A and B existing simultaneously, and B existing alone.

[0047] Hereinafter, the terms "first" and "second" are used for descriptive purposes only and should not be construed as indicating or implying relative importance or implicitly specifying the number of indicated technical features. Therefore, a feature defined as "first" or "second" may explicitly or implicitly include one or more of that feature. In the description of embodiments of this application, unless otherwise stated, "a plurality of" means two or more.

[0048] See Figure 1 This is an example diagram of a communication system consisting of a CPE and other electronic devices in one embodiment of this application.

[0049] The communication system specifically includes a CPE 100, one or more base stations, and user terminal equipment.

[0050] The CPE 100 can communicate with one or more wireless base stations and attach to the network via a subscriber identification module (SIM). After attaching to the network, the CPE 100 can receive wireless signals transmitted by the wireless base stations and convert these signals into Wi-Fi signals to provide a Wi-Fi network for the user terminal 102. The user terminal device 102 can access the Wi-Fi network provided by the CPE 100. This application embodiment does not impose any special limitations on the specific form of the CPE 100.

[0051] For example, CPE 100 may also be a mobile phone, tablet computer, desktop computer, laptop computer, handheld computer, notebook computer, ultra-mobile personal computer (UMPC), netbook, as well as cellular phone, personal digital assistant (PDA), augmented reality (AR) / virtual reality (VR) device, etc.

[0052] For example, the user terminal 102 can be a mobile phone, tablet computer, desktop computer, laptop computer, handheld computer, notebook computer, ultra-mobile personal computer (UMPC), netbook, as well as cellular phone, personal digital assistant (PDA), augmented reality (AR) / virtual reality (VR) device, etc.

[0053] For example, the aforementioned one or more base stations may include: 5G base station 104, 4G base station 106 and 3G base station 108.

[0054] refer to Figure 2 This is a schematic diagram of the structure of a CPE provided in an embodiment of this application. Figure 2 As shown, CPE 100 may include: a processor 210, a mobile communication module 220, a wireless communication module 230, a SIM card interface 240, a memory 250, buttons 260, a power supply 270, an input / output interface 280, an antenna 201, and an antenna 202. Optionally, CPE 100 may also include a display screen 290.

[0055] The memory 250 can be used to store program code, such as program code for converting wireless signals into Wi-Fi signals and providing Wi-Fi network access to user terminal 102, etc. The processor 210 can execute the aforementioned program code to implement the functions of the CPE 100 in this embodiment. The processor 210 may include one or more processing units. For example, the processor 210 may include a modem processor, a digital signal processor (DSP), a baseband processor, etc. Different processing units can be independent devices or integrated into one or more processors. The memory 250 may also store address information for uniquely identifying the CPE 100. For example, this address information may be a media access control (MAC) address. Additionally, the memory 250 may also store the phone number corresponding to the SIM card inserted into the SIM card interface 240.

[0056] The SIM card interface 240 is used to connect a SIM card. The SIM card can be inserted into or removed from the SIM card interface 240 to make contact with and separate from the CPE 100. The CPE 100 can support one or N SIM card interfaces, where N is a positive integer greater than 1. The SIM card interface 240 can support Nano SIM cards, Micro SIM cards, SIM cards, etc. Multiple cards can be inserted into the same SIM card interface 240 simultaneously. The multiple cards can be of the same or different types. The SIM card interface 395 can also be compatible with different types of SIM cards. The SIM card interface 240 can also be compatible with external memory cards. The CPE 100 interacts with the network through the SIM card to realize functions such as calls and data communication. In some embodiments, the CPE 100 uses an eSIM, i.e., an embedded SIM card. The eSIM card can be embedded in the CPE 100 and cannot be separated from the CPE 100. It should be noted that the CPE 100 may also not include the SIM card interface 240. The memory 250 can store program code for implementing SIM functions. The processor 210 can execute the program code to implement the SIM function and communicate with the wireless base station through the mobile communication module 220.

[0057] The wireless communication function of CPE 100 can be implemented by antenna 201, antenna 202, mobile communication module 220, wireless communication module 230, modem processor, and baseband processor.

[0058] Antennas 201 and 202 are used to transmit and receive electromagnetic wave signals. Each antenna in CPE 100 can be used to cover one or more communication frequency bands. Different antennas can also be multiplexed to improve antenna utilization. For example, antenna 201 can be multiplexed as a diversity antenna for a wireless local area network. In some other embodiments, the antennas can be used in conjunction with a tuning switch.

[0059] The mobile communication module 220 provides at least one function including wireless communication technologies such as 2G, 3G, 4G, and 5G. The mobile communication module 220 may include at least one filter, switch, power amplifier, low-noise amplifier (LNA), etc. The antenna 201 of the CPE 100 is coupled to the mobile communication module 220. The mobile communication module 220 can receive electromagnetic waves through the antenna 201, and perform filtering, amplification, and other processing on the received electromagnetic waves before transmitting them to the modem processor for demodulation. The mobile communication module 220 can also amplify the signal modulated by the modem processor and convert it into electromagnetic waves for radiation through the antenna 201. In some embodiments, at least some functional modules of the mobile communication module 220 may be disposed in the processor 210. In some embodiments, at least some functional modules of the mobile communication module 220 and at least some modules of the processor 210 may be disposed in the same device.

[0060] The wireless communication module 230 can provide at least one function of wireless communication technologies, including wireless local area networks (WLAN) (e.g., Wi-Fi), Bluetooth (BT), global navigation satellite system (GNSS), frequency modulation (FM), near-field communication (NFC), and infrared (IR). The wireless communication module 230 can be one or more devices integrating at least one communication processing module. The antenna 202 is coupled to the wireless communication module 230. The wireless communication module 230 receives electromagnetic waves via the antenna 202, performs frequency modulation and filtering of the electromagnetic wave signal, and sends the processed signal to the processor 210. The wireless communication module 230 can also receive signals to be transmitted from the processor 210, perform frequency modulation and amplification, and convert them into electromagnetic waves for radiation via the antenna 202. For example, in this embodiment, the wireless communication module 230 can be a Wi-Fi module to provide Wi-Fi functionality.

[0061] The aforementioned input / output interface 280 may include one or more USB interfaces and one or more local area network (LAN) interfaces. The USB interfaces are USB standard compliant interfaces, specifically Mini USB, Micro USB, USB Type-C, etc. The USB interfaces can be used to connect a charger to charge the CPE 100. This interface can also be used to connect other electronic devices, such as AR devices.

[0062] The aforementioned LAN can be used to connect a telephone to a telephone line. After the telephone is connected to the LAN of CPE 100, the telephone can use the SIM card inserted into the SIM card interface 240 of CPE 100 to make or receive calls. The aforementioned LAN can also be used to connect a computer or a smart TV via a network cable. After the LAN of CPE 100 is connected to a computer or a smart TV, the computer or smart TV can use the wireless signal of the mobile communication module 220 of CPE 100. In other words, the CPE 100 in this embodiment can not only provide a wireless Wi-Fi network for electronic devices (such as mobile phones, computers, and smart home devices), but also provide interfaces for connecting devices such as telephones, computers, and smart TVs, providing wired communication services for these devices.

[0063] The power supply 270 can be used to supply power to the various components included in the CPE 100. In some embodiments, the power supply 270 can be a battery, such as a rechargeable battery.

[0064] The aforementioned button 260 may include a power button and a reset button. The power button is used to turn the CPE 100 on or off. The reset button is used to restore the CPE 100 to its factory settings. Of course, button 260 may also include other buttons. For example, when the CPE 100 includes a display screen 290, button 260 may also include a button for triggering the display screen 290 to light up. Button 260 may be a mechanical button or a touch button. The CPE 100 can receive button input and generate key signal inputs related to user settings and function control of the CPE 100.

[0065] The CPE 100 may also include a charging management module and a power management module.

[0066] The aforementioned display screen 290 is used to display images, videos, etc. The display screen 290 includes a display panel. The display panel can be a liquid crystal display (LCD), an organic light-emitting diode (OLED), an active-matrix organic light-emitting diode (AMOLED), a flexible light-emitting diode (FLED), a Mini LED, a MicroLED, a Micro-OLED, a quantum dot light-emitting diode (QLED), etc.

[0067] It is understood that the structure illustrated in the embodiments of this application does not constitute a specific limitation on CPE 100. It may have more than Figure 2 The CPE 100 may include more or fewer components, or two or more components may be combined, or different component configurations may be used. For example, the CPE 100 may also include indicator lights that can be used to indicate charging status, power level changes, etc. Figure 2 The various components shown can be implemented in hardware, software, or a combination of hardware and software, including one or more signal processing or application-specific integrated circuits.

[0068] Furthermore, the CPE 100 architecture includes both a single-SoC implementation and an AP (Application Processor) + MODEM implementation. In the single-SoC implementation, the modem chip supports network port functionality.

[0069] In the AP chip + MODEM chip implementation, the modem chip does not support network port functionality; the modem is only used for data service functions, while the AP chip provides network port functionality. In addition, the AP and modem can be connected via USB or PCIe (PCI Express, a high-speed serial computer expansion bus standard).

[0070] Multi-WAN and network port functionality are mandatory features of CPE products. Multi-WAN functionality refers to the ability of the CPE to carry one or more other services besides data services, such as voice, IPTV, BIP, and other independent services. For example, in this embodiment, the data service carried by the CPE can be referred to as the second service, and the voice, IPTV, BIP, and other independent services carried by the CPE can be referred to as the first service.

[0071] In the AP chip + MODEM chip implementation, multi-WAN functionality can be implemented in two ways: shared WAN and independent WAN. Shared WAN means that multi-WAN services and data WAN use the same data path, with only one PDUSession existing on the network side. Multi-WAN services are affected by factors such as data WAN APN modifications and bandwidth limitations. Independent WAN means that multi-WAN services and data WAN use different data paths, with multi-WAN services running in parallel with data WAN. Independent WAN uses different APNs to establish new PDUSessions and is unaffected by data WAN modifications and data WAN traffic limitations.

[0072] See Figure 3 This is a dialing flowchart for CPE 100 using a shared WAN method to carry multi-WAN services in related technologies.

[0073] In the CPE architecture of AP chip + MODEM chip, the modem does not support network port function and when the AP and MODEM are connected using interfaces such as USB / PCIe, the modem only maps one data network card on the AP side. At this time, only one data path is supported. For the support of multi-WAN services, the shared WAN method can be used to realize the multi-WAN service function.

[0074] Specifically, the CPE 100 can use the APN parameters of data services (i.e., Internet services) to send a dial-up request to the network side (such as a base station). The network side responds to the dial-up request and assigns a public IP address to the CPE 100. At the same time, the AP inside the CPE 100 establishes a data path with the modem. This data path is used to carry data services and multi-WAN services, i.e., the second service and the first service.

[0075] However, the applicant discovered that multiple services sharing a single data path resulted in bandwidth contention. Furthermore, user-controlled data services also impacted other services, making it impossible to separately account for billing for each service, and the PDU session established by the notification data WAN might not be compatible with the needs of other services.

[0076] Based on this, this application proposes a method for establishing a data path, which enables multi-WAN services to make independent dialing according to their own service needs and decouple them from other services when the MODEM only supports one data path under the AP+MODEM architecture.

[0077] The following is combined with Figure 4 and Figure 5 The method for establishing the pathway proposed in this application is described. Figure 4 and Figure 5 Specifically, this is a structural diagram of the pathway of CPE 400 disclosed in one embodiment of this application. Figure 5 yes Figure 4 A further refinement of the diagram based on the existing one.

[0078] See Figure 5 The CPE has an AP+MODEM architecture, meaning the CPE includes AP 402 and MODEM 404. In one embodiment of this application, AP 402 and MODEM 404 can be connected via a USB or PCIe interface. The USB or PCIe interface can be referred to as a second interface.

[0079] In one embodiment of this application, the AP 402 and MODEM 404 can be driven via interfaces such as USB or PCIe to virtualize one or more network cards on both the AP 402 and MODEM 404 sides. For example, the network card virtualized on the AP side can be called the first network card, and the network card virtualized on the MODEM 404 side can be called the second network card. The number of first network cards corresponds to the number of second network cards.

[0080] For example, the CPE can determine the number of virtual first and second network cards based on the number of multi-WAN services, i.e., the number of second services.

[0081] Further, see Figure 5 In one example, the CPE 400 can virtualize multiple first network cards (including rmnet_data1 to rmnet_data5) on the AP402 via USB / PCIE drivers, and virtualize second network cards (including rmnet_data1 to rmnet_data5) corresponding to the first network cards on the MODEM 404 side.

[0082] See also Figure 5 In one embodiment of this application, the CPE 400 can create bridges br1 to br5 through processes, for example, through the wirproxy process in the dsi library, and bridge the first interface (usb_data1-usb_data5) and the second network card (rmnet_data1-rmnet_data7) through br. The first interface is a virtual interface, which is used to form one or more first paths between the first network card and the second network card corresponding to the first network card, so as to enable communication and realize the multi-WAN independent dialing function.

[0083] In one embodiment, before creating the bridge, CPE 400 can send a dial-up request to the network side, which then responds by assigning CPE 100 a public IP address. Specifically, the CPE can send a dial-up request to the network side via a modem, which obtains the public IP address and then sends it to the AP.

[0084] Furthermore, in one embodiment of this application, after obtaining the aforementioned public IP address, the CPE sends the network card configuration information (including the aforementioned public IP address, etc.) from the AP side to the wirproxy proxy process on the MODEM side via dual-machine communication. Based on the configuration information, this process configures the second network card rmnet_data on the MODEM side, creates a corresponding bridge br, and then configures routing rules to bridge the first interface usb_data and the second network card rmnet_data, completing the construction of a data path, for example, a data path between the first network card (rmnet_data2) on the AP side, the second network card (rmnet_data2) rmnet_data2 on the MODEM side, and the first interface usb_data. Through this data path, the first service, i.e., the multi-WAN service, is carried out. Dual-machine communication refers to communication between the AP and the modem. It should be noted that when carrying the first service, the second network card (rmnet_data2) rmnet_data2 can be enumerated, selecting one of rmnet_data1-rmnet_data7 on both the AP and MODEM sides.

[0085] See below. Figure 4 The method for establishing the above pathways will be further explained.

[0086] First, the CPE 400 sends a dial-up request to the network side to obtain a public IP address.

[0087] In this embodiment of the application, before the CPE dials up, the CPE 400 can virtualize one or more first network cards on the AP 402 side and one or more second network cards on the MODEM 404 side through USB or PCIe interface, depending on the number of multi-WAN services or a preset number. The number of first network cards is the same as the number of second network cards, and the number of first network cards is equal to the number of multi-WAN services or the preset number.

[0088] Furthermore, in one embodiment, after the CPE 400 successfully dials up and obtains a public IP address, the CPE 400 can send the IP address and other network card configuration information from the AP to a target process on the MODEM side, such as the wirproxy process. The target process creates bridges br1 to br5. For example, the wirproxy process in the dsi library can bridge the first interface usb_data and the second network card through br. The second interface is a virtual interface used to connect the first network card and the second network card, enabling the second network card and the corresponding first network card to communicate and form a first path. Multi-WAN services can dial up based on this first path, and the CPE can also carry the first service through the first path.

[0089] See Figure 6 This is a flowchart illustrating a method for establishing a pathway according to an embodiment of this application. This pathway establishment method utilizes an electronic device, such as... Figure 2 The CPE shown in the figure, the electronic device including a first processor and a second processor, the method includes:

[0090] Step 602: Virtualize one or more first network cards in the first processor, and virtualize one or more second network cards in the second processor, wherein the first network cards and the second network cards correspond to each other;

[0091] Step 604: Obtain the public IP address;

[0092] Step 606: Based on the public IP address, bridge the second network card and the first interface so that the first network card and the second network card establish one or more first paths based on the first interface;

[0093] Step 608: Based on the one or more first channels, carry one or more first services.

[0094] Based on the method shown in this application, in an AP+MODEM architecture, when the MODEM only supports one data path, multi-WAN services can independently dial according to their own service needs and be decoupled from other services.

[0095] Figure 7 For this application Figure 4 A detailed diagram illustrating the path between the AP and the MODEM in the CPE 400 is provided for further understanding. Figure 4 .

[0096] This application also provides a computer-readable storage medium including computer instructions that, when executed on the electronic device, cause the electronic device to perform the window display method provided in this application.

[0097] In the embodiments of this application, the functional units can be integrated into one processing unit, or each unit can exist physically separately, or two or more units can be integrated into one unit. The integrated unit can be implemented in hardware or as a software functional unit.

[0098] If the integrated unit is implemented as a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solutions of the embodiments of this application, essentially, or the parts that contribute to the prior art, or all or part of the technical solutions, can be embodied in the form of a software product. This computer software product is stored in a storage medium and includes several instructions to cause a computer device (which may be a personal computer, server, or network device, etc.) or processor to execute all or part of the steps of the methods described in the various embodiments of this application. The aforementioned storage medium includes various media capable of storing program code, such as flash memory, portable hard disk, read-only memory, random access memory, magnetic disk, or optical disk.

[0099] The above description is merely a specific embodiment of this application, but the scope of protection of this application is not limited thereto. Any changes or substitutions within the technical scope disclosed in this application should be included within the scope of protection of this application. Therefore, the scope of protection of this application should be determined by the scope of the claims.

Claims

1. A method for establishing a pathway, characterized in that, The application electronic device includes a first processor and a second processor, wherein the second processor establishes a data path with the network side, and the method includes: One or more first network interface cards (NICs) are virtualized in the first processor, and one or more second NICs are virtualized in the second processor. The number of first NICs and second NICs corresponds to the number of first NICs, and the number of first NICs is determined by the number of first services. The public IP address is obtained through the second processor; Based on the public IP address, the second network card and the first interface are bridged so that the first network card and the second network card establish one or more first paths based on the first interface. The first interface is a virtual interface used to connect the first network card and the second network card. Based on the one or more first channels, one or more of the first services are carried.

2. The method for establishing according to claim 1, characterized in that, The first processor and the second processor are connected via a second interface. The step of virtualizing one or more first network interface cards (NICs) in the first processor and one or more second NICs in the second processor includes: Based on the second interface driver, one or more first network cards are virtualized in the first processor, and one or more second network cards are virtualized in the second processor.

3. The method for establishing according to claim 2, characterized in that, The second interface includes USB or PCIe.

4. The method for establishing according to claim 1, characterized in that, Obtaining the public IP address includes: The second processor sends a dialing request to the network side. The second processor receives the public IP address sent by the network side; The second processor sends the public IP address to the first processor.

5. The method for establishing according to any one of claims 1-4, characterized in that, The step of bridging the second network card and the first interface based on the public IP address includes: The first processor sends the IP address to a target process in the second processor, so that the target process configures the second network interface card based on the IP address and creates one or more bridges; The first interface and the second network card are bridged through the one or more bridges to establish one or more first paths between the first network card and the second network card.

6. The establishment method according to any one of claims 1-5, wherein the first processor is an application processor and the second processor is a modem.

7. A pathway establishment device, characterized in that, The establishment device includes: A virtual module is used to virtualize one or more first network interface cards (NICs) in a first processor and one or more second NICs in a second processor. The number of first NICs and second NICs corresponds to the number of first NICs. The number of first NICs is determined by the number of first services. The second processor establishes a data path with the network side. The acquisition module is used to obtain a public IP address through the second processor; The bridging module is used to bridge the second network card and the first interface based on the public IP address, so that the first network card and the second network card can establish one or more first paths based on the first interface. The first interface is a virtual interface used to connect the first network card and the second network card. The bearer module is used to carry one or more of the first services based on the one or more first channels.

8. The apparatus for establishing according to claim 7, characterized in that, The first processor and the second processor are connected via a second interface, and the virtual module is further used for: Based on the second interface driver, one or more first network cards are virtualized in the first processor, and one or more second network cards are virtualized in the second processor.

9. The apparatus for establishing according to claim 7, characterized in that, The acquisition module is also used for: The second processor sends a dialing request to the network side. The second processor receives the public IP address sent by the network side; The second processor sends the public IP address to the first processor.

10. The apparatus for establishing according to claim 9, characterized in that, The bridging module is also used for: The first processor sends the IP address to a target process in the second processor, so that the target process configures the second network interface card based on the IP address and creates one or more bridges; The first interface and the second network card are bridged through the one or more bridges to establish one or more first paths between the first network card and the second network card.

11. An electronic device, characterized in that, The device includes a processor and a storage device, the storage device storing program instructions that, when executed by the processor, cause the electronic device to perform the creation method as described in any one of claims 1-6.

12. A computer-readable storage medium, characterized in that, Includes computer instructions that, when executed on the electronic device, cause the electronic device to perform the establishment method as described in any one of claims 1-6.

Citation Information

Patent Citations

  • Routing method for multi-wide area network (WAN) connection in voice over Internet phone (VOIP) voice communication system

    CN102497369A

  • Set top box AP mode implementation method and device, set top box and storage medium

    CN112566286A