Mobile terminal and method for determining its location indoors or outdoors

By receiving electromagnetic wave signals and acquiring attitude information, the system uses brightness and acceleration sensors to determine whether the mobile terminal is indoors or outdoors, solving the problems of poor accuracy and high power consumption in existing technologies, and achieving accurate judgment with low complexity and low power consumption.

CN119364288BActive Publication Date: 2025-10-31SPREADTRUM COMMUNICATION (SHANGHAI) CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202411416057.X
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-10-10
Publication Date
2025-10-31
Estimated Expiration
2044-10-10

AI Technical Summary

Technical Problem

Existing methods for determining whether a mobile terminal is indoors or outdoors are inaccurate and consume a lot of power, making them difficult to apply in real-world scenarios.

Method used

By receiving electromagnetic wave signals from the environment in which the mobile terminal is located, the attitude information of the mobile terminal when receiving electromagnetic wave signals is obtained. The brightness sensor and acceleration sensor are used to determine whether the mobile terminal is indoors or outdoors. Multiple attitude forms are set and a signal strength threshold is set for each attitude form. The judgment is made by comparing the electromagnetic wave signal strength with the threshold.

Benefits of technology

It achieves accurate indoor/outdoor detection with low computational complexity and low power consumption, solving the problems of poor accuracy and high power consumption of existing methods.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119364288B_ABST
    Figure CN119364288B_ABST
Patent Text Reader

Abstract

This invention provides a mobile terminal, a method for determining its indoor / outdoor location, a computer storage medium, a chip, and a chip module. The method includes: receiving electromagnetic wave signals from the environment in which the mobile terminal is located; acquiring attitude information of the mobile terminal when receiving the electromagnetic wave signals; and determining whether the mobile terminal is indoors or outdoors based on the attitude information of the mobile terminal and the strength of the received electromagnetic wave signals. Since the intensity of electromagnetic wave signals differs greatly between indoors and outdoors, and the electromagnetic wave signals received by the mobile terminal vary with the mobile terminal's attitude, the method can accurately determine whether the mobile terminal is indoors based on the attitude information of the mobile terminal and the strength of the received electromagnetic wave signals. Because this method does not require modeling to obtain features or real-time feature analysis, it has low computational complexity and low power consumption, solving the problems of poor accuracy and high power consumption in existing methods for determining whether a mobile terminal is indoors or outdoors.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of wireless communication technology, and in particular to a mobile terminal and a method for determining its location indoors or outdoors, a computer storage medium, a chip, and a chip module. Background Technology

[0002] With the development of wireless communication technology, mobile terminals have integrated more and more functions to provide convenience for people's lives and work. For example, mobile phones not only have calling functions, but also functions such as taking pictures, reading, and watching videos. In order to obtain better image quality and to enable mobile terminals to display the best reading and viewing effects, it is usually necessary to process the images according to the environment in which the mobile terminal is located. That is, to use parameters that match the environment during image processing. Therefore, accurately detecting the environment in which the mobile terminal is located is particularly important.

[0003] In distinguishing between different environmental scenarios, indoor and outdoor can be regarded as the most basic scenario distinction. Commonly used scenario distinctions based on scene brightness, scene color differences, etc. are all affected by the distinction between indoor and outdoor scenarios. Therefore, accurately determining whether a mobile terminal is located indoors or outdoors is crucial for the efficient use of the mobile terminal.

[0004] Currently, determining whether a mobile terminal is indoors typically relies on the difference between indoor and outdoor magnetic fields, or on the property that cellular signals are blocked by buildings. However, in real-world scenarios, various electrical appliances and magnetic objects generate magnetic fields, causing interference. Furthermore, the algorithms for determining indoor location often consume significant power due to the need for real-time calculation and analysis of magnetic field features. Methods relying on changes in cellular signal strength require stable cellular signal reception, thus limiting their effectiveness. These methods also require real-time calculation and analysis of cellular signal features, leading to high power consumption. Therefore, current methods for determining indoor / outdoor location based on magnetic field differences and cellular signal changes are difficult to apply in real-world scenarios. Summary of the Invention

[0005] The purpose of this invention is to provide a mobile terminal and a method for determining its location indoors or outdoors, a computer storage medium, a chip, and a chip module, in order to solve the problems of poor accuracy and high power consumption in existing methods for determining the location of a mobile terminal indoors or outdoors.

