Mobile communication mode switching method and device, electronic equipment and storage medium

By monitoring the transmission content and performance status of terminal equipment and dynamically setting the data volume threshold of mobile communication methods, the problem of terminal equipment being unable to intelligently switch mobile communication methods is solved, thereby preventing network congestion and improving network utilization.

CN119325120APending Publication Date: 2025-01-17SHENZHEN JIUZHOU ELECTRIC
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411292953.X
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-09-14
Publication Date
2025-01-17

AI Technical Summary

Technical Problem

The prior art lacks a method of dynamically and intelligently switching mobile communication methods, which makes it impossible to reasonably allocate the upper layer network through the terminal device, and thus it is difficult to prevent network blockage and improve network utilization.

Method used

By monitoring the current transmission content, performance status and optional mobile communication methods of the terminal device, and dynamically setting the data volume threshold of each mobile communication method according to the data type and performance status, the target data volume threshold is determined to switch the mobile communication method.

Benefits of technology

It realizes dynamic switching of mobile communication modes through terminal equipment, avoids network congestion, improves network utilization, and ensures communication efficiency.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119325120A_ABST
    Figure CN119325120A_ABST
Patent Text Reader

Abstract

The invention discloses a mobile communication mode switching method and device, electronic equipment and a storage medium, and relates to the technical field of mode switching, and the method comprises the steps: determining the data size and the data type of transmission data in terminal equipment, monitoring the performance condition of the terminal equipment and each mobile communication mode which can be switched by the terminal equipment, and switching the mobile communication modes. Acquiring a technical index of each mobile communication mode in the mobile communication modes; setting a data volume threshold value of each mobile communication mode based on the data type and the performance condition, and comparing the data volume with each data volume threshold value to determine a target data volume threshold value in each data volume threshold value; and determining a target mobile communication mode based on the candidate target mobile communication mode corresponding to the target data volume threshold and each technical index, so as to switch the mobile communication mode of the terminal equipment according to the target mobile communication mode. The effect of dynamically switching the own mobile communication mode through the terminal equipment is realized.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the technical field of mode switching, and in particular to a method, device, electronic device and storage medium for switching a mobile communication mode. Background Art

[0002] With the continuous development of mobile communication technology, the technology of adaptive dynamic switching of mobile communication modes is also constantly evolving and improving. The algorithms and strategies of intelligent routing are changing with each passing day. The allocation strategy on the network side has reached a bottleneck state. However, there is a lack of a method to dynamically and intelligently switch the mobile communication mode in the terminal device, which makes it impossible to reasonably allocate the upper network through the terminal device, and thus it is difficult to prevent network congestion and low network utilization through the terminal device.

[0003] Therefore, how to dynamically switch the mobile communication mode of the terminal device is a problem that needs to be solved urgently. Summary of the invention

[0004] The main purpose of the present application is to provide a mobile communication mode switching method, device, electronic device and storage medium, aiming to solve the technical problem of how to dynamically switch the mobile communication mode of the terminal device.

[0005] To achieve the above object, the present application proposes a mobile communication mode switching method, which is applied to a terminal device and includes:

[0006] Determine the amount and type of data transmitted in the terminal device, monitor the performance status of the terminal device and the various mobile communication modes that the terminal device can switch to, and obtain technical indicators of each of the various mobile communication modes;

[0007] Setting a data volume threshold for each of the mobile communication modes based on the data type and the performance status, and comparing the data volume with each of the data volume thresholds to determine a target data volume threshold among the data volume thresholds, wherein the target data volume threshold is an adjacent data volume threshold among the data volume thresholds that is greater than the data volume;

[0008] Based on the candidate target mobile communication modes corresponding to the target data volume threshold and each of the technical indicators, a target mobile communication mode is determined to switch the mobile communication mode of the terminal device according to the target mobile communication mode.

[0009] In one embodiment, the step of setting a data volume threshold for each of the mobile communication modes based on the data type and the performance status includes:

[0010] For any one of the mobile communication modes, setting an initial data volume threshold of the mobile communication mode based on the data type;

[0011] After traversing each of the mobile communication modes, an initial data volume threshold of each of the mobile communication modes is obtained, and each of the initial data volume thresholds is adjusted according to the performance status to obtain the data volume threshold of each mobile communication mode.

[0012] In one embodiment, the performance condition includes at least network congestion and network signal quality, and the step of adjusting each of the initial data volume thresholds according to the performance condition to obtain the data volume threshold for each mobile communication mode includes:

[0013] When the network congestion exceeds a preset congestion index, or the network signal quality is lower than a preset signal quality, increasing each of the initial data volume thresholds to obtain the data volume threshold for each mobile communication mode;

[0014] When the network congestion does not exceed the preset congestion index and the network signal quality is not lower than the preset signal quality, each of the initial data volume thresholds is reduced to obtain the data volume threshold for each mobile communication mode.

[0015] In one embodiment, the step of determining the target mobile communication mode based on the candidate target mobile communication modes corresponding to the target data volume threshold and each of the technical indicators includes:

[0016] Acquire the transmission requirements of the transmission data. When the candidate target technical indicators corresponding to the candidate target mobile communication mode do not meet the transmission requirements, use a mobile communication mode among the mobile communication modes whose transmission frequency band is lower than the candidate transmission frequency band corresponding to the candidate target mobile communication mode as the target mobile communication mode, wherein the candidate target technical indicators are the technical indicators among the technical indicators corresponding to the candidate target mobile communication mode.

[0017] In one embodiment, the step of switching the mobile communication mode of the terminal device according to the target mobile communication mode includes:

[0018] Acquire the remaining power of the terminal device, and generate a plurality of switching options based on the target mobile communication mode when the remaining power is lower than a preset power;

[0019] A target option among the switching options is determined based on the received selection instruction, and the mobile communication mode is switched according to the target option.

[0020] In one embodiment, the step of determining the data type and data amount of the data transmitted in the terminal device includes:

[0021] Acquire the data volume of the transmission data, and determine the type of data to be verified of the transmission data based on the data volume;

