Table tennis scene detection method and device, and electronic device

By acquiring the difference in network environment parameters and the number of cell handovers of the terminal, and using a threshold to determine whether the terminal is in a ping-pong scene, the problems of power consumption and false judgment in the existing technology are solved, and efficient ping-pong scene detection is achieved.

CN115967964BActive Publication Date: 2026-04-21VIVO MOBILE COMM CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
VIVO MOBILE COMM CO LTD
Filing Date
2022-12-29
Publication Date
2026-04-21

AI Technical Summary

Technical Problem

Existing technologies are prone to misjudging whether a terminal is in a ping-pong scenario, and require the use of other sensors for parameter measurement, resulting in additional power consumption and resource waste.

Method used

By acquiring the difference in network environment parameters and the cumulative number of cell handovers of the terminal over at least two detection cycles, a threshold is used to determine whether the terminal is in a ping-pong scenario, avoiding reliance on other sensors and reducing power consumption.

Benefits of technology

It achieves accurate detection of ping-pong scenarios, reduces terminal power consumption, and does not require limiting the duration of cumulative cell handovers, making it suitable for various network environments.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115967964B_ABST
    Figure CN115967964B_ABST
Patent Text Reader

Abstract

The application discloses a ping-pong scenario detection method and device and electronic equipment, and belongs to the field of communication technology. The ping-pong scenario detection method comprises the following steps: acquiring a network environment parameter difference value of a terminal in at least two detection periods and a cell switching cumulative number of the terminal; and determining that the terminal is in a ping-pong scenario in the case that the network environment parameter difference value is less than a first threshold value, and the cell switching cumulative number is greater than a second threshold value.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application belongs to the field of communication technology, specifically relating to a method, device, and electronic equipment for detecting a table tennis scene. Background Technology

[0002] When a user equipment (UE, also known as a terminal) is in connected mode, improper network configuration can cause the terminal to continuously change the cell it is camped on without moving, resulting in problems such as terminal lag, network signaling burden, and increased power consumption.

[0003] In related technologies, it is usually necessary to limit the detection time when determining whether a terminal is in a ping-pong scene. When the terminal is in a scene where the "ping-pong effect" occurs relatively slowly, limiting the detection time can easily lead to misjudgment of the network environment in which the terminal is located. In addition, in order to reduce misjudgment of whether the terminal is in a ping-pong scene, existing technologies will also use other sensors to obtain network communication parameters in the network environment in which the terminal is located, which will bring additional power consumption and waste resources. Summary of the Invention

[0004] The purpose of this application is to provide a method, device, and electronic device for detecting ping-pong scenes. This method does not require the use of other sensors for parameter measurement, thus reducing the power consumption of the terminal. Furthermore, when acquiring the cumulative number of cell handovers, there is no limit to the time required for the cumulative number of cell handovers to exceed a second threshold, thereby enabling the detection of relatively slow ping-pong scenes.

[0005] In a first aspect, embodiments of this application provide a method for detecting a table tennis scene, the method comprising:

[0006] Obtain the difference in network environment parameters of the terminal over at least two detection periods and the cumulative number of cell handovers of the terminal;

[0007] If the difference in network environment parameters is less than a first threshold and the cumulative number of cell handovers is greater than a second threshold, the terminal is determined to be in a ping-pong scenario.

[0008] Secondly, embodiments of this application provide a table tennis scene detection device, the device comprising:

[0009] The parameter acquisition module is used to acquire the difference in network environment parameters of the terminal within at least two detection periods and the cumulative number of cell handovers of the terminal.

[0010] The scene detection module is used to determine that the terminal is in a ping-pong scene when the difference between the network environment parameters obtained by the parameter acquisition module is less than a first threshold and the cumulative number of cell handovers is greater than a second threshold.

[0011] Thirdly, embodiments of this application provide an electronic device including a processor and a memory, the memory storing programs or instructions executable on the processor, the programs or instructions, when executed by the processor, implementing the steps of the method described in the first aspect.

[0012] Fourthly, embodiments of this 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 described in the first aspect.

[0013] Fifthly, embodiments of this application provide a chip, the chip including a processor and a communication interface, the communication interface being coupled to the processor, the processor being used to run programs or instructions to implement the method as described in the first aspect.

[0014] In a sixth aspect, embodiments of this application provide a computer program product stored in a storage medium, which is executed by at least one processor to implement the method described in the first aspect.

[0015] In this embodiment, the detection of the ping-pong scene of the terminal is achieved by obtaining the difference of network environment parameters of the terminal in at least two detection cycles and the cumulative number of cell handovers of the terminal. This eliminates the need for parameter measurement by other sensors, reducing the power consumption of the terminal. Furthermore, when obtaining the cumulative number of cell handovers, there is no limit to the time required for the cumulative number of cell handovers to exceed the second threshold, thus enabling the detection of the relatively slow ping-pong scene. Attached Figure Description

[0016] Figure 1 This is a flowchart illustrating a table tennis scene detection method provided in some embodiments of this application;

[0017] Figure 2 This is a flowchart illustrating the ping-pong scene detection method provided in the embodiments of this application;

[0018] Figure 3 This is a schematic diagram of the structure of the table tennis scene detection device provided in the embodiments of this application;

[0019] Figure 4 This is a schematic diagram of the structure of the electronic device provided in the embodiments of this application;

[0020] Figure 5 This is a schematic diagram of the hardware structure of an electronic device according to an embodiment of this application. Detailed Implementation

[0021] The technical solutions of the embodiments of this application will be clearly described below with reference to the accompanying drawings. Obviously, the described embodiments are only some, not all, of the embodiments of this application. All other embodiments obtained by those skilled in the art based on the embodiments of this application are within the scope of protection of this application.

[0022] The terms "first," "second," etc., used in the specification and claims of this application are used to distinguish similar objects and not to describe a specific order or sequence. It should be understood that such use of data can be interchanged where appropriate so that embodiments of this application can be implemented in orders other than those illustrated or described herein, and the objects distinguished by "first," "second," etc., are generally of the same class and the number of objects is not limited; for example, a first object can be one or more. Furthermore, in the specification and claims, "and / or" indicates at least one of the connected objects, and the character " / " generally indicates that the preceding and following objects are in an "or" relationship.

[0023] The following description, in conjunction with the accompanying drawings, details the ping-pong scene detection method, ping-pong scene detection device, electronic device, and readable storage medium provided in this application through specific embodiments and application scenarios.

[0024] The terminal can be a wireless terminal or a wired terminal. The wireless terminal can be a device that provides voice and / or other service data connectivity to a user, a handheld device with wireless connectivity, or other processing devices connected to a wireless modem. The wireless terminal can communicate with one or at least two core networks via a Radio Access Network (RAN). The wireless terminal can be a mobile terminal, such as a mobile phone or a computer with a mobile terminal, for example, a portable, pocket-sized, handheld, computer-embedded, or vehicle-mounted mobile device that exchanges voice and / or data with the RAN. Examples include Personal Communication Service (PCS) phones, cordless phones, Session Initiation Protocol (SIP) phones, Wireless Local Loop (WLL) stations, and Personal Digital Assistants (PDAs). Wireless terminals can also be referred to as systems, subscriber units, subscriber stations, mobile stations, mobile stations, remote stations, remote terminals, access terminals, user terminals, user agents, user devices, or user equipment, without limitation here.

