Network mode switching method, mobile terminal, computer device and storage medium

By switching to the network standard with the slowest battery consumption when the mobile terminal is in standby mode, the problem of rapid battery drain in standby mode is solved, extending usage time and improving user experience.

CN116193549BActive Publication Date: 2026-01-13CHINA UNITED NETWORK COMM GRP CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202310115029.3
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-02-07
Publication Date
2026-01-13
Estimated Expiration
2043-02-07

AI Technical Summary

Technical Problem

When a mobile terminal is in standby mode, it chooses to stay on a high-performance network with better standards, which causes the battery to drain faster and shortens the usage time.

Method used

When the mobile terminal enters standby mode, the battery power consumption rate of different network standards is obtained, and the network standard with the slowest battery power consumption rate is selected for switching.

Benefits of technology

It extends the usage time of mobile terminals by selecting the network type with the slowest power consumption during standby, thereby reducing power consumption and improving user experience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN116193549B_ABST
    Figure CN116193549B_ABST
Patent Text Reader

Abstract

The application provides a network mode switching method, a mobile terminal, computer equipment and a storage medium, and relates to the technical field of communication.The method comprises the following steps: in response to the mobile terminal entering a standby state, acquiring the battery power consumption speed corresponding to different network modes at the current position of the mobile terminal; selecting the network mode with the slowest battery power consumption speed from the battery power consumption speeds corresponding to different network modes at the current position of the mobile terminal; comparing whether the network mode currently camped on by the mobile terminal is the same as the network mode with the slowest battery power consumption speed; and if not, switching the mobile terminal from the currently camped-on network mode to the network mode with the slowest battery power consumption speed.The technical scheme provided by the application directly camps the mobile terminal on the network mode with the slowest battery power consumption speed at the current position of the mobile terminal after the mobile terminal enters the standby state, thereby effectively prolonging the use time of the mobile terminal.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of communication technology, and in particular to a network standard switching method, a mobile terminal, a computer device, and a computer-readable storage medium. Background Technology

[0002] With the sustained and rapid development of the economy and society, and the iterative updates of the communications industry and technology, mobile terminals, especially smart mobile terminals, have rapidly become widespread. Smart mobile terminals can quickly expand their functionality by downloading and installing various applications (APPs), meeting people's needs in all aspects of life, including food, clothing, housing, and transportation. Therefore, people are becoming increasingly reliant on mobile terminals in their daily lives, and battery life has become a key consideration when choosing a mobile terminal.

[0003] Meanwhile, driven by user demand and technological advancements, mobile communication networks have continuously upgraded from 2G (2-Generation wireless telephone technology) to 3G (3rd Generation Mobile Communication Technology), then to 4G (4th Generation Mobile Communication Technology), and finally 5G (5th Generation Mobile Communication Technology). Currently, domestic operators' mobile networks coexist with two or three network standards. Under different network standards, the rate at which a mobile terminal consumes battery power varies, whether it is in active or standby mode. Generally speaking, as the network standard upgrades, the rate at which a mobile terminal's battery power is consumed also increases.

[0004] In existing technologies, when selecting a mobile network standard, mobile terminals typically prioritize the higher-performance network based on its performance, with the priority from highest to lowest being: 5G → 4G → 3G → 2G. This strategy prioritizes user experience when the user is actively using the mobile terminal and poses no problem. However, when the user is not actively using the mobile terminal, prioritizing the higher-performance network will accelerate battery consumption and unnecessarily shorten the user's mobile terminal usage time. Summary of the Invention

[0005] This invention was developed to at least partially address the technical problem in the prior art where mobile terminals typically choose to reside on high-performance networks, resulting in rapid battery drain even in standby mode and shortening the usage time of the mobile terminal.

[0006] According to one aspect of the present invention, a network standard switching method is provided, the method comprising:

[0007] In response to the mobile terminal entering standby mode, the battery power consumption rate of the mobile terminal under different network standards at the current location is obtained;

[0008] Select the network type with the slowest battery consumption rate from the battery consumption rates of different network types at the current location of the mobile terminal.

[0009] Compare whether the network type currently used by the mobile terminal is the same as the network type with the slowest battery consumption rate;

[0010] If they are different, the mobile terminal will be switched from the currently used network type to the network type with the slowest battery consumption.

[0011] Optionally, before obtaining the battery consumption rate of the mobile terminal corresponding to different network standards at the current location, the method further includes:

[0012] Obtain historical data of the mobile terminal in standby mode, the historical data including the duration and location information of the mobile terminal in standby mode;

[0013] In response to the mobile terminal entering standby mode, the real-time time and real-time location in standby mode are obtained;

[0014] Based on the real-time time and real-time location in the standby state and the historical data of the mobile terminal in the standby state, it is predicted whether the mobile terminal will be in the standby state for a long time.

[0015] If so, then proceed with the step of obtaining the battery power consumption rate of the mobile terminal under different network standards at the current location.

[0016] Optionally, obtaining historical data of the mobile terminal in standby mode includes:

