CN114666395A - Method and device for network sharing of dual systems - Google Patents
Method and device for network sharing of dual systems Download PDFInfo
- Publication number
- CN114666395A CN114666395A CN202210319834.3A CN202210319834A CN114666395A CN 114666395 A CN114666395 A CN 114666395A CN 202210319834 A CN202210319834 A CN 202210319834A CN 114666395 A CN114666395 A CN 114666395A
- Authority
- CN
- China
- Prior art keywords
- network
- subsystem
- virtual
- main system
- port
- 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.)
- Granted
Links
- 238000000034 method Methods 0.000 title claims abstract description 59
- 230000009977 dual effect Effects 0.000 title claims abstract description 33
- 238000004891 communication Methods 0.000 claims abstract description 141
- 230000004044 response Effects 0.000 claims abstract description 50
- 238000012545 processing Methods 0.000 claims description 26
- 238000004590 computer program Methods 0.000 claims description 15
- 230000008569 process Effects 0.000 claims description 9
- 238000002955 isolation Methods 0.000 abstract description 9
- 239000010410 layer Substances 0.000 description 30
- 238000010586 diagram Methods 0.000 description 24
- 238000007726 management method Methods 0.000 description 16
- 230000006870 function Effects 0.000 description 12
- 230000005540 biological transmission Effects 0.000 description 6
- 230000003287 optical effect Effects 0.000 description 5
- 238000005516 engineering process Methods 0.000 description 4
- 230000003993 interaction Effects 0.000 description 3
- 238000012986 modification Methods 0.000 description 3
- 230000004048 modification Effects 0.000 description 3
- 230000005236 sound signal Effects 0.000 description 3
- 230000001133 acceleration Effects 0.000 description 1
- 230000009286 beneficial effect Effects 0.000 description 1
- 230000015572 biosynthetic process Effects 0.000 description 1
- 238000006243 chemical reaction Methods 0.000 description 1
- 230000000295 complement effect Effects 0.000 description 1
- 239000012792 core layer Substances 0.000 description 1
- 238000013500 data storage Methods 0.000 description 1
- 238000007599 discharging Methods 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 230000004927 fusion Effects 0.000 description 1
- 230000010354 integration Effects 0.000 description 1
- 239000004973 liquid crystal related substance Substances 0.000 description 1
- 238000004519 manufacturing process Methods 0.000 description 1
- 238000009877 rendering Methods 0.000 description 1
- 239000004065 semiconductor Substances 0.000 description 1
- 239000007787 solid Substances 0.000 description 1
- 230000001360 synchronised effect Effects 0.000 description 1
- 238000003786 synthesis reaction Methods 0.000 description 1
- 238000012546 transfer Methods 0.000 description 1
- 238000013519 translation Methods 0.000 description 1
- 230000000007 visual effect Effects 0.000 description 1
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/14—Session management
- H04L67/141—Setup of application sessions
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L45/00—Routing or path finding of packets in data switching networks
- H04L45/58—Association of routers
- H04L45/586—Association of routers of virtual routers
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L63/00—Network architectures or network communication protocols for network security
- H04L63/02—Network architectures or network communication protocols for network security for separating internal from external traffic, e.g. firewalls
- H04L63/0272—Virtual private networks
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Computer Hardware Design (AREA)
- Computer Security & Cryptography (AREA)
- Computing Systems (AREA)
- General Engineering & Computer Science (AREA)
- Mobile Radio Communication Systems (AREA)
Abstract
The application discloses a method and a device for network sharing of dual systems, which are used for solving the problem of how to enable two systems in dual system terminal equipment to share the network communication capability of a network communication module. The method comprises the steps of receiving a network request sent by any one of a first subsystem and a second subsystem aiming at a target network; sending a connection request to a target network based on the network request; receiving a network response sent by a target network; based on the network response, main system network information for the main system is established, and first virtual network information for the first subsystem and second virtual network information for the second subsystem are established. Therefore, the virtual network information corresponding to the first subsystem and the second subsystem is communicated with the main system, so that the two systems can simultaneously use the same network to establish a data network and can also use different networks to establish different data networks. The method not only meets the sharing of the network capacity of the dual-system, but also ensures the isolation of the network data of the dual-system.
Description
Technical Field
The present application relates to the field of terminal technologies, and in particular, to a method and an apparatus for dual system network sharing.
Background
Along with the increasing popularization of terminal equipment, many industry markets have very high requirements on the safety and the management and control of the terminal equipment, and both information safety and convenience in use are considered, so that life and work are both avoided. Dual system terminal devices are becoming the primary solution to the needs of the industry.
The terminal device has only one communication module, so in the related technology, the dual-system terminal device only allows the foreground system to use network communication, and the background system cannot use network communication. In order to solve the problem, the dual-system terminal equipment depends on the characteristics supported by multiple PDNs (Packet Data networks) of a communication access Network, each system uses an independent PDN connection, and when the two systems use different PDN connections, the foreground and background systems can simultaneously use Network communication; when the access network does not support multiple PDNs, only one system is supported to use network communication, and the foreground and background systems cannot simultaneously use the network communication. Therefore, on the premise of ensuring the data isolation of the dual systems, how to make the two systems in the dual-system terminal device share the network communication capability of the network communication module becomes a crucial issue.
Disclosure of Invention
The present application aims to provide a method and an apparatus for sharing a dual-system network, so as to solve the problem of how to enable two systems in a dual-system terminal device to share the network communication capability of a network communication module.
In a first aspect, the present application provides a method for network sharing of dual systems, where the dual systems include a first subsystem and a second subsystem, and the first subsystem and the second subsystem operate in a main system, and the method is applied to the main system, and includes:
receiving a network request sent by any one of the first subsystem and the second subsystem aiming at a target network;
sending a connection request to the target network based on the network request;
receiving a network response sent by the target network for the connection request;
based on the network response, establishing main system network information for the main system, and establishing first virtual network information for the first subsystem and second virtual network information for the second subsystem; the main system network information comprises a communication network port aiming at the target network and a main system routing strategy, the first virtual network information comprises a first virtual network port aiming at the target network and a first routing strategy, and the second virtual network information comprises a second virtual network port aiming at the target network and a second routing strategy; the first routing policy is used for sending communication data for the target network to the first virtual network interface, the second routing policy is used for sending communication data for the target network to the second virtual network interface, and the main system routing policy includes a first network pair route and a second network pair route, the first network pair route is used for handing communication data received from the first virtual network interface to the communication network interface for processing, and the second network pair route is used for handing communication data received from the second virtual network interface to the communication network interface for processing.
In one possible embodiment, the establishing the first virtual network information for the first subsystem and the second virtual network information for the second subsystem includes:
in a starting-up process, registering a monitor of a first event in advance; the first event is used for indicating that the main system network information of the main system is established;
and if the first event reported by the bottom driver is monitored based on the listener, executing the step of establishing main system network information for the main system based on the network response.
In one possible embodiment, the method further comprises:
acquiring a system identifier of the network response based on the network response;
if the system identifier of the network response comprises the system identifier of the first subsystem, the network response is sent to the first subsystem;
and if the system identification of the network response comprises the system identification of the second subsystem, sending the network response to the second subsystem.
In a possible implementation, the first virtual network port for the target network includes a first virtual sub-network port of the first subsystem and a first virtual sub-network port of the main system, and the first virtual sub-network port of the first subsystem exists in the first subsystem; a first virtual sub-network port of the main system exists in the main system, the first virtual sub-network port of the first subsystem is configured with a first Internet Protocol (IP) address of the target network, and the first virtual sub-network port of the main system is configured with a second IP address of the target network;
the second virtual network port for the target network comprises a second virtual sub-network port of the second subsystem and a second virtual sub-network port of the main system, and the second virtual sub-network port of the second subsystem exists in the second subsystem; and a second virtual sub-network port of the main system exists in the main system, the second virtual sub-network port of the second sub-system is configured with a third IP address of the target network, and the second virtual sub-network port of the main system is configured with a fourth IP address of the target network.
In one possible implementation, after establishing the main system network information for the main system and establishing the first virtual network information for the first subsystem and the second virtual network information for the second subsystem based on the network reply, the method further includes:
receiving communication data sent by a first virtual sub-network port of the first subsystem based on the first virtual sub-network port of the main system, wherein the IP address of the communication data is a first IP address of the first virtual sub-network port of the main system; after the IP address of the communication data is replaced by the IP address of the communication network port, the communication data is sent to the target network through the communication network port;
receiving communication data sent by a second virtual sub-network port of the second subsystem based on a second virtual sub-network port of the main system, wherein an IP address of the communication data is a fourth IP address of the second virtual sub-network port of the main system; and after the IP address of the communication data is replaced by the IP address of the communication network port, the communication data is sent to the target network through the communication network port.
In a second aspect, the present application provides a method for network sharing of dual systems, where the dual systems include a first subsystem and a second subsystem, and the first subsystem and the second subsystem operate in a main system, and the method is applied to any one of the first subsystem and the second subsystem, and includes:
sending a network request to a host system aiming at a target network so as to enable the host system to execute the following operations: receiving a network response sent by the target network, establishing main system network information for the main system based on the network response, and establishing first virtual network information for the first subsystem and second virtual network information for the second subsystem; the main system network information comprises a communication network port aiming at the target network and a main system routing strategy, the first virtual network information comprises a first virtual network port aiming at the target network and a first routing strategy, and the second virtual network information comprises a second virtual network port aiming at the target network and a second routing strategy; the first routing policy is used for sending communication data aiming at the target network to the first virtual network port, the second routing policy is used for sending communication data aiming at the target network to the second virtual network port, the main system routing policy comprises a first network pair route and a second network pair route, the first network pair route is used for handing communication data received from the first virtual network port to the communication network port for processing, and the second network pair route is used for handing communication data received from the second virtual network port to the communication network port for processing;
and receiving the network response sent by the main system.
In one possible embodiment, the method further comprises:
determining whether the state of a virtual network port of a subsystem is in a closed state;
and if the subsystem is in the closed state, sending a communication instruction to the virtual network port of the subsystem so as to convert the virtual network port of the subsystem from the closed state to the communication state.
In a third aspect, the present application provides a terminal device, including:
a display, a processor, and a memory;
the display is used for displaying a screen display area;
the memory to store the processor-executable instructions;
the processor is configured to execute the instructions to implement the method of dual system tethering as described in any of the first and second aspects above.
In a fourth aspect, the present application provides a computer-readable storage medium, wherein instructions, when executed by a terminal device, enable the terminal device to perform the method for dual-system network sharing as described in any one of the first and second aspects.
In a fifth aspect, the present application provides a computer program product comprising a computer program:
the computer program, when executed by a processor, implements a method of dual system network sharing as described in any of the first and second aspects above.
The technical scheme provided by the embodiment of the application at least has the following beneficial effects:
the dual system comprises a first subsystem and a second subsystem, wherein the first subsystem and the second subsystem run in a main system, are applied to the main system, and receive a network request sent by any one of the first subsystem and the second subsystem aiming at a target network; sending a connection request to a target network based on the network request; receiving a network response sent by a target network aiming at the connection request; based on the network reply, main system network information for the main system is established, and first virtual network information for the first subsystem and second virtual network information for the second subsystem are established. Therefore, the virtual network information is respectively established for the second subsystem and the first subsystem, and the two systems can simultaneously use the same target network to establish a data network and can also use different target networks to establish different data networks by communicating the corresponding virtual network information with the network information of the main system. The method not only meets the sharing of the network capacity of the double systems, but also ensures the isolation of the network data of the double systems, does not depend on the support of multiple PDNs, still can provide the network sharing capacity under the condition of only supporting a single PDN, and simultaneously ensures the data isolation.
Additional features and advantages of the present application will be set forth in the description which follows, and in part will be obvious from the description, or may be learned by the practice of the present application. The objectives and other advantages of the application may be realized and attained by the structure particularly pointed out in the written description and claims hereof as well as the appended drawings.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings needed to be used in the embodiments of the present application will be briefly described below, and it is obvious that the drawings described below are only some embodiments of the present application, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without creative efforts.
Fig. 1 is a schematic structural diagram of a terminal device according to an embodiment of the present application;
fig. 2 is a block diagram of a software structure of a terminal device according to an embodiment of the present disclosure;
fig. 3 is a block diagram of another software structure of a terminal device according to an embodiment of the present disclosure;
FIG. 4 is a timing diagram illustrating the establishment of a network data connection by a single system terminal device;
FIG. 5 is a diagram illustrating a network data structure of a single system terminal device;
fig. 6 is a flowchart illustrating a method for dual-system network sharing according to an embodiment of the present application;
fig. 7 is a schematic network structure diagram of a dual system using the same target network according to an embodiment of the present application;
fig. 8 is a schematic diagram of a network structure in which two systems use different target networks according to an embodiment of the present application;
fig. 9 is a timing diagram illustrating establishment of a network data connection by a dual-system terminal device according to an embodiment of the present application.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present application clearer, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application. The embodiments described are some, but not all embodiments of the present application. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
Also, in the description of the embodiments of the present application, "/" indicates an inclusive meaning unless otherwise specified, for example, a/B may indicate a or B; "and/or" in the text is only an association relationship describing an associated object, and means that three relationships may exist, for example, a and/or B may mean: three cases of a alone, a and B both, and B alone exist, and in addition, "a plurality" means two or more than two in the description of the embodiments of the present application.
In the following, the terms "first", "second" are used for descriptive purposes only and are not to be understood as implying or implying relative importance or implicitly indicating the number of technical features indicated. Thus, features defined as "first", "second", may explicitly or implicitly include one or more of the features, and in the description of embodiments of the application, unless stated otherwise, "plurality" means two or more.
Hereinafter, the foreground system is a system of the terminal device currently used by the user; the background system is a system of the terminal equipment which can not be directly used by the user at present.
Along with the increasing popularization of terminal equipment, many industry markets have very high requirements on the safety and the management and control of the terminal equipment, and both information safety and convenience in use are considered, so that life and work are both avoided. Dual system terminal devices are becoming the primary solution to the needs of the industry.
The terminal device has only one communication module, so in the related technology, the dual-system terminal device only allows the foreground system to use network communication, and the background system cannot use network communication. In order to solve the problem, the dual-system terminal equipment depends on the characteristics supported by multiple PDNs (Packet Data networks) of a communication access Network, each system uses a separate PDN connection, and when the two systems use different PDN connections, a foreground system and a background system can simultaneously use Network communication; when the access network does not support multiple PDNs, only one system is supported to use network communication, and the foreground and background systems cannot simultaneously use network communication. Therefore, on the premise of ensuring the data isolation of the dual-system, how to make the two systems in the dual-system terminal device share the network communication capability of the network communication module becomes a crucial problem.
In view of this, the present application provides a method and an apparatus for dual system network sharing, so as to solve the problem that two systems in a dual system terminal device cannot share a wireless communication capability.
The inventive concept of the present application can be summarized as follows: in the embodiment of the application, the virtual network information is respectively established for the first subsystem and the second subsystem, and the two systems can simultaneously use the same target network to establish the data network and can also use different target networks to establish different data networks by communicating the corresponding virtual network information with the network information of the main system. The method not only meets the sharing of the network capacity of the double systems, but also ensures the isolation of the network data of the double systems, does not depend on the support of multiple PDNs, still can provide the network sharing capacity under the condition of only supporting a single PDN, and simultaneously ensures the data isolation.
After the inventive concept of the present application is introduced, the terminal device provided in the present application will be described below.
Fig. 1 shows a schematic structural diagram of a terminal device 100. It should be understood that the terminal device 100 shown in fig. 1 is only an example, and the terminal device 100 may have more or less components than those shown in fig. 1, may combine two or more components, or may have a different configuration of components. The various components shown in the figures may be implemented in hardware, software, or a combination of hardware and software, including one or more signal processing and/or application specific integrated circuits.
A block diagram of a hardware configuration of a terminal device 100 according to an exemplary embodiment is exemplarily shown in fig. 1. As shown in fig. 1, the terminal device 100 includes: a Radio Frequency (RF) circuit 110, a memory 120, a display unit 130, a camera 140, a sensor 150, an audio circuit 160, a Wireless Fidelity (Wi-Fi) module 170, a processor 180, a bluetooth module 181, and a power supply 190.
The RF circuit 110 may be used for receiving and transmitting signals during information transmission and reception or during a call, and may receive downlink data of a base station and then send the downlink data to the processor 180 for processing; the uplink data may be transmitted to the base station. In general, RF circuitry includes, but is not limited to, an antenna, at least one amplifier, a transceiver, a coupler, a low noise amplifier, a duplexer, and the like.
The memory 120 may be used to store software programs and data. The processor 180 performs various functions of the terminal device 100 and data processing by executing software programs or data stored in the memory 120. The memory 120 may include high speed random access memory and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid state storage device. The memory 120 stores an operating system that enables the terminal device 100 to operate. The memory 120 may store an operating system and various application programs, and may also store program codes for executing the method for dual-system network sharing according to the embodiment of the present application.
The display unit 130 may be used to receive input numeric or character information and generate signal input related to user settings and function control of the terminal device 100, and specifically, the display unit 130 may include a touch screen 131 disposed on the front surface of the terminal device 100 and may collect touch operations, such as button clicking, thereon or nearby by a user.
The display unit 130 may also be used to display a Graphical User Interface (GUI) of information input by or provided to the user and various menus of the terminal apparatus 100. Specifically, the display unit 130 may include a display screen 132 disposed on the front surface of the terminal device 100. The display screen 132 may be configured in the form of a liquid crystal display, a light emitting diode, or the like. The display unit 130 may be used to display a screen display area of the terminal device in the present application.
The touch screen 131 may cover the display screen 132, or the touch screen 131 and the display screen 132 may be integrated to implement the input and output functions of the terminal device 100, and after the integration, the touch screen may be referred to as a touch display screen for short. In the present application, the display unit 130 may display the application programs and the corresponding operation steps.
The camera 140 may be used to capture still images or video. The object generates an optical image through the lens and projects the optical image to the photosensitive element. The photosensitive element may be a Charge Coupled Device (CCD) or a complementary metal-oxide-semiconductor (CMOS) phototransistor. The light sensing elements convert the optical signals into electrical signals which are then passed to the processor 180 for conversion into digital image signals.
The terminal device 100 may further comprise at least one sensor 150, such as an acceleration sensor 151, a distance sensor 152, a fingerprint sensor 153, a temperature sensor 154. The terminal device 100 may also be configured with other sensors such as a gyroscope, barometer, hygrometer, thermometer, infrared sensor, light sensor, motion sensor, and the like.
The audio circuitry 160, speaker 161, microphone 162 may provide an audio interface between the user and the terminal device 100. The audio circuit 160 may transmit the electrical signal converted from the received audio data to the speaker 161, and convert the electrical signal into a sound signal for output by the speaker 161. The terminal device 100 may further be configured with a volume button for adjusting the volume of the sound signal, and may also be configured to combine other buttons to adjust the closed region. On the other hand, the microphone 162 converts the collected sound signal into an electrical signal, converts the electrical signal into audio data after being received by the audio circuit 160, and outputs the audio data to the RF circuit 110 to be transmitted to, for example, another terminal device, or outputs the audio data to the memory 120 for further processing.
Wi-Fi belongs to a short-distance wireless transmission technology, and the terminal device 100 can help a user to send and receive e-mails, browse webpages, access streaming media and the like through the Wi-Fi module 170, and provides wireless broadband internet access for the user.
The processor 180 is a control center of the terminal device 100, connects various parts of the entire terminal device using various interfaces and lines, and performs various functions of the terminal device 100 and processes data by running or executing software programs stored in the memory 120 and calling data stored in the memory 120. In some embodiments, processor 180 may include one or more processing units; the processor 180 may also integrate an application processor, which mainly handles operating systems, user interfaces, applications, etc., and a baseband processor, which mainly handles wireless communications. It will be appreciated that the baseband processor described above may not be integrated into the processor 180. In the present application, the processor 180 may run an operating system, an application program, a user interface display, a touch response, and the dual-system network sharing method according to the embodiments of the present application. Further, the processor 180 is coupled with the display unit 130.
And the bluetooth module 181 is configured to perform information interaction with other bluetooth devices having a bluetooth module through a bluetooth protocol. For example, the terminal device 100 may establish a bluetooth connection with a wearable electronic device (e.g., a smart watch) having a bluetooth module via the bluetooth module 181, so as to perform data interaction.
The terminal device 100 also includes a power supply 190 (such as a battery) for powering the various components. The power supply may be logically connected to the processor 180 through a power management system to manage charging, discharging, power consumption, etc. through the power management system. The terminal device 100 may also be configured with power buttons for powering the terminal device on and off, and for locking the screen.
Fig. 2 is a block diagram of a software structure of a terminal device 100 according to an embodiment of the present application.
The layered architecture divides the software into several layers, each layer having a clear role and division of labor. The layers communicate with each other through a software interface. In some embodiments, the Android system may be divided into four layers, an application layer, an application framework layer, an Android runtime (Android runtime) and system libraries, and a kernel layer, from top to bottom. The first subsystem and the second subsystem respectively use respective application program layers and application program framework layers, and the first subsystem and the second subsystem jointly use a system library and a kernel layer.
The application layer may include a series of application packages.
As shown in fig. 2, the application package may include phone, multimedia message, WiFi, WeChat, information, alarm, gallery, calendar, WLAN, etc. applications.
The application framework layer provides an Application Programming Interface (API) and a programming framework for the application program of the application layer. The application framework layer includes a number of predefined functions.
As shown in FIG. 2, the application framework layers may include a window manager, content provider, view system, phone manager, resource manager, notification manager, and the like.
The window manager is used for managing window programs. The window manager can obtain the size of the display screen, judge whether a status bar exists, lock the screen, intercept the screen and the like.
The content provider is used to store and retrieve data and make it accessible to applications. The data may include video, images, audio, dialed and received calls, browsing history and bookmarks, phone books, short messages, etc.
The view system includes visual controls such as controls to display text, controls to display pictures, and the like. The view system may be used to build applications. The display interface may be composed of one or more views. For example, the display interface including the short message notification icon may include a view for displaying text and a view for displaying a picture.
The phone manager is used to provide the communication function of the terminal device 100. Such as management of call status (including on, off, etc.).
The resource manager provides various resources, such as localized strings, icons, pictures, layout files, video files, etc., to the application.
The notification manager allows the application to display notification information (e.g., the message content of a short message) in the status bar, can be used to convey notification-type messages, can automatically disappear after a short dwell, and does not require user interaction. Such as a notification manager used to inform download completion, message alerts, etc. The notification manager may also be a notification that appears in the form of a chart or scroll bar text at the top status bar of the system, such as a notification of a background running application, or a notification that appears on the screen in the form of a dialog window. For example, text information is prompted in the status bar, a prompt tone is given, the terminal device vibrates, an indicator light flickers, and the like.
The Android Runtime comprises a core library and a virtual machine. The Android runtime is responsible for scheduling and managing an Android system.
The core library comprises two parts: one part is a function which needs to be called by java language, and the other part is a core library of android.
The application layer and the application framework layer run in a virtual machine. And executing java files of the application program layer and the application program framework layer into a binary file by the virtual machine. The virtual machine is used for performing the functions of object life cycle management, stack management, thread management, safety and exception management, garbage collection and the like.
The system library may include a plurality of functional modules. For example: a surface manager (surface manager), a Media library (Media Libraries), a three-dimensional graphics processing library (e.g., OpenGL ES), a 2D graphics engine (e.g., SGL), etc., where the system library further includes a shared service provided by the embodiment of the present application, and the first subsystem and the second subsystem share the shared service in the system library.
The surface manager is used to manage the display subsystem and provide fusion of 2D and 3D layers for multiple applications.
The media library supports a variety of commonly used audio, video format playback and recording, and still image files, among others. The media library may support a variety of audio-video encoding formats, such as MPEG4, h.264, MP3, AAC, AMR, JPG, PNG, and the like.
The three-dimensional graphic processing library is used for realizing three-dimensional graphic drawing, image rendering, synthesis, layer processing and the like.
A 2D (an animation mode) graphics engine is a drawing engine for 2D drawing.
The kernel layer is a layer between hardware and software. The inner core layer at least comprises a display driver, a camera driver, an audio driver, a sensor driver and a bottom layer driver.
Fig. 3 is a block diagram of another software structure of a terminal device according to an embodiment of the present disclosure.
As shown in fig. 3, the first subsystem and the second subsystem are two independent systems, which are not visible to each other. The first subsystem and the second subsystem are user interfaces provided for use by a user. The two unique services, such as PKMS (package management service), PMS (power management service), AMS (activity management service), etc., are operated in system libraries in their respective systems and are independent of each other. While some involve services of the hardware, both need to be synchronized and scheduled by the main system, the first subsystem and the second subsystem share the shared services of the main system.
The main system, the first subsystem and the second subsystem share the same kernel layer, the wireless interface guard only exists in the sharing service of the main system, and the sharing service is in the system library layer of the main system. The network daemon is respectively provided with one of the main system, the first subsystem and the second subsystem, the network daemon under the main system manages a real network, and meanwhile, the network daemon manages to virtualize a corresponding network and transfer the network to the first subsystem and the second subsystem. The network daemon of the first subsystem and the second subsystem manages the network virtualized by the main system.
The terminal 100 in the embodiment of the present application may be an electronic device including, but not limited to, a smart phone, a tablet computer, a wearable electronic device (e.g., a smart watch), a notebook computer, and the like.
In order to facilitate understanding of the method for dual system network sharing provided in the embodiments of the present application, the following description is further made with reference to the accompanying drawings. The method for network sharing of the dual systems is applicable to network communication modes such as mobile data network communication, WIFI network communication and multimedia message communication.
Referring to fig. 4, a timing diagram for establishing a network data connection for a single system terminal device is shown. To facilitate understanding of the method for network sharing between two systems provided in the embodiment of the present application, a description is first given to a process of establishing a network data connection by a single system terminal device with reference to fig. 4.
In step E1, the application at the application layer sends a network request to the connection service of the system.
In step E2, the connection service receives the network request and sends it to the network factory that provides the data service.
In step E3, the network factory sends the received network request to the connection trace.
In step E4, the connection trace sends a network request to the wireless interface of the host system.
In step E5, the wireless interface sends a connection request to establish a data connection to the target network based on the network request and returns a network reply to the connection trace for the connection request.
The connection request is a request for applying IP (Internet Protocol Address) configuration and radio resources to a target network through an APN (access point name) provided by an operator.
In step E6, the connection trace configures and reports the connection attributes to the network factory providing the data service, which reports the connection attributes to the connection service.
The connection attribute is parameters such as an IP address, a gateway, a DNS (Domain Name Server), and an MTU (Maximum Transmission Unit).
In step E7, the connection service invokes the network management service based on the connection attributes, and the network management service invokes the network daemon to configure the network and routing information.
After the steps shown in fig. 4, as shown in fig. 5, the single system terminal device provides the application different networks for the user to use, each network has a corresponding ID and a corresponding network object, which correspond to different IP configurations, routes, network ports, and the like, and the user can obtain and use the corresponding network through the connection service. The single system terminal device has only one system, so the connection service and the network guard in fig. 5 are both in the system library layer of the system, the kernel layer of the system has the network ports and the routing tables corresponding to each network, and the kernel layer is configured with the policy routing, which can select the routing table and the corresponding network port according to the policy routing, so that the user can obtain and use the correct network through the connection service.
After understanding the process of establishing the network data connection by the single-system terminal device, the process of the method for dual-system network sharing provided in the embodiment of the present application is further described with reference to fig. 6. As shown in fig. 6, the dual system includes a first subsystem and a second subsystem, the first subsystem and the second subsystem operate in the main system, and the method is applied to the main system, and includes the following steps:
in step 601, a network request sent by any one of the first subsystem and the second subsystem for a target network is received.
In step 602, a connection request is sent to a target network based on a network request.
In step 603, a network reply sent by the target network for the connection request is received.
In step 604, based on the network reply, main system network information for the main system is established, and first virtual network information for the first subsystem and second virtual network information for the second subsystem are established.
The system comprises a host system, a target network and a host system, wherein the host system network information comprises a communication network port for the target network and a host system routing strategy, the first virtual network information comprises a first virtual network port and a first routing strategy for the target network, and the second virtual network information comprises a second virtual network port and a second routing strategy for the target network; the first routing strategy is used for sending communication data aiming at a target network to a first virtual network port, the second routing strategy is used for sending the communication data aiming at the target network to a second virtual network port, the main system routing strategy comprises a first network pair route and a second network pair route, the first network pair route is used for handing communication data received from the first virtual network port to the communication network port for processing, and the second network pair route is used for handing communication data received from the second virtual network port to the communication network port for processing.
In a possible implementation manner, in this embodiment, the first virtual network port for the target network includes a first virtual subnet port of the first subsystem and a first virtual subnet port of the main system, and the first virtual subnet port of the first subsystem exists in the first subsystem; a first virtual sub-network port of the main system exists in the main system, the first virtual sub-network port of the first subsystem is configured with a first Internet Protocol (IP) address of a target network, and the first virtual sub-network port of the main system is configured with a second IP address of the target network;
the second virtual network port of the target network comprises a second virtual sub-network port of a second subsystem and a second virtual sub-network port of the main system, and the second virtual sub-network port of the second subsystem exists in the second subsystem; the second virtual sub-network port of the main system exists in the main system, the second virtual sub-network port of the second sub-system is configured with a third IP address of the target network, and the second virtual network port of the main system is configured with a fourth IP address of the target network.
Illustratively, if two systems use the same APN to initiate dialing, i.e. the dual systems use the same target network, a schematic diagram of a network structure established based on network response is shown in fig. 7, and if two systems use different APNs to initiate dialing and the dual systems use different target networks, a schematic diagram of a network structure is shown in fig. 8.
As shown in fig. 7, when the first subsystem and the second subsystem send network requests to the same target network, a communication port of the main system to the target network is established based on the network response, and a first virtual port for the first subsystem and a second virtual port for the second subsystem are established. As shown in fig. 8, when the first subsystem and the second subsystem send network requests to different target networks, based on the network responses, communication ports of the two different main systems to the target networks are established, and a first virtual port for the first subsystem and a second virtual port for the second subsystem are established.
The first virtual sub-network port used for the first subsystem comprises a first virtual sub-network port of the first subsystem and a first virtual sub-network port of the main system, and the first virtual sub-network port of the first subsystem exists in the first subsystem; the first virtual sub-network port of the main system exists in the main system, the first virtual sub-network port of the first subsystem is configured with a first Internet Protocol (IP) address of the target network, and the first virtual sub-network port of the main system is configured with a second IP address of the target network. The second virtual network port for the second subsystem comprises a second virtual sub-network port of the second subsystem and a second virtual sub-network port of the main system, and the second virtual sub-network port of the second subsystem exists in the second subsystem; the second virtual sub-network port of the main system exists in the main system, the second virtual sub-network port of the second sub-system is configured with a third IP address of the target network, and the second virtual network port of the main system is configured with a fourth IP address of the target network.
And the first virtual sub-network port of the first subsystem and the first virtual sub-network port of the main system, the second virtual sub-network port of the second subsystem and the second virtual sub-network port of the main system are connected through a Veth pair (a pair of virtual device interfaces). When the first virtual sub-network port of the first subsystem sends communication data to the main system, the communication data can be sent to the first virtual sub-network port of the main system through the Veth _ path, the first IP address of the first virtual sub-network port of the first subsystem and the second IP address of the first virtual sub-network port of the main system; when the second virtual subnet port of the second subsystem sends communication data to the main system, the communication data may be sent to the second virtual subnet port of the main system through the Veth path, the third IP address of the second virtual subnet port of the second subsystem, and the fourth IP address of the second virtual subnet port of the main system.
Therefore, different IP addresses can be configured for the virtual sub-network ports, and the virtual sub-network ports corresponding to the sub-system and the main system are connected by using the Veth pair, so that the communication data are prevented from being transmitted to wrong virtual network ports, the error rate of the communication data transmission is reduced, and the transmission efficiency of the communication data is improved.
In a possible implementation, after establishing main system network information for a main system based on a network response, and establishing first virtual network information for a first subsystem and second virtual network information for a second subsystem, IP addresses of a first virtual subnet port of the main system, a second virtual subnet port of the main system, and a communication network port are different, so that the first virtual subnet port of the main system and the second virtual subnet port of the main system may receive communication data sent by the first virtual subnet port of the first subsystem based on the first virtual subnet port of the main system in order to transmit the communication data to a hardware device through the communication network port of the main system, where an IP address of the communication data is a first IP address of the first virtual subnet port of the main system; after the IP address of the communication data is replaced by the IP address of the communication network port, the communication data is sent to a target network through the communication network port; receiving communication data sent by a second virtual sub-network port of a second subsystem based on a second virtual sub-network port of the main system, wherein the IP address of the communication data is a fourth IP address of the second virtual sub-network port of the main system; and after the IP address of the communication data is replaced by the IP address of the communication network port, the communication data is sent to the target network through the communication network port.
Illustratively, as shown in fig. 7 and 8, the first virtual sub-interface and the second virtual sub-interface of the host system are IP Address-translated with the communication Network of the host system using NAT (Network Address translation).
Therefore, the first IP address of the first virtual sub-interface of the main system can be converted into the IP address of the communication network port of the main system, and the fourth IP address of the second virtual sub-interface of the main system can be converted into the IP address of the communication network port of the main system, so that the communication data of the first subsystem and the second subsystem can be conveniently sent to the hardware equipment through the main system.
In a possible implementation manner, before establishing the first virtual network information for the first subsystem and the second virtual network information for the second subsystem, in order to ensure that the main system network information for the main system is already established in the main system, in an embodiment of the present application, a listener for the first event may be registered in advance in a boot process; the first event is used for indicating that the network information of the main system is established; and if the first event reported by the bottom layer driver is monitored based on the monitor, executing a step of establishing main system network information for the main system based on network response.
Therefore, the main system network information for the main system is ensured to be established in the main system, the main system can be ensured to receive the network data sent by the subsystem, and the network data can be sent through the established communication network port for the main system.
In a possible implementation manner, after receiving a network response sent by a target network for a connection request in an embodiment of the present application, in order to identify whether the network response is a network response of a first subsystem or a network response of a second subsystem, in the embodiment of the present application, a system identifier of the network response may be obtained based on the network response; if the system identification of the network response comprises the system identification of the first subsystem, the network response is sent to the first subsystem; and if the system identification of the network response comprises the system identification of the second subsystem, sending the network response to the second subsystem. Therefore, the network response can be ensured to be correctly sent to the first subsystem or the second subsystem which sends the network request.
In a possible implementation manner, an embodiment of the present application further provides a method for network sharing of a dual system, where the dual system includes a first subsystem and a second subsystem, and the first subsystem and the second subsystem operate in a main system, and the method is applied to any one of the first subsystem and the second subsystem, and specifically includes: sending a network request to the host system for the target network to cause the host system to perform the following operations: receiving a network response sent by a target network, establishing main system network information for a main system based on the network response, and establishing first virtual network information for a first subsystem and second virtual network information for a second subsystem; the main system network information comprises a communication network port aiming at a target network and a main system routing strategy, the first virtual network information comprises a first virtual network port aiming at the target network and a first routing strategy, and the second virtual network information comprises a second virtual network port aiming at the target network and a second routing strategy; the first routing strategy is used for sending communication data aiming at a target network to a first virtual network port, the second routing strategy is used for sending the communication data aiming at the target network to a second virtual network port, the main system routing strategy comprises a first network pair route and a second network pair route, the first network pair route is used for handing communication data received from the first virtual network port to the communication network port for processing, and the second network pair route is used for handing communication data received from the second virtual network port to the communication network port for processing; and receiving the network response sent by the host system.
In a possible implementation manner, after main system network information for a main system is established based on a network response, and first virtual network information for a first subsystem and second virtual network information for a second subsystem are established, and actual network communication is performed, in order to ensure smooth transmission of communication data, in an embodiment of the present application, it is first required to determine whether a state of a virtual network port of the subsystem that transmits the communication data is in a closed state; and if the subsystem is in the closed state, sending a communication instruction to the virtual network port of the subsystem to enable the virtual network port of the subsystem to be converted into a communication state from the closed state. If not, the communication data can be directly sent from the virtual network port of the subsystem to the virtual network port of the main system.
Therefore, the virtual network information is respectively established for the second subsystem and the first subsystem, and the two systems can simultaneously use the same target network to establish a data network and can also use different target networks to establish different data networks by communicating the corresponding virtual network information with the network information of the main system.
To further understand the method for dual-system network sharing provided in this embodiment of the present application, the method for dual-system network sharing provided in this embodiment of the present application is described below with reference to fig. 9, taking the first subsystem as an example to establish a network data connection. Fig. 9 is a timing diagram illustrating establishment of a network data connection by a dual-system terminal device according to an embodiment of the present application.
In step S1, the application of the application layer sends a network request to the connection service of the first subsystem.
In step S2, the connection service of the first subsystem receives the network request and sends it to the network factory of the first subsystem that provides the data service.
In step S3, the network factory of the first subsystem sends the received network request to the connection trace of the first subsystem.
In step S4, the connection trace of the first subsystem sends a network request to the wireless interface proxy of the first subsystem.
In step S5, the wireless interface proxy transmits a network request to the wireless interface of the host system.
In step S6, the wireless interface of the main system transmits a connection request for establishing a data connection to the target network based on the network request, receives a network reply transmitted by the target network for the connection request, and transmits the network reply for the connection request to the network daemon of the main system, so that the network daemon of the main system establishes main system network information for the main system and first virtual network information for the first subsystem and second virtual network information for the second subsystem based on the network reply.
In step S7, the wireless interface of the main system transmits a network reply to the connection request to the wireless interface proxy of the first subsystem.
In step S8, the wireless interface proxy of the first subsystem returns a network reply to the connection trace of the first subsystem for the connection request.
In step S9, the connection trace of the first subsystem configures the connection attribute and reports the connection attribute to the network factory of the first subsystem, which provides the data service, and the network factory of the first subsystem reports the connection attribute to the connection service of the first subsystem.
In step S10, the connection service of the first subsystem invokes the network management service of the first subsystem according to the connection attribute, and the network management service of the first subsystem invokes the network daemon configuration network and the routing information of the first subsystem.
Thus, fig. 9 shows the complete process from the first subsystem issuing a request to establish a network to the completion of the network data connection.
Based on the foregoing description, in the embodiments of the present application, a network request sent by any one of a first subsystem and a second subsystem for a target network is received; sending a connection request to a target network based on the network request; receiving a network response sent by a target network aiming at the connection request; based on the network response, establishing main system network information for the main system, and establishing first virtual network information for the first subsystem and second virtual network information for the second subsystem; the main system network information comprises a communication network port aiming at a target network and a main system routing strategy, the first virtual network information comprises a first virtual network port aiming at the target network and a first routing strategy, and the second virtual network information comprises a second virtual network port aiming at the target network and a second routing strategy; the first routing strategy is used for sending communication data aiming at a target network to a first virtual network port, the second routing strategy is used for sending the communication data aiming at the target network to a second virtual network port, the main system routing strategy comprises a first network pair route and a second network pair route, the first network pair route is used for handing communication data received from the first virtual network port to the communication network port for processing, and the second network pair route is used for handing communication data received from the second virtual network port to the communication network port for processing.
Therefore, the virtual network information is respectively established for the second subsystem and the first subsystem, and the two systems can simultaneously use the same target network to establish a data network and can also use different target networks to establish different data networks by communicating the corresponding virtual network information with the network information of the main system. The method not only meets the sharing of the network capacity of the double systems, but also ensures the isolation of the network data of the double systems, does not depend on the support of multiple PDNs, still can provide the network sharing capacity under the condition of only supporting a single PDN, and simultaneously ensures the data isolation.
In an exemplary embodiment, the present application also provides a computer readable storage medium comprising instructions, such as the memory 120 comprising instructions, which are executable by the processor 180 of the terminal device 100 to perform the above-mentioned dual system network sharing method. Alternatively, the computer readable storage medium may be a non-transitory computer readable storage medium, for example, which may be a ROM, a Random Access Memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, an optical data storage device, and the like.
In an exemplary embodiment, a computer program product is also provided, comprising a computer program which, when executed by the processor 180, implements the method of dual system network sharing as provided herein.
As will be appreciated by one skilled in the art, embodiments of the present application may be provided as a method, system, or computer program product. Accordingly, the present application may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present application may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
The present application is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to the application. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
It will be apparent to those skilled in the art that various changes and modifications may be made in the present application without departing from the spirit and scope of the application. Thus, if such modifications and variations of the present application fall within the scope of the claims of the present application and their equivalents, the present application is intended to include such modifications and variations as well.
Claims (10)
1. A method for dual system network sharing, wherein the dual system includes a first subsystem and a second subsystem, the first subsystem and the second subsystem operate in a main system, and the method is applied to the main system, and includes:
receiving a network request sent by any one of the first subsystem and the second subsystem aiming at a target network;
sending a connection request to the target network based on the network request;
receiving a network response sent by the target network for the connection request;
based on the network response, establishing main system network information for the main system, and establishing first virtual network information for the first subsystem and second virtual network information for the second subsystem; the main system network information comprises a communication network port aiming at the target network and a main system routing strategy, the first virtual network information comprises a first virtual network port aiming at the target network and a first routing strategy, and the second virtual network information comprises a second virtual network port aiming at the target network and a second routing strategy; the first routing policy is used for sending communication data for the target network to the first virtual network port, the second routing policy is used for sending communication data for the target network to the second virtual network port, the main system routing policy comprises a first network pair route and a second network pair route, the first network pair route is used for handing communication data received from the first virtual network port to the communication network port for processing, and the second network pair route is used for handing communication data received from the second virtual network port to the communication network port for processing.
2. The method of claim 1, wherein establishing the first virtual network information for the first subsystem and the second virtual network information for the second subsystem comprises:
in a starting-up process, registering a monitor of a first event in advance; the first event is used for indicating that the main system network information of the main system is established;
and if the first event reported by the bottom driver is monitored based on the listener, executing the step of establishing main system network information for the main system based on the network response.
3. The method of claim 1, further comprising:
acquiring a system identifier of the network response based on the network response;
if the system identifier of the network response comprises the system identifier of the first subsystem, the network response is sent to the first subsystem;
and if the system identification of the network response comprises the system identification of the second subsystem, sending the network response to the second subsystem.
4. The method of claim 1, wherein the first virtual network port for the target network comprises a first virtual sub-network port of the first subsystem and a first virtual sub-network port of the main system, and wherein the first virtual sub-network port of the first subsystem exists in the first subsystem; a first virtual sub-network port of the main system exists in the main system, the first virtual sub-network port of the first subsystem is configured with a first Internet Protocol (IP) address of the target network, and the first virtual sub-network port of the main system is configured with a second IP address of the target network;
the second virtual network port for the target network comprises a second virtual sub-network port of the second subsystem and a second virtual sub-network port of the main system, and the second virtual sub-network port of the second subsystem exists in the second subsystem; and a second virtual sub-network port of the main system exists in the main system, the second virtual sub-network port of the second sub-system is configured with a third IP address of the target network, and the second virtual sub-network port of the main system is configured with a fourth IP address of the target network.
5. The method of claim 4, wherein after establishing the host system network information for the host system and establishing the first virtual network information for the first subsystem and the second virtual network information for the second subsystem based on the network reply, the method further comprises:
receiving communication data sent by a first virtual sub-network port of the first subsystem based on the first virtual sub-network port of the main system, wherein the IP address of the communication data is a first IP address of the first virtual sub-network port of the main system; after the IP address of the communication data is replaced by the IP address of the communication network port, the communication data is sent to the target network through the communication network port;
receiving communication data sent by a second virtual sub-network port of the second subsystem based on a second virtual sub-network port of the main system, wherein an IP address of the communication data is a fourth IP address of the second virtual sub-network port of the main system; and after the IP address of the communication data is replaced by the IP address of the communication network port, the communication data is sent to the target network through the communication network port.
6. A method for network sharing of dual systems, wherein the dual systems comprise a first subsystem and a second subsystem, the first subsystem and the second subsystem operate in a main system, the method is applied to any one of the first subsystem and the second subsystem, and comprises:
sending a network request to a host system aiming at a target network so that the host system executes the following operations: receiving a network response sent by the target network, establishing main system network information for the main system based on the network response, and establishing first virtual network information for the first subsystem and second virtual network information for the second subsystem; the main system network information comprises a communication network port aiming at the target network and a main system routing strategy, the first virtual network information comprises a first virtual network port aiming at the target network and a first routing strategy, and the second virtual network information comprises a second virtual network port aiming at the target network and a second routing strategy; the first routing policy is used for sending communication data aiming at the target network to the first virtual network port, the second routing policy is used for sending communication data aiming at the target network to the second virtual network port, the main system routing policy comprises a first network pair route and a second network pair route, the first network pair route is used for handing communication data received from the first virtual network port to the communication network port for processing, and the second network pair route is used for handing communication data received from the second virtual network port to the communication network port for processing;
and receiving the network response sent by the main system.
7. The method of claim 6, further comprising:
determining whether the state of a virtual network port of a subsystem is in a closed state;
and if the subsystem is in the closed state, sending a communication instruction to the virtual network port of the subsystem so as to convert the virtual network port of the subsystem from the closed state to the communication state.
8. A terminal device, comprising:
a display, a processor, and a memory;
the display is used for displaying a screen display area;
the memory to store the processor-executable instructions;
the processor is configured to execute the instructions to implement the dual system network sharing method of any of claims 1-7.
9. A computer-readable storage medium, wherein instructions in the computer-readable storage medium, when executed by a terminal device, enable the terminal device to perform the dual-system network sharing method of any one of claims 1-7.
10. A computer program product, comprising a computer program to:
the computer program, when executed by a processor, implements the method of dual system network sharing of any of claims 1-7.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202210319834.3A CN114666395B (en) | 2022-03-29 | 2022-03-29 | Dual-system network sharing method and device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202210319834.3A CN114666395B (en) | 2022-03-29 | 2022-03-29 | Dual-system network sharing method and device |
Publications (2)
Publication Number | Publication Date |
---|---|
CN114666395A true CN114666395A (en) | 2022-06-24 |
CN114666395B CN114666395B (en) | 2024-03-08 |
Family
ID=82034201
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202210319834.3A Active CN114666395B (en) | 2022-03-29 | 2022-03-29 | Dual-system network sharing method and device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN114666395B (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN115567634A (en) * | 2022-09-05 | 2023-01-03 | 青岛海信移动通信技术股份有限公司 | Network management method, device, equipment and storage medium |
Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20110162062A1 (en) * | 2009-12-28 | 2011-06-30 | Arkesh Kumar | Systems and methods for a vpn ica proxy on a multi-core system |
US20130107889A1 (en) * | 2011-11-02 | 2013-05-02 | International Business Machines Corporation | Distributed Address Resolution Service for Virtualized Networks |
CN106487695A (en) * | 2015-08-25 | 2017-03-08 | 华为技术有限公司 | A kind of data transmission method, virtual network managing device and data transmission system |
CN106506228A (en) * | 2016-11-29 | 2017-03-15 | 北京元心科技有限公司 | Method for sharing mobile network in multiple systems and terminal system |
CN106789931A (en) * | 2016-11-29 | 2017-05-31 | 北京元心科技有限公司 | The Network Isolation sharing method and device of multisystem |
CN109245983A (en) * | 2017-07-11 | 2019-01-18 | 阿里巴巴集团控股有限公司 | A kind of connection method of virtual network device, routing device and virtual network |
US20190297656A1 (en) * | 2016-11-01 | 2019-09-26 | Huizhou Tcl Mobile Communication Co.,Ltd. | Network sharing method, network accessing method and system |
US10645020B1 (en) * | 2017-01-30 | 2020-05-05 | Amazon Technologies, Inc. | Virtual networking for compute instances |
-
2022
- 2022-03-29 CN CN202210319834.3A patent/CN114666395B/en active Active
Patent Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20110162062A1 (en) * | 2009-12-28 | 2011-06-30 | Arkesh Kumar | Systems and methods for a vpn ica proxy on a multi-core system |
US20130107889A1 (en) * | 2011-11-02 | 2013-05-02 | International Business Machines Corporation | Distributed Address Resolution Service for Virtualized Networks |
CN106487695A (en) * | 2015-08-25 | 2017-03-08 | 华为技术有限公司 | A kind of data transmission method, virtual network managing device and data transmission system |
US20190297656A1 (en) * | 2016-11-01 | 2019-09-26 | Huizhou Tcl Mobile Communication Co.,Ltd. | Network sharing method, network accessing method and system |
CN106506228A (en) * | 2016-11-29 | 2017-03-15 | 北京元心科技有限公司 | Method for sharing mobile network in multiple systems and terminal system |
CN106789931A (en) * | 2016-11-29 | 2017-05-31 | 北京元心科技有限公司 | The Network Isolation sharing method and device of multisystem |
US10645020B1 (en) * | 2017-01-30 | 2020-05-05 | Amazon Technologies, Inc. | Virtual networking for compute instances |
CN109245983A (en) * | 2017-07-11 | 2019-01-18 | 阿里巴巴集团控股有限公司 | A kind of connection method of virtual network device, routing device and virtual network |
Non-Patent Citations (2)
Title |
---|
周霆;郭芳超;: "一种应用于分区操作系统的虚拟化SOCKET通信方法", 科技风, no. 08, 30 April 2017 (2017-04-30) * |
康亚坤;: "计算机网络安全中虚拟网络技术的应用", 电脑编程技巧与维护, no. 11, 3 June 2017 (2017-06-03) * |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN115567634A (en) * | 2022-09-05 | 2023-01-03 | 青岛海信移动通信技术股份有限公司 | Network management method, device, equipment and storage medium |
CN115567634B (en) * | 2022-09-05 | 2024-03-29 | 青岛海信移动通信技术有限公司 | Network management method, device, equipment and storage medium |
Also Published As
Publication number | Publication date |
---|---|
CN114666395B (en) | 2024-03-08 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN111818669B (en) | Mobile terminal and data transmission method thereof | |
US11172530B2 (en) | Communication establishment method and terminal | |
EP4013003A1 (en) | Communication protocol switching method, apparatus and system | |
US20230422154A1 (en) | Method for using cellular communication function, and related apparatus and system | |
US20230209438A1 (en) | Data Transmission Method and Electronic Device | |
CN111294884A (en) | Communication terminal supporting dual-card dual-standby single-pass and data service switching method | |
CN114666864A (en) | Multi-network communication method, terminal device, storage medium, and program product | |
CN114679752B (en) | Method for sharing wireless communication capability by double systems and terminal equipment | |
CN114201130A (en) | Screen projection method and device and storage medium | |
CN113727289A (en) | Electronic equipment and communication method | |
CN114666395B (en) | Dual-system network sharing method and device | |
CN112583822B (en) | Communication apparatus and communication method | |
CN112825072A (en) | Communication terminal and data sharing method | |
CN114675786A (en) | Large-capacity storage mounting method, device, terminal and medium | |
CN113543366B (en) | Mobile terminal and call method, call server and call system thereof | |
CN111600862B (en) | User account management method and device | |
CN114007202A (en) | Method for establishing binding relationship and related equipment | |
CN115802516A (en) | Wi-Fi direct communication method and device | |
CN114071652A (en) | Method for establishing binding relationship and related equipment | |
CN115150265B (en) | Dual-system data processing method, device and apparatus | |
CN115297467B (en) | Data domain switching method, device, terminal equipment and medium | |
CN114595203B (en) | File synchronization method based on dual systems, terminal equipment and storage medium | |
WO2023024589A1 (en) | Request processing method and related apparatus | |
CN110213319B (en) | Access method and device, terminal, server and storage medium | |
WO2024131878A1 (en) | Screen-mirroring method, electronic device, and system |
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 | ||
CB02 | Change of applicant information |
Country or region after: China Address after: 266071 Shandong city of Qingdao province Jiangxi City Road No. 11 Applicant after: Qingdao Hisense Mobile Communication Technology Co.,Ltd. Address before: 266071 Shandong city of Qingdao province Jiangxi City Road No. 11 Applicant before: HISENSE MOBILE COMMUNICATIONS TECHNOLOGY Co.,Ltd. Country or region before: China |
|
CB02 | Change of applicant information | ||
GR01 | Patent grant | ||
GR01 | Patent grant |