[0006] To solve the above-mentioned technical problems, the present invention provides a method for determining whether a mobile terminal is located indoors or outdoors, comprising:

[0007] Receive electromagnetic wave signals from the environment in which the mobile terminal is located;

[0008] Obtain the attitude information of the mobile terminal when receiving electromagnetic wave signals;

[0009] Based on the mobile terminal's posture information and the strength of the received electromagnetic wave signal, it can be determined whether the mobile terminal is indoors or outdoors.

[0010] Optionally, in the method for determining whether a mobile terminal is indoors or outdoors, the mobile terminal has a brightness sensor, which receives electromagnetic wave signals from the environment in which the mobile terminal is located. The electromagnetic wave signals are electromagnetic wave signals outside the visible spectrum.

[0011] Optionally, in the method for determining whether a mobile terminal is indoors or outdoors, the mobile terminal has an accelerometer sensor, and the accelerometer sensor is used to obtain the attitude information of the mobile terminal when receiving electromagnetic wave signals.

[0012] Optionally, in the method for determining whether a mobile terminal is indoors or outdoors, before receiving electromagnetic wave signals and acquiring attitude information, the method further includes:

[0013] The brightness sensor used to receive electromagnetic wave signals and the acceleration sensor used to acquire attitude information are calibrated.

[0014] Optionally, in the method for determining whether a mobile terminal is indoors or outdoors, the method for determining whether the mobile terminal is indoors or outdoors based on the mobile terminal's posture information and the strength of the received electromagnetic wave signal includes:

[0015] Multiple attitude configurations are set based on the angle between the surface of the mobile terminal used to receive electromagnetic wave signals and the reference plane;

[0016] Set a signal strength threshold for each posture;

[0017] Obtain the angle between the surface of the current mobile terminal used to receive electromagnetic wave signals and the reference plane to match the attitude form;

[0018] The electromagnetic wave signal strength is obtained based on the electromagnetic wave signal received by the mobile terminal.

[0019] By comparing the electromagnetic wave signal strength with the signal strength threshold corresponding to the matched posture, it can be determined whether the mobile terminal is indoors or outdoors.

[0020] Optionally, in the method for determining whether a mobile terminal is indoors or outdoors, the included angle ranges corresponding to different posture forms are not entirely the same.

[0021] Optionally, in the method for determining whether a mobile terminal is indoors or outdoors, the signal strength threshold set for each posture includes a minimum signal strength threshold and a maximum signal strength threshold; the minimum signal strength threshold under a uniform posture is less than the maximum signal strength threshold.

[0022] Optionally, in the method for determining whether a mobile terminal is indoors or outdoors, the method of comparing the electromagnetic wave signal strength with the signal strength threshold corresponding to the matched posture form to determine whether the mobile terminal is indoors or outdoors includes:

[0023] If the electromagnetic wave signal strength is greater than the highest signal strength threshold, then the mobile terminal is determined to be outdoors;

[0024] If the electromagnetic wave signal strength is greater than the minimum signal strength threshold and less than or equal to the maximum signal strength threshold, then the mobile terminal is determined to be indoors.

[0025] If the electromagnetic wave signal strength is less than or equal to the minimum signal strength threshold, the mobile terminal is determined to be in an extremely dark environment.

[0026] To address the aforementioned technical problems, the present invention also provides a mobile terminal for implementing the method for determining whether a mobile terminal is located indoors or outdoors as described in any of the preceding claims, wherein the mobile terminal comprises:

[0027] A brightness sensor is used to receive electromagnetic wave signals from the environment in which the mobile terminal is located.

[0028] An accelerometer is used to acquire attitude information of a mobile terminal when it receives electromagnetic wave signals.

[0029] The control processor is used to determine whether the mobile terminal is indoors or outdoors based on the mobile terminal's posture information and the strength of the received electromagnetic wave signals.

[0030] To address the aforementioned technical problems, the present invention also provides a computer storage medium storing an executable program; when the executable program is executed, it implements the method for determining whether a mobile terminal is located indoors or outdoors as described in any of the preceding claims.

[0031] To address the aforementioned technical problems, the present invention also provides a chip or chip module, wherein the chip or chip module is coupled to a memory for executing a computer program stored in the memory to perform the method for determining whether a mobile terminal is located indoors or outdoors as described in any of the preceding claims.