[0022] The hardware startup status in the terminal device is monitored, and the data type to be verified is verified based on the hardware startup status to obtain the data type of the transmission data.

[0023] In one embodiment, the data to be verified is a plurality of first data types configured with preset weights, and the step of verifying the data type to be verified based on the hardware startup status to obtain the data type of the transmission data includes:

[0024] Acquire a historical transmission data type of the terminal device, and determine a plurality of second data types of the transmission data configured with check weights based on the historical transmission data type and the hardware startup status, wherein the check weights are generated according to the historical transmission data type;

[0025] Taking the data types that are consistent in each of the first data types and each of the second data types as candidate data types, and calculating the product of the preset weight corresponding to each of the candidate data types and the check weight;

[0026] The candidate data type corresponding to the largest product among the products is used as the data type of the transmission data.

[0027] In addition, to achieve the above-mentioned purpose, the present application also proposes a mobile communication mode switching device, the mobile communication mode switching device comprising:

[0028] A monitoring module, used to determine the amount and type of data transmitted in the terminal device, monitor the performance status of the terminal device and the various mobile communication modes that the terminal device can switch to, and obtain technical indicators of each of the various mobile communication modes;

[0029] a comparison module, configured to set a data volume threshold for each of the mobile communication modes based on the data type and the performance status, and compare the data volume with each of the data volume thresholds to determine a target data volume threshold among the data volume thresholds, wherein the target data volume threshold is an adjacent data volume threshold among the data volume thresholds that is greater than the data volume;

[0030] The switching module is used to determine the target mobile communication mode based on the candidate target mobile communication mode corresponding to the target data volume threshold and each of the technical indicators, so as to switch the mobile communication mode of the terminal device according to the target mobile communication mode.

[0031] In addition, to achieve the above-mentioned purpose, the present application also proposes an electronic device, which includes: a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the computer program is configured to implement the steps of the mobile communication mode switching method as described above.

[0032] In addition, to achieve the above-mentioned purpose, the present application also proposes a storage medium, which is a computer-readable storage medium, and a computer program is stored on the storage medium. When the computer program is executed by the processor, the steps of the mobile communication mode switching method described above are implemented.

[0033] In addition, to achieve the above-mentioned purpose, the present application also provides a computer program product, which includes a computer program, and when the computer program is executed by a processor, the steps of the mobile communication mode switching method as described above are implemented.

[0034] One or more technical solutions proposed in this application have at least the following technical effects:

[0035] The present application first determines the data volume and data type of the data transmitted in the terminal device, monitors the performance status of the terminal device and the various mobile communication modes that the terminal device can switch to, and obtains the technical indicators of each of the mobile communication modes, so as to fully understand the current transmission content, performance status and optional mobile communication modes of the terminal device, and provide an accurate data basis for subsequent mobile communication mode switching; based on the data type and the performance status, a data volume threshold for each of the mobile communication modes is set, and the data volume is compared with each of the data volume thresholds to determine the target data volume threshold in each of the data volume thresholds, thereby realizing dynamic setting of the data volume threshold for different mobile communication modes, so as to trigger the mobile communication mode switching of the terminal device more accurately; based on the candidate target mobile communication modes corresponding to the target data volume threshold and each of the technical indicators, a target mobile communication mode is determined, so as to switch the mobile communication mode of the terminal device according to the target mobile communication mode, thereby ensuring that the terminal device switches to the most suitable mobile communication mode on the premise of meeting the transmission requirements, and improving the communication efficiency of the terminal device.

[0036] In summary, the present application monitors the current transmission content, performance status and optional mobile communication modes of the terminal device, and dynamically sets the data volume thresholds for different mobile communication modes, so as to determine the most appropriate mobile communication mode for switching, thereby avoiding the problem of being unable to reasonably allocate the upper-layer network through the terminal device, and achieving the effect of dynamically switching the terminal device's own mobile communication mode. BRIEF DESCRIPTION OF THE DRAWINGS

[0037] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present application and, together with the description, serve to explain the principles of the present application.

[0038] In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, for ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative work.

[0039] Figure 1 A flowchart of a method for switching a mobile communication mode according to an embodiment of the present invention;

[0040] Figure 2 A flowchart of the second embodiment of the method for switching the mobile communication mode of the present application is provided;

[0041] Figure 3 A schematic diagram of a brief flow chart of a method for switching a mobile communication mode provided in Embodiment 2 of the present application;

[0042] Figure 4 This is a schematic diagram of the module structure of the mobile communication mode switching device according to an embodiment of the present application;

[0043] Figure 5 This is a schematic diagram of the device structure of the hardware operating environment involved in the mobile communication mode switching method in the embodiment of the present application.

[0044] The purpose, features and advantages of this application will be further described in conjunction with the embodiments and with reference to the accompanying drawings. DETAILED DESCRIPTION

[0045] It should be understood that the specific embodiments described herein are only used to explain the technical solutions of the present application and are not used to limit the present application.

[0046] In order to better understand the technical solution of the present application, a detailed description will be given below in conjunction with the accompanying drawings and specific implementation methods.

[0047] The main solution of the embodiment of the present application is: determine the data volume and data type of the data transmitted in the terminal device, monitor the performance status of the terminal device and the various mobile communication modes that the terminal device can switch, and obtain the technical indicators of each of the mobile communication modes; set a data volume threshold for each of the mobile communication modes based on the data type and the performance status, and compare the data volume with each of the data volume thresholds to determine a target data volume threshold in each of the data volume thresholds, wherein the target data volume threshold is an adjacent data volume threshold in each of the data volume thresholds that is greater than the data volume; determine the target mobile communication mode based on the candidate target mobile communication modes corresponding to the target data volume threshold and each of the technical indicators, so as to switch the mobile communication mode of the terminal device according to the target mobile communication mode.

[0048] Since the prior art lacks a method for dynamically and intelligently switching mobile communication modes in terminal devices, it is impossible to reasonably allocate upper-layer networks through terminal devices, and it is difficult to prevent network congestion and low network utilization through terminal devices. Therefore, how to dynamically switch the mobile communication mode of the terminal device is a problem that needs to be solved urgently.