[0025] The terminal includes, but is not limited to, devices with touch-sensitive surfaces, such as mobile phones or tablets, and other portable communication devices. It should also be understood that in some embodiments, the terminal may not be a portable communication device; for example, the terminal may be a desktop computer.

[0026] The following embodiments describe a terminal including a display and a touch-sensitive surface. 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.

[0027] The ping-pong scene detection method provided in this application is applicable to detecting ping-pong scenes of terminals under LTE (Long Term Evolution) networks, 5G networks, WIFI networks, or Bluetooth networks. The executing entity of the ping-pong scene detection method can be a terminal or a functional module or functional entity in the terminal that can implement the ping-pong scene detection method. The terminals mentioned in this application include, but are not limited to, mobile phones, tablets, computers, and wearable devices such as watches. The following uses a terminal as the executing entity to illustrate the ping-pong scene detection method provided in this application. Figure 1 This is a flowchart illustrating some embodiments of the ping-pong scene detection method provided in this application, such as... Figure 1 As shown, this embodiment of the invention uses mobile phone ping-pong scene detection in an LTE network environment as an example for illustration. This ping-pong scene detection method is applied to a terminal and includes the following steps:

[0028] Step 110: Obtain the difference in network environment parameters of the terminal and the cumulative number of cell handovers of the terminal within at least two detection cycles.

[0029] Optionally, in an LTE network environment, when a user uses their mobile phone to communicate via data traffic, the frequent switching of the LTE cell the phone connects to will frequently wake up and notify the upper-layer apps on the phone to send notification messages, resulting in unstable mobile signal and inability to standby or hibernate normally. Furthermore, when the two cells involved in a ping-pong handover belong to different tracking area code lists, each cell handover will trigger a tracking area update process, which will increase the network signaling burden and thus affect network capacity. It will also further exacerbate the phone's power consumption and cause the phone to overheat. Therefore, it is necessary to confirm whether the phone is in a ping-pong scenario in an LTE network environment.

[0030] Optionally, in an LTE network environment, network environment parameters may include communication parameters such as 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.

[0031] Optionally, network environment parameters may also include the cell identifier of the cell to which the terminal is accessing or the cell identifier of a neighboring cell.

[0032] Optionally, the cell identifier can be a Cell ID. For example, when the terminal accesses LTE cell A, the corresponding cell identifier is Cell ID A, hereinafter referred to as A.

[0033] Optionally, the mobile phone can periodically measure the network environment parameters of the accessed LTE cell and the neighboring cells of the accessed LTE cell. For example, the mobile phone measures RSRP once every time interval t. When t0 is the initial detection time, the first detection period includes t0+t, the second detection period includes t0+2t, and so on.

[0034] Optionally, the detection period for mobile phone to measure network environment parameters can be set according to user needs, such as 50ms, 80ms or 100ms.

[0035] Optionally, the network environment parameter difference includes the absolute value of the difference between the network environment parameter measured by the mobile phone in the nth measurement cycle and the network environment parameter corresponding to one or more detection cycles in the previous n-1 detection cycles. For example, if the RSRP value measured by the mobile phone in the 5th detection cycle is -75dBm and the network environment parameter in the 4th detection cycle is -80dBm, then the difference in the mobile phone's network environment parameter from the 4th measurement cycle to the 5th detection cycle is 15dBm.

[0036] Optionally, the number of times a mobile phone performs cell handover can be determined based on the number of times the cell identifier of the cell the mobile phone accesses changes. For example, if the cell identifier of the mobile phone is A in the first detection cycle and the cell identifier is B in the second detection cycle, then the number of cell handovers performed by the mobile phone from the first detection cycle to the second detection cycle is 1; if the cell identifier of the mobile phone is A in the third detection cycle, then the cumulative number of cell handovers performed by the terminal from the first detection cycle to the third detection cycle is 2.

[0037] Optionally, if the mobile phone consistently accesses cell A during the first to third detection cycles, it can be assumed that the terminal did not switch cells during that period.

[0038] Optionally, the network environment parameter type measured by the mobile phone is the same in each detection cycle. For example, the network environment parameter measured by the mobile phone is always RSRP in multiple detection cycles.

[0039] Step 120: If the difference in network environment parameters is less than the first threshold and the cumulative number of cell handovers is greater than the second threshold, determine that the terminal is in a ping-pong scenario.

[0040] Optionally, if the network environment of the cell the mobile phone is connected to is unstable, the mobile phone will frequently change the cell it is staying in in order to find a stable network environment. If the difference between the network environment parameters measured by the mobile phone in the current detection period and the network environment parameters measured in previous detection periods is small, for example, if the difference in network environment parameters is less than the first threshold and the cumulative number of times the mobile phone switches cells is greater than the second threshold, the mobile phone can be considered to be in a ping-pong scenario.

[0041] Optionally, both the first and second thresholds can be set according to the user's actual needs. For example, when the network environment parameter is RSRP, the corresponding first threshold can be 20dBm and the second threshold can be 3.

[0042] Optionally, when there are multiple network environment parameters, there are also multiple corresponding first thresholds, and the multiple first thresholds are used to detect whether different types of network environment parameters change significantly.

[0043] The network environment parameters measured by the mobile phone during detection period T1 are RSRP1 and RSRQ1, and the network environment parameters measured by the mobile phone during detection period T2 are RSRP2 and RSRQ2. The first thresholds corresponding to RSRP and RSRQ are V respectively. RSRP and V RSRQ The difference between RSRP and RSRQ is |RSRP1-RSRP2|, and the difference between RSRQ and RSRQ is |RSRQ1-RSRQ2|. If |RSRP1-RSRP2| < V RSRP This indicates that the change in RSRP, the network environment parameter measured by the mobile phone, is not significant from detection period T1 to detection period T2; otherwise, the change in RSRP would be significant. Similarly, if |RSRQ1-RSRQ2|<V RSRQ This indicates that the RSRQ parameter of the network environment measured by the mobile phone does not change significantly from detection period T1 to detection period T2; otherwise, the RSRQ would change significantly.

[0044] For example, the mobile phone measures RSRP1 as -70dBm in the first detection cycle and RSRP2 as -100dBm in the second detection cycle. RSRP The value is 20 dBm. Since the calculated value of |RSRP1-RSRP2| is 30 dBm, which is greater than V... RSRP Then, from the first detection cycle to the second detection cycle, the terminal's RSRP changes significantly; the mobile phone measures RSRQ1 as -10dB in the first detection cycle and RSRQ2 as -6dB in the second detection cycle. RSRQ The value is 2dB. Since the calculated value of |RSRQ1-RSRQ2| is 4dB, which is greater than V, the value is 2dB. RSRQ In the first detection cycle to the second detection cycle, the RSRQ of the mobile phone changed significantly.

[0045] The network environment parameters measured by the mobile phone over n detection cycles are denoted as RSRP. The R value measured in the nth detection cycle is... n R0, R1, R2, R3, R4, ..., R measured in the previous n-1 detection cycles n-1 The difference between them is |R n -R1|,|R n -R2|,…,|R n -R n-1 | When the mobile phone counts cell cuts within n detection cycles

