CN108990097B - Method, mobile terminal and storage medium for automatically avoiding network resource deficiency - Google Patents

Method, mobile terminal and storage medium for automatically avoiding network resource deficiency Download PDF

Info

Publication number
CN108990097B
CN108990097B CN201811089353.8A CN201811089353A CN108990097B CN 108990097 B CN108990097 B CN 108990097B CN 201811089353 A CN201811089353 A CN 201811089353A CN 108990097 B CN108990097 B CN 108990097B
Authority
CN
China
Prior art keywords
base station
information
preset
network
mobile phone
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201811089353.8A
Other languages
Chinese (zh)
Other versions
CN108990097A (en
Inventor
罗德文
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
SHENZHEN ZHIYING TECHNOLOGY Co.,Ltd.
Original Assignee
Shenzhen Zhiying Technology Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shenzhen Zhiying Technology Co ltd filed Critical Shenzhen Zhiying Technology Co ltd
Priority to CN201811089353.8A priority Critical patent/CN108990097B/en
Publication of CN108990097A publication Critical patent/CN108990097A/en
Application granted granted Critical
Publication of CN108990097B publication Critical patent/CN108990097B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W24/00Supervisory, monitoring or testing arrangements
    • H04W24/08Testing, supervising or monitoring using real traffic
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72448User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions
    • H04M1/72454User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions according to context-related or environment-related conditions
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W76/00Connection management
    • H04W76/10Connection setup

Abstract

The application provides a method for automatically avoiding network resource deficiency, a mobile terminal and a storage medium, wherein the mobile terminal is currently connected with a first base station, and the method comprises the following steps: acquiring current network information in real time, wherein the network information comprises the first base station and a first moment; matching the network information with a mark information base, and judging whether the network information meets the condition of triggering an avoidance function according to a first preset rule, wherein the mark information base records base station information and time period information corresponding to the base station information and having insufficient network resources, and the mark information base comprises at least one group of first preset mark information; and if the condition of triggering the avoidance function is met, connecting a preset base station corresponding to the first base station. According to the method and the device, the current network information can be acquired in real time, and the preset base station is automatically connected after the network information triggers the avoiding function, so that the shortage of network resources of the current connected base station is avoided, the smoothness of a mobile phone network is ensured, and the user experience is improved.

Description

Method, mobile terminal and storage medium for automatically avoiding network resource deficiency
Technical Field
The present application relates to the field of mobile communications technologies, and in particular, to a method, a mobile terminal, and a storage medium for automatically avoiding network resource shortage.
Background
With the widespread use of mobile terminals such as mobile phones, people have increasingly higher requirements for network resources, i.e., network speed, by using mobile phones to watch movies, browse web pages, or play games. Sometimes, in a certain time period or a certain place, due to dense users, schedulable network resources of a certain cell of the base station are limited, and the requirement of the users for surfing the internet cannot be met, the situation that the users cannot surf the internet or surf the internet slowly can be caused, and the use experience of the users is seriously influenced.
Disclosure of Invention
The method, the mobile terminal and the storage medium for automatically avoiding the shortage of the network resources are provided, the current network information can be obtained in real time, and the preset base station is automatically connected after the network information triggers the avoiding function, so that the shortage of the network resources of the currently connected base station is avoided, the smoothness of a mobile phone network is ensured, and the user experience is improved.
In order to achieve the above object, the present application provides a method for automatically avoiding network resource deficiency, in which a mobile terminal is currently connected to a first base station, including:
acquiring current network information in real time, wherein the network information comprises the first base station and a first moment;
matching the network information with a mark information base, and judging whether the network information meets the condition of triggering an avoidance function according to a first preset rule, wherein the mark information base records base station information and time period information corresponding to the base station information and having insufficient network resources, and the mark information base comprises at least one group of first preset mark information;
and if the condition of triggering the avoidance function is met, connecting a preset base station corresponding to the first base station.
Further, before the step of acquiring the current network information in real time, the method includes:
monitoring network resource information of a second base station which is connected currently;
judging whether the network resource information meets the condition of triggering a marking function or not according to a second preset rule;
if the condition of triggering the marking function is met, updating the current triggering times corresponding to the second base station;
judging whether the updated current trigger times are not less than the preset trigger times;
and if the number of times of triggering is not less than the preset number of times of triggering, generating the first preset mark information.
Further, after the step of generating the first preset flag information, the method includes:
if the condition of triggering the marking function is met, at least one base station meeting the preset condition of normally using the network resources within the preset range of the second base station is obtained;
and setting the base station which meets the requirement of normally using the network resource as the preset base station.
Further, the first preset flag information includes a current second base station and a first time period, and the step of generating the first preset flag information includes:
recording the starting time and the ending time meeting the trigger marking function;
obtaining the first time period according to the starting time and the ending time;
and generating the first preset mark information according to the second base station and the first time period.
Further, after the step of connecting the preset base station corresponding to the first base station, the method includes:
acquiring a current second moment in real time;
judging whether the second time is consistent with the end time corresponding to the first base station or not;
and if the time is consistent with the ending time, connecting the first base station.
Further, the step of matching the network information with the tag information base and judging whether the network information meets the condition for triggering the avoidance function according to a first preset rule includes:
searching and obtaining second preset mark information corresponding to the first base station from the mark information base according to the first base station, wherein the second preset mark information comprises a second time period;
judging whether the first time is included in the second time period;
if the network information is contained in the second time period, judging that the network information meets the condition of triggering the avoidance function;
and if the network information is not included in the second time period, judging that the network information does not meet the condition for triggering the avoidance function.
Further, the step of connecting the preset base station corresponding to the first base station, after the step of currently having at least one running application, includes:
acquiring the current network speed;
judging whether the network speed meets the internet surfing requirement of each running application;
and if the internet surfing requirements of the running applications are not met, setting each running application into a flow-saving mode.
Further, the mobile terminal is provided with a first mobile phone card and a second mobile phone card, the first mobile phone card is a current internet-enabled mobile phone card of the mobile terminal, the mobile terminal currently has at least one running application, and after the step of connecting the preset base station corresponding to the first base station, the method includes:
acquiring the current network speed;
judging whether the network speed meets the internet surfing requirement of each running application;
if the internet surfing requirement of the running application is not met, whether operators corresponding to the first mobile phone card and the second mobile phone card are the same or not is judged;
and if not, setting the second mobile phone card as an internet mobile phone card.
The application also provides a mobile terminal, which comprises a memory and a processor, wherein the memory is stored with a computer program, and the processor executes the computer program to realize the steps of the method.
The present application also provides a computer-readable storage medium having stored thereon a computer program which, when being executed by a processor, carries out the steps of the method as described above.
The method, the mobile terminal and the storage medium for automatically avoiding the network resource deficiency can acquire the current network information in real time, and automatically connect the preset base station after the network information triggers the avoiding function, so that the deficiency of the network resource of the current connected base station is avoided, the smoothness of a mobile phone network is ensured, and the user experience is improved.
Drawings
FIG. 1 is a schematic diagram illustrating steps of a method for automatically avoiding network resource shortage in an embodiment of the present application;
FIG. 2 is a schematic overall flowchart of a method for automatically avoiding network resource shortage in an embodiment of the present application;
fig. 3 is a block diagram illustrating a structure of a mobile terminal according to an embodiment of the present application.
The implementation, functional features and advantages of the objectives of the present application will be further explained with reference to the accompanying drawings.
Detailed Description
In order to make the objects, technical solutions and advantages of the present application more apparent, the present application is described in further detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative of the present application and are not intended to limit the present application.
Referring to fig. 1, an embodiment of the present application provides a method for automatically avoiding network resource shortage, where a mobile terminal is currently connected to a first base station, and the method includes:
s1: acquiring current network information in real time, wherein the network information comprises the first base station and a first moment;
s2: matching the network information with a mark information base, and judging whether the network information meets the condition of triggering an avoidance function according to a first preset rule, wherein the mark information base comprises at least one group of first preset mark information;
s3: and if the condition of triggering the avoidance function is met, connecting a preset base station corresponding to the first base station.
The mobile terminal includes, but is not limited to, a mobile phone, and in this embodiment, a mobile phone is taken as an example for description. When a user carries the mobile phone to be located at a certain place, the mobile phone can automatically search the base station with the most abundant network resources, namely the base station with the highest internet speed, as the optimal base station, namely the first base station, and connect. The mobile phone acquires current network information in real time, wherein the network information comprises a first base station and a first moment which are connected by the mobile phone for realizing network transmission, and the first moment is a specific moment. And then, calling a pre-constructed mark information base, and matching the network information with the mark information base. The marking information base records base station information and time slot information corresponding to the base station information and having insufficient network resources. The marking information base comprises at least one group of first preset marking information, and the first preset marking information consists of specific base station information and time period information corresponding to the base station information and having insufficient network resources. For example, the base station information in the first preset flag information is the base station No. 1, and the detected time period information of the network resource shortage of the base station No. 1 is 9-10 points; or the base station information in the first preset mark information is the base station number 2, and the detected time period information of the network resource shortage of the base station number 2 is 20-21 points and the like. When the matching is performed, the mobile phone first matches first preset tag information corresponding to the first base station from the tag information base, and then judges whether the first time is included in the time information of the first preset tag information. For example, if the first base station is a number 1 base station, the corresponding first preset flag information is: base station No. 1, points 9-10. If the first time is not included in the time information of the first preset mark information, for example, the first time is 8 points, the first time is obviously not included between 9 and 10 points, and at this time, the avoidance function is not triggered. And if the first time is included in the time information of the first preset mark information, for example, the first time is 9 points and is obviously included between 9 and 10 points, triggering the avoiding function. When the mobile phone triggers the avoidance function, the mobile phone automatically disconnects from the first base station and is connected with a preset base station corresponding to the first base station. The mobile phone detects the mobile phone within a preset range of the first base station in advance, and at least one base station with network resources meeting preset conditions in a time period of the first preset mark information is set as a preset base station. For example, the currently detected network resource information includes a BSR (data buffer report) of a MAC (media access control layer) layer when the mobile phone resides in a cell of the base station, an UL Grant (LTE uplink resource) allocated by the base station, a TX (mobile phone transmit power), and a PHR (mobile phone power headroom). And then, calling preset thresholds corresponding to the information types, and correspondingly comparing the preset thresholds with the data in the network resource information respectively. When the comparison results of BSR less than 10000bytes, UL Grant greater than 80bytes, TX less than 23dBm and PHR greater than 0 in the network resource information of each base station are all in accordance, the base station is said to meet the preset condition of normally using the network resources. And the preset base station and the first base station are in corresponding relation, so that when the avoidance function is triggered at the position of the first base station at a later period, the mobile phone can be directly connected with the preset base station without repeated detection, and time is saved.
Referring to fig. 2, further, before the step of acquiring the current network information in real time, the method includes:
s4: monitoring network resource information of a second base station which is connected currently;
s5: judging whether the network resource information meets the condition of triggering a marking function or not according to a second preset rule;
s6: if the condition of triggering the marking function is met, updating the current triggering times corresponding to the second base station;
s7: judging whether the updated current trigger times are not less than the preset trigger times;
s8: and if the number of times of triggering is not less than the preset number of times of triggering, generating the first preset mark information.
In this embodiment, the mobile phone monitors the network resource information of the mobile phone through an internal detection tool. The network resource information includes a data buffer report (BSR) of an MAC layer when the mobile phone resides in a cell of the base station, an LTE uplink resource (UL Grant) allocated by the base station, a mobile phone transmission power (TX), and a mobile phone Power Headroom (PHR). After the mobile phone obtains the network resource information, whether the mobile phone meets the condition of triggering the marking function is judged according to a second preset rule. Wherein, the second preset rule is: and calling a preset threshold corresponding to the information type of each piece of network resource information, and correspondingly comparing each preset threshold with each piece of data in the network resource information. When the BSR >10000bytes, UL Grant <80bytes, TX ═ 23dBm and PHR >0 all match, the duration is monitored. And if the duration time of the network resource information exceeds 30s, judging that the current network resource information meets the condition of triggering the marking function. The position of the trigger mark function and the trigger times corresponding to the position are recorded in the mobile phone. Therefore, after the mobile phone determines that the network resource information meets the condition of the trigger mark information, the mobile phone automatically obtains the second base station currently in network connection with the mobile phone through an internal connection tool, and meanwhile, updates the current trigger times corresponding to the second base station. After the data updating is finished, the mobile phone compares the updated current trigger times with the preset trigger times, and judges the size relationship between the current trigger times and the preset trigger times. And if the updated current trigger times are less than the preset trigger times, the mobile phone cannot generate the first preset mark information currently. And if the updated current trigger times are larger than or equal to the preset trigger times, acquiring the starting time and the ending time of the trigger marking function to obtain a first time period. Meanwhile, the first preset mark information is generated by combining the current second base station of the mobile phone.
Further, in this embodiment, the mobile phone monitors and acquires the network resource information thereof in real time, generates one or more groups of first preset mark information according to the method, and summarizes each group of first preset mark information to construct a mark information base. The format of each group of tag information is time information corresponding to the base station information, for example: the base station information is base station number 1, and the first time period is 20-21 points.
Further, after the step of generating the first preset flag information, the method includes:
s9: if the condition of triggering the marking function is met, at least one base station meeting the preset condition of normally using the network resources within the preset range of the second base station is obtained;
s10: and setting the base station which meets the requirement of normally using the network resource as the preset base station.
In this embodiment, after determining that the currently monitored network resource information satisfies the condition for triggering the flag function, the mobile phone starts to detect each base station within the preset range of the second base station, and obtains each set of network resource information corresponding to each base station when being connected with the mobile phone. The network resource information includes a BSR of an MAC layer when the mobile phone resides in a cell of the base station, and UL Grant, TX, and PHR allocated by the base station. And then, calling preset thresholds corresponding to the information types, and correspondingly comparing the preset thresholds with the data in the network resource information respectively. When the comparison results of BSR less than 10000bytes, UL Grant greater than 80bytes, TX less than 23dBm and PHR greater than 0 in the network resource information of each base station are all in accordance, the base station is said to meet the preset condition of normally using the network resources. Meanwhile, the mobile phone sets one or more base stations meeting preset conditions of normally using network resources as preset base stations. Further, the mobile phone arranges the preset base stations in a descending order according to the detected abundance of the network resources of the preset base stations, namely the network speed when the mobile phone is connected with the preset base stations. And when the avoidance function is triggered at the later stage, the preset base stations with the front sequence are preferentially connected.
Further, the first preset flag information includes a current second base station and a first time period, and the step of generating the first preset flag information includes:
s801: recording the starting time and the ending time meeting the trigger marking function;
s802: obtaining the first time period according to the starting time and the ending time;
s803: and generating the first preset mark information according to the second base station and the first time period.
In this embodiment, the mobile phone obtains the second base station currently in network connection with the mobile phone through an internal connection tool. And after judging that the current network resource information meets the condition of triggering the marking function, the mobile phone starts to record the triggering starting time. Meanwhile, the network resource information of the mobile phone is still in a monitoring state, namely the network resource information of the mobile phone is continuously acquired and judged. And when the network resource information does not meet the condition of triggering the marking function any more, the mobile phone records the current moment as the ending moment. The start time and the end time are integrated to obtain a first time period, for example, if the start time is 9 points and the end time is 10 points, the first time period is 9-10 points. And the mobile phone generates first preset mark information according to the second base station and the first time period.
Further, in this embodiment, the mobile phone may further obtain the current specific date through a tool such as a self-contained calendar, and sum the current specific date with the start time and the end time to generate the second time, thereby further increasing the accuracy of triggering the avoidance function. Wherein the second time with the specific date may be expressed as: monday, 9-10 points.
Further, after the step of connecting the preset base station corresponding to the first base station, the method includes:
s11: acquiring a current second moment in real time;
s12: judging whether the second time is consistent with the end time corresponding to the first base station or not;
s13: and if the time is consistent with the ending time, connecting the first base station.
In this embodiment, after the mobile phone is connected to the preset base station, the current time is monitored, and the second time is obtained in real time. And meanwhile, calling preset marking information corresponding to the first base station, so as to obtain the end time of the trigger marking function corresponding to the first base station, namely, after the end time is exceeded, the network resources of the first base station are recovered to be normal. And the mobile phone compares the second time with the end time corresponding to the first base station, if the second time is consistent with the end time, the network resource of the first base station starts to recover to be normal, and the mobile phone is connected with the first base station again. Since the first base station is the optimal base station, the connection with the first base station can ensure good network speed.
Further, the step of matching the network information with the tag information base and judging whether the network information meets the condition for triggering the avoidance function according to a first preset rule includes:
s201: searching and obtaining second preset mark information corresponding to the first base station from the mark information base according to the first base station, wherein the second preset mark information comprises a second time period;
s202: judging whether the first time is included in the second time period;
s203: if the network information is contained in the second time period, judging that the network information meets the condition of triggering the avoidance function;
s204: and if the network information is not included in the second time period, judging that the network information does not meet the condition for triggering the avoidance function.
In this embodiment, when the mobile phone compares the network information with the tag information base, the mobile phone first performs screening according to the first base station and the tag information base in the network information, and searches for second preset tag information corresponding to the first base station from the tag information base. The second preset mark information includes the third base station and the second time period, and the representation form is as described above. For example, the first base station is a number 1 base station, and the corresponding second preset flag information obtained by matching with the flag information base is: base station No. 1, points 9-10. And comparing the first time in the network information after the second time period corresponding to the first base station is obtained. Wherein the first time is a specific time. If the first time is included in the second time period, for example, the first time is 9 points, the second time period is 9-10 points, and obviously the 9 points are between 9-10 points, the mobile phone determines that the network information obtained by current monitoring meets the condition of triggering the avoidance function. And if the first time is not included in the second time period, for example, the first time is 8 points, the second time period is 9-10 points, and obviously the 8 points are not between 9-10 points, the mobile phone determines that the currently monitored network information does not meet the condition for triggering the avoidance function.
Further, the step of connecting the preset base station corresponding to the first base station, after the step of currently having at least one running application, includes:
s14: acquiring the current network speed;
s15: judging whether the network speed meets the internet surfing requirement of each running application;
s16: and if the internet surfing requirements of the running applications are not met, setting each running application into a flow-saving mode.
In this embodiment, the mobile phone currently has at least one running application. After the mobile phone triggers the avoidance function and is connected with the preset base station corresponding to the first base station, the network speed of the current mobile phone connected with the preset base station can be obtained through an internal network speed detection tool. The preset network speed required by normal internet surfing when each application runs is pre-recorded in the mobile phone. Therefore, the mobile phone can call the preset network speed required by the current running application or running applications to surf the internet normally, and compare the preset network speed with the current network speed, so as to judge whether the current network speed meets the internet surfing requirements of each running application. If the current network speed is higher than the preset network speed, the current network speed meets the internet surfing requirement of each running application, and the mobile phone does not need to implement other actions. If the current network speed is lower than the preset network speed, the current network speed is not capable of meeting the internet surfing requirements of each running application. The mobile phone automatically sets the operation mode of each running application to a traffic-saving mode, for example, turning off image display, and reducing the image definition, so as to reduce the requirement of each running application on the network speed, and enable each running application to realize the basic internet access requirement at a lower network speed.
Further, the mobile terminal is provided with a first mobile phone card and a second mobile phone card, the first mobile phone card is a current internet-enabled mobile phone card of the mobile terminal, the mobile terminal currently has at least one running application, and after the step of connecting the preset base station corresponding to the first base station, the method includes:
s17: acquiring the current network speed;
s18: judging whether the network speed meets the internet surfing requirement of each running application;
s19: if the internet surfing requirement of the running application is not met, whether operators corresponding to the first mobile phone card and the second mobile phone card are the same or not is judged;
s20: and if not, setting the second mobile phone card as an internet mobile phone card.
In this implementation, the mobile phone is dual-card dual-standby, and is respectively set as a first mobile phone card and a second mobile phone card. The mobile phone sets the first mobile phone card as an internet mobile phone card at present, and is connected with the base station corresponding to the first mobile phone card to realize network transmission. After the mobile phone triggers the avoidance function, the mobile phone is connected with a preset base station corresponding to the first base station, and the network speed after connection is monitored. If the network speed cannot meet the internet access requirements of each current running application of the mobile phone, the mobile phone needs to compare operators corresponding to the first mobile phone card and the second mobile phone card respectively. The information of the operators corresponding to the first and second mobile phone cards can be directly read and obtained from the mobile phone card by the mobile phone. If the operators corresponding to the first and second mobile phone cards are the same, the mobile phone does not need to switch the mobile phone card. Since the base stations used by the same operator are the same, there is no way to change base stations even if the handset card is changed. If the operators corresponding to the first mobile phone card and the second mobile phone card are different, the mobile phone automatically sets the second mobile phone card as an internet access mobile phone card, and the second mobile phone card is connected with the base station corresponding to the second mobile phone card, so that network transmission is realized, and the embarrassment that the current network speed cannot meet the internet access requirements of various running applications is changed.
The method for automatically avoiding the shortage of the network resources provided by the embodiment can acquire the current network information in real time, and automatically connect the preset base station after the network information triggers the avoiding function, so that the shortage of the network resources of the first base station is avoided, the smoothness of a mobile phone network is ensured, and the user experience is improved.
Referring to fig. 3, an embodiment of the present application further provides a mobile terminal, where the mobile terminal may be a server, and an internal structure of the mobile terminal may be as shown in fig. 3. The mobile terminal includes a processor, a memory, a network interface, and a database connected by a system bus. Wherein the processor of the mobile terminal is designed to provide computing and control capabilities. The memory of the mobile terminal comprises a nonvolatile storage medium and an internal memory. The non-volatile storage medium stores an operating system, a computer program, and a database. The internal memory provides an environment for the operation of an operating system and computer programs in the non-volatile storage medium. The database of the mobile terminal is used for storing data such as a mark information base and the like. The network interface of the mobile terminal is used for connecting and communicating with an external terminal through a network. The computer program is executed by a processor to implement a method of automatically circumventing network resource shortages.
The processor executes the steps of the method for automatically avoiding the network resource deficiency:
acquiring current network information in real time, wherein the network information comprises the first base station and a first moment;
matching the network information with a mark information base, and judging whether the network information meets the condition of triggering an avoidance function according to a first preset rule;
and if the condition of triggering the avoidance function is met, connecting a preset base station corresponding to the first base station.
Those skilled in the art will appreciate that the structure shown in fig. 3 is only a block diagram of a part of the structure related to the present application, and does not constitute a limitation of the mobile terminal to which the present application is applied.
An embodiment of the present application further provides a computer-readable storage medium, on which a computer program is stored, where the computer program, when executed by a processor, implements a method for automatically avoiding network resource deficiency, and specifically:
acquiring current network information in real time, wherein the network information comprises the first base station and a first moment;
matching the network information with a mark information base, and judging whether the network information meets the condition of triggering an avoidance function according to a first preset rule;
and if the condition of triggering the avoidance function is met, connecting a preset base station corresponding to the first base station.
It will be understood by those skilled in the art that all or part of the processes of the methods of the above embodiments may be implemented by hardware associated with instructions of a computer program, which may be stored on a non-volatile computer-readable storage medium, and when executed, may include processes of the above embodiments of the methods. Any reference to memory, storage, database, or other medium provided herein and used in the examples may include non-volatile and/or volatile memory. Non-volatile memory can include read-only memory (ROM), Programmable ROM (PROM), Electrically Programmable ROM (EPROM), Electrically Erasable Programmable ROM (EEPROM), or flash memory. Volatile memory can include Random Access Memory (RAM) or external cache memory. By way of illustration and not limitation, RAM is available in a variety of forms such as Static RAM (SRAM), Dynamic RAM (DRAM), Synchronous DRAM (SDRAM), double-rate SDRAM (SSRSDRAM), Enhanced SDRAM (ESDRAM), synchronous link (Synchlink) DRAM (SLDRAM), Rambus Direct RAM (RDRAM), direct bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM).
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, apparatus, article, or method that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, apparatus, article, or method. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, apparatus, article, or method that includes the element.
The above description is only for the preferred embodiment of the present application and not intended to limit the scope of the present application, and all modifications of equivalent structures and equivalent processes, which are made by the contents of the specification and the drawings of the present application, or which are directly or indirectly applied to other related technical fields, are intended to be included within the scope of the present application.

