CN115967964A - Ping-pong scene detection method and device and electronic equipment - Google Patents

Ping-pong scene detection method and device and electronic equipment Download PDF

Info

Publication number
CN115967964A
CN115967964A CN202211717481.9A CN202211717481A CN115967964A CN 115967964 A CN115967964 A CN 115967964A CN 202211717481 A CN202211717481 A CN 202211717481A CN 115967964 A CN115967964 A CN 115967964A
Authority
CN
China
Prior art keywords
network environment
terminal
cell
detection period
environment parameter
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202211717481.9A
Other languages
Chinese (zh)
Inventor
黄锦宁
蔡宗颖
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Vivo Mobile Communication Co Ltd
Original Assignee
Vivo Mobile Communication Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Vivo Mobile Communication Co Ltd filed Critical Vivo Mobile Communication Co Ltd
Priority to CN202211717481.9A priority Critical patent/CN115967964A/en
Publication of CN115967964A publication Critical patent/CN115967964A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

Landscapes

  • Mobile Radio Communication Systems (AREA)

Abstract

The application discloses a ping-pong scene detection method, a ping-pong scene detection device and electronic equipment, and belongs to the technical field of communication. The ping-pong scene detection method comprises the following steps: acquiring a network environment parameter difference value of the terminal in at least two detection periods and the cell switching accumulated times of the terminal; and under the condition that the difference value of the network environment parameters is smaller than a first threshold value and the accumulated times of cell switching is larger than a second threshold value, determining that the terminal is in a ping-pong scene.

Description

