WO2020133117A1 - Cell connection processing method and device, mobile terminal, and storage medium - Google Patents

Cell connection processing method and device, mobile terminal, and storage medium Download PDF

Info

Publication number
WO2020133117A1
WO2020133117A1 PCT/CN2018/124512 CN2018124512W WO2020133117A1 WO 2020133117 A1 WO2020133117 A1 WO 2020133117A1 CN 2018124512 W CN2018124512 W CN 2018124512W WO 2020133117 A1 WO2020133117 A1 WO 2020133117A1
Authority
WO
WIPO (PCT)
Prior art keywords
mobile terminal
cell
duration
specified
posture information
Prior art date
Application number
PCT/CN2018/124512
Other languages
French (fr)
Chinese (zh)
Inventor
李伟清
唐凯
Original Assignee
深圳市欢太科技有限公司
Oppo广东移动通信有限公司
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 深圳市欢太科技有限公司, Oppo广东移动通信有限公司 filed Critical 深圳市欢太科技有限公司
Priority to PCT/CN2018/124512 priority Critical patent/WO2020133117A1/en
Priority to CN201880098809.9A priority patent/CN112868247B/en
Publication of WO2020133117A1 publication Critical patent/WO2020133117A1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W12/00Security arrangements; Authentication; Protecting privacy or anonymity
    • H04W12/08Access security

