Network connection control method, device, mobile terminal and storage medium

By monitoring and parsing message information and switching network connection methods according to the preset whitelist, the problem of high power consumption and low usage efficiency in the standby state of 5G network terminals is solved, achieving higher network adaptability and efficiency.

CN112449388BActive Publication Date: 2024-09-24ZTE CORP
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN201910835009.7
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2019-09-04
Publication Date
2024-09-24
Estimated Expiration
2039-09-04

AI Technical Summary

Technical Problem

5G network terminals consume high power in standby mode and have low network usage efficiency, making it difficult to adapt to different application needs.

Method used

By monitoring the current network packet information, parsing application information, and switching network connection methods according to the preset whitelist, it can switch to low-power 4G networks or other connection methods when appropriate to ensure network adaptability.

Benefits of technology

It improves network adaptability, reduces the power consumption of the 5G network in standby mode, and improves the overall network usage efficiency.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN112449388B
    Figure CN112449388B
Patent Text Reader

Abstract

The present invention relates to the field of mobile communication technology, and discloses a network connection control method, device, mobile terminal and storage medium, wherein the method comprises: when the current network is in a first network connection mode, monitoring the first message information of the current network; when the first message information is monitored, parsing the first message information to obtain application information of the first message information; when the first message information exists in a first preset whitelist, switching the first network connection mode to a second network connection mode, wherein the first preset whitelist is a whitelist associated with the second network. Thus, when the current network is adapted to other network connection modes, the current connection mode is switched to a connection mode with high adaptability, thereby achieving the purpose of improving network adaptability.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of mobile communication technology, and in particular to a network connection control method, device, mobile terminal and storage medium. Background Art

[0002] 5G (5th generation mobile networks, fifth generation mobile communication technology) network refers to the fifth generation network in the development of mobile communication network. 5G network is a new type of network mode. Compared with the previous 4G (4th generation mobile networks, fourth generation mobile communication technology), 5G network has more enhanced functions in actual application, and theoretically its transmission speed can reach billions of bytes per second, which is hundreds of times that of 4G mobile network.

[0003] For 5G networks, due to the characteristics of high speed, low latency and high power consumption in applications, 5G shows more obvious advantages and more powerful functions in actual applications. However, after establishing a 5G connection, the standby current of the 5G terminal is 280mA even in idle state, which is much larger than the standby current of the 4G network, and the current network utilization efficiency may be lower than that of other networks. Summary of the invention

[0004] The main purpose of the present invention is to provide a network connection control method, device, mobile terminal and storage medium, aiming to at least solve the technical problem of improving network adaptability.

[0005] To achieve at least the above objective, the present invention provides a network connection control method, the network connection control method comprising the following steps:

[0006] When the current network is in the first network connection mode, monitoring message information of a first preset application, wherein the first preset application is an application associated with the first network;

[0007] When the message information of the first preset application is monitored, resetting the timer and continuing to monitor;

[0008] When no message information of the first preset application is monitored, the first network connection mode is switched to a second network connection mode.

[0009] In addition, to achieve at least the above-mentioned purpose, the present invention further provides a network connection control device, the network connection control device comprising:

[0010] A monitoring module, used to monitor message information of a first preset application when the current network is in a first network connection mode, wherein the first preset application is an application associated with the first network;

[0011] A reset module, configured to reset the timer and continue monitoring when the message information of the first preset application is monitored;

[0012] The control module is used to switch the first network connection mode to a second network connection mode when no message information of the first preset application is monitored.

[0013] In addition, to achieve at least the above-mentioned purpose, the present invention also proposes a mobile terminal, which includes: a memory, a processor, and a network connection control program stored in the memory and executable on the processor, wherein the network connection control program is configured to implement the steps of the network connection control method as described above.

[0014] In addition, to achieve at least the above-mentioned purpose, the present invention further proposes a storage medium, on which a network connection control program is stored, and when the network connection control program is executed by a processor, the steps of the network connection control method described above are implemented.