Claims (9)

1. A method for automatically avoiding network resource deficiency is characterized in that a mobile terminal is currently connected with a first base station, and comprises the following steps:
acquiring current network information in real time, wherein the network information comprises the first base station and a first moment;
matching the network information with a mark information base, and judging whether the network information meets the condition of triggering an avoidance function according to a first preset rule, wherein the mark information base records base station information and time period information corresponding to the base station information and having insufficient network resources, and the mark information base comprises at least one group of first preset mark information;
if the condition of triggering the avoidance function is met, connecting a preset base station corresponding to the first base station;
the step of matching the network information with a tag information base and judging whether the network information meets the condition of triggering the avoidance function according to a first preset rule comprises the following steps:
searching and obtaining second preset mark information corresponding to the first base station from the mark information base according to the first base station, wherein the second preset mark information comprises a second time period;
judging whether the first time is included in the second time period;
if the network information is contained in the second time period, judging that the network information meets the condition of triggering the avoidance function;
and if the network information is not included in the second time period, judging that the network information does not meet the condition for triggering the avoidance function.
2. The method for automatically avoiding the network resource shortage according to claim 1, wherein the step of acquiring the current network information in real time is preceded by:
monitoring network resource information of a second base station which is connected currently;
judging whether the network resource information meets the condition of triggering a marking function or not according to a second preset rule;
if the condition of triggering the marking function is met, updating the current triggering times corresponding to the second base station;
judging whether the updated current trigger times are not less than the preset trigger times;
and if the number of times of triggering is not less than the preset number of times of triggering, generating the first preset mark information.
3. The method for automatically avoiding the network resource deficiency as claimed in claim 2, wherein the step of generating the first preset mark information is followed by:
if the condition of triggering the marking function is met, at least one base station meeting the preset condition of normally using the network resources within the preset range of the second base station is obtained;
and setting the base station which meets the requirement of normally using the network resource as the preset base station.
4. The method for automatically avoiding the network resource deficiency as claimed in claim 2, wherein the first preset mark information includes a current second base station and a first time period, and the step of generating the first preset mark information includes:
recording the starting time and the ending time meeting the trigger marking function;
obtaining the first time period according to the starting time and the ending time;
and generating the first preset mark information according to the second base station and the first time period.
5. The method for automatically avoiding the network resource shortage according to claim 4, wherein after the step of connecting the preset base station corresponding to the first base station, the method comprises:
acquiring a current second moment in real time;
judging whether the second time is consistent with the end time corresponding to the first base station or not;
and if the time is consistent with the ending time, connecting the first base station.
6. The method for automatically avoiding the network resource deficiency as claimed in claim 1, wherein the mobile terminal currently has at least one running application, and after the step of connecting to the preset base station corresponding to the first base station, the method comprises:
acquiring the current network speed;
judging whether the network speed meets the internet surfing requirement of each running application;
and if the internet surfing requirements of the running applications are not met, setting each running application into a flow-saving mode.
7. The method for automatically avoiding network resource deficiency as claimed in claim 1, wherein the mobile terminal is provided with a first mobile phone card and a second mobile phone card, the first mobile phone card is a current internet-enabled mobile phone card of the mobile terminal, the mobile terminal currently has at least one running application, and after the step of connecting to a preset base station corresponding to the first base station, the method comprises:
acquiring the current network speed;
judging whether the network speed meets the internet surfing requirement of each running application;
if the internet surfing requirement of the running application is not met, whether operators corresponding to the first mobile phone card and the second mobile phone card are the same or not is judged;
and if not, setting the second mobile phone card as an internet mobile phone card.
8. A mobile terminal comprising a memory and a processor, the memory having stored therein a computer program, characterized in that the processor, when executing the computer program, implements the steps of the method according to any of claims 1 to 7.
9. A computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, carries out the steps of the method of any one of claims 1 to 7.
CN201811089353.8A 2018-09-18 2018-09-18 Method, mobile terminal and storage medium for automatically avoiding network resource deficiency Active CN108990097B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811089353.8A CN108990097B (en) 2018-09-18 2018-09-18 Method, mobile terminal and storage medium for automatically avoiding network resource deficiency

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811089353.8A CN108990097B (en) 2018-09-18 2018-09-18 Method, mobile terminal and storage medium for automatically avoiding network resource deficiency