Definitions

  • the present application relates to the field of communication technology, and more specifically, to a cell connection processing method, device, mobile terminal, and storage medium.
  • “Pseudo base station” is a fake base station.
  • the pseudo base station is generally composed of a host computer and a laptop computer. It can retrieve mobile phone card information centered on it and within a certain radius through the SMS group sender, SMS sender and other related equipment, using mobile communications.
  • the shortcomings of the system by pretending to be the base station of the operator, used the mobile phone number of others to forcibly send short messages such as fraud and advertising to the user's mobile phone.
  • this application proposes a cell connection processing method, device, mobile terminal, and storage medium to achieve the improvement of the above problems.
  • the present application provides a cell connection processing method, which is applied to a mobile terminal.
  • the method includes: detecting the posture information of the mobile terminal when in a specified time interval; judging whether the posture information satisfies the target condition; if Determine that the posture information satisfies the target condition, and prohibit the mobile terminal from accessing a cell of a specified type, where the cell of the specified type does not support the mobile terminal during the access process, and the mobile terminal The cell performs authentication.
  • the present application provides a cell connection processing device, which runs on a mobile terminal.
  • the device includes: a posture acquisition unit for detecting posture information of the mobile terminal when in a specified time interval; a posture detection unit for To determine whether the posture information satisfies the target condition; the communication processing unit is configured to, if it is determined that the posture information satisfies the target condition, prohibit the mobile terminal from accessing a cell of a specified type, wherein the cell of the specified type does not Support the mobile terminal to authenticate the accessed cell during the access process.
  • the present application provides a mobile terminal, including one or more processors and a memory; one or more programs are stored in the memory and configured to be executed by the one or more processors, The one or more programs are configured to perform the above method.
  • a computer-readable storage medium provided by the present application, the program code is stored in the computer-readable storage medium, and the above method is executed when the program code runs.
  • a cell connection processing method, device, mobile terminal and storage medium provided by the present application after the mobile terminal detects that it is currently within a specified time interval, it starts to detect the posture information of the mobile terminal to determine whether the posture information meets the target condition, If it is determined that the posture information satisfies the target condition, prohibiting the mobile terminal from accessing does not support the mobile terminal.
  • the mobile terminal authenticates the accessed cell. Therefore, the mobile terminal can determine whether to allow access to a cell that does not support the authentication of the accessed cell within a specified time interval according to its own posture information, which can further reduce The cell where the cell performs authentication causes the possibility of access to the pseudo base station, which improves the information security of the mobile terminal and thus the user experience.
  • FIG. 1 shows a schematic diagram of a system architecture of a mobile communication network system
  • FIG. 2 shows a schematic diagram of a system architecture of another mobile communication network system
  • FIG. 3 shows a flowchart of a cell connection processing method proposed in an embodiment of the present application
  • FIG. 4 shows a flowchart of a cell connection processing method proposed by another embodiment of the present application.
  • FIG. 5 shows a schematic diagram of an interface in a cell connection processing method according to another embodiment of the present application.
  • FIG. 6 shows a flowchart of a cell connection processing method proposed by yet another embodiment of the present application.
  • FIG. 7 shows another schematic diagram of an interface in a cell connection processing method according to another embodiment of the present application.
  • FIG. 8 shows a flowchart of a cell connection processing method according to another embodiment of the present application.
  • FIG. 9 shows a structural block diagram of a cell connection processing apparatus according to an embodiment of the present application.
  • FIG. 10 shows a structural block diagram of a cell connection processing apparatus according to another embodiment of the present application.
  • FIG. 11 shows a structural block diagram of a cell connection processing apparatus according to another embodiment of the present application.
  • FIG. 12 shows a structural block diagram of a cell connection processing apparatus according to another embodiment of the present application.
  • FIG. 13 shows a structural block diagram of a mobile terminal proposed in this application.
  • FIG. 14 is a storage unit for storing or carrying a program code for implementing a cell connection processing method according to an embodiment of the present application.
  • GSM Global System for Mobile
  • CDMA Code Division Multiple Access
  • LTE Long Term Evolution
  • BTS base station 99 Base Station Controller
  • base station controller 98 Access Device for mobile communication
  • the base station controller 98 is connected to the mobile switching center 97, and the mobile switching center 97 will also be connected to the public switched telephone network 96 connections.
  • FIG. 2 Another example is the schematic diagram of the 4G mobile communication system architecture shown in FIG. 2.
  • the eNB base station 95 is connected to an MME (Mobility Management Entity), that is, a mobile management node 94, and the MME is connected to a service gateway 93, which is then connected to a packet data gateway 92, and the packet data gateway 92 is connected to a packet data network 91.
  • MME Mobility Management Entity
  • the base station as a device that directly establishes a connection with the mobile terminal, has a relatively important position in the entire system architecture.
  • a base station generally refers to a "public mobile communication base station", and its role is mainly used to provide signals to mobile terminals such as mobile phones and tablet computers. With the development of communication technology, the inventor discovered that pseudo base stations appeared.
  • the pseudo base station is a fake base station.
  • the device is generally composed of a host computer and a laptop computer. Through the SMS group sender, SMS sender and other related devices, it can retrieve the mobile phone card information centered on it and within a certain radius, using the defects of 2G mobile communication , By disguising as the operator's base station, using fraudulent mobile phone numbers to send short messages such as fraud and advertising to the user's mobile phone.
  • the wireless signal sent by the mobile terminal is forced to connect to the device, resulting in the mobile terminal not being able to use the services provided by the operator normally.
  • the mobile terminal will temporarily go offline for 8 to 12 seconds and return to normal. Some mobile terminals Then you must switch on and off to reconnect to the network. In addition, it will cause mobile terminal users to frequently update their locations, making the wireless network resources in this area tight and causing network congestion, affecting the user's normal communication.
  • the inventor proposes that in this application, the security of the information of the mobile terminal can be improved, and the cell connection processing method, device, mobile terminal and storage medium for access to the pseudo base station can be reduced.
  • the cell involved in the embodiment of the present application may be regarded as a base station, or may be regarded as a cell among multiple cells carried by a base station.
  • a cell connection processing method provided in an embodiment of the present application is applied to a mobile terminal.
  • the method includes:
  • Step S110 When it is within the specified time interval, detect the posture information of the mobile terminal.
  • the specified time interval represents a time interval in which the probability that the mobile terminal performs voice services or data services is relatively small. Within a specified time interval, the mobile terminal will not or with a very small probability send a registration request to the cell to register with the mobile communication network.
  • a mobile communication network usually includes three major components: an access network, a bearer network, and a core network.
  • the access network is the "window”, responsible for receiving the data
  • the bearer network is the “truck”, responsible for sending the data
  • the core network is the “management center”, which is responsible for managing these data and distributing the data Pick, and tell it where to go.
  • the network air interface in the access network is used to implement information interaction between the mobile terminal and the base station of the mobile communication network, and the information on the network air interface is carried by various logical channels.
  • logical channels are divided into two major categories: traffic channels (TCH, Traffic) and control channels (CCH, Control).
  • TCH mainly transmits services between the network and mobile terminals, such as voice and data;
  • CCH is used For transmitting signaling information and short packet data channels, the broadcast channel (BCH, Broadcast) in CCH is used to transmit information by broadcast, and the broadcast control channel (BCCH, Broadcast) in BCH is used by the base station to Mobile terminals broadcast common information, such as system messages.
  • the mobile terminal After receiving the system message, the mobile terminal can select whether to camp on the cell based on the measurement of the system message. Among them, after the mobile terminal and the base station are successfully synchronized, they will read the MIB (master information) block information and SIB (system information block) information in the system message, and determine whether the current cell can reside by analyzing sib1 in the SIB information.
  • MIB master information
  • SIB system information block
  • the sib1 message can be roughly divided into cell access related information (cellAccessRelatedInfo), cell selection information (cellSelectionInfo), and cell band information (freqBandIndicator).
  • cellAccessRelatedInfo cell access related information
  • cellSelectionInfo cell selection information
  • cell band information cell band information
  • the mobile terminal pays more attention to cellSelectionInfo. It should be noted that if the mobile terminal wants to successfully camp on a cell, the current cell must meet the S criterion. During the cell selection process, the mobile terminal needs to measure the cell to be selected in order to evaluate the channel quality and determine whether it meets the camping criteria. The measurement criterion for cell selection is called the S criterion. When the channel quality of a cell meets the S criterion, it can be selected as the camping cell.
  • a registration request is sent to the core network through the camped cell. Then, the registration request sent by the mobile terminal to the target base station here essentially expects to register the mobile terminal in the core network. Only when the mobile terminal is registered in the core network can it obtain the corresponding service based on the mobile communication network.
  • the specified time interval can be freely configured by the user.
  • the mobile terminal may display a configuration interface, and the user selects the start time and the end time of the specified time interval through operations on the configuration interface.
  • the designated time zone may also be set by the mobile terminal by default, or the designated time zone that has been set may be changed by the mobile terminal according to the user's usage habits.
  • the posture information includes the current posture of the mobile terminal, for example, whether the screen is facing upward or the back cover is facing upward. It can be understood that the upward direction here refers to the direction in which there is a vertically upward component.
  • the posture information also includes acceleration information of the mobile terminal. As a way, if the mobile terminal detects that its own acceleration and angular acceleration are both 0, it is determined that the mobile terminal is in a stationary state, or alternatively, the mobile terminal detects that its own acceleration and angular acceleration are both within the set duration 0, then it is determined that the mobile terminal is in a static state.
  • Step S120 Determine whether the posture information satisfies the target condition.
  • the target condition in the embodiment of the present application indicates that the mobile terminal will not actively initiate the establishment of the voice service link or the data service link, or the probability of actively initiating the establishment of the voice service link or the data service link is small. Then, when the posture information of the mobile terminal meets the target condition, the mobile terminal will not actively initiate the establishment of a voice service link or a data service link.
  • Step S130 If it is determined that the posture information does not satisfy the target condition, the current wireless connection state of the mobile terminal is maintained.
  • the wireless connection state includes a connected cell and services performed in the connected cell.
  • Step S131 If it is determined that the posture information satisfies the target condition, the mobile terminal is prohibited from accessing a cell of a specified type, where the cell of the specified type does not support the mobile terminal. During the access process, the mobile terminal pair The accessed cell is authenticated.
  • the mobile terminal will perform cell selection or cell reselection in various situations. For example, after the mobile terminal is turned on, or after switching from the airplane mode to the online mode, the cell search will start, and during the cell search, it will be received at several center frequency points of the cell where there may be a mobile network (such as an LTE network) Data and calculate the bandwidth RSSI to determine whether there may be a cell around this frequency point based on the received signal strength. If the mobile terminal can save the frequency point and operator information of the last power-off, it may be in the last resident Try to camp on the cell; if there is no prior information, it is likely to search the full frequency point, find the frequency point with a stronger signal, and then try to camp.
  • a mobile network such as an LTE network
  • Cell reselection refers to the process in which the mobile terminal selects a best cell to provide a service signal by monitoring the signal quality of the neighboring cell and the current cell in the idle mode.
  • the terminal will access the cell and camp.
  • the RRC layer calculates Srxlev (S criterion) based on the RSRP measurement results, and compares it with Sintrasearch (start threshold for co-frequency measurement) and Snonintrasearch (start threshold for inter-frequency/different system measurement) as a decision condition for whether to start neighboring zone measurement.
  • the mobile terminal will access the pseudo base station. It can be understood that, for some pseudo base stations, the mobile terminal does not authenticate the accessed base station during the access process, so that the mobile terminal mistakenly believes that it has accessed the legal base station. Then, when it is determined that the mobile terminal will not actively initiate the establishment of a voice service link or data service link based on the foregoing method, or the probability of actively initiating the establishment of a voice service link or data service link is small, the mobile terminal is prohibited Access does not support a cell where the mobile terminal authenticates the accessed cell during the access process, thereby reducing the probability of accessing the pseudo base station.
  • the cell of the specified type includes a 2G cell.
  • step S132 if the mobile terminal determines that the posture information meets the target condition, configure the mobile terminal to connect only to cells that support two-way authentication, where two-way authentication includes mutual authentication of the mobile terminal and the connected cell.
  • the cell supporting two-way authentication includes a 4G cell.
  • the establishment of the connection between the mobile terminal and the cell can be understood as multiple stages in the interaction process between the mobile terminal and the base station.
  • the establishment of the connection between the mobile terminal and the cell can be understood as that the mobile terminal resides in the cell
  • the mobile terminal is registered in the core network of the mobile communication network.
  • a cell connection processing method provided by the present application starts to detect posture information of a mobile terminal after the mobile terminal detects that it is currently within a specified time interval, to determine whether the posture information satisfies the target condition, and if it is determined that the posture information meets the The target condition prohibits the mobile terminal from accessing but does not support the mobile terminal.
  • the mobile terminal authenticates the accessed cell. Therefore, the mobile terminal can determine whether to allow access to a cell that does not support the authentication of the accessed cell within a specified time interval according to its own posture information, which can further reduce The cell where the cell performs authentication causes the possibility of access to the pseudo base station, which improves the information security of the mobile terminal and thus the user experience.
  • a cell connection processing method provided by an embodiment of the present application is applied to a mobile terminal, and the method includes:
  • Step S210 When it is within the specified time interval, detect the posture information of the mobile terminal.
  • Step S220 Determine whether the posture information satisfies the target condition.
  • Step S230 If it is determined that the posture information does not satisfy the target condition, the current wireless connection state of the mobile terminal is maintained.
  • Step S231 If it is detected that the duration of the mobile terminal in the static state is greater than the first duration, it is determined that the posture information satisfies the target condition, and the mobile terminal is prohibited from accessing a cell of a specified type. Wherein, the cell of the specified type does not support the mobile terminal during the access process, and the mobile terminal authenticates the accessed cell.
  • the target condition includes the static duration of the mobile terminal being greater than the first duration. It can be understood that if the mobile terminal detects that it is standing still for more than the first time period, it means that the mobile terminal will not actively initiate the establishment of a voice service link or a data service link within a specified time interval, or actively initiate the establishment of a voice service link Or the probability of the data service link is small, so in order to reduce the mobile terminal accessing the pseudo base station in the process of cell reselection, the mobile terminal is prohibited from accessing the cell of the specified type.
  • the user can freely configure it, or the mobile terminal can update the set value according to the user's usage habits. For example, as shown in FIG. 5, in the static duration selection interface shown in FIG. 5, the user can select the desired static duration from the displayed “30 seconds” to “30 minutes” as the first duration. For example, if the user selects "5 minutes" among them, after the mobile terminal detects that it is in the specified time interval, it starts to detect whether the mobile terminal's standing time reaches 5 minutes, and if it reaches 5 minutes, the mobile terminal is prohibited from receiving Into a designated type of cell.
  • the mobile terminal detects that it is in a specified time interval, it starts to detect whether the mobile terminal's standing time reaches 10 minutes, and if it reaches 10 minutes, it starts to prohibit the mobile terminal Access the specified type of cell.
  • the above-mentioned static duration determined by the user as the first duration may also be updated by the mobile terminal according to various factors. For example, it can be updated according to the current date. Optionally, for the first date (for example, working day), it can be configured to directly judge according to the first duration configured by the user. If it is detected that the current day is the second date (rest day), the mobile terminal can extend the first duration to prevent the user from using the mobile terminal later, and the mobile terminal cannot access the cell of the specified type.
  • Step S232 If it is detected that the duration of the mobile terminal in the static state is greater than the second duration, the mobile terminal is switched to the flight mode, and the second duration is greater than the first duration.
  • the second duration may be freely configured by the user, or the mobile terminal may update the set value according to the user's usage habits. For example, the user can select the required duration of the rest from the displayed "30 seconds" to "30 minutes” as the second duration. For example, if the user selects "5 minutes” among them, after the mobile terminal detects that it is in the specified time interval, it begins to detect whether the mobile terminal's standing time reaches 5 minutes, and if it reaches 5 minutes, the mobile terminal is switched to flying mode.
  • the mobile terminal For another example, if the user selects "10 minutes" among them, after the mobile terminal detects that it is in the specified time interval, it starts to detect whether the mobile terminal's standing time reaches 10 minutes, and if it reaches 10 minutes, the mobile terminal is switched For flight mode.
  • the step of switching the mobile terminal to an airplane mode includes: if it is detected that the mobile terminal is in a stationary state Is longer than the second duration, acquiring the data communication state of the mobile terminal; determining whether the data communication state meets the specified condition; if it is determined that the data communication state meets the specified condition, switching the mobile terminal to the flight mode.
  • the mobile terminal may acquire the data communication state of the mobile terminal, determine whether the data communication state meets the specified condition, and if it is determined that the data communication state meets the specified condition, switch the mobile terminal to flight mode.
  • the user may set some timed events, for example, when the time is a certain time, downloading an application program starts.
  • the specified condition includes that the mobile terminal is not currently in the data communication state.
  • the specified condition includes: the mobile terminal does not have a preset data communication event within the specified time interval, and the mobile terminal is in a data communication state during the execution of the data communication event.
  • the mobile terminal can determine whether it is in the data communication state by detecting whether the data communication link is currently established. It can be understood that, if the mobile terminal detects that the data communication link has been currently established, the mobile terminal can determine that it is currently in the data communication state. Furthermore, as another way, the mobile terminal can also determine whether it is currently in the establishment phase of the data communication link, for example, the mobile terminal has sent a setup request, but the cell has not yet allocated a dedicated traffic channel, and for this case , The mobile terminal can still determine that the mobile terminal is in the data communication state, thereby avoiding the misjudgment caused by the delay in establishing the data communication link.
  • the mobile terminal can also determine whether it is in the data communication state according to the currently running application. For example, it is understandable that applications such as instant messaging software or web browsers inevitably exchange data with the network during operation. At that time, such software did not exchange data with the network in real time. It will exchange data with the network only when there is data to be exchanged. For example, taking a web browser as an example, usually after a user triggers a web content requesting a web page address, the web browser sends a web page request to the network to exchange data with the network.
  • the mobile terminal can determine that the mobile terminal is in a data communication state when it is determined that the history of the currently running application has been exchanged. .
  • a cell connection processing method provided by the present application starts to detect the posture information of the mobile terminal after the mobile terminal detects that it is currently within a specified time interval, and judges if the posture information of the mobile terminal is the length of time in the static state Whether the posture information satisfies the target condition, if it is determined that the posture information satisfies the target condition, the mobile terminal is prohibited from accessing but does not support the mobile terminal. During the access process, the mobile terminal performs authentication on the accessed cell right.
  • the mobile terminal can determine whether to allow access to a cell that does not support the authentication of the accessed cell within a specified time interval according to its own posture information, which can further reduce The cell where the cell performs authentication causes the possibility of access to the pseudo base station, which improves the information security of the mobile terminal and thus the user experience.
  • a cell connection processing method provided in an embodiment of the present application is applied to a mobile terminal, and the method includes:
  • Step S310 Obtain the determined start time and end time.
  • the mobile terminal may display a configuration interface 89, and the user selects the start time and the end time of the specified time interval by operating on the configuration interface 89.
  • the mobile terminal may display a plurality of start times to be selected and a plurality of end times to be selected; acquiring the selected start time from the plurality of start times to be selected, and the plurality of to be selected The selected end time in the end time of the; the selected start time as the determined start time, and the selected end time as the determined end time.
  • the mobile terminal may obtain multiple time intervals to be selected, the lengths of the multiple time intervals to be selected are all greater than the first threshold duration, and the mobile terminal is in a moving state during the multiple time intervals to be selected
  • the duration of is shorter than the second threshold duration; the start time of the plurality of time intervals to be selected is taken as the start time of the plurality of time intervals to be selected; the end time of the plurality of time intervals to be selected is taken as the Multiple end moments to be selected.
  • the first threshold duration characterizes that the mobile terminal has been in a static state during this stage, which means that during this period of time, the user has no need to use the mobile terminal.
  • Step S320 Determine the time interval between the start time and the end time as the specified time interval.
  • Step S330 When it is within the specified time interval, detect the posture information of the mobile terminal.
  • Step S340 determine whether the posture information satisfies the target condition.
  • Step S350 If it is determined that the posture information does not satisfy the target condition, the current wireless connection state of the mobile terminal is maintained.
  • Step S351 If it is determined that the posture information satisfies the target condition, the mobile terminal is prohibited from accessing a cell of a specified type, where the cell of the specified type does not support the mobile terminal. During the access process, the mobile terminal pair The accessed cell is authenticated.
  • a cell connection processing method provided by the present application after obtaining a specified time interval according to the determined start time and end time, after the mobile terminal detects that it is currently within the specified time interval, starts to detect the posture information of the mobile terminal, and judges the Whether the posture information satisfies the target condition, if it is determined that the posture information satisfies the target condition, the mobile terminal is prohibited from accessing the mobile terminal during the access process, and the mobile terminal authenticates the accessed cell.
  • the mobile terminal can determine whether to allow access to a cell that does not support the authentication of the accessed cell within a specified time interval according to its own posture information, which can further reduce The cell where the cell performs authentication causes the possibility of access to the pseudo base station, which improves the information security of the mobile terminal and thus the user experience.
  • a cell connection processing method provided by an embodiment of the present application is applied to a mobile terminal, and the method includes:
  • Step S410 When it is within the specified time interval, detect the posture information of the mobile terminal.
  • Step S420 Determine whether the posture information satisfies the target condition.
  • Step S430 If it is determined that the posture information does not satisfy the target condition, the current wireless connection state of the mobile terminal is maintained.
  • Step S440 If it is determined that the posture information satisfies the target condition, obtain current location information.
  • Step S450 Detect whether the current location information matches the target location information.
  • Step S460 If it is detected that the current location information matches the target location information, the mobile terminal is prohibited from accessing a cell of a specified type, where the cell of the specified type does not support the mobile terminal during the access process, the The mobile terminal authenticates the accessed cell.
  • the target position therein represents the long-term position of the mobile terminal, for example, the position of the mobile terminal user's home.
  • the target location information if it is detected that the current location of the mobile terminal matches the target location information, then it indicates that the mobile terminal is in the previous long-term or daily location, and if the mobile location information is detected and the target If the location information does not match, it means that the mobile terminal is in a new location.
  • the user of the mobile terminal may have different operation methods. In order to avoid inconvenience to the user, mobile poisoning will continue Keep the current wireless connection status.
  • the current location information includes location information of a currently connected cell;
  • the target location information includes location information of a cell that the mobile terminal has connected within the specified time interval.
  • the network air interface is used to implement information interaction between the mobile terminal and the base station of the mobile communication network, and the information on the network air interface is carried by various logical channels.
  • logical channels are divided into two major categories: traffic channels (TCH, Traffic) and control channels (CCH, Control).
  • TCH mainly transmits services between the network and mobile terminals, such as voice and data;
  • CCH is used For transmitting signaling information and short packet data channels, the broadcast channel (BCH, Broadcast) in CCH is used to transmit information by broadcast, and the broadcast control channel (BCCH, Broadcast) in BCH is used by the base station to Mobile terminals broadcast common information, such as system messages.
  • the mobile terminal will detect the system information broadcast by the base station, and then parse out the TAC value of the base station from the system message.
  • the tracking area is a concept established by the LTE system for the location management of the UE (mobile terminal).
  • the function of the tracking area is similar to the location area (LA) and routing area (RA) of the 3G system.
  • the core network can know the location of the UE in the idle state through the tracking area information, and paging the UE when there is a data service requirement.
  • a tracking area may contain one or more cells, and a cell can only belong to one tracking area, then the identification of the tracking area is the TAC value in this application.
  • TAC's identity is TAI (Tracking Area) Identity
  • TAI is composed of PLMN and TAC.
  • TAI PLMN+TAC (Tracking Area Code).
  • the mobile terminal can call the TelephonyManager class to obtain data from the system messages that the mobile terminal has parsed out.
  • the correspondence between the cell identification (for example, TAC value) or the tracking area identification (for example, TAC value) and location information is usually stored in some public servers or servers of network operators. After the identification or the identification of the tracking area, the corresponding location information is queried by sending a data request to the above server.
  • the current location information includes the physical address of the currently connected hotspot;
  • the target location information includes the physical address of the hotspot searched by the mobile terminal within the specified time interval.
  • a cell connection processing apparatus 500 provided in an embodiment of the present application runs on a mobile terminal, and the apparatus 500 includes:
  • the posture acquisition unit 510 is configured to detect posture information of the mobile terminal when it is within a specified time interval.
  • the posture detection unit 520 is used to determine whether the posture information satisfies the target condition.
  • the communication processing unit 530 is configured to prohibit the mobile terminal from accessing a specified type of cell if it is determined that the posture information meets the target condition.
  • the specified type of cell does not support the mobile terminal during the access process.
  • the mobile terminal authenticates the accessed cell.
  • the communication processing unit 530 is further configured to configure the mobile terminal to connect only to cells that support two-way authentication if it is determined that the posture information meets the target condition, where two-way authentication includes mutual authentication of the mobile terminal and the connected cell .
  • the cell of the specified type includes a 2G cell.
  • the cell supporting two-way authentication includes a 4G cell.
  • a cell connection processing device 600 provided in an embodiment of the present application runs on a mobile terminal, and the device 600 includes:
  • the posture acquisition unit 610 is configured to detect posture information of the mobile terminal when it is within a specified time interval.
  • the posture detection unit 620 is used to determine whether the posture information satisfies the target condition.
  • the communication processing unit 630 is configured to determine that the posture information satisfies the target condition and prohibit the mobile terminal from accessing a cell of a specified type if the duration of detecting that the mobile terminal is in a stationary state is longer than the first duration. Wherein, the cell of the specified type does not support the mobile terminal during the access process, and the mobile terminal authenticates the accessed cell.
  • the first communication processing unit 630 is further configured to switch the mobile terminal to an airplane mode if the duration of detecting that the mobile terminal is in a stationary state is greater than a second duration, the second duration is greater than the first duration .
  • the device 600 further includes a second communication processing unit 640, and is further configured to acquire the data communication state of the mobile terminal if the duration of detecting that the mobile terminal is in a stationary state is greater than the second duration; determining the data communication Whether the state meets the specified condition; if it is determined that the data communication state meets the specified condition, the mobile terminal is switched to the flight mode.
  • a second communication processing unit 640 is further configured to acquire the data communication state of the mobile terminal if the duration of detecting that the mobile terminal is in a stationary state is greater than the second duration; determining the data communication Whether the state meets the specified condition; if it is determined that the data communication state meets the specified condition, the mobile terminal is switched to the flight mode.
  • the specified condition includes: the mobile terminal is not currently in a data communication state.
  • the specified condition includes: the mobile terminal does not have a preset data communication event within the specified time interval, and the mobile terminal is in a data communication state during the execution of the data communication event.
  • a cell connection processing apparatus 700 provided in an embodiment of the present application runs on a mobile terminal, and the apparatus 700 includes:
  • the time acquiring unit 710 is used to acquire the determined start time and end time.
  • the time obtaining unit 710 is configured to obtain multiple time intervals to be selected, the lengths of the multiple time intervals to be selected are all greater than the first threshold duration, and are within the multiple time intervals to be selected In the mobile terminal, the duration of the mobile state is shorter than the second threshold duration; the start time of the plurality of time intervals to be selected is taken as the start time of the plurality of time intervals to be selected; the plurality of time intervals to be selected End time of the plurality of end times to be selected.
  • the time interval determining unit 720 is configured to determine the time interval between the start time and the end time as a specified time interval.
  • the posture acquisition unit 730 is configured to detect posture information of the mobile terminal when it is within a specified time interval.
  • the posture detection unit 740 is used to determine whether the posture information satisfies the target condition.
  • the communication processing unit 750 is configured to prohibit the mobile terminal from accessing a cell of a specified type if it is determined that the posture information satisfies the target condition.
  • the cell of the specified type does not support the mobile terminal during the access process.
  • the mobile terminal authenticates the accessed cell.
  • a cell connection processing apparatus 800 provided by an embodiment of the present application runs on a mobile terminal, and the apparatus 800 includes:
  • the posture acquisition unit 810 is configured to detect posture information of the mobile terminal when it is within a specified time interval.
  • the posture detection unit 820 is used to determine whether the posture information satisfies the target condition.
  • the position acquiring unit 830 is configured to acquire current position information if it is determined that the posture information meets the target condition.
  • the location matching unit 840 is configured to detect whether the current location information matches the target location information.
  • the communication processing unit 850 is configured to prohibit the mobile terminal from accessing a cell of a specified type if it is detected that the current location information matches the target location information, wherein the cell of the specified type does not support the mobile terminal during the access process In the mobile terminal, the mobile terminal authenticates the accessed cell.
  • the current location information includes location information of a currently connected cell;
  • the target location information includes location information of a cell that the mobile terminal has connected within the specified time interval.
  • the current location information includes the physical address of the currently connected hotspot;
  • the target location information includes the physical address of the hotspot searched by the mobile terminal within the specified time interval.
  • each functional module in each embodiment of the present application may be integrated into one processing module, or each module may exist alone physically, or two or more modules may be integrated into one module.
  • the above integrated modules can be implemented in the form of hardware or software function modules.
  • a cell connection processing method, device, mobile terminal, and storage medium provided by the present application, after the mobile terminal detects that it is currently within a specified time interval, starts to detect the posture information of the mobile terminal, and judges the posture information Whether the target condition is satisfied, if it is determined that the posture information satisfies the target condition, prohibiting the mobile terminal from accessing does not support the mobile terminal during the access process, and the mobile terminal authenticates the accessed cell. Therefore, the mobile terminal can determine whether to allow access to a cell that does not support the authentication of the accessed cell within a specified time interval according to its own posture information, which can further reduce The cell where the cell performs authentication causes the possibility of access to the pseudo base station, which improves the information security of the mobile terminal and thus the user experience.
  • the mobile terminal provided by the present application will be described below with reference to FIG. 13.
  • the mobile terminal 100 includes one or more processors (only one shown in the figure), a memory 104, and a wireless module 106 coupled to each other.
  • the memory 104 stores a program that can execute the content in the foregoing embodiment, and the processor 102 can execute the program stored in the memory 104.
  • the processor 102 may include one or more processing cores.
  • the processor 102 connects various parts of the entire mobile terminal 100 using various interfaces and lines, executes or executes instructions, programs, code sets or instruction sets stored in the memory 104, and calls data stored in the memory 104 to execute Various functions and processing data of the mobile terminal 100.
  • the processor 102 may adopt at least one of digital signal processing (Digital Signal Processing, DSP), field programmable gate array (Field-Programmable Gate Array, FPGA), programmable logic array (Programmable Logic Array, PLA)
  • DSP Digital Signal Processing
  • FPGA Field-Programmable Gate Array
  • PLA programmable logic array
  • the processor 102 may integrate one or a combination of one of a central processing unit (Central Processing Unit, CPU), an image processing unit (Graphics Processing Unit, GPU), and a modem.
  • CPU Central Processing Unit
  • GPU Graphics Processing Unit
  • modem modem
  • the CPU mainly handles the operating system, user interface and application programs, etc.; the GPU is used for rendering and rendering of the displayed content; and the modem is used for processing wireless communication. It can be understood that the above-mentioned modem may not be integrated into the processor 102, and may be implemented by a communication chip alone.
  • the memory 104 may include random access memory (RAM) or read-only memory (Read-Only Memory).
  • the memory 104 may be used to store instructions, programs, codes, code sets, or instruction sets.
  • the memory 104 may include a storage program area and a storage data area, wherein the storage program area may store instructions for implementing an operating system and instructions for implementing at least one function (such as a touch function, a sound playback function, an image playback function, etc.) , Instructions for implementing the following method embodiments.
  • the storage data area may also store data created by the terminal 100 in use (such as a phone book, audio and video data, and chat history data).
  • the wireless module 106 is used to receive and send electromagnetic waves, and realize the mutual conversion of electromagnetic waves and electrical signals, so as to communicate with a communication network or other devices, such as audio playback devices.
  • the wireless module 106 may include various existing circuit elements for performing these functions, for example, an antenna, a radio frequency transceiver, a digital signal processor, an encryption/decryption chip, a subscriber identity module (SIM) card, a memory, etc. .
  • SIM subscriber identity module
  • the wireless module 106 can communicate with various networks such as the Internet, an intranet, and a wireless network or communicate with other devices through the wireless network.
  • the aforementioned wireless network may include a cellular telephone network, a wireless local area network, or a metropolitan area network.
  • the wireless module 106 can exchange information with the base station.
  • FIG. 14 shows a structural block diagram of a computer-readable storage medium provided by an embodiment of the present application.
  • the computer readable medium 900 stores program codes, and the program codes can be called by a processor to execute the method described in the above method embodiments.
  • the computer-readable storage medium 900 may be an electronic memory such as flash memory, EEPROM (Electrically Erasable Programmable Read Only Memory), EPROM, hard disk, or ROM.
  • the computer-readable storage medium 800 includes a non-transitory computer-readable storage medium.
  • the computer-readable storage medium 900 has a storage space for the program code 910 that performs any of the method steps described above. These program codes can be read from or written into one or more computer program products.
  • the program code 810 may be compressed in an appropriate form, for example.