[0015] The network connection control method proposed in the embodiment of the present invention monitors the first message information of the current network when the current network is in the first network connection mode; when the first message information is monitored, the first message information is parsed to obtain the application information of the first message information; when the first message information exists in the first preset whitelist, the first network connection mode is switched to the second network connection mode, wherein the first preset whitelist is a whitelist associated with the second network. Thus, when the current network is adapted to other network connection modes, the current connection mode is switched to a connection mode with high adaptability, thereby achieving the purpose of improving network adaptability. BRIEF DESCRIPTION OF THE DRAWINGS

[0016] Figure 1 It is a schematic diagram of the device structure of the hardware operating environment involved in the embodiment of the present invention;

[0017] Figure 2 A schematic diagram of a flow chart of a first embodiment of a network connection control method of the present invention;

[0018] Figure 3 It is a schematic diagram of the overall structure of an embodiment of a network connection control method of the present invention;

[0019] Figure 4 A schematic diagram of packet capture in accordance with an embodiment of a network connection control method of the present invention;

[0020] Figure 5 This is a schematic diagram of the result of obtaining the delay in an embodiment of the network connection control method of the present invention;

[0021] Figure 6 A schematic diagram of a flow chart of a second embodiment of a network connection control method of the present invention;

[0022] Figure 7 A schematic diagram of application information obtained according to an embodiment of a network connection control method of the present invention;

[0023] Figure 8 This is a schematic diagram of the process after a 5G connection is established according to an embodiment of a network connection control method of the present invention;

[0024] Fig. 9 A schematic diagram of a flow chart of a third embodiment of a network connection control method of the present invention;

[0025] Fig.10 This is a schematic diagram of the process before 5G connection establishment in an embodiment of a network connection control method of the present invention;

[0026] Fig.11 It is a functional module diagram of the first embodiment of the network connection control device of the present invention.

[0027] The realization of the purpose, functional features and advantages of the present invention will be further explained in conjunction with embodiments and with reference to the accompanying drawings. DETAILED DESCRIPTION

[0028] It should be understood that the specific embodiments described herein are only used to explain the present invention, and are not used to limit the present invention.

[0029] Reference Figure 1 , Figure 1 The figure is a schematic diagram of the device structure of the hardware operating environment involved in the embodiment of the present invention.

[0030] like Figure 1As shown, the device may include: a processor 1001, such as a central processing unit (CPU), a communication bus 1002, a user interface 1003, a network interface 1004, and a memory 1005. Among them, the communication bus 1002 is used to realize the connection and communication between these components. The user interface 1003 may include a display screen (Display), an input unit such as a button, and the optional user interface 1003 may also include a standard wired interface and a wireless interface. The network interface 1004 may optionally include a standard wired interface and a wireless interface (such as a WI-FI interface). The memory 1005 may be a high-speed random access memory (Random Access Memory, RAM), or a stable memory (non-volatile memory), such as a disk storage. The memory 1005 may also be a storage device independent of the aforementioned processor 1001.

[0031] Those skilled in the art will understand that Figure 1 The device structure shown in the figure does not constitute a limitation of the device, and may include more or less components than shown in the figure, or combine certain components, or arrange the components differently.

[0032] like Figure 1 As shown, the memory 1005 as a storage medium may include an operating system, a network communication module, a user interface module, and a network connection control program.

[0033] exist Figure 1 In the device shown, the network interface 1004 is mainly used to connect to the external network and communicate data with other network devices; the user interface 1003 is mainly used to connect to the user device and communicate data with the device; the device of the present invention calls the network connection control program stored in the memory 1005 through the processor 1001, and executes the implementation method of the network connection control provided by the embodiment of the present invention.

[0034] Based on the above hardware structure, an embodiment of the network connection control method of the present invention is proposed.

[0035] Reference Figure 2 , Figure 2 FIG. 1 is a flow chart of a first embodiment of a network connection control method according to the present invention.

[0036] In a first embodiment, the network connection control method comprises the following steps:

[0037] Step S10: when the current network is in the first network connection mode, monitoring first message information of the current network.

[0038] It should be noted that the executor of this embodiment is a mobile terminal, such as a mobile phone and a tablet, and may also be other terminal devices that can achieve the same or similar functions. This embodiment does not limit this. In this embodiment, a mobile phone is used as an example for explanation.

