Network connection method and device, terminal equipment, and storage medium

By establishing a network proxy connection in the second operating system of the terminal device, the problem of network connection interruption of multi-operating system devices is solved, and stability and reliability are improved.

CN115150447BActive Publication Date: 2025-09-30GUANGDONG OPPO MOBILE TELECOMMUNICATIONS CORP LTD
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
CN202110338350.9
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-03-30
Publication Date
2025-09-30
Estimated Expiration
2041-03-30

AI Technical Summary

Technical Problem

When a terminal device has multiple operating systems, each operating system connects to the network independently, resulting in network connection interruption and reducing the stability and reliability of the network connection.

Method used

By establishing a network proxy connection in the second operating system of the terminal device, the first operating system can perform wireless data transmission with the target network device through the second operating system, and a set of wireless modules is used to realize the network connection of the dual operating systems, avoiding restarting the wireless module.

Benefits of technology

Ensuring that at least one operating system maintains network connectivity improves the stability and reliability of network connections on terminal devices and reduces the risk of network connection interruptions.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115150447B_ABST
    Figure CN115150447B_ABST
Patent Text Reader

Abstract

A network connection method and apparatus, a terminal device, and a storage medium. The method is applied to a terminal device having a first operating system and a second operating system, wherein the first operating system and the second operating system are in communication connection. The method comprises: when the second operating system establishes a wireless network connection with a target network device via a wireless module, the first operating system sends a network proxy request to the second operating system; the second operating system establishes a network proxy connection between the second operating system and the first operating system according to the network proxy request; the first operating system performs wireless data transmission with the target network device via the second operating system via the network proxy connection. By implementing an embodiment of the present application, different operating systems of the terminal device can be connected to the network together via a set of wireless modules, which helps reduce the risk of network connection interruption and improves the stability and reliability of the terminal device's network connection.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of communication technology, and in particular to a network connection method and apparatus, terminal equipment, and storage medium. Background Art

[0002] Currently, terminal devices (such as mobile phones, tablets, and smart wearable devices) can be equipped with multiple processor cores, allowing for the installation of multiple operating systems. However, in practice, it has been found that when a terminal device has multiple operating systems, each operating system can often only connect to the network independently. This network connection method often requires restarting its network connection module (such as a wireless module) when the terminal device switches operating systems. In other words, first disconnecting from the network and then reconnecting to the network on the other operating system inevitably leads to network interruptions, significantly reducing the stability and reliability of the terminal device's network connection. Summary of the Invention

[0003] The embodiments of the present application disclose a network connection method and apparatus, a terminal device, and a storage medium, which enable different operating systems of a terminal device to be connected to the network through a set of wireless modules, thereby reducing the risk of network connection interruption and improving the stability and reliability of the terminal device's network connection.

[0004] A first aspect of an embodiment of the present application discloses a network connection method, which is applied to a terminal device. The terminal device has a first operating system and a second operating system, and the first operating system is in communication with the second operating system. The method includes:

[0005] When the second operating system establishes a wireless network connection with the target network device through the wireless module, the first operating system sends a network proxy request to the second operating system;

[0006] The second operating system establishes a network proxy connection between the second operating system and the first operating system according to the network proxy request;

[0007] The first operating system is connected through the network proxy and performs wireless data transmission with the target network device via the second operating system.

[0008] A second aspect of an embodiment of the present application discloses a network connection device, which is applied to a terminal device. The terminal device has a first operating system and a second operating system, and the first operating system is in communication with the second operating system. The network connection device includes:

[0009] an agent request unit, 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 by the first operating system to the second operating system;

[0010] A proxy establishing unit, configured for the second operating system to establish a network proxy connection between the second operating system and the first operating system according to the network proxy request;

[0011] The data transmission unit is used for the first operating system to connect through the network proxy and perform wireless data transmission with the target network device via the second operating system.

[0012] The third aspect of an embodiment of the present application discloses a terminal device, which includes a memory and a processor, wherein a computer program is stored in the memory. When the computer program is executed by the processor, the processor implements all or part of the steps in any one of the network connection methods disclosed in the first aspect of the embodiment of the present application.

[0013] The fourth aspect of the embodiments of the present application discloses a computer-readable storage medium having a computer program stored thereon, wherein when the computer program is executed by a processor, 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 are implemented.

[0014] Compared with the related art, the embodiments of the present application have the following beneficial effects:

[0015] In an embodiment of the present application, a 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, wherein the second operating system may also establish a wireless network connection with a target network device outside the terminal device through a wireless module of the terminal device. In the case where the second operating system establishes a 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 may establish a network proxy connection between the two operating systems according to the network proxy request, so that the first operating system can connect to the network proxy and perform wireless data transmission with the target network device through the second operating system. It can be seen that by implementing an embodiment of the present application, a network connection of the dual operating systems of the terminal device can be achieved by using a set of wireless modules by establishing a network proxy connection between the second operating system and the first operating system. Such a network connection method can ensure that at least one operating system of the terminal device maintains a network connection through the wireless module. Even if the operating system needs to be switched, there is no need to restart the wireless module. Only the corresponding wireless data transmission needs to be performed through the proxy without temporarily interrupting the network connection. This not only meets the networking needs 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. BRIEF DESCRIPTION OF THE DRAWINGS

[0016] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the following is a brief introduction to the drawings required for use in the embodiments. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without any creative work.

[0017] Figure 1 This is a schematic diagram of an application scenario of a network connection method disclosed in an embodiment of the present application;

[0018] Figure 2 This is a modular schematic diagram of a terminal device disclosed in an embodiment of the present application;

[0019] Figure 3 This is a timing diagram of a network connection method disclosed in an embodiment of the present application;

[0020] Figure 4 This is a flowchart of a network connection method disclosed in an embodiment of the present application;

[0021] Figure 5 This is a flow chart of another network connection method disclosed in an embodiment of the present application;

[0022] Figure 6 This is a flowchart of another network connection method disclosed in an embodiment of the present application;

[0023] Figure 7 This is a flowchart of another network connection method disclosed in an embodiment of the present application;

[0024] Figure 8 This is a modular schematic diagram of a network connection device disclosed in an embodiment of the present application;

[0025] Figure 9 This is a modular schematic diagram of another terminal device disclosed in an embodiment of the present application. DETAILED DESCRIPTION

[0026] The following will be combined with the accompanying drawings in the embodiments of this application to clearly and completely describe the technical solutions in the embodiments of this application. Obviously, the embodiments described are only part of the embodiments of this application, not all of the embodiments. Based on the embodiments in this application, all other embodiments obtained by ordinary technicians in this field without making creative efforts are within the scope of protection of this application.

[0027] It should be noted that the terms "including" and "having" in the embodiments of the present application and any variations thereof are intended to cover non-exclusive inclusions. For example, a process, method, system, product or device that includes a series of steps or units is not necessarily limited to those steps or units clearly listed, but may include other steps or units that are not clearly listed or are inherent to these processes, methods, products or devices.

[0028] The embodiments of the present application disclose a network connection method and apparatus, a terminal device, and a storage medium, which can realize network connection of dual operating systems of a terminal device through a set of wireless modules, thereby reducing the power consumption of the terminal device.

[0029] The following is a detailed description with reference to the accompanying drawings.

[0030] See also Figure 1 , Figure 1 1 is a schematic diagram of an application scenario of a network connection method disclosed in an embodiment of the present application, including a terminal device 10 and a target network device 20. The terminal device 10 may be provided with a wireless module (not shown), through which the terminal device 10 may establish a wireless network connection with the target network device 20. Specifically, the terminal device 10 may be installed with an operating system, and a user may set up networking on the operating system, or the operating system may automatically initiate networking, so as to communicate with the target network device 20 through the wireless module, thereby establishing a wireless network connection.

[0031] For example, the terminal device 10 may include various devices or systems with wireless communication functions, such as mobile phones, smart wearable devices, vehicle-mounted terminals, tablet computers, PCs (Personal Computers), PDAs (Personal Digital Assistants), etc., which are not specifically limited in the embodiments of this application. It should be noted that, Figure 1The terminal device 10 shown in the figure 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 embodiments of the present application. The above-mentioned target network device 20 may include network devices such as base stations based on various mobile communication technologies, and correspond to the type of wireless network that the wireless module on the terminal device 10 can connect to, such as a Wi-Fi (Wireless Fidelity) router, an LTE (Long Term Evolution) base station, an NR (New Radio) base station, etc. In some embodiments, the above-mentioned target network device 20 may also include other terminal devices that can establish a wireless network connection with the terminal device 10, such as a terminal device that can provide a Wi-Fi signal as a Wi-Fi hotspot, a terminal device that can provide a Bluetooth signal as a Bluetooth signal transceiver, etc.

[0032] Please also refer to Figure 2 , Figure 2 FIG1 shows a modular schematic diagram of a terminal device disclosed in an embodiment of the present application. Figure 2 As shown, the terminal device 10 can have a first operating system 101 and a second operating system 102. The first operating system 101 and the second operating system 102 can communicate with each other, and the second operating system 102 can establish a wireless network connection with the target network device 20 through the wireless module 11 of the terminal device 10.

[0033] In one embodiment, the terminal device 10 may have at least two processor cores, which may be provided on two processors respectively or 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. Figure 2As shown, the first operating system 101 can run on the first core 12, and the second operating system 102 can run on the second core 13. A communication channel can be provided between the first core 12 and the second core 13 to establish a communication connection between the first operating system 101 and the second operating system 102. On this basis, a communication channel can also 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 core 12 can be a large core (i.e., a processor core with relatively strong computing power), used to run the first operating system 101 that implements various high-performance functions (including web browsing, audio and video calls, using applications, etc.); the second core 13 can be a small core (i.e., a processor core with relatively weak computing power), used to run the second operating system 102 that implements various basic functions (including network connection, collecting sensor data, etc.). By implementing a dual operating system architecture with large and small cores, processor computing resources can be allocated according to different functional requirements, so that the terminal device maintains good performance and power consumption at the same time.

[0034] In an embodiment of the present application, after the second operating system 102 on the terminal device 10 establishes a wireless network connection with the target network device 20 through the wireless module 11, the first operating system 101 can send a network proxy request to the second operating system 102, and the second operating system 102 can establish a 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 can connect through the network proxy and perform wireless data transmission with the above-mentioned target network device 20 via the second operating system 102. By implementing the above method, it is possible to realize the network connection of the dual operating systems on the terminal device 10 by means of a proxy using a set of wireless modules 11, thereby avoiding the need to set up multiple sets of wireless modules in the related art in order to enable each operating system in a terminal device with dual operating systems or multiple operating systems to connect to the network, resulting in the need to first turn off the wireless module used by the current operating system when the terminal device switches operating systems, and then turn on the wireless module corresponding to the other operating system, which inevitably causes temporary interruption of the network connection. In fact, by setting up only one set of wireless modules 11 to directly realize wireless network connection for the second operating system 102 of the terminal device 10, and indirectly providing networking for the first operating system 101 through a proxy, such a network connection method is simpler in hardware design. When it is necessary to switch the operating system, it is only necessary to perform corresponding wireless data transmission through the proxy without temporarily interrupting the network connection. This 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, while also reducing the design and manufacturing costs of the terminal device.

[0035] It is understandable 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 connected in a manner similar to the above-mentioned dual operating systems, thereby meeting the networking requirements of multiple operating systems of the terminal device.

[0036] To better describe the application scenarios of the embodiments of this application, Figure 3 A timing diagram of a network connection method according to an embodiment of the present application is disclosed. Figure 3 As shown, the terminal device 10 may have a first operating system 101 and a second operating system 102. The method may include:

[0037] 302. The first operating system 101 responds to the network connection instruction for the first operating system 101 and initiates a wireless network connection; or

[0038] The second operating system 102 initiates a wireless network connection in response to the network connection instruction for the second operating system 102 .

