CN106954256B - indoor scene recognition method and device - Google Patents

indoor scene recognition method and device Download PDF

Info

Publication number
CN106954256B
CN106954256B CN201610008344.6A CN201610008344A CN106954256B CN 106954256 B CN106954256 B CN 106954256B CN 201610008344 A CN201610008344 A CN 201610008344A CN 106954256 B CN106954256 B CN 106954256B
Authority
CN
China
Prior art keywords
terminal
base station
signal quality
cell
quality parameters
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201610008344.6A
Other languages
Chinese (zh)
Other versions
CN106954256A (en
Inventor
张国栋
孔建坤
张博洋
牛海涛
刘珂
王治国
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
China Mobile Group Shandong Co Ltd
Original Assignee
China Mobile Group Shandong Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by China Mobile Group Shandong Co Ltd filed Critical China Mobile Group Shandong Co Ltd
Priority to CN201610008344.6A priority Critical patent/CN106954256B/en
Publication of CN106954256A publication Critical patent/CN106954256A/en
Application granted granted Critical
Publication of CN106954256B publication Critical patent/CN106954256B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W64/00Locating users or terminals or network equipment for network management purposes, e.g. mobility management
    • H04W64/006Locating users or terminals or network equipment for network management purposes, e.g. mobility management with additional information processing, e.g. for direction or speed determination
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04BTRANSMISSION
    • H04B17/00Monitoring; Testing
    • H04B17/30Monitoring; Testing of propagation channels
    • H04B17/309Measuring or estimating channel quality parameters
    • H04B17/318Received signal strength
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04BTRANSMISSION
    • H04B17/00Monitoring; Testing
    • H04B17/30Monitoring; Testing of propagation channels
    • H04B17/309Measuring or estimating channel quality parameters
    • H04B17/336Signal-to-interference ratio [SIR] or carrier-to-interference ratio [CIR]

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Quality & Reliability (AREA)
  • Physics & Mathematics (AREA)
  • Electromagnetism (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

The embodiment of the invention relates to the field of mobile communication, in particular to an indoor scene identification method and device, which are used for accurately determining whether a user is in an indoor scene.

Description

indoor scene recognition method and device
Technical Field
The embodiment of the invention relates to the field of mobile communication, in particular to indoor scene identification method and equipment.
Background
With the rapid development of internet services and services, mobile users have increasingly demanded mobile communication service quality, and are required to enjoy high-quality mobile communication services indoors while satisfying good outdoor mobile communication services.
In the prior art, the position of the terminal is determined by a three-point positioning method, and the specific method is to determine the position of the terminal by signals of three base stations received by the terminal and the positions of the three base stations. The method can only roughly determine the activity area of the terminal, and cannot really determine whether the terminal is in an indoor scene.
In summary, there is a need for indoor scene recognition method and apparatus for accurately determining whether a user is in an indoor scene.
Disclosure of Invention
The embodiment of the invention provides indoor scene identification methods and devices, which are used for accurately determining whether a user is in an indoor scene.
The embodiment of the invention provides indoor scene identification methods, which comprise the following steps:
acquiring N times of sampling data of a terminal in a preset time period at the current moment, and determining the theoretical signal intensity of a received signal of the environment where the terminal is located in each sampling and the actual signal intensity received by the terminal; wherein N is a positive integer;
if the absolute value of the difference value between the actual signal strength received by the terminal in the times of sampling and the theoretical signal strength is not smaller than the signal strength threshold value, determining that the terminal is in a blocked state;
and if the ratio of the times of the terminal in the blocked state in the N times of sampling is determined to be not less than the blocked ratio threshold value, determining that the terminal is in an indoor scene.
Optionally, the method further comprises:
if the ratio of the times of the terminal in the blocked state in the N times of sampling is determined to be smaller than the blocked ratio threshold value, acquiring the information of the resident cell of the terminal in the previous preset time period of M days; wherein M is a positive integer;
determining the behavior probability value of the terminal in each resident cell according to the information of the resident cells of the terminal in M days;
and if the behavior probability values of at least resident cells meet the preset stability condition, determining that the terminal is in an indoor scene.
Optionally, the method further comprises:
if the behavior probability values of resident cells do not meet a preset stability condition, Q group signal quality parameters reported by the terminal are obtained, wherein Q is a positive integer;
aiming at each group of signal quality parameters in the Q groups of signal quality parameters, when the group of signal quality parameters are determined to belong to the threshold range of the signal quality parameters of the indoor standard users corresponding to the base station accessed by the terminal, determining the group of signal quality parameters as alternative signal quality parameters;
and when the ratio of the number of the candidate signal quality parameters in Q is determined to be larger than the characteristic parameter ratio threshold, determining that the terminal is in an indoor scene at the current moment.
Optionally, the obtaining of N times of sampling data of the terminal in a preset time period of the current time, and determining the theoretical signal strength of the received signal of the environment where the terminal is located in each sampling specifically includes:
for each of the N samples, performing:
determining a formula for calculating the theoretical average propagation loss of the base station according to the parameters of the base station accessed by the terminal acquired by the sampling;
adding the calculated theoretical average propagation loss and the environment variable of the current environment of the terminal to obtain the theoretical blocking path loss of the terminal;
and adding the transmitting power of the base station and the antenna gain of the base station, and subtracting the theoretical blocking path loss to obtain the theoretical signal strength of the signal transmitted by the base station and currently received by the terminal.
Optionally, determining a formula for calculating a theoretical average propagation loss of the base station according to the parameters of the base station to which the terminal accesses, which are collected by the sampling, includes:
when d is not more than 0.04, L is 32.4+20 × lg (f) +10 × lg [ d2+ (Hb-Hm) × 2/106 ];
l ═ L (0.04) + [ lg (d) -lg (0.04) ]/[ lg (0.1) -lg (0.04) ] × [ L (0.1) -L (0.04) ], at 0.04 < d ≦ 0.1;
when d is larger than 0.1, the coverage area of the base station is determined to be urban area according to the parameters of the base station, when the frequency of the base station is 1500 to 2000,
L=46.3+33.9lg(f)-13.82lg[max(30,Hb)]+{44.9-6.55lg[max(30,Hb)]}×[lg(d)]×α-α(Hm)-b(Hb);
when d is larger than 0.1, the coverage area of the base station is determined to be urban area according to the parameters of the base station, when the frequency of the base station is 2000 to 3000,
L=46.3+33.9lg(2000)+10lg(f/2000)-13.82lg[max(30,Hb)]+{44.9-6.55lg[max(30,Hb)]}×[lg(d)]×α-α(Hm)-b(Hb);
when d is larger than 0.1, determining the coverage area of the base station to be suburban according to the parameters of the base station,
L=L(urban)-2×2×lg{min[max(150,f),2000)]/28}-5.4;
when d is larger than 0.1, when the coverage area of the base station is determined to be open according to the parameters of the base station,
L=L(urban)-4.78×2×lg{min[max(150,f),2000)]/28}+
18.33×lg{min[max(150,f),2000)]/28}-40.94;
where/represents the division in the mathematical calculation;
d represents the projection length of the actual distance between the terminal and the base station on the horizontal plane; d2 represents the actual distance between the terminal and the base station to which the terminal is connected;
l is the theoretical average propagation loss of the signal transmitted to the terminal by the base station; f is the frequency of the base station accessed by the terminal determined according to the parameters of the base station;
hm & min (h1, h 2); hb max (h1, h 2); wherein h1 is the equivalent height of the antenna of the base station determined according to the parameters of the base station; h2 is the equivalent height of the terminal;
l (0.04) is the value of L when d is equal to 0.04; l (0.1) is the value of L when d is equal to 0.1;
α=1+(0.14+1.87×10-4×f+1.07×10-3×Hb);
α(Hm)=[1.1lg(f)-0.7]×min(10,Hm)-1.56lg(f)+max[0,20lg(Hm/10)];
b(Hb)=min[0,20lg(Hb/30)];
and L (urban) is d > 0.1, and the value of L is determined according to the frequency of the base station when the coverage area of the base station is urban.
Optionally, determining a behavior probability value of the terminal in each resident cell according to information of the resident cells of the terminal in M days specifically includes:
sampling the terminal in a preset time period of each day in previous M days to obtain the identification of K cells where the terminal resides in the preset time period of the M days;
for each camping cell of the K cells, performing:
determining the times of various preset behaviors of the terminal in the resident cell within a preset time period within M days;
for each type of preset behavior, calculating the ratio of the frequency of the type of preset behavior of the terminal in the resident cell within a preset time period within M days to the total frequency of the type of preset behavior of the terminal in K cells within the preset time period within M days;
determining the value with the maximum ratio among various preset behaviors as the probability value of the behavior in the resident cell;
wherein K is a positive integer.
Optionally, the various preset behaviors include a behavior of initiating a service in the residential cell by the terminal, a behavior of establishing a radio resource control RRC connection, a behavior of switching into the residential cell, and a behavior of switching out the residential cell.
Optionally, if the behavior probability values of at least residential cells meet a preset stability condition, determining that the terminal is in an indoor scene, including:
and if the behavior probability values of at least resident cells are not smaller than the stability probability threshold, determining that the terminal is in an indoor scene.
Optionally, if the behavior probability values of at least residential cells meet a preset stability condition, determining that the terminal is in an indoor scene, including:
if the th cell behavior probability value of the terminal in the K cells meets the th formula of the th cell, determining that the terminal is in an indoor scene;
wherein the th cell is any cells of the K cells;
the th formula for the th cell is:
P={[(Max(x)-Avg3(x)]/Avg3(x)]x (behavior probability value of terminal at th cell) x T;
and P is more than or equal to the stability probability threshold;
in the th formula, T is a constant;
periodically sampling the terminal in a preset time period of each day in M days before the current moment, and counting the number of sampling points corresponding to each cell in K cells, wherein Max (x) is the number of sampling points corresponding to a second cell in the K cells; avg3(x) The average value of the number of sampling points of a second cell, a third cell and a fourth cell in the K cells is obtained;
the second cell is the cell with the largest number of sampling points in the K cells; the third cell is a cell with a plurality of sampling points in K cells; the fourth cell is a cell with the third most sampling points in the K cells.
Optionally, each of the Q sets of signal quality parameters includes reference signal received power RSRP, reference signal received quality RSRQ, timing advance TA, signal to interference plus noise ratio SINR;
the threshold range of the signal quality parameter corresponding to the base station comprises an RSRP threshold range, an RSRQ threshold range, a TA threshold range and an SINR threshold range;
for each group of signal quality parameters in the Q groups of signal quality parameters, when it is determined that the group of signal quality parameters belongs to the threshold range of the signal quality parameter corresponding to the base station, determining the group of signal quality parameters as alternative signal quality parameters, specifically including:
for each of the Q sets of signal quality parameters, performing:
if the RSRP in the group of signal quality parameters is determined to belong to the RSRP threshold range in the threshold range of the signal quality parameters corresponding to the base station; and is
The RSRQ in the group of signal quality parameters belongs to the threshold range of the RSRQ in the threshold range of the signal quality parameters corresponding to the base station;
the TA in the set of signal quality parameters belongs to a threshold range of the TA in the threshold range of the signal quality parameters corresponding to the base station;
the SINR in the set of signal quality parameters belongs to a threshold range of SINR in a threshold range of signal quality parameters corresponding to the base station:
then: the set of signal quality parameters is determined to be candidate signal quality parameters.
Optionally, the threshold range of the signal quality parameter of the indoor standard user corresponding to the base station to which the terminal accesses is determined by:
the signal quality parameters of the indoor standard users corresponding to the base station are multiple, and the signal quality parameters reported by each standard user in the multiple indoor standard users are obtained aiming at each signal quality parameter;
determining a parameter range including the signal quality parameters of the indoor standard users with the ratio of according to the normal distribution and the signal quality parameters of the indoor standard users with the ratio of in the plurality of indoor standard users;
the parameter range is determined as a threshold range of the signal quality parameter.
The embodiment of the invention provides kinds of indoor scene recognition equipment, which comprises:
the device comprises an acquisition unit, a processing unit and a processing unit, wherein the acquisition unit is used for acquiring N times of sampling data of a terminal in a preset time period at the current moment and determining the theoretical signal intensity of a received signal of the environment where the terminal is located in each sampling and the actual signal intensity received by the terminal; wherein N is a positive integer;
and the processing unit is used for determining that the terminal is in a blocked state if the absolute value of the difference value between the actual signal strength received by the terminal and the theoretical signal strength in times of sampling is not less than the signal strength threshold value, and determining that the terminal is in an indoor scene if the proportion of the times of determining that the terminal is in the blocked state in N times of sampling is not less than the blocked proportion threshold value.
Optionally, the processing unit is further configured to:
if the ratio of the times of the terminal in the blocked state in the N times of sampling is determined to be smaller than the blocked ratio threshold value, acquiring the information of the resident cell of the terminal in the previous preset time period of M days; wherein M is a positive integer;
determining the behavior probability value of the terminal in each resident cell according to the information of the resident cells of the terminal in M days;
and if the behavior probability values of at least resident cells meet the preset stability condition, determining that the terminal is in an indoor scene.
Optionally, the processing unit is further configured to:
if the behavior probability values of resident cells do not meet a preset stability condition, Q group signal quality parameters reported by the terminal are obtained, wherein Q is a positive integer;
aiming at each group of signal quality parameters in the Q groups of signal quality parameters, when the group of signal quality parameters are determined to belong to the threshold range of the signal quality parameters of the indoor standard users corresponding to the base station accessed by the terminal, determining the group of signal quality parameters as alternative signal quality parameters;
and when the ratio of the number of the candidate signal quality parameters in Q is determined to be larger than the characteristic parameter ratio threshold, determining that the terminal is in an indoor scene at the current moment.
Optionally, the obtaining unit is specifically configured to:
for each of the N samples, performing:
determining a formula for calculating the theoretical average propagation loss of the base station according to the parameters of the base station accessed by the terminal acquired by the sampling;
adding the calculated theoretical average propagation loss and the environment variable of the current environment of the terminal to obtain the theoretical blocking path loss of the terminal;
and adding the transmitting power of the base station and the antenna gain of the base station, and subtracting the theoretical blocking path loss to obtain the theoretical signal strength of the signal transmitted by the base station and currently received by the terminal.
Optionally, determining a formula for calculating a theoretical average propagation loss of the base station according to the parameters of the base station to which the terminal accesses, which are collected by the sampling, includes:
when d is not more than 0.04, L is 32.4+20 × lg (f) +10 × lg [ d2+ (Hb-Hm) × 2/106 ];
l ═ L (0.04) + [ lg (d) -lg (0.04) ]/[ lg (0.1) -lg (0.04) ] × [ L (0.1) -L (0.04) ], at 0.04 < d ≦ 0.1;
when d is larger than 0.1, the coverage area of the base station is determined to be urban area according to the parameters of the base station, when the frequency of the base station is 1500 to 2000,
L=46.3+33.9lg(f)-13.82lg[max(30,Hb)]+{44.9-6.55lg[max(30,Hb)]}×[lg(d)]×α-α(Hm)-b(Hb);
when d is larger than 0.1, the coverage area of the base station is determined to be urban area according to the parameters of the base station, when the frequency of the base station is 2000 to 3000,
L=46.3+33.9lg(2000)+10lg(f/2000)-13.82lg[max(30,Hb)]+{44.9-6.55lg[max(30,Hb)]}×[lg(d)]×α-α(Hm)-b(Hb);
when d is larger than 0.1, determining the coverage area of the base station to be suburban according to the parameters of the base station,
L=L(urban)-2×2×lg{min[max(150,f),2000)]/28}-5.4;
when d is larger than 0.1, when the coverage area of the base station is determined to be open according to the parameters of the base station,
L=L(urban)-4.78×2×lg{min[max(150,f),2000)]/28}+
18.33×lg{min[max(150,f),2000)]/28}-40.94;
where/represents the division in the mathematical calculation;
d represents the projection length of the actual distance between the terminal and the base station on the horizontal plane; d2 represents the actual distance between the terminal and the base station to which the terminal is connected;
l is the theoretical average propagation loss of the signal transmitted to the terminal by the base station; f is the frequency of the base station accessed by the terminal determined according to the parameters of the base station;
hm & min (h1, h 2); hb max (h1, h 2); wherein h1 is the equivalent height of the antenna of the base station determined according to the parameters of the base station; h2 is the equivalent height of the terminal;
l (0.04) is the value of L when d is equal to 0.04; l (0.1) is the value of L when d is equal to 0.1;
α=1+(0.14+1.87×10-4×f+1.07×10-3×Hb);
α(Hm)=[1.1lg(f)-0.7]×min(10,Hm)-1.56lg(f)+max[0,20lg(Hm/10)];
b(Hb)=min[0,20lg(Hb/30)];
and L (urban) is d > 0.1, and the value of L is determined according to the frequency of the base station when the coverage area of the base station is urban.
Optionally, the processing unit is specifically configured to:
sampling the terminal in a preset time period of each day in previous M days to obtain the identification of K cells where the terminal resides in the preset time period of the M days;
for each camping cell of the K cells, performing:
determining the times of various preset behaviors of the terminal in the resident cell within a preset time period within M days;
for each type of preset behavior, calculating the ratio of the frequency of the type of preset behavior of the terminal in the resident cell within a preset time period within M days to the total frequency of the type of preset behavior of the terminal in K cells within the preset time period within M days;
determining the value with the maximum ratio among various preset behaviors as the probability value of the behavior in the resident cell;
wherein K is a positive integer.
Optionally, the various preset behaviors include a behavior of initiating a service in the residential cell by the terminal, a behavior of establishing a radio resource control RRC connection, a behavior of switching into the residential cell, and a behavior of switching out the residential cell.
Optionally, the processing unit is specifically configured to:
and if the behavior probability values of at least resident cells are not smaller than the stability probability threshold, determining that the terminal is in an indoor scene.
Optionally, the processing unit is specifically configured to:
if the th cell behavior probability value of the terminal in the K cells meets the th formula of the th cell, determining that the terminal is in an indoor scene;
wherein the th cell is any cells of the K cells;
the th formula for the th cell is:
P={[(Max(x)-Avg3(x)]/Avg3(x)]x (behavior probability value of terminal at th cell) x T;
and P is more than or equal to the stability probability threshold;
in the th formula, T is a constant;
periodically sampling the terminal in a preset time period of each day in M days before the current moment, and counting the number of sampling points corresponding to each cell in K cells, wherein Max (x) is the number of sampling points corresponding to a second cell in the K cells; avg3(x) The average value of the number of sampling points of a second cell, a third cell and a fourth cell in the K cells is obtained;
the second cell is the cell with the largest number of sampling points in the K cells; the third cell is a cell with a plurality of sampling points in K cells; the fourth cell is a cell with the third most sampling points in the K cells.
Optionally, each of the Q sets of signal quality parameters includes reference signal received power RSRP, reference signal received quality RSRQ, timing advance TA, signal to interference plus noise ratio SINR;
the threshold range of the signal quality parameter corresponding to the base station comprises an RSRP threshold range, an RSRQ threshold range, a TA threshold range and an SINR threshold range;
the processing unit, when determining that the set of signal quality parameters belongs to the threshold range of the signal quality parameters corresponding to the base station for each set of signal quality parameters in the Q sets of signal quality parameters, and when determining that the set of signal quality parameters is the candidate signal quality parameters, is specifically configured to:
for each of the Q sets of signal quality parameters, performing:
if the RSRP in the group of signal quality parameters is determined to belong to the RSRP threshold range in the threshold range of the signal quality parameters corresponding to the base station; and is
The RSRQ in the group of signal quality parameters belongs to the threshold range of the RSRQ in the threshold range of the signal quality parameters corresponding to the base station;
the TA in the set of signal quality parameters belongs to a threshold range of the TA in the threshold range of the signal quality parameters corresponding to the base station;
the SINR in the set of signal quality parameters belongs to a threshold range of SINR in a threshold range of signal quality parameters corresponding to the base station:
then: the set of signal quality parameters is determined to be candidate signal quality parameters.
Optionally, the processing unit is further configured to:
determining the threshold range of the signal quality parameter of the indoor standard user corresponding to the base station accessed by the terminal through the following modes:
the signal quality parameters of the indoor standard users corresponding to the base station are multiple, and the signal quality parameters reported by each standard user in the multiple indoor standard users are obtained aiming at each signal quality parameter;
determining a parameter range including the signal quality parameters of the indoor standard users with the ratio of according to the normal distribution and the signal quality parameters of the indoor standard users with the ratio of in the plurality of indoor standard users;
the parameter range is determined as a threshold range of the signal quality parameter.
In the embodiment of the invention, N times of sampling data of a terminal in a preset time period at the current moment are obtained, the theoretical signal intensity of a received signal of the environment where the terminal is located in each sampling and the actual signal intensity received by the terminal are determined, wherein N is a positive integer, if the absolute value of the difference value between the actual signal intensity received by the terminal and the theoretical signal intensity in times of sampling is not smaller than a signal intensity threshold value, the terminal is determined to be in a blocked state, if the proportion of the times of determining that the terminal is in the blocked state in N times of sampling is not smaller than a blocked proportion threshold value, the terminal is determined to be in an indoor scene.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings needed to be used in the description of the embodiments will be briefly introduced below, and it is obvious that the drawings in the following description are only embodiments of the present invention, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without creative efforts.
FIG. 1 is a diagram illustrating types of system architectures used in embodiments of the present invention;
fig. 2 is a schematic flow chart of an indoor scene recognition method according to an embodiment of the present invention;
fig. 2a is a schematic diagram of the distribution of RSRPs provided by the embodiment of the present invention;
fig. 3 is a schematic structural diagram of indoor scene recognition equipment according to an embodiment of the present invention.
Detailed Description
For purposes of making the objects, solutions and benefits of the present invention more apparent, the present invention will be described in detail below with reference to the accompanying drawings and embodiments.
Fig. 1 illustrates an system architecture diagram applicable to an embodiment of the present invention, where as shown in fig. 1, the system architecture applicable to an embodiment of the present invention includes a plurality of base stations, such as a base station 101 and a base station 102, the coverage of the base station 101 includes a plurality of buildings, such as a building 103 and a building 104, the terminal is in the coverage of the base station, and may be in an indoor scene or an outdoor scene, when the terminal is located in the building, the terminal is determined to be in the indoor scene, and when the terminal is located outside the building, the terminal is determined to be in the outdoor scene, such as the terminal 105 is located in the building 103, the terminal 106 is located in the building 104, the terminal 105 and the terminal 106 are in the indoor scene, the terminal 107 is located outside the building, and therefore the terminal 107 is in the outdoor scene.
In the embodiments of the present invention, the term "base station" includes, but is not limited to, a node, a station controller, an Access Point (AP), or any other type of interface device capable of operating in a wireless environment.
For example, the wireless terminals may be mobile telephones (or "cellular" telephones) and computers having mobile terminals.
Fig. 2 schematically illustrates a flow chart of an indoor scene recognition method provided by an embodiment of the present invention.
Based on the system architecture shown in fig. 1, as shown in fig. 2, the indoor scene recognition method provided in the embodiment of the present invention can be implemented by indoor scene recognition, and the method includes:
step 201, acquiring N times of sampling data of a terminal in a preset time period at the current moment, and determining the theoretical signal intensity of a received signal of an environment where the terminal is located in each sampling and the actual signal intensity received by the terminal; wherein N is a positive integer;
step 202, if the absolute value of the difference between the actual signal strength received by the terminal in times of sampling and the theoretical signal strength is not less than the signal strength threshold, determining that the terminal is in a blocked state;
in step 203, if it is determined that the ratio of the times of the terminal being in the blocked state in the N samples is not less than the blocked ratio threshold, it is determined that the terminal is in the indoor scene.
In each sampling, if the absolute value of the difference between the actual signal intensity received by the terminal and the theoretical signal intensity is not less than the signal intensity threshold, it indicates that the signal transmitted to the terminal by the base station is blocked more seriously, and at this time, the terminal is likely to be located indoors. Therefore, compared with a three-point positioning method in the prior art, the method can accurately determine that the terminal is in an indoor scene.
Optionally, if the proportion of the times of the terminal in the blocked state in the N samples is smaller than the blocked proportion threshold value, obtaining the information of the resident cell of the terminal in the previous M days within a preset time period, determining the behavior probability value of the terminal in each resident cell according to the information of the resident cell of the terminal in the M days, and if the behavior probability values of at least resident cells meet a preset stability condition, determining that the terminal is in an indoor scene.
Optionally, if the behavior probability values of resident cells do not meet a preset stability condition, Q groups of signal quality parameters reported by the terminal are obtained, wherein Q is a positive integer, for each group of signal quality parameters in the Q groups of signal quality parameters, when the group of signal quality parameters are determined to be within a threshold range of signal quality parameters of indoor standard users corresponding to a base station accessed by the terminal, the group of signal quality parameters are determined to be alternative signal quality parameters, and when the ratio of the number of the alternative signal quality parameters in Q is determined to be greater than a characteristic parameter ratio threshold, the current moment of the terminal is determined to be in an indoor scene.
preferable embodiments are provided in the embodiment of the present invention, which are to identify a part of terminals in an indoor scene through an actual signal strength and a theoretical signal strength, then use a stability to determine the part of terminals in the indoor scene, and finally determine the part of terminals in the indoor scene through a signal quality parameter for the remaining terminals, and in addition, preferable embodiments are that, for all terminals, any methods among the actual signal strength, the theoretical signal strength, the stability, or the signal quality parameter are used to determine all terminals, and if it is determined that the terminal is in the indoor scene according to any methods, it is determined that the terminal is in the indoor scene.
In step 201, optionally, acquiring data sampled by the terminal N times within a preset time period at the current time, and determining a theoretical signal strength of a received signal of an environment where the terminal is located in each sampling, specifically including:
for each of the N samples, performing:
determining a formula for calculating the theoretical average propagation loss of the base station according to the parameters of the base station accessed by the terminal acquired by the sampling;
adding the calculated theoretical average propagation loss and the environment variable of the current environment of the terminal to obtain the theoretical blocking path loss of the terminal;
and adding the transmitting power of the base station and the antenna gain of the base station, and subtracting the theoretical blocking path loss to obtain the theoretical signal strength of the signal transmitted by the base station and currently received by the terminal.
Optionally, in the embodiment of the present invention, whether the terminal is in an indoor environment may be periodically determined, for example, when three hours are cycles, cycles from 8 point to 11 point, and cycles from 11 point to 14 point, when it is determined that times of terminals are in an indoor scene in each cycle, N times of sampling data may be obtained within a preset time period of the current time, each cycle corresponds to preset time periods, for example, half an hour before the cycle starts, the preset time period corresponding to the cycle from 8 point to 11 point is 8 point to 8 point half, the preset time period corresponding to the cycle from 11 point to 14 point is 11 point to 11 point half.
Optionally, in the embodiment of the present invention, it is required to determine whether the terminal is in an indoor scene at the current time, and the terminal may be sampled in a preset time period near the current time, so as to determine whether the terminal is in the indoor scene in a time period corresponding to the current time of the terminal.
Specifically, in step 201, multiple interfaces are used for data transmission between the terminal and the base station, and in the embodiment of the present invention, data may be acquired in a manner of combining soft mining and hard mining, where hard mining is to acquire data through each interface, and soft mining is to acquire data through each signaling.
Each of the N times of sampling data in the embodiment of the present invention may specifically include three parts, which are a measurement report of the terminal, data acquired through interfaces, and a parameter of the base station.
The measurement report of the terminal obtained by soft acquisition includes parameters, such as Reference Signal Receiving Power (RSRP), Reference Signal Receiving Quality (RSRQ), Signal to interference plus Noise Ratio (SINR), Timing Advance (TA), evolved Node B identity (eNB-ID), CELL identity (CELL ID), and terminal received transmission Power in the measurement report.
The sampling data obtained by hard acquisition may include an International Mobile Subscriber Identity (IMSI), a Gi interface of a mobility Management Module (MME), data on an EC interface, an MME-UE-S1AP-ID integer variable, and the like.
Through the N times of sampling, the parameters of the base station obtained by each time of sampling can comprise parameters such as the station height of the base station, the frequency band of the base station, the direction angle of the base station, the downward inclination angle of the base station, the longitude and latitude of the base station, the cell transmitting power of the base station and the like.
Optionally, determining a formula for calculating a theoretical average propagation loss of the base station according to the parameters of the base station to which the terminal accesses, which are collected by the sampling, includes:
when d is not more than 0.04, L is 32.4+20 × lg (f) +10 × lg [ d2+ (Hb-Hm) × 2/106 ];
l ═ L (0.04) + [ lg (d) -lg (0.04) ]/[ lg (0.1) -lg (0.04) ] × [ L (0.1) -L (0.04) ], at 0.04 < d ≦ 0.1;
when d is larger than 0.1, the coverage area of the base station is determined to be urban area according to the parameters of the base station, when the frequency of the base station is 1500 to 2000,
L=46.3+33.9lg(f)-13.82lg[max(30,Hb)]+{44.9-6.55lg[max(30,Hb)]}×[lg(d)]×α-α(Hm)-b(Hb);
when d is larger than 0.1, the coverage area of the base station is determined to be urban area according to the parameters of the base station, when the frequency of the base station is 2000 to 3000,
L=46.3+33.9lg(2000)+10lg(f/2000)-13.82lg[max(30,Hb)]+{44.9-6.55lg[max(30,Hb)]}×[lg(d)]×α-α(Hm)-b(Hb);
when d is larger than 0.1, determining the coverage area of the base station to be suburban according to the parameters of the base station,
L=L(urban)-2×2×lg{min[max(150,f),2000)]/28}-5.4;
when d is larger than 0.1, when the coverage area of the base station is determined to be open according to the parameters of the base station,
L=L(urban)-4.78×2×lg{min[max(150,f),2000)]/28}+
18.33×lg{min[max(150,f),2000)]/28}-40.94;
where/represents the division in the mathematical calculation;
d2 represents the actual distance between the terminal and the base station accessed by the terminal, concretely, the position of the base station transmitting signal is higher, the position of the terminal is relatively lower, the actual distance between the terminals of the base station is oblique lines connected to the terminal from the antenna of the base station transmitting signal, and the projection length of the actual distance between the terminal and the base station on the horizontal plane is the horizontal distance between the position of the base station and the position of the terminal, d and d2 can be obtained according to the sampling data;
l is the theoretical average propagation loss of the signal transmitted to the terminal by the base station; f is the frequency of the base station accessed by the terminal determined according to the parameters of the base station; f can be obtained by sampling data;
hm & min (h1, h 2); hb max (h1, h 2); wherein h1 is the equivalent height of the antenna of the base station determined according to the parameters of the base station; h2 is the equivalent height of the terminal; h1 and h2 can be obtained by sampling data; hm & min (h1, h2) denotes that Hm is the smaller of h1 and h 2; hb ═ max (h1, h2) denotes that Hb is the larger of h1 and h 2;
l (0.04) is the value of L when d is equal to 0.04; l (0.1) is the value of L when d is equal to 0.1;
α=1+(0.14+1.87×10-4×f+1.07×10-3×Hb);
α (Hm) ([ 1.1lg (f) -0.7] × min (10, Hm) -1.56lg (f) + max [0,20lg (Hm/10) ], where min (10, Hm) represents the smaller of 10 and Hm and max [0,20lg (Hm/10) ] represents the larger of 0 and 20lg (Hm/10);
b (Hb) min [0,20lg (Hb/30) ]; wherein b (Hb) min [0,20lg (Hb/30) ] represents the smaller of b (Hb) 0 and 20lg (Hb/30);
l (urban) is the value of L determined according to the frequency of the base station when d is more than 0.1 and the coverage area of the base station is downtown;
max (30, Hb) represents the larger of 30 and Hb;
min (10, Hm) represents the smaller of 10 and Hm;
max (150, f) represents the larger of 150 and f; min [ max (150, f),2000) ] represents the smaller of max (150, f) and 2000.
The unit of d is km, parameters of the base station comprise the environment in the coverage range of the base station, generally comprises urban areas, suburbs and open areas, the Hm value range is 1-100 meters (unit m), and the Hb value range is 30-200 m.
Taking a specific example to illustrate the method, at the current time point 8, the preset time period is 8 to 8 and a half, N is 9, and half samples are taken 9 times from 8 to 8.
Firstly, according to the parameters of the base stations included in the data sampled each time, a formula of the theoretical average propagation loss of the base stations is determined, in this example, it is assumed that the terminal accesses the same base stations in 9 samples, the environment within the coverage area of the base station is an urban area, and the frequency of the base station is 1500 to 2000 hertz (unit Hz).
When d is larger than 0.1, the coverage area of the base station is determined to be urban area according to the parameters of the base station, when the frequency of the base station is 1500 to 2000,
L=46.3+33.9lg(f)-13.82lg[max(30,Hb)]+{44.9-6.55lg[max(30,Hb)]}×[lg(d)]×α-α(Hm)-b(Hb)。
the parameters required in the formula are obtained by sampling.
And aiming at each sampling in the 9 times of sampling, calculating the theoretical average propagation loss L corresponding to each sampling in the 9 times of sampling through the formula, and then adding the theoretical average propagation loss corresponding to each sampling to the environment variable of the current environment of the terminal in each sampling to obtain the theoretical blocking path loss of the terminal corresponding to each sampling in the 9 times of sampling. And each sampling data comprises an environment variable of the environment where the terminal is located during sampling.
And for each sampling in the 9 times of sampling, adding the transmitting power of the base station and the antenna gain of the base station, and subtracting the theoretical blocking path loss to obtain the theoretical signal strength of the signal transmitted by the base station, which is currently received by the terminal. And finally obtaining the theoretical signal strength corresponding to each sampling in the 9 times of sampling of the terminal through calculation, wherein the sampling data of each sampling comprises the antenna gain of the base station.
And then, for each of the 9 samples, the data of each sample also includes the actual signal strength received by the terminal, for example, the actual signal strength received by the terminal can be obtained from a measurement report reported by the terminal, for each sample, the difference between the actual signal strength received by the terminal in each sample and the theoretical signal strength is calculated, and if the difference is not less than the signal strength threshold, the terminal in the data of each sample is in a blocked state, the signal strength threshold is empirical values, for example, can be set to 12.
Table 1 exemplarily shows that 9 times of sampling is performed on the terminal, sampling data in each sampling, and theoretical signal strength of a received signal of an environment where the terminal is located, which is calculated according to the sampling data in each sampling, and actual signal strength received by the terminal, which is reported by the terminal. And calculating the difference value between the actual signal strength received by the terminal in each sampling and the theoretical signal strength. And judging whether the terminal is in a blocked state in the sampled data each time by combining the difference value and the signal strength threshold value.
TABLE 1 sampling data of terminal sampling 9 times
Figure BDA0000902356800000191
By taking th column in table 1 as an example, as shown in table 1, data in th column indicates that a name of a base station accessed by a terminal at a sampling time is centaur, a frequency of the base station is 1895Hz, an equivalent height h2 of the terminal is 1.6 m, an equivalent height h1 of an antenna of the base station is 30 m, a time advance TA is 64, a value of an environment variable of an environment where the terminal is currently located is 3, a transmission power of the base station is 15, an antenna gain of the base station is 15, the parameters are obtained by sampling, an environment within a coverage range of the base station in sampling data and a frequency of the base station are used for selecting a formula of theoretical blocking path loss of the terminal, the theoretical blocking path loss of the terminal under the sampling data is calculated to be 122.26, the theoretical signal strength in the sampling obtained is-92.26, an actual signal strength of the terminal obtained by sampling is-105, an absolute value of a difference value of the theoretical signal strength and the time signal strength is 12.74, and the signal strength is 12, at this time, since a threshold 12.74 is greater than 12, it is stated that the terminal is in a state that the terminal is severely blocked by sampling.
Correspondingly, for example, the sixth column of data represents the sixth sampled data, in the sixth sampled data, the theoretical signal strength of the terminal is-81.65, and the actual signal strength of the terminal obtained by sampling is-90; the absolute value of the difference between the theoretical signal strength and the time signal strength is 8.35, and the signal strength threshold is 12, at this time, since 8.35 is less than 12, it indicates that the signal is transmitted from the base station to the terminal without undergoing severe blocking, so the terminal is in a non-blocking state in this sampling.
And then calculating the ratio of the number of times that the terminal is in the blocked state in N samples, such as 9 times of total sampling in Table 1, wherein N is 9 times, and the number of times that the terminal is in the blocked state is 7 times divided by 9 times, and is 77.7%, wherein the blocked proportion threshold is empirical values, such as being set to 70%, and when the ratio of the number of times that the terminal is in the blocked state in the N samples is not less than the blocked proportion threshold, the terminal is determined to be in an indoor scene.
Alternatively, the threshold of the blocked ratio is set empirically and in practice, for example 87.43%.
Optionally, in the embodiment of the present invention, if it is determined that the ratio of the times that the terminal is in the blocked state in N samples is smaller than the blocked ratio threshold, information of a cell where the terminal resides in a previous M days within a preset time period is obtained, a behavior probability value of the terminal in each residing cell is determined according to the information of the cell where the terminal resides in the M days, and if the behavior probability values of at least residing cells meet a preset stability condition, the terminal is determined to be in an indoor scene.
For example, it is required to determine whether the terminal is in an indoor scene, after sampling within 8 o 'clock to 8 o' clock of a preset time period, and determining that the ratio of the number of times that the terminal is in a blocked state in N samples is smaller than a blocked ratio threshold according to the sampling data, at this time, obtaining information of the camping cell of the terminal within 8 o 'clock to 8 o' clock of each day before the current time, such as weeks before today, and estimating whether the terminal is in the indoor scene today according to the information of the camping cell within weeks before.
Optionally, determining a behavior probability value of the terminal in each resident cell according to information of the resident cells of the terminal in M days specifically includes:
sampling the terminal in a preset time period of each day in previous M days to obtain the identification of K cells where the terminal resides in the preset time period of the M days;
for each camping cell of the K cells, performing:
determining the times of various preset behaviors of the terminal in the resident cell within a preset time period within M days;
for each type of preset behavior, calculating the ratio of the frequency of the type of preset behavior of the terminal in the resident cell within a preset time period within M days to the total frequency of the type of preset behavior of the terminal in K cells within the preset time period within M days;
determining the value with the maximum ratio among various preset behaviors as the probability value of the behavior in the resident cell;
wherein K is a positive integer.
Optionally, the various preset behaviors include a behavior of initiating a service in the residential cell by the terminal, a behavior of establishing Radio Resource Control (RRC) connection, a behavior of switching into the residential cell, and a behavior of switching out the residential cell.
By way of example, in connection with table 2, table 2 exemplarily shows 8 to 8-point half of each day of terminal 13812347648 in weeks before today, specifically, data of 8 to 8-point half of each day of terminal 13812347648 in weeks before today is sampled, the sampling may be periodic sampling, such as times every 5 minutes, and the identity of the cell where the terminal resides at the sampling time in weeks before today is obtained through the sampling.
TABLE 2 terminal 13812347648 sampled data from 8 o 'clock to 8 o' clock half of each day in the weeks before today
Figure BDA0000902356800000221
Referring to the th behavior example in table 2, as shown in table 2, when the terminal 13812347648 performs sampling in the previous weeks, the number of times that a sampling point falls in the cell 1 is 117, the number of times that the terminal initiates a service in the cell 1 in a time period from 8 o 'clock to half 8 o' clock of each day in the past weeks is 314, the number of times that an RRC connection is established in the cell 1 is 8, the number of times that a cell is handed in to is camped in the cell 1 is 5, and the number of times that a cell is handed out in the cell 1 is 1, data of the remaining rows has a similar meaning to that of the th row data, and details are not repeated herein.
As shown in table 2, the meaning of the last rows is that when the terminal 13812347648 performs sampling in the previous weeks, the total number of sampling points is 258, that is, the total number of sampling times is 258, the number of times of the terminal initiates a service in 12 cells of the cells 1 to 12 in a time period of 8 to half 8 points of each day in the past weeks is 610, the number of times of the terminal establishes an RRC connection in 12 cells of the cells 1 to 12 is 31, the number of times of the terminal switches into a camping cell in 12 cells of the cells 1 to 12 is 15, and the number of times of the terminal switches into the camping cell in 12 cells of the cells 1 to 12 is 7.
For each type of preset behavior, calculating the ratio of the frequency of the type of preset behavior of the terminal in the resident cell within a preset time period within M days to the total frequency of the type of preset behavior of the terminal in K cells within the preset time period within M days; and determining the value with the maximum ratio among various preset behaviors as the behavior probability value in the resident cell.
Specifically, this step is performed separately for each of 12 cells, and taking cell 1 as an example for illustration, dividing the number of times of the behavior that the terminal 13812347648 initiates traffic in cell 1 by the number of times of the behavior that the terminal 13812347648 initiates traffic in 12 cells together by 610 times, so as to obtain 51.5%; dividing the number of times of the behavior of the terminal 13812347648 for establishing the RRC connection in cell 1 by the number of times of the behavior of the terminal 13812347648 for establishing the RRC connection in 12 cells to obtain 25.8%; dividing the number of times of the behavior that the terminal 13812347648 co-enters the camping cell in the cell 1 by the number of times of the behavior that the terminal 13812347648 co-enters the camping cell in the 12 cells by 15 times to obtain 33.3%; dividing the number of times of the behavior of co-switching the terminal 13812347648 out of the resident cell in the cell 1 by the number of times of the behavior of co-switching the terminal 13812347648 out of the 12 cells by 7 times to obtain 14.3%; it can be seen that the maximum value of the ratio is 51.5%, i.e. the probability value of the terminal behavior in cell 1 is 51.5%.
The stability probability threshold is empirical values, such as set to 80% or 75%, assuming that the stability probability threshold is set to 50%, it is seen that the behavior probability value of the terminal in the cell 1 is 51.5% greater than the stable probability threshold, which indicates that the terminal often resides in the cell 1 in weeks before today, and since the terminal resides in the cell 1, it is inferred that the terminal is in an infrequent moving state, at this time, it is determined that the terminal is also in the indoor scene from 8 o ' clock to 8 o ' clock of today, and optionally, the terminal is in the indoor scene in a determination period corresponding to 8 o ' clock of today.
In addition, implementation manners are that, if the behavior probability values of at least resident cells meet a preset stability condition, it is determined that the terminal is in an indoor scene, including:
if the th cell behavior probability value of the terminal in the K cells meets the th formula of the th cell, determining that the terminal is in an indoor scene;
wherein the th cell is any cells of the K cells;
the th formula for the th cell is:
P={[(Max(x)-Avg3(x)]/Avg3(x)]x (behavior probability value of terminal at th cell) x T;
and P is more than or equal to the stability probability threshold;
in the th formula, T is a constant;
periodically sampling the terminal in a preset time period of each day in M days before the current moment, and counting the number of sampling points corresponding to each cell in K cells, wherein Max (x) is the number of sampling points corresponding to a second cell in the K cells; avg3(x) The average value of the number of sampling points of a second cell, a third cell and a fourth cell in the K cells is obtained;
the second cell is the cell with the largest number of sampling points in the K cells; the third cell is a cell with a plurality of sampling points in K cells; the fourth cell is a cell with the third most sampling points in the K cells.
Taking the th cell as cell 1 as an example, and referring to table 2, examples are introduced, in table 2, the second cell is the cell with the largest number of samples among K cells, the third cell is the cell with the largest number of samples among K cells, and the fourth cell is the cell with the third largest number of samples among K cells, that is, the second cell is cell 1, the third cell is cell 2, and the fourth cell is cell 3 in table 2.
And (max) is the number of sampling points corresponding to the second cell in the K cells, and is the number 117 of sampling points in the cell 1. Avg3(x) Is the average value of the number of sampling points of the second cell, the third cell and the fourth cell in the K cells, namely the Avg3(x) The average value of 117, 48 and 35 is 66.67, the behavior probability value of the terminal in the th cell is 51.5% calculated above, T is an empirical value, is constants, such as a number not greater than 1, and can be selected according to specific situations, and preferably, T is selected from 0.8 to 0.9, in this example, T is selected from 0.8.
Substituting the above formula to calculate that P corresponding to cell 1 is 31%, the stability probability threshold is 75%, and it can be seen that P of cell 1 is not greater than the stability probability threshold, and further determining whether P of other cells in 12 cells is greater than the stability probability threshold, in the process of determining whether P of other cells in 12 cells is greater than the stability probability threshold, th cell is in turn each of 12 cells, and the second cell 1, the third cell is cell 2, and the fourth cell is cell 3.
Optionally, if the behavior probability values of resident cells do not meet a preset stability condition, acquiring Q groups of signal quality parameters reported by the terminal, wherein Q is a positive integer;
aiming at each group of signal quality parameters in the Q groups of signal quality parameters, when the group of signal quality parameters are determined to belong to the threshold range of the signal quality parameters of the indoor standard users corresponding to the base station accessed by the terminal, determining the group of signal quality parameters as alternative signal quality parameters;
and when the ratio of the number of the candidate signal quality parameters in Q is determined to be larger than the characteristic parameter ratio threshold, determining that the terminal is in an indoor scene at the current moment.
Optionally, each of the Q sets of Signal quality parameters includes RSRP, RSRQ, TA, Signal to Interference plus Noise Ratio (SINR);
the threshold range of the signal quality parameter corresponding to the base station comprises an RSRP threshold range, an RSRQ threshold range, a TA threshold range and an SINR threshold range;
for each group of signal quality parameters in the Q groups of signal quality parameters, when it is determined that the group of signal quality parameters belongs to the threshold range of the signal quality parameter corresponding to the base station, determining the group of signal quality parameters as alternative signal quality parameters, specifically including:
for each of the Q sets of signal quality parameters, performing:
if the RSRP in the group of signal quality parameters is determined to belong to the RSRP threshold range in the threshold range of the signal quality parameters corresponding to the base station; and the RSRQ in the group of signal quality parameters belongs to the RSRQ threshold range in the threshold range of the signal quality parameters corresponding to the base station; the TA in the set of signal quality parameters belongs to a threshold range of the TA in the threshold range of the signal quality parameters corresponding to the base station; the SINR in the set of signal quality parameters belongs to a threshold range of SINR in a threshold range of signal quality parameters corresponding to the base station:
then: the set of signal quality parameters is determined to be candidate signal quality parameters.
For example, when the terminal currently accesses the base station 1, the terminal reports the signal quality parameters of the base station 1, obtains 5 sets of signal quality parameters reported by the terminal, that is, obtains 5 measurement reports reported by the terminal, where each measurement report includes sets of signal quality parameters, where the measurement report includes a plurality of parameters, as before, optionally, the sets of signal quality parameters in the embodiment of the present invention may include RSRP, RSRQ, TA, and SINR, and the threshold range of the signal quality parameters of the base station 1 includes a threshold range of RSRP, a threshold range of RSRQ, a threshold range of TA, a threshold range of SINR, such as a threshold range of RSRP (-103, -110), a threshold range of RSRQ (-7, -11), a threshold range of TA (3,7), and a threshold range of SINR (6, 10).
It is determined whether each of the 5 sets of signal quality parameters is an alternative signal quality parameter, such as where sets of signal quality parameters are RSRP of-105, RSRQ of-8, TA of 5, and SINR of 8, at which time, it is seen that-105 of the set of signal quality parameters RSRP falls within the RSRP threshold range (-103, -110), and-8 of RSRQ falls within the RSRQ threshold range (-7, -11), 5 of TA falls within the TA threshold range (3,7), and 8 of SINR falls within the SINR threshold range (6,10), at which time, the set of signal quality parameters is an alternative signal quality parameter.
Accordingly, if of the set of signal quality parameters are RSRP of-105, RSRQ of-6, TA of 5, and SINR of 8, at this point, it is seen that-105 of the set of signal quality parameters RSRP falls within the threshold range of RSRP (-103, -110), and-6 of RSRQ does not fall within the threshold range of RSRQ (-7, -11), 5 of TA falls within the threshold range of TA (3,7), and 8 of SINR falls within the threshold range of SINR (6,10), at this point, the set of signal quality parameters is not an alternative signal quality parameter.
The characteristic parameter proportion threshold is constants, such as 60%, 45%, etc., there are 4 sets of candidate signal quality parameters in 5 sets of signal quality parameters, when the ratio of the number of candidate signal quality parameters in Q is 4 divided by 5, equal to 80%, when the characteristic parameter proportion threshold is 60%, 80% is greater than the characteristic parameter proportion threshold, thus determining that the current time of the terminal is in the indoor scene.
The embodiment of the present invention provides optional implementation manners, wherein each base station may correspond to a threshold range of sets of signal quality parameters, and the threshold range may be preset or obtained in other manners, and the threshold range of the signal quality parameters of the indoor standard user corresponding to the base station to which the terminal accesses is determined in the following manner:
the signal quality parameters of the indoor standard users corresponding to the base station are multiple, and the signal quality parameters reported by each standard user in the multiple indoor standard users are obtained aiming at each signal quality parameter;
determining a parameter range including the signal quality parameters of the indoor standard users with the ratio of according to the normal distribution and the signal quality parameters of the indoor standard users with the ratio of in the plurality of indoor standard users;
the parameter range is determined as a threshold range of the signal quality parameter.
For example, when it is desired to determine the threshold range of the signal quality parameter corresponding to the base station 1, the signal quality parameter of the indoor standard user corresponding to the base station 1 is obtained first, specifically, the indoor standard user corresponding to the base station 1 is a user accessing the base station 1 and a user in an indoor scene, and it is assumed that there are 100 indoor standard users corresponding to the base station 1, and a process of how to obtain the threshold range of RSRP is described by taking the signal quality parameter as RSRP as an example.
The RSRPs reported by the 100 indoor standard users are obtained, fig. 2a exemplarily shows a distribution diagram of the RSRPs, as shown in fig. 2a, a distribution diagram of the RSRPs of the 100 users is normal distributions, and as can be known from mathematical knowledge in the prior art, a formula of the normal distributions is as follows:
Figure BDA0000902356800000271
where x is a random variable, in this example x is RSRP; f (x) the number of standard users in the room in this example;
two parameters, namely a mean mu and a standard deviation sigma, are normally distributed, and the mean mu determines the central position of a normal curve; the standard deviation σ determines how steep or flat the normal curve is; the smaller sigma, the steeper the curve; the larger σ, the flatter the curve;
pi is a constant of 3.14.
The distribution graph of RSRP of 100 indoor standard users conforms to the formula of the normal distribution, and the mean μ and the standard deviation σ in the formula can be obtained according to RSRP of 100 users.
For example, the th ratio is 80%, the RSRP ranges from a to B determined by the RSRP of the indoor standard users, which account for 80% of the 100 indoor standard users, and thus the threshold range of the RSRP corresponding to the base station 1 is determined to be [ a, B ], where a and B are two values of RSRP.
Similar to the above method, the threshold range of each signal quality parameter, such as the threshold range of the acquirable RSRQ, the threshold range of the TA, and the threshold range of the SINR, is determined.
According to the embodiment of the invention, the condition that the terminal is in the indoor scene can be accurately evaluated, support is provided for network construction and optimization, the signal condition of the terminal in the indoor scene can be more accurately analyzed, a better network is provided for a user, the perception of the indoor user is improved, and the terminal in the indoor scene can be accurately marketed.
It can be seen from the above that, in the embodiment of the present invention, N times of sampling data of a terminal in a preset time period at a current moment is obtained, theoretical signal strength of a received signal of an environment where the terminal is located in each sampling and actual signal strength received by the terminal are determined, where N is a positive integer, if an absolute value of a difference between actual signal strength received by the terminal and the theoretical signal strength in times of sampling is not less than a signal strength threshold, the terminal is determined to be in a blocked state, if a ratio of a number of times that the terminal is in the blocked state in N times of sampling is not less than a blocked ratio threshold, the terminal is determined to be in an indoor scene.
Fig. 3 is a schematic structural diagram illustrating an indoor scene recognition device provided by an embodiment of the present invention.
Based on the same concept, the embodiment of the present invention provides kinds of indoor scene recognition apparatuses, as shown in fig. 3, an indoor scene recognition apparatus 300 includes an acquisition unit 301 and a processing unit 302:
the device comprises an acquisition unit, a processing unit and a processing unit, wherein the acquisition unit is used for acquiring N times of sampling data of a terminal in a preset time period at the current moment and determining the theoretical signal intensity of a received signal of the environment where the terminal is located in each sampling and the actual signal intensity received by the terminal; wherein N is a positive integer;
and the processing unit is used for determining that the terminal is in a blocked state if the absolute value of the difference value between the actual signal strength received by the terminal and the theoretical signal strength in times of sampling is not less than the signal strength threshold value, and determining that the terminal is in an indoor scene if the proportion of the times of determining that the terminal is in the blocked state in N times of sampling is not less than the blocked proportion threshold value.
Optionally, the processing unit is further configured to:
if the ratio of the times of the terminal in the blocked state in the N times of sampling is determined to be smaller than the blocked ratio threshold value, acquiring the information of the resident cell of the terminal in the previous preset time period of M days; wherein M is a positive integer;
determining the behavior probability value of the terminal in each resident cell according to the information of the resident cells of the terminal in M days;
and if the behavior probability values of at least resident cells meet the preset stability condition, determining that the terminal is in an indoor scene.
Optionally, the processing unit is further configured to:
if the behavior probability values of resident cells do not meet a preset stability condition, Q group signal quality parameters reported by the terminal are obtained, wherein Q is a positive integer;
aiming at each group of signal quality parameters in the Q groups of signal quality parameters, when the group of signal quality parameters are determined to belong to the threshold range of the signal quality parameters of the indoor standard users corresponding to the base station accessed by the terminal, determining the group of signal quality parameters as alternative signal quality parameters;
and when the ratio of the number of the candidate signal quality parameters in Q is determined to be larger than the characteristic parameter ratio threshold, determining that the terminal is in an indoor scene at the current moment.
Optionally, the obtaining unit is specifically configured to:
for each of the N samples, performing:
determining a formula for calculating the theoretical average propagation loss of the base station according to the parameters of the base station accessed by the terminal acquired by the sampling;
adding the calculated theoretical average propagation loss and the environment variable of the current environment of the terminal to obtain the theoretical blocking path loss of the terminal;
and adding the transmitting power of the base station and the antenna gain of the base station, and subtracting the theoretical blocking path loss to obtain the theoretical signal strength of the signal transmitted by the base station and currently received by the terminal.
Optionally, determining a formula for calculating a theoretical average propagation loss of the base station according to the parameters of the base station to which the terminal accesses, which are collected by the sampling, includes:
when d is not more than 0.04, L is 32.4+20 × lg (f) +10 × lg [ d2+ (Hb-Hm) × 2/106 ];
l ═ L (0.04) + [ lg (d) -lg (0.04) ]/[ lg (0.1) -lg (0.04) ] × [ L (0.1) -L (0.04) ], at 0.04 < d ≦ 0.1;
when d is larger than 0.1, the coverage area of the base station is determined to be urban area according to the parameters of the base station, when the frequency of the base station is 1500 to 2000,
L=46.3+33.9lg(f)-13.82lg[max(30,Hb)]+{44.9-6.55lg[max(30,Hb)]}×[lg(d)]×α-α(Hm)-b(Hb);
when d is larger than 0.1, the coverage area of the base station is determined to be urban area according to the parameters of the base station, when the frequency of the base station is 2000 to 3000,
L=46.3+33.9lg(2000)+10lg(f/2000)-13.82lg[max(30,Hb)]+{44.9-6.55lg[max(30,Hb)]}×[lg(d)]×α-α(Hm)-b(Hb);
when d is larger than 0.1, determining the coverage area of the base station to be suburban according to the parameters of the base station,
L=L(urban)-2×2×lg{min[max(150,f),2000)]/28}-5.4;
when d is larger than 0.1, when the coverage area of the base station is determined to be open according to the parameters of the base station,
L=L(urban)-4.78×2×lg{min[max(150,f),2000)]/28}+
18.33×lg{min[max(150,f),2000)]/28}-40.94;
where/represents the division in the mathematical calculation;
d represents the projection length of the actual distance between the terminal and the base station on the horizontal plane; d2 represents the actual distance between the terminal and the base station to which the terminal is connected;
l is the theoretical average propagation loss of the signal transmitted to the terminal by the base station; f is the frequency of the base station accessed by the terminal determined according to the parameters of the base station;
hm & min (h1, h 2); hb max (h1, h 2); wherein h1 is the equivalent height of the antenna of the base station determined according to the parameters of the base station; h2 is the equivalent height of the terminal;
l (0.04) is the value of L when d is equal to 0.04; l (0.1) is the value of L when d is equal to 0.1;
α=1+(0.14+1.87×10-4×f+1.07×10-3×Hb);
α(Hm)=[1.1lg(f)-0.7]×min(10,Hm)-1.56lg(f)+max[0,20lg(Hm/10)];
b(Hb)=min[0,20lg(Hb/30)];
and L (urban) is d > 0.1, and the value of L is determined according to the frequency of the base station when the coverage area of the base station is urban.
Optionally, the processing unit is specifically configured to:
sampling the terminal in a preset time period of each day in previous M days to obtain the identification of K cells where the terminal resides in the preset time period of the M days;
for each camping cell of the K cells, performing:
determining the times of various preset behaviors of the terminal in the resident cell within a preset time period within M days;
for each type of preset behavior, calculating the ratio of the frequency of the type of preset behavior of the terminal in the resident cell within a preset time period within M days to the total frequency of the type of preset behavior of the terminal in K cells within the preset time period within M days;
determining the value with the maximum ratio among various preset behaviors as the probability value of the behavior in the resident cell;
wherein K is a positive integer.
Optionally, the various preset behaviors include a behavior of initiating a service in the residential cell by the terminal, a behavior of establishing a radio resource control RRC connection, a behavior of switching into the residential cell, and a behavior of switching out the residential cell.
Optionally, the processing unit is specifically configured to:
and if the behavior probability values of at least resident cells are not smaller than the stability probability threshold, determining that the terminal is in an indoor scene.
Optionally, the processing unit is specifically configured to:
if the th cell behavior probability value of the terminal in the K cells meets the th formula of the th cell, determining that the terminal is in an indoor scene;
wherein the th cell is any cells of the K cells;
the th formula for the th cell is:
P={[(Max(x)-Avg3(x)]/Avg3(x)]x (behavior probability value of terminal at th cell) x T;
and P is more than or equal to the stability probability threshold;
in the th formula, T is a constant;
periodically sampling the terminal in a preset time period of each day in M days before the current moment, and counting the number of sampling points corresponding to each cell in K cells, wherein Max (x) is the number of sampling points corresponding to a second cell in the K cells; avg3(x) The average value of the number of sampling points of a second cell, a third cell and a fourth cell in the K cells is obtained;
the second cell is the cell with the largest number of sampling points in the K cells; the third cell is a cell with a plurality of sampling points in K cells; the fourth cell is a cell with the third most sampling points in the K cells.
Optionally, each of the Q sets of signal quality parameters includes reference signal received power RSRP, reference signal received quality RSRQ, timing advance TA, signal to interference plus noise ratio SINR;
the threshold range of the signal quality parameter corresponding to the base station comprises an RSRP threshold range, an RSRQ threshold range, a TA threshold range and an SINR threshold range;
the processing unit, when determining that the set of signal quality parameters belongs to the threshold range of the signal quality parameters corresponding to the base station for each set of signal quality parameters in the Q sets of signal quality parameters, and when determining that the set of signal quality parameters is the candidate signal quality parameters, is specifically configured to:
for each of the Q sets of signal quality parameters, performing:
if the RSRP in the group of signal quality parameters is determined to belong to the RSRP threshold range in the threshold range of the signal quality parameters corresponding to the base station; and is
The RSRQ in the group of signal quality parameters belongs to the threshold range of the RSRQ in the threshold range of the signal quality parameters corresponding to the base station;
the TA in the set of signal quality parameters belongs to a threshold range of the TA in the threshold range of the signal quality parameters corresponding to the base station;
the SINR in the set of signal quality parameters belongs to a threshold range of SINR in a threshold range of signal quality parameters corresponding to the base station:
then: the set of signal quality parameters is determined to be candidate signal quality parameters.
Optionally, the processing unit is further configured to:
determining the threshold range of the signal quality parameter of the indoor standard user corresponding to the base station accessed by the terminal through the following modes:
the signal quality parameters of the indoor standard users corresponding to the base station are multiple, and the signal quality parameters reported by each standard user in the multiple indoor standard users are obtained aiming at each signal quality parameter;
determining a parameter range including the signal quality parameters of the indoor standard users with the ratio of according to the normal distribution and the signal quality parameters of the indoor standard users with the ratio of in the plurality of indoor standard users;
the parameter range is determined as a threshold range of the signal quality parameter.
It can be seen from the above that, in the embodiment of the present invention, N times of sampling data of a terminal in a preset time period at a current moment is obtained, theoretical signal strength of a received signal of an environment where the terminal is located in each sampling and actual signal strength received by the terminal are determined, where N is a positive integer, if an absolute value of a difference between actual signal strength received by the terminal and the theoretical signal strength in times of sampling is not less than a signal strength threshold, the terminal is determined to be in a blocked state, if a ratio of a number of times that the terminal is in the blocked state in N times of sampling is not less than a blocked ratio threshold, the terminal is determined to be in an indoor scene.
Furthermore, the present invention may take the form of a computer program product embodied on or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, etc.) having computer-usable program code embodied therein.
It is to be understood that each flow and/or block in the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions which can be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flow diagram flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
Having described preferred embodiments of the invention, further alterations and modifications may be effected to these embodiments by those skilled in the art having the benefit of the basic inventive concepts .
It will be apparent to those skilled in the art that various changes and modifications may be made in the present invention without departing from the spirit and scope of the invention. Thus, if such modifications and variations of the present invention fall within the scope of the claims of the present invention and their equivalents, the present invention is also intended to include such modifications and variations.