[0039] In this embodiment, the mobile terminal is configured with multiple network connection modes, such as 5G network, 4G network, Bluetooth, and wireless.

[0040] It can be understood that, in one implementation, the first network connection mode can be a 4G network connection mode, or can be a connection mode of other networks. This embodiment does not limit this. Since the frequency band information of different network connection modes is different, the frequency band information of the current connection mode is obtained, and the currently used network is determined according to the frequency band information.

[0041] In a specific implementation, a monitoring program is set up, through which message information can be monitored in real time. The monitoring program can be an application applet, a built-in monitoring program of a mobile phone, or other forms of monitoring programs, which are not limited in this embodiment.

[0042] Step S20: When the first message information is monitored, the first message information is parsed to obtain application information of the first message information.

[0043] It should be noted that the application information includes version information, identification information and application name information of the application used, and may also include other information. This embodiment does not limit this. When the first message information is monitored, the message parsing device receives a feature library rule parsing file, and the feature library rule parsing file includes string identifiers of at least two basic functions and corresponding operation object strings; the message is parsed according to the string identifiers of the at least two basic functions and the corresponding operation object strings, thereby realizing the parsing of the message.

[0044] Step S30: When the first message information exists in a first preset whitelist, the first network connection mode is switched to a second network connection mode, wherein the first preset whitelist is a whitelist associated with the second network.

[0045] In this embodiment, the second network connection mode may be a 5G connection mode, that is, the 4G connection mode is switched to a 5G connection mode.

[0046] Furthermore, after step S30, the method may further include: monitoring second message information of the switched network; when the second message information is monitored, resetting the timer and continuing to monitor; when the second message information is not monitored, switching the second network connection mode to the first network connection mode.

[0047] It should be noted that since the first preset whitelist is a whitelist associated with the second network, when the second message information is monitored, the second message information is message information associated with the second network, which indicates that an application that requires the 5G network is currently in use. In this case, the timer is reset to avoid expiration of the network usage time and ensure the normal operation of the 5G network.

[0048] When monitoring message information, a timer can be set to count. When no message information of the first preset application is heard within the preset time, the second network connection mode is switched to the first network connection mode. The preset time can be 5 minutes or other parameter information. This embodiment does not limit this. For example, when monitoring is performed within 5 minutes and the monitoring time reaches 5 minutes and no message information of the first preset application is heard, the second network connection mode is switched to the first network connection mode.

[0049] In this embodiment, the first network connection mode is a low-power communication network. When the second network connection mode may be a 5G network, the first connection mode may be a 4G network or other communication networks, which is not limited in this embodiment.

[0050] It should be noted that when the first message information is monitored, it is also possible to parse the message information to obtain application information and determine whether the application information is in the whitelist, wherein the whitelist is a pre-stored application that needs to use the 5G network. When a whitelist exists, the first network connection method is switched to the second network connection method. The power consumption of the first network connection method is lower than the power consumption of the second network connection method. Evaluation is performed through scoring or voting. If the impact on the current system is small, switching is performed. If the impact on the current system is large, no switching is performed, thereby ensuring the normal operation of the system.

[0051] In the specific implementation, Figure 3The overall structural diagram shown may include, but is not limited to, a monitoring module 10, a query module 102, a whitelist management module 103, a judgment module 104, a connection management module 105 and a statistical module 106, wherein the monitoring module 10 is used to monitor whether the terminal has sent a message, the query module 102 is used to obtain application information that sends the message, and the whitelist management module 103 is used to manage the application whitelist. In this embodiment, only the 5G network is used for illustration, and other network connection methods can also be used. This embodiment does not limit this, such as a 5G network application whitelist, and other network application registration lists can also be used. The judgment module 104 is used to determine whether to establish a 5G connection, the connection management module 105 is used to manage the 5G connection, and the statistical module 106 is used to determine whether the application uses the 5G network first based on its historical data.