[0049] The present application provides a solution, which monitors the current transmission content, performance status and optional mobile communication modes of the terminal device, and dynamically sets the data volume thresholds for different mobile communication modes, so as to determine the most appropriate mobile communication mode for switching, thereby avoiding the problem of being unable to reasonably allocate the upper-layer network through the terminal device, and achieving the effect of dynamically switching the terminal device's own mobile communication mode.

[0050] It should be noted that the execution subject of this embodiment may be a computing service device with data processing, network communication and program running functions, such as a tablet computer, a personal computer, a mobile phone, etc., or an electronic device capable of realizing the above functions, etc. The following takes an electronic device as an example to illustrate this embodiment and the following embodiments.

[0051] Based on this, the embodiment of the present application provides a method for switching a mobile communication mode, referring to Figure 1 , Figure 1 This is a flow chart of the first embodiment of the method for switching the mobile communication mode of the present application.

[0052] In this embodiment, the mobile communication mode switching method includes steps S10 to S30:

[0053] Step S10, determining the data volume and data type of the data transmitted in the terminal device, monitoring the performance status of the terminal device and the various mobile communication modes that the terminal device can switch to, and obtaining technical indicators of each of the various mobile communication modes;

[0054] It should be noted that transmission data refers to the information sent or received by the terminal device during the communication process; data volume refers to the total size of the transmitted data, usually measured in bytes; data type refers to the type of transmitted data, such as text type, picture type, video type, etc.; performance status refers to the current working status of the terminal device, including but not limited to network congestion, network signal quality, etc.; mobile communication mode refers to the technical means used by the terminal device for data transmission, such as 2G, 3G, 4G, 5G, 6G, Wi-Fi, etc.; technical indicators refer to the performance parameters of each mobile communication mode, such as signal strength, bandwidth, delay, stability performance and security performance.

[0055] In addition, it should be noted that the monitoring frequency of the performance status of the terminal device can be adjusted according to the preset time period, so that different monitoring frequencies can be used to monitor the performance status of the terminal device in different preset time periods, while ensuring the communication flexibility of the terminal device and reducing the performance power consumption of the terminal device in a specific time period.

[0056] It is understandable that due to the coexistence of multiple mobile communication modes, it is difficult to select the most appropriate mobile communication mode according to the real-time transmission data and working status of the terminal device through the terminal application. Therefore, step S10 is performed to provide an accurate data basis for subsequent mobile communication mode switching by fully understanding the current transmission content, performance status and optional mobile communication modes of the terminal device.

[0057] Step S20, setting a data volume threshold for each of the mobile communication modes based on the data type and the performance status, and comparing the data volume with each of the data volume thresholds to determine a target data volume threshold among the data volume thresholds, wherein the target data volume threshold is an adjacent data volume threshold among the data volume thresholds that is greater than the data volume;

[0058] It should be noted that the data volume threshold refers to a data volume limit for each mobile communication mode monitored. This limit is used to determine whether it is necessary to switch the mobile communication mode. The data volume threshold is encrypted by AES (Advanced Encryption Standard) or SHA-256 (Secure Hash Algorithm) encryption algorithm and saved to ensure the stability and security of the data volume threshold; the target data volume threshold refers to the data volume threshold among all data volume thresholds, which is greater than the current actual transmitted data volume and is closest to the data volume. This data volume threshold serves as the basis for triggering the switching of mobile communication modes.

[0059] It is understandable that since in the process of communication between the terminal device and the outside world, there is often a problem of mismatch between the actual amount of data transmitted and the amount of data transmitted supported by the mobile communication mode, step S20 is performed to avoid the difficulty in dynamically setting the data volume thresholds for different mobile communication modes through the terminal device, thereby being able to more accurately trigger the switching of the mobile communication mode of the terminal device.

[0060] In a feasible implementation manner, the step of setting the data volume threshold of each mobile communication mode based on the data type and the performance status in step S20 may include steps S21 to S22:

[0061] Step S21, for any one of the mobile communication modes, setting an initial data volume threshold of the mobile communication mode based on the data type;

[0062] It should be noted that the initial data volume threshold refers to the basic data volume limit pre-set for each mobile communication mode based on the data type of the transmitted data, and the basic data volume limit is the starting point for subsequent adjustments.

[0063] It is understandable that, since there is no threshold for switching mobile communication modes based on the data type, some mobile communication modes may be inefficient or have unstable performance when processing specific types of transmission data. Therefore, step S21 is performed to ensure that each mobile communication mode has an initial threshold that matches its ability to process specific data types, thereby providing reasonable benchmark data for subsequent threshold adjustments.

[0064] Exemplarily, when the mobile communication modes include 3G, 4G, 5G, 6G and Wi-Fi, and the data type is a text type, the initial data volume threshold of the 3G network is set to 20MB (Megabit), the initial data volume threshold of the 4G network is 100MB, the initial data volume threshold of the 5G network is 1GB (Gigabyte), the initial data volume threshold of the 6G network is 100GB, and no initial data volume threshold is set for Wi-Fi; when the mobile communication modes include 3G, 4G, 5G, 6G and Wi-Fi, and the data type is a video type, the initial data volume threshold of the 3G network is set to 10MB (Megabit), the initial data volume threshold of the 4G network is 50MB, the initial data volume threshold of the 5G network is 1GB (Gigabyte), the initial data volume threshold of the 6G network is 100GB, and no initial data volume threshold is set for Wi-Fi.

[0065] Step S22, after traversing each of the mobile communication modes, obtain the initial data volume threshold of each of the mobile communication modes, and adjust each of the initial data volume thresholds according to the performance status to obtain the data volume threshold of each mobile communication mode.

[0066] It is understandable that since the static data volume threshold is difficult to adapt to the dynamic data transmission and performance changes of the terminal device, step S22 is performed to adjust the initial data volume threshold by considering the real-time performance status of the terminal device so that the data volume can adapt to different terminal device performance conditions, thereby more accurately triggering the mobile communication mode of the terminal device.

