CN113133089B - Method and related device for manually searching network - Google Patents

Method and related device for manually searching network Download PDF

Info

Publication number
CN113133089B
CN113133089B CN202110468600.0A CN202110468600A CN113133089B CN 113133089 B CN113133089 B CN 113133089B CN 202110468600 A CN202110468600 A CN 202110468600A CN 113133089 B CN113133089 B CN 113133089B
Authority
CN
China
Prior art keywords
network
plmn
target
terminal
search
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202110468600.0A
Other languages
Chinese (zh)
Other versions
CN113133089A (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.)
Honor Device Co Ltd
Original Assignee
Honor Device 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 Honor Device Co Ltd filed Critical Honor Device Co Ltd
Priority to CN202110468600.0A priority Critical patent/CN113133089B/en
Publication of CN113133089A publication Critical patent/CN113133089A/en
Application granted granted Critical
Publication of CN113133089B publication Critical patent/CN113133089B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W48/00Access restriction; Network selection; Access point selection
    • H04W48/16Discovering, processing access restriction or access information

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Security & Cryptography (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

The application relates to a method for manually searching a network, which is applied to a terminal, wherein the terminal is in communication connection with a base station, and the method comprises the following steps: displaying a network search interface, wherein the network search interface comprises a first control, and the first control indicates that the terminal is in an automatic network searching mode; the network search interface also comprises a first Public Land Mobile Network (PLMN) and a first network type corresponding to the first PLMN; responding to a first operation of a first control, and switching the automatic network searching mode into a manual network searching mode; and displaying a first option and a second option in a network search interface under the manual network search mode, wherein the first option comprises a second PLMN, a second network type corresponding to the second PLMN and a first networking mode, and the second option comprises a third PLMN, a third network type corresponding to the third PLMN and a second networking mode. The technical scheme can support the terminal to search the 5G NSA network in a manual network searching mode.

Description

Method and related device for manually searching network
Technical Field
The present application relates to the field of terminal technologies, and in particular, to a method and a related apparatus for manually searching a network.
Background
Currently, most terminals (such as mobile phones) can support two network searching modes, namely automatic network searching and manual network searching. In the automatic network searching mode, the terminal will try to register all available operator networks one by one until registering the appropriate operator network. In the manual network searching mode, the terminal can manually search all the operator networks in the current area and register the operator networks to the available operator networks according to user selection. With the development of communication technology, more and more network systems are supported by terminal equipment, but in a manual mode, a target network in some network systems cannot be searched, and therefore, the target network cannot be registered.
Disclosure of Invention
In view of the foregoing, there is a need to provide a method and a related apparatus for searching for a network manually, which can enable a terminal to search for a 5G NSA network in a manual network searching mode.
In a first aspect, an embodiment of the present application provides a method for manually searching a network, where the method is applied to a terminal, the terminal is in communication connection with a base station, the terminal includes an application processor AP and a modem, where the modem includes a non-access NAS layer, a radio resource control RRC layer, and a physical PHY layer, and the method includes: the AP responds to the operation of starting a manual network searching mode and issues a first request to the NAS layer, wherein the first request is used for searching an operator network list in the manual network searching mode; the NAS layer sends a second request to the RRC layer, wherein the second request comprises a first field identifier, and the first field identifier is used for supporting the terminal to search all operator network lists in a 5G non-independent NSA networking mode; the RRC layer sends a third request to the PHY layer, wherein the third request comprises a second field identifier, and the second field identifier is used for supporting the terminal to analyze a system message block 2SIB2 sent by the base station in the full-band cell search process under the LTE system; the PHY layer executes full-band cell search in the LTE system and obtains a first search result, wherein the first search result comprises a cell Identifier (ID), a Public Land Mobile Network (PLMN), a network type and an access technology/networking mode; when determining that the anchor point cell exists in the first search result, reporting a second search result to the AP, wherein the second search result comprises the PLMN, the network type and the access technology/networking mode; and the AP displays the second search result.
According to the method for manually searching the network, the 5G network under the NSA networking mode is identified and displayed when the terminal searches the surrounding operator network in the manual network searching mode, and the problem that the conventional terminal does not support manual searching of the 5G NSA network is solved.
In one possible implementation, the determining that the anchor cell exists in the first search result includes: analyzing the SIB2, and determining whether the attribute of a target field in the SIB2 is true, wherein the target field is an Upper Layer Indication field; determining that the anchor cell exists in the first search result when the attribute of the target field is determined to be true. Through the technical scheme, the anchor point cell can be determined by analyzing the SIB2, the terminal can be migrated to the anchor point cell and stable occupation is guaranteed, and thus the terminal can implement a 5G NSA networking mode.
In one possible implementation manner, the determining that an anchor cell exists in the first search result further includes: when the attribute of the target field is determined not to be true, determining whether a target cell ID exists in a preset list or not; and when the target cell ID exists in the preset list, determining that an anchor cell exists in the first search result. Through the technical scheme, whether the anchor point cell exists in the first search result can be determined by determining whether the target cell ID is in the preset anchor point cell list, and when the anchor point cell exists, the terminal is moved to the anchor point cell and stable occupation is guaranteed, so that the terminal can implement a 5G NSA networking mode.
In a possible implementation manner, the target cell ID includes a global cell identity GCI of the target cell, and the preset list includes an a priori anchor cell list and a cloud preset anchor cell list. Through the technical scheme, whether the anchor point cell exists in the first search result can be determined through the prior anchor point cell list and the cloud preset anchor point cell list, and when the anchor point cell exists, the terminal is moved to the anchor point cell and stable occupation is guaranteed, so that the terminal can implement a 5G NSA networking mode.
In one possible implementation, the method further includes: in response to the operation of selecting the target network in the second search result, the AP sends a fourth request to the NAS layer, where the fourth request is used to request registration of the target network; the NAS layer sends a fifth request to the RRC layer, wherein the fifth request is used for starting target PLMN search under a network type corresponding to the target network; the RRC layer sends a sixth request to the PHY layer, wherein the sixth request is used for executing cell search under the network type corresponding to the target network; the PHY layer executes cell search and obtains a third search result, wherein the third search result comprises a PLMN corresponding to the target network, a network type and a target cell; the PHY layer returns the third search result to the RRC layer; when determining that the PLMN in the third search result is matched with the target PLMN in the fifth request, the RRC layer returns a target PLMN search result to the NAS layer; the NAS layer initiates a target network registration request to the PHY layer; the PHY layer returns a target network registration result to the AP; and the AP displays the manual registration result.
The method for manually searching the network can enable the terminal to initiate registration to the 5G NSA network after searching the 5G NSA network in the manual network searching mode.
In one possible implementation manner, the performing, by the PHY layer, a cell search and obtaining a third search result includes: the PHY layer analyzes a system message block 1SIB1 sent by the base station to obtain a PLMN corresponding to the target network; the PHY layer also parses the SIB2 to obtain the attributes of the target field. Through the technical scheme, the terminal can be registered in the network with the target network in the 5G NSA networking mode by simultaneously analyzing the SIB1 and the SIB 2.
In one possible implementation, the method further includes: and locking the access technology/networking mode corresponding to the target network. By the technical scheme, the access technology/networking mode under the current operator network can be locked, and a user can conveniently register in a target network through the access technology/networking mode for a long time.
In one possible implementation, the method further includes: when the exit condition is met, unlocking the access technology/networking mode corresponding to the target network, and selecting other access technologies/networking modes according to the terminal configuration; and when the quit condition is not met, continuing to lock the access technology/networking mode corresponding to the target network. By the technical scheme, the access technology/networking mode under the current operator network can be unlocked, and the user can update the target network registered by the terminal conveniently.
In a possible implementation manner, the exit condition includes that the PLMN changes when the target network is registered and the terminal exits the manual network searching mode. Through the technical scheme, the function of locking the access technology/networking mode corresponding to the target network can be quitted under the quitting condition, and a user can conveniently update the target network registered by the terminal according to the requirement.
In a second aspect, an embodiment of the present application provides a method for manually searching a network, where the method is applied to a terminal, and the terminal is in communication connection with a base station, and the method includes: displaying a network search interface, wherein the network search interface comprises a first control, and the first control indicates that the terminal is in an automatic network searching mode; the network search interface further comprises a first Public Land Mobile Network (PLMN) and a first network type corresponding to the first PLMN; responding to a first operation of the first control, and switching the automatic network searching mode into a manual network searching mode; and displaying a first option and a second option in the network search interface under the manual network search mode, wherein the first option comprises a second PLMN, a second network type corresponding to the second PLMN and a first networking mode, and the second option comprises a third PLMN, a third network type corresponding to the third PLMN and a second networking mode.
The method for manually searching the network provided by the embodiment of the application realizes that the 5G network under the NSA networking mode is identified and displayed when the terminal searches the surrounding operator network under the manual network searching mode, and solves the problem that the conventional terminal does not support the manual searching of the 5G NSA network.
In one possible implementation, the method further includes: and after the automatic network searching mode is switched to the manual network searching mode, executing manual network searching and obtaining a manual network searching result. Through the technical scheme, the 5G NSA network can be searched in a manual network searching mode.
In a possible implementation manner, the first PLMN and the first network type, the second PLMN and the second network type, and the third PLMN and the third network type are obtained by analyzing a system message block 1SIB1 sent by the base station; and obtaining the first networking mode and the second networking mode by analyzing a system message block 2SIB2 sent by the base station. Through the technical scheme, the terminal can search the 5G NSA network by simultaneously analyzing the SIB1 and the SIB 2.
In one possible implementation, the method further includes: registering with a target cell in the third PLMN through the second networking mode under the third network type in response to a second operation on the second option. By the technical scheme, the terminal can register to the 5G NSA network under a certain operator after searching to the 5G NSA network under the manual network searching mode.
In a possible implementation manner, the first networking mode is an independent networking SA mode, the second networking mode is a non-independent networking NSA mode, and the second network type and the third network type are both 5G. Through the technical scheme, the terminal can search the 5G NSA network in the manual network searching mode.
In a third aspect, an embodiment of the present application provides a terminal, including a processor, a memory, and a display screen; wherein the processor is coupled with the memory and the display screen; the memory to store program instructions; the processor is configured to read the program instruction stored in the memory, and implement the above manual network searching method in combination with the display screen.
In a fourth aspect, an embodiment of the present application provides a computer-readable storage medium, where program instructions are stored, and when the program instructions are executed on a terminal, the terminal is caused to execute the method for manually searching a network as described above.
In addition, the technical effects brought by the third to fourth aspects can be referred to the description related to the methods designed in the above methods, and are not repeated herein.
Drawings
FIG. 1 is a block diagram of a communication system to which embodiments of the present application are applicable;
fig. 2 is a schematic diagram of interface protocol layered communication of a terminal according to an embodiment of the present disclosure;
fig. 3 is a flowchart of a method for manually searching a network according to an embodiment of the present application;
FIG. 4 is a schematic diagram of a web search interface provided in an embodiment of the present application;
fig. 5 is a schematic diagram of a partial structural body of a System message Block 1(System Information Block Type1, SIB1) according to an embodiment of the present application;
6A-6C are display interface change diagrams after the available networks are searched by the method for manually searching the network according to the embodiment of the present application;
fig. 7 is a flowchart illustrating registration to a target network after a network is searched by using the method for manually searching a network according to the embodiment of the present application;
fig. 8 is a flowchart of another method for manually searching a network according to an embodiment of the present application;
fig. 9 is a schematic diagram of a partial structural body of a System message Block 2(System Information Block Type2, SIB2) according to an embodiment of the present application;
FIG. 10 is another schematic flow chart of another method for manually searching a network according to an embodiment of the present application;
FIG. 11 is a schematic diagram of another web search interface provided by an embodiment of the present application;
fig. 12 is a flowchart illustrating a network registration to a target network after the network is searched by using another method for manually searching a network according to an embodiment of the present application;
fig. 13 is a flowchart of a method for locking a networking mode according to an embodiment of the present application;
fig. 14 is a schematic structural diagram of an electronic device according to an embodiment of the present application;
fig. 15 is a block diagram of a software structure of an electronic device according to an embodiment of the present application.
Detailed Description
In the following, the terms "first", "second" are used for descriptive purposes only and are not to be understood as indicating or implying relative importance or implicitly indicating the number of technical features indicated. Thus, features defined as "first", "second", may explicitly or implicitly include one or more of the described features. In the description of the embodiments of the present application, words such as "exemplary" or "for example" are used to indicate examples, illustrations or illustrations. Any embodiment or design described herein as "exemplary" or "e.g.," is not necessarily to be construed as preferred or advantageous over other embodiments or designs. Rather, use of the word "exemplary" or "such as" is intended to present concepts related in a concrete fashion.
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 application. It should be understood that in this application, "/" indicates "or" means unless otherwise indicated. For example, A/B may represent A or B. In the present application, "and/or" is only one kind of association relation describing an associated object, and means that three kinds of relations may exist. For example, a and/or B, may represent: a exists alone, A and B exist simultaneously, and B exists alone. "at least one" means one or more. "plurality" means two or more than two. For example, at least one of a, b, or c, may represent: a, b, c, a and b, a and c, b and c, a, b and c.
The network architecture and the service scenario described in the embodiments provided in the present application are for more clearly illustrating the technical solutions of the embodiments of the present application, and do not constitute a limitation to the technical solutions provided in the embodiments provided in the present application, and as a person having ordinary skill in the art knows that along with the evolution of the network architecture and the appearance of a new service scenario, the technical solutions provided in the embodiments provided in the present application are also applicable to similar technical problems.
In the embodiments provided in the present application, a scenario in the communication system shown in fig. 1 is used as an example for a part of scenarios. It should be noted that the solutions in the embodiments provided in the present application may also be applied to other mobile communication systems, and the corresponding names may also be replaced with names of corresponding functions in other mobile communication systems.
Fig. 1 is a schematic architecture diagram of a communication system to which an embodiment of the present application is applicable. As shown in fig. 1, the communication system includes one or more terminals 101 (only one shown in fig. 1), and a base station 102. The base station 102 is a cell for providing access for the terminal 101. The terminal 101 may obtain configuration information of a cell provided by the base station 102 in an automatic network searching manner or a manual network searching manner, such as a frequency band (band) of the cell, a frequency point (frequency point), a physical cell identity (PID), a network identity of a Public Land Mobile Network (PLMN) to which the cell belongs, and an operator to which the cell belongs, so that the terminal 101 selects an access mobile network.
It should be understood that there may be one or more base stations 102 in the area of any one terminal. The terminal 101 may communicate with any one of a plurality of base stations 102.
Optionally, the communication system further includes a core network 103. The core network 103 sends a system message to the base station 102. The base station 102 receives the system message sent by the core network 103 and broadcasts the system message to the terminal 101. Terminal 101 receives a system message from base station 102.
In the embodiments provided in the present application, the base station may be any device that is located on the network side and has a wireless transceiving function, including but not limited to: an evolved Node B (NodeB or eNB or e-NodeB, evolved Node B) in a Long Term Evolution (LTE), a base station (gnnodeb or gNB) or a transmission point (TRP) in a New Radio (NR), a base station for a subsequent 3GPP evolution, an access Node in a Wi-Fi system, a wireless relay Node, a wireless backhaul Node, and the like. The base station may be: a macro base station, a micro base station, a pico base station, a small station, a relay station, or a balloon station, etc. A base station may contain one or more co-sited or non-co-sited Transmission points (TRPs). The base station may also be a radio controller, a Centralized Unit (CU), and/or a Distributed Unit (DU) in a Cloud Radio Access Network (CRAN) scenario. The base station may communicate with the terminal, or may communicate with the terminal through the relay station. The terminal may communicate with a plurality of base stations of different technologies, for example, the terminal may communicate with a base station supporting an LTE network, may communicate with a base station supporting a 5G network, and may perform dual connectivity with the base station supporting the LTE network and the base station supporting the 5G network.
In the embodiments provided in the present application, the terminal may be in various forms, for example, a mobile phone (mobile phone), a tablet (Pad), a computer with a wireless transceiving function, a Virtual Reality (VR) terminal device, an Augmented Reality (AR) terminal device, a wireless terminal in industrial control (industrial control), a vehicle-mounted terminal device, a wireless terminal in self driving (self driving), a wireless terminal in remote medical (remote medical), a wireless terminal in smart grid (smart grid), a wireless terminal in transportation security (smart transportation), a wireless terminal in city (smart city), a wireless terminal in smart home (smart home), a wearable terminal device, and the like. The embodiments of the present application do not limit the application scenarios. A terminal may also be referred to as a terminal device, User Equipment (UE), access terminal device, in-vehicle terminal, industrial control terminal, UE unit, UE station, mobile station, remote terminal device, mobile device, UE terminal device, wireless communication device, UE agent, or UE device, among others. The terminal may also be a fixed terminal or a mobile terminal.
It should be noted that the embodiments provided in the present application are applied in an environment including the 5th generation mobile communication technology (5G). Among them, the New Radio (NR) of 5G defines two types of networking modes, namely, Stand Alone (SA) networking mode and Non Stand Alone (NSA) networking mode. The independent networking mode of the 5G NR requires deployment of an end-to-end all-new network of the 5G system, including a new base station (En-gbb), a communication link (NR link), and a new generation core (next generation core), where the 5G system independently carries a complete Control Plane (CP) and a User Plane (UP). Therefore, the 5G system can work independently of the LTE system and independently provide communication services for users. In the non-independent networking mode, the 5G system needs to rely on the existing LTE system, that is, the NR system and the LTE system need to cooperate with each other to work, for example, a multi-access technology dual connectivity (MR-DC) mode is adopted, and the NR base station and the LTE base station are simultaneously connected with a user to provide a communication service for the user together.
It should be noted that the terminal includes an Application Processor (AP) and a Modem. The AP of the terminal is responsible for the operation of the user interface and the ANDROID operating system, and the Modem of the terminal is used for the underlying functions such as radio frequency communication (voice call, data service, network connection). The step of sending the message from the AP to the Modem end means that the AP sends the message to an RILD (radio Interface Layer daemon) thread, and then sends the message to an Interface of the Modem end through the RILD thread, and then communicates with the Modem through the Interface.
In practical application, an interface refers to an information interaction mode between different network elements, and interface protocols adopted during communication between different interfaces may be different. At present, the interface protocol of the wireless system is divided into three layers: an L1 physical layer (PHY), an L2 data link layer, and an L3 network layer. Fig. 2 illustrates an interface protocol layered communication of a terminal. As in fig. 2, the L1 physical layer PHY is located at the lowest layer and is primarily responsible for performing modem, antenna mapping, or other telecom physical layer functions.
The L2 Data link layer includes a Packet Data Convergence Protocol (PDCP) layer, a Radio Link Control (RLC) layer, and a Media Access Control (MAC) layer. The PDCP layer is mainly responsible for performing header compression to reduce bit traffic transmitted by the radio interface. The RLC layer is mainly responsible for processing such as segmentation and concatenation, and sequence control of higher layer data. The MAC layer is mainly responsible for hybrid automatic repeat request (HARQ) retransmission, uplink and downlink scheduling, and the like.
The L3 network layer includes a non-access stratum (NAS) layer and a Radio Resource Control (RRC) layer. The NAS layer may be used to transmit user information or control information, such as establishment and release of a 4G/5G communication link or service, and mobility management information. The protocol layers below the NAS layer may also be referred to AS Access Stratum (AS). The RRC layer supports signaling protocols for various functions between the terminal and the base station eNB, broadcasts system messages of the NAS layer and the AS layer, establishes, maintains and releases RRC connections, establishes, modifies and releases end-to-end radio bearers (e.g., radio access network links between the terminal and the base station), and performs mobility management including UE measurement reporting, cell handover and reselection functions.
In practical applications, the terminal may communicate with the base station through the L3 network layer to implement operations such as establishment and release of 4G and 5G access networks, which are described in detail in the following text.
The method for manually searching for a network provided by the embodiment of the present application will be specifically described below with reference to fig. 3 to 12.
Fig. 3 is a flowchart illustrating a method for manually searching a network according to an embodiment of the present application. The manual network searching method can be applied to the terminal shown in fig. 1.
S101, responding to the operation of starting the manual network searching mode, issuing a first request to an NAS layer, wherein the first request is used for starting a network list of search operators.
In the embodiment of the present application, in the manual network searching mode, for example, when the terminal is powered on or off or actively initiates a manual network searching, the AP of the terminal issues the first request to the NAS layer in response to the operation of starting the manual network searching mode. The NAS layer may instruct the access layer to search all Public Land Mobile Networks (PLMNs) in an area where the access layer is currently located, and then the access layer reports all searched PLMN information to the NAS layer, and displays all search results on a Network search interface for a user to view.
Specifically, the terminal can display a network search interface, and set a network search mode of the terminal through the network search interface. Specifically, referring to fig. 4, a schematic diagram of a network search interface provided in the embodiment of the present application is shown. The web search interface shown in FIG. 4 includes: a first control 401 and a second control 402.
Wherein: the first control 401 may be used to set the on/off state of the manual search mode. Specifically, the first control 401 has two display states, an "ON" state and an "OFF" state. When the first control 401 is displayed in an "ON" state, if a first operation of the first control 401 by a user is received, in response to the first operation, the automatic network searching mode is closed and the manual network searching mode is opened, that is, the terminal is switched from the automatic network searching mode to the manual network searching mode. While switching the first control 401 from the display "ON" state to the display "OFF" state. When the first control 401 is displayed in an "OFF" state, if a user operation of the first control 401 by a user is received, the manual network searching mode is closed and the automatic network searching mode is opened in response to the user operation, that is, the terminal is switched from the manual network searching mode to the automatic network searching mode. While switching the first control 401 from displaying the "OFF" state to displaying the "ON" state.
The second control 402 may be configured to display all networks searched by the terminal in the manual network searching mode or the automatic network searching mode. As shown in fig. 4, the second control 402 displays the network searched by the terminal in the manual mode, including: the first PLMN and a first network type corresponding to the first PLMN. For example, the first PLMN is china mobile, and the first network type is 4G/2G; the first PLMN is China telecom, and the first network type is 4G; and the first PLMN is China Unicom, and the first network type is 4G/3G.
In the embodiment provided by the application, the terminal can respond to the manual network searching operation of the user. For example, in response to the user closing the first control 401 as shown in FIG. 4. And then the AP of the terminal issues the first request to the NAS layer. It should be noted that, if the user interface for setting the network search mode by the terminal includes the manual search network switch, the AP may issue the first request to the NAS layer after responding to the manual search network switch turned on by the user.
S102, the NAS layer sends a second request to the RRC layer, wherein the second request is used for starting PLMN list search.
In the embodiment of the application, after receiving the first request issued by the AP side, the NAS layer sends a second request for starting PLMN list search to the RRC layer, so as to expect to search all PLMNs in an area where the terminal is currently located.
S103, the RRC layer sends a third request to the PHY layer, wherein the third request is used for starting the full-band cell search.
In the embodiment of the present application, after receiving the second request issued by the NAS layer, the RRC layer sends a third request for starting the full-band cell search to the PHY layer. The full-band cell search information is used for scanning frequency band information and frequency point information of a cell with a stronger signal on each frequency band of each system supported by the terminal. For example, if the terminal currently supports LTE, the RRC layer sends a message to start full-band cell search under LTE to the PHY layer; if the terminal currently supports a Mobile communication System (UMTS), the RRC layer sends a message to start a full band cell search under UMTS to the PHY layer; if the terminal currently supports Global System for Mobile Communications (GSM), the RRC layer sends a message to the PHY layer to initiate a full band cell search under GSM. It can be understood that the terminal can simultaneously support multiple network systems such as LTE, UMTS, and GSM. Then, the terminal needs to scan and search all frequency bands of multiple network systems of LTE, UMTS, and GSM.
S104, the PHY layer performs a cell search and obtains a search result, where the search result includes a cell Identifier (ID), a network Identifier (ID), and a network type. It will be appreciated that the network identity may be the PLMN of the operator. The network types may include 2G, 3G, 4G, 5G, and higher network types (e.g., 6G), and so on.
In the embodiment provided by the application, the cell search is performed by full-band scanning, and after the search is finished, the search result is presented through the system message, and the corresponding cell information is obtained by reading the system message. For LTE, the received System message includes a Master Information Block (MIB)/System message Block 1(System Information Block Type1, SIB1), from which PLMN, Physical cell-ID (PCI), Tracking Area identity (TAC) parameters, and the like, corresponding to the cell, can be obtained. For UMTS, the received system message includes MIB, from which the PLMN corresponding to the cell is obtained, etc. For GSM, the received System message includes (System Information Type3, SI3), from which PLMN, location area identifier (LAC) parameters, etc. corresponding to the cell are obtained.
Specifically, a process that a PHY layer performs cell search and obtains a search result is described by taking a first network system LTE as an example, a NAS layer initiates a command of searching a PLMN for a network, an LTE RRC (LRRC for short) searches an available PLMN, and initiates a frequency sweep command to an LTE PHY layer (LPHY for short); and the LPHY layer performs full-band scanning to obtain candidate frequency points. For example, the candidate frequency points freq0 and freq1 … freqN. And the candidate frequency point is the frequency point of which the energy of the frequency point is higher than the set energy threshold. The LPHY layer performs cell detection on each candidate frequency point and detects the cell ID of the physical layer. For example, the LPHY layer performs cell detection on the candidate frequency point freq0 to obtain a cell 0. And then the LRRC sends a command for decomposing the system message of the cell to the LPHY layer, and the PLMN information is obtained after the system message is decomposed by the LPHY layer. And if the LPHY layer successfully releases the system information from the cell0, storing freq0 in the filtering frequency point list, and sending a message that the system information is successfully released from the cell0 to the LRRC. And if the PHY layer fails to solve the system message of the cell0, sending a message of cell detection failure to the LRRC. And sequentially carrying out cell detection on the remaining candidate frequency points according to a cell detection method for freq 0.
In more detail, after acquiring the candidate frequency point, the LPHY layer considers that the candidate frequency point may exist in an LTE cell, and tries to match a Primary Synchronization Signal (PSS). The LPHY layer attempts to match the PSS at the center frequency point of the candidate frequency points where LTE cells may exist. For example, the LPHY layer receives the PSS at around the center frequency and performs code domain matching to obtain the cell ID in the cell group, and performs slot synchronization at the same time, and after slot synchronization, searches for a Secondary Synchronization Signal (SSS) on the basis of the PSS, and implements frame synchronization. Since the SSS signal carries the cell group ID, the PCI can be obtained in combination with the PSS received before. Wherein, PCI is PSS +3 XSSS. After the PSS/SSS is swept in the frequency domain and matched with the time domain and the code domain, the downlink time and frequency synchronization of the strongest cell is obtained, and therefore the time slot and the frequency are accurately synchronized. Then the LPHY layer executes the system resolving message on the cell corresponding to the PCI. And the system message is used for trying to resolve the network identification carried by the system message. The system message includes MIB and System Information Block (SIB). The MIB is carried on a Physical Broadcast Channel (PBCH), and can be obtained by demodulating PBCH Payload. The MIB includes information such as a system bandwidth, a PHICH resource, antenna number configuration, and a System Frame Number (SFN).
Since PBCH carries limited system messages, more detailed system messages are carried by SIBs, and thus it is necessary to receive the SIBs. That is, the terminal needs to receive Broadcast Control Channel (BCCH) information carried on a Physical Downlink Shared Channel (PDSCH). Specifically, a Physical Control Format Indicator Channel (PCFICH) is received, at this time, a frequency domain RBG resource of the Channel can be estimated according to the PCI, and a symbol Count (CFI) of a Physical Downlink Control Channel (PDCCH) can be obtained by receiving and decoding the PCFICH; and searching candidate PDCCHs sent to SI-RNTI (antenna network identifier) in a common search space of a PDCCH channel domain, if one candidate PDCCH is found and passes the related CRC check, indicating that the corresponding SIB message is provided, then receiving the PDSCH, and demodulating the corresponding SIB content in the PDSCH.
The SIBs include SIB1 to SIB18, and different SIBs include different information. For example, SIB1 primarily contains the environmental conditions for the terminal to access the cell and defines the scheduling information for other systems. The environment conditions mainly include a Mobile Country Code (MCC), a Mobile Network Code (MNC), power information for cell selection, and the like, wherein PLMN information can be obtained according to the Mobile Country Code MCC and the Mobile Network number MNC; the SIB2 mainly contains radio resource configuration information for all terminals. In the embodiments provided in the present application, by demodulating the corresponding SIB1 in the PDSCH, the corresponding PLMN information can be obtained. As shown in fig. 5, by analyzing the SIB1 information, it can be known that the PLMN is 46000, thereby determining that the operator network is china mobile.
In the embodiments provided in the present application, the search result may further include information such as network signal strength. The network signal strength may include parameters such as Received Signal Code Power (RSCP) and/or Received Signal Strength Indication (RSSI).
It should be noted that, as a possible embodiment of the present application, in combination with fig. 8 below, the method provided in this embodiment of the present application further includes, before S104:
s104a, the base station sends a system message to the terminal. The system message is used for determining a networking mode supported by a target network, and the target network is a network accessed by the base station. It should be understood that the base station in S104a may be a base station to which the terminal has access.
In one implementation manner of S104a, the terminal sets the network type of the base station that is preferentially accessed in advance. When the terminal is in the area to stay in the network, the terminal can be preferentially accessed to a base station with a preset network system. Taking the base station in which the area includes both LTE and NR systems as an example, if the terminal is set to access the LTE base station preferentially. The terminal determines a base station list of the area (the base station list comprises both the LTE base station and the NR base station), and the terminal preferentially resides in the LTE base station. After the terminal completes camping in the corresponding base station, the base station may send a system message to the terminal.
S104b, the terminal receives the system message from the base station.
S105, the PHY layer returns the search result to the RRC layer.
In the embodiment provided by the application, after searching all PLMN information of the current cell, the PHY layer returns the PLMN information to the RRC to implement reporting. For example, the PHY layer merges a PLMN list (PLMN list) searched in the network LTE, a PLMN list searched in the UMTS, and a PLMN list searched in the GSM, and returns the merged PLMN list to the RRC layer.
S106, the RRC layer returns the search result to the NAS layer.
In the embodiment provided by the present application, after receiving the search result returned by the PHY layer, the RRC layer needs to continue reporting to the NAS layer.
S107, the NAS layer feeds back a search result to the AP, wherein the search result comprises a result list.
In an embodiment provided by the present application, the NAS layer feeds back a search result to the AP, where the NAS layer merges all searched available networks and generates a result list, where the result list is list information including PLMNs and Radio Access Technologies (RATs). It should be noted that the result list may further include different network identifiers corresponding to different network types, as shown in table 1. For example, the network identifier PLMN1 corresponds to a network type of 2G; a network identifier PLMN2, the corresponding network type being 3G; a network identifier PLMN3, the corresponding network type being 4G; the network identifier PLMN4 corresponds to a network type of 5G. It will be appreciated that the result list may also include higher level network types, which are not described in detail herein.
TABLE 1
Serial number Network identification Network type
1 PLMN1 2G
2 PLMN2 3G
3 PLMN3 4G
4 PLMN4 5G
And S108, displaying the result list on the network search interface by the AP.
Fig. 4 is a network search interface according to an embodiment of the present application, where the network search interface displays all networks searched by the terminal in the manual network searching mode. That is, after the terminal searches the network frequency bands under all network types, all the searched network identifiers and the corresponding network types are displayed on a network search interface. For example, the terminal in fig. 4 searches that all networks in the current area include china mobile 4G/2G, china telecom 4G and china unicom 4G/3G (forbidden).
In another embodiment provided by the present application, after the network frequency band search under a certain network system is completed, the result searched under the network type can be immediately displayed on the network search interface. Therefore, in the whole network searching process, the terminal can display the searching results in the network frequency bands under different network modes on the network searching interface in sequence. For example, the terminal may search for the 5G network first, and after the 5G network is searched, the searched result is displayed on the network search interface in time, for example, 5G may be displayed first in the interface shown in fig. 6A; then the terminal device performs 4G network search, and displays the searched result on a network search interface in time, such as 5G and 4G can be displayed in the interface shown in FIG. 6B; and then the terminal searches for the 3G network, if no available 3G network is searched, the terminal does not display the network search interface, and finally the terminal searches for the 2G network, and if the available 2G network is searched, the terminal can display 5G, 4G and 2G in the interface shown in FIG. 6C.
It is understood that after the user manually searches all networks in the area where the terminal is currently located, the user may select an available network to register. Specifically, the user may click a target network in the result list displayed on the network search interface, trigger to specify a network identifier corresponding to the search target network, and register the network identifier to the target network, which refers to fig. 7 for a specific flow. For example, a user clicking on china mobile 5G as shown in fig. 6B may trigger a specific search for china mobile 5G and register on the china mobile 5G network.
Fig. 7 is a schematic diagram of a registration process of a target network provided in an embodiment of the present application to explain a process of a method for manually registering to the target network after all networks in an area where a terminal is currently located are searched, where the method specifically includes the following steps:
s201, responding to the operation of selecting the target network by the user, the AP sends a fourth request to the NAS layer, wherein the fourth request is used for requesting to register the target network.
After all the networks supported by the terminal are searched through manual network searching, a user can select a target network to register according to the requirement of the user. Specifically, the user may click on one target network as shown in fig. 4, and the AP sends a fourth request for registering the target network to the NAS layer in response to the operation of the user click. For example, the user may click on china mobile 4G/2G in fig. 4, and the AP sends a fourth request for registering china mobile 4G/2G to the NAS layer in response to the user click operation.
S202, the NAS layer sends a fifth request to the RRC layer, wherein the fifth request is used for starting target PLMN search in a system corresponding to the target network.
In the embodiment of the application, after receiving the fourth request issued by the AP side, the NAS layer sends a fifth request for starting a target PLMN search in a system corresponding to the target network to the RRC layer, so as to expect to search for the target PLMN in the system corresponding to the target network. For example, the NAS layer sends a message to the RRC layer to start searching for a target PLMN corresponding to the china mobile in the LTE scheme.
S203, the RRC layer sends a sixth request to the PHY layer, wherein the sixth request is used for executing cell search in a system corresponding to the target network.
In the embodiment of the application, after the RRC layer receives a target PLMN search request in a system corresponding to a target network started and issued by the NAS layer, the RRC layer re-scans information of each cell in the target PLMN to achieve downlink synchronization with the scanned target cell, thereby initiating a registration request to the target cell.
And S204, the PHY layer executes cell search and obtains a search result, wherein the search result comprises a network identifier, a network type and a target cell corresponding to the target network. It will be appreciated that the network identity may be the PLMN of the operator. The network types may include 2G, 3G, 4G, 5G, and higher network types (e.g., 6G), and so on.
The target cell may be a cell with the best signal quality or the highest priority in the scanned cell set.
The specific implementation of step S204 may refer to the implementation of S104 in fig. 3, and is not described herein again.
S205, the PHY layer returns the cell search result to the RRC layer.
For example, the PHY layer returns the target cell information searched under the network type corresponding to the target network to the RRC layer.
S206, the RRC layer returns the PLMN search result to the NAS layer.
For example, the RRC returns the PLMN list corresponding to the target cell information searched by the PHY layer to the NAS layer.
And when the searched PLMN is determined to be matched with the target PLMN in the fifth request issued by the NAS layer, the RRC layer returns the PLMN searching result to the NAS layer so as to inform the NAS layer to execute network registration.
S207, the NAS layer initiates a network registration request to the PHY layer.
After selecting the target PLMN, rescanning the cell information under the target PLMN to realize downlink synchronization with the scanned target cell, thereby initiating a registration request to the target cell.
S208, the PHY layer returns the network registration result to the NAS layer.
The PHY layer executes a network registration process and returns a network registration result to the NAS layer. For example, the PHY layer returns the result of successful network registration to the NAS layer. Specifically, the network registration process includes the following steps: the method comprises the steps of cell search, random access, terminal initiated attachment request, authentication and information encryption of user identity, deletion of a bearer left by a user, request of a new Mobility Management node (MME) to a Home Subscriber Server (HSS) for subscription data of the terminal, deletion of user information in an old MME, establishment of default bearer by MME instruction, successful attachment, establishment of a default bearer channel and user allocation of an IP address.
S209, the NAS layer returns the target network searching result to the AP.
And after the successful registration, the NAS layer returns the target network search result to the AP.
And S210, displaying the manual registration result by the AP.
For example, the terminal adds a prompt window in the network search interface, and the prompt window can be used for displaying prompt information. The prompt message is used for prompting the user terminal to successfully register the target network.
It should be noted that, in the manual network searching process, when the system information is solved, only the SIB1 is generally analyzed to obtain PLMN information, and it is not specific whether the LTE access technology or the NSA networking mode is adopted. Therefore, when the user searches for the 5G network in the manual network searching mode, the user can only manually initiate registration with the 5G SA network of a certain operator, but does not support manual initiation of registration with the 5G NSA network of a certain operator. For example, when a user performs a manual network searching operation to search for a surrounding operator network, the 5G network in the NSA mode cannot be identified, that is, the 5G NAS network can only be displayed as a 4G network in a manually searched result list, such as a china mobile 4G/2G network shown in fig. 4. In order to solve the problem, the present application provides a method for manually searching a network, which is applied in a terminal and can manually search a 5G network in an NSA mode, and a specific flow is shown in fig. 8.
S301, responding to the operation of starting the manual network searching mode, searching the operator network list of the area where the terminal is located.
In the embodiment provided by the application, in response to an operation that a user starts a manual network searching mode, an AP of a terminal issues a first request to an NAS layer, where the first request is used to search an operator network list in the manual network searching mode; then the NAS layer sends a second request to the RRC layer, wherein the second request is used for supporting searching of an operator network list in an NSA networking mode; and scanning all operator networks in the NSA networking mode on the PHY layer to obtain an operator network list of the area where the terminal is located.
In the embodiment provided by the present application, when the NAS layer sends the second request to the RRC layer, a first field identifier is added in the second request, where the first field identifier is used to support the terminal to search for an operator network list in the 5G NSA networking mode.
It should be noted that, before S301, the method provided in the embodiment of the present application further includes: s301a and S301 b. The specific implementation manners of S301a and S301b may refer to the implementation manners of S104a and S104b in fig. 3, and are not described herein again.
S302, the terminal executes full-band cell search in the LTE mode and obtains a search result, wherein the search result comprises a cell ID, a network identification, a network type and an access technology/networking mode.
In the embodiment provided by the present application, the LRRC layer sends a request for starting a full-band cell search in an LTE scheme to the LPHY layer. Specifically, a second field identifier is added in a cell search request issued by the LRRC layer to the LPHY layer, so that the terminal can scan a cell supporting resolution of the SIB 2. Wherein the second field identifies a SIB2 for supporting a terminal to resolve during a cell search procedure. For example, a second field identification "isenablebsib 2" is added to the CELL SEARCH REQUEST CELL _ SEARCH _ REQUEST issued by the RRC to the PHY layer.
The specific implementation of step S302 may refer to the implementation of S104 in fig. 3, and is not described herein again. It should be noted that the difference between step S302 and step S104 is that after the step S302 has analyzed the SIB1 to obtain PLMN information, it is necessary to analyze the SIB2 to determine whether the 5G NSA networking mode can be searched.
And S303, determining whether the anchor cell exists according to the search result. When the anchor cell exists in the search result, S304 is executed, and then S305 is executed; when the anchor cell does not exist in the search result, S306 is performed, followed by S305.
In the embodiment provided by the present application, in order to search for a 5G NSA networking mode, it is required to determine whether anchor cells exist in all cells searched in an LTE system.
Specifically, the method for determining whether the anchor cell exists according to the search result comprises the following steps:
(a) resolving the SIB2, and determining whether the attribute of the target field in the SIB2 is true; performing (b) when the attribute of the target field in the SIB2 is not true; when the attribute of the target field in the SIB2 is true, it is determined that an anchor cell exists in the search result, and S304 is performed.
Illustratively, the target field is the upper Layer Indication field in SIB 2. For example, when the upper Layer Indication field shown in fig. 9 is true, the attribute of the target field in SIB2 is determined to be true, and it is determined that an anchor cell exists in the search result, and S304 is performed. If the attribute of the target field in SIB2 is not true, it is determined that there is no anchor cell in the search result.
(b) Determining whether a target cell ID exists in a preset list; when the target cell ID exists in the preset list, determining that an anchor cell exists in the search result, and executing S304; when the target cell ID does not exist in the preset list, it is determined that the anchor cell does not exist in the search result, and S306 is performed.
The target Cell ID may be a Global Cell Identity (GCI) of the target Cell, and the preset list includes a priori anchor point Cell list and a cloud preset anchor point Cell list; if the GCI of the target cell exists in the preset list, determining the target cell as an anchor cell; and if no GCI of the target cell exists in the preset list, determining that no anchor cell exists in the search result.
In other embodiments, it may also be determined whether an anchor cell exists in the cell IDs in the search result by determining whether the target cell ID exists in other known anchor cell lists, which is not limited in this application.
S304, reporting a search result, wherein the search result comprises all PLMN lists in the NSA networking mode.
After searching all PLMN lists under the NSA networking mode, the PHY layer returns a search result to the RRC layer, the RRC layer returns the search result to the NAS layer, and the NAS layer feeds the search result back to the AP. Therefore, the search results can be displayed to the user for checking through layer-by-layer reporting. For example, the NAS layer receives the search result reported by the LRRC layer. If the NSA networking mode exists in the search result, marking the current PLMN to simultaneously support the 4G and 5G NSA networking modes; and if the NSA networking mode does not exist in the search result, marking the current PLMN to support only 4G.
S305, the terminal displays the search result on a network search interface.
In the embodiment provided by the present application, the NAS layer feeds back the search result to the AP, where the search result includes all PLMN lists in the NSA networking mode, as shown in table 2. It should be noted that different network identifiers in the result list correspond to different network types and access technologies/networking modes. For example, the network identifier PLMN1 has a corresponding network type of 4G and an access technology TD-LTE; the network identifier PLMN2, the corresponding network type is 3G, the access technology is WCDMA; the network identifier PLMN3, the corresponding network type is 5G, and the networking mode is SA or NSA; the network identifier PLMN4, the corresponding network type is 5G, and the networking mode is SA; the network identifier PLMN5 corresponds to a network type of 5G, and the networking mode is NSA. It will be appreciated that the result list may also include higher level network types (e.g., 6G), which are not described in detail herein.
TABLE 2
Serial number Network identification (PLMN) Network type Access technology/networking mode
1 PLMN1 4G TD-LTE
2 PLMN2 3G WCDMA
3 PLMN3 5G SA、NSA
4 PLMN4 5G SA
5 PLMN5 5G NSA
And S306, reporting a search result, wherein the search result comprises all PLMN lists in the LTE network mode.
When determining that no anchor cell exists, the PHY layer reports search results including all PLMN lists in an LTE network system to the AP layer by layer.
Fig. 10 is a flowchart of another method for manually searching a network according to an embodiment of the present application, where the method may be applied to multiple application scenarios (for example, the scenario shown in fig. 1), where a terminal and a base station have already established a communication connection, and the method for manually searching a network specifically includes the following steps shown in fig. 10. In conjunction with the above description of fig. 8, the method for manually searching for a network shown in fig. 10 will be described in detail below. In the embodiments of the present application, a terminal is taken as an example of an execution subject of the execution method, and the method is described. By way of example and not limitation, the execution subject of the execution method may also be a chip, a system-on-chip, a processor, or the like, applied to the terminal.
S401, responding to the operation of starting the manual network searching mode, the AP issues a first request to the NAS layer, wherein the first request is used for searching an operator network list in the manual network searching mode.
The specific implementation of step S401 may refer to the implementation of S101 in fig. 3, and is not described herein again.
S402, the NAS layer sends a second request to the LRRC layer, wherein the second request is used for supporting searching of an operator network list in an NSA networking mode.
In the embodiment of the present application, after receiving the first request issued by the AP side, the NAS layer sends a PLMN list search request (i.e., a second request) for starting the NSA networking mode to the LRRC layer, so as to expect to search all operator networks in the NSA networking mode, and obtain an operator network list.
In the embodiment provided by the present application, when the NAS layer sends the second request to the LRRC layer, a first field identifier is added to the second request, where the first field identifier is used to support the terminal to search for an operator network list in the 5G NSA networking mode.
And S403, the LRRC layer sends a third request to the LPHY layer, wherein the third request is used for starting full-band cell search in the LTE system.
In the embodiment provided by the present application, the LRRC layer sends a request for starting a full-band cell search in an LTE scheme to the LPHY layer. Specifically, a second field identifier is added in a cell search request issued by the LRRC layer to the LPHY layer, so that the terminal can scan a cell supporting resolution of the SIB 2. Wherein the second field identifies a SIB2 for supporting a terminal to resolve during a cell search procedure. For example, a second field identifier "isenablsib 2" is added to a CELL SEARCH REQUEST CELL _ SEARCH _ REQUEST issued by the RRC to the PHY layer.
S404, the LPHY layer executes full-band cell search in the LTE system and obtains search results, wherein the search results comprise cell IDs, network identifications and access technologies/networking modes.
It can be understood that when the LPHY layer performs full-band cell search in the LTE system, the cell ID and the network identification information are obtained by analyzing the SIB 1; and then whether the 5G NSA networking mode can be searched is confirmed by resolving the SIB 2.
S405, the LPHY layer returns the search result to the LRRC layer and determines whether the anchor cell exists in the search result.
In the embodiment provided by the application, in order to enable the terminal to implement a 5G NSA networking mode in the target network, the 5G service is used to improve the user perception, and it is required to determine whether anchor cells exist in all cells searched in an LTE system. If the anchor point cell exists, the terminal is transferred to the anchor point cell and stable occupation is ensured, so that the terminal can implement a 5G NSA networking mode; and if the anchor cell does not exist, determining that the access technology of the terminal in the target network is 4G LTE, and implementing the 4G LTE access technology by the terminal.
Specifically, the method for determining whether an anchor cell exists in a search result includes:
(a) resolving the SIB2, and determining whether the attribute of the target field in the SIB2 is true; performing (b) when the attribute of the target field in the SIB2 is not true; when the attribute of the target field in the SIB2 is true, it is determined that an anchor cell exists in the search result, and S406 is performed.
Illustratively, the target field is the upper Layer Indication field in SIB 2. For example, when the upper Layer Indication field shown in fig. 9 is true, the attribute of the target field in SIB2 is determined to be true, and it is determined that an anchor cell exists in the search result, and S406 is performed. If the attribute of the target field in SIB2 is not true, it is determined that there is no anchor cell in the search result.
(b) Determining whether the target cell ID exists in a preset list or not; when the target cell ID exists in the preset list, determining that an anchor cell exists in the search result, and executing S406; when the target cell ID does not exist in the preset list, it is determined that the anchor cell does not exist in the search result, and S407 is performed.
The target Cell ID may be a Global Cell Identity (GCI) of the target Cell, and the preset list includes a priori anchor point Cell list and a cloud preset anchor point Cell list; if the GCI of the target cell exists in the preset list, determining the target cell as an anchor cell; and if the GCI of the target cell does not exist in the preset list, determining that the anchor point cell does not exist in the search result. In other embodiments, whether an anchor cell exists in the cell IDs in the search result may also be determined by determining whether the target cell ID exists in other known anchor cell lists, which is not limited in this application.
S406, the LRRC layer returns the search result to the NAS layer, wherein the search result comprises all PLMN lists in the NSA networking mode.
In the embodiment provided by the present application, after receiving the search result returned by the LPHY layer, the LRRC needs to continue reporting to the NAS layer. And reporting the search result in a PLMN list and a corresponding network system form. For example, in the embodiment provided in the present application, the searched PLMN information and LTE information may be reported to the NAS layer.
S407, the LRRC layer returns the search result to the NAS layer, wherein the search result comprises all PLMN lists in the LTE network mode.
S408, the NAS layer feeds back the search result to the AP, wherein the search result comprises a result list.
In an embodiment provided by the present application, the NAS layer feeds back a search result to the AP, where the search result includes a result list. If it is determined that the anchor cell does not exist in the search result, the NAS layer feeds back a result list shown in table 1 to the AP. If it is determined that the anchor cell exists in the search result, the NAS layer feeds back a result list shown in table 2 to the AP. Specifically, the NAS layer reports PLMN and RAT list information on the AP side, and adds a 5G NSA networking mode to the RAT field.
And S409, displaying the result list on the network search interface by the AP.
After the upper layer application AP receives the PLMN and RAT list information reported by the NAS layer, the corresponding NSA networking mode is shown as 5g (NSA). That is, when the 5G NSA networking mode is searched, the result list may be displayed on the network search interface as shown in fig. 11. The web search interface shown in fig. 11 includes: a first control 501, a first option 502, a second option 503, and a third option 504.
The specific implementation of the first control 501 may refer to the implementation of the first control 401 shown in fig. 4, and is not described herein again.
The first option 502 includes a second PLMN, a second network type corresponding to the second PLMN, and a first networking mode. For example, the second PLMN is china mobile, the second network type is 5G, and the first networking mode is SA networking mode.
The second option 503 includes a third PLMN, a third network type corresponding to the third PLMN, and a second networking mode. For example, the third PLMN is china mobile, the third network type is 5G, and the second networking mode is NSA networking mode.
A third option 504 includes a fourth PLMN, a fourth network type and an access technology corresponding to the fourth PLMN. For example, the fourth PLMN is china mobile, the fourth network type is 4G, and the access technology is TD-LTE.
That is, the terminal searches all networks in the current area under the manual network searching mode, including china mobile 4G, china mobile 5G (nsa) and china mobile 5G (sa).
It should be noted that, after the network frequency band search under a certain network system is completed, the result searched under the network system can be immediately displayed on the user interface. In the whole network searching process, the terminal may sequentially display the results of searching in the network frequency bands under different network systems on the user interface, and please refer to the embodiment of S108 in fig. 3 for a detailed description, which is not described herein again.
It should be understood that after searching all the current network operator lists of the terminal, the user may click on the target available network in the network operator list for registration. Triggering and specifying the network identifier corresponding to the search target network, and registering the network identifier to the target network, please refer to fig. 12 for a specific flow. For example, in response to the second operation on the second option 503 in fig. 11, the third PLMN is registered to the target cell of chinese mobility through the second networking mode NSA under the third network type 5G.
S501, responding to the operation of selecting the target network by the user, the AP sends a fourth request to the NAS layer, wherein the fourth request is used for requesting to register the target network.
After all the networks supported by the terminal are searched through manual network searching, a user can select a target network to register according to the requirement of the user. Specifically, the user may click on the target network in the result list as in fig. 11, and the AP sends a fourth request for registering the target network to the NAS layer in response to the operation of the user click. For example, the user may click on "china mobile 5g (nsa)", as in fig. 11, actively triggering the initiation of registration with the NAS network (anchor cell) of china mobile (46000). The AP sends a fourth request for registering china mobile 5g (nsa) to the NAS layer in response to the user click operation. And the AP supports the networking mode with the NSA in a fourth request issued to the Modem side.
And S502, the NAS layer sends a fifth request to the RRC layer, wherein the fifth request is used for starting PLMN list search in a system corresponding to the target network.
In the embodiment of the application, after receiving the fourth request issued by the AP side, the NAS layer sends a fifth request for starting PLMN list search in a system corresponding to the target network to the RRC layer, so as to expect to search all PLMNs in the system corresponding to the target network. The fifth request may be a PLMN _ SEARCH request. For example, the NAS layer sends a message to the RRC layer to start searching all PLMN lists in the china mobile 5g (nsa) networking mode in the NR standard.
S503, the RRC layer sends a sixth request to the PHY layer, wherein the sixth request is used for executing cell search in a system corresponding to the target network. For example, the sixth request specifies that only anchor cells in NSA networking mode are to be searched.
S504, the PHY layer executes cell search and obtains a search result, wherein the search result comprises a network identifier, a network type and a target cell corresponding to the target network.
The specific implementation of step S504 may refer to the implementation of S204 in fig. 7, and is not described herein again.
And S505, the PHY layer returns the cell search result to the RRC layer.
For example, the PHY layer returns the target cell information searched under the network type corresponding to the target network to the RRC layer.
S506, the RRC layer returns the PLMN searching result to the NAS layer.
For example, the RRC first determines whether the target cell is an anchor cell. And when the target cell is determined to be the anchor cell, returning the PLMN list corresponding to the target cell information searched by the PHY layer to the NAS layer. And when the searched PLMN is determined to be matched with the target PLMN in the fifth request issued by the NAS layer, the RRC layer returns the PLMN searching result to the NAS layer so as to inform the NAS layer to execute network registration.
S507, the NAS layer initiates a network registration request to the PHY layer.
After selecting the target PLMN, issuing a request for initiating network registration on the searched anchor point cell, and returning successful network registration information of a 5G NSA networking mode under the specified PLMN to an upper layer after successful registration.
S508, the PHY layer returns the network registration result to the NAS layer.
In the embodiment provided by the present application, a registration result of successfully registering the 5G NSA networking mode is returned to the NSA layer.
S509, the NAS layer returns the target network registration result to the AP.
And after the registration is successful, the NAS layer returns a target network searching result to the AP.
S510, the AP displays the manual registration result.
For example, the terminal adds a prompt window on the user interface, and the prompt window can be used for displaying prompt information. The prompt message is used to prompt the user terminal to register the target network (e.g. china mobile 5g (nsa)) successfully.
In the embodiment provided by the application, when a network list of a certain operator is searched, different networking modes of the current operator can be locked. For example, when a 5G network list of china mobile is searched, the 5G NSA networking mode of china mobile can be locked. Specifically, as shown in fig. 13, the method for locking networking mode includes:
s601, responding to the target network in the click search result, and registering the target network.
The specific implementation of step S601 may refer to the implementation described in fig. 12, and is not described herein again.
S602, locking the access technology/networking mode of the target network.
When a 5G network list of a certain operator is searched, a user can lock a 5G networking mode under the current operator by directly clicking a corresponding menu item. Specifically, a networking mode corresponding to the PLMN when the target network is registered is locked. If the menu of 'china mobile 5G (NSA)' is clicked, the 5G network mode under china mobile (46000) can be locked as an NSA networking mode, i.e. network searching and registration aiming at the SA cell are not initiated any more; otherwise, clicking the menu of 'china mobile 5G (SA)', locks the 5G network mode under china mobile (46000) to the SA networking mode.
S603, determining whether the terminal meets the condition of quitting the locked access technology/networking mode, and executing S604 when the condition of quitting is met; when the exit condition is not satisfied, the process returns to S602.
In an embodiment provided by the present application, the exit condition includes that a PLMN changes when the target network is registered and the terminal exits the manual network searching mode. Specifically, when the PLMN of the registration target network changes, S604 is executed; when the PLMN registered with the target network is not changed, the terminal continues to perform the function of locking the access technology/networking mode. When the terminal exits the manual network searching mode (for example, the user clicks the first control 401 in fig. 4), that is, when the terminal determines to use the automatic network searching mode, the terminal releases the function of locking the access technology/networking mode, and S604 is executed; when the terminal does not exit the manual network searching mode, the terminal continues to execute the function of locking the access technology/networking mode, and executes S602.
S604, unlocking the access technology/networking mode corresponding to the target network, and selecting other access technology/networking mode according to the terminal configuration.
In the embodiment provided by the application, when the terminal meets the condition of exiting from the locked access technology/networking mode, the access technology/networking mode of the target network is unlocked, and the terminal selects other access technology/networking mode according to self configuration. For example, when the terminal exits the manual network searching mode, the automatic network searching mode is started, and the terminal performs automatic network searching and automatic registration according to the current area. When the terminal responds to the operation of changing the user to register on other PLMN, the terminal also exits from the locking access technology/networking mode, registers to other PLMN, and implements the access technology/networking mode corresponding to other PLMN. In this way, the target network can be searched and locked in the manual network searching mode, for example, the 5G networking mode of the current operator is locked as the NSA mode or the SA mode. The terminal is convenient to register to the target network through the locked access technology/networking mode for a long time.
In the embodiments provided in the present application, the terminal 101 may be an electronic device, and the electronic device 100 related to the embodiments of the present application is described below. Referring to fig. 14, fig. 14 is a schematic structural diagram of an electronic device 100 according to an embodiment of the present disclosure.
The electronic device 100 may include a processor 110, an external memory interface 120, an internal memory 121, a Universal Serial Bus (USB) interface 130, a charging management module 140, a power management module 141, a battery 142, an antenna 1, an antenna 2, a mobile communication module 150, a wireless communication module 160, an audio module 170, a speaker 170A, a receiver 170B, a microphone 170C, an earphone interface 170D, a sensor module 180, a button 190, a motor 191, an indicator 192, a camera 193, a display screen 194, a Subscriber Identity Module (SIM) card interface 195, and the like. The sensor module 180 may include a pressure sensor 180A, a gyroscope sensor 180B, an air pressure sensor 180C, a magnetic sensor 180D, an acceleration sensor 180E, a distance sensor 180F, a proximity light sensor 180G, a fingerprint sensor 180H, a temperature sensor 180J, a touch sensor 180K, an ambient light sensor 180L, a bone conduction sensor 180M, and the like.
It is to be understood that the illustrated structure of the embodiment of the present invention does not specifically limit the electronic device 100. In other embodiments of the present application, electronic device 100 may include more or fewer components than shown, or some components may be combined, some components may be split, or a different arrangement of components. The illustrated components may be implemented in hardware, software, or a combination of software and hardware.
Processor 110 may include one or more processing units, such as: the processor 110 may include an Application Processor (AP), a modem processor, a Graphics Processor (GPU), an Image Signal Processor (ISP), a controller, a video codec, a Digital Signal Processor (DSP), a baseband processor, and/or a neural-Network Processor (NPU), among others. The different processing units may be separate devices or may be integrated into one or more processors.
The controller can generate an operation control signal according to the instruction operation code and the timing signal to complete the control of instruction fetching and instruction execution.
A memory may also be provided in processor 110 for storing instructions and data. In some embodiments, the memory in the processor 110 is a cache memory. The memory may hold instructions or data that have just been used or recycled by the processor 110. If the processor 110 needs to reuse the instructions or data, it can be called directly from the memory. Avoiding repeated accesses reduces the latency of the processor 110, thereby increasing the efficiency of the system.
In some embodiments, processor 110 may include one or more interfaces. The interface may include an integrated circuit (I2C) interface, an integrated circuit built-in audio (I2S) interface, a Pulse Code Modulation (PCM) interface, a universal asynchronous receiver/transmitter (UART) interface, a Mobile Industry Processor Interface (MIPI), a general-purpose input/output (GPIO) interface, a Subscriber Identity Module (SIM) interface, and/or a Universal Serial Bus (USB) interface, etc.
The I2C interface is a bi-directional synchronous serial bus that includes a serial data line (SDA) and a Serial Clock Line (SCL). In some embodiments, processor 110 may include multiple sets of I2C buses. The processor 110 may be coupled to the touch sensor 180K, the charger, the flash, the camera 193, etc. through different I2C bus interfaces, respectively. For example: the processor 110 may be coupled to the touch sensor 180K via an I2C interface, such that the processor 110 and the touch sensor 180K communicate via an I2C bus interface to implement the touch functionality of the electronic device 100.
The I2S interface may be used for audio communication. In some embodiments, processor 110 may include multiple sets of I2S buses. The processor 110 may be coupled to the audio module 170 via an I2S bus to enable communication between the processor 110 and the audio module 170. In some embodiments, the audio module 170 may communicate audio signals to the wireless communication module 160 via the I2S interface, enabling answering of calls via a bluetooth headset.
The PCM interface may also be used for audio communication, sampling, quantizing and encoding analog signals. In some embodiments, the audio module 170 and the wireless communication module 160 may be coupled by a PCM bus interface. In some embodiments, the audio module 170 may also transmit audio signals to the wireless communication module 160 through the PCM interface, so as to implement a function of answering a call through a bluetooth headset. Both the I2S interface and the PCM interface may be used for audio communication.
The UART interface is a universal serial data bus used for asynchronous communications. The bus may be a bidirectional communication bus. It converts the data to be transmitted between serial communication and parallel communication. In some embodiments, a UART interface is generally used to connect the processor 110 with the wireless communication module 160. For example: the processor 110 communicates with a bluetooth module in the wireless communication module 160 through a UART interface to implement a bluetooth function. In some embodiments, the audio module 170 may transmit the audio signal to the wireless communication module 160 through a UART interface, so as to realize the function of playing music through a bluetooth headset.
MIPI interfaces may be used to connect processor 110 with peripheral devices such as display screen 194, camera 193, and the like. The MIPI interface includes a Camera Serial Interface (CSI), a Display Serial Interface (DSI), and the like. In some embodiments, processor 110 and camera 193 communicate through a CSI interface to implement the capture functionality of electronic device 100. The processor 110 and the display screen 194 communicate through the DSI interface to implement the display function of the electronic device 100.
The GPIO interface may be configured by software. The GPIO interface may be configured as a control signal and may also be configured as a data signal. In some embodiments, a GPIO interface may be used to connect the processor 110 with the camera 193, the display 194, the wireless communication module 160, the audio module 170, the sensor module 180, and the like. The GPIO interface may also be configured as an I2C interface, an I2S interface, a UART interface, a MIPI interface, and the like.
The USB interface 130 is an interface conforming to the USB standard specification, and may specifically be a Mini USB interface, a Micro USB interface, a USB Type C interface, or the like. The USB interface 130 may be used to connect a charger to charge the electronic device 100, and may also be used to transmit data between the electronic device 100 and a peripheral device. And the method can also be used for connecting a headset and playing audio through the headset. The interface may also be used to connect other electronic devices 100, such as AR devices and the like.
It should be understood that the connection relationship between the modules according to the embodiment of the present invention is only illustrative, and is not limited to the structure of the electronic device 100. In other embodiments of the present application, the electronic device 100 may also adopt different interface connection manners or a combination of multiple interface connection manners in the above embodiments.
The charging management module 140 is configured to receive charging input from a charger. The charger may be a wireless charger or a wired charger. In some wired charging embodiments, the charging management module 140 may receive charging input from a wired charger via the USB interface 130. In some wireless charging embodiments, the charging management module 140 may receive a wireless charging input through a wireless charging coil of the electronic device 100. The charging management module 140 may also supply power to the electronic device 100 through the power management module 141 while charging the battery 142.
The power management module 141 is used to connect the battery 142, the charging management module 140 and the processor 110. The power management module 141 receives input from the battery 142 and/or the charge management module 140, and supplies power to the processor 110, the internal memory 121, the display 194, the camera 193, the wireless communication module 160, and the like. The power management module 141 may also be used to monitor parameters such as battery capacity, battery cycle count, battery state of health (leakage, impedance), etc. In some other embodiments, the power management module 141 may also be disposed in the processor 110. In other embodiments, the power management module 141 and the charging management module 140 may be disposed in the same device.
The wireless communication function of the electronic device 100 may be implemented by the antenna 1, the antenna 2, the mobile communication module 150, the wireless communication module 160, a modem processor, a baseband processor, and the like.
The antennas 1 and 2 are used for transmitting and receiving electromagnetic wave signals. Each antenna in the electronic device 100 may be used to cover a single or multiple communication bands. Different antennas can also be multiplexed to improve the utilization of the antennas. For example: the antenna 1 may be multiplexed as a diversity antenna of a wireless local area network. In other embodiments, the antenna may be used in conjunction with a tuning switch.
The mobile communication module 150 may provide a solution including 2G/3G/4G/5G wireless communication applied to the electronic device 100. The mobile communication module 150 may include at least one filter, a switch, a power amplifier, a Low Noise Amplifier (LNA), and the like. The mobile communication module 150 may receive the electromagnetic wave from the antenna 1, filter, amplify, etc. the received electromagnetic wave, and transmit the electromagnetic wave to the modem processor for demodulation. The mobile communication module 150 may also amplify the signal modulated by the modem processor, and convert the signal into electromagnetic wave through the antenna 1 to radiate the electromagnetic wave. In some embodiments, at least some of the functional modules of the mobile communication module 150 may be disposed in the processor 110. In some embodiments, at least some of the functional modules of the mobile communication module 150 may be disposed in the same device as at least some of the modules of the processor 110.
The modem processor may include a modulator and a demodulator. The modulator is used for modulating a low-frequency baseband signal to be transmitted into a medium-high frequency signal. The demodulator is used for demodulating the received electromagnetic wave signal into a low-frequency baseband signal. The demodulator then passes the demodulated low frequency baseband signal to a baseband processor for processing. The low frequency baseband signal is processed by the baseband processor and then transferred to the application processor. The application processor outputs a sound signal through an audio device (not limited to the speaker 170A, the receiver 170B, etc.) or displays an image or video through the display screen 194. In some embodiments, the modem processor may be a stand-alone device. In other embodiments, the modem processor may be provided in the same device as the mobile communication module 150 or other functional modules, independent of the processor 110.
The wireless communication module 160 may provide a solution for wireless communication applied to the electronic device 100, including Wireless Local Area Networks (WLANs) (e.g., wireless fidelity (Wi-Fi) networks), bluetooth (bluetooth, BT), Global Navigation Satellite System (GNSS), Frequency Modulation (FM), Near Field Communication (NFC), Infrared (IR), and the like. The wireless communication module 160 may be one or more devices integrating at least one communication processing module. The wireless communication module 160 receives electromagnetic waves via the antenna 2, performs frequency modulation and filtering processing on electromagnetic wave signals, and transmits the processed signals to the processor 110. The wireless communication module 160 may also receive a signal to be transmitted from the processor 110, perform frequency modulation and amplification on the signal, and convert the signal into electromagnetic waves through the antenna 2 to radiate the electromagnetic waves.
In some embodiments, antenna 1 of electronic device 100 is coupled to mobile communication module 150 and antenna 2 is coupled to wireless communication module 160 so that electronic device 100 can communicate with networks and other devices through wireless communication techniques. The wireless communication technology may include global system for mobile communications (GSM), General Packet Radio Service (GPRS), code division multiple access (code division multiple access, CDMA), Wideband Code Division Multiple Access (WCDMA), time-division code division multiple access (time-division code division multiple access, TD-SCDMA), Long Term Evolution (LTE), LTE, BT, GNSS, WLAN, NFC, FM, and/or IR technologies, etc. The GNSS may include a Global Positioning System (GPS), a global navigation satellite system (GLONASS), a beidou navigation satellite system (BDS), a quasi-zenith satellite system (QZSS), and/or a Satellite Based Augmentation System (SBAS).
The electronic device 100 implements display functions via the GPU, the display screen 194, and the application processor. The GPU is a microprocessor for image processing, and is connected to the display screen 194 and an application processor. The GPU is used to perform mathematical and geometric calculations for graphics rendering. The processor 110 may include one or more GPUs that execute program instructions to generate or alter display information.
The display screen 194 is used to display images, video, and the like. The display screen 194 includes a display panel. The display panel may be a Liquid Crystal Display (LCD), an organic light-emitting diode (OLED), an active-matrix organic light-emitting diode (active-matrix organic light-emitting diode, AMOLED), a flexible light-emitting diode (FLED), a miniature, a Micro-oeld, a quantum dot light-emitting diode (QLED), or the like. In some embodiments, the electronic device 100 may include 1 or N display screens 194, with N being a positive integer greater than 1.
The electronic device 100 may implement a shooting function through the ISP, the camera 193, the video codec, the GPU, the display 194, the application processor, and the like.
The ISP is used to process the data fed back by the camera 193. For example, when a photo is taken, the shutter is opened, light is transmitted to the camera photosensitive element through the lens, the optical signal is converted into an electrical signal, and the camera photosensitive element transmits the electrical signal to the ISP for processing and converting into an image visible to naked eyes. The ISP can also carry out algorithm optimization on the noise, brightness and skin color of the image. The ISP can also optimize parameters such as exposure, color temperature and the like of a shooting scene. In some embodiments, the ISP may be provided in camera 193.
The camera 193 is used to capture still images or video. The object generates an optical image through the lens and projects the optical image to the photosensitive element. The photosensitive element may be a Charge Coupled Device (CCD) or a complementary metal-oxide-semiconductor (CMOS) phototransistor. The light sensing element converts the optical signal into an electrical signal, which is then passed to the ISP where it is converted into a digital image signal. And the ISP outputs the digital image signal to the DSP for processing. The DSP converts the digital image signal into image signal in standard RGB, YUV and other formats. In some embodiments, the electronic device 100 may include 1 or N cameras 193, N being a positive integer greater than 1.
The digital signal processor is used for processing digital signals, and can process other digital signals besides digital image signals. For example, when the electronic device 100 selects a frequency bin, the digital signal processor is used to perform fourier transform or the like on the frequency bin energy.
Video codecs are used to compress or decompress digital video. The electronic device 100 may support one or more video codecs. In this way, the electronic device 100 may play or record video in a variety of encoding formats, such as: moving Picture Experts Group (MPEG) 1, MPEG2, MPEG3, MPEG4, and the like.
The NPU is a neural-network (NN) computing processor that processes input information quickly by using a biological neural network structure, for example, by using a transfer mode between neurons of a human brain, and can also learn by itself continuously. Applications such as intelligent recognition of the electronic device 100 can be realized through the NPU, for example: image recognition, face recognition, speech recognition, text understanding, and the like.
The internal memory 121 may include one or more Random Access Memories (RAMs) and one or more non-volatile memories (NVMs).
The random access memory may include static random-access memory (SRAM), dynamic random-access memory (DRAM), synchronous dynamic random-access memory (SDRAM), double data rate synchronous dynamic random-access memory (DDR SDRAM), such as fifth generation DDR SDRAM generally referred to as DDR5 SDRAM, and the like;
the nonvolatile memory may include a magnetic disk storage device, flash memory (flash memory).
The FLASH memory may include NOR FLASH, NAND FLASH, 3D NAND FLASH, etc. according to the operation principle, may include single-level cells (SLC), multi-level cells (MLC), three-level cells (TLC), four-level cells (QLC), etc. according to the level order of the memory cells, and may include universal FLASH memory (UFS), embedded multimedia memory cards (eMMC), etc. according to the storage specification.
The random access memory may be read and written directly by the processor 110, may be used to store executable programs (e.g., machine instructions) of an operating system or other programs in operation, and may also be used to store data of users and applications, etc.
The nonvolatile memory may also store executable programs, data of users and application programs, and the like, and may be loaded into the random access memory in advance for the processor 110 to directly read and write.
The external memory interface 120 may be used to connect an external nonvolatile memory to extend the storage capability of the electronic device 100. The external non-volatile memory communicates with the processor 110 through the external memory interface 120 to implement data storage functions. For example, files such as music, video, etc. are saved in an external nonvolatile memory.
The electronic device 100 may implement audio functions via the audio module 170, the speaker 170A, the receiver 170B, the microphone 170C, the headset interface 170D, and the application processor. Such as music playing, recording, etc.
The audio module 170 is used to convert digital audio information into an analog audio signal output and also to convert an analog audio input into a digital audio signal. The audio module 170 may also be used to encode and decode audio signals. In some embodiments, the audio module 170 may be disposed in the processor 110, or some functional modules of the audio module 170 may be disposed in the processor 110.
The speaker 170A, also called a "horn", is used to convert the audio electrical signal into an acoustic signal. The electronic apparatus 100 can listen to music through the speaker 170A or listen to a hands-free call.
The receiver 170B, also called "earpiece", is used to convert the electrical audio signal into a sound signal. When the electronic apparatus 100 receives a call or voice information, it can receive voice by placing the receiver 170B close to the ear of the person.
The microphone 170C, also referred to as a "microphone," is used to convert sound signals into electrical signals. When making a call or sending voice information, the user can input a voice signal into the microphone 170C by uttering a voice signal by the mouth of the user near the microphone 170C. The electronic device 100 may be provided with at least one microphone 170C. In other embodiments, the electronic device 100 may be provided with two microphones 170C to achieve a noise reduction function in addition to collecting sound signals. In other embodiments, the electronic device 100 may further include three, four or more microphones 170C to collect sound signals, reduce noise, identify sound sources, perform directional recording, and so on.
The earphone interface 170D is used to connect a wired earphone. The headset interface 170D may be the USB interface 130, or may be an open mobile electronic device 100 platform (OMTP) standard interface of 3.5mm, a cellular telecommunications industry association (cellular telecommunications industry association of the USA, CTIA) standard interface.
The pressure sensor 180A is used for sensing a pressure signal, and converting the pressure signal into an electrical signal. In some embodiments, the pressure sensor 180A may be disposed on the display screen 194. The pressure sensor 180A can be of a wide variety, such as a resistive pressure sensor, an inductive pressure sensor, a capacitive pressure sensor, and the like. The capacitive pressure sensor may be a sensor comprising at least two parallel plates having an electrically conductive material. When a force acts on the pressure sensor 180A, the capacitance between the electrodes changes. The electronic device 100 determines the strength of the pressure from the change in capacitance. When a touch operation is applied to the display screen 194, the electronic apparatus 100 detects the intensity of the touch operation according to the pressure sensor 180A. The electronic apparatus 100 may also calculate the touched position from the detection signal of the pressure sensor 180A. In some embodiments, the touch operations that are applied to the same touch position but have different touch operation intensities may correspond to different operation instructions. For example: and when the touch operation with the touch operation intensity smaller than the first pressure threshold value acts on the short message application icon, executing an instruction for viewing the short message. And when the touch operation with the touch operation intensity larger than or equal to the first pressure threshold value acts on the short message application icon, executing an instruction of newly building the short message.
The gyro sensor 180B may be used to determine the motion attitude of the electronic device 100. In some embodiments, the angular velocity of electronic device 100 about three axes (i.e., the x, y, and z axes) may be determined by gyroscope sensor 180B. The gyro sensor 180B may be used for photographing anti-shake. For example, when the shutter is pressed, the gyro sensor 180B detects a shake angle of the electronic device 100, calculates a distance to be compensated for by the lens module according to the shake angle, and allows the lens to counteract the shake of the electronic device 100 through a reverse movement, thereby achieving anti-shake. The gyroscope sensor 180B may also be used for navigation, somatosensory gaming scenes.
The air pressure sensor 180C is used to measure air pressure. In some embodiments, electronic device 100 calculates altitude, aiding in positioning and navigation, from barometric pressure values measured by barometric pressure sensor 180C.
The magnetic sensor 180D includes a hall sensor. The electronic device 100 may detect the opening and closing of the flip holster using the magnetic sensor 180D. In some embodiments, when the electronic device 100 is a flip, the electronic device 100 may detect the opening and closing of the flip according to the magnetic sensor 180D. And then according to the opening and closing state of the leather sheath or the opening and closing state of the flip cover, the automatic unlocking of the flip cover is set.
The acceleration sensor 180E may detect the magnitude of acceleration of the electronic device 100 in various directions (typically three axes). The magnitude and direction of gravity can be detected when the electronic device 100 is stationary. The method can also be used for identifying the posture of the electronic equipment 100, and is applied to horizontal and vertical screen switching, pedometers and other applications.
A distance sensor 180F for measuring a distance. The electronic device 100 may measure the distance by infrared or laser. In some embodiments, taking a picture of a scene, electronic device 100 may utilize range sensor 180F to range for fast focus.
The proximity light sensor 180G may include, for example, a Light Emitting Diode (LED) and a light detector, such as a photodiode. The light emitting diode may be an infrared light emitting diode. The electronic device 100 emits infrared light to the outside through the light emitting diode. The electronic device 100 detects infrared reflected light from nearby objects using a photodiode. When sufficient reflected light is detected, it can be determined that there is an object near the electronic device 100. When insufficient reflected light is detected, the electronic device 100 may determine that there are no objects near the electronic device 100. The electronic device 100 can utilize the proximity light sensor 180G to detect that the user holds the electronic device 100 close to the ear for talking, so as to automatically turn off the screen to achieve the purpose of saving power. The proximity light sensor 180G may also be used in a holster mode, a pocket mode automatically unlocking and locking the screen.
The ambient light sensor 180L is used to sense the ambient light level. Electronic device 100 may adaptively adjust the brightness of display screen 194 based on the perceived ambient light level. The ambient light sensor 180L may also be used to automatically adjust the white balance when taking a picture. The ambient light sensor 180L may also cooperate with the proximity light sensor 180G to detect whether the electronic device 100 is in a pocket to prevent accidental touches.
The fingerprint sensor 180H is used to collect a fingerprint. The electronic device 100 can utilize the collected fingerprint characteristics to unlock the fingerprint, access the application lock, photograph the fingerprint, answer an incoming call with the fingerprint, and so on.
The temperature sensor 180J is used to detect temperature. In some embodiments, electronic device 100 implements a temperature processing strategy using the temperature detected by temperature sensor 180J. For example, when the temperature reported by the temperature sensor 180J exceeds a threshold, the electronic device 100 performs a reduction in performance of a processor located near the temperature sensor 180J, so as to reduce power consumption and implement thermal protection. In other embodiments, the electronic device 100 heats the battery 142 when the temperature is below another threshold to avoid the low temperature causing the electronic device 100 to shut down abnormally. In other embodiments, when the temperature is lower than a further threshold, the electronic device 100 performs a boost on the output voltage of the battery 142 to avoid abnormal shutdown due to low temperature.
The touch sensor 180K is also called a "touch device". The touch sensor 180K may be disposed on the display screen 194, and the touch sensor 180K and the display screen 194 form a touch screen, which is also called a "touch screen". The touch sensor 180K is used to detect a touch operation applied thereto or nearby. The touch sensor can communicate the detected touch operation to the application processor to determine the touch event type. Visual output associated with the touch operation may be provided through the display screen 194. In other embodiments, the touch sensor 180K may be disposed on a surface of the electronic device 100, different from the position of the display screen 194.
The bone conduction sensor 180M may acquire a vibration signal. In some embodiments, the bone conduction sensor 180M may acquire a vibration signal of the human vocal part vibrating the bone mass. The bone conduction sensor 180M may also contact the human pulse to receive the blood pressure pulsation signal. In some embodiments, bone conduction sensor 180M may also be provided in a headset, integrated into a bone conduction headset. The audio module 170 may analyze a voice signal based on the vibration signal of the bone block vibrated by the sound part obtained by the bone conduction sensor 180M, so as to implement a voice function. The application processor can analyze heart rate information based on the blood pressure beating signal acquired by the bone conduction sensor 180M, so as to realize the heart rate detection function.
The keys 190 include a power-on key, a volume key, and the like. The keys 190 may be mechanical keys. Or may be touch keys. The electronic apparatus 100 may receive a key input, and generate a key signal input related to user setting and function control of the electronic apparatus 100.
The motor 191 may generate a vibration cue. The motor 191 may be used for incoming call vibration prompts as well as for touch vibration feedback. For example, touch operations applied to different applications (e.g., photographing, audio playing, etc.) may correspond to different vibration feedback effects. The motor 191 may also respond to different vibration feedback effects for touch operations applied to different areas of the display screen 194. Different application scenes (such as time reminding, receiving information, alarm clock, game and the like) can also correspond to different vibration feedback effects. The touch vibration feedback effect may also support customization.
Indicator 192 may be an indicator light that may be used to indicate a state of charge, a change in charge, or a message, missed call, notification, etc.
The SIM card interface 195 is used to connect a SIM card. The SIM card can be attached to and detached from the electronic device 100 by being inserted into the SIM card interface 195 or being pulled out of the SIM card interface 195. The electronic device 100 may support 1 or N SIM card interfaces, N being a positive integer greater than 1. The SIM card interface 195 may support a Nano SIM card, a Micro SIM card, a SIM card, etc. The same SIM card interface 195 can be inserted with multiple cards at the same time. The types of the plurality of cards may be the same or different. The SIM card interface 195 is also compatible with different types of SIM cards. The SIM card interface 195 may also be compatible with external memory cards. The electronic device 100 interacts with the network through the SIM card to implement functions such as communication and data communication. In some embodiments, the electronic device 100 employs esims, namely: an embedded SIM card. The eSIM card can be embedded in the electronic device 100 and cannot be separated from the electronic device 100.
Fig. 15 is a block diagram of a software structure of an electronic device 100 according to an embodiment of the present application.
The layered architecture divides the software into several layers, each layer having a clear role and division of labor. The layers communicate with each other through a software interface. In some embodiments, the Android system is divided into four layers, an application layer, an application framework layer, an Android runtime (Android runtime) and system library, and a kernel layer from top to bottom.
The application layer may include a series of application packages.
As shown in fig. 15, the application package may include applications such as camera, gallery, calendar, phone call, map, navigation, WLAN, bluetooth, music, video, short message, etc.
The application framework layer provides an Application Programming Interface (API) and a programming framework for the application of the application layer. The application framework layer includes some predefined functions.
As shown in fig. 15, the application framework layer may include a window manager, a content provider, a view system, a phone manager, a resource manager, a notification manager, and the like.
The window manager is used for managing window programs. The window manager can obtain the size of the display screen, judge whether a status bar exists, lock the screen, intercept the screen and the like.
The content provider is used to store and retrieve data and make it accessible to applications. The data may include video, images, audio, calls made and answered, browsing history and bookmarks, phone books, etc.
The view system includes visual controls such as controls to display text, controls to display pictures, and the like. The view system may be used to build applications. The display interface may be composed of one or more views. For example, the display interface including the short message notification icon may include a view for displaying text and a view for displaying pictures.
The phone manager is used to provide communication functions for the electronic device 10. Such as management of call status (including connection, hangup, etc.).
The resource manager provides various resources for the application, such as localized strings, icons, pictures, layout files, video files, and so forth.
The notification manager enables applications to display notification information in a status bar, can be used to convey notification-type messages, can automatically disappear after a short dwell, and does not require user interaction. Such as a notification manager used to notify download completion, message alerts, etc. The notification manager may also be a notification that appears in the form of a chart or scroll bar text at the top status bar of the system, such as a notification of a background running application, or a notification that appears on the screen in the form of a dialog window. For example, text information is prompted in the status bar, a prompt tone is given, the intelligent terminal vibrates, and an indicator light flickers.
The Android Runtime comprises a core library and a virtual machine. The Android runtime is responsible for scheduling and managing an Android system.
The core library comprises two parts: one part is a function which needs to be called by java language, and the other part is a core library of android.
The application layer and the application framework layer run in a virtual machine. And executing java files of the application layer and the application framework layer into a binary file by the virtual machine. The virtual machine is used for performing the functions of object life cycle management, stack management, thread management, safety and exception management, garbage collection and the like.
The system library may include a plurality of functional modules. For example: surface managers (surface managers), Media Libraries (Media Libraries), three-dimensional graphics processing Libraries (e.g., OpenGL ES), 2D graphics engines (e.g., SGL), and the like.
The surface manager is used to manage the display subsystem and provide a fusion of the 2D and 3D layers for multiple applications.
The media library supports a variety of commonly used audio, video format playback and recording, and still image files, among others. The media library may support a variety of audio-video encoding formats, such as MPEG4, g.264, MP3, AAC, AMR, JPG, PNG, and the like.
The three-dimensional graphic processing library is used for realizing three-dimensional graphic drawing, image rendering, synthesis, layer processing and the like.
The 2D graphics engine is a drawing engine for 2D drawing.
The kernel layer is a layer between hardware and software. The inner core layer at least comprises a display driver, a camera driver, an audio driver and a sensor driver.
The above embodiments are only used to illustrate the technical solutions of the present application, and not to limit the same; 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 (16)

1. A method for manually searching a network is applied to a terminal, the terminal is in communication connection with a base station, the terminal comprises an application processor AP and a modem, wherein the modem comprises a non-access NAS layer, a Radio Resource Control (RRC) layer and a Physical (PHY) layer, and the method comprises the following steps:
the AP responds to the operation of starting a manual network searching mode and issues a first request to the NAS layer, wherein the first request is used for searching an operator network list in the manual network searching mode;
the NAS layer sends a second request to the RRC layer, wherein the second request comprises a first field identifier, and the first field identifier is used for supporting the terminal to search all operator network lists in a 5G non-independent NSA networking mode;
the RRC layer sends a third request to the PHY layer, wherein the third request comprises a second field identifier, and the second field identifier is used for supporting the terminal to analyze a system message block 2SIB2 sent by the base station in the full-band cell search process under the LTE system;
the PHY layer executes full-band cell search under the LTE system and obtains a first search result, wherein the first search result comprises a cell Identifier (ID), a Public Land Mobile Network (PLMN), a network type and an access technology/networking mode;
when determining that the anchor point cell exists in the first search result, reporting a second search result to the AP, wherein the second search result comprises the PLMN, the network type and the access technology/networking mode; and
the AP displays the second search result.
2. The method of manual network search of claim 1, wherein the determining that an anchor cell exists in the first search result comprises:
analyzing the SIB2, and determining whether the attribute of a target field in the SIB2 is true, wherein the target field is an Upper Layer Indication field;
determining that the anchor cell exists in the first search result when the attribute of the target field is determined to be true.
3. The method of manual network search of claim 2, wherein the determining that an anchor cell exists in the first search result further comprises:
when the attribute of the target field is determined not to be true, determining whether a target cell ID exists in a preset list;
and when the target cell ID exists in the preset list, determining that an anchor cell exists in the first search result.
4. The method of claim 3, wherein the target cell ID comprises a Global Cell Identity (GCI) of a target cell, and wherein the preset list comprises an a priori anchor cell list and a cloud preset anchor cell list.
5. The method for manually searching for a network according to any one of claims 1 to 4, wherein the method further comprises:
in response to the operation of selecting the target network in the second search result, the AP sends a fourth request to the NAS layer, where the fourth request is used to request registration of the target network;
the NAS layer sends a fifth request to the RRC layer, wherein the fifth request is used for starting target PLMN search under a network type corresponding to the target network;
the RRC layer sends a sixth request to the PHY layer, wherein the sixth request is used for executing cell search under the network type corresponding to the target network;
the PHY layer executes cell search and obtains a third search result, wherein the third search result comprises a PLMN, a network type and a target cell corresponding to the target network;
the PHY layer returns the third search result to the RRC layer;
when determining that the PLMN in the third search result is matched with the target PLMN in the fifth request, the RRC layer returns a target PLMN search result to the NAS layer;
the NAS layer initiates a target network registration request to the PHY layer;
the PHY layer returns a target network registration result to the AP; and
the AP displays the manual registration result.
6. The method of manually searching for a network according to claim 5, wherein the PHY layer performing a cell search and obtaining a third search result comprises:
the PHY layer analyzes a system message block 1SIB1 sent by the base station to obtain a PLMN corresponding to the target network;
the PHY layer also parses the SIB2 to obtain the attributes of the target field.
7. A method for manually searching for a network according to claim 5, wherein the method further comprises:
and locking the access technology/networking mode corresponding to the target network.
8. A method for manually searching for a network according to claim 7, wherein the method further comprises:
when the exit condition is met, unlocking the access technology/networking mode corresponding to the target network, and selecting other access technology/networking mode according to the terminal configuration;
and when the quit condition is not met, continuing to lock the access technology/networking mode corresponding to the target network.
9. The method of claim 8, wherein the exit condition comprises a PLMN change when the target network is registered and the terminal exits the manual network searching mode.
10. A method for manually searching a network is applied to a terminal, wherein the terminal is in communication connection with a base station, and the method comprises the following steps:
displaying a network search interface, wherein the network search interface comprises a first control, and the first control indicates that the terminal is in an automatic network searching mode;
the network search interface further comprises a first Public Land Mobile Network (PLMN) and a first network type corresponding to the first PLMN;
responding to a first operation of the first control, and switching the automatic network searching mode into a manual network searching mode;
displaying a first option and a second option in the network search interface in the manual network search mode, wherein the first option comprises a second PLMN, a second network type corresponding to the second PLMN and a first networking mode, and the second option comprises a third PLMN, a third network type corresponding to the third PLMN and a second networking mode; and
and responding to a target network clicked in the search result of the network search interface, registering the target network, and locking the networking mode of the target network.
11. A method for manually searching for a network according to claim 10, wherein the method further comprises:
and after the automatic network searching mode is switched to the manual network searching mode, executing manual network searching and obtaining a manual network searching result.
12. A method for manually searching for a network as claimed in claim 10, wherein:
obtaining the first PLMN and the first network type, the second PLMN and the second network type, and the third PLMN and the third network type by analyzing a system message block 1SIB1 sent by the base station;
and analyzing a system message block 2SIB2 sent by the base station to obtain the first networking mode and the second networking mode.
13. A method for manually searching for a network according to claim 12, wherein the method further comprises:
registering with a target cell in the third PLMN through the second networking mode under the third network type in response to a second operation on the second option.
14. The method for manually searching for network according to claim 12 or 13, wherein the first networking mode is an independent networking SA mode, the second networking mode is a non-independent networking NSA mode, and the second network type and the third network type are both 5G.
15. A terminal comprising a processor, a memory, and a display; wherein the processor is coupled with the memory and the display screen;
the memory to store program instructions;
the processor is used for reading the program instructions stored in the memory and combining the display screen to realize the method for manually searching the network according to any one of claims 1 to 14.
16. A computer-readable storage medium, characterized in that it stores program instructions that, when run on a terminal, cause the terminal to perform a method of manually searching for a network according to any one of claims 1 to 14.
CN202110468600.0A 2021-04-28 2021-04-28 Method and related device for manually searching network Active CN113133089B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110468600.0A CN113133089B (en) 2021-04-28 2021-04-28 Method and related device for manually searching network

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110468600.0A CN113133089B (en) 2021-04-28 2021-04-28 Method and related device for manually searching network

Publications (2)

Publication Number Publication Date
CN113133089A CN113133089A (en) 2021-07-16
CN113133089B true CN113133089B (en) 2022-06-17

Family

ID=76780665

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110468600.0A Active CN113133089B (en) 2021-04-28 2021-04-28 Method and related device for manually searching network

Country Status (1)

Country Link
CN (1) CN113133089B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114245440B (en) * 2021-12-01 2024-04-05 西安广和通无线软件有限公司 Computer network prompting method, device, computer equipment and storage medium
CN114173361A (en) * 2021-12-13 2022-03-11 展讯通信(上海)有限公司 5G network searching method, device and terminal

Citations (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102118839A (en) * 2009-12-30 2011-07-06 重庆重邮信科通信技术有限公司 PLMN (Public Land Mobile Network) network selecting method of multimode terminal
CN103298074A (en) * 2013-05-21 2013-09-11 华为终端有限公司 Network terminal equipment and network switching method for same
CN109769287A (en) * 2019-02-27 2019-05-17 维沃移动通信有限公司 Cell selecting method and terminal
CN109862607A (en) * 2019-04-22 2019-06-07 维沃移动通信有限公司 A kind of network recommendation method and mobile terminal
WO2019233100A1 (en) * 2018-06-06 2019-12-12 华为技术有限公司 Communication method and apparatus
CN110798877A (en) * 2018-08-02 2020-02-14 华为技术有限公司 Method for searching network and user equipment
CN110999405A (en) * 2017-08-24 2020-04-10 高通股份有限公司 Techniques and apparatus for mobile network searching in multiple radio access technologies
CN112105073A (en) * 2020-09-21 2020-12-18 四川爱联科技股份有限公司 Method for realizing 5G network standard switching based on base station self-adaptive mode
CN112136341A (en) * 2019-02-23 2020-12-25 华为技术有限公司 Network searching method and terminal equipment
CN112400343A (en) * 2018-07-13 2021-02-23 华为技术有限公司 Method and terminal equipment for selecting NSA and SA networking modes
WO2021051326A1 (en) * 2019-09-18 2021-03-25 华为技术有限公司 Access control method and device
CN112688713A (en) * 2020-12-07 2021-04-20 Oppo(重庆)智能科技有限公司 Method for determining target network type, terminal and computer storage medium

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2019075717A1 (en) * 2017-10-20 2019-04-25 北京小米移动软件有限公司 Access method and device, user equipment and base station
US11039369B2 (en) * 2018-08-10 2021-06-15 Mediatek Inc. Handling 5G QoS rules on QoS operation errors

Patent Citations (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102118839A (en) * 2009-12-30 2011-07-06 重庆重邮信科通信技术有限公司 PLMN (Public Land Mobile Network) network selecting method of multimode terminal
CN103298074A (en) * 2013-05-21 2013-09-11 华为终端有限公司 Network terminal equipment and network switching method for same
CN110999405A (en) * 2017-08-24 2020-04-10 高通股份有限公司 Techniques and apparatus for mobile network searching in multiple radio access technologies
WO2019233100A1 (en) * 2018-06-06 2019-12-12 华为技术有限公司 Communication method and apparatus
CN112400343A (en) * 2018-07-13 2021-02-23 华为技术有限公司 Method and terminal equipment for selecting NSA and SA networking modes
CN110798877A (en) * 2018-08-02 2020-02-14 华为技术有限公司 Method for searching network and user equipment
CN112136341A (en) * 2019-02-23 2020-12-25 华为技术有限公司 Network searching method and terminal equipment
CN109769287A (en) * 2019-02-27 2019-05-17 维沃移动通信有限公司 Cell selecting method and terminal
CN109862607A (en) * 2019-04-22 2019-06-07 维沃移动通信有限公司 A kind of network recommendation method and mobile terminal
WO2021051326A1 (en) * 2019-09-18 2021-03-25 华为技术有限公司 Access control method and device
CN112105073A (en) * 2020-09-21 2020-12-18 四川爱联科技股份有限公司 Method for realizing 5G network standard switching based on base station self-adaptive mode
CN112688713A (en) * 2020-12-07 2021-04-20 Oppo(重庆)智能科技有限公司 Method for determining target network type, terminal and computer storage medium

Non-Patent Citations (4)

* Cited by examiner, † Cited by third party
Title
"23122-g30".《3GPP specs\archive》.2019, *
5G网络NSA与SA模式互操作策略研究;李一等;《邮电设计技术》;20200620(第06期);全文 *
R2-2007535 "Corrections to cell selection for IAB in NSA";Samsung Electronics Romania;《3GPP tsg_ran\wg2_rl2》;20200806;全文 *
国际漫游来访用户选网分析――GSM和WCDMA选网流程和验证测试;陈沁茗等;《移动通信》(第12期);全文 *

Also Published As

Publication number Publication date
CN113133089A (en) 2021-07-16

Similar Documents

Publication Publication Date Title
CN114390337B (en) Screen projection method and system and electronic equipment
CN113840346B (en) Operator switching method and related equipment
EP3902328A1 (en) Network searching method, and terminal device
CN113133089B (en) Method and related device for manually searching network
CN112237031B (en) Method for accessing intelligent household equipment to network and related equipment
CN114268402B (en) Cell sorting method and device and user equipment
WO2021197071A1 (en) Wireless communication system and method
CN113973398B (en) Wireless network connection method, electronic equipment and chip system
CN112887926A (en) Calling method and device
CN111615177A (en) Cell search method and user equipment
CN113556798B (en) Network searching method and related device for automatic account opening of SA (Security Association) network 5G
CN112335294B (en) Emergency call method and user terminal
WO2022152167A1 (en) Network selection method and device
CN114531742B (en) Dual Wi-Fi connection method and electronic equipment
CN117425227A (en) Method and device for establishing session based on WiFi direct connection
CN112840680A (en) Position information processing method and related device
US12004072B2 (en) Network search method and terminal device
WO2022228210A1 (en) Camping method, electronic device, and system
CN116405594B (en) Voice communication method and device
WO2022206769A1 (en) Method for combining content, electronic device, and system
CN114980238B (en) Wi-Fi access method and related equipment
WO2023202533A1 (en) Communication method, electronic device, and system
CN117715173A (en) Network residence method and terminal equipment
CN116980864A (en) Communication method, electronic equipment and system
CN115529639A (en) Network switching method and device, user equipment 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