CN114125942A - Network resource management method, device, terminal and storage medium - Google Patents

Network resource management method, device, terminal and storage medium Download PDF

Info

Publication number
CN114125942A
CN114125942A CN202010863842.5A CN202010863842A CN114125942A CN 114125942 A CN114125942 A CN 114125942A CN 202010863842 A CN202010863842 A CN 202010863842A CN 114125942 A CN114125942 A CN 114125942A
Authority
CN
China
Prior art keywords
mode
sim card
network
application
terminal
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.)
Granted
Application number
CN202010863842.5A
Other languages
Chinese (zh)
Other versions
CN114125942B (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.)
Oneplus Technology Shenzhen Co Ltd
Original Assignee
Oneplus Technology Shenzhen 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 Oneplus Technology Shenzhen Co Ltd filed Critical Oneplus Technology Shenzhen Co Ltd
Priority to CN202010863842.5A priority Critical patent/CN114125942B/en
Publication of CN114125942A publication Critical patent/CN114125942A/en
Application granted granted Critical
Publication of CN114125942B publication Critical patent/CN114125942B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W28/00Network traffic management; Network resource management
    • H04W28/02Traffic management, e.g. flow control or congestion control
    • H04W28/10Flow control between communication endpoints
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Telephone Function (AREA)

Abstract

The present application relates to the field of terminal technologies, and in particular, to a method and an apparatus for managing network resources, a terminal, and a storage medium. The network resource management method, the network resource management device, the network resource management terminal and the network resource management storage medium can adjust the network residence mode of the second SIM card from a first mode to a second mode; because the transmission rate of the data traffic in the first mode is higher than that in the second mode, compared with the first mode, the information interaction between the second SIM card in which the network-resident mode is the second mode and the base station is less; in addition, the second SIM card may also be prohibited from executing the designated service, so that the designated service is prohibited from using the data traffic through the second SIM card, and interaction between the second SIM card and the base station is further reduced. Therefore, the method and the device can reduce the occupation of the second SIM card on the radio frequency resources by reducing the interaction between the second SIM and the base station, thereby effectively solving the delay and pause phenomena when a user uses a specified application.

Description

Network resource management method, device, terminal and storage medium
Technical Field
The present application relates to the field of communications technologies, and in particular, to a method, an apparatus, a terminal, and a storage medium for managing network resources.
Background
A Dual SIM Dual Standby (DSDS) device refers to a mobile phone capable of simultaneously inserting two SIM (subscriber Identity module) cards and simultaneously performing Standby. The dual-card dual-standby machine comprises a dual-card dual-standby single-pass (SR-DSDS) machine and a dual-card dual-standby dual-pass (DR-DSDS) machine; the DR-DSDS machine is a mobile phone with two SIM cards capable of being in standby state and communicating simultaneously, and the SR-DSDS machine is capable of being in standby state and incapable of communicating simultaneously.
In the prior art, an SR-DSDS machine only has one set of radio frequency resources, and the radio frequency resources cannot be used by two SIM cards (i.e., a first SIM card and a second SIM card) at the same time. Therefore, when the first SIM card starts data traffic to perform data services, and when the second SIM card needs to perform information interaction with the base station, the second SIM card can preempt the radio frequency resource of the first SIM card, so that when the SR-DSDS machine uses the first SIM card to perform some services (such as network games) that have higher requirements on the network, problems such as delay of the data services of the first SIM card and the like occur due to the fact that the second SIM card can preempt the radio frequency resource of the first SIM card, which affects user experience.
Disclosure of Invention
In order to solve the problem of data service delay of a first SIM card caused by a second SIM card preempting a radio frequency resource of the first SIM card in a dual-card dual-standby mobile phone, embodiments of the present application provide a method, an apparatus, a terminal, and a storage medium for managing network resources, which can reduce occupation of the radio frequency resource by the second SIM card by adjusting a network camping mode of the second SIM card or prohibiting the second SIM card from executing a designated service.
In order to solve the above technical problem, an embodiment of the present application provides the following technical solutions:
in a first aspect, an embodiment of the present application provides a method for managing network resources, which is applied to a terminal, where the terminal supports a dual-card dual-standby single-pass network-resident mode, and is at least provided with a first SIM card and a second SIM card;
the method comprises the following steps:
monitoring foreground application of the terminal, wherein the foreground application uses data traffic through the first SIM card;
if the foreground application belongs to the designated application and the operators of the first SIM card and the second SIM card meet the preset conditions, then
Forbidding the second SIM card to execute the specified service, and/or adjusting the network residing mode of the second SIM card from the first mode to the second mode if the network residing mode of the second SIM card is the first mode; wherein,
the transmission rate of the data traffic in the first mode is higher than the transmission rate of the data traffic in the second mode.
Optionally, after monitoring the foreground application of the terminal, the method further includes:
if the foreground application is changed, acquiring the identity identification information of the foreground application;
and if the identity identification information belongs to a preset list, determining the foreground application as a specified application.
Optionally, the identification information includes a package name of the foreground application.
Optionally, the method further includes:
if the foreground application does not belong to the designated application, if the network residing mode of the second SIM card is the second mode, the network residing mode of the second SIM card is adjusted from the second mode to the first mode.
Optionally, the preset condition is:
a first operator of the first SIM card and a second operator of the second SIM card do not simultaneously include a designated operator;
the appointed operator is an operator which requires the first SIM card and the second SIM card to simultaneously start the appointed service.
Optionally, the first mode is a 4G mode, and the second mode is a 2G mode or a 3G mode;
the network-resident mode of the first SIM card is a 4G mode or a 5G mode.
Optionally, the specific application at least includes an online game, and the specific service at least includes a long term evolution voice bearer.
In a second aspect, an embodiment of the present application provides an apparatus for managing access to a network resource, where the apparatus includes:
the monitoring module is used for monitoring foreground application of the terminal, and the foreground application uses data traffic through the first SIM card;
the prohibition module is used for prohibiting the second SIM card from executing a specified service if the foreground application belongs to the specified application and the operators of the first SIM card and the second SIM card meet a preset condition; and/or the presence of a gas in the gas,
the adjusting module is used for adjusting the network residing mode of the second SIM card from a first mode to a second mode if the foreground application belongs to the designated application and the operators of the first SIM card and the second SIM card meet the preset conditions and if the network residing mode of the second SIM card is the first mode; wherein,
the transmission rate of the data traffic in the first mode is higher than the transmission rate of the data traffic in the second mode.
In a third aspect, an embodiment of the present application provides a terminal, where the terminal includes:
at least one processor; and
a memory communicatively coupled to the at least one processor; wherein,
the memory stores instructions executable by the at least one processor, and the instructions are executed by the at least one processor to enable the at least one processor to perform the method for managing network resources provided by the first aspect of the present application.
In a fourth aspect, embodiments of the present application provide a non-transitory computer-readable storage medium, where computer-executable instructions are stored, and when the computer-executable instructions are executed, the method for managing network resources provided in the first aspect of the present application can be performed.
In a sixth aspect, the present application further provides a computer program product, the computer program product comprising a computer program stored on a non-volatile computer-readable storage medium, the computer program comprising program instructions that, when executed by a machine, cause the machine to perform the method for managing network resources provided in the first aspect of the present application.
The beneficial effects of the embodiment of the application are that: different from the situation of the prior art, the embodiment of the application provides a method, a device, a terminal and a storage medium for managing network resources, which can monitor foreground application of the terminal, and adjust a network residing mode of a second SIM card from a first mode to a second mode if the foreground application belongs to a specified application and operators of a first SIM card and the second SIM card meet preset conditions; because the transmission rate of the data traffic in the first mode is higher than that in the second mode, compared with the first mode, the information interaction between the second SIM card in which the network-resident mode is the second mode and the base station is less; in addition, the second SIM card may also be prohibited from executing the designated service, so that the designated service is prohibited from using the data traffic through the second SIM card, and information interaction between the second SIM card and the base station is further reduced. Therefore, the occupation of the second SIM card on radio frequency resources can be reduced by reducing the information interaction between the second SIM and the base station, so that the delay and the pause phenomenon when a user uses a designated application are effectively solved, and the user experience is improved.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings required to be used in the embodiments of the present application will be briefly described below. It is obvious that the drawings described below are only some embodiments of the application, and that for a person skilled in the art, other drawings can be derived from them without inventive effort.
Fig. 1 is a schematic hardware structure diagram of a terminal according to an embodiment of the present application;
fig. 2 is a flowchart illustrating a method for managing network resources according to an embodiment of the present application;
fig. 3 is a flowchart illustrating a method for managing network resources according to another embodiment of the present application;
fig. 4 is a schematic structural diagram of a management apparatus for network resources according to an embodiment of the present application;
fig. 5 is a schematic structural diagram of a management apparatus for network resources according to another embodiment of the present application.
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.
It should be noted that, if not conflicted, the individual features of the embodiments of the present application can be combined with one another within the scope of protection of the present application. Additionally, while functional block divisions are performed in the device diagrams, with logical sequences shown in the flowcharts, in some cases, the steps shown or described may be performed in a different order than the block divisions in the device diagrams, or the flowcharts.
Unless defined otherwise, all technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this application belongs. The terminology used in the description of the present application is for the purpose of describing particular embodiments only and is not intended to be limiting of the present application. As used herein, the term "and/or" includes any and all combinations of one or more of the associated listed items.
The dual-card dual-standby single-pass (SR-DSDS) means that the terminal can support two SIM cards, and support the numbers corresponding to the two SIM cards to be "standby" at the same time but cannot be "talking" at the same time. When the SIM card is in standby, the number corresponding to any SIM card can be called; however, if one of the numbers is in a conversation, the other number cannot make a call and cannot receive a call, so that the call cannot be made.
Fig. 1 schematically shows a hardware structure of the terminal, and as shown in fig. 1, the terminal 100 includes a processor 110, a memory 120, a display device 130, and a radio frequency module 140, wherein the processor 110 is connected to the memory 120, the display device 130, and the radio frequency module 140, respectively. Those skilled in the art will appreciate that the configuration shown in fig. 1 is not intended to be limiting of the terminal, which may include more or fewer components than those shown, or some components may be combined, some components may be split, or a different arrangement of components may be used.
The display device 130 provides an output interface between the mobile terminal and the user, and the content of the screen output may be text, images or video. The display device 130 in this embodiment may be a touch screen, and the touch screen receives an input operation of a user, for example, a gesture operation such as a click and a slide of the user, in addition to displaying an output interface to the user. The technique of detecting user input may be based on resistive, capacitive, or any other possible touch detection technique. Touch screens include, but are not limited to, liquid crystal displays or light emitting polymer displays.
The rf module 140 is used for receiving and transmitting electromagnetic waves, and implementing interconversion between the electromagnetic waves and electrical signals, so as to communicate with a communication network or other devices. Specifically, the rf module 140 is configured to receive downlink information of a base station and send the downlink information to the processor 110 for processing, and send uplink data to the base station. The rf Module 140 may include various existing circuit elements for performing communication functions, such as an antenna, an rf transceiver, a digital signal processor, an encryption/decryption chip, a Subscriber Identity Module (SIM) card, and so on. The rf module 140 may communicate with various networks such as the internet, a wireless network, or an intranet, or with other devices via a wireless network.
The wireless network may use any communication standard or protocol, such as Global System For Mobile Communications (GSM), General Packet Radio Service (GPRS), Long Term Evolution (LTE), Wideband Code Division Multiple Access (WCDMA), Code Division Multiple Access (CDMA), and New Radio (NR).
The SIM card is also called a subscriber identity module, a smart card or a data card, and the terminal needs the SIM card for wireless communication. In the embodiment of the application, the terminal is provided with two SIM cards, namely a first SIM card and a second SIM card. The first SIM card and the second SIM card can both be connected to a wireless network, i.e. can perform network residence. In the embodiment of the present disclosure, for convenience of description, the new wireless camping network mode is referred to as a 5G mode, the long term evolution camping network mode is referred to as a 4G mode, the wideband code division multiple access or code division multiple access camping network mode is referred to as a 3G mode, and the global system for mobile communications camping network mode is referred to as a 2G mode.
Because the terminal supporting SR-DSDS only has one set of radio frequency resources, the terminal can only have one SIM card to receive signals from a wireless network in the same time period. In this embodiment, the first SIM card refers to a SIM card that attempts to connect to the mobile data network currently in the terminal, and the second SIM card refers to a SIM card that does not perform connection to the mobile data network currently in the terminal.
In some embodiments, the network-residing modes of the first SIM card and the second SIM card may be in various combinations, for example, the network-residing modes of the first SIM card and the second SIM card may both be a 4G mode; or the network residing mode of the first SIM card is a 5G mode, and the network residing mode of the second SIM card is a 4G mode. The network residing mode of the first SIM card and the network residing mode of the second SIM card may be in other forms, in this embodiment of the application, the network residing mode of the first SIM card and the network residing mode of the second SIM card are not limited to the above combination form, for example, the network residing mode of the first SIM card may be a 4G mode, and the network residing mode of the second SIM card may be a 2G or 3G mode; alternatively, the network-resident mode of the first SIM card may be a 2G or 3G mode, and the network-resident mode of the second SIM card may be a 4G or 5G mode.
Generally, the second SIM card needs to communicate with the base station periodically, for example, when the network-resident mode of the second SIM card is 4G mode, the second SIM card must perform tracking area update or location area update periodically. The LTE network coverage area is divided into a plurality of tracking areas, and when a terminal moves from one tracking area to another tracking area, location registration must be performed again on the new tracking area to inform the wireless network to change its stored location information of the terminal, which is called Tracking Area Update (TAU). When the first SIM card and the second SIM card support a Voice over Long Term Evolution (Voice over Long Term Evolution, Voice) service, the mobile terminal further needs to perform a re-registration to an IP Multimedia Subsystem (IMS) network at a fixed time.
The dual-card dual-standby single-pass terminal generally only has one set of radio frequency resources (i.e., a radio frequency module), and when a first SIM card of the terminal starts data traffic to perform a data service and a second SIM card needs to perform the above-mentioned TAU or perform network re-registration to the IMS, the terminal allocates the radio frequency resources to the second SIM card for use, so that the phenomenon that the second SIM card occupies the radio frequency resources of the first SIM card may occur. Especially, when the terminal uses the first SIM card to perform some specific data services (e.g., online games) with high requirements on the quality of the wireless network, the data service throughput or delay of the first SIM card may be affected by the second SIM card preempting the radio frequency resource.
Therefore, the management method for network resources provided by the embodiment of the application can reduce the occupation of radio frequency resources by the second SIM card by changing the network residing mode of the second SIM card and/or prohibiting the designated service of the second SIM card when the first SIM card runs the designated application. To facilitate the reader's understanding of the present application, reference is made to the following examples in connection with which the present application is illustrated.
Referring to fig. 2, fig. 2 schematically shows a flow of a network resource management method applied to a terminal, for example, the terminal in fig. 1; as shown in fig. 2, the method comprises the steps of:
s11, monitoring foreground application of the terminal;
in this embodiment, after the terminal detects that the application program is started, it is determined whether the application program is foreground application. In one embodiment, the processor may monitor a click operation on a terminal screen, and when it is detected that an icon in the terminal screen is clicked, start an application corresponding to the icon. In this embodiment, when the foreground application interacts with the user, the foreground application is sensitive to data interaction efficiency and timeliness of data interaction, and the background application has relatively low requirements on the data interaction efficiency and the interaction real-time effectiveness, so that it is determined whether the started application is in a foreground operating state at first.
When an application is started, if the application needs to use a network (such as an LTE network), the application calls an LTE function through a system interface during the starting process, and the incoming parameters of the application include a process ID (i.e., Uid) of the application. In this embodiment, the specific implementation process of determining whether the application program is a foreground application may adopt the following manner:
the method comprises the steps of obtaining a process ID of a started application program, transmitting parameters containing the process ID when the LTE function (or other functions) is called after the application program is started, and determining the process ID operated after the application program is started through the transmitted parameters. Specifically, a component name (top pn ═ mams. gettopname ()) of the foreground application can be obtained through a preset interface (the preset window can be a system interface written by a developer during program development), a packet name (String top pkg ═ top pn.getpagename ()) of the foreground application is obtained according to the component name, and a PMS system interface is called according to the packet name of the foreground application to determine a process ID (top ue ═ mcontext.getpagemanager (). getpagemanackagener) of the foreground application, wherein the PMS are Package Manager services.
And comparing the determined process ID of the application program with the process ID of the foreground application to determine whether the application program is the foreground application. If the comparison result is consistent, the application program is the program which is running in the foreground, and if the comparison result is inconsistent, the application program is not running in the foreground and can be in a background working state.
S12, if the foreground application belongs to a designated application and the operators of the first SIM card and the second SIM card satisfy a preset condition, prohibiting the second SIM card from executing a designated service, and/or if the network residing mode of the second SIM card is the first mode, adjusting the network residing mode of the second SIM card from the first mode to the second mode.
The designated application in the embodiment of the application is a foreground application which is sensitive to real-time interaction of data, and the designated application is sensitive to the real-time interaction of the data, so that any delay and pause phenomena can influence user experience in the interaction process of the designated application and a user. In some embodiments, the specific application may be an online game application and an online video playing application; wherein, the network game application includes but is not limited to applications of royal glory, magic field, crossing fire wire, my world, hero union and fantasy western tour; the network video playing application includes but is not limited to an arcade video, an Tencent video player, a Youkou client, a PPTV and the like.
In some embodiments, when the processor determines that the started application program is a foreground application, the processor obtains the identification information of the started application program, and if the identification information belongs to the preset list, the processor determines that the application program is a designated application. The identification information may specifically be a Name of the application or a Package Name (Package Name) of the application. Wherein, the package name is the unique identification of the application program, and one package name represents one application. For example, the package name of WeChat is com. The preset list may be a list made up of package names of the specified programs.
In some embodiments, the processor may further obtain operating states of the first SIM card and the second SIM card, and if both the first SIM card and the second SIM card are in a normal operating state, the processor identifies operators of the first SIM card and the second SIM card. If at least one SIM card is in an abnormal working state, the mobile terminal continues to monitor foreground application of the terminal. In some embodiments, the normal operating state refers to the SIM card being in a normal standby state, and the abnormal operating state refers to the SIM card being in a shutdown state.
In this embodiment, the processor may also directly identify the first operator of the first SIM card and identify the second operator of the second SIM card without acquiring the operating states of the first SIM card and the second SIM card; the operators of the first SIM card and the second SIM card comprise one or two of China Unicom, China Mobile and China telecom. In the prior art, when the operators of the first SIM card and the second SIM card are both telecommunication operators, the first SIM card and the second SIM card can stay in the network only when both the first SIM card and the second SIM card start the voltage service. Therefore, in order to ensure that the terminal can normally reside in the network, the first operator and the second operator do not simultaneously include the china telecom, and then the operators of the first SIM card and the second SIM card satisfy the preset condition.
When the foreground application belongs to the designated application and operators of the first SIM card and the second SIM card meet preset conditions, the network-residing mode of the second SIM card is adjusted from the first mode to the second mode, or the second SIM card prohibits the execution of the designated service; and the transmission rate of the data traffic in the first mode is higher than that in the second mode. The designated service in the embodiment of the application comprises a Voice, namely a high-definition voice call service, a 2G or 3G network is not needed, all services are borne on a 4G network, and the unification of data flow and voice service in the same network can be realized.
In some embodiments, the first mode is a 4G mode, and the second mode is a 2G mode or a 3G mode; and the network-residing mode of the first SIM card is a 4G mode or a 5G mode. For example, in some embodiments, the network-resident mode of the first SIM card is a 5G mode (or 4G mode), the network-resident mode of the second SIM card is a 4G mode, and the processor may adjust the network-resident mode of the second SIM card from the 4G mode to the 2G mode or the 3G mode when the application is designated to use data traffic through the first SIM card. Compared with the 2G mode and the 3G mode, the SIM card needs to interact with the base station with much information in the 4G mode. Therefore, the interaction between the second SIM card and the base station can be reduced by adjusting the network residence mode of the second SIM card, so that the occupation of the second SIM card on radio frequency resources is effectively reduced. The first mode and the second mode in the embodiment of the present application may be any suitable network residing mode, and the embodiment of the present application is not limited thereto, and those skilled in the art may set the modes according to actual needs.
Fig. 3 schematically shows a flow of a network resource management method according to another embodiment, which is applied to a terminal, where a first SIM card and a second SIM card installed in the terminal are networked in LTE, and both the first SIM card and the second SIM card support volt, as shown in fig. 3, the network resource management method includes the following steps:
s31, the terminal continuously monitors foreground application of the terminal, determines whether the foreground application changes, if the foreground application changes, the step S32 is carried out, and if the foreground application does not change, the foreground application continues to be monitored;
s32, determining whether the packet name of the foreground application is in a preset list, wherein the preset list is the packet name corresponding to the application of LTE and/or Voltage needing to close the second SIM card, if the packet name of the current application is contained in the preset list, entering S33, and if not, entering S31;
s33, checking the states of the first SIM card and the second SIM card, if the first SIM card and the second SIM card work normally, entering S34, otherwise, entering S31;
s34, determining operators of the first SIM card and the second SIM card, if the operators of the first SIM card and the second SIM card are both China telecom, entering S31, and if not, entering S35;
s35, closing the LTE and the Voltage of the second SIM card, and entering the step S36;
s36, if the package name of the foreground application does not belong to the preset list, starting the LTE and the Voltage of the second SIM card, and entering the step S31.
Accordingly, an embodiment of the present application further provides a management apparatus for network resources, which is applied to a terminal, for example, the terminal in fig. 1, and as shown in fig. 4, the management apparatus 400 for network resources includes:
a monitoring module 401, configured to monitor a foreground application of the terminal, where the foreground application uses data traffic through the first SIM card;
a prohibition module 402, configured to prohibit the second SIM card from executing a specified service if the foreground application belongs to a specified application and the operators of the first SIM card and the second SIM card meet a preset condition; and/or the presence of a gas in the gas,
an adjusting module 403, configured to adjust, if the foreground application belongs to a specified application and operators of the first SIM card and the second SIM card meet a preset condition, a network camping mode of the second SIM card from a first mode to a second mode if the network camping mode of the second SIM card is the first mode; wherein,
the transmission rate of the data traffic in the first mode is higher than the transmission rate of the data traffic in the second mode.
Referring to fig. 5, in some embodiments, the apparatus 400 for managing network resources further includes:
an obtaining module 404, configured to obtain, if the foreground application changes, identity information of the foreground application;
a determining module 405, configured to determine that the foreground application is an appointed application if the identity information belongs to a preset list.
In some embodiments, the identification information includes a package name of the foreground application.
In some embodiments, the management apparatus 400 of network resources further includes:
an adjusting module 406, configured to, if the foreground application does not belong to the designated application, adjust the network-residing mode of the second SIM card from the second mode to the first mode if the network-residing mode of the second SIM card is the second mode.
In some embodiments, the preset conditions are:
a first operator of the first SIM card and a second operator of the second SIM card do not simultaneously include a designated operator;
the appointed operator is an operator which requires the first SIM card and the second SIM card to simultaneously start the appointed service.
In some embodiments, the first mode is a 4G mode, and the second mode is a 2G mode or a 3G mode;
the network-resident mode of the first SIM card is a 4G mode or a 5G mode.
In some embodiments, the specified application includes at least network gaming and the specified traffic includes at least long term evolution voice bearer.
The network resource management method, the network resource management device, the network resource management terminal and the network resource management storage medium can adjust the network residence mode of the second SIM card from a first mode to a second mode; because the transmission rate of the data traffic in the first mode is higher than that in the second mode, compared with the first mode, the information interaction between the second SIM card in which the network-resident mode is the second mode and the base station is less; in addition, the second SIM card may also be prohibited from executing the designated service, so that the designated service is prohibited from using the data traffic through the second SIM card, and interaction between the second SIM card and the base station is further reduced. Therefore, the method and the device can reduce the occupation of the second SIM card on the radio frequency resources by reducing the interaction between the second SIM and the base station, thereby effectively solving the delay and pause phenomena when a user uses a specified application.
The number of the processors 110 in this embodiment may be one or more, and one processor 110 is taken as an example in fig. 1. The processor 110 and the memory 120 may be connected by a bus or other means, such as the bus connection shown in FIG. 1.
The memory 120 is a non-volatile computer-readable storage medium, and can be used to store non-volatile software programs, non-volatile computer-executable programs, and modules, such as program instructions/modules corresponding to the application icon search method in the embodiment of the present application. The processor 110 executes various functional applications of the server and data processing by running nonvolatile software programs, instructions and modules stored in the memory 120, that is, implements the management method of network resources of the above-described method embodiments.
The memory 120 may include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application program required for at least one function; the storage data area may store data created according to use of the search apparatus to which the icon is applied, and the like. Further, the memory 120 may include high speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other non-volatile solid state storage device. In some embodiments, the memory 120 optionally includes memory located remotely from the processor 110, and these remote memories may be connected to the routing device of the mobile robot through a network. Examples of such networks include, but are not limited to, the internet, intranets, local area networks, mobile communication networks, and combinations thereof.
The one or more modules stored in the memory 120, when executed by the at least one processor 110, perform the method of managing network resources in any of the method embodiments described above, e.g., performing the method steps S11-S12 of fig. 2, the method steps S31-S36 of fig. 3 described above; the functions of the function modules 401 and 403 in fig. 4 and the function modules 401 and 406 in fig. 5 are realized.
The product can execute the method provided by the embodiment of the application, and has the corresponding functional modules and beneficial effects of the execution method. For technical details that are not described in detail in this embodiment, reference may be made to the methods provided in the embodiments of the present application.
The terminal of the embodiments of the present application exists in various forms, including but not limited to:
(1) a mobile communication device: such devices are characterized by mobile communications capabilities and are primarily targeted at providing voice, data communications. Such terminals include: smart phones, multimedia phones, functional phones, and low-end phones, etc.
(2) Ultra mobile personal computer device: the equipment belongs to the category of personal computers, has calculation and processing functions and generally has the characteristic of mobile internet access. Such terminals include: PDA, MID, and UMPC devices, etc., such as ipads.
(3) A portable entertainment device: such devices can display and play multimedia content. This type of device comprises: audio, video players (e.g., ipods), handheld game consoles, electronic books, and smart toys and portable car navigation devices.
(4) And other electronic devices with data interaction functions.
The present embodiments provide a non-transitory computer-readable storage medium storing computer-executable instructions for a terminal to perform a method for managing network resources in any of the above method embodiments, for example, performing the above-described method steps S11-S12 in fig. 2, and the method steps S31-S36 in fig. 3; the functions of the function modules 401 and 403 in fig. 4 and the function modules 401 and 406 in fig. 5 are realized.
The present embodiments provide a computer program product comprising a computer program stored on a non-transitory computer readable storage medium, the computer program comprising program instructions which, when executed by a computer, cause the computer to perform a method of managing network resources in any of the above-described method embodiments, e.g., performing method steps S11-S12 in fig. 2, method steps S31-S36 in fig. 3 described above; the functions of the function modules 401 and 403 in fig. 4 and the function modules 401 and 406 in fig. 5 are realized.
The above-described embodiments of the apparatus are merely illustrative, and the units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of the present embodiment.
Through the above description of the embodiments, those skilled in the art will clearly understand that each embodiment can be implemented by software plus a general hardware platform, and certainly can also be implemented by hardware. It will be understood by those skilled in the art that all or part of the processes of the methods of the embodiments described above can be implemented by hardware related to instructions of a computer program, which can be stored in a computer readable storage medium, and when executed, can include the processes of the embodiments of the methods described above. The storage medium may be a magnetic disk, an optical disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), or the like.
Finally, it should be noted that: the above embodiments are only used to illustrate the technical solutions of the present application, and not to limit the same; within the context of the present application, where technical features in the above embodiments or in different embodiments can also be combined, the steps can be implemented in any order and there are many other variations of the different aspects of the present application as described above, which are not provided in detail for the sake of brevity; although the present application has been described in detail with reference to the foregoing embodiments, it should be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; and the modifications or the substitutions do not make the essence of the corresponding technical solutions depart from the scope of the technical solutions of the embodiments of the present application.