[0046] The cumulative number of swaps is greater than the second threshold, and |R n -R1|,|R n -R2|,…,|R n -R n-1 When all values ​​are greater than the first threshold, 5 indicates that the phone is in a ping-pong scene during the nth detection cycle.

[0047] For example, the RSRP values ​​measured by the mobile phone in 7 testing cycles were -70dBm, -72dBm, and

[0048] -73dBm, -80dBm, -70dBm, -83dBm, and -85dBm, the first threshold V RSRP The threshold is 20dBm, the second threshold is 3. Within 7 cycles, the cell identifier of the cell accessed by the mobile phone changes 4 times. Since the RSRP difference between the 7th detection cycle and the previous 6 detection cycles does not exceed 20dBm, and the cumulative number of times the mobile phone switches cells exceeds 3, it indicates that the mobile phone is in a ping-pong scenario within the 7th detection cycle.

[0049] Optionally, in a WIFI network environment, users can use their mobile phones to connect to WIFI by logging into the router account to achieve WIFI communication. The network environment parameters may also include communication parameters related to the WIFI signal, such as channel or channel width.

[0050] The following explanation uses the detection of a mobile phone ping-pong scene in a WIFI network environment as an example.

[0051] 5. Optionally, obtain the difference in network environment parameters of the mobile phone over at least two detection cycles and the small...

[0052] Cumulative number of zone switching attempts.

[0053] Within 5 detection cycles, the channel widths measured by the mobile phone are 10MHz, 11MHz, 9.5MHz, 11MHz and 9MHz respectively. If the cell identifier of the cell accessed by the mobile phone changes 3 times within 5 detection cycles, then the cumulative number of cell handovers by the mobile phone in the 5th detection cycle is 3.

[0054] Optionally, when the difference in network environment parameters is less than a first threshold and the cumulative number of cell handovers is greater than a certain threshold, the following conditions may be met:

[0055] Under two threshold conditions, it is determined that the terminal is in a ping-pong scenario.

[0056] Optionally, the difference in network environment parameters can be the absolute value of the difference between two network environment parameters.

[0057] Within 5 detection cycles, the first threshold is 3MHz, the second threshold is 2MHz, and the fifth detection cycle...

[0058] If the difference between the network environment parameters of the channel width measured in the fifth detection cycle and the channel width measured in the previous four cycles is less than 53MHz, and the cumulative number of cell handovers of the mobile phone is 3, exceeding the second threshold, then the mobile phone can be considered to be in a ping-pong scenario in the fifth detection cycle.

[0059] Optionally, in a Bluetooth network environment, the user enables the Bluetooth function of the mobile phone and pairs it with other devices via Bluetooth to achieve Bluetooth communication between the mobile phone and other devices; the network environment parameters may also include communication parameters related to Bluetooth signals, such as synchronous channel rate or asynchronous channel rate, etc. The mobile phone ping-pong scene detection process based on the Bluetooth network environment is the same as the steps in the above embodiment, and will not be repeated in this embodiment.

[0060] In this embodiment, the detection of the ping-pong scene of the terminal is achieved by obtaining the difference of network environment parameters of the terminal in at least two detection cycles and the cumulative number of cell handovers of the terminal. This eliminates the need for parameter measurement by other sensors, reducing the power consumption of the terminal. Furthermore, when obtaining the cumulative number of cell handovers, there is no limit to the time required for the cumulative number of cell handovers to exceed the second threshold, thus enabling the detection of the relatively slow ping-pong scene.

[0061] Optionally, at least two detection cycles include the first detection cycle to the nth detection cycle; before determining that the terminal is in a ping-pong scenario, the method further includes: calculating the difference between the network environment parameters of the terminal in the nth detection cycle and the network environment parameters in q detection cycles to obtain q network environment parameter differences; if all q network environment parameter differences are less than a first threshold, the method determines that the network environment parameter differences are less than the first threshold; wherein, the q detection cycles are the nq-1th detection cycle to the n-1th detection cycle, the terminal accesses the same cell in the nq-1th detection cycle to the nth detection cycle, n is an integer greater than 1, and 1≤q≤n-1.

[0062] Optionally, if, within n detection periods, the network parameters remain largely unchanged except for those caused by cell handover, the phone is considered to be in a ping-pong scenario. An example of the rule for determining that parameters remain largely unchanged except for those caused by cell handover is as follows:

[0063] Within 50 testing cycles, the mobile phone measures network environment parameters 50 times. Specifically, the mobile phone accesses cell A during testing cycles 1 to 10; during testing cycle 11, the mobile phone switches cells, accessing cell B during testing cycles 11 to 20; during testing cycle 21, the mobile phone switches cells again, accessing cell A during testing cycles 21 to 30; during testing cycle 31, the mobile phone switches cells again, accessing cell B during testing cycles 31 to 40; and during testing cycle 41, the mobile phone switches cells again, accessing cell A during testing cycles 41 to 50.

[0064] The following conditions must be met:

[0065] (1) The difference between the network environment parameters of the j-th (1<j≤10) detection period and the network environment parameters of the previous j-1 detection periods within the first detection period to the tenth detection period is less than the first threshold.

[0066] When n=10, the differences in network environment parameters between the 10th detection period and the 1st to 9th detection periods are measured respectively, and the differences in the 9 network environment parameters are obtained. When the differences in the 9 network environment parameters are all less than the first threshold, it is considered that the network environment parameters of the mobile phone have not changed significantly from the 1st to the 10th detection period.

[0067] (2) The difference between the network environment parameters of the j-th (11<j≤20) detection period and the network environment parameters of the previous j-1 detection periods within the 11th to 20th detection periods is less than the first threshold.

[0068] When n=20, since the mobile phone switched cells in the 11th detection cycle, it is only necessary to measure the differences of network environment parameters between the 20th detection cycle and the 11th to 19th detection cycles to obtain the differences of 9 network environment parameters. When the differences of the 9 network environment parameters are all less than the first threshold, it is considered that the network environment parameters of the mobile phone have not changed significantly in the 11th to 20th detection cycles.

[0069] (3) The difference between the network environment parameters of the j-th (21<j≤30) detection period and the network environment parameters of the previous j-1 detection periods within the 21st to 30th detection periods is less than the first threshold.

[0070] When n=30, since the mobile phone switched cells in the 21st detection cycle, it is only necessary to measure the differences of network environment parameters between the 30th detection cycle and the 21st to 29th detection cycles to obtain the differences of 9 network environment parameters. When the differences of the 9 network environment parameters are all less than the first threshold, it is considered that the network environment parameters of the mobile phone have not changed significantly in the 21st to 30th detection cycles.

[0071] (4) The difference between the network environment parameters of the j-th (31<j≤40) detection period and the network environment parameters of the previous j-1 detection periods within the 31st to 40th detection periods is less than the first threshold.

[0072] When n=40, since the mobile phone switched cells in the 31st detection cycle, it is only necessary to measure the differences of network environment parameters between the 40th detection cycle and the 31st to 39th detection cycles to obtain the differences of 9 network environment parameters. When the differences of the 9 network environment parameters are all less than the first threshold, it is considered that the network environment parameters of the mobile phone have not changed significantly in the 31st to 39th detection cycles.

[0073] (5) The difference between the network environment parameters of the j-th (41<j≤50) detection period and the network environment parameters of the previous j-1 detection periods within the 41st to 50th detection periods is less than the first threshold.

[0074] When n=50, since the mobile phone switched cells in the 41st detection cycle, it is only necessary to measure the difference between the network environment parameters measured by the mobile phone in the 50th detection cycle and the network environment parameters between the 41st and 49th detection cycles to obtain the difference of 9 network environment parameters. When the difference of all 9 network environment parameters is less than the first threshold, it is considered that the network environment parameters of the terminal have not changed significantly in the 41st to 49th detection cycles.

[0075] The phone is considered to be in a ping-pong scenario when the cumulative number of cell handovers performed by the phone within 50 measurements exceeds the threshold (4>3).

[0076] In this embodiment of the application, by obtaining n network environment parameters of the access cell measured by the terminal within n detection cycles, and if the difference between the network environment parameters of each detection cycle and the network environment parameters of multiple detection cycles prior to each detection cycle is less than a first threshold, it is determined that the network environment parameters of the terminal have not changed significantly within n detection cycles. The determination rule is simple and can reduce the amount of calculation.

[0077] Optionally, the network environment parameters include the network environment parameters of the cell accessed by the terminal and the network environment parameters of at least one neighboring cell of the cell; calculating the network environment parameter differences between the terminal's network environment parameters in the nth detection period and the network environment parameters in q detection periods to obtain q network environment parameter differences includes: calculating the network environment parameter differences between the network environment parameters of the cell accessed by the terminal in the nth detection period and the network environment parameters of the cell accessed in the q detection periods to obtain q network environment parameter differences measured by the terminal in the cell; calculating the network environment parameter differences between the network environment parameters of at least one neighboring cell of the cell accessed by the terminal in the nth detection period and the network environment parameters of at least one neighboring cell of the cell accessed in the q detection periods to obtain q network environment parameter differences measured by the terminal in at least one neighboring cell of the cell; determining that the network environment parameter differences are less than a first threshold includes: determining that the network environment parameter differences are less than a first threshold when all q network environment parameter differences measured by the terminal in the cell are less than the first threshold, and all q network environment parameter differences measured by the terminal in at least one neighboring cell of the cell are less than the first threshold.

[0078] Optionally, the network environment parameters include the network environment parameters of the cell the mobile phone is accessing and the network environment parameters of at least one neighboring cell of the access cell.

[0079] Alternatively, in addition to selecting the network environment parameters of the cell accessed by the mobile phone to determine whether the mobile phone is in a ping-pong scenario, the network environment parameters of the neighboring cells of the cell accessed by the mobile phone can also be combined to determine changes in the network environment, so as to improve the accuracy of determining whether the mobile phone is in a ping-pong scenario.

[0080] Optionally, the neighboring cells of the cell accessed by the mobile phone can be at least one of the following in the LTE system: co-frequency neighboring cells, inter-frequency neighboring cells, and inter-system neighboring cells.

[0081] Optionally, the above embodiments only obtain the number of cell handovers for mobile phone access, without restricting the cells accessed by mobile phone within a specified range.

[0082] Optionally, the network environment parameters of the mobile phone include the network environment parameters of the cell the mobile phone accesses and the network environment parameters of neighboring cells. When the change in the network environment signal in the cell and neighboring cells accessed by the mobile phone is less than the change threshold, and the cumulative number of cell handovers exceeds the handover count threshold, the mobile phone is in a ping-pong scenario; otherwise, the mobile phone is in a non-ping-pong scenario.

[0083] Optionally, the mobile phone measured the RSRP of the network environment parameters 50 times within 50 detection cycles. Specifically, during detection cycles 1-10, the mobile phone accessed cell A; during detection cycles 11-20, the mobile phone accessed cell B; during detection cycles 21-30, the mobile phone accessed cell A; during detection cycles 31-40, the mobile phone accessed cell B; and during detection cycles 41-50, the mobile phone accessed cell A.

[0084] When a mobile phone measures the RSRP of the access cell and the RSRP of neighboring cells respectively, the following conditions should be met:

[0085] In the 10th detection period, if the RSRP of the cell accessed by the mobile phone has nine RSRP differences between the cells in the 1st to 9th detection periods and the first threshold, and if the RSRP of the neighboring cells of the cell accessed by the mobile phone has nine RSRP differences between the cells in the 1st to 9th detection periods and the first threshold, then it is considered that the network environment parameters of the cell and the neighboring cells have not changed significantly from the 1st to the 10th detection period.

[0086] In the 20th detection period, if the RSRP of the cell accessed by the mobile phone has nine RSRP differences compared with the RSRP of the cell in the 11th-19th detection periods, and if the RSRP of the neighboring cell of the cell accessed by the mobile phone has nine RSRP differences compared with the RSRP of the neighboring cell in the 11th-19th detection periods, then it is considered that the network environment parameters of the cell and the neighboring cell have not changed significantly from the 11th to the 20th detection period.

[0087] In the 30th detection period, if the RSRP of the cell accessed by the mobile phone has nine RSRP differences compared with the RSRP of the cell in the 21st-29th detection periods, and if the RSRP of the neighboring cell of the cell accessed by the mobile phone has nine RSRP differences compared with the RSRP of the neighboring cell in the 21st-29th detection periods, then it is considered that the network environment parameters of the cell and the neighboring cell have not changed significantly from the 21st to the 30th detection period.

[0088] In the 40th detection period, if the RSRP of the cell accessed by the mobile phone has nine RSRP differences with the RSRP of the cell in the 31st-39th detection periods, and if the RSRP of the neighboring cell of the cell accessed by the mobile phone has nine RSRP differences with the RSRP of the neighboring cell in the 31st-39th detection periods, and if these nine RSRP differences are all less than the first threshold, then it is considered that the network environment parameters of the cell and the neighboring cell have not changed significantly from the 31st to the 40th detection period.

[0089] In the 50th detection period, if the RSRP of the cell accessed by the mobile phone has nine RSRP differences with the RSRP of the cell in the 41st-49th detection periods, and if the RSRP of the neighboring cell of the cell accessed by the mobile phone has nine RSRP differences with the RSRP of the neighboring cell in the 41st-49th detection periods, and if these nine RSRP differences are all less than the first threshold, then it is considered that the network environment parameters of the cell and the neighboring cell have not changed significantly from the 41st to the 50th detection period.

[0090] If the cumulative number of cell handovers performed by the mobile phone within 50 measurements exceeds the threshold (4>3), then the mobile phone is considered to be in a ping-pong scenario.

[0091] In this embodiment, by acquiring n network environment parameters of the access cell and n network environment parameters of at least one neighboring cell measured by the terminal within n detection cycles, and determining that the differences between the n network environment parameters of the access cell and the network environment parameters of multiple detection cycles prior to each detection cycle are all less than a first threshold, and the differences between the n network environment parameters of the neighboring cell and the network environment parameters of multiple detection cycles prior to each detection cycle are all less than the first threshold, it is determined that the network environment parameters of the access cell and neighboring cells of the terminal have not changed significantly within n detection cycles. This increases the basis for determining that the network environment parameters have not changed significantly, and improves the reliability of determining that the terminal has not moved within n detection cycles.