[0032] The present invention provides a mobile terminal, a method for determining its indoor or outdoor location, a computer storage medium, a chip, and a chip module, comprising: receiving electromagnetic wave signals from the environment in which the mobile terminal is located; acquiring attitude information of the mobile terminal when receiving the electromagnetic wave signals; and determining whether the mobile terminal is indoors or outdoors based on the attitude information of the mobile terminal and the strength of the received electromagnetic wave signals. Since the intensity of electromagnetic wave signals differs greatly between indoors and outdoors, and the electromagnetic wave signals received by the mobile terminal vary with the attitude of the mobile terminal, the method can accurately determine whether the mobile terminal is indoors by using the attitude information of the mobile terminal and the strength of the received electromagnetic wave signals. Because this method does not require modeling to obtain features or real-time analysis and processing of features, it has low computational complexity and low power consumption, solving the problems of poor accuracy and high power consumption in existing methods for determining whether a mobile terminal is indoors or outdoors. Attached Figure Description

[0033] Figure 1 This is a flowchart of the method for determining whether a mobile terminal is indoors or outdoors provided in this embodiment;

[0034] Figure 2 This embodiment provides schematic diagrams of mobile terminal postures corresponding to different posture forms.

[0035] Figure 3 This is a schematic diagram of the mobile terminal structure provided in this embodiment. Detailed Implementation

[0036] The following detailed description, in conjunction with the accompanying drawings and specific embodiments, provides a more detailed account of the mobile terminal, method for determining its indoor / outdoor location, computer storage medium, chip, and chip module proposed in this invention. It should be noted that the drawings are all in a very simplified form and use non-precise proportions, intended only to facilitate and clarify the illustration of the embodiments of this invention. Furthermore, the structures shown in the drawings are often part of the actual structure. In particular, different proportions may be used in different drawings to emphasize different aspects.

[0037] It should be noted that the terms "first," "second," etc., used in the specification, claims, and drawings of this invention are used to distinguish similar objects in order to describe embodiments of the invention, and are not used to describe a specific order or sequence. It should be understood that such uses of terminology are interchangeable where appropriate. Furthermore, the terms "comprising" and "having," and any variations thereof, are intended to cover non-exclusive inclusion. For example, a process, method, system, product, or apparatus that comprises a series of steps or units is not necessarily limited to those steps or units explicitly listed, but may include other steps or units not explicitly listed or inherent to such processes, methods, products, or apparatus.

[0038] This embodiment provides a method for determining whether a mobile terminal is located indoors or outdoors, such as... Figure 1 As shown, it includes:

[0039] S1 receives electromagnetic wave signals from the environment where the mobile terminal is located;

[0040] S2, Obtain the attitude information of the mobile terminal when receiving electromagnetic wave signals;

[0041] S3 determines whether the mobile terminal is indoors or outdoors based on the mobile terminal's posture information and the strength of the received electromagnetic wave signal.

[0042] The method for determining whether a mobile terminal is indoors or outdoors provided in this embodiment can accurately determine whether the mobile terminal is indoors or outdoors because the intensity of electromagnetic wave signals differs greatly between indoors and outdoors, and the electromagnetic wave signals received by the mobile terminal vary with the mobile terminal's posture. Since this method does not require modeling to obtain features or real-time analysis and processing of features, it has low computational complexity and low power consumption, solving the problems of poor accuracy and high power consumption in existing methods for determining whether a mobile terminal is indoors or outdoors.

[0043] Specifically, in this embodiment, step S1 involves receiving electromagnetic wave signals from the environment in which the mobile terminal is located. In practical applications, the mobile terminal has a brightness sensor, which can be used to receive electromagnetic wave signals from the environment in which the mobile terminal is located. The electromagnetic wave signals are electromagnetic wave signals outside the visible spectrum.

[0044] Because the signal intensity of electromagnetic waves outside the visible spectrum (such as infrared and ultraviolet rays) differs significantly between indoor and outdoor environments, and this difference remains relatively stable regardless of weather or lighting conditions, and because brightness sensors can identify non-visible electromagnetic wave signals, they can be used to receive these signals and determine whether the scene is indoors or outdoors based on their intensity. Thus, without complex calculations, simply judging the intensity of the electromagnetic wave signal is sufficient to accurately determine whether the mobile terminal is indoors or outdoors. This approach is not only computationally simple and power-efficient but also provides accurate scene determination.