Claims (10)

1. A management method of network resources is applied to a terminal, and is characterized in that the terminal supports a dual-card dual-standby single-pass network-residing mode and is at least provided with a first SIM card and a second SIM card;
the method comprises the following steps:
monitoring foreground application of the terminal, wherein the foreground application uses data traffic through the first SIM card;
if the foreground application belongs to the designated application and the operators of the first SIM card and the second SIM card meet the preset conditions, then
Forbidding the second SIM card to execute the specified service, and/or adjusting the network residing mode of the second SIM card from the first mode to the second mode if the network residing mode of the second SIM card is the first mode; wherein,
the transmission rate of the data traffic in the first mode is higher than the transmission rate of the data traffic in the second mode.
2. The method for managing network resources according to claim 1, wherein after listening to the foreground application of the terminal, the method further comprises:
if the foreground application is changed, acquiring the identity identification information of the foreground application;
and if the identity identification information belongs to a preset list, determining the foreground application as a specified application.
3. The method of claim 2, wherein the identification information comprises a package name of the foreground application.
4. The method of managing network resources of claim 2, further comprising:
if the foreground application does not belong to the designated application, if the network residing mode of the second SIM card is the second mode, the network residing mode of the second SIM card is adjusted from the second mode to the first mode.
5. A method for managing network resources according to any one of claims 1 to 4, characterized in that said preset conditions are:
a first operator of the first SIM card and a second operator of the second SIM card do not simultaneously include a designated operator;
the appointed operator is an operator which requires the first SIM card and the second SIM card to simultaneously start the appointed service.
6. The method according to claim 5, wherein the first mode is a 4G mode, and the second mode is a 2G mode or a 3G mode;
the network-resident mode of the first SIM card is a 4G mode or a 5G mode.
7. The method according to claim 5, wherein the specified application comprises at least network game, and the specified service comprises at least long term evolution voice bearer.
8. An apparatus for managing network resources, the apparatus comprising:
the monitoring module is used for monitoring foreground application of the terminal, and the foreground application uses data traffic through the first SIM card;
the prohibition module is used for prohibiting the second SIM card from executing a specified service if the foreground application belongs to the specified application and the operators of the first SIM card and the second SIM card meet a preset condition; and/or the presence of a gas in the gas,
the adjusting module is used for adjusting the network residing mode of the second SIM card from a first mode to a second mode if the foreground application belongs to the designated application and the operators of the first SIM card and the second SIM card meet the preset conditions and if the network residing mode of the second SIM card is the first mode; wherein,
the transmission rate of the data traffic in the first mode is higher than the transmission rate of the data traffic in the second mode.
9. A terminal, characterized in that the terminal comprises:
at least one processor; and
a memory communicatively coupled to the at least one processor; wherein,
the memory stores instructions executable by the at least one processor to enable the at least one processor to perform a method of managing network resources as claimed in any one of claims 1 to 7.
10. A non-transitory computer-readable storage medium storing computer-executable instructions that, when executed, perform the method of managing network resources of any one of claims 1-7.
CN202010863842.5A 2020-08-25 2020-08-25 Network resource management method, device, terminal and storage medium Active CN114125942B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010863842.5A CN114125942B (en) 2020-08-25 2020-08-25 Network resource management method, device, terminal and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010863842.5A CN114125942B (en) 2020-08-25 2020-08-25 Network resource management method, device, terminal and storage medium