[0092] Optionally, at least two detection cycles include the first detection cycle to the nth detection cycle. Obtaining the difference in network environment parameters of the terminal and the cumulative number of cell handovers of the terminal within at least two detection cycles includes: determining whether the terminal switches cells between the (i-1)th and the i-th detection cycles based on the network environment parameters of the terminal in the i-th detection cycle and the network environment parameters in the (i-1)th detection cycle; if it is determined that the terminal switches cells between the (i-1)th and the i-th detection cycles, incrementing the cumulative number of cell handovers by one; wherein the i-th detection cycle is any one of the first to the nth detection cycles, n is an integer greater than 1, and 1 < i ≤ n.

[0093] Optionally, if the mobile phone accesses cell A in the nth detection period, and in the 1st, 4th, ..., n-1st detection periods, the mobile phone accesses cell A, and in the 2nd and 3rd detection periods, the mobile phone accesses cell B, then it can be considered that the mobile phone has performed 2 cell handovers in the n detection periods, that is, the cumulative number of cell handovers of the mobile phone in the n detection periods is 2.

[0094] Optionally, if the mobile phone accesses cell A during the nth detection period, accesses cell A during the 1st to n-2nd detection periods, and accesses cell B during the n-1st detection period, then it can be considered that the mobile phone has performed one cell handover during the nth detection period, that is, the cumulative number of cell handovers performed by the mobile phone during the nth detection period is 1.

[0095] Optionally, during the nth detection period, the mobile phone accesses cell A, and during the n-1th detection period, the mobile phone also accesses cell A. The cumulative number of cell handovers for the mobile phone during the nth detection period is 0.

[0096] In this embodiment, when the terminal performs cell handover from the (i-1)th detection period to the ith detection period, the cumulative number of cell handovers in the ith detection period is incremented by one. The counting method is simple and can quickly obtain the specific number of cell handovers performed by the terminal in multiple detection periods. Moreover, there is no limitation on the coverage of the cell when obtaining the cumulative number of cell handovers, which can detect the ping-pong scenario of multiple cells accessed by the terminal.

[0097] Optionally, at least two detection cycles include the first detection cycle to the nth detection cycle. Obtaining the network environment parameter difference of the terminal and the cumulative number of cell handovers of the terminal within at least two detection cycles includes: calculating the network environment parameter difference between the network environment parameter of the terminal in the nth detection cycle and the network environment parameter in the n-1th detection cycle to obtain n-1 network environment parameter differences; if any one of the n-1 network environment parameter differences is greater than the second threshold, the cumulative number of cell handovers is reset to zero.

[0098] Optionally, the network environment parameters measured by the mobile phone in the nth detection cycle correspond to the n-1 network parameters measured in the previous n-1 detection cycles, and there are n-1 differences in network environment parameters. When at least one of the n-1 differences in network environment parameters is greater than the first threshold, it indicates that the mobile phone is in a ping-pong scenario. In this case, the change in cell identifier caused by the movement of the mobile phone cannot be used as a reference condition for determining whether the mobile phone is in a ping-pong scenario.

[0099] Optionally, the network environment parameters measured by the mobile phone within n detection cycles are RSRP. In the (n-1)th detection cycle, the mobile phone accesses cell A; in the 1st, 4th, 5th, ..., (n-2nd)th detection cycles, the mobile phone accesses cell A; in the 2nd and 3rd detection cycles, the mobile phone accesses cell B. If, from the 1st to the (n-1)th detection cycle, |R n-1 -R1|,|R n-2 -R2|,…,|R n-1 -R n-2 If all values ​​are less than the first threshold, then the cumulative number of cell handovers for the mobile phone in the first n-1 detection periods is 2. If the R value measured by the mobile phone in the nth detection period is... n R compared to any one of the previous n-1 detection cycles i The difference between them |R n -R i When the value is greater than or equal to the first threshold corresponding to RSRP, the cumulative number of cell handovers for the mobile phone becomes 0 in the nth detection period.

[0100] For example, the RSRP values ​​measured by the mobile phone in five detection cycles are -70dBm, -72dBm, -73dBm, -80dBm, and -77dBm, respectively. The first threshold V RSRP The value is 20dBm. In the 5th detection period, the cumulative number of cell handovers of the mobile phone is 2. In the 6th detection period, the RSRP value R6 measured by the mobile phone is -92dBm. Since |R6-R1|>20dBm, the cumulative number of cell handovers in the 6th detection period is 0. R1 is the RSRP value measured in the 1st detection period.

[0101] Optionally, the cumulative number of cell handovers is not necessarily the sum of the number of cell handovers performed in the previous n measurements. In any measurement, if it is found that the mobile phone did not perform a cell handover, but the difference between the network environment parameters measured at the current time and the network environment parameters measured in any previous time exceeds the first threshold, the cumulative number of cell handovers is reset to zero, and the count is incremented again from 1 when a cell handover is performed in the future.

[0102] Optionally, the network environment parameters measured by the mobile phone within n detection periods are RSRQ. In the (n-2)th detection period, the mobile phone accesses cell A, and the cumulative number of cell handovers performed by the mobile phone is 2. The R... n-1 R compared to any one of the previous n-2 detection cycles j The difference between them |R n-2 -R j When | is greater than or equal to the first threshold corresponding to RSRP, the cumulative number of cell handovers for the mobile phone becomes 0 in the (n-1)th detection period. If the mobile phone accesses cell B in the nth detection period, and |R n -R n-1 If the number of cell handovers is less than the first threshold, the cumulative number of cell handovers for the mobile phone in the nth detection period is 1.

[0103] For example, in the 6th detection cycle, the RSRP value R6 measured by the mobile phone is -92dBm. Since |R6-R1|>20dBm, the cumulative number of cell handovers for the mobile phone in the 6th detection cycle becomes 0. If the mobile phone hands over the cell again in the 7th detection cycle, and the RSRP value R7 measured by the mobile phone is -85dBm, since |R7-R6|<20dBm, the cumulative number of cell handovers in the 7th detection cycle is 1.

[0104] In this embodiment of the application, the terminal is determined to be in a mobile state by the difference between network environment parameters exceeding a first threshold, and the cumulative number of cell handovers by the terminal is reset to zero, thereby reducing the misjudgment of normal mobile scenarios as ping-pong scenarios.

[0105] Figure 2 This is a flowchart illustrating the ping-pong scene detection method provided in this application embodiment. Figure 2In the illustrated embodiment, the terminal continuously measures and reports network environment parameters during operation, acquiring the network environment parameter differences between the cells and neighboring cells accessed by the terminal within at least two detection cycles, and the terminal's cumulative cell handover count. When calculating the cumulative cell handover count if the network environment parameter difference is less than a first threshold, if the terminal performs a cell handover between the (i-1)th and the ith detection cycle, the cumulative cell handover count is incremented by one. If the cell has not undergone a handover, the cumulative cell handover count is directly compared with a second threshold. When the cumulative cell handover count is greater than the second threshold, it is determined that the terminal is currently in a ping-pong scenario. If the network environment parameter difference is greater than or equal to the first threshold, the cumulative cell handover count is reset to zero.