[0067] In this implementation, by personalizing the initial data volume threshold based on the data type and dynamically adjusting the initial data volume threshold of different mobile communication modes in combination with the performance status of the terminal device, it is ensured that each mobile communication mode can flexibly adjust the switching conditions according to its own actual performance when processing different types of transmission data, thereby avoiding inappropriate selection and frequent and unnecessary switching of the terminal device when switching mobile communication modes, thereby improving the communication efficiency and stability of the terminal device.

[0068] In a feasible implementation manner, the performance status includes at least network congestion and network signal quality, and the step of adjusting each of the initial data volume thresholds according to the performance status in step S22 to obtain the data volume threshold for each mobile communication mode may include steps S221 to S222:

[0069] Step S221, when the network congestion exceeds a preset congestion index, or the network signal quality is lower than a preset signal quality, increasing each of the initial data volume thresholds to obtain the data volume threshold for each mobile communication mode;

[0070] It should be noted that network congestion refers to the phenomenon that the data flow in the network exceeds the network's processing capacity, resulting in a decrease in data transmission rate or an increase in delay; network signal quality refers to the performance indicators such as signal strength, stability and error rate of the mobile communication network used by terminal devices to communicate with the outside world. This performance indicator directly affects the reliability and communication rate of terminal devices; the preset congestion index refers to the critical value of network performance set in advance for determining whether the network is congested; the preset signal quality refers to the minimum standard of a series of performance parameters set in advance for determining whether the network signal quality meets the standards.

[0071] It is understandable that since it is difficult to transmit data normally when the terminal device is in a situation where the network is too congested or the network signal quality is too poor, step S221 is performed. By increasing the data volume threshold when the network is too congested or the network signal quality is poor, the transmission data can be transmitted normally, thereby ensuring the data transmission efficiency of the terminal device.

[0072] Step S222, when the network congestion does not exceed the preset congestion index and the network signal quality is not lower than the preset signal quality, reduce each of the initial data volume thresholds to obtain the data volume threshold for each mobile communication mode.

[0073] It is understandable that when the terminal device is in good performance condition, if the communication frequency band of the mobile communication method adopted by the terminal device is too low, it will cause the problem of low communication effect of the terminal device. Therefore, step S222 is performed. When the performance of the terminal device is good, by reducing the data volume threshold, the terminal device can switch to a more efficient network in time, thereby improving the communication rate of the terminal device.

[0074] In this implementation, by dynamically adjusting the initial data volume threshold according to the real-time performance status of the terminal device, a suitable mobile communication mode is adapted to the terminal device, which ensures that the terminal device can transmit data normally while promoting the use of efficient mobile communication modes.

[0075] Step S30, determining a target mobile communication mode based on the candidate target mobile communication modes corresponding to the target data volume threshold and each of the technical indicators, so as to switch the mobile communication mode of the terminal device according to the target mobile communication mode.

[0076] It should be noted that the candidate target mobile communication mode refers to a possible mobile communication mode determined according to the target data volume threshold; the target mobile communication mode is the mobile communication mode finally selected for switching after comprehensive consideration of technical indicators among the candidate target mobile communication modes.

[0077] It is understandable that if the mobile communication mode of the terminal device is switched only based on the target mobile communication mode determined by the amount of data to be transmitted, the transmission efficiency of the terminal device may be low because the mobile communication modes actually available for switching cannot meet the transmission requirements of the terminal device. Therefore, step S30 is performed to select the best mobile communication mode that can meet the transmission requirements of the terminal device by comprehensively considering the technical indicators of each mobile communication mode, thereby optimizing the communication efficiency of the terminal device and ensuring the continuity and stability of communication.

[0078] In a feasible implementation manner, the step of determining the target mobile communication mode based on the candidate target mobile communication mode corresponding to the target data volume threshold and each of the technical indicators in step S30 may include step S31:

[0079] Step S31, obtaining the transmission requirements of the transmission data. When the candidate target technical indicators corresponding to the candidate target mobile communication mode do not meet the transmission requirements, a mobile communication mode among the mobile communication modes whose transmission frequency band is lower than the candidate transmission frequency band corresponding to the candidate target mobile communication mode is used as the target mobile communication mode, wherein the candidate target technical indicators are the technical indicators corresponding to the candidate target mobile communication mode among the technical indicators.

[0080] It should be noted that transmission requirements refer to specific performance requirements for transmitted data, such as minimum transmission rate, maximum delay time, data reliability, etc.; candidate target technical indicators refer to technical performance parameters corresponding to the candidate target mobile communication mode, such as bandwidth, signal strength, delay, error rate, etc.; candidate transmission frequency band refers to the transmission frequency band of the candidate target mobile communication mode.

[0081] Exemplarily, the transmission requirements for video-type transmission data are obtained. When the candidate target mobile communication mode is 5G and the transmission requirements for video-type transmission data are not met, the 4G mobile communication mode whose transmission frequency band is lower than the 5G transmission frequency band among the 3G, 4G, 5G, 6G and other mobile communication modes is used as the target mobile communication mode.

[0082] In this implementation, the reliability of data transmission of the terminal device is ensured by selecting a mobile communication mode that meets the transmission requirements.

[0083] In a feasible implementation manner, the step of switching the mobile communication mode of the terminal device according to the target mobile communication mode in step S30 may include steps S301 to S302:

[0084] Step S301, obtaining the remaining power of the terminal device, and generating a plurality of switching options based on the target mobile communication mode when the remaining power is lower than a preset power;

[0085] It should be noted that the remaining power refers to the power currently available in the terminal device; the switching option refers to a plurality of mobile communication modes generated according to the target mobile communication mode and available for the user to choose.

[0086] It is understandable that when the terminal device is low on battery, continuing to use a power-intensive mobile communication method may cause the terminal device to shut down prematurely. Therefore, step S301 is performed to provide multiple switching options when the terminal device is low on battery, so that the user can choose different mobile communication methods according to the remaining battery power, thereby improving the communication flexibility of the terminal device.