Claims (18)

1, indoor scene recognition method, characterized by comprising:
acquiring N times of sampling data of a terminal in a preset time period at the current moment, and determining the theoretical signal intensity of a received signal of the environment where the terminal is located in each sampling and the actual signal intensity received by the terminal; wherein N is a positive integer;
if the absolute value of the difference value between the actual signal strength received by the terminal in the times of sampling and the theoretical signal strength is not less than the signal strength threshold value, determining that the terminal is in a blocked state;
if the proportion of the times that the terminal is in the blocked state in the N times of sampling is determined to be not less than the blocked proportion threshold value, determining that the terminal is in an indoor scene;
the method further comprises the following steps:
if the ratio of the times that the terminal is in the blocked state in the N times of sampling is determined to be smaller than the blocked ratio threshold value, acquiring the information of the resident cell of the terminal in the previous M days within the preset time period; wherein M is a positive integer;
determining a behavior probability value of the terminal in each resident cell according to the information of the resident cells of the terminal in the M days;
if the behavior probability values of at least resident cells meet a preset stability condition, determining that the terminal is in an indoor scene;
the determining, according to the information of the residential cell of the terminal within the M days, a behavior probability value of the terminal in each residential cell specifically includes:
sampling the terminal in the preset time period of each day in the previous M days to obtain the identification of K cells where the terminal resides in the preset time period of the M days;
for each camping cell of the K cells, performing:
determining the times of various preset behaviors of the terminal in the resident cell in the preset time period within the M days;
for each type of preset behavior, calculating the ratio of the number of times of the type of preset behavior of the terminal in the resident cell in the preset time period within the M days to the total number of times of the type of preset behavior of the terminal in the K cells in the preset time period within the M days;
determining the value with the maximum ratio among various preset behaviors as the probability value of the behavior in the resident cell;
wherein K is a positive integer.
2. The method of claim 1, further comprising:
if the behavior probability values of resident cells do not meet a preset stability condition, acquiring Q group signal quality parameters reported by the terminal, wherein Q is a positive integer;
for each group of signal quality parameters in the Q groups of signal quality parameters, when the group of signal quality parameters are determined to belong to the threshold range of the signal quality parameters of the indoor standard users corresponding to the base station accessed by the terminal, determining the group of signal quality parameters as alternative signal quality parameters;
and when the ratio of the number of the candidate signal quality parameters in the Q is determined to be larger than the characteristic parameter ratio threshold, determining that the terminal is in an indoor scene at the current moment.
3. The method according to claim 1 or 2, wherein the obtaining of the data sampled by the terminal N times within a preset time period at the current time and the determining of the theoretical signal strength of the received signal of the environment where the terminal is located in each sampling specifically include:
for each of the N samples, performing:
determining a formula for calculating the theoretical average propagation loss of the base station according to the parameters of the base station accessed by the terminal acquired by the sampling;
adding the calculated theoretical average propagation loss and an environment variable of the current environment of the terminal to obtain the theoretical blocking path loss of the terminal;
and adding the transmitting power of the base station and the antenna gain of the base station, and subtracting the theoretical blocking path loss to obtain the theoretical signal strength of the signal transmitted by the base station, which is currently received by the terminal.
4. The method as claimed in claim 3, wherein said determining a formula for calculating the theoretical average propagation loss of the base station according to the parameters of the base station accessed by the terminal collected by the sampling comprises:
when d is not more than 0.04, L is 32.4+20 × lg (f) +10 × lg [ d2+ (Hb-Hm) × 2/106 ];
l ═ L (0.04) + [ lg (d) -lg (0.04) ]/[ lg (0.1) -lg (0.04) ] × [ L (0.1) -L (0.04) ], at 0.04 < d ≦ 0.1;
when d is larger than 0.1, determining the coverage area of the base station to be an urban area according to the parameters of the base station, when the frequency of the base station is 1500-2000,
L=46.3+33.9lg(f)-13.82lg[max(30,Hb)]+{44.9-6.55lg[max(30,Hb)]}×[lg(d)]×α-α(Hm)-b(Hb);
when d is larger than 0.1, determining the coverage area of the base station to be an urban area according to the parameters of the base station, when the frequency of the base station is 2000 to 3000,
L=46.3+33.9lg(2000)+10lg(f/2000)-13.82lg[max(30,Hb)]+{44.9-6.55lg[max(30,Hb)]}×[lg(d)]×α-α(Hm)-b(Hb);
when d is larger than 0.1, determining the coverage area of the base station to be suburban according to the parameters of the base station,
L=L(urban)-2×2×lg{min[max(150,f),2000)]/28}-5.4;
when d is larger than 0.1, when the coverage area of the base station is determined to be open according to the parameters of the base station,
L=L(urban)-4.78×2×lg{min[max(150,f),2000)]/28}+
18.33×lg{min[max(150,f),2000)]/28}-40.94;
where/represents the division in the mathematical calculation;
d represents the projection length of the actual distance between the terminal and the base station on the horizontal plane; d2 represents the actual distance between the terminal and the base station to which the terminal is accessing;
l is a theoretical average propagation loss of a signal transmitted from the base station to the terminal; f is the frequency of the base station accessed by the terminal determined according to the parameters of the base station;
hm & min (h1, h 2); hb max (h1, h 2); wherein h1 is the equivalent height of the antenna of the base station determined according to the parameters of the base station; h2 is the equivalent height of the terminal;
l (0.04) is the value of L when d is equal to 0.04; l (0.1) is the value of L when d is equal to 0.1;
α=1+(0.14+1.87×10-4×f+1.07×10-3×Hb);
α(Hm)=[1.1lg(f)-0.7]×min(10,Hm)-1.56lg(f)+max[0,20lg(Hm/10)];
b(Hb)=min[0,20lg(Hb/30)];
l (urban) is d > 0.1, and when the coverage area of the base station is urban area, the value of L is determined according to the frequency of the base station, α is antenna height, α (Hm) is attenuation value caused by antenna height, b (Hb) is attenuation value caused by terminal height.
5. The method according to claim 1, wherein the various types of predetermined behaviors include a behavior of the terminal initiating a service in a camped cell, a behavior of establishing a radio resource control, RRC, connection into a camped cell, and a behavior of switching out of a camped cell.
6. The method of claim 1 or 2, wherein determining that the terminal is in an indoor scenario if the behavior probability values of at least camping cells satisfy a preset stability condition comprises:
and if the behavior probability values of at least resident cells are not smaller than the stability probability threshold, determining that the terminal is in an indoor scene.
7. The method of claim 1 or 2, wherein determining that the terminal is in an indoor scenario if the behavior probability values of at least camping cells satisfy a preset stability condition comprises:
determining that the terminal is in an indoor scene if the behavior probability value of the terminal in th cells of the K cells is determined to meet the th formula of the th cell;
wherein the th cell is any cells of the K cells;
the th formula of the th cell is:
P={[(Max(x)-Avg3(x)]/Avg3(x)]x (behavior probability value of the terminal at the th cell) × T;
and P is more than or equal to the stability probability threshold;
in the th formula, T is a constant;
periodically sampling the terminal in the preset time period of each day in M days before the current moment, and counting the numberIf the number of sampling points corresponding to each cell in the K cells is greater than or equal to max (x), the number of sampling points corresponding to a second cell in the K cells is greater than or equal to max (x); the Avg3(x) The average value of the number of sampling points of the second cell, the third cell and the fourth cell in the K cells is obtained;
the second cell is the cell with the largest number of sampling points in the K cells; the third cell is a cell with a plurality of sampling points in the K cells; and the fourth cell is a cell with the third most sampling points in the K cells.
8. The method of claim 2, wherein each of the Q sets of signal quality parameters comprises a reference signal received power, RSRP, a reference signal received quality, RSRQ, a timing advance, TA, a signal to interference plus noise ratio, SINR;
the threshold range of the signal quality parameter corresponding to the base station comprises an RSRP threshold range, an RSRQ threshold range, a TA threshold range and an SINR threshold range;
the determining, for each of the Q sets of signal quality parameters, that the set of signal quality parameters is an alternative signal quality parameter when it is determined that the set of signal quality parameters belongs to a threshold range of the signal quality parameter corresponding to the base station specifically includes:
for each of the Q sets of signal quality parameters, performing:
if the RSRP in the group of signal quality parameters is determined to belong to the threshold range of the RSRP in the threshold range of the signal quality parameters corresponding to the base station; and is
The RSRQ in the set of signal quality parameters belongs to a threshold range of the RSRQ in a threshold range of the signal quality parameters corresponding to the base station;
TA in the set of signal quality parameters belongs to a threshold range of the TA in a threshold range of the signal quality parameters corresponding to the base station;
the SINR in the set of signal quality parameters belongs to the threshold range of the SINR in the threshold range of the signal quality parameters corresponding to the base station;
then: the set of signal quality parameters is determined to be candidate signal quality parameters.
9. The method of claim 2, wherein the threshold range of the signal quality parameter of the indoor standard user corresponding to the base station accessed by the terminal is determined by:
the base station comprises a plurality of indoor standard users, and the base station acquires the signal quality parameters reported by each standard user in the plurality of indoor standard users aiming at each signal quality parameter;
determining a parameter range including the signal quality parameters of the indoor standard users with the ratio of according to normal distribution and the signal quality parameters of the indoor standard users with the ratio of in the plurality of indoor standard users;
the parameter range is determined as a threshold range of the signal quality parameter.
10, indoor scene recognition apparatus, comprising:
the device comprises an acquisition unit, a processing unit and a processing unit, wherein the acquisition unit is used for acquiring N times of sampling data of a terminal in a preset time period at the current moment and determining the theoretical signal intensity of a received signal of the environment where the terminal is located in each sampling and the actual signal intensity received by the terminal; wherein N is a positive integer;
the processing unit is used for determining that the terminal is in a blocked state if the absolute value of the difference value between the actual signal strength received by the terminal and the theoretical signal strength in times of sampling is not less than a signal strength threshold value, and determining that the terminal is in an indoor scene if the proportion of the times of determining that the terminal is in the blocked state in N times of sampling is not less than a blocked proportion threshold value;
the processing unit is further configured to:
if the ratio of the times that the terminal is in the blocked state in the N times of sampling is determined to be smaller than the blocked ratio threshold value, acquiring the information of the resident cell of the terminal in the previous M days within the preset time period; wherein M is a positive integer;
determining a behavior probability value of the terminal in each resident cell according to the information of the resident cells of the terminal in the M days;
if the behavior probability values of at least resident cells meet a preset stability condition, determining that the terminal is in an indoor scene;
the processing unit is specifically configured to:
sampling the terminal in the preset time period of each day in the previous M days to obtain the identification of K cells where the terminal resides in the preset time period of the M days;
for each camping cell of the K cells, performing:
determining the times of various preset behaviors of the terminal in the resident cell in the preset time period within the M days;
for each type of preset behavior, calculating the ratio of the number of times of the type of preset behavior of the terminal in the resident cell in the preset time period within the M days to the total number of times of the type of preset behavior of the terminal in the K cells in the preset time period within the M days;
determining the value with the maximum ratio among various preset behaviors as the probability value of the behavior in the resident cell;
wherein K is a positive integer.
11. The device of claim 10, wherein the processing unit is further to:
if the behavior probability values of resident cells do not meet a preset stability condition, acquiring Q group signal quality parameters reported by the terminal, wherein Q is a positive integer;
for each group of signal quality parameters in the Q groups of signal quality parameters, when the group of signal quality parameters are determined to belong to the threshold range of the signal quality parameters of the indoor standard users corresponding to the base station accessed by the terminal, determining the group of signal quality parameters as alternative signal quality parameters;
and when the ratio of the number of the candidate signal quality parameters in the Q is determined to be larger than the characteristic parameter ratio threshold, determining that the terminal is in an indoor scene at the current moment.
12. The device according to claim 10 or 11, wherein the obtaining unit is specifically configured to:
for each of the N samples, performing:
determining a formula for calculating the theoretical average propagation loss of the base station according to the parameters of the base station accessed by the terminal acquired by the sampling;
adding the calculated theoretical average propagation loss and an environment variable of the current environment of the terminal to obtain the theoretical blocking path loss of the terminal;
and adding the transmitting power of the base station and the antenna gain of the base station, and subtracting the theoretical blocking path loss to obtain the theoretical signal strength of the signal transmitted by the base station, which is currently received by the terminal.
13. The apparatus of claim 12, wherein the determining a formula for calculating the theoretical average propagation loss of the base station according to the parameters of the base station accessed by the terminal collected by the sampling comprises:
when d is not more than 0.04, L is 32.4+20 × lg (f) +10 × lg [ d2+ (Hb-Hm) × 2/106 ];
l ═ L (0.04) + [ lg (d) -lg (0.04) ]/[ lg (0.1) -lg (0.04) ] × [ L (0.1) -L (0.04) ], at 0.04 < d ≦ 0.1;
when d is larger than 0.1, determining the coverage area of the base station to be an urban area according to the parameters of the base station, when the frequency of the base station is 1500-2000,
L=46.3+33.9lg(f)-13.82lg[max(30,Hb)]+{44.9-6.55lg[max(30,Hb)]}×[lg(d)]×α-α(Hm)-b(Hb);
when d is larger than 0.1, determining the coverage area of the base station to be an urban area according to the parameters of the base station, when the frequency of the base station is 2000 to 3000,
L=46.3+33.9lg(2000)+10lg(f/2000)-13.82lg[max(30,Hb)]+{44.9-6.55lg[max(30,Hb)]}×[lg(d)]×α-α(Hm)-b(Hb);
when d is larger than 0.1, determining the coverage area of the base station to be suburban according to the parameters of the base station,
L=L(urban)-2×2×lg{min[max(150,f),2000)]/28}-5.4;
when d is larger than 0.1, when the coverage area of the base station is determined to be open according to the parameters of the base station,
L=L(urban)-4.78×2×lg{min[max(150,f),2000)]/28}+
18.33×lg{min[max(150,f),2000)]/28}-40.94;
where/represents the division in the mathematical calculation;
d represents the projection length of the actual distance between the terminal and the base station on the horizontal plane; d2 represents the actual distance between the terminal and the base station to which the terminal is accessing;
l is a theoretical average propagation loss of a signal transmitted from the base station to the terminal; f is the frequency of the base station accessed by the terminal determined according to the parameters of the base station;
hm & min (h1, h 2); hb max (h1, h 2); wherein h1 is the equivalent height of the antenna of the base station determined according to the parameters of the base station; h2 is the equivalent height of the terminal;
l (0.04) is the value of L when d is equal to 0.04; l (0.1) is the value of L when d is equal to 0.1;
α=1+(0.14+1.87×10-4×f+1.07×10-3×Hb);
α(Hm)=[1.1lg(f)-0.7]×min(10,Hm)-1.56lg(f)+max[0,20lg(Hm/10)];
b(Hb)=min[0,20lg(Hb/30)];
l (urban) is d > 0.1, and when the coverage area of the base station is urban area, the value of L is determined according to the frequency of the base station, α is antenna height, α (Hm) is attenuation value caused by antenna height, b (Hb) is attenuation value caused by terminal height.
14. The apparatus according to claim 10, wherein the various types of preset behaviors include a behavior of the terminal initiating a service in a camped cell, a behavior of establishing a radio resource control, RRC, connection into a camped cell, and a behavior of switching out of a camped cell.
15. The device according to claim 10 or 11, wherein the processing unit is specifically configured to:
and if the behavior probability values of at least resident cells are not smaller than the stability probability threshold, determining that the terminal is in an indoor scene.
16. The device according to claim 10 or 11, wherein the processing unit is specifically configured to:
determining that the terminal is in an indoor scene if the behavior probability value of the terminal in th cells of the K cells is determined to meet the th formula of the th cell;
wherein the th cell is any cells of the K cells;
the th formula of the th cell is:
P={[(Max(x)-Avg3(x)]/Avg3(x)]x (behavior probability value of the terminal at the th cell) × T;
and P is more than or equal to the stability probability threshold;
in the th formula, T is a constant;
periodically sampling the terminal in the preset time period of each day in M days before the current moment, and counting the number of sampling points corresponding to each cell in the K cells, wherein Max (x) is the number of sampling points corresponding to a second cell in the K cells; the Avg3(x) The average value of the number of sampling points of the second cell, the third cell and the fourth cell in the K cells is obtained;
the second cell is the cell with the largest number of sampling points in the K cells; the third cell is a cell with a plurality of sampling points in the K cells; and the fourth cell is a cell with the third most sampling points in the K cells.
17. The apparatus of claim 11, wherein each of the Q sets of signal quality parameters comprises a reference signal received power, RSRP, a reference signal received quality, RSRQ, a timing advance, TA, a signal to interference plus noise ratio, SINR;
the threshold range of the signal quality parameter corresponding to the base station comprises an RSRP threshold range, an RSRQ threshold range, a TA threshold range and an SINR threshold range;
the processing unit, when determining that the set of signal quality parameters belongs to the threshold range of the signal quality parameters corresponding to the base station for each set of signal quality parameters in the Q sets of signal quality parameters, and when determining that the set of signal quality parameters is the candidate signal quality parameters, is specifically configured to:
for each of the Q sets of signal quality parameters, performing:
if the RSRP in the group of signal quality parameters is determined to belong to the threshold range of the RSRP in the threshold range of the signal quality parameters corresponding to the base station; and is
The RSRQ in the set of signal quality parameters belongs to a threshold range of the RSRQ in a threshold range of the signal quality parameters corresponding to the base station;
TA in the set of signal quality parameters belongs to a threshold range of the TA in a threshold range of the signal quality parameters corresponding to the base station;
the SINR in the set of signal quality parameters belongs to the threshold range of the SINR in the threshold range of the signal quality parameters corresponding to the base station;
then: the set of signal quality parameters is determined to be candidate signal quality parameters.
18. The device of claim 11, wherein the processing unit is further to:
determining the threshold range of the signal quality parameter of the indoor standard user corresponding to the base station accessed by the terminal by the following method:
the base station comprises a plurality of indoor standard users, and the base station acquires the signal quality parameters reported by each standard user in the plurality of indoor standard users aiming at each signal quality parameter;
determining a parameter range including the signal quality parameters of the indoor standard users with the ratio of according to normal distribution and the signal quality parameters of the indoor standard users with the ratio of in the plurality of indoor standard users;
the parameter range is determined as a threshold range of the signal quality parameter.
CN201610008344.6A 2016-01-07 2016-01-07 indoor scene recognition method and device Active CN106954256B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610008344.6A CN106954256B (en) 2016-01-07 2016-01-07 indoor scene recognition method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610008344.6A CN106954256B (en) 2016-01-07 2016-01-07 indoor scene recognition method and device

Publications (2)

Publication Number Publication Date
CN106954256A CN106954256A (en) 2017-07-14
CN106954256B true CN106954256B (en) 2020-01-31

Family

ID=59465624

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610008344.6A Active CN106954256B (en) 2016-01-07 2016-01-07 indoor scene recognition method and device

Country Status (1)

Country Link
CN (1) CN106954256B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2021171103A1 (en) * 2020-02-26 2021-09-02 Telefonaktiebolaget Lm Ericsson (Publ) Cellular network indoor traffic auto-detection

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113099378B (en) * 2021-03-23 2023-05-16 北京三快在线科技有限公司 Positioning method, device, equipment and storage medium
CN115515143B (en) * 2021-06-22 2024-07-02 中国移动通信集团重庆有限公司 Base station coverage scene determination method, device, equipment and storage medium

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104427613A (en) * 2013-08-29 2015-03-18 百度在线网络技术(北京)有限公司 Mobile terminal position determination method and device, and mobile terminal and system thereof
CN104457751A (en) * 2014-11-19 2015-03-25 中国科学院计算技术研究所 Method and system for recognizing indoor and outdoor scenes
CN105025440A (en) * 2015-07-09 2015-11-04 深圳天珑无线科技有限公司 Indoor/outdoor scene detection method and device

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104427613A (en) * 2013-08-29 2015-03-18 百度在线网络技术(北京)有限公司 Mobile terminal position determination method and device, and mobile terminal and system thereof
CN104457751A (en) * 2014-11-19 2015-03-25 中国科学院计算技术研究所 Method and system for recognizing indoor and outdoor scenes
CN105025440A (en) * 2015-07-09 2015-11-04 深圳天珑无线科技有限公司 Indoor/outdoor scene detection method and device

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
"基于多模态融合的高精度室内外场景识别技术研究";苏帅;《中国优秀硕士学位论文全文数据库-科技信息辑》;20150815;第19页至第24页的第3.3节基站信号模块 *
"蜂窝移动通信系统中无线电波传播模型概述";廖国强,杜成珠;《山东通信技术》;20021231;第1页至第2页的第2节室外传播模型 *

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2021171103A1 (en) * 2020-02-26 2021-09-02 Telefonaktiebolaget Lm Ericsson (Publ) Cellular network indoor traffic auto-detection

Also Published As

Publication number Publication date
CN106954256A (en) 2017-07-14

Similar Documents

Publication Publication Date Title
US9229090B2 (en) Method for indoor/outdoor call judgment
EP2741535B1 (en) A method to guide the placement of new small cells
EP1665832B1 (en) Method and system for determining gaps in cellular phone area coverage
CN105959954A (en) Pseudo base station identification method, pseudo base station identification device, and terminal
CN105451232A (en) Pseudo base station detection method and system, terminal and server
CN108260202B (en) Method and device for positioning sampling point of measurement report
CN107949051B (en) Terminal positioning method and device and positioning equipment
CN112135291B (en) State detection method and device
CN109428657B (en) Positioning method and device
CN105635980A (en) Uplink signal processing method, device and system
CN109699037B (en) Beam disconnection determination configuration method, determination method and device
RU2626086C2 (en) Network node and method of controlling maximum levels of transmission power for d2d communication line
CN106954256B (en) indoor scene recognition method and device
CN108271180B (en) Parameter checking method and device
CN110741564A (en) Cell ranking in a multi-beam system
CN111368384B (en) Method and equipment for predicting antenna engineering parameters
CN103118332B (en) A kind of localization method to indoor user place floor
CN106937324A (en) A kind of method for judging terminal local environment, device and equipment
CN112514451A (en) Automatically optimizing cell parameters of a serving base station
US20230071942A1 (en) Cellular network indoor traffic auto-detection
CN104519510B (en) A kind of optimization method and device of cell reselection parameters
CN107371235B (en) User terminal positioning method and device
Bejarano-Luque et al. A context-aware data-driven algorithm for small cell site selection in cellular networks
CN113133034B (en) Base station direction angle deviation rectifying method based on user MR, storage medium and device
US20230345257A1 (en) Method and Apparatus for Designing a Radio Access Network

Legal Events

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