[0045] Considering that different postures of a mobile terminal can affect its efficiency in receiving electromagnetic wave signals in practical applications, in order to further improve the accuracy of the judgment results, in this embodiment, step S2 involves acquiring the posture information of the mobile terminal when receiving electromagnetic wave signals. Thus, by acquiring the posture information of the mobile terminal, the efficiency of the mobile terminal in receiving electromagnetic wave signals can be analyzed, thereby accurately determining whether the mobile terminal is indoors or outdoors.

[0046] Specifically, in this embodiment, the mobile terminal has an accelerometer sensor, which is used to acquire the attitude information of the mobile terminal when receiving electromagnetic wave signals. In practical applications, the accelerometer sensor built into the mobile terminal can obtain the current angle and orientation of the mobile terminal relative to the horizontal plane based on the change in the direction of gravity. Its specific working principle is well known to those skilled in the art, and will not be elaborated here. By obtaining the angle and orientation from the accelerometer sensor, the efficiency of the electromagnetic wave signals received by the mobile terminal in the current attitude can be determined, and then the intensity of the electromagnetic wave signals in the environment where the mobile terminal is located can be deduced. By using the calculated intensity of the electromagnetic wave signals, it is possible to accurately determine whether the mobile terminal is indoors or outdoors.

[0047] In one specific embodiment, the orientation of the mobile terminal can be determined using data measured by the accelerometer in the vertical direction (z-axis direction). The vertical direction of the accelerometer on the mobile terminal is perpendicular to the screen. This direction changes with the orientation of the mobile terminal. The data measured by the accelerometer in the vertical direction is the projection of the natural downward gravitational acceleration in that direction. For example, when this direction coincides with the natural downward direction, the accelerometer reading in the vertical direction is at its maximum value (9.81 m / s²). 2 (i.e., gravitational acceleration); when this direction is opposite to the natural vertical downward direction, the vertical measurement value of the accelerometer is at its minimum (-9.81 m / s²). 2 (i.e., the negative value of gravitational acceleration); when this direction is perpendicular to the natural vertically downward direction, the vertical measurement value of the accelerometer is 0, and the projection of the vertically downward gravitational acceleration in this direction is 0.

[0048] It should be noted that the order of the implementation of step S1 receiving the electromagnetic wave signal of the environment where the mobile terminal is located and step S2 obtaining the attitude information of the mobile terminal when receiving the electromagnetic wave signal can be interchanged or performed simultaneously. The two are independent of each other. The method for determining whether the mobile terminal is indoors or outdoors by changing the order should also fall within the protection scope of this application.

[0049] Furthermore, in order to enable the mobile terminal to accurately obtain the intensity and attitude information (angle and orientation) of the electromagnetic wave signal, in this embodiment, before receiving the electromagnetic wave signal and acquiring the attitude information, the method for determining whether the mobile terminal is indoors or outdoors further includes:

[0050] The brightness sensor used to receive electromagnetic wave signals and the acceleration sensor used to acquire attitude information are calibrated.

[0051] Calibration allows us to use attitude information obtained from the accelerometer to determine the efficiency of the brightness sensor in receiving indoor and outdoor electromagnetic wave signals at various angles and orientations. This, in turn, provides the range of electromagnetic wave signal intensity that the mobile terminal can receive indoors and outdoors, under different postures. Based on this calibration data, we can then set judgment rules so that, in practical applications, the mobile terminal can use this data to determine whether it is indoors or outdoors.

[0052] Specifically, in this embodiment, step S3, the method for determining whether the mobile terminal is indoors or outdoors based on the mobile terminal's posture information and the strength of the received electromagnetic wave signal, includes:

[0053] S31, based on the angle between the surface of the mobile terminal used to receive electromagnetic wave signals and the reference plane, sets multiple attitude forms.