[0087] Exemplarily, when the terminal device detects that the remaining power is lower than the preset power and the target mobile communication mode is 5G, the following three switching options are generated: A. Maintain the current 5G mobile communication mode, B. Switch to the 4G mobile communication mode, and C. Switch to the 4G mobile communication mode if the user has no operation for 30 seconds.

[0088] Step S302: determining a target option among the switching options based on the received selection instruction, and switching the mobile communication mode according to the target option.

[0089] It should be noted that the selection instruction refers to a selection instruction made by the user for the switching option, and the target option refers to the mobile communication mode for switching that is finally determined according to the selection instruction.

[0090] It is understandable that due to the lack of direct control by the user, the terminal device may not switch the mobile communication mode in accordance with actual needs when the battery is low. Therefore, step S302 is performed to ensure switching to a mobile communication mode that meets the current needs and programmed mobile communication mode of the terminal device through the user's selection instructions, thereby improving the communication flexibility of the terminal device.

[0091] The present application proposes a method for switching a mobile communication mode, which monitors the current transmission content, performance status and optional mobile communication modes of a terminal device, and dynamically sets the data volume thresholds for different mobile communication modes, thereby determining the most appropriate mobile communication mode for switching, avoiding the problem of being unable to reasonably allocate the upper network through the terminal device, and achieving the effect of dynamically switching the terminal device's own mobile communication mode.

[0092] Based on the first embodiment of the present application, in the second embodiment of the present application, the same or similar contents as those in the above-mentioned embodiment 1 can be referred to the above introduction, and will not be repeated in the following. Figure 2 The step of determining the data type and data volume of the data transmitted in the terminal device in step S10 may include steps S11 to S12:

[0093] Step S11, obtaining the data volume of the transmission data, and determining the type of data to be verified of the transmission data based on the data volume;

[0094] It should be noted that the data type to be verified refers to the possible data type preliminarily determined by the terminal device based on the amount of data transmitted, and the data type needs to be confirmed through further verification.

[0095] It is understandable that since it is difficult to accurately identify the data type of the transmitted data only by the data volume of the transmitted data, step S11 is performed to provide an effective data basis for subsequent precise verification of the data type, which helps to more accurately match the data type and the data volume threshold of the mobile communication method.

[0096] Exemplarily, the data volume of the transmission data in the terminal device is obtained to be 20MB, then based on the data volume of 20MB, the data types to be verified of the transmission data are determined to be a text type with a weight of 0.1, an audio type with a weight of 0.6, and a video type with a weight of 0.3.

[0097] Step S12, monitoring the hardware startup status in the terminal device, and verifying the data type to be verified based on the hardware startup status to obtain the data type of the transmission data.

[0098] It should be noted that the hardware startup status refers to the activation status of a specific hardware module in the terminal device, such as the activation status of an electronic microphone, the activation status of a camera, etc.

[0099] It is understandable that since the setting of the data volume threshold of the mobile communication mode depends on inaccurate data types, the communication strategy of the terminal device may be incorrectly executed. Therefore, step S12 is performed to verify the data type of the transmitted data by monitoring the hardware startup status, thereby ensuring the accuracy of the data type, thereby making the subsequent mobile communication mode switching more accurate and efficient.

[0100] In this implementation, by determining the data type based on the data volume and verifying it in combination with the hardware startup status of the terminal device, the data type of the data transmitted in the terminal device is accurately identified, thereby avoiding poor communication quality or waste of communication resources due to incorrect data type identification, and improving the communication targeting and efficiency of the terminal device.

[0101] In a feasible implementation manner, the data to be verified is a plurality of first data types configured with preset weights, and the step of verifying the data type to be verified based on the hardware startup status in step S12 to obtain the data type of the transmission data may include steps S121 to S123:

[0102] Step S121, obtaining a historical transmission data type of the terminal device, and determining a plurality of second data types of the transmission data configured with check weights based on the historical transmission data type and the hardware startup status, wherein the check weights are generated according to the historical transmission data type;

[0103] It should be noted that the historical transmission data type refers to the historical record of the data type transmitted by the terminal device in the past period of time; the verification weight refers to the weight generated according to the frequency of occurrence of the historical transmission data type and used to determine the second data type; the second data type refers to multiple possible data types determined based on the historical transmission data type and hardware startup status.

[0104] Exemplarily, when the terminal device detects that the electronic microphone is activated, and based on the historical transmission data types, the probability of audio type data is higher and the probability of text type data is lower in the data transmitted in the same time period, and no video type data has been transmitted, then the second data type is determined to be a text type with a weight of 0.2 and an audio type with a weight of 0.8.

[0105] Step S122, taking the data types that are consistent in each of the first data types and each of the second data types as candidate data types, and calculating the product of the preset weight corresponding to each of the candidate data types and the check weight;

[0106] It should be noted that the first data type refers to a possible data type preliminarily determined based on the amount of data transmitted; the candidate data type refers to a consistent data type between the first data type and the second data type.

[0107] Exemplarily, when the first data type is a text type with a weight of 0.1, an audio type with a weight of 0.6, and a video type with a weight of 0.3, and the second data type is a text type with a weight of 0.2 and an audio type with a weight of 0.8, the candidate data types are determined to be text type and audio type, and the weight product corresponding to the text type is calculated to be 0.1*0.2=0.02, and the weight product corresponding to the audio type is calculated to be 0.6*0.8=0.48.

[0108] Step S123: taking the candidate data type corresponding to the largest product among the products as the data type of the transmission data.

[0109] Exemplarily, when the weight product corresponding to the text type is 0.1*0.2=0.02 and the weight product corresponding to the audio type is 0.6*0.8=0.48, the audio type corresponding to 0.48 is used as the data type of the transmitted data.

[0110] In this implementation, by combining the historical transmission data type and the hardware startup status to calculate the weight product, it is possible to more accurately determine the data type of the transmission data, improve the accuracy of data type identification, and thereby ensure that the terminal device can select the appropriate mobile communication method based on the accurate data type, thereby optimizing the communication efficiency of the terminal device.

