Indoor and outdoor position recognition method and device, computer device and medium
By acquiring the wireless network signal information of the terminal and utilizing a preset recognition model and machine learning algorithm, the problems of difficulty and low accuracy in indoor and outdoor terminal location recognition are solved, achieving efficient terminal location recognition without GPS signal measurement.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2020-05-08
- Publication Date
- 2026-03-17
AI Technical Summary
In existing technologies, indoor and outdoor location identification solutions for terminals require the terminal to actively measure GPS signals or rely on base station signal penetration loss, which makes implementation difficult or results in low accuracy.
By acquiring the wireless network signal information of the terminal, the terminal location, including indoor or outdoor, is determined using a preset recognition model. The recognition model has a preset mapping relationship between wireless network signal information packets and location, and the accuracy is continuously improved by using machine learning algorithms for training.
The terminal does not need to actively report GPS signal measurement results; its location can be accurately identified based on existing measurement reports, making it simple and highly accurate.
Smart Images

Figure CN113630713B_ABST
Abstract
Description
TECHNICAL FIELD
[0001] The present disclosure relates to the technical field of wireless communication, and in particular to an indoor and outdoor position identification method and device, computer equipment and computer readable medium. BACKGROUND
[0002] There are many uses for identifying whether a terminal is indoors or outdoors, and a typical application scenario is positioning. Indoor and outdoor users need to use different positioning algorithms, and identifying whether a terminal is indoors or outdoors is conducive to selecting a suitable positioning algorithm. In addition, identifying indoor and outdoor terminals (or measurement reports reported by terminals) in a certain area can perform related coverage optimization.
[0003] A current terminal indoor and outdoor position identification scheme is to let a terminal actively measure a GPS signal (Global Positioning System), and determine that the terminal is currently located at an indoor position, a semi-outdoor position or an outdoor position according to multiple GPS signal information. This scheme requires the terminal to actively report the GPS signal to determine the position of the UE, but the network side cannot let all terminals measure the GPS signal, and the scheme is difficult to implement.
[0004] Another terminal indoor and outdoor position identification scheme is to determine whether a terminal is indoors or outdoors according to a threshold comparison of a base station signal penetration loss. This scheme has high requirements for the extraction of the penetration loss, but the base station signal penetration loss is difficult to determine, different buildings made of different materials will be different, and the normal path loss between the terminal and the base station cannot be determined, so the accuracy of position identification is low. SUMMARY
[0005] The present disclosure provides an indoor and outdoor position identification method, device, computer equipment and computer readable medium to address the above-mentioned deficiencies in the prior art.
[0006] In a first aspect, an indoor and outdoor position identification method is provided, comprising: obtaining wireless network signal information in a measurement report of a terminal;
[0007] determining a position of the terminal according to the wireless network signal information and a preset identification model, wherein the position at least includes being located indoors or outdoors.
[0008] In some embodiments, the identification model has a preset mapping relationship between a wireless network signal information group and a position of a terminal corresponding to the wireless network signal information group; and the determining of the position of the terminal according to the wireless network signal information and the preset identification model comprises:
[0009] determining a wireless network signal information group to which the terminal belongs according to the wireless network signal information;
[0010] determine the position of the terminal corresponding to the packet of wireless network signal information according to a mapping relationship in the identification model and the packet of wireless network signal information, and take the position of the terminal corresponding to the packet of wireless network signal information as the position of the terminal.
[0011] In some embodiments, the method further comprises:
[0012] If it is determined that the terminal is located indoors or outdoors, taking the measurement report of the terminal as sample training data of the identification model.
[0013] In some embodiments, before determining the position of the terminal according to the wireless network signal information and the preset identification model, the method further comprises:
[0014] obtaining wireless network signal information in sample training data, the sample training data comprising measurement reports of terminals;
[0015] dividing the wireless network signal information into multiple groups;
[0016] mapping the terminals corresponding to the sample training data into each group of wireless network signal information according to the wireless network signal information in the sample training data;
[0017] obtaining global positioning system (GPS) information from the measurement reports of the terminals in each group;
[0018] determining the position of the terminal corresponding to each group according to the GPS information of the terminals in each group and a preset threshold value, respectively;
[0019] establishing a mapping relationship between the packet of wireless network signal information and the position of the terminal corresponding to the packet of wireless network signal information to train and generate the identification model.
[0020] In some embodiments, the determining the position of the terminal corresponding to each group according to the GPS information of the terminals in each group and a preset threshold value, respectively, comprises:
[0021] determining the number of terminals in each group whose measurement reports include GPS information;
[0022] If the number of terminals in a group whose measurement reports include GPS information is greater than a preset first threshold value, it is determined that the terminal corresponding to the group is located outdoors; if the number of terminals in a group whose measurement reports include GPS information is less than a preset second threshold value, it is determined that the terminal corresponding to the group is located indoors, wherein the first threshold value is greater than the second threshold value.
[0023] In some embodiments, the determining the position of the terminal corresponding to each group according to the GPS information of the terminals in each group and a preset threshold value, respectively, comprises:
[0024] determining the number of terminals including GPS information in each group and the total number of terminals in each group;
[0025] if the ratio of the number of terminals including GPS information in a group to the total number of terminals in the group is greater than a preset third threshold, determining that the terminal corresponding to the group is located outdoors; if the ratio of the number of terminals including GPS information in a group to the total number of terminals in the group is less than a preset fourth threshold, determining that the terminal corresponding to the group is located indoors, wherein the third threshold is greater than the fourth threshold.
[0026] In some embodiments, the wireless network signal information includes one or any combination of the following: time advance, angle of arrival, reference signal received power of a serving cell.
[0027] In another aspect, the embodiments of the present disclosure further provide an indoor and outdoor location identification device, comprising an acquisition module and an identification module, the acquisition module is configured to acquire wireless network signal information in a measurement report of a terminal;
[0028] The identification module is configured to determine the location of the terminal according to the wireless network signal information and a preset identification model, wherein the location at least includes being located indoors or outdoors.
[0029] In another aspect, the embodiments of the present disclosure further provide a computer device, comprising one or more processors and a storage device; wherein the storage device stores one or more programs, when the one or more programs are executed by the one or more processors, the one or more processors implement the indoor and outdoor location identification method provided by the foregoing embodiments.
[0030] In another aspect, the embodiments of the present disclosure further provide a computer readable medium, which stores a computer program, wherein the computer program is executed to implement the indoor and outdoor location identification method provided by the foregoing embodiments.
[0031] The indoor and outdoor location identification method and device provided by the embodiments of the present disclosure acquires wireless network signal information in a measurement report of a terminal, and determines the location of the terminal according to the wireless network signal information and a preset identification model, wherein the location at least includes being located indoors or outdoors; the embodiments of the present disclosure do not need to change the measurement parameters of the terminal, and can accurately identify whether the terminal is located indoors or outdoors without requiring all terminals to report GPS signal measurement results, and can be implemented based on existing terminal measurement reports, and the scheme is simple to implement; in addition, the embodiments of the present disclosure identify the location of the terminal according to the identification model, and the accuracy of location identification is high. BRIEF DESCRIPTION OF DRAWINGS
[0032] Figure 1A flowchart of an indoor and outdoor position recognition method provided by an embodiment of the present disclosure is shown in FIG. 1.
[0033] Figure 2 A flowchart of determining a terminal position according to wireless network signal information and an identification model provided by an embodiment of the present disclosure is shown in FIG. 4.
[0034] Figure 3 A flowchart of training an identification model provided by an embodiment of the present disclosure is shown in FIG. 5.
[0035] Figure 4 A structural diagram of an indoor and outdoor position recognition device provided by an embodiment of the present disclosure is shown in FIG. 6.
[0036] Figure 5 A structural diagram of an indoor and outdoor position recognition device provided by an embodiment of the present disclosure is shown in FIG. 7. DETAILED DESCRIPTION
[0037] In the following, example embodiments will be described more fully with reference to the accompanying drawings, in which example embodiments can be embodied in different forms and should not be construed as limited to the embodiments set forth herein. Rather, these embodiments are provided so that this disclosure will be thorough and complete, and will fully convey the scope of the disclosure to those skilled in the art.
[0038] As used herein, the term "and / or" includes any and all combinations of one or more of the associated listed items.
[0039] The terminology used herein is for the purpose of describing particular embodiments only and is not intended to be limiting of the present disclosure. As used herein, the singular forms "a", "an" and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise. It will be further understood that the terms "comprises" and / or "comprising," when used in this specification, specify the presence of stated features, integers, steps, operations, elements, and / or components, but do not preclude the presence or addition of one or more other features, integers, steps, operations, elements, components, and / or groups thereof.
[0040] The embodiments described herein can be described with reference to plan views and / or cross-sectional views by virtue of the ideal schematic nature of the drawings. In other words, the example illustrations can not be necessarily drawn to scale and certain aspects can be shown exaggerated in the drawings in order to illustrate specific aspects clearly. Thus, the embodiments are not limited to the embodiments illustrated in the drawings.
[0041] Unless otherwise defined, all terms (including technical and scientific terms) used herein have the same meaning as commonly understood by one of ordinary skill in the art. It will be further understood that terms, such as those defined in commonly used dictionaries, should be interpreted as having a meaning that is consistent with their meaning in the context of the relevant art and the present disclosure and will not be interpreted in an overly literal or overly formal sense unless expressly so defined herein.
[0042] The embodiments of the present disclosure provide an indoor and outdoor position identification method, as shown in the accompanying drawings. Figure 1 The indoor and outdoor position identification method comprises the following steps:
[0043] Step 11, obtaining wireless network signal information in a measurement report of the terminal.
[0044] In some embodiments, the wireless network signal information can include one or any combination of the following: timing advance (TA), direction of arrival (DoA), and reference signal receiving power (RSRP) of a serving cell. That is, the embodiments of the present disclosure determine whether the terminal is located indoors or outdoors according to one or more of the three dimensional parameters of timing advance, direction of arrival, and reference signal receiving power of a serving cell. The more parameters (i.e., dimensions) included in the wireless network signal information, the higher the accuracy of the terminal position identification.
[0045] It should be noted that the wireless network signal information can also include the reference signal receiving power of a neighboring cell, but the combination of the reference signal receiving power of a serving cell and the reference signal receiving power of a neighboring cell increases the complexity of the identification model algorithm.
[0046] Step 12, determining the position of the terminal according to the wireless network signal information and a preset identification model.
[0047] In the embodiments of the present disclosure, the position of the terminal at least includes being located indoors or outdoors, and the position of the terminal can also include being uncertain, which means that it is not possible to accurately identify whether the terminal is located indoors or outdoors.
[0048] In this step, the obtained wireless network signal information is input into a pre-established identification model, and the identification model determines whether the terminal is located indoors or outdoors. The specific process of determining the position of the terminal according to the wireless network signal information and the identification model will be described in detail later in conjunction with Figure 2 Step 13.
[0049] The indoor and outdoor position identification method provided by the embodiments of the present disclosure comprises the following steps: obtaining wireless network signal information in a measurement report of a terminal; and determining a position of the terminal according to the wireless network signal information and a preset identification model, wherein the position at least comprises indoor or outdoor. The embodiments of the present disclosure do not need to change the measurement parameters of the terminal, and can accurately identify whether the terminal is indoor or outdoor without requiring all terminals to report GPS signal measurement results. The embodiments of the present disclosure can be implemented based on existing terminal measurement reports, and the scheme is simple to implement. In addition, the embodiments of the present disclosure identify the position of the terminal according to the identification model, and the accuracy of position identification is high.
[0050] In some embodiments, the identification model is preset with a mapping relationship between a wireless network signal information group and a position of a terminal corresponding to the wireless network signal information group, that is, the identification model records positions of terminals corresponding to different wireless network signal information groups, wherein the positions of terminals corresponding to the same wireless network signal information group are the same. The mapping relationship between the wireless network signal information group and the position of the terminal corresponding to the wireless network signal information group is shown in Table 1.
[0051] Table 1
[0052] Group ID RSRP (dBm) TA DoA (degree) Position of terminal corresponding to group 0 -120~-110 3~4 0~10 Uncertain 1 -110~-100 2~3 0~10 Indoor 2 -100~-90 1~2 10~20 Outdoor ... ... ... ... ...
[0053] As shown in Table 1, wireless network signal information includes three types (i.e., three dimensions) of parameters: timing advance, angle of arrival, and reference signal received power of the serving cell. The wireless network signal information is divided into multiple groups, each identified as 0, 1, 2… Each wireless network signal information group corresponds to a range of the three types of wireless network signal information. In other words, a terminal belonging to a specific wireless network signal information group will have wireless network signal information in its measurement report that falls within the range of timing advance, angle of arrival, and reference signal received power of the serving cell. For example, the terminal corresponding to a wireless network signal information packet with packet identifier 0 has an RSRP of -120 to -110 dBm, TA of 3 to 4, and DoA of 0 to 10 degrees in its measurement report; the terminal corresponding to a wireless network signal information packet with packet identifier 1 has an RSRP of -110 to -100 dBm, TA of 2 to 3, and DoA of 1 to 2 degrees in its measurement report; and the terminal corresponding to a wireless network signal information packet with packet identifier 2 has an RSRP of -100 to -90 dBm, TA of 1 to 2, and DoA of 10 to 20 degrees in its measurement report. Each wireless network signal information packet corresponds to a terminal's location. For example, the location of the terminal corresponding to a wireless network signal information packet with packet identifier 0 is uncertain, the terminal corresponding to a wireless network signal information packet with packet identifier 1 is located indoors, and the terminal corresponding to a wireless network signal information packet with packet identifier 2 is located outdoors. It should be noted that the wireless network signal information packets are divided according to time advance, angle of arrival, and reference signal received power of the serving cell, as shown in Table 1. This scheme is the preferred scheme, and the recognition model trained in this way has a high recognition accuracy. Of course, those skilled in the art will know that wireless network signal information packets can also be divided according to time advance, angle of arrival, and one or more of the serving cell. The fewer types of parameters used as the basis for division, the lower the recognition accuracy of the trained recognition model.
[0054] like Figure 2 As shown, determining the terminal's location based on wireless network signal information and a preset identification model (i.e., step 12) includes the following steps:
[0055] Step 121: Determine the wireless network signal information packet to which the terminal belongs based on the wireless network signal information.
[0056] In this step, the wireless network signal information packet is determined by judging which packet's signal information value falls within. For example, as shown in Table 1, if the RSRP obtained from the measurement report is -110 to -100 dBm, TA is 2 to 3, and DoA is 0 to 10, then it can be determined that the terminal sending the measurement report belongs to the wireless network signal information packet with packet identifier 1.
[0057] Step 122, determining the terminal position corresponding to the wireless network signal information packet according to the mapping relationship in the identification model, and taking the terminal position corresponding to the packet as the position of the terminal.
[0058] In this step, the mapping relationship between the wireless network signal information packet and the terminal position corresponding to the wireless network signal information packet in the identification model is queried according to the determined wireless network signal information packet, and the terminal position corresponding to the wireless network signal information packet is obtained, that is, the positions of all terminals in the wireless network signal information packet are considered to be the same and are the position obtained by querying according to the mapping relationship. Since the terminal to be identified belongs to the wireless network signal information packet, the terminal position corresponding to the wireless network signal information packet is the position of the terminal to be identified.
[0059] In some embodiments, the identification model can be continuously learned and trained by a machine learning algorithm, thereby improving the accuracy of identifying the indoor or outdoor position of the terminal. The machine learning algorithm includes but is not limited to a random forest (Random Forest) algorithm and a gradient boosting decision tree (Gradient Boosting Decision Tree, GBDT) algorithm.
[0060] In order to further improve the accuracy of position identification of the identification model, in some embodiments, if it is determined that the terminal is located indoors or outdoors, the measurement report of the terminal is taken as sample training data of the identification model. If the position of the terminal can be clearly identified, it means that the wireless network signal information in the measurement report reported by the terminal is reliable data, which is taken as sample training data of the identification model. Therefore, the position identification accuracy of the identification model trained in this way is also high.
[0061] Before determining the position of the terminal according to the wireless network signal information and the preset identification model, the identification model has been trained and generated. The training process of the identification model will be described in detail below. Figure 3 The training process of the identification model will be described in detail below. Figure 3 As shown in FIG. 5, the training of the identification model includes the following steps:
[0062] Step 21, obtaining wireless network signal information in sample training data, the sample training data including a measurement report of a terminal.
[0063] In this step, the measurement report reported by the terminal is obtained, and the wireless network signal information in the measurement report is obtained. The wireless network signal information can include one or any combination of the following: time advance, angle of arrival, reference signal received power of a serving cell. In some embodiments, the wireless network signal information can also include reference signal received power of a neighboring cell.
[0064] Step 22, divide the wireless network signal information into multiple groups.
[0065] In this step, if the wireless network signal information includes multiple types of parameters, the wireless network signal information of each type is grouped respectively. For example, if the wireless network signal information includes time advance, angle of arrival and reference signal received power of the serving cell, the time advance, angle of arrival and reference signal received power of the serving cell are grouped respectively, and the groups of the three types of parameters are arranged and combined to generate each wireless network signal information group.
[0066] Step 23, according to the wireless network signal information in the sample training data, map the terminal corresponding to the sample training data to each group of wireless network signal information.
[0067] In this step, the wireless network signal information group to which the terminal corresponding to the sample training data belongs is determined, that is, the wireless network signal information group to which the terminal belongs is determined by judging which numerical range of the wireless network signal information group the wireless network signal information of the terminal satisfies.
[0068] Step 24, obtain GPS information from the measurement reports of each terminal in each group.
[0069] Step 25, determine the position of the terminal corresponding to each group according to the GPS information of each terminal in each group and a preset threshold value.
[0070] In some embodiments, the position of the terminal corresponding to each group can be determined according to the number (i.e. absolute number) of terminals in each group whose measurement reports include GPS information and the corresponding threshold value. Accordingly, the determination of the position of the terminal corresponding to each group according to the GPS information of each terminal in each group and a preset threshold value includes the following steps: determining the number of terminals in each group whose measurement reports include GPS information; if the number of terminals in a group whose measurement reports include GPS information is greater than a preset first threshold value, determining that the terminal corresponding to the group is located outdoors; if the number of terminals in a group whose measurement reports include GPS information is less than a preset second threshold value, determining that the terminal corresponding to the group is located indoors, wherein the first threshold value is greater than the second threshold value. It should be noted that if the number of terminals in a group whose measurement reports include GPS information is less than or equal to the first threshold value and greater than or equal to the second threshold value, the position of the terminal corresponding to the group is indeterminate, that is, it cannot be determined whether the terminal is located indoors or outdoors. The embodiments of the present disclosure utilize the characteristic that the GPS signal has weak penetration ability, and can accurately determine the position of the terminal corresponding to each group according to the GPS information of each terminal in each group and a preset threshold value, thereby laying a foundation for establishing the mapping relationship between the wireless network signal information group and the position of the terminal corresponding to the wireless network signal information group.
[0071] In some embodiments, the position of the terminals corresponding to each group can be determined according to the ratio (i.e., the relative number) of the number of terminals in each group whose measurement report includes GPS information to the total number of terminals in the group and the corresponding threshold value. Accordingly, the determining the position of the terminals corresponding to each group according to the GPS information of each terminal in each group and the preset threshold value respectively comprises the following steps: determining the number of terminals in each group whose measurement report includes GPS information and the total number of terminals in each group; if the ratio of the number of terminals in a group whose measurement report includes GPS information to the total number of terminals in the group is greater than a preset third threshold value, it is determined that the terminals corresponding to the group are located outdoors; if the ratio of the number of terminals in a group whose measurement report includes GPS information to the total number of terminals in the group is less than a preset fourth threshold value, it is determined that the terminals corresponding to the group are located indoors, wherein the third threshold value is greater than the fourth threshold value. It should be noted that if the ratio of the number of terminals in a group whose measurement report includes GPS information to the total number of terminals in the group is less than or equal to the third threshold value and greater than or equal to the fourth threshold value, the position of the terminals corresponding to the group is not determined, i.e., it cannot be determined whether the terminals are located indoors or outdoors.
[0072] Step 26, establishing a mapping relationship between the wireless network signal information group and the position of the terminals corresponding to the wireless network signal information group to train the generated identification model.
[0073] In this step, the mapping relationship between the wireless network signal information group and the position of the terminals corresponding to the wireless network signal information group can be achieved through a mapping table, which can be as shown in Figure 1
[0074] It should be noted that the mapping relationship between the wireless network signal information group and the position of the terminals corresponding to the wireless network signal information group can also include the number of terminals in the group whose measurement report includes GPS information, or the number of terminals in the group whose measurement report includes GPS information and the total number of terminals in the group.
[0075] Since the network side cannot make all terminals report GPS information (i.e., GPS measurement results), it is difficult to implement a scheme for identifying the position of a terminal through GPS information reported by the terminal. The present disclosure provides a method and device for identifying the indoor and outdoor positions of a terminal without relying on all terminals starting a special GPS measurement function, which is easy to implement.
[0076] Based on the same technical concept, the present disclosure also provides an indoor and outdoor position identification device, as shown in Figure 4 The indoor and outdoor position identification device comprises an acquisition module 401 and an identification module 402, the acquisition module 401 is configured to acquire wireless network signal information in the measurement report of a terminal.
[0077] The identification module 402 is configured to determine the position of the terminal according to the wireless network signal information and a preset identification model, wherein the position at least includes indoor or outdoor.
[0078] In some embodiments, the identification model is preset with a mapping relationship between a wireless network signal information group and the position of the terminal corresponding to the wireless network signal information group; the identification module 401 is configured to determine the wireless network signal information group to which the terminal belongs according to the wireless network signal information; determine the position of the terminal corresponding to the wireless network signal information group according to the mapping relationship in the identification model and the wireless network signal information group, and take the position of the terminal corresponding to the group as the position of the terminal.
[0079] In some embodiments, as shown in FIG. 4, the indoor and outdoor position identification apparatus can further include a model training module 403, which is configured to take the measurement report of the terminal as sample training data of the identification model. Figure 5
[0080] In some embodiments, the model training module 403 is configured to obtain wireless network signal information in sample training data, wherein the sample training data includes the measurement report of the terminal; divide the wireless network signal information into multiple groups; map the terminal corresponding to the sample training data into each group of wireless network signal information according to the wireless network signal information in the sample training data; obtain global positioning system (GPS) information from the measurement report of each terminal in each group; determine the position of the terminal corresponding to each group according to the GPS information of each terminal in each group and a preset threshold; and establish a mapping relationship between a wireless network signal information group and the position of the terminal corresponding to the wireless network signal information group, so as to generate the identification model by training.
[0081] In some embodiments, the model training module 403 is configured to determine the number of terminals whose measurement report includes GPS information in each group; if the number of terminals whose measurement report includes GPS information in a group is greater than a preset first threshold, it is determined that the terminal corresponding to the group is located outdoors; if the number of terminals whose measurement report includes GPS information in a group is less than a preset second threshold, it is determined that the terminal corresponding to the group is located indoors, wherein the first threshold is greater than the second threshold.
[0082] In some embodiments, the model training module 403 is configured to determine the number of terminals in each group that include GPS information in the measurement report and the total number of terminals in each group, and determine that a terminal corresponding to a group is located outdoors if the ratio of the number of terminals in the group that include GPS information in the measurement report to the total number of terminals in the group is greater than a preset third threshold value, and determine that the terminal corresponding to the group is located indoors if the ratio of the number of terminals in the group that include GPS information in the measurement report to the total number of terminals in the group is less than a preset fourth threshold value, wherein the third threshold value is greater than the fourth threshold value.
[0083] In some embodiments, the wireless network signal information comprises one or any combination of the following: time advance, angle of arrival, reference signal received power of a serving cell.
[0084] Those of ordinary skill in the art will understand that all or some of the steps in the above-disclosed methods and the functions of the modules / units in the apparatus can be implemented as software, firmware, hardware, or appropriate combinations thereof. In hardware implementation, the division of the functional modules / units referred to in the above description does not necessarily correspond to the physical division of the apparatus; for example, one physical component can have multiple functions, or one function or step can be performed by several physical components working together. Some or all of the physical components can be implemented as software executed by a processor, such as a central processing unit, a digital signal processor, or a microprocessor, or as hardware, or as an integrated circuit, such as an application-specific integrated circuit. Such software can be distributed on computer-readable media, which can include computer storage media (or non-transitory media) and communication media (or transitory media). As is well known to those of ordinary skill in the art, the term computer storage media includes volatile and non-volatile, removable and non-removable media implemented in any method or technology for storage of information such as computer readable instructions, data structures, program modules, or other data. Computer storage media include, but are not limited to, RAM, ROM, EEPROM, flash memory or other memory technology, CD-ROM, digital versatile disks (DVD) or other optical disk storage, magnetic cassettes, magnetic tapes, magnetic disk storage, or other magnetic storage devices, or any other medium that can be used to store the desired information and that can be accessed by a computer. Furthermore, it is common for those of ordinary skill in the art to know that communication media typically embodies computer readable instructions, data structures, program modules, or other data in a modulated data signal such as a carrier wave or other transport mechanism, and can include any information delivery media.
[0085] Example embodiments have been disclosed herein and, although specific terms are employed, they are used in a generic and descriptive sense only and not for purposes of limitation. In some instances, it will be apparent to those skilled in the art that features, characteristics or / and elements described in connection with a particular embodiment can be used in conjunction with other embodiments unless otherwise explicitly stated. Accordingly, it will be understood that various changes in form and details can be made without departing from the scope of the present application as set forth in the appended claims.
Claims
1. A method for indoor-outdoor location identification, comprising: obtaining wireless network signal information in a measurement report of a terminal; determining a location of the terminal according to the wireless network signal information and a preset identification model, the location comprising at least an indoor or outdoor location; before determining the location of the terminal according to the wireless network signal information and the preset identification model, further comprising: obtaining wireless network signal information in sample training data, the sample training data comprising measurement reports of terminals; dividing the wireless network signal information into groups; mapping the terminals corresponding to the sample training data into each group of wireless network signal information according to the wireless network signal information in the sample training data; obtaining global positioning system (GPS) information from the measurement reports of the terminals in each group; determining the locations of the terminals corresponding to each group according to the GPS information of the terminals in each group and a preset threshold; establishing a mapping relationship between the groups of wireless network signal information and the locations of the terminals corresponding to the groups of wireless network signal information to generate the identification model. The identification model is preset with a mapping relationship between the groups of wireless network signal information and the locations of the terminals corresponding to the groups of wireless network signal information. The determining of the location of the terminal according to the wireless network signal information and the preset identification model comprises: determining a group of wireless network signal information to which the terminal belongs according to the wireless network signal information; 2. The method of claim 1, wherein, determining the location of the terminal corresponding to the group of wireless network signal information according to the group of wireless network signal information and the mapping relationship in the identification model, and taking the location of the terminal corresponding to the group as the location of the terminal. The method further comprises: if it is determined that the terminal is located indoors or outdoors, taking the measurement report of the terminal as sample training data of the identification model. The determining of the locations of the terminals corresponding to each group according to the GPS information of the terminals in each group and a preset threshold comprises: determining the number of terminals in each group whose measurement reports include GPS information; if the number of terminals in a group whose measurement reports include GPS information is greater than a preset first threshold, determining that the terminals corresponding to the group are located outdoors; if the number of terminals in a group whose measurement reports include GPS information is less than a preset second threshold, determining that the terminals corresponding to the group are located indoors, wherein the first threshold is greater than the second threshold.
3. The method of claim 1, wherein, The determining of the locations of the terminals corresponding to each group according to the GPS information of the terminals in each group and a preset threshold comprises: determining the number of terminals in each group whose measurement reports include GPS information and the total number of terminals in each group; if a ratio of the number of terminals in a group whose measurement reports include GPS information to the total number of terminals in the group is greater than a preset third threshold, determining that the terminals corresponding to the group are located outdoors; if a ratio of the number of terminals in a group whose measurement reports include GPS information to the total number of terminals in the group is less than a preset fourth threshold, determining that the terminals corresponding to the group are located indoors, wherein the third threshold is greater than the fourth threshold.
4. The method of claim 1, wherein, 5. The method of claim 1, wherein, 6. The method of any one of claims 1-5, wherein, The wireless network signal information comprises one or any combination of the following: time advance, angle of arrival, reference signal received power of a serving cell. 7.An indoor and outdoor location identification apparatus, comprising an obtaining module, an identifying module and a model training module, the obtaining module is configured to obtain wireless network signal information in a measurement report of a terminal; the identifying module is configured to determine a location of the terminal according to the wireless network signal information and a preset identification model, the location at least comprises being located indoors or outdoors; the model training module is configured to obtain wireless network signal information in sample training data, the sample training data comprises a measurement report of a terminal; divide the wireless network signal information into multiple groups; map the terminal corresponding to the sample training data into each group of wireless network signal information according to the wireless network signal information in the sample training data; obtain global positioning system (GPS) information from the measurement report of each terminal in each group; determine the location of each terminal corresponding to each group according to the GPS information of each terminal in each group and a preset threshold; establish a mapping relationship between each group of wireless network signal information and the location of the terminal corresponding to each group of wireless network signal information, so as to generate the identification model. 8.A computer device, comprising: one or more processors; a storage device having one or more programs stored thereon; when the one or more programs are executed by the one or more processors, the one or more processors implement the indoor and outdoor location identification method according to any one of claims 1-6.
9. A computer readable medium having stored thereon a computer program, wherein, the program is executed to implement the indoor and outdoor location identification method according to any one of claims 1-6.
Citation Information
Patent Citations
Method for distinguishing indoor and outdoor measurement reports and network equipment
CN108616900A
Method, device and equipment for recognizing position of terminal device and storage medium
CN110320544A