[0017] Within a preset time range, whenever the mobile terminal enters standby mode, the duration of the standby mode and its real-time location information are recorded. During each recording process, in response to a change in the real-time location of the mobile terminal, the recording of the duration of the standby mode and its real-time location information is restarted.

[0018] Determine whether the recorded duration of the mobile terminal being in standby mode exceeds a preset duration;

[0019] If the preset time limit is exceeded, the duration of the mobile terminal in standby mode and the real-time location information will be stored as historical data of the mobile terminal in standby mode.

[0020] Optionally, obtaining the battery consumption rate of the mobile terminal at the current location corresponding to different network standards includes:

[0021] Search for the network type that the mobile terminal can reside on at its current location;

[0022] The battery power consumption rate of the mobile terminal under various network standards that it can stay on at the current location is measured respectively to obtain the battery power consumption rate of the mobile terminal under different network standards at the current location.

[0023] According to another aspect of the present invention, a mobile terminal is provided, comprising:

[0024] The first acquisition module is configured to acquire the battery power consumption rate of the mobile terminal at the current location for different network standards in response to the mobile terminal entering standby mode.

[0025] The selection module is configured to select the network type with the slowest battery consumption rate from the battery consumption rates of different network types at the current location of the mobile terminal.

[0026] The comparison module is configured to compare whether the network type currently used by the mobile terminal is the same as the network type with the slowest battery consumption rate; and,

[0027] The switching module is configured to switch the mobile terminal from its current network type to the network type with the slowest battery consumption when the network type currently in use is different from the network type with the slowest battery consumption.

[0028] Optionally, the mobile terminal further includes:

[0029] The second acquisition module is configured to acquire historical data of the mobile terminal in standby mode, the historical data including the duration and location information of the mobile terminal in standby mode;

[0030] The third acquisition module is configured to acquire real-time time and real-time location in response to the mobile terminal entering standby mode; and...

[0031] The prediction module is configured to predict whether the mobile terminal has been in standby mode for an extended period of time based on the real-time time and real-time location of the mobile terminal in standby mode and historical data of the mobile terminal in standby mode.

[0032] The first acquisition module is specifically configured to, if it is predicted that the mobile terminal will be in standby mode for a long time, acquire the battery power consumption rate of the mobile terminal under different network standards at the current location.

[0033] Optionally, the second acquisition module includes:

[0034] The recording unit is configured to start recording the duration and real-time location information of the mobile terminal in standby mode whenever the mobile terminal enters standby mode within a preset time range; and to restart recording the duration and real-time location information of the mobile terminal in standby mode in response to a change in the real-time location of the mobile terminal during each recording process.

[0035] The judgment unit is configured to determine whether the recorded duration of the mobile terminal being in standby mode exceeds a preset duration; and,

[0036] The storage unit is configured to store the corresponding duration of the mobile terminal in standby mode and real-time location information as historical data of the mobile terminal in standby mode when the recorded duration of the mobile terminal in standby mode exceeds a preset duration.

[0037] Optionally, the first acquisition module includes:

[0038] The search unit is configured to search for the network types that the mobile terminal can reside on at its current location; and...

[0039] The measurement unit is configured to measure the battery power consumption rate of the mobile terminal under various network standards that it can stay at the current location, and obtain the battery power consumption rate of the mobile terminal under different network standards at the current location.

[0040] According to another aspect of the present invention, a computer device is provided, including a memory and a processor, wherein the memory stores a computer program, and when the processor runs the computer program stored in the memory, the processor performs the aforementioned network standard switching method.

[0041] According to another aspect of the present invention, a computer-readable storage medium is provided having a computer program stored thereon, wherein when the computer program is executed by a processor, the processor performs the aforementioned network standard switching method.

[0042] The technical solution provided by this invention may include the following beneficial effects:

[0043] The network switching method provided by this invention, after the mobile terminal enters standby mode, takes into account that the user does not need the mobile terminal to perform any substantial work, and directly keeps the mobile terminal on the network with the slowest battery consumption rate at the current location of the mobile terminal, thereby effectively extending the usage time of the mobile terminal.

[0044] Other features and advantages of the invention will be set forth in the description which follows, and will be apparent in part from the description, or may be learned by practicing the invention. The objects and other advantages of the invention may be realized and obtained by means of the structures particularly pointed out in the description, claims, and drawings. Attached Figure Description

[0045] The accompanying drawings are provided to further understand the technical solutions of the present invention and constitute a part of the specification. They are used together with the embodiments of the present invention to explain the technical solutions of the present invention, and do not constitute a limitation on the technical solutions of the present invention.

[0046] Figure 1 A flowchart illustrating a network standard switching method provided in an embodiment of the present invention;

[0047] Figure 2 A flowchart illustrating another network standard switching method provided in an embodiment of the present invention;

[0048] Figure 3 This is a schematic diagram of the structure of a mobile terminal provided in an embodiment of the present invention;

