CN115150447A - Network connection method and device, terminal device and storage medium - Google Patents

Network connection method and device, terminal device and storage medium Download PDF

Info

Publication number
CN115150447A
CN115150447A CN202110338350.9A CN202110338350A CN115150447A CN 115150447 A CN115150447 A CN 115150447A CN 202110338350 A CN202110338350 A CN 202110338350A CN 115150447 A CN115150447 A CN 115150447A
Authority
CN
China
Prior art keywords
operating system
network
network connection
wireless
proxy
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
Application number
CN202110338350.9A
Other languages
Chinese (zh)
Inventor
杨旭
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Guangdong Oppo Mobile Telecommunications Corp Ltd
Original Assignee
Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Guangdong Oppo Mobile Telecommunications Corp Ltd filed Critical Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority to CN202110338350.9A priority Critical patent/CN115150447A/en
Publication of CN115150447A publication Critical patent/CN115150447A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/14Session management
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W76/00Connection management
    • H04W76/10Connection setup

Abstract

A network connection method and device, terminal equipment and storage medium are provided, the method is applied to the terminal equipment, the terminal equipment is provided with a first operating system and a second operating system, the first operating system is in communication connection with the second operating system, the method comprises the following steps: under the condition that the second operating system establishes wireless network connection with the target network equipment through the wireless module, the first operating system sends a network proxy request to the second operating system; the second operating system establishes network proxy connection between the second operating system and the first operating system according to the network proxy request; the first operating system is connected with the target network device through the network proxy and performs wireless data transmission with the target network device through the second operating system. By implementing the embodiment of the application, different operating systems of the terminal equipment can be connected with the network together through one set of wireless module, so that the risk of network connection interruption is reduced, and the stability and reliability of network connection of the terminal equipment are improved.

Description