Publications (2)

Publication Number Publication Date
CN108990097A CN108990097A (en) 2018-12-11
CN108990097B true CN108990097B (en) 2021-08-31

Family

ID=64545556

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811089353.8A Active CN108990097B (en) 2018-09-18 2018-09-18 Method, mobile terminal and storage medium for automatically avoiding network resource deficiency

Country Status (1)

Country Link
CN (1) CN108990097B (en)

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6747965B1 (en) * 1999-10-29 2004-06-08 Fujitsu Limited CDMA mobile communication system
CN1759625A (en) * 2003-04-03 2006-04-12 Ut斯达康(中国)有限公司 Be used to realize the method and apparatus of PHS base station automatic traffic equilibrium function
CN101141750A (en) * 2007-10-12 2008-03-12 中兴通讯股份有限公司 Network self-adaptive adapting method of multi-mode mobile phone
WO2010107574A2 (en) * 2009-03-19 2010-09-23 Intel Corporation Method and apparatus for low-power ap-assisted fast wireless roaming using optimized neighbor graphs
CN101946543A (en) * 2008-02-21 2011-01-12 日本电信电话株式会社 Access point scan method, access point scan apparatus, and storage medium storing access point scan program
CN102595497A (en) * 2012-03-22 2012-07-18 中兴通讯股份有限公司 System and method of code division multiple access (CDMA) data business for easing processor overload automatically
CN105491632A (en) * 2016-01-15 2016-04-13 北京小米移动软件有限公司 Wireless access point switching method and wireless access point switching device
CN105517075A (en) * 2016-01-06 2016-04-20 广东欧珀移动通信有限公司 Resident cell adjustment method and user equipment
CN106102099A (en) * 2016-06-08 2016-11-09 华南理工大学 A kind of isomery car networking changing method based on residence time

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6747965B1 (en) * 1999-10-29 2004-06-08 Fujitsu Limited CDMA mobile communication system
CN1759625A (en) * 2003-04-03 2006-04-12 Ut斯达康(中国)有限公司 Be used to realize the method and apparatus of PHS base station automatic traffic equilibrium function
CN101141750A (en) * 2007-10-12 2008-03-12 中兴通讯股份有限公司 Network self-adaptive adapting method of multi-mode mobile phone
CN101946543A (en) * 2008-02-21 2011-01-12 日本电信电话株式会社 Access point scan method, access point scan apparatus, and storage medium storing access point scan program
WO2010107574A2 (en) * 2009-03-19 2010-09-23 Intel Corporation Method and apparatus for low-power ap-assisted fast wireless roaming using optimized neighbor graphs
CN102595497A (en) * 2012-03-22 2012-07-18 中兴通讯股份有限公司 System and method of code division multiple access (CDMA) data business for easing processor overload automatically
CN105517075A (en) * 2016-01-06 2016-04-20 广东欧珀移动通信有限公司 Resident cell adjustment method and user equipment
CN105491632A (en) * 2016-01-15 2016-04-13 北京小米移动软件有限公司 Wireless access point switching method and wireless access point switching device
CN106102099A (en) * 2016-06-08 2016-11-09 华南理工大学 A kind of isomery car networking changing method based on residence time