[0106] The ping-pong scene method provided in this application can be executed by a ping-pong scene device. This application uses the ping-pong scene device executing the ping-pong scene method as an example to illustrate the ping-pong scene device provided in this application.

[0107] This application also provides a table tennis scene detection device.

[0108] Figure 3 This is a schematic diagram of the structure of the ping-pong scene detection device provided in the embodiments of this application, as shown below. Figure 3 As shown, the ping-pong scene detection device includes a parameter acquisition module 310 and a scene detection module 320.

[0109] The parameter acquisition module 310 is used to acquire the difference in network environment parameters of the terminal and the cumulative number of cell handovers of the terminal within at least two detection cycles;

[0110] The scene detection module 320 is used to determine that the terminal is in a ping-pong scene when the difference between the network environment parameters obtained by the parameter acquisition module is less than the first threshold and the cumulative number of cell handovers is greater than the second threshold.

[0111] According to the ping-pong scene detection device provided in the embodiments of this application, the ping-pong scene of the terminal is detected by acquiring the difference of network environment parameters of the terminal in at least two detection cycles and the cumulative number of cell handovers of the terminal. There is no need to use other sensors to measure parameters, which reduces the power consumption of the terminal. Moreover, when acquiring the cumulative number of cell handovers, there is no limit to the time required for the cumulative number of cell handovers to be greater than the second threshold, which realizes the detection of the relatively slow ping-pong scene.

[0112] Optionally, at least two detection cycles include the first detection cycle to the nth detection cycle. The scene detection module is further configured to: before determining that the terminal is in a ping-pong scene, calculate the difference between the network environment parameters of the terminal in the nth detection cycle and the network environment parameters in q detection cycles to obtain q network environment parameter differences; if all q network environment parameter differences are less than a first threshold, determine that the network environment parameter differences are less than the first threshold; wherein, the q detection cycles are the nq-1th detection cycle to the n-1th detection cycle, the terminal accesses the same cell in the nq-1th detection cycle to the nth detection cycle, n is an integer greater than 1, and 1≤q≤n-1.

[0113] Optionally, the network environment parameters include the network environment parameters of the cell accessed by the terminal and the network environment parameters of at least one neighboring cell of the cell; the scene detection module is further configured to: calculate the network environment parameter difference between the network environment parameters of the cell accessed by the terminal in the nth detection period and the network environment parameters of the cell accessed in the nqth detection period, to obtain the nq network environment parameter differences measured by the terminal in the cell; calculate the network environment parameter difference between the network environment parameters of at least one neighboring cell of the cell accessed by the terminal in the nth detection period and the network environment parameters of at least one neighboring cell of the cell accessed in the nqth detection period, to obtain the nq network environment parameter differences measured by the terminal in at least one neighboring cell of the cell; and determine that the network environment parameter difference is less than the first threshold if the nq network environment parameter differences measured by the terminal in the cell are all less than the first threshold, and the nq network environment parameter differences measured by the terminal in at least one neighboring cell of the cell are all less than the first threshold.

[0114] Optionally, at least two detection cycles include the first detection cycle to the nth detection cycle; the parameter acquisition module is further configured to: determine whether the terminal switches cells between the (i-1)th and the i-th detection cycles based on the network environment parameters of the terminal in the i-th detection cycle and the network environment parameters in the (i-1)th detection cycle; if it is determined that the terminal switches cells between the (i-1)th and the i-th detection cycles, increment the cumulative number of cell switching by one; wherein the i-th detection cycle is any one of the first to the nth detection cycles, n is an integer greater than 1, and 1 < i ≤ n.

[0115] Optionally, at least two detection cycles include the first detection cycle to the nth detection cycle; the parameter acquisition module is further configured to: calculate the difference between the network environment parameters of the terminal in the nth detection cycle and the network environment parameters in the n-1th detection cycle, to obtain the n-1 network environment parameter differences; and reset the cumulative number of cell handovers to zero if any of the n-1 network environment parameter differences is greater than the second threshold.

[0116] The ping-pong scene detection device in this application embodiment can be an electronic device or a component within an electronic device, such as an integrated circuit or a chip. The electronic device can be a terminal or other devices besides a terminal. For example, the electronic device can be a mobile phone, tablet computer, laptop computer, PDA, in-vehicle electronic device, mobile internet device (MID), augmented reality (AR) / virtual reality (VR) device, robot, wearable device, ultra-mobile personal computer (UMPC), netbook, or personal digital assistant (PDA), etc. It can also be a network attached storage (NAS), personal computer (PC), television (TV), ATM, or self-service machine, etc. This application embodiment does not specifically limit the device.

[0117] The ping-pong scene detection device in this application embodiment can be a device with an operating system. This operating system can be Android, iOS, or other possible operating systems; this application embodiment does not specifically limit it.

[0118] The ping-pong scene detection device provided in this application embodiment can achieve... Figures 1 to 2 The various processes implemented in the method implementation examples will not be described again here to avoid repetition.

[0119] Optionally, Figure 4 This is a schematic diagram of the structure of the electronic device provided in the embodiments of this application, such as... Figure 4 As shown, this application embodiment also provides an electronic device 400, including a processor 401, a memory 402, and a program or instructions stored in the memory 402 and executable on the processor 401. When the program or instructions are executed by the processor 401, they implement the various processes of the above-described ping-pong scene detection device embodiment and achieve the same technical effect. To avoid repetition, they will not be described again here.

[0120] Optionally, the electronic devices in the embodiments of this application include the mobile electronic devices and non-mobile electronic devices described above.

[0121] Figure 5 A schematic diagram of the hardware structure of an electronic device to implement an embodiment of this application.

[0122] The electronic device 500 includes, but is not limited to, components such as: 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 509, and processor 510.

[0123] Those skilled in the art will understand that the electronic device 500 may also include a power supply (such as a battery) for supplying power to various components. The power supply may be logically connected to the processor 510 through a power management system, thereby enabling functions such as managing charging, discharging, and power consumption through the power management system. Figure 5 The electronic device structure shown does not constitute a limitation on the electronic device. The electronic device may include more or fewer components than shown, or combine certain components, or have different component arrangements, which will not be elaborated here.

[0124] The input unit 504 is used to obtain the difference in network environment parameters of the terminal and the cumulative number of cell handovers of the terminal in at least two detection cycles.

[0125] The processor 510 is used to determine that the terminal is in a ping-pong scenario when the difference between the network environment parameters obtained by the parameter acquisition module is less than a first threshold and the cumulative number of cell handovers is greater than a second threshold.

[0126] According to the electronic device provided in the embodiments of this application, the detection of the ping-pong scene of the terminal is achieved by obtaining the difference of network environment parameters of the terminal in at least two detection cycles and the cumulative number of cell handovers of the terminal. There is no need to use other sensors to measure parameters, which reduces the power consumption of the terminal. Moreover, when obtaining the cumulative number of cell handovers, there is no limit to the time required for the cumulative number of cell handovers to be greater than the second threshold, which realizes the detection of the relatively slow ping-pong scene.

[0127] Optionally, at least two detection cycles include the first detection cycle to the nth detection cycle. The scene detection module and processor 510 are further configured to, before determining that the terminal is in a ping-pong scene, calculate the difference between the network environment parameters of the terminal in the nth detection cycle and the network environment parameters in q detection cycles, to obtain q network environment parameter differences; if all q network environment parameter differences are less than a first threshold, determine that the network environment parameter differences are less than the first threshold; wherein, the q detection cycles are the nq-1th detection cycle to the n-1th detection cycle, the terminal accesses the same cell in the nq-1th detection cycle to the nth detection cycle, n is an integer greater than 1, 1≤q≤n-1, and determine that the network environment parameter differences are less than the first threshold.

[0128] Optionally, the network environment parameters include the network environment parameters of the cell accessed by the terminal and the network environment parameters of at least one neighboring cell of the cell. The processor 510 is further configured to calculate the network environment parameter difference between the network environment parameters of the cell accessed by the terminal in the nth detection period and the network environment parameters of the cell accessed in the qth detection period, to obtain the q network environment parameter differences measured by the terminal in the cell; calculate the network environment parameter difference between the network environment parameters of at least one neighboring cell of the cell accessed by the terminal in the nth detection period and the network environment parameters of at least one neighboring cell of the cell accessed in the qth detection period, to obtain the q network environment parameter differences measured by the terminal in at least one neighboring cell of the cell; and determine that the network environment parameter difference is less than the first threshold if all q network environment parameter differences measured by the terminal in the cell are less than the first threshold and all q network environment parameter differences measured by the terminal in at least one neighboring cell of the cell are less than the first threshold.

[0129] Optionally, at least two detection cycles include the first detection cycle to the nth detection cycle. The processor 510 is further configured to determine whether the terminal switched cells between the (i-1)th and the i-th detection cycles based on the network environment parameters of the terminal in the i-th detection cycle and the network environment parameters in the (i-1)th detection cycle. If it is determined that the terminal switched cells between the (i-1)th and the i-th detection cycles, the cumulative number of cell switching is incremented by one. Here, the i-th detection cycle is any one of the first to the nth detection cycles, where n is an integer greater than 1, and 1 < i ≤ n.

[0130] Optionally, at least two detection cycles include the first detection cycle to the nth detection cycle; the parameter acquisition module is further configured to: calculate the difference between the network environment parameters of the terminal in the nth detection cycle and the network environment parameters in the n-1th detection cycle, to obtain the n-1 network environment parameter differences; if any of the n-1 network environment parameter differences is greater than a second threshold, the cumulative number of cell handovers is reset to zero. It should be understood that in this embodiment, the input unit 504 may include a graphics processing unit (GPU) 5041 and a microphone 5042. The GPU 5041 processes image data of still images or videos obtained by an image capture device (such as a camera) in video capture mode or image capture mode. The display unit 506 may include a display panel 5061, which may be configured using a liquid crystal display, organic light-emitting diode, or the like. The user input unit 507 includes a touch panel 5071 and at least one of other input devices 5072. The touch panel 5071 is also called a touchscreen. The touch panel 5071 may include two parts: a touch detection device and a touch controller. Other input devices 5072 may include, but are not limited to, physical keyboards, function keys (such as volume control buttons, power buttons, etc.), trackballs, mice, and joysticks, which will not be described in detail here.

[0131] The memory 505 can be used to store software programs and various data. The memory 505 may primarily include a first storage area for storing programs or instructions and a second storage area for storing data. The first storage area may store the operating system, application programs or instructions required for at least one function (such as sound playback, image playback, etc.). Furthermore, the memory 505 may include volatile memory or non-volatile memory, or both. The non-volatile memory may be read-only memory (ROM), programmable read-only memory (PROM), erasable programmable read-only memory (EPROM), electrically erasable programmable read-only memory (EEPROM), or flash memory. Volatile memory can be random access memory (RAM), static random access memory (SRAM), dynamic random access memory (DRAM), synchronous dynamic random access memory (SDRAM), double data rate synchronous dynamic random access memory (DDRSDRAM), enhanced synchronous dynamic random access memory (ESDRAM), synchronous link dynamic random access memory (SLDRAM), and direct memory bus RAM (DRRAM). The memory 505 in this embodiment includes, but is not limited to, these and any other suitable types of memory.

[0132] Processor 510 may include one or more processing units; optionally, processor 510 integrates an application processor and a modem processor, wherein the application processor mainly handles operations involving the operating system, user interface, and applications, and the modem processor mainly handles wireless communication signals, such as a baseband processor. Optionally, the modem processor may not be integrated into processor 510.

[0133] This application also provides a readable storage medium storing a program or instructions. When the program or instructions are executed by a processor, they implement the various processes of the above-described ping-pong scene detection method embodiments and achieve the same technical effect. To avoid repetition, they will not be described again here.

[0134] The processor is the processor in the electronic device described in the above embodiments. The readable storage medium includes computer-readable storage media, such as computer read-only memory (ROM), random access memory (RAM), magnetic disk, or optical disk.

[0135] This application embodiment also provides a chip, which includes a processor and a communication interface. The communication interface is coupled to the processor. The processor is used to run programs or instructions to implement the various processes of the above-described ping-pong scene detection method embodiment and can achieve the same technical effect. To avoid repetition, it will not be described again here.

[0136] It should be understood that the chip mentioned in the embodiments of this application may also be referred to as a system-on-a-chip, system chip, chip system, or system-on-a-chip, etc.

[0137] Optionally, in this document, the terms "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such a process, method, article, or apparatus. Without further limitations, an element defined by the phrase "comprising one..." does not exclude the presence of other identical elements in the process, method, article, or apparatus that includes that element. Furthermore, it should be noted that the scope of the methods and apparatuses in the embodiments of this application is not limited to performing functions in the order shown or discussed, but may also include performing functions substantially simultaneously or in the reverse order, depending on the functions involved. For example, the described methods may be performed in a different order than described, and various steps may be added, omitted, or combined. Additionally, features described with reference to certain examples may be combined in other examples.

[0138] Through the above description of the embodiments, those skilled in the art can clearly understand that the methods of the above embodiments can be implemented by means of software plus necessary general-purpose hardware platforms. Of course, they can also be implemented by hardware, but in many cases the former is a better implementation method. Based on this understanding, the technical solution of this application, in essence, or the part that contributes to the prior art, can be embodied in the form of a computer software product. This computer software product is stored in a storage medium (such as ROM / RAM, magnetic disk, optical disk) and includes several instructions to cause a terminal (which may be a mobile phone, computer, server, or network device, etc.) to execute the methods described in the various embodiments of this application.

[0139] The embodiments of this application have been described above with reference to the accompanying drawings. However, this application is not limited to the specific embodiments described above. The specific embodiments described above are merely illustrative and not restrictive. Those skilled in the art can make many other forms under the guidance of this application without departing from the spirit and scope of the claims, and all of these forms are within the protection scope of this application.

Claims