[0049] Figure 4 This is a schematic diagram of another mobile terminal provided in an embodiment of the present invention;

[0050] Figure 5 This is a schematic diagram of the structure of a computer device provided in an embodiment of the present invention. Detailed Implementation

[0051] To make the objectives, technical solutions, and advantages of the embodiments of the present invention clearer, the specific implementation methods of the present invention will be described in detail below with reference to the accompanying drawings. It should be understood that the specific implementation methods described herein are for illustration and explanation only and are not intended to limit the present invention.

[0052] Given that mobile terminals generally choose to reside on high-performance networks when selecting the network standard to run on, resulting in rapid battery drain even in standby mode and shortening the usage time, this invention proposes a technical solution to extend the usage time of mobile terminals by automatically selecting to reside on a network standard with slower battery drain when in standby mode. This solution will be described in detail below through specific embodiments.

[0053] It should be noted that the terms "first," "second," etc., in the specification, claims, and accompanying drawings of this invention are used to distinguish similar objects and are not necessarily used to describe a specific order or sequence; furthermore, in the absence of conflict, the embodiments and features in the embodiments of this invention can be arbitrarily combined with each other. In the following description, the use of suffixes such as "module," "part," or "unit" to denote elements is solely for the convenience of describing this invention and has no specific meaning in itself. Therefore, "module," "part," or "unit" can be used interchangeably.

[0054] Figure 1 This is a flowchart illustrating a network standard switching method provided in an embodiment of the present invention. The method is applied to a mobile terminal, such as... Figure 1 As shown, the method includes the following steps S101 to S104.

[0055] S101. In response to the mobile terminal entering standby mode, obtain the battery power consumption rate of the mobile terminal under different network standards at the current location.

[0056] In this step, standby mode refers to the state where an electronic device is powered on but not performing any substantive work (i.e., not performing any operations on files or programs). In standby mode, the electronic device only stores the data currently in operation in memory, and only supplies power to the memory, while components such as the hard drive, screen, and CPU are not powered. Different network standards refer to 2G, 3G, 4G, and 5G, as well as higher-level network standards that may emerge in the future.

[0057] S102. Select the network standard with the slowest battery consumption rate from the battery consumption rates of different network standards at the current location of the mobile terminal.

[0058] S103. Compare whether the network type currently used by the mobile terminal is the same as the network type with the slowest battery consumption. If they are the same, end the current process; if they are different, proceed to step S104.

[0059] S104. Switch the mobile terminal from the currently used network type to the network type with the slowest battery consumption rate.

[0060] In this embodiment, after the mobile terminal enters standby mode, considering that the user does not need the mobile terminal to perform any substantial work, the mobile terminal is directly kept on the network type with the slowest battery power consumption at the current location of the mobile terminal, thereby effectively extending the usage time of the mobile terminal.

[0061] It should be noted that because the battery life of a terminal varies under different network coverage conditions for the same network standard, the battery consumption rate will be different at different locations under the same network standard. Therefore, the lowest network standard at the current location of the mobile terminal may not necessarily have the slowest battery consumption rate. Only by taking into account both the network standard and the current location of the mobile terminal can the mobile terminal be switched to the network standard with the slowest battery consumption rate at the current location.

[0062] In one specific implementation, if step S103 compares whether the network type currently used by the mobile terminal is the same as the network type with the slowest battery power consumption, and if they are the same, then step S105 is executed.

[0063] S105. The mobile terminal continues to reside on the currently resident network type.

[0064] In this embodiment, if the network type currently used by the mobile terminal is the network type with the slowest battery consumption at the current location, there is no need to perform a network type switching operation, and the mobile terminal can continue to use the currently used network type.

[0065] In one specific embodiment, before step S101, the following steps S106 to S108 are further included.

[0066] S106. Obtain historical data of the mobile terminal in standby mode, the historical data including the duration and location information of the mobile terminal in standby mode, wherein the duration includes start time and end time;

[0067] S107. In response to the mobile terminal entering standby mode, obtain the real-time time and real-time location in standby mode;

[0068] S108. Based on the real-time time and real-time location in the standby state and the historical data of the mobile terminal in the standby state, predict whether the mobile terminal has been in the standby state for a long time. If so, execute step S101, that is, execute the step of obtaining the battery power consumption rate of the mobile terminal at the current location corresponding to different network standards; if not, end the current process.

[0069] The method for obtaining the real-time time in standby mode can be either: the mobile terminal directly reads the time information from the local clock through the system interface; or the mobile terminal obtains the real-time time information from a time server via the network. Of course, this invention does not limit the specific method for obtaining the real-time time.

[0070] The real-time location in standby mode can be obtained by the mobile terminal through its local location module. Specifically, this can be achieved using common methods such as mobile network positioning, A-GPS (Assisted GPS) positioning, and GPS (Global Positioning System) positioning. Of course, this invention does not limit the specific method of obtaining real-time location through the local location module, but it recommends using methods with higher positioning accuracy, such as A-GPS or GPS positioning.