[0054] Specifically, in this embodiment, such as Figure 2 As shown, Figure 2 (A) to (G) respectively illustrate several possible postures of the mobile terminal. The black box in the figure represents the outer shell (bottom) of the mobile terminal, the white box represents the display panel (top) of the mobile terminal, the rectangular box filled with diagonal stripes in the middle of the white box represents the brightness sensor, which is used to receive electromagnetic wave signals; the dashed line in the figure represents the reference plane, which can be a horizontal plane; the α angle in the figure represents the angle between the display panel of the mobile terminal and the reference plane. Figure 2 As shown in (A), the mobile terminal display panel is facing upwards, and the brightness sensor can fully receive the electromagnetic wave signal. At this time, the angle α between the mobile terminal display panel and the reference plane is 0. Considering that it is impossible to be completely parallel to the reference plane in actual applications, the value of the angle α in this scenario can be from -5° to 5°. Figure 2 As shown in (B), the mobile terminal display panel is facing upwards, but there is a small tilt angle between it and the reference plane. The brightness sensor can receive most of the electromagnetic wave signals. At this time, the angle α between the mobile terminal display panel and the reference plane can be 5° to 45°. Figure 2 As shown in (C), the mobile terminal display panel is facing upwards, but there is a large tilt angle between it and the reference plane. The brightness sensor can receive most of the electromagnetic wave signals. At this time, the angle α between the mobile terminal display panel and the reference plane can be 45° to 85°. Figure 2 As shown in (D), the plane where the mobile terminal display panel is located is perpendicular to the reference plane, with an included angle α of 90°. The brightness sensor can receive about half of the electromagnetic wave signal. Considering that it is impossible to be completely perpendicular in actual applications, the value of the included angle α in this scenario can be between 85° and 95°. Figure 2As shown in (E), the mobile terminal display panel is facing down and there is a large tilt angle between it and the reference plane. The brightness sensor can receive a small part of the electromagnetic wave signal. At this time, the value of the angle α between the mobile terminal display panel and the reference plane can be 95° to 135°. Figure 2 As shown in (F), the mobile terminal display panel is facing down and there is a small tilt angle between it and the reference plane. The brightness sensor can receive less electromagnetic wave signal. At this time, the value of the angle α between the mobile terminal display panel and the reference plane can be 135° to 175°. Figure 2 As shown in (G), the mobile terminal's display panel is facing downwards, and the brightness sensor can only receive a very small amount of electromagnetic wave signal. In this case, the angle α between the mobile terminal's display panel and the reference plane is 180°. Considering that it is impossible for the display panel to be completely parallel to the reference plane in practical applications, the value of the angle α in this scenario can be between 175° and 185°. Thus, based on the angle values ​​obtained by the accelerometer, the mobile terminal's attitude is divided into 7 attitude forms with different angle ranges.

[0055] Of course, in practical applications, more attitude types can be defined to obtain more accurate judgment results; and the angle range corresponding to each attitude type can also be set according to actual needs; and the attitude is not limited to angles, but can also be the measured value of the acceleration sensor numerical direction as shown above. This application does not impose any restrictions on this.

[0056] Preferably, to ensure a smooth transition between different postures of the mobile terminal, in this embodiment, the included angle ranges corresponding to different postures are not entirely the same; that is, the included angle ranges corresponding to different postures can have overlapping parts. However, to ensure that the mobile terminal ultimately has only one posture, additional rules need to be set to confirm the overlapping parts.

[0057] S32 sets the signal strength threshold for each posture.

[0058] Specifically, in this embodiment, the signal strength threshold set for each attitude mode includes a minimum signal strength threshold K. down and the highest threshold of signal strength K up Minimum signal strength threshold K under uniform attitude form down Less than the highest threshold K of signal strength up .

[0059] In practical applications, the minimum signal strength threshold K under different posture conditions is... down and the highest threshold of signal strength K up These can be different, thus allowing for precise determination of whether a mobile terminal is indoors, in conjunction with signal strength thresholds and attitude angles. Among these, the minimum signal strength threshold K...down and the highest threshold of signal strength K up The specific value can be reasonably set according to the calibration results. The setting method is something that those skilled in the art can implement according to their needs, and this application will not elaborate on it further.

[0060] S33, obtain the angle between the surface of the current mobile terminal used to receive electromagnetic wave signals and the reference plane, in order to match the attitude form.

[0061] Since each posture has a corresponding angle range, once the current angle of the mobile terminal is obtained through the accelerometer, the matching posture can be obtained based on the angle range in which that angle is located.

[0062] S34: Obtain the electromagnetic wave signal strength based on the electromagnetic wave signal received by the mobile terminal.

[0063] Specifically, by receiving electromagnetic wave signals through a brightness sensor, the intensity value V of the electromagnetic wave signal can be obtained. light .