Abstract

Embodiments of the present application disclose a cell connection processing method and device, a mobile terminal, and a storage medium. The method comprises: detecting, when falling within a specified time interval, orientation information of a mobile terminal; determining whether the orientation information meets a target condition; and if so, prohibiting the mobile terminal from accessing a cell of a specified type, wherein the cell of the specified type does not support authentication by the mobile terminal during an access process. The method enables a mobile terminal to determine, when falling within a specified time interval and according to orientation information thereof, whether the mobile terminal is allowed to access a cell that does not support authentication by the mobile terminal, thereby reducing the possibility of accessing a pseudo base station caused by allowing access to a cell that does not support authentication, while also improving information security of the mobile terminal and the user experience.

Description

小区连接处理方法、装置、移动终端及存储介质Cell connection processing method, device, mobile terminal and storage medium 技术领域Technical field
本申请涉及通信技术领域,更具体地,涉及一种小区连接处理方法、装置、移动终端及存储介质。The present application relates to the field of communication technology, and more specifically, to a cell connection processing method, device, mobile terminal, and storage medium.
背景技术Background technique
“伪基站”即假基站,伪基站一般由主机和笔记本电脑组成,通过短信群发器、短信发信机等相关设备能够搜取以其为中心、一定半径范围内的手机卡信息,利用移动通信的缺陷,通过伪装成运营商的基站,冒用他人手机号码强行向用户手机发送诈骗、广告推销等短信息。"Pseudo base station" is a fake base station. The pseudo base station is generally composed of a host computer and a laptop computer. It can retrieve mobile phone card information centered on it and within a certain radius through the SMS group sender, SMS sender and other related equipment, using mobile communications The shortcomings of the system, by pretending to be the base station of the operator, used the mobile phone number of others to forcibly send short messages such as fraud and advertising to the user's mobile phone.
发明内容Summary of the invention
鉴于上述问题,本申请提出了一种小区连接处理方法、装置、移动终端及存储介质,以实现改善上述问题。In view of the above problems, this application proposes a cell connection processing method, device, mobile terminal, and storage medium to achieve the improvement of the above problems.
第一方面,本申请提供了一种小区连接处理方法,应用于移动终端,所述方法包括:当处于指定时间区间内,检测移动终端的姿态信息;判断所述姿态信息是否满足目标条件;若判定所述姿态信息满足所述目标条件,禁止所述移动终端接入指定类型的小区,其中,所述指定类型的小区不支持移动终端在接入过程中,所述移动终端对所接入的小区进行鉴权。In the first aspect, the present application provides a cell connection processing method, which is applied to a mobile terminal. The method includes: detecting the posture information of the mobile terminal when in a specified time interval; judging whether the posture information satisfies the target condition; if Determine that the posture information satisfies the target condition, and prohibit the mobile terminal from accessing a cell of a specified type, where the cell of the specified type does not support the mobile terminal during the access process, and the mobile terminal The cell performs authentication.
第二方面,本申请提供了一种小区连接处理装置,运行于移动终端,所述装置包括:姿态获取单元,用于当处于指定时间区间内,检测移动终端的姿态信息;姿态检测单元,用于判断所述姿态信息是否满足目标条件;通信处理单元,用于若判定所述姿态信息满足所述目标条件,禁止所述移动终端接入指定类型的小区,其中,所述指定类型的小区不支持移动终端在接入过程中,所述移动终端对所接入的小区进行鉴权。In a second aspect, the present application provides a cell connection processing device, which runs on a mobile terminal. The device includes: a posture acquisition unit for detecting posture information of the mobile terminal when in a specified time interval; a posture detection unit for To determine whether the posture information satisfies the target condition; the communication processing unit is configured to, if it is determined that the posture information satisfies the target condition, prohibit the mobile terminal from accessing a cell of a specified type, wherein the cell of the specified type does not Support the mobile terminal to authenticate the accessed cell during the access process.
第三方面,本申请提供了一种移动终端,包括一个或多个处理器以及存储器;一个或多个程序被存储在所述存储器中并被配置为由所述一个或多个处理器执行,所述一个或多个程序配置用于执行上述的方法。In a third aspect, the present application provides a mobile terminal, including one or more processors and a memory; one or more programs are stored in the memory and configured to be executed by the one or more processors, The one or more programs are configured to perform the above method.
第四方面,本申请提供的一种计算机可读存储介质,所述计算机可读存储介质中存储有程序代码,其中,在所述程序代码运行时执行上述的方法。According to a fourth aspect, a computer-readable storage medium provided by the present application, the program code is stored in the computer-readable storage medium, and the above method is executed when the program code runs.
本申请提供的一种小区连接处理方法、装置、移动终端及存储介质,在移动终端检测到当前处于指定时间区间内以后,开始检测移动终端的姿态信息,判断所述姿态信息是否满足目标条件,若判定所述姿态信息满足所述目 标条件,禁止所述移动终端接入不支持移动终端在接入过程中,所述移动终端对所接入的小区进行鉴权。从而使得移动终端可以在处于指定时间区间内,根据自身的姿态信息来确定是否允许接入到不支持对所接入的小区进行鉴权的小区中,进而可以降低因为允许接入到不支持对小区进行鉴权的小区,造成的接入到伪基站的可能性,提升了移动终端的信息安全,进而提升了用户体验。A cell connection processing method, device, mobile terminal and storage medium provided by the present application, after the mobile terminal detects that it is currently within a specified time interval, it starts to detect the posture information of the mobile terminal to determine whether the posture information meets the target condition, If it is determined that the posture information satisfies the target condition, prohibiting the mobile terminal from accessing does not support the mobile terminal. During the access process, the mobile terminal authenticates the accessed cell. Therefore, the mobile terminal can determine whether to allow access to a cell that does not support the authentication of the accessed cell within a specified time interval according to its own posture information, which can further reduce The cell where the cell performs authentication causes the possibility of access to the pseudo base station, which improves the information security of the mobile terminal and thus the user experience.
附图说明BRIEF DESCRIPTION
为了更清楚地说明本申请实施例中的技术方案,下面将对实施例描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本申请的一些实施例,对于本领域技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。In order to more clearly explain the technical solutions in the embodiments of the present application, the following will briefly introduce the drawings required in the description of the embodiments. Obviously, the drawings in the following description are only some embodiments of the present application. For those skilled in the art, without paying any creative work, other drawings can also be obtained based on these drawings.
图1示出了一种移动通信网络系统的系统架构示意图;FIG. 1 shows a schematic diagram of a system architecture of a mobile communication network system;
图2示出了另一种移动通信网络系统的系统架构示意图;2 shows a schematic diagram of a system architecture of another mobile communication network system;
图3示出了本申请实施例提出的一种小区连接处理方法的流程图;FIG. 3 shows a flowchart of a cell connection processing method proposed in an embodiment of the present application;
图4示出了本申请另一实施例提出的一种小区连接处理方法的流程图;4 shows a flowchart of a cell connection processing method proposed by another embodiment of the present application;
图5示出了本申请另一实施例提出的一种小区连接处理方法中的一种界面示意图;FIG. 5 shows a schematic diagram of an interface in a cell connection processing method according to another embodiment of the present application;
图6示出了本申请再一实施例提出的一种小区连接处理方法的流程图;FIG. 6 shows a flowchart of a cell connection processing method proposed by yet another embodiment of the present application;
图7示出了本申请再一实施例提出的一种小区连接处理方法中的另一种界面示意图;7 shows another schematic diagram of an interface in a cell connection processing method according to another embodiment of the present application;
图8示出了本申请又一实施例提出的一种小区连接处理方法的流程图;8 shows a flowchart of a cell connection processing method according to another embodiment of the present application;
图9示出了本申请实施例提出的一种小区连接处理装置的结构框图;9 shows a structural block diagram of a cell connection processing apparatus according to an embodiment of the present application;
图10示出了本申请另一实施例提出的一种小区连接处理装置的结构框图;10 shows a structural block diagram of a cell connection processing apparatus according to another embodiment of the present application;
图11示出了本申请再一实施例提出的一种小区连接处理装置的结构框图;FIG. 11 shows a structural block diagram of a cell connection processing apparatus according to another embodiment of the present application;
图12示出了本申请又一实施例提出的一种小区连接处理装置的结构框图;12 shows a structural block diagram of a cell connection processing apparatus according to another embodiment of the present application;
图13示出了本申请提出的一种移动终端的结构框图;13 shows a structural block diagram of a mobile terminal proposed in this application;
图14是本申请实施例的用于保存或者携带实现根据本申请实施例的小区连接处理方法的程序代码的存储单元。14 is a storage unit for storing or carrying a program code for implementing a cell connection processing method according to an embodiment of the present application.
具体实施方式detailed description
下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行清楚、完整地描述。基于本申请中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都属于本申请保护的范围。The technical solutions in the embodiments of the present application will be described clearly and completely with reference to the drawings in the embodiments of the present application. Based on the embodiments in the present application, all other embodiments obtained by a person of ordinary skill in the art without creative work fall within the protection scope of the present application.
随着移动通信技术的发展,移动通信已经经历了2G、3G以及4G等多个版本的发展。而不论是早期2G时代的GSM(Global System for Mobile Communication)移动通信系统或者CDMA(Code Division Multiple Access)通信系统,还是到了后面4G时代的LTE(Long Term Evolution)系统架构,基站都是比较重要的一个通信设备。With the development of mobile communication technology, mobile communication has experienced the development of multiple versions such as 2G, 3G and 4G. Whether it is the GSM (Global System for Mobile) communication system or CDMA (Code Division Multiple Access) communication system in the early 2G era, or the LTE (Long Term Evolution) system architecture in the later 4G era, base stations are more important A communication device.
例如,如图1所示的2G移动通信系统架构示意图。BTS基站99(Base Station Controller)作为移动通信通络的的接入设备与基站控制器98连接,然后基站控制器98再与移动交换中心97连接,而移动交换中心97还会与公共交换电话网络96等连接。再例如图2所示的4G移动通信系统架构示意图。eNB基站95与MME(Mobility Management Entity),即移动管理节点94连接,而MME与服务网关93连接,服务网关93再与分组数据网关92连接,分组数据网关92与分组数据网络91连接。可以从图1和图2看出,在移动通信系统中,基站作为直接与移动终端建立连接的设备,在整个系统架构中有着比较重要的地位。基站,一般是指“公用移动通信基站”,其作用主要用于给手机、平板电脑等移动终端提供信号。而随着通信技术的发展,发明人发现出现了伪基站。For example, a schematic diagram of the architecture of the 2G mobile communication system shown in FIG. 1. BTS base station 99 (Base Station Controller) is connected to the base station controller 98 as an access device for mobile communication, and then the base station controller 98 is connected to the mobile switching center 97, and the mobile switching center 97 will also be connected to the public switched telephone network 96 connections. Another example is the schematic diagram of the 4G mobile communication system architecture shown in FIG. 2. The eNB base station 95 is connected to an MME (Mobility Management Entity), that is, a mobile management node 94, and the MME is connected to a service gateway 93, which is then connected to a packet data gateway 92, and the packet data gateway 92 is connected to a packet data network 91. It can be seen from FIGS. 1 and 2 that in the mobile communication system, the base station, as a device that directly establishes a connection with the mobile terminal, has a relatively important position in the entire system architecture. A base station generally refers to a "public mobile communication base station", and its role is mainly used to provide signals to mobile terminals such as mobile phones and tablet computers. With the development of communication technology, the inventor discovered that pseudo base stations appeared.
伪基站即假基站,设备一般由主机和笔记本电脑组成,通过短信群发器、短信发信机等相关设备能够搜取以其为中心、一定半径范围内的手机卡信息,利用2G移动通信的缺陷,通过伪装成运营商的基站,冒用他人手机号码强行向用户手机发送诈骗、广告推销等短信息。The pseudo base station is a fake base station. The device is generally composed of a host computer and a laptop computer. Through the SMS group sender, SMS sender and other related devices, it can retrieve the mobile phone card information centered on it and within a certain radius, using the defects of 2G mobile communication , By disguising as the operator's base station, using fraudulent mobile phone numbers to send short messages such as fraud and advertising to the user's mobile phone.
伪基站设备运行时,移动终端发送的无线信号被强制连接到该设备上,导致移动终端无法正常使用运营商提供的服务,移动终端一般会暂时脱网8~12秒后恢复正常,部分移动终端则必须开关机才能重新入网。此外,它还会导致移动终端用户频繁地更新位置,使得该区域的无线网络资源紧张并出现网络拥塞现象,影响用户的正常通信。When the pseudo base station device is running, the wireless signal sent by the mobile terminal is forced to connect to the device, resulting in the mobile terminal not being able to use the services provided by the operator normally. The mobile terminal will temporarily go offline for 8 to 12 seconds and return to normal. Some mobile terminals Then you must switch on and off to reconnect to the network. In addition, it will cause mobile terminal users to frequently update their locations, making the wireless network resources in this area tight and causing network congestion, affecting the user's normal communication.
因此,发明人提出了本申请中可以提升移动终端的信息的安全性,减小接入到伪基站的小区连接处理方法、装置、移动终端及存储介质。Therefore, the inventor proposes that in this application, the security of the information of the mobile terminal can be improved, and the cell connection processing method, device, mobile terminal and storage medium for access to the pseudo base station can be reduced.
需要说明的是,在本申请实施例中所涉及的小区可以看做是一个基站,也可以看做是一个基站承载的多个小区中的一个小区。It should be noted that the cell involved in the embodiment of the present application may be regarded as a base station, or may be regarded as a cell among multiple cells carried by a base station.
下面将结合附图具体描述本申请的各实施例。The embodiments of the present application will be described in detail below with reference to the drawings.
请参阅图3,本申请实施例提供的一种小区连接处理方法,应用于移动终端,所述方法包括:Referring to FIG. 3, a cell connection processing method provided in an embodiment of the present application is applied to a mobile terminal. The method includes:
步骤S110:当处于指定时间区间内,检测移动终端的姿态信息。Step S110: When it is within the specified time interval, detect the posture information of the mobile terminal.
其中,指定时间区间表征移动终端进行语音业务或者数据业务的概率都较小的时间区间。在指定时间区间内,移动终端不会或者说是极小的概率向小区发送注册到移动通信网络的注册请求。The specified time interval represents a time interval in which the probability that the mobile terminal performs voice services or data services is relatively small. Within a specified time interval, the mobile terminal will not or with a very small probability send a registration request to the cell to register with the mobile communication network.
需要说明的是,移动通信网络通常包括三大组成部分:接入网、承载网、核心网。其中,接入网是“窗口”,负责把数据收上来;承载网是“卡车”,负责把数据送来送去;核心网呢,就是“管理中枢”,负责管理这些数据,对数据进行分拣,然后告诉它,该去何方。It should be noted that a mobile communication network usually includes three major components: an access network, a bearer network, and a core network. Among them, the access network is the "window", responsible for receiving the data; the bearer network is the "truck", responsible for sending the data; the core network is the "management center", which is responsible for managing these data and distributing the data Pick, and tell it where to go.
通常,接入网中的网络空中接口用于实现移动终端和移动通信网络的基站之间的信息交互,并且网络空中接口上的信息由各种逻辑信道承载。其中,逻辑信道分为业务信道(TCH,Traffic Channel)和控制信道(CCH,Control Channel)两大类,其中,TCH主要在网络和移动终端间的传送业务,如语音、数据等;CCH是用于传送信令信息和短的分组数据的信道,CCH中广播信道(BCH,Broadcast Channel)用于通过广播的方式传输信息,在BCH中的广播控制信道(BCCH,Broadcast Control Channel)用于基站向移动终端广播公用的信息,例如系统消息等。Generally, the network air interface in the access network is used to implement information interaction between the mobile terminal and the base station of the mobile communication network, and the information on the network air interface is carried by various logical channels. Among them, logical channels are divided into two major categories: traffic channels (TCH, Traffic) and control channels (CCH, Control). Among them, TCH mainly transmits services between the network and mobile terminals, such as voice and data; CCH is used For transmitting signaling information and short packet data channels, the broadcast channel (BCH, Broadcast) in CCH is used to transmit information by broadcast, and the broadcast control channel (BCCH, Broadcast) in BCH is used by the base station to Mobile terminals broadcast common information, such as system messages.
移动终端在接收到系统消息后,可以基于对于系统消息的测量选择是否驻留在该该小区。其中,移动终端与基站同步成功以后,就会读取系统消息中的MIB(master information block)信息和SIB(system information blocks)信息,通过解析SIB信息中的sib1,判断当前小区是否可以驻留。After receiving the system message, the mobile terminal can select whether to camp on the cell based on the measurement of the system message. Among them, after the mobile terminal and the base station are successfully synchronized, they will read the MIB (master information) block information and SIB (system information block) information in the system message, and determine whether the current cell can reside by analyzing sib1 in the SIB information.
sib1消息大致可以分为小区接入相关信息(cellAccessRelatedInfo),小区选择信信息(cellSelectionInfo),小区的band信息(freqBandIndicator)。移动终端在获取到sib消息后,更关注cellSelectionInfo。需要说明的是,移动终端如果想成功驻留一个小区,当前小区必须满足S准则。在小区选择过程中,移动终端需要对将要选择的小区进行测量,以便进行信道质量 评估,判断其是否符合驻留的标准。而小区选择的测量准则被称为S准则,当某个小区的信道质量满足S准则之后,就可以被选择为驻留小区。The sib1 message can be roughly divided into cell access related information (cellAccessRelatedInfo), cell selection information (cellSelectionInfo), and cell band information (freqBandIndicator). After obtaining the sib message, the mobile terminal pays more attention to cellSelectionInfo. It should be noted that if the mobile terminal wants to successfully camp on a cell, the current cell must meet the S criterion. During the cell selection process, the mobile terminal needs to measure the cell to be selected in order to evaluate the channel quality and determine whether it meets the camping criteria. The measurement criterion for cell selection is called the S criterion. When the channel quality of a cell meets the S criterion, it can be selected as the camping cell.
而在移动终端在某个小区驻留之后,为了通过所驻留的小区获取相应的移动通信服务,就会通过所驻留的小区向核心网发送注册请求。那么这里移动终端向目标基站发送的注册请求,实质是期望将移动终端注册到核心网中。移动终端只有在注册到了核心网中,才能基于移动通信网络获取到相应的服务。After the mobile terminal camps in a certain cell, in order to obtain the corresponding mobile communication service through the camped cell, a registration request is sent to the core network through the camped cell. Then, the registration request sent by the mobile terminal to the target base station here essentially expects to register the mobile terminal in the core network. Only when the mobile terminal is registered in the core network can it obtain the corresponding service based on the mobile communication network.
指定时间区间可以由用户进行自由配置。例如,移动终端可以显示一个配置界面,用户通过在配置界面上的操作选择指定时间区间的开始时刻以及结束时刻。此外,指定时间区也可以由移动终端默认设定,还可以由移动终端根据用户的使用习惯对已经设定的指定时间区间进行更改。The specified time interval can be freely configured by the user. For example, the mobile terminal may display a configuration interface, and the user selects the start time and the end time of the specified time interval through operations on the configuration interface. In addition, the designated time zone may also be set by the mobile terminal by default, or the designated time zone that has been set may be changed by the mobile terminal according to the user's usage habits.
其中,姿态信息包括移动终端当前的姿态,例如,是屏幕朝上还是后盖朝上。可以理解的是,这里的朝上的方向是指存在竖直向上的分量的方向。此外,姿态信息还包括移动终端的加速度信息。作为一种方式,若移动终端检测到自身的加速度以及角加速度均为0,那么就判定移动终端处于静置状态,再或者,移动终端检测到自身的加速度以及角加速度在设定时长内均为0,那么就判定移动终端处于静置状态。The posture information includes the current posture of the mobile terminal, for example, whether the screen is facing upward or the back cover is facing upward. It can be understood that the upward direction here refers to the direction in which there is a vertically upward component. In addition, the posture information also includes acceleration information of the mobile terminal. As a way, if the mobile terminal detects that its own acceleration and angular acceleration are both 0, it is determined that the mobile terminal is in a stationary state, or alternatively, the mobile terminal detects that its own acceleration and angular acceleration are both within the set duration 0, then it is determined that the mobile terminal is in a static state.
步骤S120:判断所述姿态信息是否满足目标条件。Step S120: Determine whether the posture information satisfies the target condition.
可以理解的是,本申请实施例中的目标条件表征移动终端不会主动发起建立语音业务链路或者数据业务链路,或者主动发起建立语音业务链路或者数据业务链路的概率较小。那么在移动终端的姿态信息满足目标条件的情况下,移动终端不会主动的发起建立语音业务链路或者数据业务链路。It can be understood that the target condition in the embodiment of the present application indicates that the mobile terminal will not actively initiate the establishment of the voice service link or the data service link, or the probability of actively initiating the establishment of the voice service link or the data service link is small. Then, when the posture information of the mobile terminal meets the target condition, the mobile terminal will not actively initiate the establishment of a voice service link or a data service link.
步骤S130:若判定所述姿态信息不满足所述目标条件,保持所述移动终端当前的无线连接状态。Step S130: If it is determined that the posture information does not satisfy the target condition, the current wireless connection state of the mobile terminal is maintained.
其中,所述无线连接状态包括所连接的小区以及在所连接的小区中进行的业务。Wherein, the wireless connection state includes a connected cell and services performed in the connected cell.
步骤S131:若判定所述姿态信息满足所述目标条件,禁止所述移动终端接入指定类型的小区,其中,所述指定类型的小区不支持移动终端在接入过程中,所述移动终端对所接入的小区进行鉴权。Step S131: If it is determined that the posture information satisfies the target condition, the mobile terminal is prohibited from accessing a cell of a specified type, where the cell of the specified type does not support the mobile terminal. During the access process, the mobile terminal pair The accessed cell is authenticated.
需要说明的是,移动终端会在多种情况下进行小区选择或者小区重选。例如,移动终端在开机以后,或者从飞行模式中转换为在线模式后会开始小区搜索,在小区搜索的过程中会在可能存在移动网络(例如LTE网络)的小区的几个中心频点上接收数据并计算带宽RSSI,以接收信号强度来判断这个频点周围是否可能存在小区,如果移动终端能保存上次关机时的频点和运营商信息,则开机后可能会先在上次驻留的小区上尝试驻留;如果没有先验信息,则很可能要全频点搜索,发现信号较强的频点,再去尝试驻留。It should be noted that the mobile terminal will perform cell selection or cell reselection in various situations. For example, after the mobile terminal is turned on, or after switching from the airplane mode to the online mode, the cell search will start, and during the cell search, it will be received at several center frequency points of the cell where there may be a mobile network (such as an LTE network) Data and calculate the bandwidth RSSI to determine whether there may be a cell around this frequency point based on the received signal strength. If the mobile terminal can save the frequency point and operator information of the last power-off, it may be in the last resident Try to camp on the cell; if there is no prior information, it is likely to search the full frequency point, find the frequency point with a stronger signal, and then try to camp.
而小区重选(cell reselection)指移动终端在空闲模式下通过监测邻区和当前小区的信号质量以选择一个最好的小区提供服务信号的过程。当邻区的信号质量及电平满足S准则且满足一定重选判决准则时,终端将接入该小区驻留。Cell reselection refers to the process in which the mobile terminal selects a best cell to provide a service signal by monitoring the signal quality of the neighboring cell and the current cell in the idle mode. When the signal quality and level of the neighbor cell meet the S criterion and a certain reselection decision criterion, the terminal will access the cell and camp.
移动终端成功驻留后,将持续进行本小区测量。RRC层根据RSRP测量结果计算Srxlev(S准则),并将其与Sintrasearch(同频测量启动门限)和Snonintrasearch(异频/异系统测量启动门限)比较,作为是否启动邻区测量的判决条件。After the mobile terminal has successfully camped, it will continue to carry out its own cell measurement. The RRC layer calculates Srxlev (S criterion) based on the RSRP measurement results, and compares it with Sintrasearch (start threshold for co-frequency measurement) and Snonintrasearch (start threshold for inter-frequency/different system measurement) as a decision condition for whether to start neighboring zone measurement.
而不论是前述的小区选择还是小区重选,都有可能会使得移动终端接入到伪基站。可以理解的是,对于一些伪基站正是利用移动终端在接入过程中不会对所接入的基站进行鉴权,从而使得移动终端误以为接入了合法基站。那么在基于前述的方式判定移动终端不会主动发起建立语音业务链路或者数据业务链路,或者主动发起建立语音业务链路或者数据业务链路的概率较小的情况下,禁止所述移动终端接入不支持移动终端在接入过程中,所述移动终端对所接入的小区进行鉴权的小区,从而降低接入伪基站的概率。Regardless of the foregoing cell selection or cell reselection, it is possible that the mobile terminal will access the pseudo base station. It can be understood that, for some pseudo base stations, the mobile terminal does not authenticate the accessed base station during the access process, so that the mobile terminal mistakenly believes that it has accessed the legal base station. Then, when it is determined that the mobile terminal will not actively initiate the establishment of a voice service link or data service link based on the foregoing method, or the probability of actively initiating the establishment of a voice service link or data service link is small, the mobile terminal is prohibited Access does not support a cell where the mobile terminal authenticates the accessed cell during the access process, thereby reducing the probability of accessing the pseudo base station.
可选的,所述指定类型的小区包括2G小区。Optionally, the cell of the specified type includes a 2G cell.
此外,步骤S132:移动终端若判定所述姿态信息满足所述目标条件,配置所述移动 终端仅连接支持双向鉴权的小区,其中,双向鉴权包括移动终端与所连接的小区互相鉴权。In addition, step S132: if the mobile terminal determines that the posture information meets the target condition, configure the mobile terminal to connect only to cells that support two-way authentication, where two-way authentication includes mutual authentication of the mobile terminal and the connected cell.
可选的,所述支持双向鉴权的小区包括4G小区。Optionally, the cell supporting two-way authentication includes a 4G cell.
需要说明的是,在本申请所有实施例中移动终端与小区建立连接可以理解为移动终端与基站交互过程中的多个阶段,例如,可以将移动终端与小区建立连接理解为移动终端驻留在小区中,也可以理解为移动终端注册到了移动通信网络的核心网中。It should be noted that in all the embodiments of the present application, the establishment of the connection between the mobile terminal and the cell can be understood as multiple stages in the interaction process between the mobile terminal and the base station. For example, the establishment of the connection between the mobile terminal and the cell can be understood as that the mobile terminal resides in the cell It can also be understood that the mobile terminal is registered in the core network of the mobile communication network.
本申请提供的一种小区连接处理方法,在移动终端检测到当前处于指定时间区间内以后,开始检测移动终端的姿态信息,判断所述姿态信息是否满足目标条件,若判定所述姿态信息满足所述目标条件,禁止所述移动终端接入不支持移动终端在接入过程中,所述移动终端对所接入的小区进行鉴权。从而使得移动终端可以在处于指定时间区间内,根据自身的姿态信息来确定是否允许接入到不支持对所接入的小区进行鉴权的小区中,进而可以降低因为允许接入到不支持对小区进行鉴权的小区,造成的接入到伪基站的可能性,提升了移动终端的信息安全,进而提升了用户体验。A cell connection processing method provided by the present application starts to detect posture information of a mobile terminal after the mobile terminal detects that it is currently within a specified time interval, to determine whether the posture information satisfies the target condition, and if it is determined that the posture information meets the The target condition prohibits the mobile terminal from accessing but does not support the mobile terminal. During the access process, the mobile terminal authenticates the accessed cell. Therefore, the mobile terminal can determine whether to allow access to a cell that does not support the authentication of the accessed cell within a specified time interval according to its own posture information, which can further reduce The cell where the cell performs authentication causes the possibility of access to the pseudo base station, which improves the information security of the mobile terminal and thus the user experience.
请参阅图4,本申请实施例提供的一种小区连接处理方法,应用于移动终端,所述方法包括:Referring to FIG. 4, a cell connection processing method provided by an embodiment of the present application is applied to a mobile terminal, and the method includes:
步骤S210:当处于指定时间区间内,检测移动终端的姿态信息。Step S210: When it is within the specified time interval, detect the posture information of the mobile terminal.
步骤S220:判断所述姿态信息是否满足目标条件。Step S220: Determine whether the posture information satisfies the target condition.
步骤S230:若判定所述姿态信息不满足所述目标条件,保持所述移动终端当前的无线连接状态。Step S230: If it is determined that the posture information does not satisfy the target condition, the current wireless connection state of the mobile terminal is maintained.
步骤S231:若检测到所述移动终端处于静置状态的时长大于第一时长,则判定所述姿态信息满足所述目标条件,禁止所述移动终端接入指定类型的小区。其中,所述指定类型的小区不支持移动终端在接入过程中,所述移动终端对所接入的小区进行鉴权。Step S231: If it is detected that the duration of the mobile terminal in the static state is greater than the first duration, it is determined that the posture information satisfies the target condition, and the mobile terminal is prohibited from accessing a cell of a specified type. Wherein, the cell of the specified type does not support the mobile terminal during the access process, and the mobile terminal authenticates the accessed cell.
在本实施例中,作为一种方式,目标条件包括移动终端的静置时长大于第一时长。可以理解的是,若移动终端检测到自身静置超过第一时长,则表征移动终端在指定时间区间内不会主动发起建立语音业务链路或者数据业务链路,或者主动发起建立语音业务链路或者数据业务链路的概率较小,那么为减小移动终端在小区重选的过程中接入伪基站,那么就会禁止所述移动终端接入指定类型的小区。In this embodiment, as a way, the target condition includes the static duration of the mobile terminal being greater than the first duration. It can be understood that if the mobile terminal detects that it is standing still for more than the first time period, it means that the mobile terminal will not actively initiate the establishment of a voice service link or a data service link within a specified time interval, or actively initiate the establishment of a voice service link Or the probability of the data service link is small, so in order to reduce the mobile terminal accessing the pseudo base station in the process of cell reselection, the mobile terminal is prohibited from accessing the cell of the specified type.
而对于其中的第一时长,可以由用户自由配置,也可以由移动终端根据用户的使用习惯对已经设定的值进行更新。例如,如图5所示,在图5所示的静置时长选择界面中,用户可以从显示的“30秒”到“30分钟”中选择自己所需的静置时长作为第一时长。比如,若用户选择了其中的“5分钟”,那么在移动终端检测到处于指定时间区间后,开始检测移动终端的静置时长是否达到5分钟,若达到5分钟就开始禁止所述移动终端接入指定类型的小区。再比如,若用户选择了其中的“10分钟”,那么在移动终端检测到处于指定时间区间后,开始检测移动终端的静置时长是否达到10分钟,若达到10分钟就开始禁止所述移动终端接入指定类型的小区。For the first duration, the user can freely configure it, or the mobile terminal can update the set value according to the user's usage habits. For example, as shown in FIG. 5, in the static duration selection interface shown in FIG. 5, the user can select the desired static duration from the displayed “30 seconds” to “30 minutes” as the first duration. For example, if the user selects "5 minutes" among them, after the mobile terminal detects that it is in the specified time interval, it starts to detect whether the mobile terminal's standing time reaches 5 minutes, and if it reaches 5 minutes, the mobile terminal is prohibited from receiving Into a designated type of cell. As another example, if the user selects "10 minutes" among them, after the mobile terminal detects that it is in a specified time interval, it starts to detect whether the mobile terminal's standing time reaches 10 minutes, and if it reaches 10 minutes, it starts to prohibit the mobile terminal Access the specified type of cell.
此外,再如图5所示,除了静置时长选择界面中提供的“30秒”到“30分钟”等可以直接选择的静置时长外,还配置有“自定义”这个选项,若用户选择了自定义选项以后,用户可以任意输入一个时间作为静置时长。例如,若用户在“自定义”这个选项中输入了18分钟,在这种情况下,在移动终端检测到处于指定时间区间后,开始检测移动终端的静置时长是否达到18分钟,若达到18分钟就开始禁止所述移动终端接入指定类型的小区。In addition, as shown in Figure 5, in addition to the "30 seconds" to "30 minutes" available in the static time selection interface, you can directly select the static time, but also configure the "custom" option, if the user chooses After customizing options, users can arbitrarily enter a time as the standing time. For example, if the user enters 18 minutes in the "Custom" option, in this case, after the mobile terminal detects that it is in the specified time interval, it starts to detect whether the mobile terminal's standing time reaches 18 minutes, and if it reaches 18 The mobile terminal is prohibited from accessing the cell of the specified type in minutes.
而对于上述由用户确定的作为第一时长的静置时长还可以由移动终端根据多种因素进行更新。例如,可以根据当前的日期来进行更新。可选的,对于第一日期(例如,工作日)可以配置直接按照用户自己配置的第一时长进行判断。而若检测到当天日期为第二日期(休息日)那么移动终端就可以延长第一时长,以免用户后续还会使用移动终端的情况下,移动终端已经无法接入指定类型的小区。However, the above-mentioned static duration determined by the user as the first duration may also be updated by the mobile terminal according to various factors. For example, it can be updated according to the current date. Optionally, for the first date (for example, working day), it can be configured to directly judge according to the first duration configured by the user. If it is detected that the current day is the second date (rest day), the mobile terminal can extend the first duration to prevent the user from using the mobile terminal later, and the mobile terminal cannot access the cell of the specified type.
步骤S232:若检测到所述移动终端处于静置状态的时长大于第二时长,则将所述移动终端切换为飞行模式,所述第二时长大于所述第一时长。Step S232: If it is detected that the duration of the mobile terminal in the static state is greater than the second duration, the mobile terminal is switched to the flight mode, and the second duration is greater than the first duration.
类似的,对于其中的第二时长,可以由用户自由配置,也可以由移动终端根据用户的使用习惯对已经设定的值进行更新。例如,用户可以从显示的“30秒”到“30分钟”中选择自己所需的静置时长作为第二时长。比如,若用户选择了其中的“5分钟”,那么在移动终端检测到处于指定时间区间后,开始检测移动终端的静置时长是否达到5分钟,若达到5分钟将所述移动终端切换为飞行模式。再比如,若用户选择了其中的“10分钟”,那么在移动终端检测到处于指定时间区间后,开始检测移动终端的静置时长是否达到10分钟,若达到10分钟就将所述移动终端切换为飞行模式。Similarly, the second duration may be freely configured by the user, or the mobile terminal may update the set value according to the user's usage habits. For example, the user can select the required duration of the rest from the displayed "30 seconds" to "30 minutes" as the second duration. For example, if the user selects "5 minutes" among them, after the mobile terminal detects that it is in the specified time interval, it begins to detect whether the mobile terminal's standing time reaches 5 minutes, and if it reaches 5 minutes, the mobile terminal is switched to flying mode. For another example, if the user selects "10 minutes" among them, after the mobile terminal detects that it is in the specified time interval, it starts to detect whether the mobile terminal's standing time reaches 10 minutes, and if it reaches 10 minutes, the mobile terminal is switched For flight mode.
作为一种方式,所述若检测到所述移动终端处于静置状态的时长大于第二时长,则将所述移动终端切换为飞行模式的步骤包括:若检测到所述移动终端处于静置状态的时长大于第二时长,获取移动终端的数据通信状态;判断所述数据通信状态是否满足指定条件;若判定所述数据通信状态满足所述指定条件,将所述移动终端切换为飞行模式。As a way, if the duration of detecting that the mobile terminal is in a stationary state is longer than the second duration, the step of switching the mobile terminal to an airplane mode includes: if it is detected that the mobile terminal is in a stationary state Is longer than the second duration, acquiring the data communication state of the mobile terminal; determining whether the data communication state meets the specified condition; if it is determined that the data communication state meets the specified condition, switching the mobile terminal to the flight mode.
可以理解的是,若移动终端当前正在进行数据通信,例如从网络中下载应用程序或者视频,或者正在基于数据的方式进行语音通信,但是移动终端却将自身切换为飞行模式,那么必然会造成当前的数据通信被断开,可能会给用户造成不便。那么为了避免该问题,移动终端可以在获取移动终端的数据通信状态,判断所述数据通信状态是否满足指定条件,若判定所述数据通信状态满足所述指定条件,将所述移动终端切换为飞行模式。It is understandable that if the mobile terminal is currently performing data communication, such as downloading applications or videos from the network, or performing voice communication based on data, but the mobile terminal switches itself to the flight mode, it will inevitably cause the current The data communication is disconnected, which may cause inconvenience to users. In order to avoid this problem, the mobile terminal may acquire the data communication state of the mobile terminal, determine whether the data communication state meets the specified condition, and if it is determined that the data communication state meets the specified condition, switch the mobile terminal to flight mode.
需要说明的是,用户在使用移动终端过程中,可能会设定一些定时事件,例如,当时间为某个时刻时开始下载某个应用程序。在这种情况下,所述指定条件包括:移动终端当前未处于数据通信状态。可选的,所述指定条件包括:移动终端在所述指定时间区间内没有预先设定的数据通信事件,所述移动终端在执行所述数据通信事件的过程中处于数据通信状态。It should be noted that during the process of using the mobile terminal, the user may set some timed events, for example, when the time is a certain time, downloading an application program starts. In this case, the specified condition includes that the mobile terminal is not currently in the data communication state. Optionally, the specified condition includes: the mobile terminal does not have a preset data communication event within the specified time interval, and the mobile terminal is in a data communication state during the execution of the data communication event.
其中,作为一种方式,移动终端可以通过检测当前是否建立了数据通信链路的方式来判断是否处于数据通信状态。可以理解的是,若移动终端检测到当前已经建立了数据通信链路,那么移动终端就可以判定当前处于数据通信状态。再者,作为另外一种方式,移动终端还可以判断当前是否处于数据通信链路的建立阶段,例如,移动终端已经发送了建立请求,而小区还未分配专门的业务信道,而对于这种情况,移动终端依然可以判定移动终端处于数据通信状态,进而避免因为数据通信链路的建立的延迟造成误判。Among them, as a way, the mobile terminal can determine whether it is in the data communication state by detecting whether the data communication link is currently established. It can be understood that, if the mobile terminal detects that the data communication link has been currently established, the mobile terminal can determine that it is currently in the data communication state. Furthermore, as another way, the mobile terminal can also determine whether it is currently in the establishment phase of the data communication link, for example, the mobile terminal has sent a setup request, but the cell has not yet allocated a dedicated traffic channel, and for this case , The mobile terminal can still determine that the mobile terminal is in the data communication state, thereby avoiding the misjudgment caused by the delay in establishing the data communication link.
而作为另外一种方式,移动终端还可以根据当前所运行的应用程序来判断是否处于数据通信状态。例如,可以理解的是,对于即时通信软件或者网页浏览器等应用程序,在运行的过程中不可避免的会与网络进行数据交换,当时对于这类软件并不是实时都会与网络进行数据交换,而是会在有数据需要交换时,才会与网络进行数据交换。例如,以网页浏览器为例,通常是在用户触发了请求某个网页地址的网页内容后,网页浏览器才会向网络发送网页请求,从而与网络进行数据交换。那么,为了避免这戏应用程序无法即时的与网络进行数据交换,造成用户体验不佳,移动终端可以在判定当前所运行的应用程序历史进行过数据交换的情况下,判定移动终端处于数据通信状态。As another way, the mobile terminal can also determine whether it is in the data communication state according to the currently running application. For example, it is understandable that applications such as instant messaging software or web browsers inevitably exchange data with the network during operation. At that time, such software did not exchange data with the network in real time. It will exchange data with the network only when there is data to be exchanged. For example, taking a web browser as an example, usually after a user triggers a web content requesting a web page address, the web browser sends a web page request to the network to exchange data with the network. Then, in order to avoid that the application cannot exchange data with the network in real time, resulting in a poor user experience, the mobile terminal can determine that the mobile terminal is in a data communication state when it is determined that the history of the currently running application has been exchanged. .
本申请提供的一种小区连接处理方法,在移动终端检测到当前处于指定时间区间内以后,开始检测移动终端的姿态信息,在移动终端的姿态信息为处于静置状态的时长的情况下,判断所述姿态信息是否满足目标条件,若判定所述姿态信息满足所述目标条件,禁止所述移动终端接入不支持移动终端在接入过程中,所述移动终端对所接入的小区进行鉴权。从而使得移动终端可以在处于指定时间区间内,根据自身的姿态信息来确定是否允许接入到不支持对所接入的小区进行鉴权的小区中,进而可以降低因为允许接入到不支持对小区进行鉴权的小区,造成的接入到伪基站的可能性,提升了移动终端的信息安全,进而提升了用户体验。A cell connection processing method provided by the present application starts to detect the posture information of the mobile terminal after the mobile terminal detects that it is currently within a specified time interval, and judges if the posture information of the mobile terminal is the length of time in the static state Whether the posture information satisfies the target condition, if it is determined that the posture information satisfies the target condition, the mobile terminal is prohibited from accessing but does not support the mobile terminal. During the access process, the mobile terminal performs authentication on the accessed cell right. Therefore, the mobile terminal can determine whether to allow access to a cell that does not support the authentication of the accessed cell within a specified time interval according to its own posture information, which can further reduce The cell where the cell performs authentication causes the possibility of access to the pseudo base station, which improves the information security of the mobile terminal and thus the user experience.
请参阅图6,本申请实施例提供的一种小区连接处理方法,应用于移动终端,所述方法 包括:Referring to FIG. 6, a cell connection processing method provided in an embodiment of the present application is applied to a mobile terminal, and the method includes:
步骤S310:获取确定的开始时刻以及结束时刻。Step S310: Obtain the determined start time and end time.
作为一种方式,如图7所示,移动终端可以显示一个配置界面89,用户通过在配置界面89上的操作选择指定时间区间的开始时刻以及结束时刻。As a way, as shown in FIG. 7, the mobile terminal may display a configuration interface 89, and the user selects the start time and the end time of the specified time interval by operating on the configuration interface 89.
作为另外一种方式,移动终端可以显示多个待选择的开始时刻以及多个待选择的结束时刻;获取所述多个待选择的开始时刻中被选中的开始时刻,以及所述多个待选择的结束时刻中被选中的结束时刻;将所述被选中的开始时刻作为确定的开始时刻,将所述被选中的结束时刻作为确定的结束时刻。As another way, the mobile terminal may display a plurality of start times to be selected and a plurality of end times to be selected; acquiring the selected start time from the plurality of start times to be selected, and the plurality of to be selected The selected end time in the end time of the; the selected start time as the determined start time, and the selected end time as the determined end time.
其中,移动终端可以获取多个待选的时间区间,所述多个待选的时间区间的长度均大于第一阈值时长,且在所述多个待选的时间区间内,移动终端处于运动状态的时长短于第二阈值时长;将所述多个待选的时间区间的开始时刻作为所述多个待选择的开始时刻;将所述多个待选的时间区间的结束时刻,作为所述多个待选择的结束时刻。The mobile terminal may obtain multiple time intervals to be selected, the lengths of the multiple time intervals to be selected are all greater than the first threshold duration, and the mobile terminal is in a moving state during the multiple time intervals to be selected The duration of is shorter than the second threshold duration; the start time of the plurality of time intervals to be selected is taken as the start time of the plurality of time intervals to be selected; the end time of the plurality of time intervals to be selected is taken as the Multiple end moments to be selected.
可以理解的是,对于其中的第一阈值时长表征的是在这个阶段内,移动终端一直处于静置状态,也就意味着,在这种时间段内,用户没用使用移动终端。It is understandable that the first threshold duration characterizes that the mobile terminal has been in a static state during this stage, which means that during this period of time, the user has no need to use the mobile terminal.
步骤S320:将所述开始时刻以及结束时刻之间的时间区间确定为指定时间区间。Step S320: Determine the time interval between the start time and the end time as the specified time interval.
步骤S330:当处于指定时间区间内,检测移动终端的姿态信息。Step S330: When it is within the specified time interval, detect the posture information of the mobile terminal.
步骤S340:判断所述姿态信息是否满足目标条件。Step S340: determine whether the posture information satisfies the target condition.
步骤S350:若判定所述姿态信息不满足所述目标条件,保持所述移动终端当前的无线连接状态。Step S350: If it is determined that the posture information does not satisfy the target condition, the current wireless connection state of the mobile terminal is maintained.
步骤S351:若判定所述姿态信息满足所述目标条件,禁止所述移动终端接入指定类型的小区,其中,所述指定类型的小区不支持移动终端在接入过程中,所述移动终端对所接入的小区进行鉴权。Step S351: If it is determined that the posture information satisfies the target condition, the mobile terminal is prohibited from accessing a cell of a specified type, where the cell of the specified type does not support the mobile terminal. During the access process, the mobile terminal pair The accessed cell is authenticated.
本申请提供的一种小区连接处理方法,在根据确定的开始时刻以及结束时刻得到指定时间区间后,在移动终端检测到当前处于指定时间区间内以后,开始检测移动终端的姿态信息,判断所述姿态信息是否满足目标条件,若判定所述姿态信息满足所述目标条件,禁止所述移动终端接入不支持移动终端在接入过程中,所述移动终端对所接入的小区进行鉴权。从而使得移动终端可以在处于指定时间区间内,根据自身的姿态信息来确定是否允许接入到不支持对所接入的小区进行鉴权的小区中,进而可以降低因为允许接入到不支持对小区进行鉴权的小区,造成的接入到伪基站的可能性,提升了移动终端的信息安全,进而提升了用户体验。A cell connection processing method provided by the present application, after obtaining a specified time interval according to the determined start time and end time, after the mobile terminal detects that it is currently within the specified time interval, starts to detect the posture information of the mobile terminal, and judges the Whether the posture information satisfies the target condition, if it is determined that the posture information satisfies the target condition, the mobile terminal is prohibited from accessing the mobile terminal during the access process, and the mobile terminal authenticates the accessed cell. Therefore, the mobile terminal can determine whether to allow access to a cell that does not support the authentication of the accessed cell within a specified time interval according to its own posture information, which can further reduce The cell where the cell performs authentication causes the possibility of access to the pseudo base station, which improves the information security of the mobile terminal and thus the user experience.
请参阅图8,本申请实施例提供的一种小区连接处理方法,应用于移动终端,所述方法包括:Referring to FIG. 8, a cell connection processing method provided by an embodiment of the present application is applied to a mobile terminal, and the method includes:
步骤S410:当处于指定时间区间内,检测移动终端的姿态信息。Step S410: When it is within the specified time interval, detect the posture information of the mobile terminal.
步骤S420:判断所述姿态信息是否满足目标条件。Step S420: Determine whether the posture information satisfies the target condition.
步骤S430:若判定所述姿态信息不满足所述目标条件,保持所述移动终端当前的无线连接状态。Step S430: If it is determined that the posture information does not satisfy the target condition, the current wireless connection state of the mobile terminal is maintained.
步骤S440:若判定所述姿态信息满足所述目标条件,获取当前的位置信息。Step S440: If it is determined that the posture information satisfies the target condition, obtain current location information.
步骤S450:检测所述当前的位置信息是否与目标位置信息匹配。Step S450: Detect whether the current location information matches the target location information.
步骤S460:若检测到当前的位置信息与所述目标位置信息匹配,禁止所述移动终端接入指定类型的小区,其中,所述指定类型的小区不支持移动终端在接入过程中,所述移动终端对所接入的小区进行鉴权。Step S460: If it is detected that the current location information matches the target location information, the mobile terminal is prohibited from accessing a cell of a specified type, where the cell of the specified type does not support the mobile terminal during the access process, the The mobile terminal authenticates the accessed cell.
需要说明的是,其中的目标位置表征移动终端长期所在的位置,例如,移动终端用户的家所在的位置。在这种情况下,若检测到移动终端当前的位置与所述目标位置信息匹配,那么就表征移动终端处于了之前长期或者每天都会处于的位置,而若检测到移动的位置信息与所述目标位置信息不匹配,则表征移动终端位于一个新的位置,当移动终端处于新的位置的情况下,移动终端的用户可能会有不同的操作方式,为了避免给用户造成不便, 移动中毒那会继续保持当前的无线连接状态。It should be noted that the target position therein represents the long-term position of the mobile terminal, for example, the position of the mobile terminal user's home. In this case, if it is detected that the current location of the mobile terminal matches the target location information, then it indicates that the mobile terminal is in the previous long-term or daily location, and if the mobile location information is detected and the target If the location information does not match, it means that the mobile terminal is in a new location. When the mobile terminal is in a new location, the user of the mobile terminal may have different operation methods. In order to avoid inconvenience to the user, mobile poisoning will continue Keep the current wireless connection status.
作为一种方式,所述当前的位置信息包括当前所连接的小区的位置信息;所述目标位置信息包括所述移动终端在所述指定时间区间内连接过的小区的位置信息。As one way, the current location information includes location information of a currently connected cell; the target location information includes location information of a cell that the mobile terminal has connected within the specified time interval.
通常,网络空中接口用于实现移动终端和移动通信网络的基站之间的信息交互,并且网络空中接口上的信息由各种逻辑信道承载。其中,逻辑信道分为业务信道(TCH,Traffic Channel)和控制信道(CCH,Control Channel)两大类,其中,TCH主要在网络和移动终端间的传送业务,如语音、数据等;CCH是用于传送信令信息和短的分组数据的信道,CCH中广播信道(BCH,Broadcast Channel)用于通过广播的方式传输信息,在BCH中的广播控制信道(BCCH,Broadcast Control Channel)用于基站向移动终端广播公用的信息,例如系统消息等。Generally, the network air interface is used to implement information interaction between the mobile terminal and the base station of the mobile communication network, and the information on the network air interface is carried by various logical channels. Among them, logical channels are divided into two major categories: traffic channels (TCH, Traffic) and control channels (CCH, Control). Among them, TCH mainly transmits services between the network and mobile terminals, such as voice and data; CCH is used For transmitting signaling information and short packet data channels, the broadcast channel (BCH, Broadcast) in CCH is used to transmit information by broadcast, and the broadcast control channel (BCCH, Broadcast) in BCH is used by the base station to Mobile terminals broadcast common information, such as system messages.
那么移动终端在探测基站的过程中,会检测基站广播的系统信息,进而从系统消息中解析出基站的TAC值。Then, in the process of detecting the base station, the mobile terminal will detect the system information broadcast by the base station, and then parse out the TAC value of the base station from the system message.
其中,跟踪区(Tracking Area)是LTE系统为UE(移动终端)的位置管理设立的概念。跟踪区的功能与3G系统的位置区(LA)和路由区(RA)类似。通过跟踪区信息核心网络能够获知处于空闲态的UE的位置,并且在有数据业务需求时,对UE进行寻呼。而一个跟踪区可包含一个或多个小区,而一个小区只能归属于一个跟踪区,那么跟踪区的标识即为本申请中的TAC值。其中,作为一种方式,TAC的标识为TAI(Tracking Area Identity),TAI由PLMN和TAC组成。TAI=PLMN+TAC(Tracking Area Code)。其中,作为一种方式,若移动终端为Android操作系统的情况下,移动终端可以调用TelephonyManager类来获取移动终端从已经解析出的系统消息中的数据。Among them, the tracking area (Tracking Area) is a concept established by the LTE system for the location management of the UE (mobile terminal). The function of the tracking area is similar to the location area (LA) and routing area (RA) of the 3G system. The core network can know the location of the UE in the idle state through the tracking area information, and paging the UE when there is a data service requirement. A tracking area may contain one or more cells, and a cell can only belong to one tracking area, then the identification of the tracking area is the TAC value in this application. Among them, as a way, TAC's identity is TAI (Tracking Area) Identity, TAI is composed of PLMN and TAC. TAI=PLMN+TAC (Tracking Area Code). As a method, if the mobile terminal is an Android operating system, the mobile terminal can call the TelephonyManager class to obtain data from the system messages that the mobile terminal has parsed out.
而通常在一些公共服务器或者网络运营商的服务器中会存储小区的标识(例如,TAC值)或者跟踪区的标识(例如,TAC值)与位置信息的对应关系,那么在移动终端获取到小区的标识或者跟踪区的标识后,就是通过向上述服务器发送数据请求的方式查询到对应的位置信息。However, the correspondence between the cell identification (for example, TAC value) or the tracking area identification (for example, TAC value) and location information is usually stored in some public servers or servers of network operators. After the identification or the identification of the tracking area, the corresponding location information is queried by sending a data request to the above server.
作为另外一种方式,所述当前的位置信息包括当前所连接的热点的物理地址;所述目标位置信息包括所述移动终端在所述指定时间区间内搜索到的热点的物理地址。As another way, the current location information includes the physical address of the currently connected hotspot; the target location information includes the physical address of the hotspot searched by the mobile terminal within the specified time interval.
请参阅图9,本申请实施例提供的一种小区连接处理装置500,运行于移动终端,所述装置500包括:Referring to FIG. 9, a cell connection processing apparatus 500 provided in an embodiment of the present application runs on a mobile terminal, and the apparatus 500 includes:
姿态获取单元510,用于当处于指定时间区间内,检测移动终端的姿态信息。The posture acquisition unit 510 is configured to detect posture information of the mobile terminal when it is within a specified time interval.
姿态检测单元520,用于判断所述姿态信息是否满足目标条件。The posture detection unit 520 is used to determine whether the posture information satisfies the target condition.
通信处理单元530,用于若判定所述姿态信息满足所述目标条件,禁止所述移动终端接入指定类型的小区,其中,所述指定类型的小区不支持移动终端在接入过程中,所述移动终端对所接入的小区进行鉴权。The communication processing unit 530 is configured to prohibit the mobile terminal from accessing a specified type of cell if it is determined that the posture information meets the target condition. The specified type of cell does not support the mobile terminal during the access process. The mobile terminal authenticates the accessed cell.
通信处理单元530,还用于若判定所述姿态信息满足所述目标条件,配置所述移动终端仅连接支持双向鉴权的小区,其中,双向鉴权包括移动终端与所连接的小区互相鉴权。The communication processing unit 530 is further configured to configure the mobile terminal to connect only to cells that support two-way authentication if it is determined that the posture information meets the target condition, where two-way authentication includes mutual authentication of the mobile terminal and the connected cell .
其中,所述指定类型的小区包括2G小区。所述支持双向鉴权的小区包括4G小区。Wherein, the cell of the specified type includes a 2G cell. The cell supporting two-way authentication includes a 4G cell.
请参阅图10,本申请实施例提供的一种小区连接处理装置600,运行于移动终端,所述装置600包括:Referring to FIG. 10, a cell connection processing device 600 provided in an embodiment of the present application runs on a mobile terminal, and the device 600 includes:
姿态获取单元610,用于当处于指定时间区间内,检测移动终端的姿态信息。The posture acquisition unit 610 is configured to detect posture information of the mobile terminal when it is within a specified time interval.
姿态检测单元620,用于判断所述姿态信息是否满足目标条件。The posture detection unit 620 is used to determine whether the posture information satisfies the target condition.
通信处理单元630,用于若检测到所述移动终端处于静置状态的时长大于第一时长,则判定所述姿态信息满足所述目标条件,禁止所述移动终端接入指定类型的小区。其中,所述指定类型的小区不支持移动终端在接入过程中,所述移动终端对所接入的小区进行鉴权。The communication processing unit 630 is configured to determine that the posture information satisfies the target condition and prohibit the mobile terminal from accessing a cell of a specified type if the duration of detecting that the mobile terminal is in a stationary state is longer than the first duration. Wherein, the cell of the specified type does not support the mobile terminal during the access process, and the mobile terminal authenticates the accessed cell.
第一通信处理单元630,还用于若检测到所述移动终端处于静置状态的时长大于第二时长,则将所述移动终端切换为飞行模式,所述第二时长大于所述第一时长。The first communication processing unit 630 is further configured to switch the mobile terminal to an airplane mode if the duration of detecting that the mobile terminal is in a stationary state is greater than a second duration, the second duration is greater than the first duration .
作为一种方式,装置600还包括第二通信处理单元640,还用于若检测到所述移动 终端处于静置状态的时长大于第二时长,获取移动终端的数据通信状态;判断所述数据通信状态是否满足指定条件;若判定所述数据通信状态满足所述指定条件,将所述移动终端切换为飞行模式。As a way, the device 600 further includes a second communication processing unit 640, and is further configured to acquire the data communication state of the mobile terminal if the duration of detecting that the mobile terminal is in a stationary state is greater than the second duration; determining the data communication Whether the state meets the specified condition; if it is determined that the data communication state meets the specified condition, the mobile terminal is switched to the flight mode.
其中,可选的,所述指定条件包括:移动终端当前未处于数据通信状态。Wherein, optionally, the specified condition includes: the mobile terminal is not currently in a data communication state.
可选的,所述指定条件包括:移动终端在所述指定时间区间内没有预先设定的数据通信事件,所述移动终端在执行所述数据通信事件的过程中处于数据通信状态。Optionally, the specified condition includes: the mobile terminal does not have a preset data communication event within the specified time interval, and the mobile terminal is in a data communication state during the execution of the data communication event.
请参阅图11,本申请实施例提供的一种小区连接处理装置700,运行于移动终端,所述装置700包括:Referring to FIG. 11, a cell connection processing apparatus 700 provided in an embodiment of the present application runs on a mobile terminal, and the apparatus 700 includes:
时间获取单元710,用于获取确定的开始时刻以及结束时刻。The time acquiring unit 710 is used to acquire the determined start time and end time.
作为一种方式,时间获取单元710,用于获取多个待选的时间区间,所述多个待选的时间区间的长度均大于第一阈值时长,且在所述多个待选的时间区间内,移动终端处于运动状态的时长短于第二阈值时长;将所述多个待选的时间区间的开始时刻作为所述多个待选择的开始时刻;将所述多个待选的时间区间的结束时刻,作为所述多个待选择的结束时刻。As a way, the time obtaining unit 710 is configured to obtain multiple time intervals to be selected, the lengths of the multiple time intervals to be selected are all greater than the first threshold duration, and are within the multiple time intervals to be selected In the mobile terminal, the duration of the mobile state is shorter than the second threshold duration; the start time of the plurality of time intervals to be selected is taken as the start time of the plurality of time intervals to be selected; the plurality of time intervals to be selected End time of the plurality of end times to be selected.
时间区间确定单元720,用于将所述开始时刻以及结束时刻之间的时间区间确定为指定时间区间。The time interval determining unit 720 is configured to determine the time interval between the start time and the end time as a specified time interval.
姿态获取单元730,用于当处于指定时间区间内,检测移动终端的姿态信息。The posture acquisition unit 730 is configured to detect posture information of the mobile terminal when it is within a specified time interval.
姿态检测单元740,用于判断所述姿态信息是否满足目标条件。The posture detection unit 740 is used to determine whether the posture information satisfies the target condition.
通信处理单元750,用于若判定所述姿态信息满足所述目标条件,禁止所述移动终端接入指定类型的小区,其中,所述指定类型的小区不支持移动终端在接入过程中,所述移动终端对所接入的小区进行鉴权。The communication processing unit 750 is configured to prohibit the mobile terminal from accessing a cell of a specified type if it is determined that the posture information satisfies the target condition. The cell of the specified type does not support the mobile terminal during the access process. The mobile terminal authenticates the accessed cell.
请参阅图12,本申请实施例提供的一种小区连接处理装置800,运行于移动终端,所述装置800包括:Referring to FIG. 12, a cell connection processing apparatus 800 provided by an embodiment of the present application runs on a mobile terminal, and the apparatus 800 includes:
姿态获取单元810,用于当处于指定时间区间内,检测移动终端的姿态信息。The posture acquisition unit 810 is configured to detect posture information of the mobile terminal when it is within a specified time interval.
姿态检测单元820,用于判断所述姿态信息是否满足目标条件。The posture detection unit 820 is used to determine whether the posture information satisfies the target condition.
位置获取单元830,用于若判定所述姿态信息满足所述目标条件,获取当前的位置信息。The position acquiring unit 830 is configured to acquire current position information if it is determined that the posture information meets the target condition.
位置匹配单元840,用于检测所述当前的位置信息是否与目标位置信息匹配。The location matching unit 840 is configured to detect whether the current location information matches the target location information.
通信处理单元850,用于若检测到当前的位置信息与所述目标位置信息匹配,禁止所述移动终端接入指定类型的小区,其中,所述指定类型的小区不支持移动终端在接入过程中,所述移动终端对所接入的小区进行鉴权。The communication processing unit 850 is configured to prohibit the mobile terminal from accessing a cell of a specified type if it is detected that the current location information matches the target location information, wherein the cell of the specified type does not support the mobile terminal during the access process In the mobile terminal, the mobile terminal authenticates the accessed cell.
作为一种方式,所述当前的位置信息包括当前所连接的小区的位置信息;所述目标位置信息包括所述移动终端在所述指定时间区间内连接过的小区的位置信息。As one way, the current location information includes location information of a currently connected cell; the target location information includes location information of a cell that the mobile terminal has connected within the specified time interval.
作为另外一种方式,所述当前的位置信息包括当前所连接的热点的物理地址;所述目标位置信息包括所述移动终端在所述指定时间区间内搜索到的热点的物理地址。As another way, the current location information includes the physical address of the currently connected hotspot; the target location information includes the physical address of the hotspot searched by the mobile terminal within the specified time interval.
需要说明的是,所属领域的技术人员可以清楚地了解到,为描述的方便和简洁,上述描述的装置和单元的具体工作过程,可以参考前述方法实施例中的对应过程,在此不再赘述。在本申请所提供的几个实施例中,模块相互之间的耦合可以是电性。另外,在本申请各个实施例中的各功能模块可以集成在一个处理模块中,也可以是各个模块单独物理存在,也可以两个或两个以上模块集成在一个模块中。上述集成的模块既可以采用硬件的形式实现,也可以采用软件功能模块的形式实现。It should be noted that those skilled in the art can clearly understand that for the convenience and conciseness of the description, the specific working processes of the devices and units described above can refer to the corresponding processes in the foregoing method embodiments, which will not be repeated here. . In the several embodiments provided in this application, the coupling between the modules may be electrical. In addition, each functional module in each embodiment of the present application may be integrated into one processing module, or each module may exist alone physically, or two or more modules may be integrated into one module. The above integrated modules can be implemented in the form of hardware or software function modules.
综上所述,本申请提供的一种小区连接处理方法、装置、移动终端及存储介质,在移动终端检测到当前处于指定时间区间内以后,开始检测移动终端的姿态信息,判断所述姿态信息是否满足目标条件,若判定所述姿态信息满足所述目标条件,禁止所述移动终端接入不支持移动终端在接入过程中,所述移动终端对所接入的小区进行鉴权。从而使得移动终端可以在处于指定时间区间内,根据自身的姿态信息来确定是否允许接入到不支持对所接入的小区进行鉴权的小区中,进而可以降低因为允许接入到不支持对小区进行 鉴权的小区,造成的接入到伪基站的可能性,提升了移动终端的信息安全,进而提升了用户体验。In summary, a cell connection processing method, device, mobile terminal, and storage medium provided by the present application, after the mobile terminal detects that it is currently within a specified time interval, starts to detect the posture information of the mobile terminal, and judges the posture information Whether the target condition is satisfied, if it is determined that the posture information satisfies the target condition, prohibiting the mobile terminal from accessing does not support the mobile terminal during the access process, and the mobile terminal authenticates the accessed cell. Therefore, the mobile terminal can determine whether to allow access to a cell that does not support the authentication of the accessed cell within a specified time interval according to its own posture information, which can further reduce The cell where the cell performs authentication causes the possibility of access to the pseudo base station, which improves the information security of the mobile terminal and thus the user experience.
下面将结合图13对本申请提供的一种移动终端进行说明。The mobile terminal provided by the present application will be described below with reference to FIG. 13.
请参阅图13,基于上述的小区连接处理方法、装置,本申请实施例还提供的另一种可以执行前述小区连接处理方法的移动终端100。移动终端100包括相互耦合的一个或多个(图中仅示出一个)处理器102、存储器104以及无线模块106。其中,该存储器104中存储有可以执行前述实施例中内容的程序,而处理器102可以执行该存储器104中存储的程序。Referring to FIG. 13, based on the above cell connection processing method and device, another mobile terminal 100 that can perform the foregoing cell connection processing method according to an embodiment of the present application is also provided. The mobile terminal 100 includes one or more processors (only one shown in the figure), a memory 104, and a wireless module 106 coupled to each other. Wherein, the memory 104 stores a program that can execute the content in the foregoing embodiment, and the processor 102 can execute the program stored in the memory 104.
其中,处理器102可以包括一个或者多个处理核。处理器102利用各种接口和线路连接整个移动终端100内的各个部分,通过运行或执行存储在存储器104内的指令、程序、代码集或指令集,以及调用存储在存储器104内的数据,执行移动终端100的各种功能和处理数据。可选地,处理器102可以采用数字信号处理(Digital Signal Processing,DSP)、现场可编程门阵列(Field-Programmable Gate Array,FPGA)、可编程逻辑阵列(Programmable Logic Array,PLA)中的至少一种硬件形式来实现。处理器102可集成中央处理器(Central Processing Unit,CPU)、图像处理器(Graphics Processing Unit,GPU)和调制解调器等中的一种或几种的组合。其中,CPU主要处理操作系统、用户界面和应用程序等;GPU用于负责显示内容的渲染和绘制;调制解调器用于处理无线通信。可以理解的是,上述调制解调器也可以不集成到处理器102中,单独通过一块通信芯片进行实现。The processor 102 may include one or more processing cores. The processor 102 connects various parts of the entire mobile terminal 100 using various interfaces and lines, executes or executes instructions, programs, code sets or instruction sets stored in the memory 104, and calls data stored in the memory 104 to execute Various functions and processing data of the mobile terminal 100. Alternatively, the processor 102 may adopt at least one of digital signal processing (Digital Signal Processing, DSP), field programmable gate array (Field-Programmable Gate Array, FPGA), programmable logic array (Programmable Logic Array, PLA) Various hardware forms. The processor 102 may integrate one or a combination of one of a central processing unit (Central Processing Unit, CPU), an image processing unit (Graphics Processing Unit, GPU), and a modem. Among them, the CPU mainly handles the operating system, user interface and application programs, etc.; the GPU is used for rendering and rendering of the displayed content; and the modem is used for processing wireless communication. It can be understood that the above-mentioned modem may not be integrated into the processor 102, and may be implemented by a communication chip alone.
存储器104可以包括随机存储器(Random Access Memory,RAM),也可以包括只读存储器(Read-Only Memory)。存储器104可用于存储指令、程序、代码、代码集或指令集。存储器104可包括存储程序区和存储数据区,其中,存储程序区可存储用于实现操作系统的指令、用于实现至少一个功能的指令(比如触控功能、声音播放功能、图像播放功能等)、用于实现下述各个方法实施例的指令等。存储数据区还可以存储终端100在使用中所创建的数据(比如电话本、音视频数据、聊天记录数据)等。The memory 104 may include random access memory (RAM) or read-only memory (Read-Only Memory). The memory 104 may be used to store instructions, programs, codes, code sets, or instruction sets. The memory 104 may include a storage program area and a storage data area, wherein the storage program area may store instructions for implementing an operating system and instructions for implementing at least one function (such as a touch function, a sound playback function, an image playback function, etc.) , Instructions for implementing the following method embodiments. The storage data area may also store data created by the terminal 100 in use (such as a phone book, audio and video data, and chat history data).
所述无线模块106用于接收以及发送电磁波,实现电磁波与电信号的相互转换,从而与通讯网络或者其他设备进行通讯,例如和音频播放设备进行通讯。所述无线模块106可包括各种现有的用于执行这些功能的电路元件,例如,天线、射频收发器、数字信号处理器、加密/解密芯片、用户身份模块(SIM)卡、存储器等等。所述无线模块106可与各种网络如互联网、企业内部网、无线网络进行通讯或者通过无线网络与其他设备进行通讯。上述的无线网络可包括蜂窝式电话网、无线局域网或者城域网。例如,无线模块106可以与基站进行信息交互。The wireless module 106 is used to receive and send electromagnetic waves, and realize the mutual conversion of electromagnetic waves and electrical signals, so as to communicate with a communication network or other devices, such as audio playback devices. The wireless module 106 may include various existing circuit elements for performing these functions, for example, an antenna, a radio frequency transceiver, a digital signal processor, an encryption/decryption chip, a subscriber identity module (SIM) card, a memory, etc. . The wireless module 106 can communicate with various networks such as the Internet, an intranet, and a wireless network or communicate with other devices through the wireless network. The aforementioned wireless network may include a cellular telephone network, a wireless local area network, or a metropolitan area network. For example, the wireless module 106 can exchange information with the base station.
请参考图14,其示出了本申请实施例提供的一种计算机可读存储介质的结构框图。该计算机可读介质900中存储有程序代码,所述程序代码可被处理器调用执行上述方法实施例中所描述的方法。Please refer to FIG. 14, which shows a structural block diagram of a computer-readable storage medium provided by an embodiment of the present application. The computer readable medium 900 stores program codes, and the program codes can be called by a processor to execute the method described in the above method embodiments.
计算机可读存储介质900可以是诸如闪存、EEPROM(电可擦除可编程只读存储器)、EPROM、硬盘或者ROM之类的电子存储器。可选地,计算机可读存储介质800包括非易失性计算机可读介质(non-transitory computer-readable storage medium)。计算机可读存储介质900具有执行上述方法中的任何方法步骤的程序代码910的存储空间。这些程序代码可以从一个或者多个计算机程序产品中读出或者写入到这一个或者多个计算机程序产品中。程序代码810可以例如以适当形式进行压缩。The computer-readable storage medium 900 may be an electronic memory such as flash memory, EEPROM (Electrically Erasable Programmable Read Only Memory), EPROM, hard disk, or ROM. Optionally, the computer-readable storage medium 800 includes a non-transitory computer-readable storage medium. The computer-readable storage medium 900 has a storage space for the program code 910 that performs any of the method steps described above. These program codes can be read from or written into one or more computer program products. The program code 810 may be compressed in an appropriate form, for example.
最后应说明的是:以上实施例仅用以说明本申请的技术方案,而非对其限制;尽管参照前述实施例对本申请进行了详细的说明,本领域的普通技术人员当理解:其依然可以对前述各实施例所记载的技术方案进行修改,或者对其中部分技术特征进行等同替换;而这些修改或者替换,并不驱使相应技术方案的本质脱离本申请各实施例技术方案的精神和范围。Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present application, but not to limit them; although the present application has been described in detail with reference to the foregoing embodiments, those of ordinary skill in the art should understand that they can still Modifications to the technical solutions described in the foregoing embodiments, or equivalent replacements to some of the technical features; and these modifications or replacements do not drive the essence of the corresponding technical solutions to deviate from the spirit and scope of the technical solutions of the embodiments of the present application.