[0052] It should be noted that the statistics module 106 is also used to determine whether the application uses the 5G network first based on its historical data. If the application meets the characteristics of 5G high speed and low latency, the whitelist management module 103 is notified to add it to the 5G application whitelist. The historical data of the application includes but is not limited to one or more of the following combinations: maximum rate, average rate, minimum latency, average latency, average message size, port number, message type, such as RTP (Real-time Transport Protocol) message, etc.

[0053] In this embodiment, the statistical module 106 collects the minimum delay or average delay of the application. When the minimum delay or average delay is lower than a certain threshold, the application is judged to be a "5G core application". The current delay of the 4G network is about 40 milliseconds. AR (Augmented Reality) and VR (Virtual Reality) products should avoid dizziness in users, and the delay needs to be about 7 milliseconds. Therefore, once it is detected that the delay of an application is at the equivalent level of 10 milliseconds, it is judged to be a "5G core application". The way to obtain the delay is to listen to the time of receiving the ACK (Acknowledgement) on the network side after the message is sent and divide it by 2, such as Figure 4 The packet capture schematic diagram shown in the figure can also call a preset instruction to obtain the delay by calling the preset instruction, wherein the preset instruction can be a ping method or other methods that can achieve the same or similar functions, which is not limited in this embodiment, such as Figure 5 The schematic diagram of the delay result is shown.

[0054] This embodiment adopts the above scheme, by monitoring the first message information of the current network when the current network is in the first network connection mode; when the first message information is monitored, the first message information is parsed to obtain the application information of the first message information; when the first message information exists in the first preset whitelist, the first network connection mode is switched to the second network connection mode, wherein the first preset whitelist is a whitelist associated with the second network. Thus, when the current network is adapted to other network connection modes, the current connection mode is switched to a connection mode with high adaptability, thereby achieving the purpose of improving network adaptability.

[0055] Furthermore, if Figure 6 As shown, a second embodiment of the network connection control method of the present invention is proposed based on the first embodiment. In this embodiment, the step S20 includes:

[0056] Step S201: when first message information is monitored, the first message information is parsed to obtain characteristic information of the first message information.

[0057] When monitoring the message information of the first preset application, the message information of the first preset application is parsed to obtain characteristic information of the message information of the first preset application; the current application identification information and the current application name information of the first preset application are obtained according to the characteristic information; and the current application identification information and the current application name information are used as the application information of the first preset application.

[0058] Step S202: obtaining the current application identification information and the current application name information of the first message information according to the characteristic information.

[0059] It should be noted that the characteristic information includes destination address information and source address information; the corresponding network socket information is queried based on the destination address information and source address information; the current application identification information and current application name information of the first preset application are obtained based on the network socket information, and other characteristic information may also be included, which is not limited to this embodiment.

[0060] In a specific implementation, the query module 102 is used to obtain the application information of the sent message. First, the corresponding network socket information, i.e., the Socket connection, is obtained through the destination address and port number, source address and port number of the message. Then, the application information for creating the Socket connection is found, and the application identifier and application name of the application can be obtained. Other information may also be included, which is not limited in this embodiment. Figure 7 The diagram shows the result of obtaining application information.

[0061] Step S203: Use the current application identification information and the current application name information as application information of the first message information.

[0062] Furthermore, before step S30, the method further includes:

[0063] Acquire historical application identification information and historical application name information; match the historical application identification information and the historical application name information with preset keyword information respectively; and establish a first preset whitelist with the historical application identification information and the historical application name information containing the preset keyword information.

[0064] It should be noted that the preset keyword may be an application of keywords such as AR, VR, cloud, and application store, or other keyword information, which is not limited in this embodiment.

[0065] In this embodiment, in order to ensure that the user interface will not change when network connection control is performed, whitelist information is established to improve user experience. The whitelist can be flexibly configured according to user needs. The 5G application whitelist participates in scoring or voting to jointly decide whether the terminal creates or releases a 5G connection.

[0066] In a specific implementation, the whitelist management module 103 can determine whether an application needs to use the 5G network based on the name, package name and other information of the application, such as applications with keywords such as AR, VR, cloud, and app store.

[0067] like Figure 8 As shown in the flowchart of the process after the 5G connection is established, after the 5G connection is established, the monitoring module 10 monitors that the applications in the 5G application whitelist do not send or receive data within a certain period of time, that is, the 5G connection is released. The specific process is as follows Figure 8 As shown:

[0068] Step S101: After the 5G connection is established, the monitoring module 10 starts the timer;

[0069] Step S102: The monitoring module 10 monitors whether the terminal has a message to send;

[0070] Judgment C201: Is there any message sent?

[0071] If yes, continue to step S103; if no, proceed to step S106;

[0072] Step S103: Notify the query module 102 to obtain the application information that sent the message;

[0073] Step S104: Notify the whitelist management module 103 to identify whether the application is in the 5G application whitelist;

[0074] Judge C202: Is it in the whitelist?

[0075] If yes, then continue to execute judgment C205; if no, then execute step S102;

[0076] Step S105: Notify the monitoring module 10 to reset the timer;

[0077] Step S106: When the timer expires, the connection management module 105 is notified to release the 5G connection.

[0078] The solution provided in this embodiment ensures that changes in the interface are not affected when controlling the network connection by setting whitelist information, thereby achieving the purpose of improving user experience.

[0079] Furthermore, if Fig. 9 As shown, a third embodiment of the network connection control method of the present invention is proposed based on the first embodiment or the second embodiment. In this embodiment, the first embodiment is used for description. The step S30 includes:

[0080] Step S301: When the first message information exists in a first preset whitelist, obtain data plane information of the current network.

[0081] In a specific implementation, the connection management module 105 can be used to manage 5G connections. Specifically, a 5G connection is established or released by switching the data plane. For example, the terminal switches the data plane to the 4G connection and does not send or receive data on the 5G connection. After the user inactivity timer on the network side expires, the network side releases the 5G connection, and the terminal switches the data plane to the 5G connection. The network side sends RRC (Radio Resource Control), which means that the RRC reconfiguration message informs the 5G neighbor cell information, and the terminal adds the 5G neighbor cell to reestablish the 5G connection.

[0082] Step S302: Switch the first network connection mode to a second network connection mode through the data plane information.

[0083] In this embodiment, the 5G connection can be released by the network side, and the 5G connection can also be released by the terminal, and the release of the 5G connection is achieved by carrying the release cause related to power consumption in the signaling, such as: power_save.

[0084] Furthermore, the step S30 includes:

[0085] When the second network is not found, extract the attribute information of the application information of the first message information; when the attribute information meets the preset condition, establish the second network so that the first network connection mode is switched to the second network connection mode, such as Fig.10 The flowchart shown is before the 5G connection is established.

[0086] Step S401: The monitoring module 10 monitors whether the terminal has a message to send;

[0087] Judgment C101: Has it been sent?

[0088] If yes, continue to execute step S402; if no, execute step S406.

[0089] Step S402: Notify the query module 102 to obtain the application information that sent the message;

[0090] Step S403: Notify the whitelist management module 103 to identify whether the application is in the 5G application whitelist.

[0091] Determine whether C102 is in the whitelist.

[0092] If yes, then continue to execute judgment C103; if no, then execute step S406;

[0093] Determine C103: whether a 5G connection has been established;

[0094] If not, continue to execute step S404; if yes, execute step S406;

[0095] Step S404: Notify the decision module 104 to determine whether to establish a 5G connection;

[0096] Judgment C104: Can 5G connection be established?

[0097] If yes, continue to execute step S405; if no, execute step S406.

[0098] Step S405: Notify the connection management module 105 to establish a 5G connection.

[0099] Step S406: This session ends.

[0100] Further, when the second network is not found, establishing the second network so as to switch the first network connection mode to the second network connection mode includes:

[0101] When the second network is not found, extract the attribute information of the application information of the first message information; and establish the second network when the attribute information meets a preset condition, so that the first network connection mode is switched to the second network connection mode.

[0102] In a specific implementation, when the 5G network is not established, attribute information of the application information of the first message information is extracted, wherein the attribute information includes at least one of whether to send a message, whether it is allowed to be in the foreground, whether it is in a bright screen state, and power information of a 5G neighboring cell, and may also be other information. This embodiment does not limit this. The attribute information is used to determine whether the 5G network is allowed to be established. The preset condition is whether it has a significant impact on the current display, such as whether the screen brightness changes, to avoid affecting user use.