[0064] S35: Compare the electromagnetic wave signal strength with the signal strength threshold corresponding to the matched posture form to determine whether the mobile terminal is indoors or outdoors.

[0065] Specifically, in this embodiment, the signal strength threshold corresponding to the matched attitude form is invoked, and the intensity value V of the obtained electromagnetic wave signal is... light With signal strength threshold (minimum signal strength threshold K) down and the highest threshold of signal strength K up For comparison:

[0066] If the electromagnetic wave signal strength V light Greater than the highest threshold K of signal strength up If this is the case, it means that the mobile terminal is in an electromagnetic field environment filled with a large amount of non-visible light. This environment is usually an outdoor environment. Therefore, it is determined that the mobile terminal is located outdoors.

[0067] If the electromagnetic wave signal strength V light Greater than the minimum threshold K of signal strength down And less than or equal to the highest signal strength threshold K up If the light intensity is low, it indicates that the non-visible electromagnetic waves in the environment where the mobile terminal is located are not high and there is a certain level of illumination. This environment is usually an indoor environment. Therefore, it is determined that the mobile terminal is located indoors.

[0068] If the electromagnetic wave signal strength V light Less than or equal to the minimum signal strength threshold K downIf the brightness sensor detects a very weak electromagnetic wave signal, it indicates that the environment is extremely dark. Therefore, it can be determined that the mobile terminal is in an extremely dark environment.

[0069] Once the determination of whether the mobile terminal is indoors or outdoors is obtained, the corresponding value can be assigned to a preset storage location (such as a position status flag) on ​​the mobile terminal for easy retrieval. Similarly, the attitude information obtained from the accelerometer can also be assigned a corresponding value to a preset storage location (such as an attitude flag) on ​​the mobile terminal. This application does not limit the correspondence between flag values ​​and determination results; those skilled in the art can set it according to actual needs.

[0070] This embodiment also provides a mobile terminal for implementing the method described above for determining whether a mobile terminal is indoors or outdoors, such as... Figure 3 As shown, the mobile terminal includes:

[0071] A brightness sensor is used to receive electromagnetic wave signals from the environment in which the mobile terminal is located.

[0072] An accelerometer is used to acquire attitude information of a mobile terminal when it receives electromagnetic wave signals.

[0073] The control processor is used to determine whether the mobile terminal is indoors or outdoors based on the mobile terminal's posture information and the strength of the received electromagnetic wave signals.

[0074] The mobile terminal provided in this embodiment includes, but is not limited to, mobile phones, tablets, smart cameras, smartwatches, and laptops. Because the intensity of electromagnetic wave signals differs greatly between indoors and outdoors, and the electromagnetic wave signals received by the mobile terminal vary depending on its posture, the mobile terminal can accurately determine whether it is indoors by using attitude information obtained from an accelerometer and the strength of the electromagnetic wave signals received by a brightness sensor. Since this method does not require modeling to obtain features or real-time feature analysis, it has low computational complexity and low power consumption, solving the problems of poor accuracy and high power consumption in existing methods for determining whether a mobile terminal is indoors or outdoors.

[0075] Furthermore, this embodiment also provides a computer storage medium storing an executable program; when the executable program is executed, it implements the method described above for determining whether a mobile terminal is located indoors or outdoors.

[0076] Furthermore, this embodiment also provides a chip or chip module, which is coupled to a memory for executing a computer program stored in the memory to perform the method described above for determining whether a mobile terminal is located indoors or outdoors.

[0077] It should be noted that the various embodiments in this specification are described in a progressive manner, with each embodiment focusing on the differences from other embodiments. Similar or identical parts between embodiments can be referred to mutually. In addition, different parts between embodiments can also be combined with each other, and this invention does not limit this.

[0078] This embodiment provides a mobile terminal, a method for determining its indoor / outdoor location, a computer storage medium, a chip, and a chip module. The method includes: receiving electromagnetic wave signals from the environment in which the mobile terminal is located; acquiring the attitude information of the mobile terminal when receiving the electromagnetic wave signals; and determining whether the mobile terminal is indoors or outdoors based on the attitude information of the mobile terminal and the strength of the received electromagnetic wave signals. Since the intensity of electromagnetic wave signals differs greatly between indoors and outdoors, and the electromagnetic wave signals received by the mobile terminal vary with the attitude of the mobile terminal, the method can accurately determine whether the mobile terminal is indoors based on the attitude information of the mobile terminal and the strength of the received electromagnetic wave signals. Because this method does not require modeling to obtain features or real-time feature analysis, it has low computational complexity and low power consumption, solving the problems of poor accuracy and high power consumption in existing methods for determining whether a mobile terminal is indoors or outdoors.