1. A method for detecting a table tennis scene, characterized in that, include: Obtain the difference in network environment parameters of the terminal over at least two detection periods and the cumulative number of cell handovers of the terminal; The cumulative number of cell handovers is determined based on the number of times the cell identifier of the cell accessed by the mobile phone changes; the network environment parameters include the network environment parameters of the cell accessed by the terminal and the network environment parameters of at least one neighboring cell of the cell; the at least two detection cycles include the first detection cycle to the nth detection cycle; Calculate the difference between the network environment parameters of the terminal in the nth detection period and the network environment parameters in the qth detection period to obtain the difference between the q network environment parameters measured by the terminal in the cell and the difference between the q network environment parameters measured by the terminal in at least one neighboring cell of the cell; If the differences between q network environment parameters measured by the terminal in the cell and the differences between q network environment parameters measured by the terminal in at least one neighboring cell of the cell are both less than a first threshold, then the differences between the network environment parameters are determined to be less than the first threshold. Wherein, the q detection cycles are from the nq-1th detection cycle to the n-1th detection cycle, and the terminal accesses the same cell from the nq-1th detection cycle to the nth detection cycle, where n is an integer greater than 1, and 1≤q≤n-1; If the difference in network environment parameters is less than a first threshold and the cumulative number of cell handovers is greater than a second threshold, the terminal is determined to be in a ping-pong scenario.

2. The ping-pong scene detection method according to claim 1, characterized in that, The calculation of the network environment parameter differences between the terminal in the nth detection period and the network environment parameters in the qth detection period, to obtain the q network environment parameter differences, includes: The network environment parameters of the cell accessed by the terminal in the nth detection period are calculated as the network environment parameters of the cell accessed in the qth detection period, and the network environment parameters of the cell accessed in the nth detection period are calculated as the difference between the network environment parameters of the terminal in the cell. The network environment parameter difference between at least one neighboring cell of the cell accessed by the terminal in the nth detection period and at least one neighboring cell of the cell accessed in the qth detection period is calculated to obtain the q network environment parameter differences measured by the terminal in at least one neighboring cell of the cell. Determining that the difference in network environment parameters is less than a first threshold includes: If the differences between q network environment parameters measured by the terminal in the cell are all less than a first threshold, and the differences between q network environment parameters measured by the terminal in at least one neighboring cell of the cell are all less than the first threshold, then the differences between the network environment parameters are determined to be less than the first threshold.

3. The ping-pong scene detection method according to claim 1, characterized in that, The at least two detection cycles include the first detection cycle to the nth detection cycle; The acquisition of the network environment parameter differences of the terminal over at least two detection periods and the cumulative number of cell handovers of the terminal includes: Based on the network environment parameters of the terminal in the i-th detection period and the network environment parameters in the (i-1)-th detection period, it is determined whether the terminal switches cells from the (i-1)-th detection period to the i-th detection period; If the terminal switches cells between the (i-1)th and the ith detection period, the cumulative number of cell handovers is incremented by one. Wherein, the i-th detection period is any one of the 1st to nth detection periods, where n is an integer greater than 1, and 1 < i ≤ n.

4. The ping-pong scene detection method according to claim 1, characterized in that, The at least two detection cycles include the first detection cycle to the nth detection cycle; The acquisition of the network environment parameter differences of the terminal over at least two detection periods and the cumulative number of cell handovers of the terminal includes: Calculate the difference between the network environment parameters of the terminal in the nth detection period and the network environment parameters in the n-1th detection period to obtain the n-1 network environment parameter difference; If any of the differences among the n-1 network environment parameters is greater than the second threshold, the cumulative number of cell handovers will be reset to zero.

5. A table tennis scene detection device, characterized in that, include: The parameter acquisition module is used to acquire the difference in network environment parameters of the terminal within at least two detection periods and the cumulative number of cell handovers of the terminal. The cumulative number of cell handovers is determined based on the number of times the cell identifier of the cell accessed by the mobile phone changes; the network environment parameters include the network environment parameters of the cell accessed by the terminal and the network environment parameters of at least one neighboring cell of the cell; the at least two detection cycles include the first detection cycle to the nth detection cycle; The scene detection module is used to calculate the difference between the network environment parameters of the terminal in the nth detection period and the network environment parameters in the qth detection period, so as to obtain the difference between the q network environment parameters measured by the terminal in the cell and the difference between the q network environment parameters measured by the terminal in at least one neighboring cell of the cell. If the differences between q network environment parameters measured by the terminal in the cell and the differences between q network environment parameters measured by the terminal in at least one neighboring cell of the cell are both less than a first threshold, then the differences between the network environment parameters are determined to be less than the first threshold. Wherein, the q detection cycles are from the nq-1th detection cycle to the n-1th detection cycle, and the terminal accesses the same cell from the nq-1th detection cycle to the nth detection cycle, where n is an integer greater than 1, and 1≤q≤n-1; If the difference in network environment parameters obtained by the parameter acquisition module is less than a first threshold and the cumulative number of cell handovers is greater than a second threshold, the terminal is determined to be in a ping-pong scenario.

6. The table tennis scene detection device according to claim 5, characterized in that, The network environment parameters include the network environment parameters of the cell accessed by the terminal and the network environment parameters of at least one neighboring cell of the cell; The scene detection module is also used for: The network environment parameters of the cell accessed by the terminal in the nth detection period are calculated as the network environment parameters of the cell accessed in the qth detection period, and the network environment parameters of the cell accessed in the nth detection period are calculated as the difference between the network environment parameters of the terminal in the cell. The network environment parameter difference between at least one neighboring cell of the cell accessed by the terminal in the nth detection period and at least one neighboring cell of the cell accessed in the qth detection period is calculated to obtain the q network environment parameter differences measured by the terminal in at least one neighboring cell of the cell. If the differences between q network environment parameters measured by the terminal in the cell are all less than a first threshold, and the differences between q network environment parameters measured by the terminal in at least one neighboring cell of the cell are all less than the first threshold, then the differences between the network environment parameters are determined to be less than the first threshold.

7. The table tennis scene detection device according to claim 5, characterized in that, The at least two detection cycles include the first detection cycle to the nth detection cycle; The parameter acquisition module is also used for: Based on the network environment parameters of the terminal in the i-th detection period and the network environment parameters in the (i-1)-th detection period, it is determined whether the terminal switches cells from the (i-1)-th detection period to the i-th detection period; If the terminal switches cells between the (i-1)th and the ith detection period, the cumulative number of cell handovers is incremented by one. Wherein, the i-th detection period is any one of the 1st to nth detection periods, where n is an integer greater than 1, and 1 < i ≤ n.

8. The table tennis scene detection device according to claim 5, characterized in that, The at least two detection cycles include the first detection cycle to the nth detection cycle; The parameter acquisition module is also used for: Calculate the difference between the network environment parameters of the terminal in the nth detection period and the network environment parameters in the n-1th detection period to obtain the n-1 network environment parameter difference; If any of the differences among the n-1 network environment parameters is greater than the second threshold, the cumulative number of cell handovers will be reset to zero.

9. An electronic device, characterized in that, It includes a processor and a memory, the memory storing a program or instructions that can run on the processor, the program or instructions being executed by the processor to implement the steps of the ping-pong scene detection method as described in any one of claims 1-4.

Citation Information

Patent Citations

  • Network switching method and device, computer equipment and storage medium

    CN109600806A

  • Ping-pong state determination method, information receiving method, terminal and network side equipment

    CN110602728A