Network connection method and device, terminal device and storage medium
Technical Field
The present application relates to the field of communications technologies, and in particular, to a network connection method and apparatus, a terminal device, and a storage medium.
Background
Currently, a plurality of processor cores can be disposed on a terminal device (such as a mobile phone, a tablet computer, a smart wearable device, etc.), so that a plurality of operating systems can be installed. However, in practice, it is found that, for the situation that the terminal device has multiple operating systems, each operating system can only be connected to the network independently, and such a network connection mode usually needs to restart its network connection module (such as a wireless module) when the terminal device switches the operating systems, that is, the network is disconnected first and then the networking is performed on another operating system again, which inevitably causes network connection interruption, and greatly reduces the stability and reliability of the network connection of the terminal device.
Disclosure of Invention
The embodiment of the application discloses a network connection method and device, terminal equipment and a storage medium, so that different operating systems of the terminal equipment can be connected with a network together through a set of wireless modules, the risk of network connection interruption is reduced, and the stability and reliability of network connection of the terminal equipment are improved.
A first aspect of an embodiment of the present application discloses a network connection method, which is applied to a terminal device, where the terminal device has a first operating system and a second operating system, and the first operating system is in communication connection with the second operating system, and the method includes:
under the condition that the second operating system establishes wireless network connection with target network equipment through a wireless module, the first operating system sends a network agent request to the second operating system;
the second operating system establishes network proxy connection between the second operating system and the first operating system according to the network proxy request;
and the first operating system is connected with the target network equipment through the network proxy and performs wireless data transmission with the target network equipment through the second operating system.
A second aspect of the embodiments of the present application discloses a network connection device, which is applied to a terminal device, where the terminal device has a first operating system and a second operating system, the first operating system is in communication connection with the second operating system, and the network connection device includes:
the proxy request unit is used for sending a network proxy request to the second operating system by the first operating system under the condition that the second operating system establishes wireless network connection with target network equipment through a wireless module;
the proxy establishing unit is used for the second operating system to establish network proxy connection between the second operating system and the first operating system according to the network proxy request;
and the data transmission unit is used for the first operating system to perform wireless data transmission with the target network equipment through the second operating system through the network proxy connection.
A third aspect of the embodiments of the present application discloses a terminal device, which includes a memory and a processor, where the memory stores a computer program, and when the computer program is executed by the processor, the processor is enabled to implement all or part of the steps in any one of the network connection methods disclosed in the first aspect of the embodiments of the present application.
A fourth aspect of the embodiments of the present application discloses a computer-readable storage medium, on which a computer program is stored, where the computer program, when executed by a processor, implements all or part of the steps in any one of the network connection methods disclosed in the first aspect of the embodiments of the present application.
Compared with the related art, the embodiment of the application has the following beneficial effects:
in this embodiment, the terminal device may have a first operating system and a second operating system, and a communication connection may be established between the two operating systems, where the second operating system may also establish a wireless network connection with a target network device other than the terminal device through a wireless module of the terminal device. Under the condition that the second operating system establishes wireless network connection with the target network device through the wireless module, the first operating system of the terminal device sends a network proxy request to the second operating system, and the second operating system can establish network proxy connection between the two operating systems according to the network proxy request, so that the first operating system can perform wireless data transmission with the target network device through the second operating system through the network proxy connection. Therefore, by implementing the embodiment of the application, the network connection of the dual operating systems of the terminal equipment can be realized by using a set of wireless modules in a manner of establishing the network proxy connection with the first operating system in the second operating system. The network connection mode can ensure that the terminal equipment has at least one set of operating system to keep network connection through the wireless module, even if the operating system needs to be switched, the wireless module does not need to be restarted, corresponding wireless data transmission is carried out only through an agent, the network connection is not needed to be interrupted temporarily, the networking requirements of the terminal equipment dual-operating system are met, and the stability and the reliability of the network connection of the terminal equipment are effectively improved.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings needed to be used in the embodiments will be briefly described below, and it is obvious that the drawings in the following description are only some embodiments of the present application, and it is obvious for those skilled in the art that other drawings can be obtained according to the drawings without creative efforts.
Fig. 1 is a schematic view of an application scenario of a network connection method disclosed in an embodiment of the present application;
fig. 2 is a schematic block diagram of a terminal device disclosed in an embodiment of the present application;
fig. 3 is a timing diagram of a network connection method disclosed in an embodiment of the present application;
fig. 4 is a flowchart illustrating a network connection method according to an embodiment of the present application;
fig. 5 is a schematic flow chart illustrating another network connection method disclosed in the embodiments of the present application;
fig. 6 is a flowchart illustrating a further network connection method disclosed in an embodiment of the present application;
fig. 7 is a flowchart illustrating a further network connection method disclosed in an embodiment of the present application;
FIG. 8 is a block diagram of a network connection device according to an embodiment of the present disclosure;
fig. 9 is a schematic block diagram of another terminal device disclosed in an embodiment of the present application.
Detailed Description
The technical solutions in the embodiments of the present application will be described clearly and completely with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are only some embodiments of the present application, and not all embodiments. All other embodiments obtained by a person of ordinary skill in the art based on the embodiments in the present application without making any creative effort belong to the protection scope of the present application.
It should be noted that the terms "comprises" and "comprising," and any variations thereof, in the embodiments of the present application, are intended to cover a non-exclusive inclusion, such that a process, method, system, article, or apparatus that comprises a list of steps or elements is not necessarily limited to those steps or elements expressly listed, but may include other steps or elements not expressly listed or inherent to such process, method, article, or apparatus.
The embodiment of the application discloses a network connection method and device, terminal equipment and a storage medium, which can realize network connection of double operating systems of the terminal equipment through a set of wireless modules, thereby reducing the power consumption of the terminal equipment.
The following detailed description is made with reference to the accompanying drawings.
Referring to fig. 1, fig. 1 is a schematic view of an application scenario of a network connection method disclosed in an embodiment of the present application, and includes a terminal device 10 and a target network device 20. A wireless module (not shown) may be disposed on the terminal device 10, and the terminal device 10 may establish a wireless network connection with the target network device 20 through the wireless module. Specifically, the terminal device 10 may have an operating system installed thereon, and a user may set networking on the operating system, or the operating system may automatically initiate networking to communicate with the target network device 20 through the wireless module, so as to establish a wireless network connection.
For example, the terminal device 10 may include various devices or systems with wireless communication functions, such as a mobile phone, a smart wearable device, an in-vehicle terminal, a tablet Computer, a PC (Personal Computer), a PDA (Personal Digital Assistant), and the like, and is not limited in this embodiment. It should be noted that the terminal device 10 shown in fig. 1 is a watch, which is merely an example and does not constitute a limitation on the device type of the terminal device 10 in the embodiment of the present application. The target network device 20 may include network devices such as base stations based on various mobile communication technologies, and correspond to Wireless network types that the Wireless module on the terminal device 10 can be connected to, for example, a Wi-Fi (Wireless Fidelity ) router, an LTE (Long Term Evolution, long Term Evolution) base station, an NR (New Radio) base station, and the like. In some embodiments, the target network device 20 may further include other terminal devices capable of establishing a wireless network connection with the terminal device 10, such as a terminal device capable of providing a Wi-Fi signal as a Wi-Fi hotspot, a terminal device capable of providing a bluetooth signal as a bluetooth signal transceiver, and so on.
Referring to fig. 2, fig. 2 is a schematic diagram illustrating a modularization of a terminal device according to an embodiment of the present disclosure. As shown in fig. 2, the terminal device 10 may have a first operating system 101 and a second operating system 102, where the first operating system 101 and the second operating system 102 may be communicatively connected, and the second operating system 102 may establish a wireless network connection with the target network device 20 through the wireless module 11 of the terminal device 10.
In one embodiment, the terminal device 10 may have at least two processor cores, and the two processor cores may be respectively disposed on two processors, or may be disposed on the same processor (i.e., a multi-core processor). Furthermore, each processor core may run an operating system and execute instructions corresponding to the operating system. As shown in fig. 2, the first operating system 101 may run on the first kernel 12, the second operating system 102 may run on the second kernel 13, and a communication channel may be provided between the first kernel 12 and the second kernel 13, so that the first operating system 101 and the second operating system 102 establish a communication connection. In addition, a communication pipe may be provided between the second core 13 and the wireless module 11, so that the second operating system 102 can perform wireless data transmission with the target network device 20 through the wireless module 11. Optionally, the first kernel 12 may be a large kernel (i.e., a processor kernel with relatively strong operation capability) configured to run the first operating system 101 for implementing various high-performance functions (including web browsing, audio/video call, application program usage, and the like); the second core 13 may be a corelet (i.e., a relatively less computationally powerful processor core) for running the second operating system 102 that implements various basic functions, including network connectivity, gathering sensor data, etc. By constructing a framework of a double-operation system by large and small cores, the operation resources of the processor can be distributed according to different functional requirements, so that the terminal equipment can simultaneously keep good performance and power consumption.
In this embodiment, after the second operating system 102 on the terminal device 10 establishes the wireless network connection with the target network device 20 through the wireless module 11, the first operating system 101 may send a network proxy request to the second operating system 102, and the second operating system 102 may establish the network proxy connection between the second operating system 102 and the first operating system 101 according to the network proxy request, so that the first operating system 101 may perform wireless data transmission with the target network device 20 through the second operating system 102 through the network proxy connection. By implementing the method, the network connection of the dual operating systems on the terminal device 10 can be realized by using one set of wireless module 11 in an agent manner, thereby avoiding the situation that in the related art, in order to enable each operating system in the terminal device with the dual operating systems or multiple operating systems to be capable of connecting with a network, multiple sets of wireless modules need to be set, which leads to the situation that when the terminal device switches the operating systems, the wireless module used by the current operating system needs to be closed first, and then the wireless module corresponding to the other operating system needs to be opened, thereby inevitably causing the temporary interruption of the network connection. In fact, wireless network connection is directly realized for the second operating system 102 of the terminal device 10 by only setting one set of wireless module 11, and networking is indirectly provided for the first operating system 101 by proxy, such a network connection mode is simpler in hardware design, when the operating systems need to be switched, corresponding wireless data transmission is only carried out by proxy without temporarily interrupting network connection, the networking requirements of the terminal device dual operating systems are met, the stability and reliability of network connection of the terminal device are effectively improved, and meanwhile, the design and manufacturing cost of the terminal device is also reduced.
It is understood that the terminal device 10 may also have more than two processor cores, so that more than two operating systems can be installed, and network connection is performed in a similar manner to the dual operating systems, so as to meet the networking requirement of the multiple operating systems of the terminal device.
To better describe an application scenario of the embodiment of the present application, fig. 3 discloses a timing chart of a network connection method of the embodiment of the present application. As shown in fig. 3, the terminal device 10 may have a first operating system 101 and a second operating system 102, and the method may include:
302. the first operating system 101 responds to a network connection instruction aiming at the first operating system 101 to initiate wireless network connection; or
The second operating system 102 initiates a wireless network connection in response to a network connection instruction for the second operating system 102.
Specifically, in one embodiment, the terminal device 10 may run the first operating system 101 in the foreground (i.e., interacting with the user primarily through the first operating system 101) while the first operating system 101 is in an active state. A user may set networking through the first operating system 101, or the first operating system 101 automatically initiates networking, so as to generate a network connection instruction for the first operating system 101, and then the first operating system 101 may initiate wireless network connection in response to the network connection instruction, and establish wireless network connection in subsequent steps by the second operating system 102. It is understood that the second operating system 102 may also be active at this time.
In another embodiment, the terminal device 10 may also run the second operating system 102 in the foreground (i.e., interact with the user mainly through the second operating system 102), while the second operating system 102 is in the active state. A user may set networking through the second operating system 102, or the second operating system 102 automatically initiates networking, so as to generate a network connection instruction for the second operating system 102, and then the second operating system 102 may initiate wireless network connection in response to the network connection instruction, and establish wireless network connection in subsequent steps. It is noted that the first operating system 101 may be in an active state or an inactive state (i.e., a sleeping state).
304. The second operating system 102 is connected with the wireless module target network device 20 establishes a wireless network connection.
When the step 302 is that the first operating system 101 initiates the wireless network connection, the second operating system 102 may first obtain the wireless network connection information transmitted by the first operating system 101, and then establish the wireless network connection with the target network device 20 through the wireless module according to the wireless network connection information. When the second operating system 102 initiates the wireless network connection in step 302, the second operating system 102 may directly obtain the wireless network connection information, and then establish the wireless network connection with the target network device 20 through the wireless module according to the wireless network connection information.
306. The first operating system 101 sends a network proxy request to the second operating system 102.
In this embodiment, the second operating system 102 may directly perform wireless data transmission with the target network device 20 through the wireless module, and then, in a case that the second operating system 102 has established a wireless network connection with the target network device 20, the first operating system 101 may send a network proxy request to the second operating system 102, so as to indirectly perform wireless data transmission with the target network device 20 in a proxy manner.
308. The second operating system 102 establishes a network proxy connection between the second operating system 102 and the first operating system 101 according to the network proxy request.
Illustratively, the network proxy connection between the second operating system 102 and the first operating system 101 may be a forward proxy, i.e. the terminal device 10 may not disclose its information with dual operating systems to the target network device 20. As for the target network device 20, whether it actually performs wireless data transmission with the first operating system 101 or with the second operating system 102, it is considered that the target network device 20 performs communication with the second operating system 102, so as to reduce the complexity of implementing dual-operating-system networking by the terminal device 10, and facilitate improving the network connection efficiency of the terminal device 10.
310. The first operating system 101 performs wireless data transfer with the target network device 20 via the second operating system 102 through the network proxy connection.
Specifically, the first operating system 101 may transmit wireless data to the second operating system 102 through the network proxy connection, and then the second operating system 102 transmits the received wireless data to the target network device 20. Meanwhile, the target network device 20 may also transmit the network data addressed to the first operating system 101 to the second operating system 102, and then the second operating system 102 transmits the received network data to the first operating system 101 according to the network proxy connection.
By implementing the method described in the above embodiment, different operating systems of the terminal device can be connected to the network through a set of wireless modules together in a proxy manner, and even if the operating systems need to be switched, the wireless modules do not need to be restarted in such a network connection manner, and only the corresponding wireless data transmission needs to be performed through the proxy without temporarily interrupting the network connection, so that the networking requirements of the dual operating systems of the terminal device are met, and the stability and reliability of the network connection of the terminal device are effectively improved.
Referring to fig. 4, fig. 4 is a schematic flowchart of a network connection method disclosed in an embodiment of the present application, where the network connection method may be applied to the terminal device, and the terminal device has a first operating system and a second operating system, and a communication connection may be established between the first operating system and the second operating system. As shown in fig. 4, the network connection method may include the steps of:
402. and under the condition that the second operating system establishes wireless network connection with the target network equipment through the wireless module, the first operating system sends a network proxy request to the second operating system.
In this embodiment of the application, the first operating system may include an upper operating system capable of implementing various high-performance functions (including web browsing, audio/video call, application program usage, and the like) on the terminal device, such as an Android operating system, an iOS operating system, and the like; the second operating system may include an underlying operating system capable of implementing basic functions (including network connection, collecting sensor data, etc.) on the terminal device, such as an embedded operating system on the terminal device. Specifically, the first operating system and the second operating system may be respectively disposed on two processor cores of the terminal device, and the processor core where the second operating system is located may be connected to the wireless module of the terminal device, so that the second operating system may directly establish wireless network connection with a target network device other than the terminal device through the wireless module, so as to implement a network connection function of the bottom layer of the terminal device.
After the second operating system successfully establishes the wireless network connection with the target network device through the wireless module, the first operating system of the terminal device may send a network proxy request to the second operating system. The network agent request may be used to implement a network agent connection between the first operating system and the second operating system, so that the first operating system can also communicate with the target network device in a manner of acting through the second operating system. In one embodiment, the second operating system may actively notify the first operating system in the case of establishing a wireless network connection with the target network device, so that the first operating system sends a network proxy request to the second operating system; in another embodiment, the first operating system may also actively monitor the network connection status of the second operating system continuously, and actively send a network proxy request to the second operating system when it is monitored that the second operating system establishes a wireless network connection with the target network device.
Specifically, for example, the wireless module may include a Wi-Fi module of the terminal device, so that the second operating system may establish a Wi-Fi connection with a target network device (e.g., a Wi-Fi base station, a Wi-Fi hotspot provided by other terminal devices, etc.). When the second operating system is successfully connected with the Wi-Fi, the first operating system may send a network proxy request to the second operating system through the passive triggering or active triggering, so that in the next step, the second operating system is used as a Wi-Fi proxy terminal, and the Wi-Fi connection between the first operating system and the target network device is indirectly achieved. It is understood that the wireless module may also include a bluetooth module, a data connection (e.g., 4G data connection, 5G data connection, etc.) module, etc. of the terminal device, so that the first operating system may send a corresponding network proxy request to the second operating system according to different wireless network connection types.
It should be noted that, in some embodiments, the power consumption of the second operating system during operation may be lower than the power consumption of the first operating system during operation, and the terminal device performs actual communication with the target network device through the second operating system, which may reduce the time required to actually operate the first operating system, that is, only the second operating system needs to be operated in a partial communication scenario, thereby reducing the overall power consumption of the terminal device.
404. And the second operating system establishes the network proxy connection between the second operating system and the first operating system according to the network proxy request.
In this embodiment, after receiving the network proxy request sent by the first operating system, the second operating system may parse the network proxy request, and establish a network proxy connection between the second operating system and the first operating system by using the second operating system as a proxy according to proxy configuration information obtained through parsing.
Specifically, the network proxy request sent by the first operating system may include a proxy request packet, where the proxy request packet may include various proxy configuration information (such as proxy address information, port information, and data format information) required by the second operating system to establish a network proxy connection, so that the second operating system may reset a rule for the second operating system to send and receive the packet according to the proxy configuration information, so as to redirect the packet sent by the first operating system to the second operating system to the target network device, and redirect the packet sent by the target network device to the second operating system to the first operating system, so as to establish a network proxy connection between the second operating system and the first operating system, and the first operating system may indirectly implement wireless data transmission with the target network device through the network proxy connection.
406. The first operating system is connected with the target network device through the network proxy and performs wireless data transmission with the target network device through the second operating system.
After the network proxy connection between the second operating system and the first operating system is successfully established, the first operating system and the target network device can realize wireless data transmission through the second operating system serving as a proxy end. It should be noted that, the network proxy connection is a forward proxy, that is, the terminal device may not disclose the information that it has the dual operating system to the target network device, and the target network device merely transmits the data packet sent by the terminal device to the terminal device, and does not specify the flow direction of the data packet in the dual operating system of the terminal device.
For example, the second operating system may transmit the data packet sent by the first operating system to the target network device and transmit the data packet sent by the target network device to the first operating system according to the network proxy connection. For example, when the wireless network connection is a Wi-Fi connection, the first operating system may transmit a Wi-Fi data packet, which needs to be sent to a target network device (e.g., a Wi-Fi base station, a Wi-Fi hotspot provided by other terminal devices, etc.), to the second operating system, and then the second operating system processes the Wi-Fi data packet according to the network proxy connection, and transmits the Wi-Fi data packet to the target network device; meanwhile, the target network device can also transmit the Wi-Fi data packet which needs to be sent to the first operating system to the second operating system, and the second operating system carries out reverse processing on the Wi-Fi data packet according to the network proxy connection and then transmits the Wi-Fi data packet to the first operating system.
It can be understood that, the first operating system and the second operating system may communicate with each other through a special communication pipeline, so as to improve data transmission efficiency. In an embodiment, the first operating system and the second operating system may be communicatively connected through a Serial Peripheral Interface (SPI), so that a network proxy request sent by the first operating system to the second operating system, or wireless data and other data transmitted between the first operating system and the second operating system may be performed through the SPI, which is beneficial to improving efficiency and stability of data transmission, and further improving network connection quality of the terminal device.
Therefore, by implementing the network connection method described in the above embodiment, different operating systems of the terminal device can be connected to the network through a set of wireless module in a proxy manner, which not only meets the networking requirement of the dual operating systems of the terminal device, but also effectively improves the stability and reliability of the network connection of the terminal device, and is beneficial to reducing the heat generated by the terminal device and reducing the dead halt probability; in addition, the network connection efficiency of the terminal equipment is improved by realizing the network connection method with relatively simple operation.
Referring to fig. 5, fig. 5 is a schematic flowchart of another network connection method disclosed in the embodiment of the present application, where the network connection method may be applied to the terminal device, and the terminal device has a first operating system and a second operating system, and a communication connection may be established between the first operating system and the second operating system. As shown in fig. 5, the network connection method may include the steps of:
502. the first operating system responds to the network connection instruction aiming at the first operating system to acquire the wireless network connection information.
Illustratively, the wireless network connection information may include address information of the target network device (e.g., IP address information, address alias, etc.), authentication information (e.g., password, etc.), configuration information (e.g., network connection port, supported protocol, etc.), and the like. The network connection instruction may include a setting instruction detected by a first operating system when a user sets networking in the first operating system; the method also comprises a control instruction which is actively sent by the first operating system when the first operating system actively initiates networking. Therefore, when a user sets networking in the first operating system or the first operating system actively initiates networking, the first operating system can respond to the network connection instruction, acquire the wireless network connection information through the first operating system, and further trigger the second operating system to establish wireless network connection with the target network device according to the wireless network connection information in subsequent steps.
In an embodiment, after receiving a network connection instruction for the first operating system, the first operating system may trigger the second operating system to scan network devices connectable nearby in response to the network connection instruction, and further acquire wireless network connection information corresponding to a target network device therein. Illustratively, a first operating system may send a wireless scan request to a second operating system in response to a network connection instruction for the first operating system. After receiving the wireless scanning request, the second operating system may scan nearby connectable network devices (e.g., wi-Fi base stations corresponding to Wi-Fi networks, wi-Fi hotspots provided by other terminal devices, etc.) in response to the wireless scanning request, and feed back the connectable network devices to the first operating system. On the basis, the first operating system can determine the target network device from the connectable network devices fed back by the second operating system, and acquire the address information and the verification information of the target network device. Alternatively, the process of determining the target network device may be determined according to the network connection quality corresponding to each network device in the connectable network devices (for example, the network device with the highest network connection speed is determined as the target network device, the network device with the most stable network connection is determined as the target network device, and the like).
In another embodiment, the network connection instruction may also include a target network device selected by the user, so that the first operating system may directly acquire the target network device selected by the user and acquire the wireless network connection information corresponding to the target network device after receiving the network connection instruction for the first operating system. For example, when the first operating system sets networking, the user may select a target network device from a network device list stored in the first operating system, where the network device list may be generated according to a history of the terminal device connecting to the network, and is obtained by screening according to an actual geographic location of the terminal device (that is, obtaining a network device that has been connected near the terminal device). On the basis, the first operating system can acquire the corresponding address information and the verification information stored in the first operating system according to the target network equipment selected by the user, so that the user does not need to repeatedly input verification information such as passwords, the second operating system can be triggered in subsequent steps to quickly realize wireless network connection, and the network connection efficiency of the terminal equipment is improved.
504. The first operating system sends the wireless network connection information to the second operating system.
In the embodiment of the present application, since the processor core where the second operating system is located is connected to the wireless module of the terminal device, an actual wireless network connection needs to be established in the second operating system. On the basis, the first operating system can send the wireless network connection information acquired by the first operating system to the second operating system. Optionally, the first operating system may send the wireless network connection information to the second operating system quickly and stably through an SPI channel between the first operating system and the second operating system, so as to ensure reliability of network connection of the terminal device.
506. And the second operating system establishes wireless network connection with target network equipment through a wireless module according to the wireless network connection information, wherein the target network equipment corresponds to the wireless network connection information.
For example, when the wireless network connection information includes address information and verification information corresponding to the target network device, the second operating system may generate a corresponding network connection request according to the address information and the verification information, and send the network connection request to the target network device through the wireless module. After receiving the network connection request, the target network device may parse the address information and the verification information from the network connection request. Based on the address information, the target network device may determine to verify the verification information (the network connection request with unmatched address information is discarded), and may establish a wireless network connection with the second operating system when the verification information matches the target network device.
508. The second operating system sends the network connection status of the second operating system to the first operating system.
When the second operating system successfully establishes the wireless network connection with the target network device, the second operating system can acquire the network connection state of the second operating system and send the network connection state to the first operating system, so that the first operating system can be triggered to send a network agent request to the second operating system in subsequent steps in time, and the networking efficiency of the first operating system is improved.
Optionally, when the second operating system does not successfully establish the wireless network connection with the target network device, the second operating system may also obtain a current network connection state of the second operating system, and send the network connection state to the first operating system. When the first operating system determines that the second operating system does not successfully establish the wireless network connection according to the network connection state, prompting can be performed on a user, such as pop-up window prompting, acousto-optic prompting, vibration prompting and the like, so that the user can be timely reminded of knowing about the abnormal situation of the network connection, whether the target network device is replaced or not can be further determined, and the reliability of the terminal device and the dual operating systems for connecting the network can be ensured.
510. And when the first operating system determines that the second operating system successfully establishes the wireless network connection according to the network connection state, sending a network agent request to the second operating system.
Wherein step 510 is similar to step 402 described above. It should be noted that the first operating system may first determine its own network connection status sent by the second operating system, and send the network proxy request to the second operating system only when it is determined that the second operating system establishes the wireless network connection with the target network device.
512. And the second operating system establishes the network proxy connection between the second operating system and the first operating system according to the network proxy request.
514. The first operating system is connected with the target network device through the network proxy and performs wireless data transmission with the target network device through the second operating system.
Step 512 and step 514 are similar to step 404 and step 406, and are not described herein again.
Therefore, by implementing the network connection method described in the above embodiment, different operating systems of the terminal device can be connected to the network through a set of wireless modules in a proxy manner, which not only meets the networking requirements of the dual operating systems of the terminal device, but also effectively improves the stability and reliability of the network connection of the terminal device; in addition, by setting networking in the first operating system, the appropriate target network equipment can be accurately selected, which is beneficial to improving the flexibility and reliability of the networking of the first operating system, meanwhile, the existence of the second operating system as the proxy end is shielded from the user, so that the network connection operation of the terminal equipment is relatively simpler, and the network connection efficiency of the terminal equipment is favorably improved.
Referring to fig. 6, fig. 6 is a flowchart illustrating a further network connection method disclosed in the embodiment of the present application, where the network connection method may be applied to the terminal device, and the terminal device has a first operating system and a second operating system, and a communication connection may be established between the first operating system and the second operating system. As shown in fig. 6, the network connection method may include the steps of:
602. the second operating system responds to the network connection instruction aiming at the second operating system to acquire the wireless network connection information.
604. And the second operating system establishes wireless network connection between the target network devices corresponding to the wireless network connection information through the wireless module according to the wireless network connection information.
Similarly to steps 502 and 504, the wireless network connection information may also include address information (e.g., IP address information, address alias, etc.), authentication information (e.g., password, etc.), configuration information (e.g., network connection port, supported protocol, etc.) of the target network device, and the like in steps 602 and 604. It should be noted that, when a user sets networking in the second operating system, or the second operating system actively initiates networking, the second operating system may scan a network device that is connectable nearby, or acquire a stored network device that has been connected once, and determine a target network device from the network device, and then may directly acquire wireless network connection information corresponding to the target network device, so as to establish wireless network connection with the target network device according to the wireless network connection information in subsequent steps.
606. And when the second operating system needs to be switched to the first operating system, the second operating system sends a wake-up instruction to the first operating system.
In this embodiment of the present application, the terminal device may run the second operating system in the foreground, and at this time, the first operating system may be in a sleep state. It is worth noting that in some embodiments, the power consumption of the second operating system during operation may be lower than the power consumption of the first operating system during operation, so that when the terminal device operates the second operating system in the foreground, the power consumption of the terminal may be effectively reduced, and the functions of saving power and improving the endurance time are achieved. After the second operating system establishes wireless network connection with the target network device, the first operating system may also connect to the network in a proxy manner, at this time, the terminal device may be switched from the second operating system to the first operating system, and the wireless network connection of the first operating system is implemented in subsequent steps.
In an embodiment, when a user needs to switch from the second operating system to the first operating system, the terminal device may acquire a switching operation of the user (e.g., click a switching button, make a switching action, etc.), generate a wake-up instruction according to the switching operation, and send the wake-up instruction to the first operating system by the second operating system.
In another embodiment, the terminal device may also automatically switch from the second operating system to the first operating system under the trigger of a certain condition, and at this time, the second operating system may automatically generate a wake-up instruction and send the wake-up instruction to the first operating system. Exemplarily, after the second operating system establishes the wireless network connection with the target network device, the terminal device may be triggered to switch from the second operating system to the first operating system, so that the first operating system also performs networking; when the second operating system detects that the electric quantity of the terminal device is higher than the electric quantity threshold value, the terminal device can be triggered to be switched from the second operating system to the first operating system, so that the first operating system consuming relatively power is used for realizing a high-performance function.
608. And under the condition that the second operating system establishes wireless network connection with the target network equipment through the wireless module, after the first operating system is awakened by the received awakening instruction, sending a network agent request to the second operating system.
Step 608 is similar to step 402 described above. It should be noted that, after the second operating system successfully establishes the wireless network connection with the target network device, if the first operating system receives the wake-up instruction, the first operating system may be woken up by the wake-up instruction, and then the terminal device may switch from the second operating system to the first operating system (that is, the terminal device runs the first operating system in the foreground). In the process, after the first operating system is awakened, the first operating system can send a network proxy request to the second operating system, so as to indirectly realize wireless network connection with the target network device in a proxy manner.
610. And the second operating system establishes the network proxy connection between the second operating system and the first operating system according to the network proxy request.
612. The first operating system is connected with the target network device through the network proxy and performs wireless data transmission with the target network device through the second operating system.
Step 512 and step 514 are similar to step 404 and step 406, and are not described herein again.
Therefore, by implementing the network connection method described in the above embodiment, different operating systems of the terminal device can be connected to the network through a set of wireless modules in a proxy manner, which not only meets the networking requirement of the dual operating systems of the terminal device, but also effectively improves the stability and reliability of the network connection of the terminal device; in addition, through setting up the networking at the second operating system, can establish wireless network connection in advance under the condition that does not awaken up first operating system, effectively reduce the consumption at terminal, play the effect of power saving, improvement duration to realize switching at any time when needing to switch to first operating system, promoted first operating system's networking efficiency.
Referring to fig. 7, fig. 7 is a schematic flowchart of another network connection method disclosed in the embodiment of the present application, where the network connection method may be applied to the terminal device, and the terminal device has a first operating system and a second operating system, and a communication connection may be established between the first operating system and the second operating system. As shown in fig. 7, the network connection method may include the steps of:
702. the first operating system sends a wireless scanning request to the second operating system in response to a network connection instruction for the first operating system.
704. The second operating system responds to the wireless scanning request, scans the connectable network equipment and feeds back the connectable network equipment to the first operating system.
706. And the first operating system determines a target network device from the connectable network devices fed back by the second operating system, and acquires the address information and the verification information of the target network device.
Step 702, step 704, and step 706 are similar to step 502 described above, and are not described here again.
708. And the first operating system sends the address information and the verification information to a second operating system.
710. And the second operating system establishes wireless network connection with the target network equipment through the wireless module according to the address information and the verification information.
712. The second operating system sends the network connection status of the second operating system to the first operating system.
Step 708, step 710 and step 712 are similar to step 504, step 506 and step 508, and are not described herein again.
714. And when the first operating system determines that the second operating system successfully establishes the wireless network connection according to the network connection state, sending a network agent request to the second operating system, wherein the network agent request comprises agent address information.
Wherein step 714 is similar to step 510 described above. It should be noted that the network proxy request may include proxy address information, and the proxy address information may include a specified IP address agreed by the first operating system and the second operating system for implementing the network proxy connection between the two operating systems. The second operating system may determine, according to the proxy address information, a corresponding data packet sent from the first operating system to the target network device and a data packet sent from the target network device to the first operating system from among a large number of data packets flowing through the second operating system, so as to process the data packets in subsequent steps, thereby implementing proxy network connection.
716. And the second operating system establishes the network proxy connection between the second operating system and the first operating system according to the network proxy request.
Step 716 is similar to step 404, and will not be described herein again.
718. And the second operating system transmits the data to be transmitted of the first operating system to the target network equipment according to the proxy address information.
Specifically, when the first operating system needs to send data to be transmitted to the target network device, the first operating system may package the data to be transmitted according to the proxy address information to obtain an original data packet, and send the original data packet to the second operating system. On this basis, when receiving the original data packet containing the proxy address information, the second operating system may perform address conversion processing on the original data packet to obtain a proxy transmission data packet, and transmit the proxy transmission data packet to the target network device through the wireless module. The address conversion processing may include replacing the proxy address information in the original data packet with address information corresponding to the terminal device itself, so as to unify source addresses of the terminal device during wireless data transmission, thereby implementing proxy sending of wireless data.
Illustratively, the first operating system may agree with the second operating system for proxy address information P1, and the proxy address information P1 may be designated by a user or may be automatically generated by the first operating system. When the first operating system needs to send the data to be transmitted to the target network device, the data to be transmitted may be packaged into an original data packet, and the proxy address information P1 is written into the packet header of the original data packet. When receiving the original data packet, the second operating system may obtain the proxy address information P1 by unpacking, and replace the proxy address information P1 with the address information P2 corresponding to the terminal device itself to obtain a proxy transmission data packet, and transmit the proxy transmission data packet to the target network device.
720. And the second operating system transmits the network data of the target network equipment to the first operating system according to the proxy address information.
Specifically, when the target network device needs to send network data to the first operating system, the second operating system receives an agent reception data packet sent by the target network device through the wireless module, and performs reverse address conversion processing on the agent reception data packet according to the agent address information to obtain a network data packet. On the basis, the second operating system may send the network data packet to the first operating system, so that the first operating system obtains the network data of the target network device from the network data packet. The inverse address conversion processing may include replacing address information corresponding to the terminal device in the proxy reception packet with proxy address information, so as to unify a destination address of the terminal device during wireless data transmission, thereby implementing proxy reception of wireless data.
Illustratively, when the target network device sends the proxy reception packet to the second operating system, the second operating system may unpack the proxy reception packet to obtain the address information P2 corresponding to the terminal device itself. According to the network proxy connection, the second operating system may replace the address information P2 with the proxy address information P1, that is, generate a new network data packet according to the proxy address information P1 and the network data of the target network device, and send the new network data packet to the first operating system.
Therefore, by implementing the network connection method described in the above embodiment, different operating systems of the terminal device can be connected to the network through a set of wireless modules in a proxy manner, which not only meets the networking requirements of the dual operating systems of the terminal device, but also effectively improves the stability and reliability of the network connection of the terminal device; in addition, by setting the proxy address information, the second operating system as the proxy end can accurately acquire the data packet which needs to be sent to the first operating system or the target network device in a network proxy mode, and correspondingly process the data packet so as to realize reliable network proxy connection, thereby being beneficial to improving the reliability and the safety of the networking of the dual operating systems of the terminal device.
Referring to fig. 8, fig. 8 is a schematic block diagram of a network connection device disclosed in an embodiment of the present application, where the network connection device may be applied to the terminal device, and the terminal device has a first operating system and a second operating system, and a communication connection may be established between the first operating system and the second operating system. As shown in fig. 8, the network connection apparatus may include a proxy request unit 801, a proxy establishment unit 802, and a data transmission unit 803, wherein:
an agent request unit 801, configured to, when the second operating system establishes a wireless network connection with a target network device through the wireless module, send a network agent request to the second operating system by the first operating system;
an agent establishing unit 802, configured to establish, by the second operating system, a network agent connection between the second operating system and the first operating system according to the network agent request;
a data transmission unit 803, configured to perform wireless data transmission between the first operating system and the target network device through the network proxy connection and the second operating system.
In one embodiment, the first operating system may be communicatively connected to the second operating system through a serial peripheral interface.
In an embodiment, the power consumption of the second operating system during operation may be lower than the power consumption of the first operating system during operation.
Therefore, by adopting the network connection device described in the above embodiment, different operating systems of the terminal device can be connected to the network through a set of wireless module in a proxy manner, which not only meets the networking requirements of the dual operating systems of the terminal device, but also effectively improves the stability and reliability of the network connection of the terminal device, and is beneficial to reducing the heating of the terminal device and reducing the dead halt probability; in addition, the network connection efficiency of the terminal equipment is improved by realizing the network connection method with relatively simple operation.
In one embodiment, the network connection device shown in fig. 8 may further include an information acquiring unit, an information sending unit, and a network connection unit, which are not shown in the drawing, wherein:
the information acquisition unit is used for responding to a network connection instruction aiming at the first operating system by the first operating system and acquiring wireless network connection information;
the information sending unit is used for the first operating system to send the wireless network connection information to the second operating system;
and the network connection unit is used for establishing wireless network connection with the target network equipment through the wireless module by the second operating system according to the wireless network connection information, and the target network equipment corresponds to the wireless network connection information.
In an embodiment, the information sending unit may be further configured to send, by the second operating system, a network connection status of the second operating system to the first operating system;
the proxy request unit 801 may be specifically configured to send a network proxy request to the second operating system when the first operating system determines that the second operating system successfully establishes the wireless network connection according to the network connection state.
In an embodiment, the wireless network connection information at least includes address information and authentication information of a target network device, and the information obtaining unit may be specifically configured to send a wireless scanning request to a second operating system by a first operating system in response to a network connection instruction for the first operating system; and the second operating system responds to the wireless scanning request, scans the connectable network equipment and feeds back the connectable network equipment to the first operating system; and the first operating system determines the target network equipment from the connectable network equipment fed back by the second operating system, and acquires the address information and the verification information of the target network equipment.
It can be seen that, by using the network connection device described in the above embodiment, through setting networking in the first operating system, a suitable target network device can be accurately selected, which is beneficial to improving the flexibility and reliability of networking of the first operating system, and meanwhile, the existence of the second operating system as a proxy end is shielded from the user, so that the network connection operation of the terminal device is relatively simpler, and the network connection efficiency of the terminal device is beneficial to improving.
In an embodiment, the information obtaining unit may be further configured to enable the second operating system to obtain the wireless network connection information in response to a network connection instruction for the second operating system;
the network connection unit may be further configured to establish, by the second operating system, a wireless network connection between the target network devices corresponding to the wireless network connection information through the wireless module according to the wireless network connection information.
In an embodiment, the information sending unit may be further configured to send a wake-up instruction to the first operating system by the second operating system when it is required to switch from the second operating system to the first operating system;
the agent request unit 801 may be specifically configured to, when the second operating system establishes a wireless network connection with the target network device through the wireless module, send a network agent request to the second operating system after the first operating system is awakened by the received awakening instruction.
It can be seen that, by using the network connection device described in the above embodiment, through setting networking in the second operating system, the wireless network connection can be established in advance without waking up the first operating system, so that the power consumption of the terminal is effectively reduced, the effects of saving power and improving the endurance time are achieved, and the switching is achieved at any time when the first operating system needs to be switched, thereby improving the networking efficiency of the first operating system.
In an embodiment, the network agent request includes agent address information, and the data transmission unit 803 may be specifically configured to transmit, by the second operating system, to-be-transmitted data of the first operating system to the target network device according to the agent address information; alternatively, the first and second electrodes may be,
and the second operating system transmits the network data of the target network equipment to the first operating system according to the proxy address information.
When transmitting data to be transmitted, the data transmission unit 803 may be specifically configured to, by the first operating system, package the data to be transmitted according to the proxy address information to obtain an original data packet, and send the original data packet to the second operating system; and when receiving the original data packet containing the proxy address information, the second operating system performs address conversion processing on the original data packet to obtain a proxy sending data packet, and sends the proxy sending data packet to the target network equipment through the wireless module.
When transmitting network data, the data transmission unit 803 may be specifically configured to receive, by the second operating system, an agent reception data packet sent by the target network device through the wireless module, and perform inverse address conversion processing on the agent reception data packet according to the agent address information to obtain a network data packet; and the second operating system sends the network data packet to the first operating system so that the first operating system acquires the network data of the target network equipment from the network data packet.
It can be seen that, by using the network connection device described in the foregoing embodiment, through setting the proxy address information, the second operating system serving as the proxy end can accurately obtain the data packet that needs to be sent to the first operating system or the target network device in the network proxy manner, and perform corresponding processing on the data packet, so as to implement reliable network proxy connection, which is beneficial to improving the reliability and security of the dual-operating system networking of the terminal device.
Referring to fig. 9, fig. 9 is a schematic block diagram of a terminal device according to an embodiment of the present disclosure. As shown in fig. 9, the terminal device may include a memory 901 and a processor 902, where the memory 901 stores a computer program, and when the computer program is executed by the processor 902, the processor 902 may implement all or part of the steps in any one of the network connection methods described in the foregoing embodiments.
Furthermore, the present application further discloses a computer-readable storage medium storing a computer program for electronic data exchange, wherein the computer program, when executed by a processor, enables the processor to implement all or part of the steps of any one of the network connection methods described in the above embodiments.
In addition, the embodiments of the present application further disclose a computer program product, which, when running on a computer, enables the computer to implement all or part of the steps in any one of the network connection methods described in the above embodiments.
It will be understood by those skilled in the art that all or part of the steps of the methods of the embodiments described above may be implemented by associated hardware instructed by a program, which may be stored in a computer-readable storage medium, including Read-Only Memory (ROM), random Access Memory (RAM), programmable Read-Only Memory (PROM), erasable Programmable Read-Only Memory (EPROM), one-time Programmable Read-Only Memory (OTPROM), electrically Erasable Programmable Read-Only Memory (EEPROM), a Compact Disc-Read-Only Memory (CD-ROM) or other Memory capable of storing data, a magnetic tape, or any other computer-readable medium capable of storing data.
The network connection method and apparatus, the terminal device, and the storage medium disclosed in the embodiments of the present application are described in detail above, and specific examples are applied herein to explain the principles and embodiments of the present application, and the description of the embodiments is only used to help understand the method and the core idea of the present application; meanwhile, for a person skilled in the art, according to the idea of the present application, there may be variations in the specific embodiments and the application scope, and in summary, the content of the present specification should not be construed as a limitation to the present application.

