CN115866715A - Dual-card network searching configuration method and device and computer readable storage medium - Google Patents

Dual-card network searching configuration method and device and computer readable storage medium Download PDF

Info

Publication number
CN115866715A
CN115866715A CN202211509984.7A CN202211509984A CN115866715A CN 115866715 A CN115866715 A CN 115866715A CN 202211509984 A CN202211509984 A CN 202211509984A CN 115866715 A CN115866715 A CN 115866715A
Authority
CN
China
Prior art keywords
reg
plmn
card
req2
service
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.)
Pending
Application number
CN202211509984.7A
Other languages
Chinese (zh)
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.)
Nubia Technology Co Ltd
Original Assignee
Nubia 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 Nubia Technology Co Ltd filed Critical Nubia Technology Co Ltd
Priority to CN202211509984.7A priority Critical patent/CN115866715A/en
Publication of CN115866715A publication Critical patent/CN115866715A/en
Pending legal-status Critical Current

Links

Images

Abstract

The invention discloses a double-card network searching configuration method, equipment and a computer readable storage medium, wherein the method comprises the following steps: when a second non-access layer corresponding to a second card of a terminal receives a SERVICE _ REG _ CNF1 first network searching failure message of a first card of the terminal at a first radio resource control layer, detecting whether a to-be-executed PLMN _ REG _ REQ2 second network searching request exists in the second non-access layer; when the second non-access layer does not have the PLMN _ REG _ REQ2, ending the network searching of the second card, and when the second non-access layer has the PLMN _ REG _ REQ2, determining whether the PLMN _ REG _ REQ2 is matched with the SERVICE _ REG _ CNF1; when the PLMN _ REG _ REQ2 matches the SERVICE _ REG _ CNF1, the second non-access stratum no longer notifies the second radio resource control layer of the second card to execute the PLMN _ REG _ REQ2, and when the PLMN _ REG _ REQ2 does not match the SERVICE _ REG _ CNF1, the PLMN _ REG _ REQ2 is executed. The efficient double-card network searching configuration scheme is realized, the network-holding speed of the double-card terminal from no network to network recovery is improved, the network searching energy consumption is reduced, and the use experience of a user is enhanced.

Description

