Detailed Description
In order that the above objects, features and advantages of the present disclosure may be more clearly understood, aspects of the present disclosure will be further described below. It should be noted that the embodiments and features of the embodiments of the present disclosure may be combined with each other without conflict.
In the following description, numerous specific details are set forth in order to provide a thorough understanding of the present disclosure, but the present disclosure may be practiced in other ways than those described herein; it is to be understood that the embodiments disclosed in the specification are only a few embodiments of the present disclosure, and not all embodiments.
Fig. 1 is a schematic flow chart of a communication signal detection method provided in an embodiment of the present disclosure, where the method may be executed by a communication signal detection apparatus, where the apparatus may be implemented by software and/or hardware, and may be generally integrated in a terminal device, in this embodiment, there are multiple types of terminal devices, which may be selected according to a specific application scenario, and this embodiment is not limited, for example: 5G independently networks cell-phone, car machine system, wearable equipment. As shown in fig. 1, the method includes:
step 101, determining at least one main force cell meeting a preset stay condition in a plurality of mobile cells in which the terminal device stays within a preset time period.
In an actual communication scenario, in order to ensure communication quality and facilitate cell reselection or handover, in addition to detecting a communication signal of a cell in which a terminal device is currently located, communication signals of multiple neighboring cells around the cell in which the terminal device is currently located are also detected.
And the power consumption for detecting the communication signals of the plurality of neighboring cells is relatively large, so in order to reduce the power consumption of the terminal device, in the embodiment of the present disclosure, a master cell where the terminal device frequently stays is determined, and the power consumption of the terminal device is reduced by reducing the number of the neighboring cells detected by the master cell.
In this embodiment, in order to determine a dominant cell in which the terminal device often stays, a plurality of mobile cells in which the terminal device stays within a preset time period (where a mobile cell is a cell in which the terminal device stays within the preset time period, and the cell is a mobile cell) are collected, for example, the preset time period is 6 month 1 day to 6 month 7 days, and if the cells in which the terminal device stays within 6 month 1 day to 6 month 7 days are an a cell, a B cell, a C cell, and a D cell, the a cell, the B cell, the C cell, and the D cell are mobile cells, at least one dominant cell satisfying a preset stay condition is determined among the plurality of mobile cells, and the longer the preset time period is, the wider the application scenario of the terminal device is covered, and thus, the more accurate the determined dominant cell of the terminal device in the preset time period is, in this embodiment, the preset time period may be set according to an application scenario, and the embodiment is not limited. For example, if the user group is a common office worker, the length of the preset time period may be one week; if the user group is a short-distance business trip person, the length of the preset time period can be one month.
In different application scenarios, the preset stay conditions for determining the dominant cell are different, and examples are as follows:
example one:
in a preset time period, the user may be requested to register a cell where the user often stays, such as a residence place and a work place, and a mobile cell corresponding to the residence place where the user registers and a mobile cell corresponding to the work place may be used as the master cell.
Example two:
determining the stay times of each cell in a plurality of mobile cells in a preset time period, wherein the terminal equipment records the stay times as one time from the time when the terminal equipment arrives at a certain mobile cell to the time when the terminal equipment leaves the mobile cell, and the mobile cell with the stay times larger than a preset time threshold is regarded as a main power cell where the terminal equipment often stays, wherein the preset time threshold is in direct proportion to the preset time period and can be calibrated according to experimental data.
For example, when the preset time period is 20 days, the preset number threshold is 18, and if the user stays in the mobile cells a for 19 times in a plurality of mobile cells, it is determined that the mobile cell a is the dominant cell of the terminal device.
Example three:
in the present example, for the case shown in example two, if the mobile cell with the staying frequency of the terminal device being greater than a certain value is determined as the dominant cell, the effect of reducing power consumption may not be obvious, for example, although the terminal device often stays in the mobile cell a, the time duration of each staying may be short, for example, only staying for 1 minute, if the mobile cell a is determined as the dominant cell, the increase of the calculation pressure may be caused, and since the time duration of each staying of the mobile cell a may be short, the reduction of power consumption may not be obvious, and for example, even though the time duration of each staying may be short, the time duration of staying may not be regular, for example, 8 am, 10 am, etc., such staying may be caused by the user having some sudden service demand within a preset time period, in daily applications, it is possible that the terminal device no longer has a need to correspond to a mobile cell.
Therefore, in the present example, in order to ensure reliability of the determined dominant cell for reducing power consumption, the dominant cell is determined in combination with the stay duration and the stay law in the present embodiment.
In this example, as shown in fig. 2, determining the dominant cell according to the staying time and the staying frequency of the terminal device in the mobile cell includes:
step 201, obtaining the staying time of the terminal device in each mobile cell within a preset time period.
As described above, in order to screen out the dominant cell from the mobile cells, the stay time of the terminal device in each mobile cell may be obtained, where the stay time is the time from when the terminal device is communicatively connected to the base station of the mobile cell to when the terminal device is disconnected from the communication link with the base station of the mobile cell.
For example, the preset time period is 6 months 1 day to 6 months 7 days, the time for connecting the terminal device to the cell a is 6 months 1 day 8:00, the time for disconnecting the terminal device from the cell a is 6 months 1 day 12:00, and the corresponding stay time of the terminal device is 4 hours. Similarly, the stay time of the terminal device in different mobile cells in the period from 6 months 1 to 6 months 7 days can be acquired.
Step 202, determining a mobile cell with a stay time length longer than a preset time length as a first candidate dominant community, and acquiring the stay frequency of the first candidate dominant community in a preset time period.
In order to ensure the reliability of the master cell on power consumption reduction, after the retention time period is determined, the mobile cell with the retention time period longer than the preset time period is determined as the first candidate master cell.
Taking the terminal device as a mobile phone for example, as shown in fig. 3, for some users working at work, the mobile phone stays in the mobile cell a corresponding to the working location for a long time, i.e. 9:00-18:00, and the staying time is 9 hours; and in the rest time at night, namely 20: 00-7: 00 days, the mobile phone stays in the D mobile cell corresponding to the family for a long time, and the stay time is 9 hours. In an alternative embodiment, the preset time period may be 5 hours, so that the stay time of the mobile phone in the mobile cells corresponding to the work place and the home place is longer than the preset time period, and the two mobile cells belong to the first candidate dominant cell.
After the first candidate dominant force cells are obtained, in order to further screen out dominant force cells with a staying rule from the first candidate dominant force cells, a staying frequency of the terminal device in each first candidate dominant force cell may be obtained, where the staying frequency is a staying frequency of the terminal device in the first candidate dominant force cell within a preset time period, and the first candidate dominant force cells are screened according to the staying frequency.
Step 203, determining a first candidate dominant cell with the staying frequency greater than the preset frequency as a second candidate dominant cell, and determining a staying time period corresponding to each staying frequency in the second candidate cell.
And 204, if the staying time periods corresponding to the staying frequencies are consistent, determining a corresponding second candidate dominant community as the dominant community.
In the embodiment, in order to further determine a dominant cell with a stay rule in the first candidate dominant cell, the dominant cell is determined by combining the stay frequency and the stay time period.
In this embodiment, first, according to the staying frequency, it is determined that the cells that may stay for multiple times are cells with a staying rule, that is, a first candidate dominant cell with a staying frequency greater than a preset frequency is determined as a second candidate dominant cell.
As shown in fig. 3, in days 1 to 7 of 6 months, if the user has work for 5 days and has a rest for 2 days, the frequency of stay of the mobile cell corresponding to the work location is 5, and the frequency of stay of the mobile cell corresponding to the home location is 7 within the preset time period. The predetermined frequency is 4, and thus, the a mobile cell and the D mobile cell are the second candidate dominant cell.
After the second candidate main force cell is obtained, in order to determine the main force cell with the stay rule, the stay time period corresponding to each stay frequency of the second candidate main force cell is obtained, the stay time period records the time of the terminal equipment corresponding to the stay frequency connecting with the second candidate main force cell and the time of the terminal equipment disconnecting with the second candidate main force cell, and the second candidate main force cell is screened according to the stay time period.
In this embodiment, after determining the retention time period corresponding to each retention frequency in the second candidate cell, if the retention time periods corresponding to the retention frequencies are consistent, the corresponding second candidate cell is considered to satisfy not only that the retention time period is longer, but also that the retention rule is satisfied, and therefore, the corresponding second candidate cell is determined to be the dominant cell.
The consistent staying time periods corresponding to the staying frequencies in this embodiment may be understood as that the staying time periods corresponding to the staying frequencies are completely the same, or at least part of the staying time periods are the same and the time length corresponding to the same part is greater than a certain value, or the ratio of the time length corresponding to the same part to the longest staying time period in the corresponding staying frequencies is greater than a certain value.
Continuing to take fig. 3 as an example, as shown in fig. 3, the stay time periods corresponding to each stay frequency in the mobile cell corresponding to the working location are consistent, so that the mobile cell a is the dominant cell; and the stay time periods corresponding to each stay frequency in the D mobile cells corresponding to the family places are consistent, so that the D mobile cells are also dominant cells.
Step 102, determining a first preset number of reference neighboring cells of each main force cell, and detecting a plurality of reference signal quality values of a plurality of sampling time points of each reference neighboring cell in a preset time period.
After the main force cell is determined, in order to reduce the power consumption of the terminal device under the main force cell, a preset first number of reference neighbor cells of each main force cell is determined, wherein the first number may be a number preset by the terminal device or a number specified according to a communication protocol, and then a plurality of reference signal quality values of a plurality of sampling time points of each reference neighbor cell in a preset time period are detected, so that neighbor cells with better signal quality are further screened out according to the reference signal quality values.
Wherein the preset time period is the same time period as the preset time period in step 101. The signal quality of each reference adjacent cell at the sampling time point can be obtained through the sampling time point, so that the signal quality of the reference adjacent cell in the preset time period can be estimated, the signal measurement is avoided all the time, and the electric quantity consumed by the signal measurement is reduced. Generally, the more sampling time points, the more the measured data can reflect the real situation, the more the sampling time points are various, and the sampling time points can be selected according to the application scenario, which is not limited in this embodiment, for example: the preset time period includes a plurality of days, the sampling time point may be an entire point of each day, and the like. There are various reference signal quality values sampled at the sampling time point, including but not limited to: signal to noise ratio, packet loss rate.
In an alternative embodiment, the snr of each reference neighbor cell can be detected at the whole time of day from 6 months 1 to 6 months 7 days.
Step 103, determining a second number of target neighbors in the first number of reference neighbors according to the multiple reference signal quality values, wherein the second number is smaller than the first number.
When the terminal device is located in the dominant cell, the terminal device may not perform location handover within a certain time period in a stable manner, and thus, the probability of cell reselection and the like is low, and therefore, on the basis of reducing the detected reference neighbor cells, the communication requirement in the dominant cell is not affected.
There are various methods for obtaining the target neighboring cell, and this embodiment is not limited.
In an optional implementation manner, the average value and the variance of all the reference signal quality values of each reference neighbor cell are calculated, so that a second number of target neighbor cells with better results are selected according to the calculation result.
In another alternative embodiment, as shown in fig. 4, the determining a second number of target neighbor cells in the first number of reference neighbor cells according to the multiple reference signal quality values includes:
step 401, determining a target signal quality value for each reference neighbor according to the plurality of reference signal quality values.
In this embodiment, the target signal quality value is obtained by calculating the reference signal quality value, and the target signal quality value can more intuitively represent the signal quality of the reference neighbor cell, so that the reference neighbor cell can be screened according to the target signal quality value.
It should be noted that there are various methods for determining the target signal quality value according to multiple reference signal quality values, which may be selected according to application scenarios, and this embodiment is not limited, and is exemplified as follows:
the method 1 comprises the steps of calculating the signal quality mean value of the reference signal quality values of all sampling time points of each reference adjacent region, and determining the signal quality mean value as the target signal quality value.
The signal quality mean value is obtained by respectively averaging the reference signal quality values of all sampling time points in each reference neighbor cell, and each reference signal quality value of the reference neighbor cell can influence the signal quality mean value, so that the signal quality mean value can reflect the average signal quality of the reference neighbor cell.
For example, if 100 indicates a perfect reference signal quality value, the reference signal quality values for all sampling time points in a reference neighbor are 97, 98, 96, 95, 99, respectively, and thus the target signal quality value for the reference neighbor is 97. Similarly, the above-described processing may be performed for each reference neighbor to determine a target signal quality value for each reference neighbor.
In this embodiment, the signal quality mean value corresponding to each reference neighbor may be calculated, and the signal quality mean value may be determined as the target signal quality value.
And 2, determining the number of sampling time points of each reference adjacent cell exceeding a preset signal quality threshold, and determining the number of the sampling time points as a target signal quality value.
In this embodiment, the preset signal quality threshold is used to screen the reference signal quality value in each reference neighbor, and the number of reference signal quality values that exceed the preset signal quality threshold in the reference signal quality values collected by each reference neighbor at the sampling time point can be determined by the preset signal quality threshold, so that the number can reflect the number of reference signal quality standards in the corresponding reference neighbor.
For example, if 100 indicates that the reference signal quality value is perfect, the predetermined signal quality threshold is 96, the reference signal quality values of the sampling time points in one reference neighbor are 97, 98, 96, 95 and 99, respectively, the number of the sampling time points of the reference neighbor exceeding the predetermined signal quality threshold is 3, and thus the target signal quality value of the reference neighbor is 3. Similarly, the above processing may be performed for all sampling time points of each reference neighbor, so as to determine the target signal quality value corresponding to each reference neighbor.
In this embodiment, the number of sampling time points exceeding a preset signal quality threshold may be calculated and determined as the target signal quality value.
And 402, sequencing the first number of reference neighbor cells according to the sequence from high to low of the target signal quality value, and determining the first second number of reference neighbor cells as target neighbor cells in the sequencing result.
It can be understood that, the probability that the terminal device enters the reference neighbor cell with high target signal quality and establishes connection with the reference neighbor cell is higher. Therefore, after the target signal quality is obtained, the reference neighboring cells of the first number can be sorted according to the sequence of the target signal quality from high to low, so that the reference neighboring cells of the second number before are determined as the target neighboring cells in the sorting result. The second number may be selected according to an application scenario, and this embodiment is not limited.
As shown in fig. 5, the main cells corresponding to the mobile terminal are a mobile cell a and a mobile cell D, where the mobile cell D is not shown in fig. 3, the reference cells corresponding to the main cell a are a mobile cell B and a mobile cell C, and the target cell determined according to the reference signal quality value is the mobile cell B.
And 104, constructing a corresponding relation between each main force cell and the corresponding second number of target adjacent cells so as to detect the communication signals of the terminal equipment according to the corresponding relation.
In this embodiment, the corresponding relationship between each master cell and the corresponding second number of target neighboring cells is constructed, so as to perform communication signal detection on the terminal device according to the corresponding relationship, that is, when the terminal device communicates in the master cell, only the second number of reference neighboring cells need to be detected.
In the actual execution process, the correspondence may be a correspondence between a main cell identifier of each main cell and a neighbor cell identifier of a target neighbor cell, where the main cell identifier may be any information identifying uniqueness of the main cell, such as a parameter of the main cell (PLMN (Public Land Mobile Network), an arfcn (Absolute Radio Frequency Channel Number), a cellID (cell identifier), a main cell position, and the like, and similarly, the neighbor cell identifier may also be any information identifying uniqueness of the neighbor cell.
For example, as shown in fig. 5, the target neighboring cell corresponding to the dominant cell a is a mobile cell B, so if the terminal device stays in the mobile cell a, the communication signal detection is performed on the mobile cell B instead of the mobile cell C. At this time, the master cell D does not correspond to the target neighbor cell.
Similarly, the target neighboring cells corresponding to the master cell D may also be determined, as shown in fig. 6, the reference neighboring cells corresponding to the master cell D are an E mobile cell and an F mobile cell, and the target neighboring cell determined according to the reference signal quality value is the E mobile cell. The corresponding relation of the terminal equipment is that a target adjacent cell corresponding to the main power cell A is a mobile cell B; and the target adjacent cell corresponding to the main cell D is the E mobile cell, so that if the terminal equipment stays in the D mobile cell, the communication signal detection is not carried out on the F mobile cell, and the communication signal detection is carried out on the E cell.
It should be noted that, if the terminal device is a 5G independent networking mobile phone, the corresponding relationship may be updated and maintained by the wireless resource control layer of the independent networking modem, the occupied data space may be designed according to the storage space of the terminal device, and the corresponding relationship may be stored in the nonvolatile storage space.
In addition, in some possible application scenarios, the configuration of the neighboring cell and/or the neighboring cell available frequency point corresponding to the master cell may be changed, and in this case, the second number of target neighboring cells needs to be determined again.
In summary, in the communication signal detection method according to the embodiment of the present disclosure, by constructing the corresponding relationship between the master cell and the target neighboring cells with a smaller number, when the terminal device is in the master cell, the signals of the target neighboring cells with a smaller number in the corresponding relationship are detected, so that power consumption of the terminal device during signal detection is reduced, the endurance time of the terminal device is prolonged, and user experience is improved.
In order to enable those skilled in the art to more fully understand the communication signal detection method in the embodiment of the present disclosure, a scenario in which after determining a corresponding relationship between each dominant cell and a corresponding second number of target neighboring cells, communication signal detection is performed according to the corresponding relationship is described below.
Fig. 7 is a schematic flow chart of another communication signal detection method provided in the embodiment of the present disclosure, where detecting a communication signal for a terminal device according to a correspondence includes:
step 701, acquiring a current cell where the terminal device is located, and determining whether the current cell belongs to at least one dominant cell.
In this embodiment, a dominant cell identifier of a current cell where the terminal device is currently located may be obtained, and whether the dominant cell identifier belongs to a dominant cell identifier of a dominant cell in a preset correspondence relationship is queried, and if so, it is determined that the current cell belongs to at least one dominant cell.
Step 702, if the target main force cell belongs to the target main force cell in the at least one main force cell, inquiring the corresponding relation to determine a second number of target adjacent cells corresponding to the target main force cell.
In this example, if the current cell in which the terminal device is located is a master cell, the master cell is a target master cell, and the corresponding relationship is queried to determine a second number of target neighboring cells corresponding to the target master cell, that is, signal detection is not performed according to a preset first number of reference neighboring cells, but communication signals can be detected through the second number of target neighboring cells.
As shown in fig. 5, the dominant cell includes an a mobile cell and a D mobile cell, where the second number of target neighboring cells corresponding to the a mobile cell are B mobile cells. And if the current cell in which the terminal equipment is positioned is the mobile cell A, judging that the mobile cell A is the target dominant cell, inquiring the corresponding relation, and determining that the target adjacent cells of the second quantity corresponding to the mobile cell A are the mobile cells B.
It should be noted that, if the terminal device is a 5G independent networking mobile phone, it may be detected whether the PLMN, arfcn, cellID of the current cell in which the terminal device is located exists in the dominant cell in the corresponding relationship, and if the PLMN, arfcn, cellID of the current cell in which the terminal device is located exists in the dominant cell in the corresponding relationship, it is indicated that the current cell is the dominant cell, and therefore, the available frequency points of the second number of target neighboring cells corresponding to the dominant cell may be queried according to the corresponding relationship.
Step 703, performing communication signal detection on the target master cell and the corresponding second number of target neighboring cells.
It can be understood that, under the condition that the terminal device is located in the target dominant cell, since the terminal device may be stably staying in the dominant cell, the probability of cell reselection or cell handover is not high, and therefore, the communication quality of the dominant cell can be ensured by taking the predetermined second number of target neighboring cells as the candidate neighboring cells, and therefore, in this embodiment, the communication signal detection is performed on the target dominant cell and the corresponding second number of target neighboring cells.
As shown in fig. 5, if the a mobile cell is a dominant cell, the terminal device is located in the a mobile cell, and the second number of target neighboring cells corresponding to the a mobile cell are B mobile cells, the cells for performing communication signal detection include the a mobile cell and the B mobile cell.
In an optional implementation manner, before performing communication signal detection on the second number of target neighboring cells, a signal quality threshold may be preset, and the signal quality of the target master cell is detected, where if the signal quality of the target master cell is greater than the preset signal quality threshold, it indicates that the connection between the terminal device and the target master cell is good, and detection of the target neighboring cells is not needed.
In some embodiments of the present disclosure, it is possible that a difference between communication activity of a current time period corresponding to a communication signal detection requirement of a terminal device and a time period for constructing a corresponding relationship is large, for example, in a preset time period for constructing a corresponding relationship, a staying time period of the terminal device in a dominant cell is generally daytime, but the staying time period is night although the terminal device is in the dominant cell currently, in this case, it is obvious that the requirement for communication signal detection of the current time period is lower and the probability of cell reselection or handover is lower, and therefore, to reduce power consumption of the terminal device, the second number may be further reduced, and optionally, before step 703, as shown in fig. 8, the method may further include:
step 801, determining a first communication activity of a current time period of a terminal device.
In this embodiment, the first communication activity level is used to indicate an activity level of the terminal device in the current time period, and the first communication activity level is used to indicate a usage amount of communication resources in the current communication environment of the terminal device, including but not limited to: any one or more of the usage duration of the historical terminal device in the current time period and the uplink/downlink data volume of the historical terminal device in the current time period may be obtained by calculating the first communication activity through the above parameters.
By determining the first communication activity of the terminal device in the current time period, the activity degree of the terminal device in the current time period can be determined.
Step 802, determining a second communication activity of a preset time period.
In this embodiment, the second communication activity level is used to indicate an activity level of the terminal device in a preset time period, an evaluation method of the second communication activity level is the same as the first communication activity level, and the second communication activity level is used to indicate a communication resource usage amount of the terminal device in the preset time period.
Step 803, calculating the difference value of the second communication activity and the first communication activity, and judging whether the difference value of the activity is greater than or equal to a preset activity threshold.
The first communication activity represents the activity degree of the terminal equipment in the current time period, the second communication activity represents the activity degree of the terminal equipment in the preset time period, and in order to determine whether the number of the current target adjacent cells is suitable for the actual situation of the current terminal equipment, an activity threshold value is preset and is used for judging whether the number of the target adjacent cells needs to be adjusted.
An activity difference value between the second communication activity and the first communication activity, which represents a difference between the activity of the terminal device in the current time period and the activity of the terminal device in the preset time period, may be calculated, and it may be determined whether the activity difference value is greater than or equal to a preset activity threshold.
And 804, if the number is larger than or equal to the preset activity threshold, determining a third number corresponding to the first communication activity, and updating the second number according to the third number, wherein the third number is smaller than the second number.
If the activity difference is greater than or equal to the preset activity threshold, it indicates that the activity degree of the preset time period is sufficiently greater than the activity degree of the current time period, that is, the activity degree of the current time period is sufficiently smaller than the activity degree of the preset time period, that is, the usage amount demand of the current terminal device for the communication resources is low, so that the number of target neighboring cells for performing communication signal quality detection can be appropriately reduced. In an optional implementation manner, a third number corresponding to the first communication activity may be determined, where the third number is smaller than the second number, and the second number is updated according to the third number, so that the number of target neighboring cells detected by the terminal device is reduced, and power consumption of the terminal device is reduced.
If the activity difference is less than or equal to the preset activity threshold, it indicates that the activity degree of the preset time period is sufficiently smaller than the activity degree of the current time period, that is, the activity degree of the current time period is sufficiently larger than the activity degree of the preset time period, so that the number of target neighbor cells for performing communication signal quality detection needs to be increased. In an optional implementation manner, the second number may be updated according to the first number in step 102, so as to increase the number of target neighboring cells detected by the terminal device, and improve the communication signal quality of the terminal device.
In summary, according to the communication signal detection method provided in this embodiment, if the terminal device belongs to the main cell, communication signal detection needs to be performed on the main cell and the second number of target neighboring cells corresponding to the main cell, so that the number of target neighboring cells for performing signal detection is reduced, and power consumed by the terminal device for performing communication signal detection is reduced, thereby prolonging the endurance time of the terminal device and improving user experience.
Fig. 9 is a schematic structural diagram of a communication signal detection apparatus provided in an embodiment of the present disclosure, where the apparatus may be implemented by software and/or hardware, and may be generally integrated in a terminal device. As shown in fig. 9, the apparatus 900 includes:
a first determining module 901, configured to determine, in a plurality of mobile cells where a terminal device stays within a preset time period, at least one dominant cell meeting a preset staying condition;
a detecting module 902, configured to determine a preset first number of reference neighboring cells of each master cell, and detect multiple reference signal quality values of multiple sampling time points of each reference neighboring cell in the preset time period;
a second determining module 903, configured to determine a second number of target neighbor cells in the first number of reference neighbor cells according to the multiple reference signal quality values, where the second number is smaller than the first number;
a relationship establishing module 904, configured to establish a corresponding relationship between each of the master cells and the corresponding second number of target neighboring cells, so as to perform communication signal detection on the terminal device according to the corresponding relationship.
Optionally, the first determining module 901 is configured to:
acquiring the stay time of the terminal equipment in each mobile cell within the preset time period;
determining the mobile cell with the stay time length larger than the preset time length as a first candidate principal cell, and acquiring the stay frequency of the first candidate principal cell in the preset time period;
determining a first candidate dominant cell with the staying frequency larger than a preset frequency as a second candidate dominant cell, and determining a staying time period corresponding to each staying frequency in the second candidate cell;
and if the stay time periods corresponding to the stay frequencies are consistent, determining a corresponding second candidate cell as the dominant cell.
Optionally, the apparatus further comprises:
and the third determining module is used for determining the preset first quantity according to the communication protocol of the terminal equipment.
Optionally, the second determining module 903 includes:
a first determining unit, configured to determine a target signal quality value of each of the reference neighbors according to the plurality of reference signal quality values;
and the second determining unit is used for sequencing the reference neighbor cells of the first number according to the sequence from high to low of the target signal quality value, and determining the reference neighbor cells of the second number as the target neighbor cells in the sequencing result.
Optionally, the first determining unit is configured to:
and calculating the signal quality mean value of the reference signal quality values of all the sampling time points of each reference adjacent region, and determining the signal quality mean value as the target signal quality value.
Optionally, the first determining unit is configured to:
and determining the number of sampling time points of each reference adjacent cell exceeding a preset signal quality threshold, and determining the number of the sampling time points as the target signal quality value.
Optionally, the relationship building module 904 includes:
a first judging unit, configured to acquire a current cell in which the terminal device is located, and judge whether the current cell belongs to the at least one dominant cell;
the query unit is configured to query the correspondence to determine the second number of target neighboring cells corresponding to the target dominant cell if the target dominant cell belongs to the target dominant cell in the at least one dominant cell;
and the detection unit is used for detecting communication signals of the target main force cell and the corresponding second number of target adjacent cells.
Optionally, the relationship building module 904 further includes:
a third determining unit, configured to determine a first communication activity of the terminal device in a current time period;
a fourth determining unit, configured to determine a second communication activity of the preset time period;
the second judging unit is used for calculating an activity difference value of the second communication activity and the first communication activity and judging whether the activity difference value is greater than or equal to a preset activity threshold value or not;
and the updating unit is used for determining a third quantity corresponding to the first communication activity if the first communication activity is greater than or equal to the preset activity threshold, and updating the second quantity according to the third quantity, wherein the third quantity is smaller than the second quantity.
The communication signal detection device provided by the embodiment of the disclosure can execute the communication signal detection method provided by any embodiment of the disclosure, and has corresponding functional modules and beneficial effects of the execution method.
Embodiments of the present disclosure also provide a computer program product comprising a computer program/instructions, which when executed by a processor, implement the communication signal detection method provided in any of the embodiments of the present disclosure.
Fig. 10 is a schematic structural diagram of a terminal device according to an embodiment of the present disclosure.
Referring now specifically to fig. 10, a schematic diagram of a terminal device 1000 suitable for implementing embodiments of the present disclosure is shown. The terminal apparatus 1000 in the embodiments of the present disclosure may include, but is not limited to, a mobile terminal such as a mobile phone, a notebook computer, a digital broadcast receiver, a PDA (personal digital assistant), a PAD (tablet computer), a PMP (portable multimedia player), a vehicle-mounted terminal (e.g., a car navigation terminal), and the like, and a fixed terminal such as a digital TV, a desktop computer, and the like. The terminal device shown in fig. 10 is only an example, and should not bring any limitation to the functions and the scope of use of the embodiments of the present disclosure.
As shown in fig. 10, terminal apparatus 1000 can include a processing device (e.g., central processing unit, graphics processor, etc.) 1001 that can perform various appropriate actions and processes in accordance with a program stored in a Read Only Memory (ROM)1002 or a program loaded from a storage device 1008 into a Random Access Memory (RAM) 1003. In the RAM 1003, various programs and data necessary for the operation of the terminal apparatus 1000 are also stored. The processing device 1001, the ROM 1002, and the RAM 1003 are connected to each other by a bus 1004. An input/output (I/O) interface 1005 is also connected to bus 1004.
Generally, the following devices may be connected to the I/O interface 1005: input devices 1006 including, for example, a touch screen, touch pad, keyboard, mouse, camera, microphone, accelerometer, gyroscope, etc.; an output device 1007 including, for example, a Liquid Crystal Display (LCD), a speaker, a vibrator, and the like; storage devices 1008 including, for example, magnetic tape, hard disk, and the like; and a communication device 1009. The communication means 1009 may allow the terminal apparatus 1000 to perform wireless or wired communication with other apparatuses to exchange data. While fig. 10 illustrates a terminal apparatus 1000 having various means, it is to be understood that not all illustrated means are required to be implemented or provided. More or fewer devices may alternatively be implemented or provided.
In particular, according to an embodiment of the present disclosure, the processes described above with reference to the flowcharts may be implemented as computer software programs. For example, embodiments of the present disclosure include a computer program product comprising a computer program carried on a non-transitory computer readable medium, the computer program containing program code for performing the method illustrated by the flow chart. In such an embodiment, the computer program may be downloaded and installed from a network through the communication means 1009, or installed from the storage means 1008, or installed from the ROM 1002. When executed by the processing device 1001, the computer program performs the above-described functions defined in the communication signal detection method of the embodiment of the present disclosure.
It should be noted that the computer readable medium in the present disclosure can be a computer readable signal medium or a computer readable storage medium or any combination of the two. A computer readable storage medium may be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination of the foregoing. More specific examples of the computer readable storage medium may include, but are not limited to: an electrical connection having one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing. In the present disclosure, a computer readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device. In contrast, in the present disclosure, a computer readable signal medium may comprise a propagated data signal with computer readable program code embodied therein, either in baseband or as part of a carrier wave. Such a propagated data signal may take many forms, including, but not limited to, electro-magnetic, optical, or any suitable combination thereof. A computer readable signal medium may also be any computer readable medium that is not a computer readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device. Program code embodied on a computer readable medium may be transmitted using any appropriate medium, including but not limited to: electrical wires, optical cables, RF (radio frequency), etc., or any suitable combination of the foregoing.
In some embodiments, the clients, servers may communicate using any currently known or future developed network Protocol, such as HTTP (HyperText Transfer Protocol), and may interconnect with any form or medium of digital data communication (e.g., a communications network). Examples of communication networks include a local area network ("LAN"), a wide area network ("WAN"), the Internet (e.g., the Internet), and peer-to-peer networks (e.g., ad hoc peer-to-peer networks), as well as any currently known or future developed network.
The computer readable medium may be included in the terminal device; or may exist separately without being assembled into the terminal device.
The computer readable medium carries one or more programs which, when executed by the terminal device, cause the terminal device to: determining at least one dominant cell of the terminal device; determining a first preset number of reference neighbor cells of each main force cell, and detecting a plurality of reference signal quality values of a plurality of sampling time points of each reference neighbor cell in a preset time period; determining a second number of target neighbor cells in the first number of reference neighbor cells according to the plurality of reference signal quality values; and constructing a corresponding relation between each main force cell and the corresponding second number of target adjacent cells, and detecting the communication signals of the terminal equipment according to the corresponding relation. According to the embodiment of the disclosure, the corresponding relation between the main power cell and the target adjacent cells with a small number is established, so that when the terminal device is in the main power cell, the signals of the target adjacent cells with the small number in the corresponding relation are detected, thereby reducing the power consumption of the terminal device, prolonging the endurance time of the terminal device, and improving the user experience.
Computer program code for carrying out operations for the present disclosure may be written in any combination of one or more programming languages, including but not limited to an object oriented programming language such as Java, Smalltalk, C + +, and conventional procedural programming languages, such as the "C" programming language or similar programming languages. The program code may execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer or entirely on the remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer through any type of network, including a Local Area Network (LAN) or a Wide Area Network (WAN), or the connection may be made to an external computer (for example, through the Internet using an Internet service provider).
The flowchart and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of systems, methods and computer program products according to various embodiments of the present disclosure. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of code, which comprises one or more executable instructions for implementing the specified logical function(s). It should also be noted that, in some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams and/or flowchart illustration, and combinations of blocks in the block diagrams and/or flowchart illustration, can be implemented by special purpose hardware-based systems which perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.
The units described in the embodiments of the present disclosure may be implemented by software or hardware. Where the name of an element does not in some cases constitute a limitation on the element itself.
The functions described herein above may be performed, at least in part, by one or more hardware logic components. For example, without limitation, exemplary types of hardware logic components that may be used include: field Programmable Gate Arrays (FPGAs), Application Specific Integrated Circuits (ASICs), Application Specific Standard Products (ASSPs), systems on a chip (SOCs), Complex Programmable Logic Devices (CPLDs), and the like.
In the context of this disclosure, a machine-readable medium may be a tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device. The machine-readable medium may be a machine-readable signal medium or a machine-readable storage medium. A machine-readable medium may include, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any suitable combination of the foregoing. More specific examples of a machine-readable storage medium would include an electrical connection based on one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
It is noted that, in this document, relational terms such as "first" and "second," and the like, may be used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other identical elements in a process, method, article, or apparatus that comprises the element.
The foregoing are merely exemplary embodiments of the present disclosure, which enable those skilled in the art to understand or practice the present disclosure. Various modifications to these embodiments will be readily apparent to those skilled in the art, and the generic principles defined herein may be applied to other embodiments without departing from the spirit or scope of the disclosure. Thus, the present disclosure is not intended to be limited to the embodiments shown herein but is to be accorded the widest scope consistent with the principles and novel features disclosed herein.