Publications (2)

Publication Number Publication Date
CN114125942A true CN114125942A (en) 2022-03-01
CN114125942B CN114125942B (en) 2024-01-23

Family

ID=80373556

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010863842.5A Active CN114125942B (en) 2020-08-25 2020-08-25 Network resource management method, device, terminal and storage medium

Country Status (1)

Country Link
CN (1) CN114125942B (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115022024A (en) * 2022-05-31 2022-09-06 中国电信股份有限公司 Method and device for encrypted call, storage medium and electronic equipment
CN115103463A (en) * 2022-06-06 2022-09-23 Oppo广东移动通信有限公司 Service transmission method, device, terminal equipment, chip and storage medium

Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105744545A (en) * 2014-12-09 2016-07-06 联芯科技有限公司 Auxiliary card staying-in-network method and system for dual-card dual-standby single-pass mobile equipment
US20160262200A1 (en) * 2015-03-03 2016-09-08 Apple Inc. Dual-SIM Network Selection Techniques
WO2017107637A1 (en) * 2015-12-24 2017-06-29 努比亚技术有限公司 Mobile phone radio frequency resource allocation method and device
CN108513736A (en) * 2018-03-27 2018-09-07 华为技术有限公司 A kind of data processing method, device and terminal device
CN108616979A (en) * 2018-03-28 2018-10-02 深圳市万普拉斯科技有限公司 Double card network formats control method, device, computer equipment and storage medium
CN108632930A (en) * 2018-05-04 2018-10-09 奇酷互联网络科技(深圳)有限公司 Search network control method, device and mobile terminal
CN110351704A (en) * 2019-05-29 2019-10-18 努比亚技术有限公司 A kind of paging control method, dual-card dual-standby terminal and computer readable storage medium
US20200037380A1 (en) * 2017-03-25 2020-01-30 Huawei Technologies Co., Ltd. Communication method for implementing dual sim dual active, and terminal
CN111356159A (en) * 2020-05-25 2020-06-30 北京小米移动软件有限公司 Network-resident mode adjusting method, device and storage medium
WO2020134873A1 (en) * 2018-12-29 2020-07-02 华为技术有限公司 State switching method, mobile terminal, network device and communication system

Patent Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105744545A (en) * 2014-12-09 2016-07-06 联芯科技有限公司 Auxiliary card staying-in-network method and system for dual-card dual-standby single-pass mobile equipment
US20160262200A1 (en) * 2015-03-03 2016-09-08 Apple Inc. Dual-SIM Network Selection Techniques
WO2017107637A1 (en) * 2015-12-24 2017-06-29 努比亚技术有限公司 Mobile phone radio frequency resource allocation method and device
US20200037380A1 (en) * 2017-03-25 2020-01-30 Huawei Technologies Co., Ltd. Communication method for implementing dual sim dual active, and terminal
CN108513736A (en) * 2018-03-27 2018-09-07 华为技术有限公司 A kind of data processing method, device and terminal device
CN108616979A (en) * 2018-03-28 2018-10-02 深圳市万普拉斯科技有限公司 Double card network formats control method, device, computer equipment and storage medium
CN108632930A (en) * 2018-05-04 2018-10-09 奇酷互联网络科技(深圳)有限公司 Search network control method, device and mobile terminal
WO2020134873A1 (en) * 2018-12-29 2020-07-02 华为技术有限公司 State switching method, mobile terminal, network device and communication system
CN111385787A (en) * 2018-12-29 2020-07-07 华为终端有限公司 State switching method, mobile terminal, network equipment and communication system
CN110351704A (en) * 2019-05-29 2019-10-18 努比亚技术有限公司 A kind of paging control method, dual-card dual-standby terminal and computer readable storage medium
CN111356159A (en) * 2020-05-25 2020-06-30 北京小米移动软件有限公司 Network-resident mode adjusting method, device and storage medium

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115022024A (en) * 2022-05-31 2022-09-06 中国电信股份有限公司 Method and device for encrypted call, storage medium and electronic equipment
CN115022024B (en) * 2022-05-31 2023-09-29 中国电信股份有限公司 Method and device for encrypting call, storage medium and electronic equipment
CN115103463A (en) * 2022-06-06 2022-09-23 Oppo广东移动通信有限公司 Service transmission method, device, terminal equipment, chip and storage medium

Also Published As

Publication number Publication date
CN114125942B (en) 2024-01-23

Similar Documents

Publication Publication Date Title
CN110383870B (en) Radio frequency resource processing method and terminal
EP2856801B1 (en) Method and apparatus for providing notification of a network access technology switching event
CN110611723B (en) Scheduling method and device of service resources
CN112291816B (en) Data transmission method, device, storage medium and electronic equipment
US20210289388A1 (en) Network Offload Method and Relevant Device
CN112997528B (en) Network switching method and related equipment
CN111866976B (en) Network switching method and device
CN114125942A (en) Network resource management method, device, terminal and storage medium
CN112367625A (en) Virtual card network-residing method and system, server, mobile terminal and storage medium
CN111787631A (en) Radio frequency resource allocation method and device and electronic equipment
CN118574202A (en) Smart data mode for 5G wireless devices
CN115134901A (en) Communication processing method and device, terminal and readable storage medium
CN111527767A (en) Method and equipment for improving network performance
CN113660653B (en) Transmission method and device and electronic equipment
CN114980065A (en) Voice calling method and device and electronic equipment
CN111918288A (en) Communication method, communication device and electronic equipment
US11039003B2 (en) Controlling roaming behaviors of mobile applications
CN109429302A (en) Restoration methods and device after a kind of multi-card terminal off-grid
CN111726835B (en) Voice call method and device and electronic equipment
CN108990039B (en) Data transmission method and related device
CN111031531A (en) Data transmission method, device, storage medium and terminal
CN108141761B (en) Wireless resource determination method and device and service server
EP4404633A1 (en) Network selection method and apparatus, terminal, and network side device
CN114173336B (en) Authentication failure processing method and device, terminal and network equipment
EP4398658A1 (en) Information processing method and apparatus, communication device, and readable 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
GR01 Patent grant
GR01 Patent grant