Claims (14)

1. A network connection method is applied to a terminal device, the terminal device is provided with a first operating system and a second operating system, the first operating system is in communication connection with the second operating system, and the method comprises the following steps:
under the condition that the second operating system establishes wireless network connection with target network equipment through a wireless module, the first operating system sends a network agent request to the second operating system;
the second operating system establishes network proxy connection between the second operating system and the first operating system according to the network proxy request;
and the first operating system is connected with the target network equipment through the network proxy and performs wireless data transmission with the target network equipment through the second operating system.
2. The method of claim 1, wherein before the first operating system sends a network proxy request to the second operating system in the case that the second operating system establishes a wireless network connection with a target network device through a wireless module, the method further comprises:
the first operating system responds to a network connection instruction aiming at the first operating system to acquire wireless network connection information;
the first operating system sends the wireless network connection information to the second operating system;
and the second operating system establishes wireless network connection with target network equipment through a wireless module according to the wireless network connection information, wherein the target network equipment corresponds to the wireless network connection information.
3. The method of claim 2, wherein after the second operating system establishes the wireless network connection between the target network devices corresponding to the wireless network connection information through the wireless module according to the wireless network connection information, the method further comprises:
the second operating system sends the network connection state of the second operating system to the first operating system;
the sending, by the first operating system, a network proxy request to the second operating system when the second operating system establishes a wireless network connection with a target network device through a wireless module includes:
and when the first operating system determines that the second operating system successfully establishes the wireless network connection according to the network connection state, sending a network agent request to the second operating system.
4. The method of claim 2, wherein the wireless network connection information at least includes address information and authentication information of a target network device, and the obtaining, by the first operating system, the wireless network connection information in response to the network connection instruction for the first operating system comprises:
the first operating system sends a wireless scanning request to the second operating system in response to a network connection instruction for the first operating system;
the second operating system responds to the wireless scanning request, scans connectable network equipment and feeds back the connectable network equipment to the first operating system;
and the first operating system determines the target network equipment from the connectable network equipment fed back by the second operating system, and acquires address information and verification information of the target network equipment.
5. The method of claim 1, wherein before the first operating system sends a network proxy request to the second operating system in the case that the second operating system establishes a wireless network connection with a target network device through a wireless module, the method further comprises:
the second operating system responds to a network connection instruction aiming at the second operating system to acquire wireless network connection information;
and the second operating system establishes wireless network connection between target network equipment corresponding to the wireless network connection information through a wireless module according to the wireless network connection information.
6. The method of claim 5, wherein after the second operating system establishes a wireless network connection between target network devices corresponding to the wireless network connection information through a wireless module according to the wireless network connection information, the method further comprises:
when a switching operation of switching from the second operating system to the first operating system is triggered, the second operating system sends a wake-up instruction to the first operating system;
the sending, by the first operating system, a network agent request to the second operating system when the second operating system establishes a wireless network connection with a target network device through a wireless module includes:
and under the condition that the second operating system establishes wireless network connection with target network equipment through a wireless module, after the first operating system is awakened by the received awakening instruction, sending a network agent request to the second operating system.
7. The method of any of claims 1 to 6, wherein the network proxy request includes proxy address information; the first operating system is connected with the target network device through the network agent, and performs wireless data transmission with the target network device through the second operating system, wherein the wireless data transmission comprises the following steps:
the second operating system transmits the data sent by the first operating system to the target network equipment according to the proxy address information; and/or the presence of a gas in the gas,
and the second operating system transmits the network data sent by the target network equipment to the first operating system according to the proxy address information.
8. The method of claim 7, wherein the second operating system transmits the data sent by the first operating system to the target network device according to the proxy address information, comprising:
the first operating system packages data to be transmitted to obtain an original data packet according to the proxy address information, and sends the original data packet to the second operating system;
and when receiving an original data packet containing the proxy address information, the second operating system performs address conversion processing on the original data packet to obtain a proxy sending data packet, and sends the proxy sending data packet to the target network equipment through a wireless module.
9. The method of claim 7, wherein the second operating system transmits the network data sent by the target network device to the first operating system according to the proxy address information, comprising:
the second operating system receives an agent receiving data packet sent by the target network equipment through a wireless module, and carries out reverse address conversion processing on the agent receiving data packet according to the agent address information to obtain a network data packet;
the second operating system sends the network data packet to the first operating system;
and the first operating system acquires the network data of the target network equipment from the network data packet.
10. The method of any one of claims 1 to 6, wherein the first operating system and the second operating system are communicatively connected via a serial peripheral interface.
11. The method of any of claims 1 to 6, wherein the power consumption when the second operating system is running is lower than the power consumption when the first operating system is running.
12. A network connection device is applied to a terminal device, the terminal device is provided with a first operating system and a second operating system, the first operating system is in communication connection with the second operating system, and the network connection device comprises:
the proxy request unit is used for sending a network proxy request to the second operating system by the first operating system under the condition that the second operating system establishes wireless network connection with target network equipment through a wireless module;
the proxy establishing unit is used for the second operating system to establish network proxy connection between the second operating system and the first operating system according to the network proxy request;
and the data transmission unit is used for the first operating system to perform wireless data transmission with the target network equipment through the second operating system by the network proxy connection.
13. A terminal device comprising a memory and a processor, the memory having stored thereon a computer program which, when executed by the processor, causes the processor to carry out the method of any one of claims 1 to 11.
14. A computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, carries out the method according to any one of claims 1 to 11.
CN202110338350.9A 2021-03-30 2021-03-30 Network connection method and device, terminal device and storage medium Pending CN115150447A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110338350.9A CN115150447A (en) 2021-03-30 2021-03-30 Network connection method and device, terminal device and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110338350.9A CN115150447A (en) 2021-03-30 2021-03-30 Network connection method and device, terminal device and storage medium

Publications (1)

Publication Number Publication Date
CN115150447A true CN115150447A (en) 2022-10-04

Family

ID=83403352

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110338350.9A Pending CN115150447A (en) 2021-03-30 2021-03-30 Network connection method and device, terminal device and storage medium

Country Status (1)

Country Link
CN (1) CN115150447A (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103368900A (en) * 2012-03-26 2013-10-23 联想(北京)有限公司 Method, devices and systems for network synchronization setting
KR20150108444A (en) * 2014-03-17 2015-09-30 주식회사에어플러그 Method for controlling network use of a wireless terminal connected to a plurality of networks and an apparatus for said method
CN105516397A (en) * 2016-01-19 2016-04-20 深圳前海达闼云端智能科技有限公司 Method for accessing multiple operating system terminals into network and multiple operating system terminals
CN112073762A (en) * 2019-06-10 2020-12-11 聚好看科技股份有限公司 Information acquisition method based on multi-system display equipment and multi-system display equipment
WO2021003616A1 (en) * 2019-07-05 2021-01-14 Oppo广东移动通信有限公司 Method for switching network devices, and terminal device
CN112333733A (en) * 2020-11-04 2021-02-05 杭州海康威视数字技术股份有限公司 Network connection establishing method and electronic equipment

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103368900A (en) * 2012-03-26 2013-10-23 联想(北京)有限公司 Method, devices and systems for network synchronization setting
KR20150108444A (en) * 2014-03-17 2015-09-30 주식회사에어플러그 Method for controlling network use of a wireless terminal connected to a plurality of networks and an apparatus for said method
CN105516397A (en) * 2016-01-19 2016-04-20 深圳前海达闼云端智能科技有限公司 Method for accessing multiple operating system terminals into network and multiple operating system terminals
CN112073762A (en) * 2019-06-10 2020-12-11 聚好看科技股份有限公司 Information acquisition method based on multi-system display equipment and multi-system display equipment
WO2021003616A1 (en) * 2019-07-05 2021-01-14 Oppo广东移动通信有限公司 Method for switching network devices, and terminal device
CN112333733A (en) * 2020-11-04 2021-02-05 杭州海康威视数字技术股份有限公司 Network connection establishing method and electronic equipment

Similar Documents

Publication Publication Date Title
CN110267245B (en) Communication control method and electronic device
KR102374338B1 (en) An electronic device for transmitting and receiving data in a wireless communication system and a method thereof
EP3614742B1 (en) Relaying taking into consideration quality of service between a terminal and a wireless network
CN107046714B (en) Data transmission method, device and system
US10993149B2 (en) Operating a terminal device in a cellular mobile communication network
US20170251428A1 (en) Methods and Nodes for M2M Communication
US20230144480A1 (en) Method for configuring sidelink relay architecture and terminal
WO2017128185A1 (en) Method and terminal for controlling service connection
CN115150447A (en) Network connection method and device, terminal device and storage medium
US11882450B2 (en) Method and device for determining security algorithm, and computer storage medium
CN110535826B (en) Wireless networking method and device, computer equipment and storage medium
KR20230138009A (en) Communication path switching method, device, and terminal
CN111434100B (en) Apparatus, method, and computer-readable storage medium for data transceiving with IoT devices
CN110913507B (en) Communication method and device
CN108200661B (en) RRC connection release method, terminal, access network device and storage medium
CN108064088B (en) RRC connection release method, terminal, access network device and storage medium
JP2022540390A (en) Method for managing service data adaptation protocol layer entity, transmitting terminal and receiving terminal
WO2016162047A1 (en) Facilitating effective isolated wireless network operation
CN113194508B (en) Data transmission method, loRA server and LoRA terminal
CN114071445B (en) Configuration method of information transmission mode, terminal and network side equipment
CN114501482B (en) Wireless communication method, wireless communication device, relay equipment, remote equipment and base station
CN111800840B (en) Cell connection control method, device, mobile terminal and storage medium
CN113365325B (en) Data transmission method and device, storage medium and electronic equipment
WO2022022383A1 (en) Link switching indication method, apparatus, storage medium, chip, and related device
WO2023284682A1 (en) Relay recognition method, relay determination method, terminal, and network side device

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