[0111] For example, in order to help understand the implementation process of the mobile communication mode switching method obtained by combining this embodiment with the above-mentioned embodiment 1, please refer to Figure 3 , Figure 3 A brief flow chart of a method for switching a mobile communication mode is provided, specifically:

[0112] First, the terminal device monitors the hardware startup status and the amount of data transmitted to determine the data type of the transmitted data, and determines the data volume threshold of each mobile communication mode based on the determined data type and the technical indicators of each mobile communication mode monitored. The amount of data transmitted is compared with each data volume threshold to determine the target mobile communication mode.

[0113] It should be noted that the above examples are only used to understand the present application and do not constitute a limitation on the mobile communication mode switching method of the present application. More simple transformations based on this technical concept are all within the scope of protection of the present application.

[0114] This application also provides a mobile communication mode switching device, please refer to Figure 4 , the mobile communication mode switching device comprises:

[0115] A monitoring module 10, used to determine the amount and type of data transmitted in the terminal device, monitor the performance status of the terminal device and the various mobile communication modes that the terminal device can switch to, and obtain technical indicators of each of the various mobile communication modes;

[0116] a comparison module 20, configured to set a data volume threshold for each of the mobile communication modes based on the data type and the performance status, and compare the data volume with each of the data volume thresholds to determine a target data volume threshold among the data volume thresholds, wherein the target data volume threshold is an adjacent data volume threshold among the data volume thresholds that is greater than the data volume;

[0117] The switching module 30 is used to determine the target mobile communication mode based on the candidate target mobile communication mode corresponding to the target data volume threshold and each of the technical indicators, so as to switch the mobile communication mode of the terminal device according to the target mobile communication mode.

[0118] Optionally, the comparison module 20 is further used for:

[0119] For any one of the mobile communication modes, setting an initial data volume threshold of the mobile communication mode based on the data type;

[0120] After traversing each of the mobile communication modes, an initial data volume threshold of each of the mobile communication modes is obtained, and each of the initial data volume thresholds is adjusted according to the performance status to obtain the data volume threshold of each mobile communication mode.

[0121] Optionally, the performance status includes at least network congestion and network signal quality, and the comparison module 20 is further used for:

[0122] When the network congestion exceeds a preset congestion index, or the network signal quality is lower than a preset signal quality, increasing each of the initial data volume thresholds to obtain the data volume threshold for each mobile communication mode;

[0123] When the network congestion does not exceed the preset congestion index and the network signal quality is not lower than the preset signal quality, each of the initial data volume thresholds is reduced to obtain the data volume threshold for each mobile communication mode.

[0124] Optionally, the switching module 30 is further used for:

[0125] Acquire the transmission requirements of the transmission data. When the candidate target technical indicators corresponding to the candidate target mobile communication mode do not meet the transmission requirements, use a mobile communication mode among the mobile communication modes whose transmission frequency band is lower than the candidate transmission frequency band corresponding to the candidate target mobile communication mode as the target mobile communication mode, wherein the candidate target technical indicators are the technical indicators among the technical indicators corresponding to the candidate target mobile communication mode.

[0126] Optionally, the switching module 30 is further used for:

[0127] Acquire the remaining power of the terminal device, and generate a plurality of switching options based on the target mobile communication mode when the remaining power is lower than a preset power;

[0128] A target option among the switching options is determined based on the received selection instruction, and the mobile communication mode is switched according to the target option.

[0129] Optionally, the monitoring module 10 is further used for:

[0130] Acquire the data volume of the transmission data, and determine the type of data to be verified of the transmission data based on the data volume;

[0131] The hardware startup status in the terminal device is monitored, and the data type to be verified is verified based on the hardware startup status to obtain the data type of the transmission data.

[0132] Optionally, the data to be verified is a plurality of first data types configured with preset weights, and the monitoring module 10 is further used to:

[0133] Acquire a historical transmission data type of the terminal device, and determine a plurality of second data types of the transmission data configured with check weights based on the historical transmission data type and the hardware startup status, wherein the check weights are generated according to the historical transmission data type;

[0134] Taking the data types that are consistent in each of the first data types and each of the second data types as candidate data types, and calculating the product of the preset weight corresponding to each of the candidate data types and the check weight;

[0135] The candidate data type corresponding to the largest product among the products is used as the data type of the transmission data.

[0136] The mobile communication mode switching device provided by the present application adopts the mobile communication mode switching method in the above embodiment, and can solve the technical problem of how to dynamically switch its own mobile communication mode through the terminal device. Compared with the prior art, the beneficial effects of the mobile communication mode switching device provided by the present application are the same as the beneficial effects of the mobile communication mode switching method provided by the above embodiment, and other technical features in the mobile communication mode switching device are the same as the features disclosed in the above embodiment method, which will not be repeated here.

[0137] The present application provides an electronic device, which includes: at least one processor; and a memory that is communicatively connected to the at least one processor; wherein the memory stores instructions that can be executed by the at least one processor, and the instructions are executed by the at least one processor so that the at least one processor can execute the mobile communication mode switching method in the above-mentioned embodiment 1.

[0138] Reference below Figure 5, which shows a schematic diagram of the structure of an electronic device suitable for implementing the embodiments of the present application. The electronic devices in the embodiments of the present application may include but are not limited to mobile terminals such as mobile phones, laptop computers, digital broadcast receivers, PDAs (Personal Digital Assistants), PADs (Portable Application Descriptions), PMPs (Portable Media Players), vehicle-mounted terminals (such as vehicle-mounted navigation terminals), etc., and fixed terminals such as digital TVs, desktop computers, etc. Figure 5 The electronic device shown is merely an example and should not bring any limitation to the functions and scope of use of the embodiments of the present application.