[0039] Specifically, in one embodiment, the terminal device 10 can run the first operating system 101 in the foreground (i.e., interact with the user primarily through the first operating system 101), and at this time, the first operating system 101 is in an active state. The user can set up networking through the first operating system 101, or the first operating system 101 can automatically initiate networking, thereby generating a network connection instruction for the first operating system 101. The first operating system 101 can then initiate a wireless network connection in response to the network connection instruction, and the second operating system 102 can establish the wireless network connection in subsequent steps. It is understandable that the second operating system 102 can also be in an active state at this time.

[0040] In another embodiment, the terminal device 10 may also run the second operating system 102 in the foreground (i.e., interact with the user primarily through the second operating system 102), and at this time, the second operating system 102 is in an active state. The user may set up networking through the second operating system 102, or the second operating system 102 may automatically initiate networking, thereby generating a network connection instruction for the second operating system 102. The second operating system 102 may then initiate a wireless network connection in response to the network connection instruction and establish a wireless network connection in subsequent steps. It is worth noting that at this time, the first operating system 101 may be in an active state or in an inactive state (i.e., a dormant state).

[0041] 304 . The second operating system 102 establishes a wireless network connection with the target network device 20 via the wireless module.

[0042] When the wireless network connection is initiated by the first operating system 101 in step 302, the second operating system 102 may first obtain the wireless network connection information transmitted by the first operating system 101, and then, based on the wireless network connection information, establish a wireless network connection with the target network device 20 via the wireless module. When the wireless network connection is initiated by the second operating system 102 itself in step 302, the second operating system 102 may directly obtain the wireless network connection information, and then, based on the wireless network connection information, establish a wireless network connection with the target network device 20 via the wireless module.

[0043] 306 . The first operating system 101 sends a network proxy request to the second operating system 102 .

[0044] In an embodiment of the present application, the second operating system 102 can directly perform wireless data transmission with the target network device 20 through the wireless module. In this case, when the second operating system 102 has established a wireless network connection with the target network device 20, the first operating system 101 can send a network proxy request to the second operating system 102 to indirectly realize wireless data transmission with the target network device 20 through a proxy.

[0045] 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.

[0046] For example, the network proxy connection between the second operating system 102 and the first operating system 101 can be a forward proxy, that is, the terminal device 10 does not need to disclose the information that it has dual operating systems to the target network device 20. For the target network device 20, whether it is actually wireless data transmission between it and the first operating system 101 or between it and the second operating system 102, it is regarded as communication between the target network device 20 and the second operating system 102, thereby reducing the complexity of the terminal device 10 in achieving dual operating system networking and facilitating improved network connection efficiency of the terminal device 10.

[0047] 310 , the first operating system 101 connects via the network proxy and performs wireless data transmission with the target network device 20 via the second operating system 102 .

[0048] Specifically, the first operating system 101 can transmit wireless data to the second operating system 102 through the network proxy connection, and the second operating system 102 can then transmit the received wireless data to the target network device 20. At the same time, the target network device 20 can also transmit network data sent to the first operating system 101 to the second operating system 102, and the second operating system 102 can then transmit the received network data to the first operating system 101 based on the network proxy connection.

[0049] 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 through a proxy. With this network connection method, even when it is necessary to switch operating systems, there is no need to restart the wireless module. Only the corresponding wireless data transmission needs to be performed through the proxy without temporarily interrupting the network connection. This 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.

[0050] See also Figure 4 , Figure 4 This is a flow chart of a network connection method disclosed in an embodiment of the present application. The network connection method can be applied to the above-mentioned terminal device, which has a first operating system and a second operating system, and a communication connection can be established between the first operating system and the second operating system. Figure 4 As shown, the network connection method may include the following steps:

[0051] 402. When the second operating system establishes a wireless network connection with the target network device through the wireless module, the first operating system sends a network proxy request to the second operating system.