Dual-card network searching configuration method and device and computer readable storage medium
Technical Field
The present invention relates to the field of mobile communications, and in particular, to a method and an apparatus for configuring a dual-card network search, and a computer-readable storage medium.
Background
In the prior art, a network searching mechanism after starting up and a re-searching mechanism after losing a network are mature, and the general idea is to reduce the power consumption of network searching and balance fast network staying as much as possible.
On one hand, consider that there are multiple search states for a terminal: firstly, searching a network frequency band which once resides before network loss; secondly, searching different frequency bands of different systems supported by the current card operator; and thirdly, entering an emergency network searching state, and searching different frequency bands of different systems of other operators so as to obtain emergency service support. Meanwhile, in order to save power consumption, a power save dormant state exists in the network searching process, the terminal is dormant most of the time during the period, and the network searching is performed at different times or not at all according to different algorithms.
On the other hand, considering that terminals such as mobile phones in the market basically support double cards, the existing double-card network searching mechanism is that each card independently and parallelly executes the network searching logic without interference. That is, the network searching command is sent to the NAS (Non-Access Stratum) module, and a final network searching behavior requires using a radio frequency device on the bottom layer, and since the terminals of DSDS (Dual SIM Dual standby) or DSDA (Dual SIM Dual active) all have scheduling and allocation of RF resources, when a network searching logic of a certain card triggers network searching, it is very likely that the RF resources are occupied by another card, and it is necessary to wait for the resources to be released before obtaining the RF resources.
In summary, the network searching mechanisms of the dual cards are independent and mutually influenced, and different operator cards and different network mode settings all cause the network searching states of the dual cards to be irrelevant, i.e. when one card searches for a network, another card may wait for radio frequency resources to search for a network and also may sleep in power save, one card may search for a plurality of frequency point lists, and the other card may search for a network in a full frequency band. Therefore, how to save the power consumption of searching the network and increase the speed of searching the network in the process becomes a technical problem to be solved urgently at present.
Disclosure of Invention
In order to solve the technical defects in the prior art, the invention provides a dual-card network searching configuration method, which comprises the following steps:
when a second non-access layer corresponding to a second card of a terminal receives a SERVICE _ REG _ CNF1 first network searching failure message of a first card of the terminal at a first radio resource control layer, detecting whether a to-be-executed PLMN _ REG _ REQ2 second network searching request exists in the second non-access layer;
ending the network searching of the second card when the PLMN _ REG _ REQ2 does not exist in the second non-access layer, and judging whether the PLMN _ REG _ REQ2 is matched with the SERVICE _ REG _ CNF1 or not when the PLMN _ REG _ REQ2 exists in the second non-access layer;
when the PLMN _ REG _ REQ2 matches the SERVICE _ REG _ CNF1, the second non-access stratum no longer notifies a second radio resource control layer of the second card to execute the PLMN _ REG _ REQ2, and when the PLMN _ REG _ REQ2 does not match the SERVICE _ REG _ CNF1, the PLMN _ REG _ REQ2 is executed.
Optionally, the method further comprises:
determining a first non-access stratum corresponding to the first card and a second non-access stratum corresponding to the second card;
and receiving, by the first non-access stratum, a PLMN _ REG _ REQ1 first network searching request of the first card, and receiving, by the second non-access stratum, a PLMN _ REG _ REQ2 second network searching request of the second card.
Optionally, the method further comprises:
and when the first non-access stratum processes the PLMN _ REG _ REQ1 and generates a SERVICE _ REG _ REQ first SERVICE registration request, forwarding the SERVICE _ REG _ REQ to the first radio resource control layer.
Optionally, the method further comprises:
generating the SERVICE _ REG _ CNF1 when the first radio resource control layer network searching fails;
transmitting, by the first radio resource control layer, the SERVICE _ REG _ CNF1 to the second radio resource control layer.
Optionally, the determining whether the PLMN _ REG _ REQ2 matches the SERVICE _ REG _ CNF1 includes:
judging whether public land mobile network parameters, radio access type parameters and request type parameters contained in the PLMN _ REG _ REQ2 and the SERVICE _ REG _ CNF1 are the same or not;
if the two are the same, determining that the PLMN _ REG _ REQ2 is matched with the SERVICE _ REG _ CNF1, otherwise, determining that the PLMN _ REG _ REQ2 is not matched with the SERVICE _ REG _ CNF 1.
The invention also provides a dual-card network searching configuration device, which comprises a memory, a processor and a computer program stored on the memory and capable of running on the processor, wherein the computer program is executed by the processor as follows:
when a second non-access layer corresponding to a second card of a terminal receives a SERVICE _ REG _ CNF1 first network searching failure message of a first card of the terminal at a first radio resource control layer, detecting whether a to-be-executed PLMN _ REG _ REQ2 second network searching request exists in the second non-access layer;
when the second non-access layer does not have the PLMN _ REG _ REQ2, ending the network searching of the second card, and when the second non-access layer has the PLMN _ REG _ REQ2, determining whether the PLMN _ REG _ REQ2 is matched with the SERVICE _ REG _ CNF1;
when the PLMN _ REG _ REQ2 matches the SERVICE _ REG _ CNF1, the second non-access stratum no longer notifies the second radio resource control layer of the second card to execute the PLMN _ REG _ REQ2, and when the PLMN _ REG _ REQ2 does not match the SERVICE _ REG _ CNF1, the PLMN _ REG _ REQ2 is executed.
Optionally, the computer program is further executable by the processor to perform the method of:
determining a first non-access stratum corresponding to the first card and a second non-access stratum corresponding to the second card;
receiving, by the first non-access stratum, a PLMN _ REG _ REQ1 first network searching request of the first card, and receiving, by the second non-access stratum, a PLMN _ REG _ REQ2 second network searching request of the second card;
and when the first non-access stratum processes the PLMN _ REG _ REQ1 and generates a SERVICE _ REG _ REQ first SERVICE registration request, forwarding the SERVICE _ REG _ REQ to the first radio resource control layer.
Optionally, the computer program is further executable by the processor to perform the method of:
generating the SERVICE _ REG _ CNF1 when the first radio resource control layer network searching fails;
transmitting, by the first radio resource control layer, the SERVICE _ REG _ CNF1 to the second radio resource control layer.
Optionally, the computer program is further executable by the processor to perform the method of:
judging whether public land mobile network parameters, radio access type parameters and request type parameters contained in the PLMN _ REG _ REQ2 and the SERVICE _ REG _ CNF1 are the same or not;
if the two are the same, determining that the PLMN _ REG _ REQ2 is matched with the SERVICE _ REG _ CNF1, otherwise, determining that the PLMN _ REG _ REQ2 is not matched with the SERVICE _ REG _ CNF 1.
The invention further provides a computer readable storage medium, where a dual-card network searching configuration program is stored, and when being executed by a processor, the dual-card network searching configuration program implements the steps of the dual-card network searching configuration method as described in any one of the above.
By implementing the dual-card network searching configuration method, the device and the computer readable storage medium, when a second non-access layer corresponding to a second card of a terminal receives a SERVICE _ REG _ CNF1 first network searching failure message of a first card of the terminal at a first radio resource control layer, whether the second non-access layer has a PLMN _ REG _ REQ2 second network searching request to be executed is detected; when the second non-access layer does not have the PLMN _ REG _ REQ2, ending the network searching of the second card, and when the second non-access layer has the PLMN _ REG _ REQ2, determining whether the PLMN _ REG _ REQ2 is matched with the SERVICE _ REG _ CNF1; when the PLMN _ REG _ REQ2 matches the SERVICE _ REG _ CNF1, the second non-access stratum no longer notifies the second radio resource control layer of the second card to execute the PLMN _ REG _ REQ2, and when the PLMN _ REG _ REQ2 does not match the SERVICE _ REG _ CNF1, the PLMN _ REG _ REQ2 is executed. The network searching configuration scheme of the double cards is humanized, the network parking speed of the double-card terminal when the network is recovered from the non-network state is improved, the network searching energy consumption is reduced, and the use experience of a user is enhanced.
Drawings
The invention will be further described with reference to the accompanying drawings and examples, in which:
fig. 1 is a schematic diagram of a hardware structure of a mobile terminal according to the present invention;
FIG. 2 is a first flowchart of a dual card network configuration method of the present invention;
FIG. 3 is a second flowchart of the dual card network searching configuration method of the present invention
FIG. 4 is a third flowchart of a dual-card network searching configuration method of the present invention;
FIG. 5 is a fourth flowchart illustrating a dual card network searching configuration method according to the present invention;
FIG. 6 is a fifth flowchart illustrating a dual card network configuration method according to the present invention;
fig. 7 is a sixth flowchart of the dual card network searching configuration method of the present invention.
Detailed Description
It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
In the following description, suffixes such as "module", "component", or "unit" used to denote elements are used only for facilitating the explanation of the present invention, and have no specific meaning in itself. Thus, "module", "component" or "unit" may be used mixedly.
The terminal may be implemented in various forms. For example, the terminal described in the present invention may include a mobile terminal such as a mobile phone, a tablet computer, a notebook computer, a palmtop computer, a Personal Digital Assistant (PDA), a Portable Media Player (PMP), a navigation device, a wearable device, a smart band, a pedometer, and the like, and a fixed terminal such as a Digital TV, a desktop computer, and the like.
The following description will be given by way of example of a mobile terminal, and it will be understood by those skilled in the art that the configuration according to the embodiment of the present invention can be applied to a fixed type terminal, in addition to elements particularly used for mobile purposes.
Referring to fig. 1, which is a schematic diagram of a hardware structure of a mobile terminal for implementing various embodiments of the present invention, the mobile terminal 100 may include: RF (Radio Frequency) unit 101, wiFi module 102, audio output unit 103, a/V (audio/video) input unit 104, sensor 105, display unit 106, user input unit 107, interface unit 108, memory 109, processor 110, and power supply 111. Those skilled in the art will appreciate that the mobile terminal architecture shown in fig. 1 is not intended to be limiting of mobile terminals, and that a mobile terminal may include more or fewer components than shown, or some components may be combined, or a different arrangement of components.
The following describes each component of the mobile terminal in detail with reference to fig. 1:
the radio frequency unit 101 may be configured to receive and transmit signals during information transmission and reception or during a call, and specifically, receive downlink information of a base station and then process the downlink information to the processor 110; in addition, the uplink data is transmitted to the base station. Typically, radio frequency unit 101 includes, but is not limited to, an antenna, at least one amplifier, a transceiver, a coupler, a low noise amplifier, a duplexer, and the like. In addition, the radio frequency unit 101 can also communicate with a network and other devices through wireless communication. The wireless communication may use any communication standard or protocol, including but not limited to GSM (Global System for Mobile communications), GPRS (General Packet Radio Service), CDMA2000 (Code Division Multiple Access 2000 ), WCDMA (Wideband Code Division Multiple Access), TD-SCDMA (Time Division-Synchronous Code Division Multiple Access), FDD-LTE (Frequency Division duplex Long Term Evolution), and TDD-LTE (Time Division duplex Long Term Evolution).
WiFi belongs to short-distance wireless transmission technology, and the mobile terminal can help a user to receive and send e-mails, browse webpages, access streaming media and the like through the WiFi module 102, and provides wireless broadband internet access for the user. Although fig. 1 shows the WiFi module 102, it is understood that it does not belong to the essential constitution of the mobile terminal, and may be omitted entirely as needed within the scope not changing the essence of the invention.
The audio output unit 103 may convert audio data received by the radio frequency unit 101 or the WiFi module 102 or stored in the memory 109 into an audio signal and output as sound when the mobile terminal 100 is in a call signal reception mode, a call mode, a recording mode, a voice recognition mode, a broadcast reception mode, or the like. Also, the audio output unit 103 may also provide audio output related to a specific function performed by the mobile terminal 100 (e.g., a call signal reception sound, a message reception sound, etc.). The audio output unit 103 may include a speaker, a buzzer, and the like.
The a/V input unit 104 is used to receive audio or video signals. The a/V input Unit 104 may include a Graphics Processing Unit (GPU) 1041 and a microphone 1042, the Graphics processor 1041 Processing image data of still pictures or video obtained by an image capturing device (e.g., a camera) in a video capturing mode or an image capturing mode. The processed image frames may be displayed on the display unit 106. The image frames processed by the graphic processor 1041 may be stored in the memory 109 (or other storage medium) or transmitted via the radio frequency unit 101 or the WiFi module 102. The microphone 1042 may receive sounds (audio data) via the microphone 1042 in a phone call mode, a recording mode, a voice recognition mode, or the like, and may be capable of processing such sounds into audio data. The processed audio (voice) data may be converted into a format output transmittable to a mobile communication base station via the radio frequency unit 101 in case of a phone call mode. The microphone 1042 may implement various types of noise cancellation (or suppression) algorithms to cancel (or suppress) noise or interference generated in the course of receiving and transmitting audio signals.
The mobile terminal 100 also includes at least one sensor 105, such as a light sensor, a motion sensor, and other sensors. Specifically, the light sensor includes an ambient light sensor that can adjust the brightness of the display panel 1061 according to the brightness of ambient light, and a proximity sensor that can turn off the display panel 1061 and/or the backlight when the mobile terminal 100 moves to the ear. As one of the motion sensors, the accelerometer sensor can detect the magnitude of acceleration in each direction (generally, three axes), can detect the magnitude and direction of gravity when stationary, and can be used for applications of recognizing the gesture of the mobile phone (such as horizontal and vertical screen switching, related games, magnetometer gesture calibration), vibration recognition related functions (such as pedometer and tapping), and the like; as for other sensors such as a fingerprint sensor, a pressure sensor, an iris sensor, a molecular sensor, a gyroscope, a barometer, a hygrometer, a thermometer, and an infrared sensor, which can be configured on the mobile phone, further description is omitted here.
The display unit 106 is used to display information input by a user or information provided to the user. The Display unit 106 may include a Display panel 1061, and the Display panel 1061 may be configured in the form of a Liquid Crystal Display (LCD), an Organic Light-Emitting Diode (OLED), or the like.
The user input unit 107 may be used to receive input numeric or character information and generate key signal inputs related to user settings and function control of the mobile terminal. Specifically, the user input unit 107 may include a touch panel 1071 and other input devices 1072. The touch panel 1071, also referred to as a touch screen, may collect a touch operation performed by a user on or near the touch panel 1071 (e.g., an operation performed by the user on or near the touch panel 1071 using a finger, a stylus, or any other suitable object or accessory), and drive a corresponding connection device according to a predetermined program. The touch panel 1071 may include two parts of a touch detection device and a touch controller. The touch detection device detects the touch direction of a user, detects a signal brought by touch operation and transmits the signal to the touch controller; the touch controller receives touch information from the touch sensing device, converts the touch information into touch point coordinates, sends the touch point coordinates to the processor 110, and can receive and execute commands sent by the processor 110. In addition, the touch panel 1071 may be implemented in various types, such as a resistive type, a capacitive type, an infrared ray, and a surface acoustic wave. In addition to the touch panel 1071, the user input unit 107 may include other input devices 1072. In particular, other input devices 1072 may include, but are not limited to, one or more of a physical keyboard, function keys (e.g., volume control keys, switch keys, etc.), a trackball, a mouse, a joystick, and the like, and are not limited to these specific examples.
Further, the touch panel 1071 may cover the display panel 1061, and when the touch panel 1071 detects a touch operation thereon or nearby, the touch panel 1071 transmits the touch operation to the processor 110 to determine the type of the touch event, and then the processor 110 provides a corresponding visual output on the display panel 1061 according to the type of the touch event. Although the touch panel 1071 and the display panel 1061 are shown in fig. 1 as two separate components to implement the input and output functions of the mobile terminal, in some embodiments, the touch panel 1071 and the display panel 1061 may be integrated to implement the input and output functions of the mobile terminal, and is not limited herein.
The interface unit 108 serves as an interface through which at least one external device is connected to the mobile terminal 100. For example, the external device may include a wired or wireless headset port, an external power supply (or battery charger) port, a wired or wireless data port, a memory card port, a port for connecting a device having an identification module, an audio input/output (I/O) port, a video I/O port, an earphone port, and the like. The interface unit 108 may be used to receive input (e.g., data information, power, etc.) from external devices and transmit the received input to one or more elements within the mobile terminal 100 or may be used to transmit data between the mobile terminal 100 and external devices.
The memory 109 may be used to store software programs as well as various data. The memory 109 may mainly include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application program required by at least one function (such as a sound playing function, an image playing function, etc.), and the like; the storage data area may store data (such as audio data, a phonebook, etc.) created according to the use of the cellular phone, and the like. Further, the memory 109 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 volatile solid state storage device.
The processor 110 is a control center of the mobile terminal, connects various parts of the entire mobile terminal using various interfaces and lines, and performs various functions of the mobile terminal and processes data by operating or executing software programs and/or modules stored in the memory 109 and calling data stored in the memory 109, thereby performing overall monitoring of the mobile terminal. Processor 110 may include one or more processing units; preferably, the processor 110 may integrate an application processor, which mainly handles operating systems, user interfaces, application programs, etc., and a modem processor, which mainly handles wireless communications. It will be appreciated that the modem processor described above may not be integrated into the processor 110.
The mobile terminal 100 may further include a power supply 111 (e.g., a battery) for supplying power to various components, and preferably, the power supply 111 may be logically connected to the processor 110 via a power management system, so as to manage charging, discharging, and power consumption management functions via the power management system.
Although not shown in fig. 1, the mobile terminal 100 may further include a bluetooth module or the like, which is not described in detail herein.
Based on the hardware structure of the mobile terminal, the invention provides various embodiments of the method.
Fig. 2 is a flowchart of a dual-card network searching configuration method according to a first embodiment of the present invention. The embodiment provides a network searching configuration method for double cards, which comprises the following steps:
s1, when a second non-access layer corresponding to a second card of a terminal receives a SERVICE _ REG _ CNF1 first network searching failure message of a first card of the terminal at a first radio resource control layer, detecting whether the second non-access layer has a PLMN _ REG _ REQ2 second network searching request to be executed;
s2, when the PLMN _ REG _ REQ2 does not exist in the second non-access layer, ending network searching of the second card, and when the PLMN _ REG _ REQ2 exists in the second non-access layer, judging whether the PLMN _ REG _ REQ2 is matched with the SERVICE _ REG _ CNF1 or not;
and S3, when the PLMN _ REG _ REQ2 is matched with the SERVICE _ REG _ CNF1, the second non-access stratum does not inform a second radio resource control layer of the second card to execute the PLMN _ REG _ REQ2 any more, and when the PLMN _ REG _ REQ2 is not matched with the SERVICE _ REG _ CNF1, the PLMN _ REG _ REQ2 is executed.
In this embodiment, the inventor finds that, in the dual-card network searching test, after the terminal returns to the normal network environment from the wireless or weak signal environment, one card often searches for the network, and another card cannot be searched for a long time, and it is necessary to wait for tens of seconds or even minutes to search for the other card. The reason behind the analysis by the inventor is that when the network environment is restored, the card with slow network residence is in a dormant state in the network searching process, or in an emergency network searching state, and the like. Because the network searching process consumes power, the network searching algorithm cannot search for the network all the time, otherwise, the power consumption of the machine is very fast, and the dormant state of some stages is very long; the emergency network searching state under the normal network environment is invalid network searching. Therefore, according to the network searching mechanism, a long time has passed when searching for a network frequency band where the network can reside next time. Based on this, if a card A is in a no-signal environment, the network searching fails naturally. For this process, another card B would naturally be blocked if it were to search for the network as well. If the blocked network searching request of the card B also searches the same network and network system, the network searching request blocked by the card B directly returns failure when the card A returns the network searching failure and the blocked network searching request of the card B is directly sent to a lower layer for execution, so that the network searching algorithm is carried out downwards, and the power consumption of one network searching request can be reduced. Therefore, in the embodiment, it is necessary to introduce a dual-card information sharing mechanism into the dual-card network searching mechanism to avoid the above problem, speed up the network searching speed, and reduce the power consumption of the network searching.
In the embodiment, the modification is performed on the existing screen searching frame. Specifically, referring to fig. 2, for an example in which two NAS modules exist in the dual-card terminal, when the network searching request received by the NAS is PLMN _ REG _ REQ, the command includes parameters PLMN (mcc, mnc) PLMN parameter, RAT radio access type parameter, and acq _ type request type parameter.
In this embodiment, the NAS generates the SERVICE _ REG _ REQ after processing, and forwards the SERVICE _ REG _ REQ to an RRC (Radio Resource Control) module corresponding to the RAT (Radio Access Type) for processing, the RRC module sends the SERVICE _ REG _ CNF to the NAS layer after network searching is completed, and the NAS layer processes the SERVICE _ REG _ CNF and returns the PLMN _ REG _ CNF to the NAS client. In the present embodiment, the above-described procedure is modified: specifically, referring to the second flowchart shown in fig. 3, the corresponding NAS2 module receives a network search failure notification of an RRC module of a certain RAT of the card 1, that is, RAT-RRC1, and if the SERVICE _ REG _ CNF prompts a failure and does not search for a network, notifies to process another NAS instance. For another NSA instance, whether the PLMN _ REG _ REQ is pending is queried, and if so, whether PLMN (mcc, mnc) public land mobile network parameters, RAT radio access type parameters, and acq _ type request type parameters match is determined. If the two NAS instances are matched, the other NAS instance does not inform the RRC to process the network searching request any more, and the failed PLMN _ REQ _ CNF is directly sent to the NAS client. Therefore, repeated network searching triggered by the same network searching request at the same time of two cards is effectively avoided, and power consumption is reduced.
The method has the advantages that when a second non-access layer corresponding to a second card of a terminal receives a SERVICE _ REG _ CNF1 first network searching failure message of a first card of the terminal at a first radio resource control layer, whether the second non-access layer has a to-be-executed PLMN _ REG _ REQ2 second network searching request is detected; when the second non-access layer does not have the PLMN _ REG _ REQ2, ending the network searching of the second card, and when the second non-access layer has the PLMN _ REG _ REQ2, determining whether the PLMN _ REG _ REQ2 is matched with the SERVICE _ REG _ CNF1; when the PLMN _ REG _ REQ2 matches the SERVICE _ REG _ CNF1, the second non-access stratum no longer notifies the second radio resource control layer of the second card to execute the PLMN _ REG _ REQ2, and when the PLMN _ REG _ REQ2 does not match the SERVICE _ REG _ CNF1, the PLMN _ REG _ REQ2 is executed. The network searching configuration scheme of the double cards is humanized, the network parking speed of the double-card terminal when the network is recovered from the non-network state is improved, and the use experience of a user is enhanced.
Based on the above embodiment, please refer to fig. 4, the method further includes:
s01, determining a first non-access layer corresponding to the first card and a second non-access layer corresponding to the second card;
and S02, receiving a PLMN _ REG _ REQ1 first network searching request of the first card by the first non-access layer, and receiving a PLMN _ REG _ REQ2 second network searching request of the second card by the second non-access layer.
Based on the above embodiment, please refer to fig. 5, the method further includes:
s11, when the PLMN _ REG _ REQ1 is processed in the first non-access stratum and a SERVICE _ REG _ REQ first SERVICE registration request is generated, forwarding the SERVICE _ REG _ REQ to the first radio resource control layer.
Based on the above embodiment, please refer to fig. 6, the method further includes:
s21, generating the SERVICE _ REG _ CNF1 when the first radio resource control layer fails in network searching;
s22, the first radio resource control layer sends the SERVICE _ REG _ CNF1 to the second radio resource control layer.
Based on the above embodiment, referring to fig. 7, the determining whether the PLMN _ REG _ REQ2 and the SERVICE _ REG _ CNF1 are matched includes:
s31, determining whether public land mobile network parameters, radio access type parameters, and request type parameters included in the PLMN _ REG _ REQ2 and the SERVICE _ REG _ CNF1 are the same;
and S32, if the two are the same, determining that the PLMN _ REG _ REQ2 is matched with the SERVICE _ REG _ CNF1, otherwise, determining that the PLMN _ REG _ REQ2 is not matched with the SERVICE _ REG _ CNF 1.
In the present embodiment, the PLMN (mcc, mnc) is 460 in the country, and mnc is different for different operators. When searching for the network, the double cards are matched with the PLMN (mcc, mnc) of the operator, and as long as the same RAT is searched in the same time period, one network searching can be reduced. Further, considering that PLMNs are all PLMNs (0, 0) when performing emergency search in the network searching algorithm, and that the whole network searching process takes 40 seconds or even longer under some RATs and acq _ types, in this embodiment, in order to enable different operator cards to search for networks effectively, this optimization may also reduce one network searching for different operator cards when performing emergency search at the same time, as long as the different operator cards are the same RAT and acq _ types.
It can be seen that the embodiment provides a power consumption saving scheme for searching a network by using two cards. Aiming at the situation that the dual-card terminal has no network for a long time, the purpose of reducing power consumption is achieved by removing repeated network searching operation through the same network searching request of the dual-card terminal at the same time. Therefore, when a user leaves the network-free environments, such as an elevator, a garage and a tunnel, after entering the network-free environments, the network can be parked on the double cards as soon as possible based on the scheme, and the situation that one card is behind the other card is avoided, so that the user experience is improved.
Based on the foregoing embodiments, this embodiment further provides a dual-card network searching configuration device, where the device includes a memory, a processor, and a computer program stored in the memory and executable on the processor, where the computer program is executed by the processor as follows:
when a second non-access layer corresponding to a second card of a terminal receives a SERVICE _ REG _ CNF1 first network searching failure message of a first card of the terminal at a first radio resource control layer, detecting whether a to-be-executed PLMN _ REG _ REQ2 second network searching request exists in the second non-access layer;
when the second non-access layer does not have the PLMN _ REG _ REQ2, ending the network searching of the second card, and when the second non-access layer has the PLMN _ REG _ REQ2, determining whether the PLMN _ REG _ REQ2 is matched with the SERVICE _ REG _ CNF1;
when the PLMN _ REG _ REQ2 matches the SERVICE _ REG _ CNF1, the second non-access stratum no longer notifies the second radio resource control layer of the second card to execute the PLMN _ REG _ REQ2, and when the PLMN _ REG _ REQ2 does not match the SERVICE _ REG _ CNF1, the PLMN _ REG _ REQ2 is executed.
Optionally, the computer program is further executable by the processor to perform the method of:
determining a first non-access stratum corresponding to the first card and a second non-access stratum corresponding to the second card;
receiving, by the first non-access stratum, a PLMN _ REG _ REQ1 first network searching request of the first card, and receiving, by the second non-access stratum, a PLMN _ REG _ REQ2 second network searching request of the second card;
and when the first non-access stratum processes the PLMN _ REG _ REQ1 and generates a SERVICE _ REG _ REQ first SERVICE registration request, forwarding the SERVICE _ REG _ REQ to the first radio resource control layer.
Optionally, the computer program is further executable by the processor to perform the method of:
generating the SERVICE _ REG _ CNF1 when the first radio resource control layer fails in network searching;
transmitting, by the first radio resource control layer, the SERVICE _ REG _ CNF1 to the second radio resource control layer.
Optionally, the computer program is further executable by the processor to perform the method of:
judging whether public land mobile network parameters, radio access type parameters and request type parameters contained in the PLMN _ REG _ REQ2 and the SERVICE _ REG _ CNF1 are the same or not;
if the two are the same, determining that the PLMN _ REG _ REQ2 is matched with the SERVICE _ REG _ CNF1, otherwise, determining that the PLMN _ REG _ REQ2 is not matched with the SERVICE _ REG _ CNF 1.
It should be noted that the device embodiment and the method embodiment belong to the same concept, and specific implementation processes thereof are detailed in the method embodiment, and technical features in the method embodiment are correspondingly applicable in the device embodiment, which is not described herein again.
Based on the foregoing embodiment, the present invention further provides a computer-readable storage medium, where a dual-card network searching configuration program is stored on the computer-readable storage medium, and when executed by a processor, the dual-card network searching configuration program implements the steps of the dual-card network searching configuration method according to any one of the above embodiments.
It should be noted that the media embodiment and the method embodiment belong to the same concept, and specific implementation processes thereof are detailed in the method embodiment, and technical features in the method embodiment are correspondingly applicable in the media embodiment, which is not described herein again.
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, method, article, or apparatus 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, method, article, or apparatus. Without further limitation, an element defined by the phrases "comprising a component of' 8230; \8230;" does not exclude the presence of another like element in a process, method, article, or apparatus that comprises the element.
The above-mentioned serial numbers of the embodiments of the present invention are merely for description and do not represent the merits of the embodiments.
Through the description of the foregoing embodiments, it is clear to those skilled in the art that the method of the foregoing embodiments may be implemented by software plus a necessary general hardware platform, and certainly may also be implemented by hardware, but in many cases, the former is a better implementation. Based on such understanding, the technical solutions of the present invention may be embodied in the form of a software product, which is stored in a storage medium (such as ROM/RAM, magnetic disk, optical disk) and includes instructions for enabling a terminal (such as a mobile phone, a computer, a server, an air conditioner, or a network device) to execute the method according to the embodiments of the present invention.
While the present invention has been described with reference to the embodiments shown in the drawings, the present invention is not limited to the embodiments, which are illustrative and not restrictive, and it will be apparent to those skilled in the art that various changes and modifications can be made therein without departing from the spirit and scope of the invention as defined in the appended claims.