[0071] A method for predicting whether a mobile terminal has been in standby mode for an extended period can be as follows: First, determine whether the real-time time and real-time location in the standby state overlap with a certain data item in the historical data of the mobile terminal in standby mode (i.e., whether the real-time time in the standby state is within the duration range of a certain data item in the historical data of the mobile terminal in standby mode, and whether the real-time location in the standby state is the same as the location information in that data item). If they overlap, then determine whether the difference between the real-time time in the standby state and the end time of the duration in the overlapping historical data item exceeds a preset time threshold. If it exceeds the threshold, then the mobile terminal may have been in standby mode for an extended period. The specific value of the preset time threshold can be set and adjusted by those skilled in the art according to actual needs, and this invention does not limit it in this regard.

[0072] In this embodiment, after the mobile terminal enters standby mode and before obtaining the battery power consumption rate corresponding to different network standards at the current location, it can be predicted whether the mobile terminal will be in standby mode for a long time. If the mobile terminal may be in standby mode for a long time (e.g., during the user's sleep), then it can be decided whether to switch to the network standard with the slowest battery power consumption rate at the current location, which can avoid the power loss caused by frequent switching of network standards.

[0073] In one specific embodiment, step S106 includes the following steps S1061 to S1063.

[0074] S1061. Within a preset time range, whenever the mobile terminal enters a standby state, the duration of the standby state and its real-time location information are recorded. During each recording process, in response to a change in the real-time location of the mobile terminal, the recording of the duration of the standby state and its real-time location information is restarted. The specific value of the preset time range can be set and adjusted by those skilled in the art according to actual needs, for example, it can be set to M days (15≤M≤30) or N months (N≥1).

[0075] S1062. Determine whether the recorded duration of the mobile terminal in standby mode exceeds a preset duration. If it exceeds the preset duration, proceed to step S1063; otherwise, return to step S1061. The specific value of the preset duration can be set and adjusted by those skilled in the art according to actual needs, and the present invention does not limit it.

[0076] S1063. Store the duration and real-time location information of the mobile terminal in standby mode as historical data of the mobile terminal in standby mode.

[0077] In this embodiment, to obtain historical data of the mobile terminal in standby mode, it is necessary to collect and record the duration and real-time location information of the mobile terminal in standby mode in a timely manner when the mobile terminal enters standby mode, so as to collect multiple sets of duration and corresponding location information.

[0078] It should be noted that if the real-time location of the mobile terminal changes after it enters standby mode, the duration of standby mode and real-time location information should be collected and recorded again.

[0079] For example, if a mobile terminal enters standby mode and stays at location A for a period of time before moving to location B, then two sets of data need to be recorded. The duration in the first set of data is the time from the start time of the mobile terminal entering standby mode to the time the mobile terminal leaves location A, and the real-time location in the first set of data is location A. The real-time time in the second set of data is the time from the time the mobile terminal enters location B to the end time of the mobile terminal entering standby mode, and the real-time location in the second set of data is location B.

[0080] For each set of data collected, it is also necessary to determine whether the duration of each set of data exceeds the preset duration. Only those sets of data that exceed the preset duration are stored as historical data of the mobile terminal in standby mode, while those sets of data that do not exceed the preset duration can be directly deleted. Alternatively, standby mode data with an interval of less than the preset interval threshold between two consecutive standby modes can be merged.

[0081] In one specific embodiment, step S101 includes the following steps S1011 and S1012.

[0082] S1011. Search for the network type that the mobile terminal can reside on at its current location;

[0083] S1012. Measure the battery power consumption rate of the mobile terminal under various network standards that it can stay at the current location, and obtain the battery power consumption rate of the mobile terminal under different network standards at the current location.

[0084] In this embodiment, after searching for the network types that the mobile terminal can stay on at its current location, the mobile terminal can be made to stay on different network types for a short period of time (e.g., 1 minute), and the battery power consumption rate per unit time can be calculated. This allows us to measure the battery power consumption rate of the mobile terminal under various network types that it can stay on at its current location.

[0085] In addition, mobile terminals can also store the battery power consumption rate measured under different locations and network standards in a local database. When the battery power consumption rate under different network standards at the same location is needed again, the relevant data can be directly referenced, skipping the specific measurement process.

[0086] It should be noted that the order of the above steps is only a specific example to illustrate the embodiments of the present invention. The present invention does not limit the order of the above steps, and those skilled in the art can adjust them as needed in practical applications; moreover, the order of execution is not limited by the number of the above steps.

[0087] Figure 2 This is a flowchart illustrating another network standard switching method provided in an embodiment of the present invention. Figure 2 As shown, the method includes the following steps S201 to S205.

[0088] S201. Insight into mobile terminal usage patterns.

[0089] When a mobile device enters standby mode, it is important to collect and record the duration of standby and its real-time location information. If the real-time location of the mobile device changes after entering standby mode, the collection and recording of standby duration and real-time location information should resume.

[0090] The mobile terminal should periodically analyze the collected standby duration and real-time location information to identify patterns when the mobile terminal is in a fixed standby state. This invention does not limit the specific methods used to identify these patterns.

[0091] S202. Obtain real-time time / location information.

[0092] Based on the analysis and confirmation of the pattern that the mobile terminal is in a fixed location and in a standby state, once the mobile terminal enters a standby state, it is necessary to obtain real-time time and location information.

[0093] S203. Determine whether a network standard switch should be performed.

[0094] Based on real-time time and location information obtained during standby, the mobile terminal determines whether to switch network standards according to preset rules. The preset rules are whether the real-time time and location during standby coincide with the duration and location of the mobile terminal's fixed standby state. If they coincide, the system estimates whether the mobile terminal will remain in standby for an extended period. If the estimated prolonged standby period is confirmed, the mobile terminal should switch network standards. If they do not coincide, or if they coincide but the estimated prolonged standby period is not confirmed, the mobile terminal should not switch network standards.

[0095] In particular, if the pattern of the mobile terminal being in a fixed position and in a standby state is empty, the subsequent working process of this invention can be directly terminated.

[0096] S204. Measure the battery power consumption rate under different network standards.

[0097] When a mobile terminal determines that a network mode switch is necessary, it searches for available network modes and measures the battery consumption rate under different network modes. Specifically, it combines the network modes supported by the mobile terminal and the SIM card, attempts to stay on different network modes for a short period of time, and calculates the battery consumption rate per unit time.

[0098] Optionally, the mobile terminal can also save the battery power consumption rate calculated under different network standards at different locations in a local database, and directly reference it when measuring the battery power consumption rate under different network standards at the same location next time, skipping the specific measurement process.

[0099] S205. Switch network standard.

[0100] The mobile terminal obtains the mobile network standard it is currently using. Based on the measured battery consumption rate under different network standards, the mobile terminal selects the network standard with the slowest battery consumption rate and compares it with the network standard it is currently using. If the two are different, the mobile terminal switches the network standard from the currently used network standard to the selected network standard with the slowest battery consumption rate; otherwise, the mobile terminal does not switch the network standard and continues to use the currently used network standard.

[0101] To more intuitively and concretely illustrate the working process of this invention, and to demonstrate its advantages and the convenience it brings to users, the working process of this invention is described in detail below with a specific example. Assume that user A's Huawei P40 has the network standard switching function described in this invention, and is using a SIM card from operator "China XX". The specific working process is as follows:

[0102] 1. Understand the usage patterns of mobile devices.

[0103] The Huawei P40 collects and records real-time time and location information when entering standby mode, storing this information in a local database. The P40 periodically (e.g., every 15 days) processes this collected real-time time and location information to analyze and confirm user A's usage patterns. The collected and recorded information is shown in Table 1.

[0104] Table 1. Information collected and recorded by Huawei P40 during standby mode (partial - example)

[0105]

[0106] First, the collected information is categorized by location. Then, the median start and end times of the last time the device entered standby mode each day are calculated and analyzed to determine the pattern of user A's use of P40. Assume that the median start time of the last time P40 entered standby mode at real-time location "L1" is "21:45" and the median end time is "06:50".

[0107] It should be noted that, in order to eliminate interference from user A's brief use of the P40, before collecting and analyzing standby status data, standby status data with an interval of less than a preset threshold can be merged (at the same location). For example, if the interval threshold is set to 3 minutes, and the interval between two consecutive standby statuses is less than this threshold, the two standby status data can be merged. At the same time, when processing standby status information, it is also possible to distinguish between weekdays and rest days, and to separately calculate the usage patterns of the P40 on weekdays and rest days.

[0108] 2. Obtain real-time time / location information.

[0109] The Huawei P40 enters standby mode at "21:50". According to the requirements of this invention, the P40 directly obtains the real-time time "21:50" through the local clock module and obtains the real-time location "L1" through the local location module using A-GPS.

[0110] 3. Determine whether a network standard switch should be performed.

[0111] The Huawei P40 acquires the real-time time "21:50" and real-time location "L1" and compares them with the P40 usage patterns analyzed and confirmed in step ① stored in the database. Based on preset rules, the analysis determines whether a network mode switch should be performed. Because the real-time location "L1" is the same as the location "L1" in the confirmed usage patterns of the P40, and the real-time time "21:50" is also after the median start time "21:45" of the last time the P40 entered standby mode, it can be predicted that the P40 will remain in standby mode for a relatively long time (until the median end time "06:50" of the last time it entered standby mode). Therefore, according to the preset rules, it can be determined that the P40 should perform a network mode switch.

[0112] 4. Measure the battery power consumption rate under different network standards.

[0113] When the Huawei P40 determines in step ③ that a network standard switch is required, it considers the mobile network of the SIM card's operator, "China XX," and filters out the supported network standards as 3G / 4G / 5G. The P40 estimates the battery consumption rate per unit time as S_3g / S_4g / S_5g by measuring the battery charge (V3g / V4g / V5g) within the same time period (e.g., 1 minute) while residing on 3G / 4G / 5G networks, respectively, and S_4g... <S_3g<S_5g。

[0114] 5. Switch network standards.

[0115] The Huawei P40 identifies the currently active network as "5G". The P40 compares the network type "4G" corresponding to "V_4g" (selected in step ④ with the currently active network type "5G"). Clearly, the two are different. Therefore, according to the rules, the P40 switches the network type from the currently active "5G" to the network type "4G" with the slowest battery consumption.

[0116] The network standard switching method provided in this invention addresses the shortcomings of existing technologies in mobile terminal selection of the network standard by proposing a network standard switching scheme based on insights into user usage patterns. This method collects and records information (including but not limited to time and location information) during the mobile terminal's standby state, periodically analyzes user usage patterns, and identifies patterns in when the mobile terminal enters standby mode. Based on this, as soon as the mobile terminal enters standby mode, it acquires real-time time and location information. The mobile terminal, based on the real-time time and location information and the patterns observed when entering standby mode, determines whether a network standard switch is necessary. If a switch is deemed appropriate, the battery consumption rate under different network standards is measured. The mobile terminal selects the network standard with the slowest battery consumption rate and compares it with the currently used network standard. If the slowest network standard differs from the currently used network standard, the mobile terminal switches from the currently used network standard to the selected slowest network standard, effectively extending the mobile terminal's usage time and improving the user experience.

[0117] Figure 3 This is a schematic diagram of the structure of a mobile terminal provided in an embodiment of the present invention. Figure 3 As shown, the mobile terminal includes: a first acquisition module 301, a selection module 302, a comparison module 303, and a switching module 304.

[0118] The first acquisition module 301 is configured to acquire the battery power consumption rate of the mobile terminal corresponding to different network standards at the current location in response to the mobile terminal entering standby mode; the selection module 302 is configured to select the network standard with the slowest battery power consumption rate from the battery power consumption rates of the different network standards at the current location; the comparison module 303 is configured to compare whether the network standard currently hosted by the mobile terminal is the same as the network standard with the slowest battery power consumption rate; and the switching module 304 is configured to switch the mobile terminal from the currently hosted network standard to the network standard with the slowest battery power consumption rate when the network standard currently hosted by the mobile terminal is different from the network standard with the slowest battery power consumption rate.

[0119] In one specific embodiment, the mobile terminal further includes: a second acquisition module 305, a third acquisition module 306, and a prediction module 307.

[0120] The second acquisition module 305 is configured to acquire historical data of the mobile terminal in standby mode, including the duration and location information of the mobile terminal in standby mode; the third acquisition module 306 is configured to acquire real-time time and real-time location in response to the mobile terminal entering standby mode; and the prediction module 307 is configured to predict whether the mobile terminal has been in standby mode for a long time based on the real-time time and real-time location in standby mode and the historical data of the mobile terminal in standby mode.

[0121] Accordingly, the first acquisition module 301 is specifically configured to, if it is predicted that the mobile terminal will be in standby mode for a long time, acquire the battery power consumption rate of the mobile terminal under different network standards at the current location.

[0122] In one specific embodiment, the second acquisition module 305 includes: a recording unit, a judgment unit, and a storage unit.

[0123] The recording unit is configured to record the duration and real-time location information of the mobile terminal in standby mode whenever the mobile terminal enters standby mode within a preset time range. During each recording process, in response to a change in the real-time location of the mobile terminal, the recording of the duration and real-time location information of the mobile terminal in standby mode is restarted. The judging unit is configured to judge whether the recorded duration of the mobile terminal in standby mode exceeds a preset time. The storage unit is configured to store the corresponding duration and real-time location information of the mobile terminal in standby mode as historical data of the mobile terminal in standby mode when the recorded duration of the mobile terminal in standby mode exceeds the preset time.

[0124] In one specific embodiment, the first acquisition module 301 includes a search unit and a measurement unit.

[0125] The search unit is configured to search for the network types that the mobile terminal can reside on at its current location; the measurement unit is configured to measure the battery power consumption rate of the mobile terminal under various network types that it can reside on at its current location, thereby obtaining the battery power consumption rate of the mobile terminal under different network types at its current location.

[0126] Figure 4 This is a schematic diagram of another mobile terminal provided in an embodiment of the present invention. Figure 4 As shown, the mobile terminal, based on its original functional modules, adds modules for information collection, pattern analysis, information acquisition, switching judgment, power consumption measurement, system switching, and database to realize the functions of this invention. Figure 4In the diagram, solid lines represent the original functional modules of the mobile terminal; dashed lines represent the newly added functional modules of this invention.

[0127] The system comprises the following modules: Information Collection Module: When the mobile terminal enters standby mode, it collects and records information such as the mobile terminal's real-time location and the time it has been in standby mode, and saves this information in a local database; Pattern Insight Module: Based on the information collected during standby mode, it periodically analyzes the data according to preset rules to identify patterns in when the mobile terminal enters standby mode; Information Acquisition Module: Acquires real-time time, location, and network type; Switching Judgment Module: Based on the real-time time and location information when the mobile terminal enters standby mode, combined with the patterns observed during standby mode, it determines whether a network type switch should be performed, and compares the network type with the slowest battery consumption with the currently used network type; Battery Consumption Measurement Module: Measures the rate of battery consumption of the mobile terminal under different network types supported by the mobile terminal and SIM card; Network Type Switching Module: Switches the mobile terminal from one network type to another; Database Module: Stores various information collected and acquired by the Information Acquisition and Information Collection Modules.

[0128] The mobile terminal provided in this embodiment of the invention obtains the battery power consumption rate corresponding to different network standards at the current location of the mobile terminal. After the mobile terminal enters standby mode, it directly keeps the mobile terminal on the network standard with the slowest battery power consumption rate at the current location, thereby effectively extending the usage time of the mobile terminal and improving the user experience.

[0129] Based on the same technical concept, embodiments of the present invention also provide a computer device, such as... Figure 5 As shown, the computer device includes a memory 501 and a processor 502. The memory 501 stores a computer program. When the processor 502 runs the computer program stored in the memory 501, the processor 502 executes the aforementioned network standard switching method.

[0130] Based on the same technical concept, embodiments of the present invention also provide a computer-readable storage medium storing a computer program thereon, wherein when the computer program is executed by a processor, the processor executes the aforementioned network standard switching method.

[0131] In summary, the network switching method, mobile terminal, computer device, and storage medium provided in this invention, based on insights into user behavior patterns, select the network with the slowest battery consumption rate when the mobile terminal is in standby mode and its location remains unchanged. This is achieved by measuring the battery consumption rate under different network standards. Through this invention, the mobile terminal can automatically select the network with the slowest battery consumption when not in use, thereby reducing battery consumption in standby mode, extending standby time, and improving user experience.

[0132] It will be understood by those skilled in the art that all or some of the steps, systems, or apparatuses disclosed above, and their functional modules / units, can be implemented as software, firmware, hardware, or suitable combinations thereof. In hardware implementations, the division between functional modules / units mentioned in the above description does not necessarily correspond to the division of physical components; for example, a physical component may have multiple functions, or a function or step may be performed collaboratively by several physical components. Some or all physical components may be implemented as software executed by a processor, such as a central processing unit, digital signal processor, or microprocessor, or as hardware, or as an integrated circuit, such as an application-specific integrated circuit (ASIC). Such software may be distributed on a computer-readable medium, which may include computer storage media (or non-transitory media) and communication media (or transient media). As is known to those skilled in the art, the term computer storage media includes volatile and non-volatile, removable and non-removable media implemented in any method or technology for storing information (such as computer-readable instructions, data structures, program modules, or other data). Computer storage media include, but are not limited to, RAM, ROM, EEPROM, flash memory or other memory technologies, CD-ROM, digital versatile disc (DVD) or other optical disc storage, magnetic cartridges, magnetic tape, disk storage or other magnetic storage devices, or any other medium that can be used to store desired information and can be accessed by a computer. Furthermore, it is well known to those skilled in the art that communication media typically contain computer-readable instructions, data structures, program modules, or other data in modulated data signals such as carrier waves or other transmission mechanisms, and may include any information delivery medium.

[0133] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention, and not to limit them; although the present invention has been described in detail with reference to the foregoing embodiments, those skilled in the art should understand that modifications can still be made to the technical solutions described in the foregoing embodiments, or equivalent substitutions can be made to some or all of the technical features; and these modifications or substitutions do not cause the essence of the corresponding technical solutions to deviate from the scope of the technical solutions of the embodiments of the present invention.

Claims

1. A network mode switching method, characterized in that, The method comprises: in response to the mobile terminal entering the standby state, judging whether the mobile terminal is in the standby state for a long time, if yes, obtaining the battery power consumption speed corresponding to different network modes of the mobile terminal at the current location; wherein, judging whether the mobile terminal is in the standby state for a long time specifically comprises: judging whether the real-time time and real-time location in the standby state coincide with one of the historical data of the mobile terminal in the standby state, if yes, judging whether the difference between the real-time time in the standby state and the end time of the duration in the historical data coinciding with it exceeds the preset time threshold, if yes, judging that the mobile terminal is in the standby state for a long time; selecting the network mode with the slowest battery power consumption speed from the battery power consumption speed corresponding to different network modes of the mobile terminal at the current location; comparing whether the network mode currently camped by the mobile terminal is the same as the network mode with the slowest battery power consumption speed; if not, switching the mobile terminal from the currently camped network mode to the network mode with the slowest battery power consumption speed.

2. The method of claim 1, wherein, Before obtaining the battery power consumption speed corresponding to different network modes of the mobile terminal at the current location, the method further comprises: obtaining the historical data of the mobile terminal in the standby state, the historical data comprising the duration and location information of the mobile terminal in the standby state; in response to the mobile terminal entering the standby state, obtaining the real-time time and real-time location in the standby state; based on the real-time time and real-time location in the standby state and the historical data of the mobile terminal in the standby state, judging whether the mobile terminal is in the standby state for a long time; if yes, performing the step of obtaining the battery power consumption speed corresponding to different network modes of the mobile terminal at the current location.

3. The method of claim 2, wherein, The step of obtaining the historical data of the mobile terminal in the standby state comprises: within a preset time range, whenever the mobile terminal enters the standby state, start recording the duration and real-time location information of the mobile terminal in the standby state, and in the process of each recording, in response to the change of the real-time location of the mobile terminal, start recording the duration and real-time location information of the mobile terminal in the standby state again; judging whether the duration of the mobile terminal in the standby state recorded has exceeded the preset time length; if yes, storing the corresponding duration and real-time location information of the mobile terminal in the standby state as the historical data of the mobile terminal in the standby state.

4. The method of claim 1, wherein, The step of obtaining the battery power consumption speed corresponding to different network modes of the mobile terminal at the current location comprises: searching for the network modes campable by the mobile terminal at the current location; measuring the battery power consumption speed of the mobile terminal under various network modes campable by the mobile terminal at the current location respectively, to obtain the battery power consumption speed corresponding to different network modes of the mobile terminal at the current location.

5. A mobile terminal, characterized by The method comprises: The first obtaining module is configured to, in response to the mobile terminal entering the standby state, predict whether the mobile terminal is in the standby state for a long time, and if so, obtain the battery power consumption speeds corresponding to different network modes at the current location of the mobile terminal; wherein the prediction of whether the mobile terminal is in the standby state for a long time specifically comprises judging whether the real-time time and real-time location in the standby state coincide with a piece of data in historical data of the mobile terminal in the standby state, and if so, judging whether the difference between the real-time time in the standby state and the end time of the duration in the piece of historical data coinciding therewith exceeds a preset time threshold, and if so, predicting that the mobile terminal is in the standby state for a long time; The selecting module is configured to select the network mode with the slowest battery power consumption speed from the battery power consumption speeds corresponding to different network modes at the current location of the mobile terminal; The comparing module is configured to compare whether the network mode currently camped on by the mobile terminal is the same as the network mode with the slowest battery power consumption speed; and The switching module is configured to, when the network mode currently camped on by the mobile terminal is not the network mode with the slowest battery power consumption speed, switch the mobile terminal from the network mode currently camped on to the network mode with the slowest battery power consumption speed.

6. The mobile terminal of claim 5, wherein, Further comprising: The second obtaining module is configured to obtain historical data of the mobile terminal in the standby state, the historical data comprising the duration and location information of the mobile terminal in the standby state; The third obtaining module is configured to, in response to the mobile terminal entering the standby state, obtain the real-time time and real-time location; and The predicting module is configured to predict, based on the real-time time and real-time location in the standby state and the historical data of the mobile terminal in the standby state, whether the mobile terminal is in the standby state for a long time; The first obtaining module is specifically configured to, if it is predicted that the mobile terminal is in the standby state for a long time, obtain the battery power consumption speeds corresponding to different network modes at the current location of the mobile terminal.

7. The mobile terminal of claim 6, wherein, The second obtaining module comprises: The recording unit is configured to, within a preset time range, start recording the duration and real-time location information of the mobile terminal in the standby state every time the mobile terminal enters the standby state, and in each recording process, in response to a change in the real-time location of the mobile terminal, start recording the duration and real-time location information of the mobile terminal in the standby state again; The judging unit is configured to judge whether the recorded duration of the mobile terminal in the standby state exceeds a preset time length; and The storage unit is configured to, when the recorded duration of the mobile terminal in the standby state exceeds the preset time length, store the corresponding duration and real-time location information of the mobile terminal in the standby state as the historical data of the mobile terminal in the standby state.

8. The mobile terminal of claim 5, wherein, The first obtaining module comprises: The searching unit is configured to search for the network modes campable by the mobile terminal at the current location; and The selecting unit is configured to select the network mode with the slowest battery power consumption speed from the network modes campable by the mobile terminal at the current location. A measuring unit is arranged to measure the battery power consumption rate of the mobile terminal in each network mode available at the current location, and obtain the battery power consumption rate corresponding to different network modes at the current location.

9. A computer device, comprising: The computer program is stored in the memory and comprises a computer program product. When the processor executes the computer program stored in the memory, the processor executes the network mode switching method according to any one of claims 1 to 4.

10. A computer-readable storage medium having stored thereon a computer program, characterized in that, The computer program is stored in the memory and comprises a computer program product. When the processor executes the computer program stored in the memory, the processor executes the network mode switching method according to any one of claims 1 to 4.

Citation Information

Patent Citations

  • Method and device for setting a standby network

    CN109769288A

  • Network selection method and related equipment

    CN115278804A