[0052] In an embodiment of the present application, the first operating system may include an upper-layer operating system capable of implementing various high-performance functions (including web browsing, audio and video calls, and the use of applications) on the terminal device, such as an Android operating system, an iOS operating system, etc.; the second operating system may include an underlying operating system capable of implementing basic functions (including network connection, sensor data collection, 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 located on two processor cores of the terminal device, and the processor core where the second operating system is located may be connected to a wireless module of the terminal device, so that the second operating system can directly establish a wireless network connection with a target network device outside the terminal device through the wireless module to implement the underlying network connection function of the terminal device.

[0053] After the second operating system successfully establishes a wireless network connection with the target network device through the above-mentioned wireless module, the first operating system of the terminal device can send a network proxy request to the second operating system. The above-mentioned network proxy request can be used to realize the network proxy 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 through the proxy of the second operating system. In one embodiment, when the second operating system establishes a wireless network connection with the target network device, it can actively notify the first operating system so that the first operating system sends a network proxy request to the second operating system; in another embodiment, the first operating system can also continue to actively monitor the network connection status of the second operating system, and when it monitors that the second operating system has established a wireless network connection with the target network device, it can actively send a network proxy request to the second operating system.

[0054] For example, the wireless module may include a Wi-Fi module of a terminal device, so that the second operating system may establish a Wi-Fi connection with a target network device (such as a Wi-Fi base station, a Wi-Fi hotspot provided by other terminal devices, etc.). When the second operating system has successfully connected to Wi-Fi, the first operating system may send a network proxy request to the second operating system through the above-mentioned passive triggering or active triggering method, so that the second operating system may be used as a Wi-Fi proxy terminal in the next step to indirectly realize the Wi-Fi connection between the first operating system and the target network device. It is understandable that the wireless module may also include a Bluetooth module, a data connection (such as a 4G data connection, a 5G data connection, etc.) module of the terminal device, etc., 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.

[0055] It is worth noting that in some embodiments, the power consumption when the above-mentioned second operating system is running can be lower than the power consumption when the first operating system is running. The terminal device actually communicates with the target network device through the second operating system, which can reduce the time actually required to run the first operating system, that is, only the second operating system needs to be run in some communication scenarios, thereby reducing the overall power consumption of the terminal device.

[0056] 404. The second operating system establishes a network proxy connection between the second operating system and the first operating system according to the network proxy request.

[0057] In an embodiment of the present application, after receiving the network proxy request sent by the first operating system, the second operating system can parse the network proxy request and, based on the proxy configuration information obtained from the parsing, use the second operating system as the proxy end to establish a network proxy connection between the second operating system and the first operating system.

[0058] Specifically, the network proxy request sent by the first operating system may include a proxy request data packet, which may include various proxy configuration information (such as proxy address information, port information, data format information, etc.) required for the second operating system to establish a network proxy connection, so that the second operating system can reset the rules for sending and receiving data packets of the second operating system according to the above-mentioned proxy configuration information, so as to redirect the data packets sent by the first operating system to the second operating system to the target network device, and at the same time redirect the data packets 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. The first operating system can indirectly realize wireless data transmission between the target network device through the network proxy connection.

[0059] 406. The first operating system connects via the network proxy and performs wireless data transmission with the target network device via the second operating system.

[0060] Once 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 achieve wireless data transmission through the second operating system acting as the proxy. It should be noted that the network proxy connection is a forward proxy, meaning that the terminal device does not disclose its dual operating system information to the target network device. The target network device simply transmits the data packets it sends to the terminal device without specifying the direction of the data packets within the terminal device's dual operating system.

[0061] Exemplarily, the second operating system can transmit the data packets sent by the first operating system to the target network device, and transmit the data packets sent by the target network device to the first operating system based on the network proxy connection. For example, when the above-mentioned wireless network connection is a Wi-Fi connection, the first operating system can transmit the Wi-Fi data packets that it needs to send to the target network device (such as 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 packets according to the above-mentioned network proxy connection, and then transmits them to the target network device; at the same time, the target network device can also transmit the Wi-Fi data packets that it needs to send to the first operating system to the second operating system, and then the second operating system reversely processes the Wi-Fi data packets according to the above-mentioned network proxy connection, and then transmits them to the first operating system.

[0062] It is understandable that the first operating system and the second operating system can communicate through a dedicated communication channel to improve data transmission efficiency. In one embodiment, the first operating system and the second operating system can communicate with each other through a serial peripheral interface (SPI), so that whether it is 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, they can all be carried out through the above-mentioned serial peripheral interface, which is conducive to improving the efficiency and stability of data transmission, and thus improving the network connection quality of the terminal device.

[0063] It can be seen that the implementation of the network connection method described in the above embodiment can enable different operating systems of the terminal device to be connected to the network through a set of wireless modules through a proxy, which not only meets the networking requirements of the terminal device's dual operating systems, but also effectively improves the stability and reliability of the terminal device's network connection. At the same time, it is also beneficial to reduce the heat generation of the terminal device and reduce the probability of crashes. In addition, by implementing a relatively simple network connection method, it is also beneficial to improve the network connection efficiency of the terminal device.

[0064] See also Figure 5 , Figure 5 This is a flow chart of another network connection method disclosed in an embodiment of the present application. The network connection method can be applied to the above-mentioned terminal device, which has a first operating system and a second operating system, and a communication connection can be established between the first operating system and the second operating system. Figure 5 As shown, the network connection method may include the following steps:

[0065] 502. The first operating system responds to a network connection instruction for the first operating system and obtains wireless network connection information.

[0066] For example, the wireless network connection information may include the address information of the target network device (such as IP address information, address alias, etc.), verification information (such as password, passphrase, etc.), configuration information (such as network connection port, supported protocols, etc.), etc. The network connection instruction may include a setting instruction detected by the first operating system when the user sets up the network in the first operating system, or a control instruction proactively issued by the first operating system when the first operating system proactively initiates the network connection. Thus, when the user sets up the network in the first operating system, or when the first operating system proactively initiates the network connection, the first operating system may respond to the network connection instruction, obtain the wireless network connection information through the first operating system, and then trigger the second operating system to establish a wireless network connection with the target network device based on the wireless network connection information in subsequent steps.

[0067] In one embodiment, after receiving a network connection instruction for the first operating system, the first operating system can respond to the network connection instruction and trigger the second operating system to scan nearby connectable network devices, thereby obtaining wireless network connection information corresponding to the target network device. For example, the first operating system can respond to the network connection instruction for the first operating system and send a wireless scan request to the second operating system. After receiving the wireless scan request, the second operating system can respond to the wireless scan request and scan nearby connectable network devices (such as Wi-Fi base stations corresponding to Wi-Fi networks, Wi-Fi hotspots provided by other terminal devices, etc.), and feedback the connectable network devices to the first operating system. Based on this, the first operating system can determine the target network device from the connectable network devices feedback by the second operating system and obtain the address information and verification information of the target network device. Optionally, the process of determining the target network device can be determined based on the network connection quality corresponding to each of the connectable network devices (such as determining the network device with the highest network connection speed as the target network device, determining the network device with the most stable network connection as the target network device, etc.).

[0068] In another embodiment, the above-mentioned network connection instruction may also include the target network device selected by the user, so that after receiving the network connection instruction for the first operating system, the first operating system can directly obtain the target network device selected by the user and obtain the wireless network connection information corresponding to the target network device. For example, when the user sets up the network in the first operating system, the user can select the target network device from the network device list stored in the first operating system, wherein the network device list can be generated based on the historical records of the terminal device connecting to the network, and filtered according to the actual geographical location of the terminal device (that is, obtaining the network devices that have been connected near the terminal device). On this basis, the first operating system can obtain the corresponding address information and verification information stored according to the target network device selected by the user, thereby eliminating the need for the user to repeatedly enter verification information such as a password, and can trigger the second operating system in subsequent steps to quickly achieve wireless network connection, which is beneficial to improving the network connection efficiency of the terminal device.

[0069] 504. The first operating system sends the wireless network connection information to the second operating system.

[0070] In an embodiment of the present application, since the processor core in which the second operating system resides is connected to the wireless module of the terminal device, it is necessary to establish an actual wireless network connection in the second operating system. On this basis, the first operating system can send the wireless network connection information it obtains to the second operating system. Optionally, the first operating system can quickly and stably send the above-mentioned wireless network connection information to the second operating system through the SPI channel between it and the second operating system, thereby ensuring the reliability of the terminal device's network connection.

[0071] 506. The second operating system establishes a wireless network connection with a target network device through a wireless module according to the wireless network connection information. The target network device corresponds to the wireless network connection information.

[0072] Exemplarily, when the wireless network connection information includes the address information and verification information corresponding to the target network device, the second operating system can generate a corresponding network connection request based on the address information and 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 can parse the address information and verification information from it. Based on the address information, the target network device can determine to verify the verification information (network connection requests with unmatched address information will be discarded), and then establish a wireless network connection with the second operating system when the verification information matches the target network device.

[0073] 508. The second operating system sends the network connection status of the second operating system to the first operating system.

[0074] When the second operating system successfully establishes a wireless network connection with the target network device, the second operating system can obtain the network connection status of the second operating system and send the network connection status to the first operating system, thereby promptly triggering the first operating system to send a network proxy request to the second operating system in subsequent steps, thereby improving the networking efficiency of the first operating system.

[0075] Optionally, when the second operating system fails to successfully establish a wireless network connection with the target network device, the second operating system may also obtain its current network connection status and send the network connection status to the first operating system. When the first operating system determines based on the above network connection status that the second operating system has failed to successfully establish a wireless network connection, it may prompt the user, such as by providing a pop-up window, audio and visual prompts, or vibration prompts, thereby promptly alerting the user to the abnormal network connection and further determining whether to replace the target network device, thereby ensuring the reliability of the dual operating system connection of the terminal device.

[0076] 510. When the first operating system determines, based on the network connection status, that the second operating system has successfully established a wireless network connection, the first operating system sends a network proxy request to the second operating system.

[0077] Step 510 is similar to step 402. It should be noted that the first operating system may first determine the network connection status of the second operating system, and only send a network proxy request to the second operating system if it determines that the second operating system has established a wireless network connection with the target network device.

[0078] 512. The second operating system establishes a network proxy connection between the second operating system and the first operating system according to the network proxy request.

[0079] 514. The first operating system connects via the network proxy and performs wireless data transmission with the target network device via the second operating system.

[0080] Among them, step 512 and step 514 are similar to the above-mentioned step 404 and step 406, and are not repeated here.

[0081] It can be seen that the implementation of the network connection method described in the above embodiment can enable different operating systems of the terminal device to 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 up networking in the first operating system, the appropriate target network device can be accurately selected, which is conducive to improving the flexibility and reliability of the networking of the first operating system, and at the same time shielding the user from the existence of the second operating system as a proxy end, making the network connection operation of the terminal device relatively simpler, which is conducive to improving the network connection efficiency of the terminal device.

[0082] See also Figure 6 , Figure 6 This is a flow chart of another network connection method disclosed in an embodiment of the present application. The network connection method can be applied to the above-mentioned terminal device, which has a first operating system and a second operating system, and a communication connection can be established between the first operating system and the second operating system. Figure 6 As shown, the network connection method may include the following steps:

[0083] 602. The second operating system responds to the network connection instruction for the second operating system and obtains wireless network connection information.

[0084] 604. The second operating system establishes a wireless network connection between the target network device corresponding to the wireless network connection information through the wireless module according to the wireless network connection information.

[0085] Among them, steps 602 and 604 are similar to the above steps 502 and 504, and the above wireless network connection information can also include the address information of the target network device (such as IP address information, address alias, etc.), verification information (such as password, passphrase, etc.), configuration information (such as network connection port, supported protocols, etc.), etc. It should be noted that when the user sets up networking in the second operating system, or the second operating system actively initiates networking, the second operating system can scan nearby connectable network devices, or obtain stored network devices that have been connected before, and determine the target network device from them, and then directly obtain the wireless network connection information corresponding to the target network device, so as to establish a wireless network connection with the target network device according to the wireless network connection information in subsequent steps.

[0086] 606. When it is necessary to switch from the second operating system to the first operating system, the second operating system sends a wake-up instruction to the first operating system.

[0087] In an embodiment of the present application, the terminal device can run the second operating system in the foreground, and the first operating system can be in a dormant state. It is worth noting that in some embodiments, the power consumption of the second operating system when running can be lower than the power consumption of the first operating system when running, so that when the terminal device runs the second operating system in the foreground, the power consumption of the terminal can be effectively reduced, which plays a role in saving power and improving battery life. After the second operating system establishes a wireless network connection with the target network device, the first operating system can also connect to the network through a proxy. At this time, the terminal device can be switched from the second operating system to the first operating system, and the wireless network connection of the first operating system can be realized in subsequent steps.

[0088] In one embodiment, when a user needs to switch from the second operating system to the first operating system, the terminal device can obtain the user's switching operation (such as clicking a switch button, making a switching action, etc.), and generate a wake-up instruction based on the switching operation, and the second operating system sends the wake-up instruction to the first operating system.

[0089] In another embodiment, the terminal device can also automatically switch from the second operating system to the first operating system under certain conditions. In this case, the second operating system can automatically generate a wake-up instruction and send the wake-up instruction to the first operating system. For example, after the second operating system establishes a wireless network connection with the target network device, it can trigger the terminal device to switch from the second operating system to the first operating system so that the first operating system can also connect to the network; when the second operating system detects that the battery level of the terminal device is higher than a power threshold, it can also trigger the terminal device to switch from the second operating system to the first operating system, so that the relatively power-consuming first operating system can be used to achieve high-performance functions.

[0090] 608. When the second operating system establishes a wireless network connection with the target network device through the wireless module, after the first operating system is awakened by the received wake-up instruction, it sends a network proxy request to the second operating system.

[0091] Among them, step 608 is similar to the above step 402. It should be noted that after the second operating system successfully establishes a wireless network connection with the target network device, if the first operating system receives a wake-up instruction, the first operating system can be awakened by the above wake-up instruction, and then the terminal device can 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 this process, after the first operating system is awakened, the first operating system can send a network proxy request to the second operating system to indirectly achieve a wireless network connection with the target network device through a proxy.

[0092] 610. The second operating system establishes a network proxy connection between the second operating system and the first operating system according to the network proxy request.

[0093] 612. The first operating system connects through the network proxy and performs wireless data transmission with the target network device via the second operating system.

[0094] Among them, step 512 and step 514 are similar to the above-mentioned step 404 and step 406, and are not repeated here.

[0095] It can be seen that the implementation of the network connection method described in the above embodiment can enable different operating systems of the terminal device to be connected to the network through a set of wireless modules in a proxy manner, which not only meets the networking requirements of the terminal device's dual operating systems, but also effectively improves the stability and reliability of the terminal device's network connection; in addition, by setting up networking in the second operating system, a wireless network connection can be established in advance without waking up the first operating system, effectively reducing the power consumption of the terminal, saving power and improving battery life, and switching to the first operating system can be realized at any time when needed, thereby improving the networking efficiency of the first operating system.

[0096] See also Figure 7 , Figure 7 This is a flow chart of another network connection method disclosed in an embodiment of the present application. The network connection method can be applied to the above-mentioned terminal device, which has a first operating system and a second operating system, and a communication connection can be established between the first operating system and the second operating system. Figure 7 As shown, the network connection method may include the following steps:

[0097] 702. The first operating system responds to the network connection instruction for the first operating system and sends a wireless scanning request to the second operating system.

[0098] 704. The second operating system responds to the wireless scanning request, scans for connectable network devices, and feeds back the connectable network devices to the first operating system.

[0099] 706. The first operating system determines a target network device from the connectable network devices fed back by the second operating system, and obtains address information and verification information of the target network device.

[0100] Among them, step 702, step 704 and step 706 are similar to the above-mentioned step 502 and are not repeated here.

[0101] 708. The first operating system sends the address information and verification information to the second operating system.

[0102] 710. The second operating system establishes a wireless network connection with the target network device through the wireless module according to the address information and verification information.

[0103] 712. The second operating system sends the network connection status of the second operating system to the first operating system.

[0104] Among them, step 708, step 710 and step 712 are similar to the above-mentioned step 504, step 506 and step 508, and are not repeated here.

[0105] 714. When the first operating system determines that the second operating system has successfully established a wireless network connection based on the network connection status, the first operating system sends a network proxy request to the second operating system, where the network proxy request includes proxy address information.

[0106] Step 714 is similar to step 510. It should be noted that the network proxy request may include proxy address information, which may include a designated IP address agreed upon by the first operating system and the second operating system for implementing a network proxy connection between the two operating systems. Based on this proxy address information, the second operating system can identify, from among a large number of data packets flowing through the second operating system, corresponding data packets sent by the first operating system to the target network device, and data packets sent by the target network device to the first operating system, so as to process these data packets in subsequent steps to implement a proxy network connection.

[0107] 716. The second operating system establishes a network proxy connection between the second operating system and the first operating system according to the network proxy request.

[0108] Among them, step 716 is similar to the above-mentioned step 404 and will not be repeated here.

[0109] 718. The second operating system transmits the to-be-sent data of the first operating system to the target network device according to the proxy address information.

[0110] Specifically, when the first operating system needs to send the data to be transmitted to the target network device, the first operating system can package the data to be transmitted to obtain the original data packet based on the above-mentioned proxy address information, and send the original data packet to the second operating system. On this basis, when the second operating system receives the original data packet containing the above-mentioned proxy address information, it can perform address conversion processing on the original data packet to obtain a proxy send data packet, and send the proxy send data packet to the target network device through the wireless module. Among them, the above-mentioned address conversion processing can include replacing the proxy address information in the above-mentioned original data packet with the address information corresponding to the terminal device itself, so as to unify the source address of the terminal device when performing wireless data transmission, so as to realize the proxy sending of wireless data.

[0111] For example, the first operating system and the second operating system can agree on proxy address information P1. This proxy address information P1 can be specified by the user or automatically generated by the first operating system. When the first operating system needs to send data to a target network device, it can package the data to be transmitted into an original data packet and write the proxy address information P1 into the message header of the original data packet. Upon receiving the original data packet, the second operating system can unpack the original data packet to obtain the proxy address information P1, replace the proxy address information P1 with the address information P2 corresponding to the terminal device itself, obtain the proxy send data packet, and send it to the target network device.

[0112] 720. The second operating system transmits the network data of the target network device to the first operating system according to the proxy address information.

[0113] Specifically, when the target network device needs to send network data to the first operating system, the second operating system receives the proxy receive data packet sent by the target network device through the wireless module, and performs reverse address translation on the proxy receive data packet based on the above-mentioned proxy address information to obtain a network data packet. On this basis, the second operating system can send the network data packet to the first operating system, so that the first operating system can obtain the network data of the target network device from the network data packet. The above-mentioned reverse address translation processing can include replacing the address information corresponding to the terminal device itself in the above-mentioned proxy receive data packet with the proxy address information, thereby unifying the destination address of the terminal device when transmitting wireless data, thereby realizing proxy reception of wireless data.

[0114] For example, when the target network device sends a proxy-received data packet to the second operating system, the second operating system can unpack the proxy-received data packet and obtain the address information P2 corresponding to the terminal device itself. Based on the aforementioned network proxy connection, the second operating system can replace the address information P2 with the aforementioned proxy address information P1. In other words, it can generate a new network data packet based on the proxy address information P1 and the network data of the target network device and send it to the first operating system.

[0115] It can be seen that the implementation of the network connection method described in the above embodiment can enable different operating systems of the terminal device to be connected to the network through a set of wireless modules through a proxy, 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 acting as the agent can accurately obtain the data packets that need to be sent to the first operating system or the target network device through the network proxy, and process them accordingly to achieve reliable network proxy connection, which is conducive to improving the reliability and security of the dual operating system networking of the terminal device.

[0116] See also Figure 8 , Figure 8 This is a modular schematic diagram of a network connection device disclosed in an embodiment of the present application. The network connection device can be applied to the above-mentioned terminal device, which has a first operating system and a second operating system, and a communication connection can be established between the first operating system and the second operating system. Figure 8 As shown, the network connection device may include a proxy request unit 801, a proxy establishment unit 802, and a data transmission unit 803, wherein:

[0117] The proxy request unit 801 is configured to send a network proxy request from the first operating system to the second operating system when the second operating system establishes a wireless network connection with the target network device through the wireless module;

[0118] The proxy establishing unit 802 is configured for the second operating system to establish a network proxy connection between the second operating system and the first operating system according to the network proxy request;

[0119] The data transmission unit 803 is used for the first operating system to connect through the network proxy and perform wireless data transmission with the above-mentioned target network device via the second operating system.

[0120] In one embodiment, the first operating system may be communicatively connected to the second operating system via a serial peripheral interface.

[0121] In one embodiment, the power consumption when the second operating system is running may be lower than the power consumption when the first operating system is running.

[0122] It can be seen that the network connection device described in the above embodiment can enable different operating systems of the terminal device to be connected to the network through a set of wireless modules through a proxy, which not only meets the networking requirements of the terminal device's dual operating systems, but also effectively improves the stability and reliability of the terminal device's network connection. At the same time, it is also beneficial to reduce the heat generation of the terminal device and reduce the probability of crashes. In addition, by implementing a relatively simple network connection method, it is also beneficial to improve the network connection efficiency of the terminal device.

[0123] In one embodiment, Figure 8 The network connection device shown may further include an information acquisition unit, an information sending unit, and a network connection unit, which are not shown in the figure, wherein:

[0124] An information acquisition unit, configured for the first operating system to respond to a network connection instruction for the first operating system and acquire wireless network connection information;

[0125] An information sending unit, configured for the first operating system to send wireless network connection information to the second operating system;

[0126] The network connection unit is used for the second operating system to establish a wireless network connection with a target network device through a wireless module according to the wireless network connection information. The target network device corresponds to the wireless network connection information.

[0127] In one embodiment, the information sending unit may also be used for the second operating system to send the network connection status of the second operating system to the first operating system;

[0128] 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, based on the network connection status, that the second operating system has successfully established a wireless network connection.

[0129] In one embodiment, the above-mentioned wireless network connection information includes at least the address information and verification information of the target network device. The above-mentioned information acquisition unit can be specifically used for the first operating system to respond to the network connection instruction for the first operating system and send a wireless scanning request to the second operating system; and the second operating system responds to the wireless scanning request, scans the connectable network devices, and feeds back the connectable network devices to the first operating system; and the first operating system determines the target network device from the connectable network devices fed back by the second operating system, and obtains the address information and verification information of the target network device.

[0130] It can be seen that by adopting the network connection device described in the above embodiment, by setting up 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 the networking of the first operating system. At the same time, the existence of the second operating system as an agent is shielded from the user, making the network connection operation of the terminal device relatively simpler, which is beneficial to improving the network connection efficiency of the terminal device.

[0131] In one embodiment, the information acquisition unit may also be used for the second operating system to respond to a network connection instruction for the second operating system to acquire wireless network connection information;

[0132] The network connection unit may also be used by the second operating system to establish a wireless network connection between target network devices corresponding to the wireless network connection information through the wireless module according to the wireless network connection information.

[0133] In one embodiment, the information sending unit may also be configured to cause the second operating system to send a wake-up instruction to the first operating system when switching from the second operating system to the first operating system is required;

[0134] The proxy request unit 801 may be specifically configured to send a network proxy request to the second operating system after the first operating system is awakened by a received wake-up instruction, when the second operating system establishes a wireless network connection with the target network device via a wireless module.

[0135] It can be seen that by using the network connection device described in the above embodiment, by setting up networking in the second operating system, a wireless network connection can be established in advance without waking up the first operating system, effectively reducing the power consumption of the terminal, saving power and improving battery life, and switching to the first operating system can be realized at any time when needed, thereby improving the networking efficiency of the first operating system.

[0136] In one embodiment, the network proxy request includes proxy address information, and the data transmission unit 803 can be used for the second operating system to transmit the to-be-sent data of the first operating system to the target network device according to the proxy address information; or

[0137] The second operating system transmits the network data of the target network device to the first operating system according to the proxy address information.

[0138] Among them, when transmitting the data to be sent, the above-mentioned data transmission unit 803 can be specifically used by the first operating system to package the data to be transmitted according to the proxy address information to obtain the original data packet, and send the original data packet to the second operating system; when the second operating system receives the original data packet containing the proxy address information, it performs address conversion processing on the original data packet to obtain the proxy sending data packet, and sends the proxy sending data packet to the target network device through the wireless module.

[0139] Furthermore, when transmitting network data, the above-mentioned data transmission unit 803 can be specifically used by the second operating system to receive the proxy reception data packet sent by the target network device through the wireless module, and perform reverse address conversion on the proxy reception data packet according to the proxy address information to obtain a network data packet; the second operating system sends 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.

[0140] It can be seen that by using the network connection device described in the above embodiment, by setting the proxy address information, the second operating system acting as the agent can accurately obtain the data packets that need to be sent to the first operating system or the target network device through the network proxy, and process them accordingly to achieve a reliable network proxy connection, which is beneficial to improving the reliability and security of the dual operating system networking of the terminal device.

[0141] See also Figure 9 , Figure 9 This is a modular schematic diagram of a terminal device disclosed in an embodiment of the present application. Figure 9 As shown, the terminal device may include a memory 901 and a processor 902, wherein the memory 901 stores a computer program, and when the computer program is executed by the processor 902, the processor 902 can implement all or part of the steps in any one of the network connection methods described in the above embodiments.

[0142] In addition, an embodiment of the present application further discloses a computer-readable storage medium that stores a computer program for electronic data exchange, wherein when the computer program is executed by a processor, the processor can implement all or part of the steps in any one of the network connection methods described in the above embodiments.

[0143] In addition, an embodiment of the present application further discloses a computer program product. When the computer program product is run on a computer, the computer can implement all or part of the steps in any one of the network connection methods described in the above embodiments.

[0144] Those skilled in the art will appreciate that all or part of the steps in the various methods of the above embodiments can be completed by instructing related hardware through a program. The program can be stored in a computer-readable storage medium, and the storage medium includes a read-only memory (ROM), a random access memory (RAM), a programmable read-only memory (PROM), an erasable programmable read-only memory (EPROM), a one-time programmable read-only memory (OTPROM), an electronically erasable programmable read-only memory (EEPROM), a compact disc read-only memory (CD-ROM) or other optical disc storage, magnetic disk storage, magnetic tape storage, or any other computer-readable medium capable of carrying or storing data.

[0145] The above is a detailed introduction to a network connection method and device, terminal equipment, and storage medium disclosed in the embodiments of the present application. Specific examples are used herein to illustrate the principles and implementation methods of the present application. The description of the above embodiments is only used to help understand the method of the present application and its core idea. At the same time, for those skilled in the art, according to the ideas of the present application, there may be changes in the specific implementation methods and application scope. In summary, the content of this specification should not be understood as a limitation on the present application.

Claims

1. A network connection method, characterized in that: Applied to a terminal device, the terminal device having a first kernel, a second kernel, a first operating system, and a second operating system, the first kernel being configured to run the first operating system, the second kernel being configured to run the second operating system, a communication channel being provided between the first kernel and the second kernel so as to establish a communication connection between the first operating system and the second operating system, the power consumption of the second operating system when running is lower than the power consumption of the first operating system when running, the method comprising: The second operating system obtains wireless network connection information in response to a network connection instruction for the second operating system; The second operating system establishes, through a wireless module, a wireless network connection between a target network device corresponding to the wireless network connection information according to the wireless network connection information; In a case where the second operating system establishes a wireless network connection with the target network device through the wireless module, after the first operating system is awakened, sending a network proxy request to the second operating system; The second operating system establishes a 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 through the network proxy and performs wireless data transmission with the target network device via the second operating system.

2. The method according to claim 1, characterized in that In the case where the second operating system establishes a wireless network connection with the target network device through the wireless module, after the first operating system is awakened and before sending a network proxy request to the second operating system, the method further includes: The first operating system obtains wireless network connection information in response to a network connection instruction for the first operating system; The first operating system sends the wireless network connection information to the second operating system; The second operating system establishes a wireless network connection with a target network device through a wireless module according to the wireless network connection information, and the target network device corresponds to the wireless network connection information.

3. The method according to claim 2, characterized in that After the second operating system establishes a wireless network connection with the target network device through the wireless module according to the wireless network connection information, the method further includes: The second operating system sends the network connection status of the second operating system to the first operating system; The method of sending a network proxy request to the second operating system after the first operating system is awakened, when the second operating system establishes a wireless network connection with the target network device through the wireless module, includes: When the first operating system determines, based on the network connection status, that the second operating system successfully establishes the wireless network connection, a network proxy request is sent to the second operating system.

4. The method according to claim 2, characterized in that The wireless network connection information includes at least address information and verification information of a target network device, and the first operating system responds to a network connection instruction for the first operating system to obtain the wireless network connection information, including: The first operating system sends a wireless scan 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 for connectable network devices, and feeds back the connectable network devices to the first operating system; The first operating system determines the target network device from the connectable network devices fed back by the second operating system, and obtains address information and verification information of the target network device.

5. The method according to claim 1, wherein After the second operating system establishes, through the wireless module, a wireless network connection between the target network device corresponding to the wireless network connection information according to the wireless network connection information, the method further includes: When a switching operation 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 method of sending a network proxy request to the second operating system after the first operating system is awakened, when the second operating system establishes a wireless network connection with the target network device through the wireless module, includes: In the case where the second operating system establishes a wireless network connection with the target network device through the wireless module, after the first operating system is awakened by the received wake-up instruction, it sends a network proxy request to the second operating system.

6. The method according to any one of claims 1 to 5, characterized in that The network proxy request includes proxy address information; the first operating system is connected through the network proxy, and wireless data transmission is performed with the target network device via the second operating system, including: The second operating system transmits the data sent by the first operating system to the target network device according to the proxy address information; and / or, 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.

7. The method according to claim 6, characterized in that The second operating system transmits the data sent by the first operating system to the target network device according to the proxy address information, including: The first operating system packages the data to be transmitted according to the proxy address information to obtain an original data packet, and sends the original data packet to the second operating system; When the second operating system receives the original data packet containing the proxy address information, it performs address conversion processing on the original data packet to obtain a proxy send data packet, and sends the proxy send data packet to the target network device through the wireless module.

8. The method according to claim 6, characterized in that 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, including: The second operating system receives the proxy reception data packet sent by the target network device through the wireless module, and performs inverse address translation processing on the proxy reception data packet according to the proxy address information to obtain a network data packet; The second operating system sends the network data packet to the first operating system; The first operating system obtains the network data of the target network device from the network data packet.

9. The method according to any one of claims 1 to 5, characterized in that The first operating system and the second operating system are communicatively connected via a serial peripheral interface.

10. A network connection device, characterized in that: Applied to a terminal device, the terminal device having a first kernel, a second kernel, a first operating system, and a second operating system, the first kernel being configured to run the first operating system, the second kernel being configured to run the second operating system, a communication channel being provided between the first kernel and the second kernel so as to establish a communication connection between the first operating system and the second operating system, the power consumption of the second operating system when running is lower than the power consumption of the first operating system when running, and the network connection device comprising: An information acquisition unit, configured for the second operating system to respond to a network connection instruction for the second operating system and acquire wireless network connection information; A network connection unit, configured for the second operating system to establish, through a wireless module and based on the wireless network connection information, a wireless network connection between a target network device corresponding to the wireless network connection information; an agent request unit, configured to send a network agent request to the second operating system after the first operating system is awakened, in a case where the second operating system establishes a wireless network connection with the target network device through the wireless module; A proxy establishing unit, configured for the second operating system to establish a network proxy connection between the second operating system and the first operating system according to the network proxy request; The data transmission unit is used for the first operating system to connect through the network proxy and perform wireless data transmission with the target network device via the second operating system.

11. A terminal device, characterized in that: The method comprises a memory and a processor, wherein a computer program is stored in the memory, and when the computer program is executed by the processor, the processor implements the method according to any one of claims 1 to 9.

12. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the method according to any one of claims 1 to 9 is implemented.

Citation Information

Patent Citations

  • Information acquisition method based on multi-system display equipment and multi-system display equipment

    CN112073762A