[0139] like Figure 5 As shown, the electronic device may include a processing device 1001 (e.g., a central processing unit, a graphics processor, etc.), which can perform various appropriate actions and processes according to a program stored in a read-only memory (ROM: Read Only Memory) 1002 or a program loaded from a storage device 1003 to a random access memory (RAM: Random Access Memory) 1004. In RAM1004, various programs and data required for the operation of the electronic device are also stored. The processing device 1001, ROM1002, and RAM1004 are connected to each other through a bus 1005. An input / output (I / O) interface 1006 is also connected to the bus. Generally, the following systems can be connected to the I / O interface 1006: an input device 1007 including, for example, a touch screen, a touch pad, a keyboard, a mouse, an image sensor, a microphone, an accelerometer, a gyroscope, etc.; an output device 1008 including, for example, a liquid crystal display (LCD: Liquid Crystal Display), a speaker, a vibrator, etc.; a storage device 1003 including, for example, a magnetic tape, a hard disk, etc.; and a communication device 1009. The communication device 1009 can allow the electronic device to communicate with other devices wirelessly or by wire to exchange data. Although the figure shows an electronic device with various systems, it should be understood that it is not required to implement or have all the systems shown. More or fewer systems can be implemented or have alternatively.

[0140] In particular, according to the embodiments disclosed in the present application, the process described above with reference to the flowchart can be implemented as a computer software program. For example, the embodiments disclosed in the present application include a computer program product, which includes a computer program carried on a computer-readable medium, and the computer program includes a program code for executing the method shown in the flowchart. In such an embodiment, the computer program can be downloaded and installed from a network through a communication device, or installed from a storage device 1003, or installed from a ROM 1002. When the computer program is executed by the processing device 1001, the above-mentioned functions defined in the method of the embodiment disclosed in the present application are executed.

[0141] The electronic device provided by the present application adopts the mobile communication mode switching method in the above embodiment, which can solve the technical problem of how to dynamically switch its own mobile communication mode through the terminal device. Compared with the prior art, the beneficial effects of the electronic device provided by the present application are the same as the beneficial effects of the mobile communication mode switching method provided by the above embodiment, and other technical features in the electronic device are the same as the features disclosed in the method of the previous embodiment, which will not be repeated here.

[0142] It should be understood that the various parts disclosed in this application can be implemented by hardware, software, firmware or a combination thereof. In the description of the above embodiments, specific features, structures, materials or characteristics can be combined in any one or more embodiments or examples in a suitable manner.

[0143] The above is only a specific implementation of the present application, but the protection scope of the present application is not limited thereto. Any person skilled in the art who is familiar with the present technical field can easily think of changes or substitutions within the technical scope disclosed in the present application, which should be included in the protection scope of the present application. Therefore, the protection scope of the present application should be based on the protection scope of the claims.

[0144] The present application provides a computer-readable storage medium having computer-readable program instructions (ie, computer programs) stored thereon, and the computer-readable program instructions are used to execute the mobile communication mode switching method in the above-mentioned embodiment.

[0145] The computer-readable storage medium provided in the present application may be, for example, a USB flash drive, but is not limited to electrical, magnetic, optical, electromagnetic, infrared, or semiconductor systems or devices, or any combination of the above. More specific examples of computer-readable storage media may include, but are not limited to: an electrical connection with one or more wires, a portable computer disk, a hard disk, a random access memory (RAM: Random Access Memory), a read-only memory (ROM: Read Only Memory), an erasable programmable read-only memory (EPROM: Erasable Programmable Read Only Memory or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM: CD-Read Only Memory), an optical storage device, a magnetic storage device, or any suitable combination of the above. In this embodiment, the computer-readable storage medium may be any tangible medium containing or storing a program that can be used by or in combination with an instruction execution system or device. The program code contained on the computer-readable storage medium may be transmitted using any appropriate medium, including but not limited to: wires, optical cables, RF (Radio Frequency: Radio Frequency), etc., or any suitable combination of the above.

[0146] The computer-readable storage medium may be included in the electronic device, or may exist independently without being installed in the electronic device.

[0147] The computer-readable storage medium carries one or more programs. When the one or more programs are executed by an electronic device, the electronic device: determines the data volume and data type of data transmitted in the terminal device, monitors the performance status of the terminal device and the various mobile communication modes that the terminal device can switch to, and obtains the technical indicators of each of the mobile communication modes; sets a data volume threshold for each of the mobile communication modes based on the data type and the performance status, and compares the data volume with each of the data volume thresholds to determine a target data volume threshold among the data volume thresholds, wherein the target data volume threshold is an adjacent data volume threshold among the data volume thresholds that is greater than the data volume; determines a target mobile communication mode based on the candidate target mobile communication modes corresponding to the target data volume threshold and each of the technical indicators, so as to switch the mobile communication mode of the terminal device according to the target mobile communication mode.

[0148] Computer program code for performing the operations of the present application may be written in one or more programming languages ​​or a combination thereof, including object-oriented programming languages ​​such as Java, Smalltalk, C++, and conventional procedural programming languages ​​such as "C" or similar programming languages. The program code may be executed entirely on the user's computer, partially on the user's computer, as a separate software package, partially on the user's computer and partially on a remote computer, or entirely on a remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer through any type of network, including a local area network (LAN) or a wide area network (WAN), or may be connected to an external computer (e.g., via the Internet using an Internet service provider).

[0149] The flow chart and block diagram in the accompanying drawings illustrate the possible architecture, function and operation of the system, method and computer program product according to various embodiments of the present application. In this regard, each square box in the flow chart or block diagram can represent a module, a program segment or a part of a code, and the module, the program segment or a part of the code contains one or more executable instructions for realizing the specified logical function. It should also be noted that in some alternative implementations, the functions marked in the square box can also occur in a sequence different from that marked in the accompanying drawings. For example, two square boxes represented in succession can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each square box in the block diagram and / or flow chart, and the combination of the square boxes in the block diagram and / or flow chart can be implemented with a dedicated hardware-based system that performs a specified function or operation, or can be implemented with a combination of dedicated hardware and computer instructions.

[0150] The modules involved in the embodiments described in this application may be implemented by software or hardware, wherein the name of the module does not constitute a limitation on the unit itself in some cases.

[0151] The readable storage medium provided by the present application is a computer-readable storage medium, which stores computer-readable program instructions (i.e., computer programs) for executing the above-mentioned mobile communication mode switching method, and can solve the technical problem of how to dynamically switch its own mobile communication mode through a terminal device. Compared with the prior art, the beneficial effects of the computer-readable storage medium provided by the present application are the same as the beneficial effects of the mobile communication mode switching method provided by the above-mentioned embodiment, and will not be repeated here.

