CN112996137A - Method for establishing data connection on multi-operation system terminal - Google Patents
Method for establishing data connection on multi-operation system terminal Download PDFInfo
- Publication number
- CN112996137A CN112996137A CN201911299872.1A CN201911299872A CN112996137A CN 112996137 A CN112996137 A CN 112996137A CN 201911299872 A CN201911299872 A CN 201911299872A CN 112996137 A CN112996137 A CN 112996137A
- Authority
- CN
- China
- Prior art keywords
- data connection
- operating system
- bottom layer
- layer data
- ril
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
- 238000000034 method Methods 0.000 title claims abstract description 18
- 230000005540 biological transmission Effects 0.000 abstract description 4
- 230000006978 adaptation Effects 0.000 description 1
- 238000010586 diagram Methods 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W76/00—Connection management
- H04W76/10—Connection setup
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Mobile Radio Communication Systems (AREA)
Abstract
The application discloses a method for establishing data connection on a multi-operation system terminal, which comprises the following steps: any operating system on the terminal initiates a bottom layer data connection establishment request to a radio interface layer RIL by using an access point name APN of the system, and the data connection establishment request carries an identifier of a corresponding operating system; the RIL informs a baseband device of the terminal to establish a bottom layer data connection aiming at any operating system, and configures routing information forwarded to the corresponding bottom layer data connection for the operating system; the routing information is used for routing the data from any operating system to the bottom layer data connection established for the operating system and routing the data from any bottom layer data connection to the operating system corresponding to the bottom layer data connection; wherein the terminal allows more than two operating systems to run simultaneously. By the application, different operating systems can simultaneously use respective data connection for data transmission.
Description
Technical Field
The present application relates to communications technologies, and in particular, to a method for establishing a data connection on a multi-os terminal.
Background
The process of establishing data connection between a mobile terminal and a network generally comprises the following steps: an operating system of a terminal sends a data connection establishment request to a baseband device (e.g., a modem) of the terminal through a Radio Interface Layer (RIL), and the baseband device establishes a data connection between the terminal and a network. The RIL serves as an adaptation layer adapted to various baseband devices, so that data of the operating system can be transmitted by using data connections established by the various baseband devices.
When establishing data connection, the current multi-operating system terminal only supports to use one data connection for surfing the internet at the same time, and cannot establish and use a plurality of data connections at the same time, and the specific forms of establishing data connections can be basically divided into the following three types:
1. multiple operating systems share a data connection;
2. the multiple operating systems can use different APNs to establish different data connections, but only one operating system can be in a running state at the same time, and only the data connection established by the operating system can transmit data;
3. multiple systems may use different APNs to establish different data connections, and multiple systems may operate simultaneously, but only one data connection may transmit data at a time.
As described above, the existing multi-operating system terminal cannot establish multiple data connections for accessing the internet at the same time, and cannot meet the service requirements for users with higher security requirements, for example, some usage scenarios require the terminal to access a private network, but it is desirable not to affect the user's use of a public network.
Disclosure of Invention
The application provides a method for establishing data connection of a mobile terminal with multiple operating systems, which can enable different operating systems to simultaneously use respective data connection for data transmission.
In order to achieve the purpose, the following technical scheme is adopted in the application:
a method of establishing a data connection on a multiple operating system terminal, comprising:
any operating system on the terminal initiates a bottom layer data connection establishment request to a radio interface layer RIL by using an access point name APN of the system, and the data connection establishment request carries an identifier of a corresponding operating system;
the RIL informs a baseband device of the terminal to establish a bottom layer data connection aiming at any operating system, and configures routing information forwarded to the corresponding bottom layer data connection for the operating system; the routing information is used for routing the data from any operating system to the bottom layer data connection established for the operating system and routing the data from any bottom layer data connection to the operating system corresponding to the bottom layer data connection;
wherein the terminal allows more than two operating systems to run simultaneously.
Preferably, a virtual network card is established in any operating system, and the virtual network card and the network card corresponding to the bottom layer data connection are both connected with the network bridge in the Host container;
when the routing information is configured by the RIL, routing data from virtual network cards of different operating systems to bottom layer data connections corresponding to the corresponding operating systems, and routing data from the bottom layer data connections to the virtual network cards of the operating systems corresponding to the bottom layer data connections; wherein the Host container is a container for running RIL.
Preferably, the method further comprises: and the RIL is used for managing the bottom layer data connection corresponding to each operating system.
According to the technical scheme, in the application, any operating system A on the multi-operating-system terminal initiates a bottom-layer data connection establishment request to the RIL by using the APN of the system, and the data connection establishment request carries the identification of the corresponding operating system; RIL informs the modem to establish a bottom layer data connection aiming at the operating system A, and configures routing information forwarded to the corresponding bottom layer data connection for the operating system A; the routing information is used for routing data from the operating system A to the bottom layer data connection established aiming at the operating system, and is also used for routing data from any bottom layer data connection to the operating system corresponding to the bottom layer data connection; wherein the terminal allows more than two operating systems to run simultaneously. Through the mode, the RIL is used for transmitting the data of different operating systems by using the bottom layer data connection corresponding to the system, so that the different operating systems can simultaneously use respective data connections for data transmission.
Drawings
Fig. 1 is a schematic basic flow chart of a data connection establishing method in the present application;
fig. 2 is a schematic diagram of a connection relationship between a virtual network card and a bottom-layer data network card in an operating system according to the present application.
Detailed Description
For the purpose of making the objects, technical means and advantages of the present application more apparent, the present application will be described in further detail with reference to the accompanying drawings.
Fig. 1 is a basic flowchart of a data connection establishing method in the present application. As shown in fig. 1, the method includes:
Each operating system in the terminal has its own APN, and the APNs of these different operating systems may be the same or different. The respective operating systems in the terminal perform processing independently of each other, and the processing of one operating system a is described below as an example, and the terminal in the present application supports allowing a plurality of operating systems simultaneously.
An operating system A in the terminal initiates a bottom layer data connection establishment request to the RIL by using the APN of the system, and the RIL needs to distinguish which operating system initiates the request for establishing the data connection. That is, when the operating system a initiates an underlying data connection establishment request to the RIL by using the APN of the system, the operating system a carries the identifier of the operating system a.
Through step 101, the RIL determines which operating system, for example, operating system a, initiated the data connection establishment request, and then in this step, the RIL notifies the baseband device (for example, modem) of the terminal to establish the underlying data connection corresponding to the operating system initiated the request. The establishing method of the underlying data connection may adopt an existing method, and is not described herein again.
The terminal supports a plurality of operating systems to run simultaneously and are independent of each other, so that the operating systems can use respective APNs to initiate requests for establishing data connections to the RIL without mutual influence, the baseband equipment supports the establishment of a plurality of data connections and establishes one data connection for each operating system, and thus, a plurality of data connections are established at the bottom layer. In order to ensure that network data of different systems are transmitted by using different underlying data connections, the routing configuration is performed in the RIL.
Specifically, for each operating system of the multi-system terminal, there is only one data connection inside the operating system. Taking the operating system a as an example, the RIL establishes routing information for the operating system a according to the identifier in the data connection establishment request received in step 101 and the information fed back by the baseband device after establishing the corresponding bottom layer data connection, so as to route the data on the data connection in the operating system a to the bottom layer data connection corresponding to the operating system a.
More specifically, one data connection in each operating system may correspond to one virtual network card, the virtual network card is connected to a network bridge in the HostContainer, and a network card corresponding to the bottom data connection of the multi-system terminal is also connected to the network bridge. As shown in fig. 2.
The HostContainer (hereinafter referred to as host) is a container in which a simplified version of an operating system runs, the RIL is the operating system running in the host, and the data connection established by the multi-system terminal on the bottom layer in the application is in the host. Each of the multiple operating systems is also run in its own container (one system is run in one container), and in general, if a module (e.g., RIL) runs in each system, which may cause some problems or fail to meet some requirements, it is considered to move it to the host to run and serve the systems at the same time, as the RIL in this application does. As described above, the virtual network card and the underlying data connection corresponding to the internal data connection of the operating system are both connected to the network bridge, and based on this, the RIL routes the data of the virtual network card to the underlying data connection corresponding to the operating system where the virtual network card is located through the configuration of the routing information. Thus, when data forwarding is performed subsequently, the RIL may forward data from the virtual network card of the operating system a to the underlying data connection corresponding to the operating system a according to the configured routing information, and may also forward data from a certain underlying data connection to the virtual network card of the operating system corresponding to the data connection according to the configured routing information, so as to transmit the data to the upper layer application of the corresponding operating system.
In addition, further, to ensure normal data transmission, the RIL may preferably manage and maintain the underlying data connection corresponding to each operating system, for example, when information such as the data connection state needs to be fed back, the data connection state is accurately fed back to the corresponding operating system.
The data connection establishing method in the application is finished.
As can be seen from the specific implementation of the present application, in the present application, APNs of the terminals can be configured in different operating systems respectively; each operating system respectively initiates a request for establishing data connection to the RIL, and adds an identifier in the request to distinguish the operating system from which the operating system comes; RIL requests the baseband device to establish data connection and configures a route; different operating systems use data connection to surf the internet, and the previously configured route can forward network data to the corresponding bottom layer data connection according to the data source so as to send the network data out.
Through the processing of the application, a plurality of operating systems carried by the terminal can simultaneously use different networks to transmit data, the requirement that a user needs to simultaneously use different networks can be met, for example, common data are transmitted by using a public network and private data are transmitted by using a private network, convenience is provided for the user in use, and meanwhile, the safety of the private network data can also be guaranteed.
The above description is only for the purpose of illustrating the preferred embodiments of the present invention and is not to be construed as limiting the invention, and any modifications, equivalents, improvements and the like made within the spirit and principle of the present invention should be included in the scope of the present invention.
Claims (3)
1. A method for establishing a data connection on a multi-os terminal, comprising:
any operating system on the terminal initiates a bottom layer data connection establishment request to a radio interface layer RIL by using an access point name APN of the system, and the data connection establishment request carries an identifier of a corresponding operating system;
the RIL informs a baseband device of the terminal to establish a bottom layer data connection aiming at any operating system, and configures routing information forwarded to the corresponding bottom layer data connection for the operating system; the routing information is used for routing the data from any operating system to the bottom layer data connection established for the operating system and routing the data from any bottom layer data connection to the operating system corresponding to the bottom layer data connection;
wherein the terminal allows more than two operating systems to run simultaneously.
2. The method according to claim 1, characterized in that a virtual network card is established in any operating system, and the virtual network card and the network card corresponding to the bottom layer data connection are both connected with the network bridge in the Host container;
when the routing information is configured by the RIL, routing data from virtual network cards of different operating systems to bottom layer data connections corresponding to the corresponding operating systems, and routing data from the bottom layer data connections to the virtual network cards of the operating systems corresponding to the bottom layer data connections; wherein the Host container is a container for running RIL.
3. A method according to claim 1 or 2, characterized in that the method further comprises: and the RIL is used for managing the bottom layer data connection corresponding to each operating system.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201911299872.1A CN112996137A (en) | 2019-12-17 | 2019-12-17 | Method for establishing data connection on multi-operation system terminal |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201911299872.1A CN112996137A (en) | 2019-12-17 | 2019-12-17 | Method for establishing data connection on multi-operation system terminal |
Publications (1)
Publication Number | Publication Date |
---|---|
CN112996137A true CN112996137A (en) | 2021-06-18 |
Family
ID=76342002
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201911299872.1A Pending CN112996137A (en) | 2019-12-17 | 2019-12-17 | Method for establishing data connection on multi-operation system terminal |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN112996137A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN115150265A (en) * | 2022-06-28 | 2022-10-04 | 青岛海信移动通信技术股份有限公司 | Method, equipment and device for processing dual-system data |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103200636A (en) * | 2013-03-08 | 2013-07-10 | 东莞宇龙通信科技有限公司 | Multimode mobile terminal and network switching method |
US20160183085A1 (en) * | 2014-12-19 | 2016-06-23 | Apple Inc. | Methods and apparatus to support location specific control of access to services through untrusted wireless networks |
CN105978781A (en) * | 2016-06-28 | 2016-09-28 | 浪潮电子信息产业股份有限公司 | Method and system for establishing network connection of Docker container, and client side |
CN106793156A (en) * | 2016-11-24 | 2017-05-31 | 宇龙计算机通信科技(深圳)有限公司 | Multisystem terminal and method for connecting network and device |
CN108833508A (en) * | 2018-05-31 | 2018-11-16 | 惠州市德赛西威汽车电子股份有限公司 | Applied to multi-channel A PN networking method, storage medium and the system in car networking system |
CN110312266A (en) * | 2018-03-20 | 2019-10-08 | 成都鼎桥通信技术有限公司 | The method and apparatus that the multisystem of terminal realizes WIFI communication |
-
2019
- 2019-12-17 CN CN201911299872.1A patent/CN112996137A/en active Pending
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103200636A (en) * | 2013-03-08 | 2013-07-10 | 东莞宇龙通信科技有限公司 | Multimode mobile terminal and network switching method |
US20160183085A1 (en) * | 2014-12-19 | 2016-06-23 | Apple Inc. | Methods and apparatus to support location specific control of access to services through untrusted wireless networks |
CN105978781A (en) * | 2016-06-28 | 2016-09-28 | 浪潮电子信息产业股份有限公司 | Method and system for establishing network connection of Docker container, and client side |
CN106793156A (en) * | 2016-11-24 | 2017-05-31 | 宇龙计算机通信科技(深圳)有限公司 | Multisystem terminal and method for connecting network and device |
CN110312266A (en) * | 2018-03-20 | 2019-10-08 | 成都鼎桥通信技术有限公司 | The method and apparatus that the multisystem of terminal realizes WIFI communication |
CN108833508A (en) * | 2018-05-31 | 2018-11-16 | 惠州市德赛西威汽车电子股份有限公司 | Applied to multi-channel A PN networking method, storage medium and the system in car networking system |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN115150265A (en) * | 2022-06-28 | 2022-10-04 | 青岛海信移动通信技术股份有限公司 | Method, equipment and device for processing dual-system data |
CN115150265B (en) * | 2022-06-28 | 2023-10-20 | 青岛海信移动通信技术有限公司 | Dual-system data processing method, device and apparatus |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN112153098B (en) | Application migration method and device | |
CN110167051B (en) | Communication method and communication equipment under centralized unit-distributed unit architecture | |
CN110650168B (en) | Communication method and device thereof | |
CN111865621B (en) | Method and device for accessing gateway | |
CN109672708B (en) | Communication method, device and system | |
CN113891430A (en) | Communication method, device and system | |
US20100290391A1 (en) | Apparatus and method for accessing multiple wireless networks | |
CN110166414B (en) | Communication method, device and system | |
US20120020394A1 (en) | Application processor, modem and method for communicating therebetween | |
US9455947B2 (en) | Apparatus and method of enabling to transceive data using a plurality of heterogeneous networks selectively through a fixed host address | |
CN106255226B (en) | Network connection processing method and device | |
CN108632307B (en) | Session connection establishing method and SMF entity | |
WO2012000271A1 (en) | Method for terminal access and wireless communication network | |
US20230164234A1 (en) | Service continuity event notification method, and apparatus | |
CN107566377B (en) | Method for carrying out multi-protocol adaptation on charging device and charging device | |
CN112654070B (en) | Communication method, device, equipment and storage medium between user terminals | |
CN112491978B (en) | Scheduling method and device | |
CN107454659B (en) | Terminal identification method, system, terminal equipment and base station | |
CN114697388B (en) | Data transmission method and device | |
CN112996137A (en) | Method for establishing data connection on multi-operation system terminal | |
CN110868762B (en) | Data stream processing method, device and system | |
CN113973098A (en) | Method and device for sending domain name system request | |
CN110048987B (en) | Selection method, registration method and device for multimedia system entrance network element | |
US8036218B2 (en) | Technique for achieving connectivity between telecommunication stations | |
CN114531320A (en) | Communication method, device, equipment, system and computer readable storage medium |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20210618 |
|
RJ01 | Rejection of invention patent application after publication |