[0079] The above description is merely a description of preferred embodiments of the present invention and is not intended to limit the scope of the present invention in any way. Any changes or modifications made by those skilled in the art based on the above disclosure shall fall within the protection scope of the claims.

Claims

1. A method for determining whether a mobile terminal is located indoors or outdoors, characterized in that, include: Receive electromagnetic wave signals from the environment in which the mobile terminal is located; Obtain the attitude information of the mobile terminal when receiving electromagnetic wave signals; Based on the mobile terminal's posture information and the strength of the received electromagnetic wave signals, determine whether the mobile terminal is indoors or outdoors, including: Multiple attitude configurations are set based on the angle between the surface of the mobile terminal used to receive electromagnetic wave signals and the reference plane; Set a signal strength threshold for each posture; Obtain the angle between the surface of the current mobile terminal used to receive electromagnetic wave signals and the reference plane to match the attitude form; The electromagnetic wave signal strength is obtained based on the electromagnetic wave signal received by the mobile terminal. By comparing the electromagnetic wave signal strength with the signal strength threshold corresponding to the matched posture, it is determined whether the mobile terminal is indoors or outdoors. Specifically, if the electromagnetic wave signal strength is greater than the highest signal strength threshold, the mobile terminal is determined to be outdoors; if the electromagnetic wave signal strength is greater than the lowest signal strength threshold but less than or equal to the highest signal strength threshold, the mobile terminal is determined to be indoors; and if the electromagnetic wave signal strength is less than or equal to the lowest signal strength threshold, the mobile terminal is determined to be in an extremely dark environment.

2. The method for determining whether a mobile terminal is indoors or outdoors according to claim 1, characterized in that, The mobile terminal has a brightness sensor, which receives electromagnetic wave signals from the environment in which the mobile terminal is located. The electromagnetic wave signals are electromagnetic wave signals outside the visible spectrum.

3. The method for determining whether a mobile terminal is indoors or outdoors according to claim 1, characterized in that, The mobile terminal has an accelerometer, which is used to obtain the attitude information of the mobile terminal when receiving electromagnetic wave signals.

4. The method for determining whether a mobile terminal is indoors or outdoors according to claim 1, characterized in that, Before receiving electromagnetic wave signals and acquiring attitude information, the method for determining whether the mobile terminal is indoors or outdoors further includes: The brightness sensor used to receive electromagnetic wave signals and the acceleration sensor used to acquire attitude information are calibrated.

5. The method for determining whether a mobile terminal is indoors or outdoors according to claim 1, characterized in that, The range of included angles corresponding to different posture forms is not exactly the same.

6. The method for determining whether a mobile terminal is indoors or outdoors according to claim 1, characterized in that, The signal strength thresholds set for each attitude mode include a minimum signal strength threshold and a maximum signal strength threshold; the minimum signal strength threshold under the same attitude mode is less than the maximum signal strength threshold.

7. A mobile terminal for implementing the method for determining whether the mobile terminal is located indoors or outdoors as described in any one of claims 1 to 6, characterized in that, The mobile terminal includes: A brightness sensor is used to receive electromagnetic wave signals from the environment in which the mobile terminal is located. An accelerometer is used to acquire attitude information of a mobile terminal when it receives electromagnetic wave signals. The control processor is used to determine whether the mobile terminal is indoors or outdoors based on the mobile terminal's posture information and the strength of the received electromagnetic wave signals.

8. A computer storage medium, characterized in that, The computer storage medium stores an executable program; when the executable program is executed, it implements the method for determining whether a mobile terminal is located indoors or outdoors as described in any one of claims 1 to 6.

9. A chip module, characterized in that, The chip module is coupled to a memory and is used to execute a computer program stored in the memory to perform the method for determining whether a mobile terminal is located indoors or outdoors as described in any one of claims 1 to 6.

Citation Information

Patent Citations

  • Indoor and outdoor identification method and system, electronic equipment and computer readable medium

    CN113176587A

  • Indoor positioning navigation system and method based on RF communication

    CN113624232A