[0103] The solution provided in this embodiment is to extract the attribute information of the application information of the first message information when the first network is not established, wherein the attribute information includes at least one of whether to send a message, whether it is allowed to be in the foreground, whether it is in a bright screen state, and power information of a 5G neighboring cell. Whether to allow the establishment of the first network is determined by the attribute information, thereby improving the effectiveness of network connection control.

[0104] The present invention further provides a network connection control device.

[0105] Reference Fig.11 , Fig.11 It is a functional module diagram of the first embodiment of the network connection control device of the present invention.

[0106] In a first embodiment of the network connection control device of the present invention, the network connection control device comprises:

[0107] The monitoring module 10 is used to monitor first message information of the current network when the current network is in the first network connection mode.

[0108] The parsing module 20 is used to parse the first message information when monitoring the first message information to obtain application information of the first message information.

[0109] The control module 30 is configured to switch the first network connection mode to a second network connection mode when the first message information exists in a first preset whitelist, wherein the first preset whitelist is a whitelist associated with the second network.

[0110] This embodiment adopts the above scheme, by monitoring the first message information of the current network when the current network is in the first network connection mode; when the first message information is monitored, the first message information is parsed to obtain the application information of the first message information; when the first message information exists in the first preset whitelist, the first network connection mode is switched to the second network connection mode, wherein the first preset whitelist is a whitelist associated with the second network. Thus, when the current network is adapted to other network connection modes, the current connection mode is switched to a connection mode with high adaptability, thereby achieving the purpose of improving network adaptability.

[0111] In one embodiment, the network connection control device further includes:

[0112] The monitoring module 10 is further used to monitor the second message information of the switched network; when the second message information is monitored, the timer is reset and the monitoring is continued;

[0113] The control module 30 is further configured to switch the second network connection mode to the first network connection mode when the second message information is not monitored.

[0114] In one embodiment, the network connection control device further includes:

[0115] The parsing module 20 is also used to parse the first message information when monitoring the first message information to obtain characteristic information of the first message information; obtain current application identification information and current application name information of the first message information according to the characteristic information; and use the current application identification information and the current application name information as application information of the first message information.

[0116] In one embodiment, the network connection control device further includes:

[0117] The control module 30 is also used to obtain historical application identification information and historical application name information; match the historical application identification information and the historical application name information with preset keyword information respectively; and establish a first preset whitelist with the historical application identification information and the historical application name information containing the preset keyword information.

[0118] In one embodiment, the network connection control device further includes:

[0119] The control module 30 is further configured to obtain data plane information of the current network when the first message information exists in a first preset whitelist; and switch the first network connection mode to a second network connection mode according to the data plane information.

[0120] In one embodiment, the network connection control device further includes:

[0121] The control module 30 is further configured to search for a second network when the first message information exists in a first preset whitelist; and to establish the second network when the second network is not found, so that the first network connection mode is switched to the second network connection mode.

[0122] In one embodiment, the network connection control device further includes:

[0123] The control module 30 is further configured to extract attribute information of the application information of the first message information when the second network is not found; and to establish the second network when the attribute information meets a preset condition, so that the first network connection mode is switched to the second network connection mode.

[0124] The network connection control device of the present invention adopts all the technical solutions of all the above embodiments, and therefore has at least all the beneficial effects brought by the technical solutions of the above embodiments, which will not be described one by one here.

[0125] In addition, an embodiment of the present invention further proposes a storage medium, on which a network connection control program is stored. The network connection control program is executed by a processor to perform the steps of the network connection control method described above. Since all the technical solutions of all the above embodiments are adopted, at least all the beneficial effects brought by the technical solutions of the above embodiments are possessed, which will not be described one by one here.

[0126] It should be noted that, in this article, the terms "include", "comprises" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, an element defined by the sentence "comprises a ..." does not exclude the existence of other identical elements in the process, method, article or device including the element.

[0127] The serial numbers of the above embodiments of the present invention are only for description and do not represent the advantages or disadvantages of the embodiments.