Claims (20)

  1. 一种小区连接处理方法,其特征在于,应用于移动终端,所述方法包括:A cell connection processing method, characterized in that it is applied to a mobile terminal, the method includes:
    当处于指定时间区间内,检测移动终端的姿态信息;When in the specified time interval, detect the posture information of the mobile terminal;
    判断所述姿态信息是否满足目标条件;Determine whether the posture information satisfies the target condition;
    若判定所述姿态信息满足所述目标条件,禁止所述移动终端接入指定类型的小区,其中,所述指定类型的小区不支持移动终端在接入过程中,所述移动终端对所接入的小区进行鉴权。If it is determined that the posture information meets the target condition, the mobile terminal is prohibited from accessing a cell of a specified type, where the cell of the specified type does not support the mobile terminal during the access process, and the mobile terminal Authentication of the cell.
  2. 根据权利要求1所述的方法,其特征在于,所述方法还包括:The method according to claim 1, wherein the method further comprises:
    若判定所述姿态信息满足所述目标条件,配置所述移动终端仅连接支持双向鉴权的小区,其中,双向鉴权包括移动终端与所连接的小区互相鉴权。If it is determined that the posture information satisfies the target condition, the mobile terminal is configured to connect only to cells that support two-way authentication, where two-way authentication includes mutual authentication of the mobile terminal and the connected cell.
  3. 根据权利要求1或2所述的方法,其特征在于,所述若判定所述姿态信息满足所述目标条件,禁止所述移动终端接入指定类型的小区的步骤包括:The method according to claim 1 or 2, wherein the step of prohibiting the mobile terminal from accessing a cell of a specified type if it is determined that the posture information meets the target condition includes:
    若检测到所述移动终端处于静置状态的时长大于第一时长,则判定所述姿态信息满足所述目标条件,禁止所述移动终端接入指定类型的小区。If it is detected that the duration of the mobile terminal in the static state is greater than the first duration, it is determined that the posture information satisfies the target condition, and the mobile terminal is prohibited from accessing a cell of a specified type.
  4. 根据权利要求3所述的方法,其特征在于,所述方法,还包括:The method of claim 3, further comprising:
    若检测到所述移动终端处于静置状态的时长大于第二时长,则将所述移动终端切换为飞行模式,所述第二时长大于所述第一时长。If it is detected that the duration of the mobile terminal in the stationary state is greater than the second duration, the mobile terminal is switched to the flight mode, and the second duration is greater than the first duration.
  5. 根据权利要求4所述的方法,其特征在于,所述若检测到所述移动终端处于静置状态的时长大于第二时长,则将所述移动终端切换为飞行模式的步骤包括:The method according to claim 4, wherein the step of switching the mobile terminal to an airplane mode if the duration of detecting that the mobile terminal is in a stationary state is greater than the second duration includes:
    若检测到所述移动终端处于静置状态的时长大于第二时长,获取移动终端的数据通信状态;If it is detected that the duration of the mobile terminal in the static state is greater than the second duration, acquiring the data communication status of the mobile terminal;
    判断所述数据通信状态是否满足指定条件;Determine whether the data communication status meets the specified conditions;
    若判定所述数据通信状态满足所述指定条件,将所述移动终端切换为飞行模式。If it is determined that the data communication state satisfies the specified condition, the mobile terminal is switched to an airplane mode.
  6. 根据权利要求5所述的方法,其特征在于,所述指定条件包括:The method according to claim 5, wherein the specified condition comprises:
    移动终端当前未处于数据通信状态。The mobile terminal is not currently in the data communication state.
  7. 根据权利要求5所述的方法,其特征在于,所述指定条件包括:The method according to claim 5, wherein the specified condition comprises:
    移动终端在所述指定时间区间内没有预先设定的数据通信事件,所述移动终端在执行所述数据通信事件的过程中处于数据通信状态。The mobile terminal does not have a preset data communication event within the specified time interval, and the mobile terminal is in a data communication state during the execution of the data communication event.
  8. 根据权利要求1-7任一所述的方法,其特征在于,所述方法还包括:The method according to any one of claims 1-7, wherein the method further comprises:
    获取确定的开始时刻以及结束时刻;Obtain the determined start time and end time;
    将所述开始时刻以及结束时刻之间的时间区间确定为所述指定时间区间。The time interval between the start time and the end time is determined as the specified time interval.
  9. 根据权利要求8所述的方法,其特征在于,所述获取用户确定的开始时刻以及结束时刻的步骤包括:The method according to claim 8, wherein the step of obtaining the start time and the end time determined by the user comprises:
    显示多个待选择的开始时刻以及多个待选择的结束时刻;Display multiple start moments to be selected and multiple end moments to be selected;
    获取所述多个待选择的开始时刻中被选中的开始时刻,以及所述多个待选择的结束时刻中被选中的结束时刻;Acquiring the selected start time among the plurality of start times to be selected, and the selected end time among the plurality of end times to be selected;
    将所述被选中的开始时刻作为确定的开始时刻,将所述被选中的结束时刻作为确定的结束时刻。The selected start time is used as the determined start time, and the selected end time is used as the determined end time.
  10. 根据权利要求9所述的方法,其特征在于,所述方法还包括:The method according to claim 9, wherein the method further comprises:
    获取多个待选的时间区间,所述多个待选的时间区间的长度均大于第一阈值时长,且在所述多个待选的时间区间内,移动终端处于运动状态的时长短于第二阈值时长;Obtain multiple time intervals to be selected, the lengths of the multiple time intervals to be selected are all greater than the first threshold duration, and within the multiple time intervals to be selected, the duration of the mobile terminal being in the motion state is shorter than the first Second threshold duration;
    将所述多个待选的时间区间的开始时刻作为所述多个待选择的开始时刻;Using the start time of the plurality of time intervals to be selected as the start time of the plurality of time intervals to be selected;
    将所述多个待选的时间区间的结束时刻,作为所述多个待选择的结束时刻。The end time of the multiple time intervals to be selected is used as the end time of the multiple time intervals to be selected.
  11. 根据权利要求1-10任一所述的方法,其特征在于,所述若判定所述姿态信息满足所述目标条件,禁止所述移动终端接入指定类型的小区的步骤包括:The method according to any one of claims 1-10, wherein the step of prohibiting the mobile terminal from accessing a cell of a specified type if it is determined that the posture information meets the target condition includes:
    若判定所述姿态信息满足所述目标条件,获取当前的位置信息;If it is determined that the posture information meets the target condition, obtain current location information;
    检测所述当前的位置信息是否与目标位置信息匹配;Detecting whether the current location information matches the target location information;
    若检测到当前的位置信息与所述目标位置信息匹配,禁止所述移动终端接入指定类型的小区。If it is detected that the current location information matches the target location information, the mobile terminal is prohibited from accessing the cell of the specified type.
  12. 根据权利要求11所述的方法,其特征在于,所述当前的位置信息包括当前所连接的小区的位置信息;所述目标位置信息包括所述移动终端在所述指定时间区间内连接过的小区的位置信息。The method according to claim 11, wherein the current location information includes location information of a currently connected cell; the target location information includes a cell that the mobile terminal has connected within the specified time interval Location information.
  13. 根据权利要求11所述的方法,其特征在于,所述当前的位置信息包括当前所连接的热点的物理地址;所述目标位置信息包括所述移动终端在所述指定时间区间内搜索到的热点的物理地址。The method according to claim 11, wherein the current location information includes a physical address of a currently connected hotspot; the target location information includes a hotspot searched by the mobile terminal within the specified time interval Physical address.
  14. 根据权利要求1-13所述的方法,其特征在于,所述指定类型的小区包括2G小区。The method according to claims 1-13, wherein the cell of the specified type includes a 2G cell.
  15. 根据权利要求2-14所述的方法,其特征在于,所述支持双向鉴权的小区包括4G小区。The method according to claims 2-14, wherein the cell supporting bidirectional authentication includes a 4G cell.
  16. 一种小区连接处理装置,其特征在于,运行于移动终端,所述装置包括:A cell connection processing device, characterized in that it runs on a mobile terminal, the device includes:
    姿态获取单元,用于当处于指定时间区间内,检测移动终端的姿态信息;The posture acquisition unit is used to detect posture information of the mobile terminal when it is in a specified time interval;
    姿态检测单元,用于判断所述姿态信息是否满足目标条件;The posture detection unit is used to judge whether the posture information meets the target condition;
    通信处理单元,用于若判定所述姿态信息满足所述目标条件,禁止所述移动终端接入指定类型的小区,其中,所述指定类型的小区不支持移动终端在接入过程中,所述移动终端对所接入的小区进行鉴权。The communication processing unit is configured to prohibit the mobile terminal from accessing a cell of a specified type if it is determined that the posture information meets the target condition, wherein the cell of the specified type does not support the mobile terminal during the access process, the The mobile terminal authenticates the accessed cell.
  17. 根据权利要求16所述的装置,其特征在于,所述通信处理单元,还用于若判定所述姿态信息满足所述目标条件,配置所述移动终端仅连接支持双向鉴权的小区,其中,双向鉴权包括移动终端与所连接的小区互相鉴权。The apparatus according to claim 16, wherein the communication processing unit is further configured to configure the mobile terminal to connect only to a cell that supports two-way authentication if it is determined that the posture information meets the target condition, wherein, Two-way authentication includes mutual authentication of the mobile terminal and the connected cell.
  18. 根据权利要求16或17所述的装置,其特征在于,所述通信处理单元,具体用于若检测到所述移动终端处于静置状态的时长大于第一时长,则判定所述姿态信息满足所述目标条件,禁止所述移动终端接入指定类型的小 区。The device according to claim 16 or 17, wherein the communication processing unit is specifically configured to determine that the posture information satisfies all of the posture information if the duration of detecting that the mobile terminal is in a stationary state is longer than the first duration The target condition prohibits the mobile terminal from accessing a cell of a specified type.
  19. 一种移动终端,其特征在于,包括一个或多个处理器以及存储器;A mobile terminal is characterized by including one or more processors and memory;
    一个或多个程序被存储在所述存储器中并被配置为由所述一个或多个处理器执行,所述一个或多个程序配置用于执行权利要求1-15任一所述的方法。One or more programs are stored in the memory and configured to be executed by the one or more processors, the one or more programs are configured to perform the method of any one of claims 1-15.
  20. 一种计算机可读存储介质,其特征在于,所述计算机可读存储介质中存储有程序代码,其中,在所述程序代码运行时执行权利要求1-15任一所述的方法。A computer-readable storage medium, characterized in that program code is stored in the computer-readable storage medium, wherein the method according to any one of claims 1-15 is executed when the program code is run.