Claims (10)

1. A network searching configuration method by double cards is characterized by comprising the following steps:
when a second non-access layer corresponding to a second card of a terminal receives a SERVICE _ REG _ CNF1 first network searching failure message of a first card of the terminal at a first radio resource control layer, detecting whether a to-be-executed PLMN _ REG _ REQ2 second network searching request exists in the second non-access layer;
ending the network searching of the second card when the PLMN _ REG _ REQ2 does not exist in the second non-access layer, and judging whether the PLMN _ REG _ REQ2 is matched with the SERVICE _ REG _ CNF1 or not when the PLMN _ REG _ REQ2 exists in the second non-access layer;
when the PLMN _ REG _ REQ2 matches the SERVICE _ REG _ CNF1, the second non-access stratum no longer notifies the second radio resource control layer of the second card to execute the PLMN _ REG _ REQ2, and when the PLMN _ REG _ REQ2 does not match the SERVICE _ REG _ CNF1, the PLMN _ REG _ REQ2 is executed.
2. The dual-card network searching configuration method according to claim 1, wherein the method further comprises:
determining a first non-access stratum corresponding to the first card and a second non-access stratum corresponding to the second card;
and receiving, by the first non-access stratum, a PLMN _ REG _ REQ1 first network searching request of the first card, and receiving, by the second non-access stratum, a PLMN _ REG _ REQ2 second network searching request of the second card.
3. The dual-card network searching configuration method according to claim 2, wherein the method further comprises:
and when the first non-access stratum processes the PLMN _ REG _ REQ1 and generates a SERVICE _ REG _ REQ first SERVICE registration request, forwarding the SERVICE _ REG _ REQ to the first radio resource control layer.
4. The dual-card network searching configuration method according to claim 3, wherein the method further comprises:
generating the SERVICE _ REG _ CNF1 when the first radio resource control layer fails in network searching;
transmitting, by the first radio resource control layer, the SERVICE _ REG _ CNF1 to the second radio resource control layer.
5. The dual-card network searching configuration method according to claim 4, wherein the determining whether the PLMN _ REG _ REQ2 matches the SERVICE _ REG _ CNF1 includes:
judging whether public land mobile network parameters, radio access type parameters and request type parameters contained in the PLMN _ REG _ REQ2 and the SERVICE _ REG _ CNF1 are the same or not;
if the two are the same, determining that the PLMN _ REG _ REQ2 is matched with the SERVICE _ REG _ CNF1, otherwise, determining that the PLMN _ REG _ REQ2 is not matched with the SERVICE _ REG _ CNF 1.
6. A dual card network configuration apparatus, the apparatus comprising a memory, a processor, and a computer program stored on the memory and executable on the processor, the computer program being executed by the processor to perform the method of:
receiving a first card of a terminal at a first non-access layer corresponding to a second card of the terminal
Whether a second PLMN _ REG _ REQ2 network searching request to be executed exists in the second non-access layer or not;
when the second non-access layer does not have the PLMN _ REG _ REQ2, ending the network searching of the second card, and when the second non-access layer has the PLMN _ REG _ REQ2, determining whether the PLMN _ REG _ REQ2 is matched with the SERVICE _ REG _ CNF1;
when the PLMN _ REG _ REQ2 matches the SERVICE _ REG _ CNF1, the second non-access stratum no longer notifies the second radio resource control layer of the second card to execute the PLMN _ REG _ REQ2, and when the PLMN _ REG _ REQ2 does not match the SERVICE _ REG _ CNF1, the PLMN _ REG _ REQ2 is executed.
7. The dual-card network searching configuration device of claim 6, wherein the computer program is further executable by the processor to perform the method of:
determining a first non-access stratum corresponding to the first card and a second non-access stratum corresponding to the second card;
receiving, by the first non-access stratum, a PLMN _ REG _ REQ1 first network searching request of the first card, and receiving, by the second non-access stratum, a PLMN _ REG _ REQ2 second network searching request of the second card;
and when the first non-access stratum processes the PLMN _ REG _ REQ1 and generates a SERVICE _ REG _ REQ first SERVICE registration request, forwarding the SERVICE _ REG _ REQ to the first radio resource control layer.
8. The dual-card network searching configuration device of claim 7, wherein the computer program is further executable by the processor to perform the method of:
generating the SERVICE _ REG _ CNF1 when the first radio resource control layer fails in network searching;
transmitting, by the first radio resource control layer, the SERVICE _ REG _ CNF1 to the second radio resource control layer.
9. The dual-card network-searching configuration device of claim 8, wherein the computer program is further executable by the processor to perform the method of:
judging whether public land mobile network parameters, radio access type parameters and request type parameters contained in the PLMN _ REG _ REQ2 and the SERVICE _ REG _ CNF1 are the same or not;
if the two are the same, determining that the PLMN _ REG _ REQ2 is matched with the SERVICE _ REG _ CNF1, otherwise, determining that the PLMN _ REG _ REQ2 is not matched with the SERVICE _ REG _ CNF 1.
10. A computer-readable storage medium, wherein a dual-card network searching configuration program is stored on the computer-readable storage medium, and when executed by a processor, the dual-card network searching configuration program implements the steps of the dual-card network searching configuration method according to any one of claims 1 to 5.
CN202211509984.7A 2022-11-29 2022-11-29 Dual-card network searching configuration method and device and computer readable storage medium Pending CN115866715A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202211509984.7A CN115866715A (en) 2022-11-29 2022-11-29 Dual-card network searching configuration method and device and computer readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202211509984.7A CN115866715A (en) 2022-11-29 2022-11-29 Dual-card network searching configuration method and device and computer readable storage medium