[0128] Through the description of the above implementation methods, those skilled in the art can clearly understand that the above-mentioned embodiment methods can be implemented by means of software plus a necessary general hardware platform, and of course by hardware, but in many cases the former is a better implementation method. Based on such an understanding, the technical solution of the present invention is essentially or the part that contributes to the prior art can be embodied in the form of a software product, which is stored in a computer-readable storage medium (such as ROM / RAM, magnetic disk, optical disk) as described above, and includes a number of instructions for enabling an intelligent terminal device (which can be a mobile phone, a computer, a terminal device, an air conditioner, or a network terminal device, etc.) to execute the methods described in each embodiment of the present invention.

[0129] The above are only preferred embodiments of the present invention, and are not intended to limit the patent scope of the present invention. Any equivalent structure or equivalent process transformation made using the contents of the present invention specification and drawings, or directly or indirectly applied in other related technical fields, are also included in the patent protection scope of the present invention.

Claims

1. A network connection control method, characterized in that: The network connection control method comprises: When the current network is in a first network connection mode, monitoring first message information of the current network; When first message information is monitored, the first message information is parsed to obtain application information of the first message information; When the first message information exists in a first preset whitelist, switching the first network connection mode to a second network connection mode, wherein the first preset whitelist is a whitelist associated with the second network; Among them, when the first message information exists in a first preset whitelist, switching the first network connection mode to the second network connection mode includes: when the first message information exists in the first preset whitelist, searching for a second network; when the second network is not found, extracting attribute information of application information of the first message information; when the attribute information meets a preset condition, establishing the second network, so that the first network connection mode is switched to the second network connection mode.

2. The network connection control method according to claim 1, characterized in that: When the first message information exists in the first preset whitelist, after the first network connection mode is switched to the second network connection mode, the method further includes: Monitoring the second message information of the switched network; When the second message information is monitored, resetting the timer and continuing to monitor; When the second message information is not monitored, the second network connection mode is switched to the first network connection mode.

3. The network connection control method according to claim 1, characterized in that: When the first message information is monitored, parsing the first message information to obtain application information of the first message information includes: When the first message information is monitored, the first message information is parsed to obtain characteristic information of the first message information; Obtaining current application identification information and current application name information of the first message information according to the characteristic information; The current application identification information and the current application name information are used as application information of the first message information.

4. The network connection control method according to any one of claims 1 to 3, characterized in that: The method further comprises: Obtain historical application identification information and historical application name information; Matching the historical application identification information and the historical application name information with preset keyword information respectively; The historical application identification information containing the preset keyword information and the historical application name information are used to establish a first preset whitelist.

5. The network connection control method according to any one of claims 1 to 3, characterized in that: When the first message information exists in a first preset whitelist, switching the first network connection mode to a second network connection mode includes: When the first message information exists in a first preset whitelist, obtaining data plane information of the current network; The first network connection mode is switched to a second network connection mode through the data plane information.

6. A network connection control device, characterized in that: The network connection control device comprises: A monitoring module, used for monitoring first message information of the current network when the current network is in the first network connection mode; A parsing module, configured to parse the first message information when the first message information is monitored, and obtain application information of the first message information; a control module, configured to switch the first network connection mode to a second network connection mode when the first message information exists in a first preset whitelist, wherein the first preset whitelist is a whitelist associated with the second network; When the first message information exists in the first preset whitelist, in the process of switching the first network connection mode to the second network connection mode, the control module is also used to search for the second network when the first message information exists in the first preset whitelist; when the second network is not found, extract the attribute information of the application information of the first message information; and establish the second network when the attribute information meets the preset conditions, so that the first network connection mode is switched to the second network connection mode.

7. A mobile terminal, characterized in that: The mobile terminal comprises: a memory, a processor, and a network connection control program stored in the memory and executable on the processor, wherein the network connection control program is configured to implement the steps of the network connection control method according to any one of claims 1 to 5.

8. A storage medium, characterized in that: The storage medium stores a network connection control program, and when the network connection control program is executed by the processor, the steps of the network connection control method according to any one of claims 1 to 5 are implemented.