PCT/CN2018/124512 2018-12-27 2018-12-27 Cell connection processing method and device, mobile terminal, and storage medium WO2020133117A1 (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
PCT/CN2018/124512 WO2020133117A1 (en) 2018-12-27 2018-12-27 Cell connection processing method and device, mobile terminal, and storage medium
CN201880098809.9A CN112868247B (en) 2018-12-27 2018-12-27 Cell connection processing method, device, mobile terminal and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2018/124512 WO2020133117A1 (en) 2018-12-27 2018-12-27 Cell connection processing method and device, mobile terminal, and storage medium

Publications (1)

Publication Number Publication Date
WO2020133117A1 true WO2020133117A1 (en) 2020-07-02

Family

ID=71126688

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2018/124512 WO2020133117A1 (en) 2018-12-27 2018-12-27 Cell connection processing method and device, mobile terminal, and storage medium

Country Status (2)

Country Link
CN (1) CN112868247B (en)
WO (1) WO2020133117A1 (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20140241316A1 (en) * 2013-02-22 2014-08-28 Cisco Technology, Inc. System and method for hand-in disambiguation using user equipment wifi location in a network environment
CN106332087A (en) * 2016-09-05 2017-01-11 努比亚技术有限公司 Method of reporting pseudo base station information to server, and mobile terminal
CN106793006A (en) * 2016-11-28 2017-05-31 青岛海信移动通信技术股份有限公司 Cell registration method and mobile terminal
CN107040969A (en) * 2016-11-28 2017-08-11 青岛海信移动通信技术股份有限公司 Cell registration method and mobile terminal
CN108990065A (en) * 2018-09-06 2018-12-11 深圳市沃特沃德股份有限公司 Pseudo-base station monitoring method, device and mobile terminal

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105722077A (en) * 2016-01-29 2016-06-29 宇龙计算机通信科技(深圳)有限公司 Network residing method, network residing system and terminal
CN108124262A (en) * 2017-12-19 2018-06-05 努比亚技术有限公司 Pseudo-base station recognition methods, terminal and computer readable storage medium

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20140241316A1 (en) * 2013-02-22 2014-08-28 Cisco Technology, Inc. System and method for hand-in disambiguation using user equipment wifi location in a network environment
CN106332087A (en) * 2016-09-05 2017-01-11 努比亚技术有限公司 Method of reporting pseudo base station information to server, and mobile terminal
CN106793006A (en) * 2016-11-28 2017-05-31 青岛海信移动通信技术股份有限公司 Cell registration method and mobile terminal
CN107040969A (en) * 2016-11-28 2017-08-11 青岛海信移动通信技术股份有限公司 Cell registration method and mobile terminal
CN108990065A (en) * 2018-09-06 2018-12-11 深圳市沃特沃德股份有限公司 Pseudo-base station monitoring method, device and mobile terminal

Also Published As

Publication number Publication date
CN112868247B (en) 2023-04-07
CN112868247A (en) 2021-05-28

Similar Documents

Publication Publication Date Title
WO2021077267A1 (en) Cell reselection method and apparatus, and communication device
JP5399359B2 (en) Wireless local access network system detection and selection
US11191114B2 (en) Method, apparatus and system for obtaining device-to-device communication resource
TWI675602B (en) Method and apparatus for identifying pseudo base station
CN108966331B (en) Cell registration method, cell registration device, wireless routing equipment, terminal and storage medium
WO2020113530A1 (en) Communication processing method and apparatus, mobile terminal and storage medium
WO2020113519A1 (en) Method and apparatus for identifying pseudo base station, mobile terminal and storage medium
US20210329519A1 (en) Cell Connection Processing Method and Mobile Terminal
CN114125972A (en) Network connection method and related device
CN112806043B (en) Pseudo base station identification method and device, mobile terminal and storage medium
US11812270B2 (en) Method for identifying pseudo base station, apparatus, and mobile terminal
WO2020133117A1 (en) Cell connection processing method and device, mobile terminal, and storage medium
WO2020087419A1 (en) False base station processing method and apparatus, mobile terminal, and storage medium
CN111479294A (en) Method for establishing data connection under congestion control, terminal and storage medium
WO2020087417A1 (en) Pseudo base station identification method and device, mobile terminal and storage medium
WO2023066289A1 (en) Cell reselection method and apparatus, and related device
CN112954781B (en) Communication control method, communication control device, electronic device, and storage medium
KR102368466B1 (en) Method of Processing a Location Request in a Communication Network
KR102368451B1 (en) Method of Terminating a Paging Attempt to Page a Mobile Terminal
US20220240092A1 (en) Pseudo base station recognition method and apparatus, terminal device and network device
WO2020087413A1 (en) Cell information processing method and apparatus, and electronic device and readable storage medium
WO2020087416A1 (en) Pseudo base station recognization method and device, mobile terminal, and storage medium
CN117440453A (en) Roaming fallback method, roaming fallback device, terminal and network side equipment
CN116867026A (en) Communication method, communication device and communication system
WO2014198085A1 (en) Cell reselection list acquisition method and terminal

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 18944152

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

32PN Ep: public notification in the ep bulletin as address of the adressee cannot be established

Free format text: NOTING OF LOSS OF RIGHTS PURSUANT TO RULE 112(1) EPC (EPO FORM 1205A DATED 12.11.2021)

122 Ep: pct application non-entry in european phase

Ref document number: 18944152

Country of ref document: EP

Kind code of ref document: A1