[0152] The present application also provides a computer program product, including a computer program, which implements the steps of the mobile communication mode switching method as described above when executed by a processor.

[0153] The computer program product provided by the present application can solve the technical problem of how to dynamically switch the mobile communication mode of the terminal device. Compared with the prior art, the beneficial effects of the computer program product provided by the present application are the same as the beneficial effects of the mobile communication mode switching method provided by the above embodiment, which will not be repeated here.

[0154] The above descriptions are only some embodiments of the present application, and are not intended to limit the patent scope of the present application. All equivalent structural changes made using the contents of the present application specification and drawings under the technical concept of the present application, or direct / indirect applications in other related technical fields are included in the patent protection scope of the present application.

Claims

1. A method for switching a mobile communication mode, characterized in that: Applied to a terminal device, the mobile communication mode switching method includes: Determine the amount and type of data transmitted in the terminal device, monitor the performance status of the terminal device and the various mobile communication modes that the terminal device can switch to, and obtain technical indicators of each of the various mobile communication modes; Setting a data volume threshold for each of the mobile communication modes based on the data type and the performance status, and comparing the data volume with each of the data volume thresholds to determine a target data volume threshold among the data volume thresholds, wherein the target data volume threshold is an adjacent data volume threshold among the data volume thresholds that is greater than the data volume; Based on the candidate target mobile communication modes corresponding to the target data volume threshold and each of the technical indicators, a target mobile communication mode is determined to switch the mobile communication mode of the terminal device according to the target mobile communication mode.

2. The method for switching a mobile communication mode according to claim 1, wherein: The step of setting the data volume threshold of each mobile communication mode based on the data type and the performance status comprises: For any one of the mobile communication modes, setting an initial data volume threshold of the mobile communication mode based on the data type; After traversing each of the mobile communication modes, an initial data volume threshold of each of the mobile communication modes is obtained, and each of the initial data volume thresholds is adjusted according to the performance status to obtain the data volume threshold of each mobile communication mode.

3. The method for switching a mobile communication mode according to claim 2, wherein: The performance condition includes at least network congestion and network signal quality, and the step of adjusting each of the initial data volume thresholds according to the performance condition to obtain the data volume threshold for each mobile communication mode includes: When the network congestion exceeds a preset congestion index, or the network signal quality is lower than a preset signal quality, increasing each of the initial data volume thresholds to obtain the data volume threshold for each mobile communication mode; When the network congestion does not exceed the preset congestion index and the network signal quality is not lower than the preset signal quality, each of the initial data volume thresholds is reduced to obtain the data volume threshold for each mobile communication mode.

4. The method for switching a mobile communication mode according to claim 1, wherein: The step of determining the target mobile communication mode based on the candidate target mobile communication mode corresponding to the target data volume threshold and each of the technical indicators comprises: Acquire the transmission requirements of the transmission data. When the candidate target technical indicators corresponding to the candidate target mobile communication mode do not meet the transmission requirements, use a mobile communication mode among the mobile communication modes whose transmission frequency band is lower than the candidate transmission frequency band corresponding to the candidate target mobile communication mode as the target mobile communication mode, wherein the candidate target technical indicators are the technical indicators among the technical indicators corresponding to the candidate target mobile communication mode.

5. The method for switching a mobile communication mode according to claim 1, wherein: The step of switching the mobile communication mode of the terminal device according to the target mobile communication mode comprises: Acquire the remaining power of the terminal device, and generate a plurality of switching options based on the target mobile communication mode when the remaining power is lower than a preset power; A target option among the switching options is determined based on the received selection instruction, and the mobile communication mode is switched according to the target option.

6. The method for switching a mobile communication mode according to claim 1, wherein: The step of determining the data type and data volume of the data transmitted in the terminal device comprises: Acquire the data volume of the transmission data, and determine the type of data to be verified of the transmission data based on the data volume; The hardware startup status in the terminal device is monitored, and the data type to be verified is verified based on the hardware startup status to obtain the data type of the transmission data.

7. The method for switching a mobile communication mode according to claim 6, wherein: The data to be verified is a plurality of first data types configured with preset weights, and the step of verifying the data type to be verified based on the hardware startup status to obtain the data type of the transmission data includes: Acquire a historical transmission data type of the terminal device, and determine a plurality of second data types of the transmission data configured with check weights based on the historical transmission data type and the hardware startup status, wherein the check weights are generated according to the historical transmission data type; Taking the data types that are consistent in each of the first data types and each of the second data types as candidate data types, and calculating the product of the preset weight corresponding to each of the candidate data types and the check weight; The candidate data type corresponding to the largest product among the products is used as the data type of the transmission data.

8. A mobile communication mode switching device, characterized in that: The mobile communication mode switching device is applied to a terminal device, and the mobile communication mode switching device comprises: A monitoring module, used to determine the amount and type of data transmitted in the terminal device, monitor the performance status of the terminal device and the various mobile communication modes that the terminal device can switch to, and obtain technical indicators of each of the various mobile communication modes; a comparison module, configured to set a data volume threshold for each of the mobile communication modes based on the data type and the performance status, and compare the data volume with each of the data volume thresholds to determine a target data volume threshold among the data volume thresholds, wherein the target data volume threshold is an adjacent data volume threshold among the data volume thresholds that is greater than the data volume; The switching module is used to determine the target mobile communication mode based on the candidate target mobile communication mode corresponding to the target data volume threshold and each of the technical indicators, so as to switch the mobile communication mode of the terminal device according to the target mobile communication mode.

9. An electronic device, characterized in that: The device comprises: a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the computer program is configured to implement the steps of the mobile communication mode switching method according to any one of claims 1 to 7.

10. A storage medium, characterized in that: The storage medium is a computer-readable storage medium, and a computer program is stored on the storage medium. When the computer program is executed by a processor, the steps of the mobile communication mode switching method according to any one of claims 1 to 7 are implemented.