Also Published As

Publication number Publication date
CN108990097A (en) 2018-12-11

Similar Documents

Publication Publication Date Title
CN111869303B (en) Resource scheduling method, device, communication equipment and storage medium
CN111787521B (en) Terminal application permission obtaining method, terminal equipment and USIM
CN110505390B (en) Television, camera calling method thereof, control device and readable storage medium
CN104181567B (en) Terminal device positioning method, terminal device and terminal device positioning system
CN104135556A (en) Call method and call device based on mobile terminal
CN105786394A (en) Automatic dialing method and automatic dialing device
CN108881781A (en) The determination method and device of video call process intermediate-resolution
CN107197074B (en) Address book management method and device, storage medium and electronic equipment
CN111325880A (en) Bluetooth-based positioning door opening method and device, intelligent terminal and storage medium
CN108990097B (en) Method, mobile terminal and storage medium for automatically avoiding network resource deficiency
CN114500730A (en) Popup window function control method, device and computer readable storage medium
CN114743239A (en) Control method, device and system of intelligent equipment and electronic equipment
CN113329465A (en) Network-resident control method, device, equipment and computer storage medium
CN110913063A (en) Method for automatically switching mobile phone card through AI learning, mobile terminal and storage medium
CN110785987B (en) Information processing method, device, mobile terminal and computer readable storage medium
CN110661810A (en) Wireless WI-FI equipment management method, terminal and computer readable storage medium
CN113992784B (en) Audio and video call method, device, computer equipment and storage medium
CN108632957B (en) Network connection method, equipment and storage medium based on voice control
CN108307480B (en) Method and device for acquiring user equipment behavior information of micro base station and micro base station
CN115349283B (en) Configuration information sending method and device, and configuration determining method and device
EP2843911A1 (en) Wireless communication terminal, and communication method
CN105872124B (en) Contact person synchronization device and method
CN106506624B (en) Data transmission method and device
CN107181850B (en) Number marking method and device
CN113259927A (en) Terminal capability updating method, device and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
TA01 Transfer of patent application right
TA01 Transfer of patent application right

Effective date of registration: 20210621

Address after: 518000 Building 405A, 01B, Zone E, Zhiheng Industrial Park, Nantou Street, Nanshan District, Shenzhen City, Guangdong Province

Applicant after: SHENZHEN ZHIYING TECHNOLOGY Co.,Ltd.

Address before: 518000 1-10 Floor, Building A2, Nanshan Zhiyuan, 1001 Xueyuan Avenue, Nanshan District, Shenzhen City, Guangdong Province

Applicant before: QIKU INTERNET TECHNOLOGY (SHENZHEN) Co.,Ltd.

GR01 Patent grant
GR01 Patent grant