Publications (1)

Publication Number Publication Date
CN115866715A true CN115866715A (en) 2023-03-28

Family

ID=85667646

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202211509984.7A Pending CN115866715A (en) 2022-11-29 2022-11-29 Dual-card network searching configuration method and device and computer readable storage medium

Country Status (1)

Country Link
CN (1) CN115866715A (en)

Similar Documents

Publication Publication Date Title
CN107241783B (en) Network searching method and terminal
CN109195143B (en) Network access method, mobile terminal and readable storage medium
US20210011541A1 (en) Processing Method For Reducing Power Consumption And Mobile Terminal
CN110289883B (en) Radio frequency circuit, terminal equipment and circuit control method
CN108282834B (en) Method for accessing terminal to LTE network and terminal
CN111182563B (en) Wireless capability identifier transmission method, terminal equipment and network node
CN109766119B (en) Recovery partition upgrade method, terminal and computer readable storage medium
CN107818022B (en) Application program interface merging method, mobile terminal and computer readable storage medium
CN110677897B (en) Network search control method, terminal and computer readable storage medium
CN108089935B (en) Application program management method and mobile terminal
JP2021516826A (en) Fingerprint scanning method and mobile terminal
CN112437476A (en) Network switching control method and device, intelligent terminal and readable storage medium
CN109947617B (en) Method, terminal and readable storage medium for monitoring display content of application interface
CN110891262A (en) Bluetooth pairing method, system and terminal equipment
CN115086479B (en) Terminal control method, intelligent terminal and storage medium
CN111615175A (en) Network searching method and terminal
CN115334637A (en) 5G network registration method, equipment and computer readable storage medium
CN105635379B (en) Noise suppression method and device
CN114158025A (en) Device reconnection method and related device
CN115866715A (en) Dual-card network searching configuration method and device and computer readable storage medium
CN112888084A (en) Full-band communication method and device and mobile terminal
CN112261634A (en) Bluetooth transmission control method, device, terminal equipment and storage medium
CN110891304B (en) gPS power consumption control method for mobile terminal
CN109976950B (en) Android system dynamic starting method, mobile terminal and computer readable storage medium
CN111031588B (en) Network searching method, device, terminal equipment 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