Ping-pong scene detection method and device and electronic equipment
Technical Field
The application belongs to the technical field of communication, and particularly relates to a ping-pong scene detection method and device and an electronic device.
Background
In a connected state, a User Equipment (UE, also called a terminal) is configured unreasonably in a network, which causes a phenomenon that the terminal continuously changes a residential cell without moving, and causes problems of terminal blocking, network signaling burden, additional power consumption increase, and the like.
In the related art, detection time is generally limited when a ping-pong scene of the terminal is judged, and when the terminal is in a scene in which a ping-pong effect is relatively slow, the limited detection time easily causes misjudgment on a network environment in which the terminal is located.
Disclosure of Invention
The embodiment of the application aims to provide a ping-pong scene detection method, a ping-pong scene detection device and electronic equipment, which do not need to measure parameters by means of other sensors, reduce the power consumption of a terminal, and do not limit the required time length for the cell switching cumulative frequency to be greater than a second threshold when obtaining the cell switching cumulative frequency, so that relatively slow ping-pong scene detection is realized.
In a first aspect, an embodiment of the present application provides a ping-pong scene detection method, where the method includes:
acquiring a network environment parameter difference value of a terminal in at least two detection periods and the cell switching accumulated times of the terminal;
and determining that the terminal is in a ping-pong scene under the condition that the network environment parameter difference is smaller than a first threshold and the cell switching accumulated times is larger than a second threshold.
In a second aspect, an embodiment of the present application provides a ping-pong scene detection apparatus, where the apparatus includes:
the system comprises a parameter acquisition module, a parameter acquisition module and a parameter acquisition module, wherein the parameter acquisition module is used for acquiring a network environment parameter difference value of a terminal in at least two detection periods and the cell switching accumulated times of the terminal;
and the scene detection module is used for determining that the terminal is in a ping-pong scene under the condition that the network environment parameter difference value acquired by the parameter acquisition module is smaller than a first threshold value and the cell switching accumulated times are larger than a second threshold value.
In a third aspect, embodiments of the present application provide an electronic device, which includes a processor and a memory, where the memory stores a program or instructions executable on the processor, and the program or instructions, when executed by the processor, implement the steps of the method according to the first aspect.
In a fourth aspect, embodiments of the present application provide a readable storage medium, on which a program or instructions are stored, which when executed by a processor implement the steps of the method according to the first aspect.
In a fifth aspect, an embodiment of the present application provides a chip, where the chip includes a processor and a communication interface, where the communication interface is coupled to the processor, and the processor is configured to execute a program or instructions to implement the method according to the first aspect.
In a sixth aspect, embodiments of the present application provide a computer program product, stored on a storage medium, for execution by at least one processor to implement the method according to the first aspect.
In the embodiment of the application, ping-pong scene detection of the terminal is realized by acquiring the difference of network environment parameters of the terminal in at least two detection periods and the cell switching accumulated times of the terminal, parameter measurement by other sensors is not needed, power consumption of the terminal is reduced, and the required time length for the cell switching accumulated times to be greater than the second threshold is not limited when the cell switching accumulated times is acquired, so that ping-pong scene detection which is relatively slow is realized.
Drawings
Fig. 1 is a schematic flow diagram of a ping-pong scene detection method provided by some embodiments of the present application;
fig. 2 is a schematic flowchart of a ping-pong scene detection method provided in an embodiment of the present application;
fig. 3 is a schematic structural diagram of a ping-pong scene detection apparatus provided in an embodiment of the present application;
fig. 4 is a schematic structural diagram of an electronic device provided in an embodiment of the present application;
fig. 5 is a schematic diagram of a hardware structure of an electronic device according to an embodiment of the present application.
Detailed Description
The technical solutions in the embodiments of the present application will be described clearly below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are some, but not all, embodiments of the present application. All other embodiments that can be derived by one of ordinary skill in the art from the embodiments given herein are intended to be within the scope of the present disclosure.
The terms first, second and the like in the description and in the claims of the present application are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It will be appreciated that the data so used may be interchanged under appropriate circumstances such that embodiments of the application may be practiced in sequences other than those illustrated or described herein, and that the terms "first," "second," and the like are generally used herein in a generic sense and do not limit the number of terms, e.g., the first term can be one or more than one. In addition, "and/or" in the specification and claims means at least one of connected objects, a character "/", and generally means that the former and latter related objects are in an "or" relationship.
The ping-pong scene detection method, the ping-pong scene detection apparatus, the electronic device and the readable storage medium provided in the embodiments of the present application are described in detail below with reference to the accompanying drawings through specific embodiments and application scenarios thereof.
A terminal may be a wireless terminal, which may be a device that provides voice and/or other traffic data connectivity to a user, a handheld device having wireless connection capability, or other processing device connected to a wireless modem, or may be a wired terminal. A wireless terminal, which may be a mobile terminal such as a mobile phone and a computer having a mobile terminal, for example, a portable, pocket, hand-held, computer-included or vehicle-mounted mobile device, may communicate with one or at least two core networks via a Radio Access Network (RAN), and exchange languages and/or data with the RAN. Examples of such devices include Personal Communication Service (PCS) phones, cordless phones, session Initiation Protocol (SIP) phones, wireless Local Loop (WLL) stations, and Personal Digital Assistants (PDAs). A wireless Terminal may also be referred to as a system, a Subscriber Unit (Subscriber Unit), a Subscriber Station (Subscriber Station), a Mobile Station (Mobile), a Remote Station (Remote Station), a Remote Terminal (Remote Terminal), an Access Terminal (Access Terminal), a Terminal (User Terminal), a User Agent (User Agent), and a User Equipment (User Device or User Equipment), which are not limited herein.
The terminal includes, but is not limited to, other portable communication devices having a touch-sensitive surface, such as a mobile phone or a tablet computer. It should also be understood that in some embodiments the terminal may not be a portable communication device, for example, the terminal is a desktop computer or the like.
In the following various embodiments, a terminal including a display and a touch-sensitive surface is described. However, it should be understood that the terminal may include one or more other physical user interface devices such as a physical keyboard, mouse, and joystick.
The ping-pong scene detection method provided by the embodiment of the application is suitable for detecting the ping-pong scene of a terminal in an LTE (Long Term Evolution), 5G, WIFI (wireless fidelity) or Bluetooth network, an execution main body of the ping-pong scene detection method can be a terminal or a functional module or a functional entity capable of realizing the ping-pong scene detection method in the terminal, the terminal mentioned in the embodiment of the application includes but is not limited to a mobile phone, a tablet computer, a computer and wearable equipment, such as a watch, and the like, and the ping-pong scene detection method provided by the embodiment of the application is explained by taking the terminal as the execution main body. Fig. 1 is a schematic flow diagram of a ping-pong scene detection method provided in some embodiments of the present application, and as shown in fig. 1, the embodiments of the present invention take ping-pong scene detection of a mobile phone in an LTE network environment as an example for explanation, and the ping-pong scene detection method is applied to a terminal and includes the following steps:
and step 110, acquiring the network environment parameter difference value of the terminal in at least two detection periods and the cell switching accumulated times of the terminal.
Optionally, in an LTE network environment, a user uses a mobile phone to perform network communication through data traffic, when an LTE cell accessed by the mobile phone is frequently changed, the user frequently wakes up and notifies an upper APP of the mobile phone to send a prompt message, which results in unstable mobile phone signals and abnormal standby dormancy, and when two cells in ping-pong handover belong to different tracking area code lists, the cell handover triggers a tracking area update process every time, which increases network signaling burden, thereby affecting network capacity, and further aggravating power consumption of the mobile phone and causing the problem of scalding of the mobile phone, therefore, it is necessary to confirm whether the mobile phone is in a ping-pong scene in the LTE network environment.
Optionally, in the LTE network environment, the network environment parameters may include RSRP (Reference Signal Receiving Power), RSRQ (Reference Signal Receiving Quality), SINR (Signal to Interference plus Noise Ratio), CINR (Carrier to Interference plus Noise Ratio), or Path loss.
Optionally, the network environment parameter may further include a cell identifier of a cell accessed by the terminal or a cell identifier of a neighboring cell.
Optionally, the Cell identifier may be a Cell ID, for example, when the terminal accesses LTE Cell a, the corresponding Cell identifier is Cell ID a, which is hereinafter referred to as a.
Optionally, the mobile phone may periodically measure network environment parameters of the accessed LTE cell and a neighboring cell of the accessed LTE cell, for example, the mobile phone measures RSRP once every time t; when t is 0 The time is the initial detection time, and the 1 st detection period includes t 0 + t, the 2 nd detection period includes t 0 +2t, and so on.
Optionally, the detection period for the handset to measure the network environment parameter may be set according to user requirements, for example, the detection period may be 50ms, 80ms, or 100 ms.
Optionally, the network environment parameter difference includes an absolute value of a difference between a network environment parameter measured by the mobile phone in the nth measurement period and a network environment parameter corresponding to one or more detection periods in the first n-1 detection periods, for example, an RSRP value measured by the mobile phone in the 5 th detection period is-75 dBm, a network environment parameter of the 4 th detection period is-80 dBm, and then the network environment parameter difference of the mobile phone is 15dBm from the 4 th measurement period to the 5 th detection period.
Optionally, the number of times that the cell is switched by the mobile phone may be determined according to the number of times that the cell identifier of the cell to which the mobile phone accesses changes, for example, if the cell identifier of the mobile phone in the 1 st detection period is a, and the cell identifier of the mobile phone in the 2 nd detection period is B, the number of times that the mobile phone switches the cell is 1 from the 1 st detection period to the 2 nd detection period; if the cell identifier of the mobile phone in the 3 rd detection period is a, the cumulative number of cell switching times of the terminal from the 1 st detection period to the 3 rd detection period is 2.
Optionally, if the cell accessed by the mobile phone is always the cell a in the 1 st detection period to the 3 rd detection period, it may be considered that the terminal does not switch the cell in the period.
Optionally, the network environment parameter measured by the mobile phone in each detection period is the same in type, for example, the network environment parameter measured by the mobile phone is RSRP at all times in a plurality of detection periods.
And step 120, determining that the terminal is in a ping-pong scene under the condition that the network environment parameter difference is smaller than a first threshold and the cell switching accumulated times are larger than a second threshold.
Optionally, under the condition that the network environment of the cell to which the mobile phone is accessed is unstable, the mobile phone may frequently change the resident cell to find a stable network environment, and the difference between the network environment parameter measured by the mobile phone in the current detection period and the network environment parameter measured in a plurality of previous detection periods is smaller, for example, the difference between the network environment parameters is smaller than a first threshold, and the mobile phone may be considered to be in a ping-pong scenario under the condition that the cumulative number of times that the mobile phone switches the cell is greater than a second threshold.
Optionally, the first threshold and the second threshold may both be set according to actual needs of the user, for example, when the network environment parameter is RSRP, the corresponding first threshold may be 20dBm, and the second threshold may be 3.
Optionally, when the network environment parameter includes a plurality of network environment parameters, the corresponding first threshold also includes a plurality of network environment parameters, and the plurality of first thresholds are respectively used to detect whether the network environment parameters of different types change obviously.
Mobile phone detecting period T 1 The network environment parameter measured internally is RSRP 1 And RSRQ 1 The mobile phone is in the detection period T 2 The network environment parameter measured internally is RSRP 2 And RSRQ 2 The first threshold values corresponding to RSRP and RSRQ are respectively V RSRP And V RSRQ The difference value of RSRP is | RSRP 1 -RSRP 2 The difference of the RSRQ is | RSRQ 1 -RSRQ 2 If RSRP 1 -RSRP 2 |<V RSRP The slave detection period T is explained 1 To the detection period T 2 The RSRP measured by the mobile phone is not obviously changed, otherwise, the RSRP is obviously changed; similarly, if the value of RSRQ 1 -RSRQ 2 |<V RSRQ The slave detection period T is explained 1 To the detection period T 2 And if not, the RSRQ changes obviously.
For example, the handset measures RSRP in the 1 st detection period 1 Is-70 dBm, and the RSRP is measured in the 2 nd detection period 2 Has a value of-100dBm RSRP 20dBm due to | RSRP 1 -RSRP 2 The calculation result of | is 30dBm, which is larger than V RSRP If so, the RSRP of the terminal changes obviously from the 1 st detection period to the 2 nd detection period; the mobile phone measures RSRQ in the 1 st detection period 1 To-10 dB, RSRQ is measured during the 2 nd detection period 2 Has a value of-6 dB RSRQ Is 2dB due to | RSRQ 1 -RSRQ 2 The calculation result of | is 4dB, which is larger than V RSRQ Then, the RSRQ of the handset changes significantly from the 1 st detection period to the 2 nd detection period.
The network environment parameter measured by the mobile phone in n detection periods is RSRP, and the R measured in the nth detection period n R measured separately from the first n-1 detection periods 0 ,R 1 ,R 2 ,R 3 ,R 4 ,…,R n-1 The difference between is | R n -R 1 |,|R n -R 2 |,…,|R n -R n-1 If the cell is cut in n detection periods
The accumulated number of times of switching is greater than a second threshold, and R n -R 1 |,|R n -R 2 |,…,|R n -R n-1 And if the l is larger than the first threshold, 5 indicates that the mobile phone is in a ping-pong scene in the nth detection period.
For example, the RSRP values measured by the mobile phone in 7 detection periods are respectively-70 dBm, -72dBm,
-73dBm, -80dBm, -70dBm, -83dBm, and-85 dBm, a first threshold V RSRP The cell identity of the cell accessed by the mobile phone changes 4 times in 7 periods, because the RSRP difference value between the 7 th detection period and the previous 6 detection periods does not exceed 20dBm, and the cumulative number of times of cell switching of the mobile phone from 0 to 0 exceeds 3 times, the situation that the mobile phone is in a ping-pong scene in the 7 th detection period is indicated.
Optionally, in a WIFI network environment, the user uses a mobile phone to connect to WIFI by logging in to a router account to implement WIFI communication, and the network environment parameters may further include communication parameters related to a WIFI signal, such as a Channel (Channel) or a Channel Width (Channel Width).
Next, ping-pong scene detection of a mobile phone in a WIFI network environment is taken as an example for explanation.
Optionally, acquiring the difference between the network environment parameters of the mobile phone in at least two detection periods and the minimum value of the mobile phone
The accumulated number of times of zone switching.
In 5 detection periods, the channel widths measured by the mobile phone are respectively 10MHz, 11MHz, 9.5MHz, 11MHz and 9MHz, if the cell identifier of the cell accessed by the mobile phone is changed 3 times in 5 detection periods, in the 5 th detection period, the cell switching accumulated number of times of the mobile phone is 3.
0 optionally, when the difference value of the network environment parameters is less than a first threshold value and the accumulated times of cell switching is greater than a second threshold value
And under the condition of two thresholds, determining that the terminal is in a ping-pong scene.
Alternatively, the network environment parameter difference may be an absolute value of a difference between two network environment parameters.
In 5 detection periods, the first threshold is 3MHz, the second threshold is 2, and the 5 th detection period is used
The difference values of the network environment parameters of the channel width measured in the previous 4 periods and the channel width measured in the previous 4 periods are all smaller than 5 3MHz, the cell switching accumulated times of the mobile phone is 3, and if the cell switching accumulated times exceed a second threshold value, the mobile phone can be considered to be in a ping-pong scene in the 5 th detection period.
Optionally, in a bluetooth network environment, the user starts a bluetooth function of the mobile phone, and performs bluetooth communication between the mobile phone and other devices through bluetooth pairing with other devices; the network environment parameters may also include communication parameters related to the bluetooth signal, for example, the network environment parameters include a synchronous channel rate or a non-synchronous channel rate, and the steps of the ping-pong scene detection process of the mobile phone based on the bluetooth network environment are the same as those of the above embodiments, and are not described in detail in this embodiment.
In the embodiment of the application, ping-pong scenes of the terminal are detected by acquiring the difference of network environment parameters of the terminal in at least two detection periods and the cell switching accumulated times of the terminal, parameter measurement is not required by other sensors, the power consumption of the terminal is reduced, and the required time length for the cell switching accumulated times to be greater than the second threshold is not limited when the cell switching accumulated times is acquired, so that the relatively slow ping-pong scene detection is realized.
Optionally, the at least two detection periods include the 1 st detection period to the nth detection period; before determining that the terminal is in the ping-pong scene, the method further comprises: calculating the network environment parameter difference value of the network environment parameter of the terminal in the nth detection period and the network environment parameter of the terminal in the q detection periods to obtain q network environment parameter difference values; under the condition that the q network environment parameter difference values are all smaller than a first threshold value, determining that the network environment parameter difference values are smaller than the first threshold value; the terminal accesses the same cell from the nth detection period to the nth detection period, n is an integer greater than 1, and q is greater than or equal to 1 and less than or equal to n-1.
Optionally, in n detection periods, except for a large change of network parameters caused by cell switching of the mobile phone, the parameters are not changed greatly under other conditions, and the mobile phone is considered to be in a ping-pong scene. Except for the parameter change caused by cell switching, the determination rule that the parameter has not changed greatly under other conditions is as follows:
in 50 detection periods, the mobile phone measures the network environment parameters for 50 times, wherein a cell accessed by the mobile phone from the 1 st detection period to the 10 th detection period is a cell A; in the 11 th detection period, the cell is switched by the mobile phone, and the cell accessed by the mobile phone from the 11 th detection period to the 20 th detection period is a cell B; in the 21 st detection period, the cell is switched by the mobile phone, and the cell accessed by the mobile phone from the 21 st detection period to the 30 th detection period is a cell A; in the 31 st detection period, the cell is switched by the mobile phone, and the cell accessed by the mobile phone from the 31 st detection period to the 40 th detection period is a cell B; in the 41 st detection period, the mobile phone switches the cell, and the cell accessed by the mobile phone from the 41 st detection period to the 50 th detection period is the cell A.
The following conditions are satisfied:
(1) The difference values between the network environment parameters of the jth detection period (j is more than 1 and less than or equal to 10) from the 1 st detection period to the 10 th detection period and the network environment parameters of the previous j-1 detection periods are all smaller than a first threshold value.
And when n =10, respectively measuring the difference values of the network environment parameters between the 10 th detection period and the 1 st detection period to the 9 th detection period to obtain the difference values of the 9 network environment parameters, and when the difference values of the 9 network environment parameters are all smaller than a first threshold value, determining that the network environment parameters of the mobile phone in the 1 st detection period to the 10 th detection period do not have obvious change.
(2) The difference values between the network environment parameters of the jth detection period (j is more than 11 and less than or equal to 20) from the 11 th detection period to the 20 th detection period and the network environment parameters of the previous j-1 detection periods are all smaller than a first threshold value.
When n =20, because the cell is switched by the mobile phone in the 11 th detection period, only the difference between the 20 th detection period and the network environment parameters from the 11 th detection period to the 19 th detection period needs to be measured to obtain the difference between the 9 network environment parameters, and when the differences between the 9 network environment parameters are all smaller than the first threshold, it is determined that the network environment parameters of the mobile phone in the 11 th detection period to the 20 th detection period do not change significantly.
(3) The difference values between the network environment parameters of the jth detection period (21 < j is less than or equal to 30) in the 21 st to 30 th detection periods and the network environment parameters of the previous j-1 detection periods are all smaller than a first threshold value.
When n =30, since the cell is switched by the mobile phone in the 21 st detection period, only the difference between the network environment parameters in the 30 th detection period and the network environment parameters from the 21 st detection period to the 29 th detection period needs to be measured to obtain the difference between the 9 network environment parameters, and when the differences between the 9 network environment parameters are all smaller than the first threshold, it is determined that the network environment parameters of the mobile phone in the 21 st detection period to the 30 th detection period do not change significantly.
(4) The difference values between the network environment parameters of the jth detection period (j is more than 31 and less than or equal to 40) in the 31 st detection period and the 40 th detection period and the network environment parameters of the previous j-1 detection periods are all smaller than a first threshold value.
When n =40, because the cell is switched by the mobile phone in the 31 st detection period, only the difference between the network environment parameters in the 40 th detection period and the network environment parameters from the 31 st detection period to the 39 th detection period need to be measured to obtain the difference between the 9 network environment parameters, and when the differences between the 9 network environment parameters are all smaller than the first threshold, it is considered that the network environment parameters of the mobile phone in the 31 st detection period to the 39 th detection period do not have obvious changes.
(5) The difference values between the network environment parameters of the jth detection period (41 < j is less than or equal to 50) from the 41 th detection period to the 50 th detection period and the network environment parameters of the previous j-1 detection periods are all smaller than a first threshold value.
When n =50, because the cell is switched by the mobile phone in the 41 th detection period, only the difference between the network environment parameter measured by the mobile phone in the 50 th detection period and the network environment parameter between the 41 th detection period and the 49 th detection period needs to be measured to obtain the difference between the 9 network environment parameters, and when the difference between the 9 network environment parameters is smaller than the first threshold, it is considered that the network environment parameter of the terminal in the 41 th detection period to the 49 th detection period does not change significantly.
And (4) judging that the mobile phone is in a ping-pong scene until the cell switching times accumulated value of the mobile phone in 50 measurements exceeds a times threshold value (4 >.
In the embodiment of the application, the network environment parameters of the access cell measured by the terminal in n detection periods are obtained, and under the condition that the difference value between the network environment parameters of each detection period and the network environment parameters of a plurality of detection periods before each detection period is smaller than the first threshold value, the network environment parameters of the terminal in the n detection periods are judged not to have obvious changes, the judgment rule is simple, and the calculation amount can be reduced.
Optionally, the network environment parameter includes a network environment parameter of a terminal access cell and a network environment parameter of at least one neighboring cell of the cell; calculating the network environment parameter difference value of the network environment parameter of the terminal in the nth detection period and the network environment parameter of the terminal in the q detection periods to obtain q network environment parameter difference values, wherein the method comprises the following steps: calculating the network environment parameter difference value of the network environment parameter of the cell accessed by the terminal in the nth detection period and the network environment parameter difference value of the network environment parameter of the cell accessed by the terminal in the q detection periods to obtain q network environment parameter difference values measured by the terminal in the cell; calculating a network environment parameter difference value of the network environment parameter of at least one adjacent cell of the cell accessed by the terminal in the nth detection period and the network environment parameter of at least one adjacent cell of the cell accessed in q detection periods to obtain q network environment parameter difference values measured by the terminal in the at least one adjacent cell of the cell; determining that the network environment parameter difference is less than a first threshold, comprising: and under the condition that the difference values of the q network environment parameters measured by the terminal in the cell are all smaller than a first threshold value, and the difference values of the q network environment parameters measured by the terminal in at least one adjacent cell of the cell are all smaller than the first threshold value, determining that the difference values of the network environment parameters are smaller than the first threshold value.
Optionally, the network environment parameter includes a network environment parameter of an access cell of the mobile phone and a network environment parameter of at least one neighboring cell of the access cell.
Optionally, in addition to selecting the network environment parameters of the cell to which the mobile phone is accessed to determine whether the mobile phone is in the ping-pong scene, the network environment parameters of the neighboring cells of the cell to which the mobile phone is accessed may be combined to determine the change of the network environment, so as to improve the accuracy of determining that the mobile phone is in the ping-pong scene.
Optionally, the neighboring cell of the cell to which the mobile phone is accessed may be at least one of a same-frequency neighboring cell, an inter-frequency neighboring cell, and an inter-system neighboring cell in the LTE system.
Optionally, the above embodiment only obtains the number of times of switching the cell to which the mobile phone is accessed, and does not limit the cell to which the mobile phone is accessed within a specified range.
Optionally, the network environment parameters of the mobile phone include network environment parameters of a cell to which the mobile phone is accessed and network environment parameters of neighboring cells, when both variation amounts of network environment signals in the cell to which the mobile phone is accessed and in the neighboring cells are smaller than a variation amount threshold and an accumulated number of times of switching between the access cells exceeds a switching number threshold, the mobile phone is in a ping-pong scenario, otherwise, the mobile phone is in a non-ping-pong scenario.
Optionally, the mobile phone measures RSRP for the network environment parameter 50 times in 50 detection periods, where in a detection period 1-10, a cell to which the mobile phone accesses is a cell a; in the detection period 11-20, the cell accessed by the mobile phone is a cell B; in the detection period 21-30, the cell accessed by the mobile phone is a cell A; in the detection period 31-40, the cell accessed by the mobile phone is a cell B; in the detection period 41-50, the cell accessed by the mobile phone is the cell A.
When the mobile phone respectively measures the RSRP of the access cell and the RSRP of the neighbor cell, the following conditions should be satisfied:
in the 10 th detection period, 9 RSRP differences between the RSRP of the cell accessed by the mobile phone and the RSRP of the cell in the 1 st to 9 th detection periods are all smaller than a first threshold, and in the 10 th detection period, 9 RSRP differences between the RSRP of the neighbor cell of the cell accessed by the mobile phone and the RSRP of the neighbor cell in the 1 st to 9 th detection periods are all smaller than the first threshold, so that the network environment parameters of the cell and the neighbor cell are not obviously changed from the 1 st detection period to the 10 th detection period;
in the 20 th detection period, 9 RSRP difference values between the RSRP of the cell accessed by the mobile phone and the RSRP of the cell in the 11 th to 19 th detection periods are all smaller than a first threshold, and in the 20 th detection period, 9 RSRP difference values between the RSRP of the cell accessed by the mobile phone and the RSRP of the cell in the 11 th to 19 th detection periods are all smaller than the first threshold, so that the network environment parameters of the cell and the cell are not obviously changed from the 11 th detection period to the 20 th detection period;
in the 30 th detection period, 9 RSRP differences between the RSRP of the cell accessed by the mobile phone and the RSRP of the cell in the 21 st to 29 th detection periods are all smaller than a first threshold, and in the 30 th detection period, 9 RSRP differences between the RSRP of the neighbor cell of the cell accessed by the mobile phone and the RSRP of the neighbor cell in the 21 st to 29 th detection periods are all smaller than the first threshold, so that the network environment parameters of the cell and the neighbor cell are not obviously changed from the 21 st detection period to the 30 th detection period;
in the 40 th detection period, 9 RSRP differences between the RSRP of the cell accessed by the mobile phone and the RSRP of the cell in the 31 th to 39 th detection periods are all smaller than a first threshold, and in the 40 th detection period, 9 RSRP differences between the RSRP of the neighbor cell of the cell accessed by the mobile phone and the RSRP of the neighbor cell in the 31 th to 39 th detection periods are all smaller than the first threshold, so that the network environment parameters of the cell and the neighbor cell are not obviously changed from the 31 st detection period to the 40 th detection period;
in the 50 th detection period, 9 RSRP difference values between the RSRP of the cell accessed by the mobile phone and the RSRP of the cell in the 41 th to 49 th detection periods are all smaller than a first threshold, and in the 50 th detection period, 9 RSRP difference values between the RSRP of the cell accessed by the mobile phone and the RSRP of the cell in the 41 th to 49 th detection periods are all smaller than the first threshold, so that the network environment parameters of the cell and the cells are not obviously changed from the 41 th detection period to the 50 th detection period;
and the mobile phone carries out the accumulated value of the cell switching times within 50 measurements to exceed the time threshold (4 > -3), then the mobile phone is considered to be in a ping-pong scene.
In the embodiment of the application, by obtaining n network environment parameters of an access cell and n network environment parameters of at least one neighboring cell, which are measured by a terminal in n detection periods, and determining that differences between the n network environment parameters of the access cell and the network environment parameters of a plurality of detection periods before each detection period are smaller than a first threshold, and differences between the n network environment parameters of the neighboring cell and the network environment parameters of a plurality of detection periods before each detection period are smaller than the first threshold, it is determined that the network environment parameters of the access cell and the neighboring cell of the terminal in n detection periods have no obvious changes, so that a determination basis for determining that the network environment parameters have no obvious changes is increased, and the reliability for determining that the terminal has no movement in n detection periods is improved.
Optionally, the obtaining, in the at least two detection periods including the 1 st detection period to the nth detection period, a network environment parameter difference value of the terminal in the at least two detection periods and a cell switching cumulative number of times of the terminal includes: judging whether the terminal switches the cell from the ith detection period to the ith detection period based on the network environment parameters of the terminal in the ith detection period and the network environment parameters in the ith-1 detection period; adding one to the cell switching accumulated times under the condition that the terminal switches the cell from the (i-1) th detection period to the (i) th detection period; the ith detection period is any one of the 1 st detection period to the nth detection period, n is an integer larger than 1, and i is larger than 1 and is not larger than n.
Optionally, in the nth detection period, the cell accessed by the mobile phone is a cell a, in the 1 st detection period, the 4 th detection period, \8230, in the n-1 st detection period, the cell accessed by the mobile phone is a cell a, in the 2 nd detection period and the 3 rd detection period, the cell accessed by the mobile phone is a cell B, and then it can be considered that 2 times of cell switching have been performed in the n detection periods of the mobile phone, that is, in the n detection periods, the cell switching cumulative number of times of the mobile phone is 2.
Optionally, in the nth detection period, the cell accessed by the mobile phone is a cell a, in the 1 st detection period to the n-2 nd detection period, the cell accessed by the mobile phone is a cell a, and in the n-1 st detection period, the cell accessed by the mobile phone is a cell B, it may be considered that the mobile phone performs cell switching for 1 time in n detection periods, that is, in n detection periods, the cumulative number of cell switching times of the mobile phone is 1.
Optionally, in the nth detection period, the cell accessed by the mobile phone is the cell a, in the n-1 detection periods, the cell accessed by the mobile phone is also the cell a, and in the n detection periods, the cell switching cumulative number of times of the mobile phone is 0.
In the embodiment of the application, under the condition that the terminal performs cell switching from the (i-1) th detection period to the (i) th detection period, the accumulated cell switching times of the terminal in the (i) th detection period is added by one, the counting mode is simple, the specific times of cell switching performed by the terminal in a plurality of detection periods can be quickly acquired, the coverage range of a cell is not limited when the accumulated cell switching times are acquired, and the ping-pong scene of a plurality of cells accessed by the terminal can be detected.
Optionally, the obtaining, in the at least two detection periods, a network environment parameter difference and a cell switching cumulative number of the terminal in the at least two detection periods includes: calculating the network environment parameter difference value of the network environment parameter of the terminal in the nth detection period and the network environment parameter of the terminal in the n-1 detection period to obtain n-1 network environment parameter difference values; and clearing the accumulated times of cell switching when any one of the n-1 network environment parameter difference values is greater than the second threshold value.
Optionally, the network environment parameter measured by the mobile phone in the nth detection period and the n-1 network parameters measured in the previous n-1 detection periods correspond to n-1 network environment parameter differences, and when at least one network environment parameter difference exists in the n-1 network environment parameter differences and is greater than the first threshold, it indicates that the mobile phone is in a ping-pong scene, and at this time, a cell identifier change caused by the movement of the mobile phone cannot be used as a reference condition for judging whether the mobile phone is in the ping-pong scene.
Optionally, the network environment parameter measured by the mobile phone in n detection periods is RSRP, in the n-1 detection period, the cell accessed by the mobile phone is an a cell, in the 1 st detection period, the 4 th detection period, the 5 th detection period, \ 8230, and in the n-2 detection period, the cell accessed by the mobile phone is an a cell, in the 2 nd detection period and the 3 rd detection period, the cell accessed by the mobile phone is a B cell, and if in the 1 st detection period to the n-1 th detection period, | R n-1 -R 1 |,|R n-2 -R 2 |,…,|R n-1 -R n-2 If all is less than the first threshold, the accumulated times of cell switching of the mobile phone in the first n-1 detection periods is 2, and if the mobile phone measures R in the nth detection period n R of any detection period in the first n-1 detection periods i Difference | R between n -R i And when the | is greater than or equal to the first threshold corresponding to the RSRP, the cell switching accumulated times of the mobile phone become 0 in the nth detection period.
For example, the RSRP values measured by the handset in 5 detection periods are-70 dBm, -72dBm, -73dBm, -80dBm, and-77 dBm, respectively, and the first threshold V is set RSRP 20dBm, the cell switching accumulation frequency of the mobile phone is 2 in the 5 th detection period, and the RSRP value R measured by the mobile phone in the 6 th detection period 6 Is-92 dBm, since | R 6 -R 1 If | > 20dBm, the cumulative number of times of cell switching in the 6 th detection period is 0 1 RSRP value measured for the 1 st detection period.
Optionally, the accumulated number of cell handovers is not necessarily the sum of the number of cell handovers performed in the previous n measurements, and in any measurement, if it is found that the cell handover is not performed by the mobile phone, but the difference between the currently measured network environment parameter and the network environment parameter measured in any previous time exceeds the first threshold, the accumulated number of cell handovers returns to zero, and the accumulated number of cell handovers starts from 1 again when cell handovers are performed later.
Optionally, the network environment parameter measured by the mobile phone in n detection periods is RSRQ, the cell accessed by the mobile phone in the (n-2) th detection period is cell a, the cumulative number of times of cell switching performed by the mobile phone is 2, and the R measured in the (n-1) th detection period is R n-1 R of any detection period in the first n-2 detection periods j Difference | R between n-2 -R j If | is greater than or equal to the first threshold corresponding to the RSRP, the cell switching accumulated times of the mobile phone become 0 in the n-1 detection period, and if the cell accessed by the mobile phone in the n detection period is a cell B and | R n -R n-1 And if the | is smaller than the first threshold, in the nth detection period, the cell switching accumulated times of the mobile phone is 1.
For example, the 6 th testMeasuring period, RSRP value R measured by mobile phone 6 Is-92 dBm, since | R 6 -R 1 If | > 20dBm, the cell switching accumulated times of the mobile phone become 0 in the 6 th detection period, if the mobile phone switches the cell again in the 7 th detection period, and the RSRP value R measured by the mobile phone is larger than the value 7 Is-85 dBm, due to | R 7 -R 6 If | < 20dBm, the cumulative number of times of cell switching is 1 in the 7 th detection period.
In the embodiment of the application, the terminal is judged to be in the moving state through the fact that the difference value of the network environment parameters exceeds the first threshold, the accumulated times of the terminal for switching the cell are reset to zero, and the condition that the normal moving scene of the terminal is mistakenly judged as the ping-pong scene is reduced.
Fig. 2 is a schematic flowchart of a ping-pong scene detection method provided in an embodiment of the present application, in the embodiment shown in fig. 2, a terminal continuously performs network environment parameter measurement and measurement reporting in a working state, obtains a network environment parameter difference value respectively corresponding to a cell and a neighboring cell accessed by the terminal in at least two detection periods, and a cell handover cumulative number of the terminal, and when the network environment parameter difference value is smaller than a first threshold value, counts the cell handover cumulative number, if the terminal performs cell handover from an i-1 detection period to an i detection period, adds one to the cell handover cumulative number, and the cell is not handed over, directly compares the cell handover cumulative number with a second threshold value, and when the cell handover cumulative number is greater than the second threshold value, determines that the terminal is currently in a ping-pong scene; and clearing the accumulated times of cell switching when the difference value of the network environment parameters is greater than or equal to a first threshold value.
In the ping-pong scene method provided by the embodiment of the application, the execution main body can be a ping-pong scene device. In the embodiment of the present application, a method for executing a ping-pong scene by using a ping-pong scene apparatus is taken as an example to illustrate the ping-pong scene apparatus provided in the embodiment of the present application.
The embodiment of the application further provides a ping-pong scene detection device.
Fig. 3 is a schematic structural diagram of a ping-pong scene detection apparatus provided in an embodiment of the present application, and as shown in fig. 3, the ping-pong scene detection apparatus includes: a parameter acquisition module 310 and a scene detection module 320.
A parameter obtaining module 310, configured to obtain a network environment parameter difference value of the terminal in at least two detection periods and a cell switching cumulative number of times of the terminal;
the scene detection module 320 is configured to determine that the terminal is in a ping-pong scene when the network environment parameter difference value obtained by the parameter obtaining module is smaller than a first threshold and the accumulated cell switching times are greater than a second threshold.
According to the ping-pong scene detection device provided by the embodiment of the application, the ping-pong scene of the terminal is detected by acquiring the difference value of the network environment parameters of the terminal in at least two detection periods and the cell switching accumulated times of the terminal, parameter measurement is not required by other sensors, the power consumption of the terminal is reduced, and when the cell switching accumulated times is acquired, the required time length for limiting the cell switching accumulated times to be greater than the second threshold value is not limited, so that the relatively slow ping-pong scene detection is realized.
Optionally, the at least two detection periods include a 1 st detection period to an nth detection period, and the scene detection module is further configured to: before the terminal is determined to be in a ping-pong scene, calculating network environment parameter differences of network environment parameters of the terminal in an nth detection period and network environment parameters of the terminal in q detection periods to obtain q network environment parameter differences; under the condition that the q network environment parameter difference values are all smaller than a first threshold value, determining that the network environment parameter difference values are smaller than the first threshold value; the terminal accesses the same cell from the nth detection period to the nth detection period, n is an integer greater than 1, and q is greater than or equal to 1 and less than or equal to n-1.
Optionally, the network environment parameter includes a network environment parameter of a terminal access cell and a network environment parameter of at least one neighboring cell of the cell; a scene detection module further configured to: calculating the network environment parameter difference value of the network environment parameter of the cell accessed by the terminal in the nth detection period and the network environment parameter of the cell accessed in the n-q detection periods to obtain n-q network environment parameter difference values measured by the terminal in the cell; calculating the network environment parameter difference value of the network environment parameter of at least one adjacent cell of the cell accessed by the terminal in the nth detection period and the network environment parameter of at least one adjacent cell of the cell accessed in the n-q detection periods to obtain n-q network environment parameter difference values measured by the terminal in the at least one adjacent cell of the cell; and under the condition that the difference values of the n-q network environment parameters measured by the terminal in the cell are all smaller than a first threshold value, and the difference values of the n-q network environment parameters measured by the terminal in at least one adjacent cell of the cell are all smaller than the first threshold value, determining that the difference values of the network environment parameters are smaller than the first threshold value.
Optionally, the at least two detection periods include the 1 st detection period to the nth detection period; a parameter acquisition module, further configured to: based on the network environment parameters of the terminal in the ith detection period and the network environment parameters of the terminal in the (i-1) th detection period, judging whether the terminal is switched from the (i-1) th detection period to the ith detection period, and adding one to the accumulated times of cell switching under the condition that the terminal determines that the terminal switches cells from the (i-1) th detection period to the ith detection period; the ith detection period is any one of the 1 st detection period to the nth detection period, n is an integer larger than 1, and i is larger than 1 and is not larger than n.
Optionally, the at least two detection periods include the 1 st detection period to the nth detection period; a parameter acquisition module, further configured to: calculating the network environment parameter difference value of the network environment parameter of the terminal in the nth detection period and the network environment parameter of the terminal in the n-1 detection period to obtain n-1 network environment parameter difference values; and clearing the accumulated times of cell switching when any one of the n-1 network environment parameter difference values is greater than a second threshold value.
The ping-pong scene detection apparatus in the embodiment of the application may be an electronic device, or may be a component in an electronic device, such as an integrated circuit or a chip. The electronic device may be a terminal, or may be a device other than a terminal. The electronic Device may be, for example, a Mobile phone, a tablet computer, a notebook computer, a palm computer, a vehicle-mounted electronic Device, a Mobile Internet Device (MID), an Augmented Reality (AR)/Virtual Reality (VR) Device, a robot, a wearable Device, an ultra-Mobile personal computer (UMPC), a netbook or a Personal Digital Assistant (PDA), and the like, and may also be a Network Attached Storage (NAS), a Personal Computer (PC), a Television (TV), a teller machine, a self-service machine, and the like, and the embodiments of the present application are not limited in particular.
The ping-pong scene detection device in the embodiment of the present application may be a device having an operating system. The operating system may be an Android operating system (Android), an iOS operating system, or other possible operating systems, which is not specifically limited in the embodiments of the present application.
The ping-pong scene detection device provided by the embodiment of the application can realize each process realized by the method embodiments of fig. 1 to fig. 2, and is not repeated here to avoid repetition.
Optionally, fig. 4 is a schematic structural diagram of an electronic device provided in an embodiment of the present application, and as shown in fig. 4, an embodiment of the present application further provides an electronic device 400, which includes a processor 401, a memory 402, and a program or an instruction stored in the memory 402 and capable of running on the processor 401, and when the program or the instruction is executed by the processor 401, the processes of the foregoing ping-pong scene detection apparatus embodiment are implemented, and the same technical effect can be achieved, and details are not repeated here to avoid repetition.
Optionally, the electronic device in this embodiment of the present application includes the mobile electronic device and the non-mobile electronic device described above.
Fig. 5 is a schematic diagram of a hardware structure of an electronic device implementing the embodiment of the present application.
The electronic device 500 includes, but is not limited to: radio frequency unit 501, network module 502, audio output unit 503, input unit 504, sensor 505, display unit 506, user input unit 507, interface unit 508, memory 505, processor 510, and the like.
Those skilled in the art will appreciate that the electronic device 500 may further comprise a power supply (e.g., a battery) for supplying power to various components, and the power supply may be logically connected to the processor 510 via a power management system, so as to implement functions of managing charging, discharging, and power consumption via the power management system. The electronic device structure shown in fig. 5 does not constitute a limitation of the electronic device, and the electronic device may include more or less components than those shown, or combine some components, or arrange different components, and thus, the description is omitted here.
The input unit 504 is configured to obtain a network environment parameter difference of the terminal in at least two detection periods and a cell switching cumulative number of the terminal;
a processor 510, configured to determine that the terminal is in a ping-pong scenario when the network environment parameter difference value obtained by the parameter obtaining module is smaller than a first threshold and the accumulated number of times of cell switching is greater than a second threshold.
According to the electronic equipment provided by the embodiment of the application, the ping-pong scene detection of the terminal is realized by acquiring the difference value of the network environment parameters of the terminal in at least two detection periods and the cell switching accumulated times of the terminal, parameter measurement is not required by other sensors, the power consumption of the terminal is reduced, and when the cell switching accumulated times are acquired, the required time length that the cell switching accumulated times are greater than the second threshold value is not limited, so that the relatively slow ping-pong scene detection is realized.
Optionally, the at least two detection periods include a 1 st detection period to an nth detection period, the scene detection module, and the processor 510 are further configured to calculate a network environment parameter difference between a network environment parameter of the terminal in the nth detection period and a network environment parameter of the terminal in q detection periods before determining that the terminal is in a ping-pong scene, so as to obtain q network environment parameter differences; under the condition that the q network environment parameter difference values are all smaller than a first threshold value, determining that the network environment parameter difference values are smaller than the first threshold value; the terminal accesses the same cell from the nth detection period to the nth detection period, n is an integer greater than 1, and the network environment parameter difference is determined to be smaller than a first threshold under the condition that the network environment parameter difference is smaller than the first threshold under the condition that the network environment parameter difference is larger than or equal to 1 and is larger than or equal to q and smaller than or equal to 1 and the n-1; .
Optionally, the network environment parameters include a network environment parameter of a cell to which the terminal is accessed and a network environment parameter of at least one neighboring cell of the cell, and the processor 510 is further configured to calculate a network environment parameter difference between the network environment parameter of the cell to which the terminal is accessed in an nth detection period and the network environment parameter of the cell to which the terminal is accessed in q detection periods, so as to obtain q network environment parameter differences measured by the terminal in the cell; calculating a network environment parameter difference value of the network environment parameter of at least one adjacent cell of the cell accessed by the terminal in the nth detection period and the network environment parameter of at least one adjacent cell of the cell accessed in q detection periods to obtain q network environment parameter difference values measured by the terminal in the at least one adjacent cell of the cell; and under the condition that the difference values of the q network environment parameters measured by the terminal in the cell are all smaller than a first threshold value, and the difference values of the q network environment parameters measured by the terminal in at least one adjacent cell of the cell are all smaller than the first threshold value, determining that the difference values of the network environment parameters are smaller than the first threshold value.
Optionally, the at least two detection periods include a 1 st detection period to an nth detection period, and the processor 510 is further configured to determine, based on a network environment parameter of the terminal in the ith detection period and a network environment parameter in the i-1 th detection period, that the i-1 st detection period to the ith detection period are reached, and whether the terminal is switched to determine whether the i-1 st detection period to the ith detection period, and the accumulated number of times of cell switching is increased by one when the terminal switches to a cell; the ith detection period is any one of the 1 st detection period to the nth detection period, n is an integer larger than 1, and i is larger than 1 and is not larger than n.
Optionally, the at least two detection periods include the 1 st detection period to the nth detection period; the parameter acquisition module is further configured to: calculating the network environment parameter difference value of the network environment parameter of the terminal in the nth detection period and the network environment parameter of the terminal in the n-1 detection period to obtain n-1 network environment parameter difference values; and clearing the accumulated times of cell switching under the condition that any one of the n-1 network environment parameter difference values is greater than a second threshold value. It should be understood that in the embodiment of the present application, the input Unit 504 may include a Graphics Processing Unit (GPU) 5041 and a microphone 5042, and the Graphics processor 5041 processes image data of still pictures or videos obtained by an image capturing device (such as a camera) in a video capturing mode or an image capturing mode. The display unit 506 may include a display panel 5061, and the display panel 5061 may be configured in the form of a liquid crystal display, an organic light emitting diode, or the like. The user input unit 507 includes at least one of a touch panel 5071 and other input devices 5072. A touch panel 5071, also referred to as a touch screen. The touch panel 5071 may include two parts of a touch detection device and a touch controller. Other input devices 5072 may include, but are not limited to, a physical keyboard, function keys (e.g., volume control keys, switch keys, etc.), a trackball, a mouse, and a joystick, which are not described in further detail herein.
The memory 505 may be used to store software programs as well as various data. The memory 505 may mainly include a first storage area storing programs or instructions and a second storage area storing data, wherein the first storage area may store an operating system, application programs or instructions required for at least one function (such as a sound playing function, an image playing function, etc.), and the like. Further, memory 505 may include volatile memory or nonvolatile memory, or memory 505 may include both volatile and nonvolatile memory. The non-volatile Memory may be a Read-Only Memory (ROM), a Programmable ROM (PROM), an Erasable PROM (EPROM), an Electrically Erasable PROM (EEPROM), or a flash Memory. The volatile Memory may be a Random Access Memory (RAM), a Static Random Access Memory (Static RAM, SRAM), a Dynamic Random Access Memory (Dynamic RAM, DRAM), a Synchronous Dynamic Random Access Memory (Synchronous DRAM, SDRAM), a Double Data Rate Synchronous Dynamic Random Access Memory (Double Data Rate SDRAM, ddr SDRAM), an Enhanced Synchronous SDRAM (ESDRAM), a Synchronous Link DRAM (SLDRAM), and a Direct Memory bus RAM (DRRAM). Memory 505 in the embodiments of the subject application include, but are not limited to, these and any other suitable types of memory.
Processor 510 may include one or more processing units; optionally, the processor 510 integrates an application processor, which primarily handles operations involving the operating system, user interface, and applications, and a modem processor, which primarily handles wireless communication signals, such as a baseband processor. Alternatively, the modem processor may not be integrated into processor 510.
The embodiment of the present application further provides a readable storage medium, where a program or an instruction is stored on the readable storage medium, and when the program or the instruction is executed by a processor, the program or the instruction implements each process of the foregoing ping-pong scene detection method embodiment, and can achieve the same technical effect, and in order to avoid repetition, details are not repeated here.
The processor is the processor in the electronic device described in the above embodiment. The readable storage medium includes a computer readable storage medium, such as a computer read only memory ROM, a random access memory RAM, a magnetic or optical disk, and the like.
The embodiment of the present application further provides a chip, where the chip includes a processor and a communication interface, the communication interface is coupled to the processor, and the processor is configured to run a program or an instruction to implement each process of the above ping-pong scene detection method embodiment, and can achieve the same technical effect, and in order to avoid repetition, the details are not repeated here.
It should be understood that the chips mentioned in the embodiments of the present application may also be referred to as a system-on-chip, or a system-on-chip.
Alternatively, in this document, the terms "include", "include" or any other variation thereof are intended to cover a non-exclusive inclusion, so that a process, method, article or apparatus that includes a series of elements includes not only those elements but also other elements not explicitly listed or inherent to such process, method, article or apparatus. Without further limitation, an element defined by the phrases "comprising a component of' 8230; \8230;" does not exclude the presence of another like element in a process, method, article, or apparatus that comprises the element. Further, it should be noted that the scope of the methods and apparatus of the embodiments of the present application is not limited to performing the functions in the order illustrated or discussed, but may include performing the functions in a substantially simultaneous manner or in a reverse order based on the functions involved, e.g., the methods described may be performed in an order different than that described, and various steps may be added, omitted, or combined. Additionally, features described with reference to certain examples may be combined in other examples.
Through the description of the foregoing embodiments, it is clear to those skilled in the art that the method of the foregoing embodiments may be implemented by software plus a necessary general hardware platform, and certainly may also be implemented by hardware, but in many cases, the former is a better implementation. Based on such understanding, the technical solutions of the present application may be embodied in the form of a computer software product, which is stored in a storage medium (such as ROM/RAM, magnetic disk, optical disk) and includes instructions for enabling a terminal (such as a mobile phone, a computer, a server, or a network device) to execute the method according to the embodiments of the present application.
While the present embodiments have been described with reference to the accompanying drawings, it is to be understood that the invention is not limited to the precise embodiments described above, which are meant to be illustrative and not restrictive, and that various changes may be made therein by those skilled in the art without departing from the spirit and scope of the invention as defined by the appended claims.

Claims (11)

1. A ping-pong scene detection method is characterized by comprising the following steps:
acquiring a network environment parameter difference value of a terminal in at least two detection periods and the cell switching accumulated times of the terminal;
and determining that the terminal is in a ping-pong scene under the condition that the network environment parameter difference is smaller than a first threshold and the cell switching accumulated times is larger than a second threshold.
2. The ping-pong scene detection method of claim 1, wherein the at least two detection periods comprise a 1 st detection period to an nth detection period;
the determining that the terminal is in a ping-pong scene further comprises:
calculating the network environment parameter difference value of the network environment parameter of the terminal in the nth detection period and the network environment parameter of the terminal in the q detection periods to obtain q network environment parameter difference values;
under the condition that the q network environment parameter difference values are all smaller than a first threshold value, determining that the network environment parameter difference values are smaller than the first threshold value;
the q detection periods are from the n-q-1 detection period to the n-1 detection period, the terminal accesses the same cell from the n-q-1 detection period to the nth detection period, n is an integer larger than 1, and q is larger than or equal to 1 and is smaller than or equal to n-1.
3. The ping-pong scenario detection method of claim 2, wherein the network environment parameters comprise a network environment parameter of the terminal access cell and a network environment parameter of at least one neighbor cell of the cell;
the calculating a network environment parameter difference between the network environment parameter of the terminal in the nth detection period and the network environment parameter of the terminal in the q detection periods to obtain q network environment parameter differences includes:
calculating the network environment parameter difference value of the network environment parameter of the cell accessed by the terminal in the nth detection period and the network environment parameter of the cell accessed in the q detection periods to obtain q network environment parameter difference values measured by the terminal in the cell;
calculating a network environment parameter difference value of the network environment parameter of at least one adjacent cell of the cell accessed by the terminal in the nth detection period and the network environment parameter of at least one adjacent cell of the cell accessed in q detection periods to obtain q network environment parameter difference values measured by the terminal in the at least one adjacent cell of the cell;
the determining that the network environment parameter difference is smaller than a first threshold value comprises:
and under the condition that the difference values of the q network environment parameters measured by the terminal in the cell are all smaller than a first threshold value, and the difference values of the q network environment parameters measured by the terminal in at least one adjacent cell of the cell are all smaller than the first threshold value, determining that the difference values of the network environment parameters are smaller than the first threshold value.
4. The ping-pong scene detection method of claim 1, wherein the at least two detection periods comprise a 1 st detection period to an nth detection period;
the acquiring the network environment parameter difference value of the terminal in at least two detection periods and the cell switching accumulated times of the terminal comprises the following steps:
judging whether the terminal switches cells from the ith detection period to the ith detection period based on the network environment parameters of the terminal in the ith detection period and the network environment parameters in the ith-1 detection period;
adding one to the accumulated times of cell switching under the condition that the terminal switches the cells from the (i-1) th detection period to the (i) th detection period;
the ith detection period is any one of the 1 st to nth detection periods, n is an integer greater than 1, and i is greater than 1 and less than or equal to n.
5. The ping-pong scene detection method of claim 1, wherein the at least two detection periods comprise a 1 st detection period to an nth detection period;
the acquiring the network environment parameter difference value of the terminal in at least two detection periods and the cell switching accumulated times of the terminal comprises the following steps:
calculating the network environment parameter difference value of the network environment parameter of the terminal in the nth detection period and the network environment parameter of the terminal in n-1 detection periods to obtain n-1 network environment parameter difference values;
and clearing the accumulated times of cell switching when any one of the n-1 network environment parameter difference values is greater than the second threshold value.
6. A ping-pong scene detection device, comprising:
the system comprises a parameter acquisition module, a parameter acquisition module and a parameter acquisition module, wherein the parameter acquisition module is used for acquiring a network environment parameter difference value of a terminal in at least two detection periods and the cell switching accumulated times of the terminal;
and the scene detection module is used for determining that the terminal is in a ping-pong scene under the conditions that the network environment parameter difference value acquired by the parameter acquisition module is smaller than a first threshold value and the accumulated cell switching times are greater than a second threshold value.
7. The ping-pong scene detecting device of claim 6, wherein the at least two detection periods comprise a 1 st detection period to an nth detection period;
the scene detection module is further configured to:
before the terminal is determined to be in the ping-pong scene, calculating the network environment parameter difference value of the network environment parameter of the terminal in the nth detection period and the network environment parameter of the terminal in the q detection periods to obtain q network environment parameter difference values;
under the condition that the q network environment parameter difference values are all smaller than a first threshold value, determining that the network environment parameter difference values are smaller than the first threshold value;
the q detection periods are from the n-q-1 detection period to the n-1 detection period, the terminal accesses the same cell from the n-q-1 detection period to the nth detection period, n is an integer larger than 1, and q is larger than or equal to 1 and is smaller than or equal to n-1.
8. The apparatus according to claim 7, wherein the network environment parameters include a network environment parameter of the terminal access cell and a network environment parameter of at least one neighbor cell of the cell;
the scene detection module is further configured to:
calculating the network environment parameter difference value of the network environment parameter of the cell accessed by the terminal in the nth detection period and the network environment parameter difference value of the network environment parameter of the cell accessed by the terminal in the q detection periods to obtain q network environment parameter difference values measured by the terminal in the cell;
calculating a network environment parameter difference value of the network environment parameter of at least one adjacent cell of the cell accessed by the terminal in the nth detection period and the network environment parameter of at least one adjacent cell of the cell accessed in q detection periods to obtain q network environment parameter difference values measured by the terminal in the at least one adjacent cell of the cell;
and under the condition that the difference values of the q network environment parameters measured by the terminal in the cell are all smaller than a first threshold value, and the difference values of the q network environment parameters measured by the terminal in at least one adjacent cell of the cell are all smaller than the first threshold value, determining that the difference values of the network environment parameters are smaller than the first threshold value.
9. The ping-pong scene detecting device of claim 6, wherein the at least two detection periods comprise a 1 st detection period to an nth detection period;
the parameter obtaining module is further configured to:
judging whether the terminal switches cells from the ith detection period to the ith detection period based on the network environment parameters of the terminal in the ith detection period and the network environment parameters in the ith-1 detection period;
adding one to the accumulated cell switching times when the cells are switched from the i-1 detection period to the i-1 detection period and the terminal is determined;
the ith detection period is any one of the 1 st detection period to the nth detection period, n is an integer greater than 1, and i is greater than 1 and less than or equal to n.
10. The ping-pong scene detecting device of claim 6, wherein the at least two detection periods comprise a 1 st detection period to an nth detection period;
the parameter obtaining module is further configured to:
calculating the network environment parameter difference value of the network environment parameter of the terminal in the nth detection period and the network environment parameter of the terminal in the n-1 detection period to obtain n-1 network environment parameter difference values;
and clearing the accumulated times of cell switching when any one of the n-1 network environment parameter difference values is greater than the second threshold value.
11. An electronic device comprising a processor and a memory, the memory storing a program or instructions executable on the processor, the program or instructions when executed by the processor implementing the steps of the ping-pong scene detection method of any one of claims 1-5.
CN202211717481.9A 2022-12-29 2022-12-29 Ping-pong scene detection method and device and electronic equipment Pending CN115967964A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202211717481.9A CN115967964A (en) 2022-12-29 2022-12-29 Ping-pong scene detection method and device and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202211717481.9A CN115967964A (en) 2022-12-29 2022-12-29 Ping-pong scene detection method and device and electronic equipment

Publications (1)

Publication Number Publication Date
CN115967964A true CN115967964A (en) 2023-04-14

Family

ID=87353947

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202211717481.9A Pending CN115967964A (en) 2022-12-29 2022-12-29 Ping-pong scene detection method and device and electronic equipment

Country Status (1)

Country Link
CN (1) CN115967964A (en)

Similar Documents

Publication Publication Date Title
CN109548075A (en) Measurement report report method, device, storage medium and mobile terminal
KR102660228B1 (en) Cell reselection method and electronic device
US20230089127A1 (en) Cell reselection method, cell reselection apparatus, and storage medium
CN111770529B (en) Method for processing relaxation measurement parameter update, terminal device and storage medium
CN111770540B (en) Cell switching method and device and electronic equipment
CN111787563A (en) Method for executing relaxation measurement and terminal equipment
CN112887927B (en) Voice fallback method and device and user equipment
CN111641963B (en) Cell measurement method and terminal equipment
US11076311B2 (en) Methods and devices for measuring cell signal quality
CN111092671B (en) Signal strength reporting method and device, storage medium and terminal equipment
EP2615865B1 (en) Mobile device and method
CN113766528A (en) Positioning processing method, terminal and network side equipment
CN112333763A (en) Network selection method and device
CN112333762B (en) Network registration method and device
CN112333734B (en) Serving cell switching method and device
CN111615160A (en) Cell reselection method and terminal equipment
CN110192405B (en) Network measurement method, device and storage medium
CN115967964A (en) Ping-pong scene detection method and device and electronic equipment
CN112654072A (en) Cell residence method, equipment and system
CN113038506B (en) Measuring method and device
CN114339915A (en) Cell switching method, device and storage medium
KR20220048004A (en) Mobility measurement method and equipment in RRC idle state or inactive state
CN105517113B (en) Access control method and terminal equipment
CN113840318A (en) Method for executing relaxation measurement and terminal equipment
CN113015224B (en) Cell reselection method and device, terminal equipment and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination