CN112312320A - Positioning method and positioning device for terminal and positioning terminal - Google Patents

Positioning method and positioning device for terminal and positioning terminal Download PDF

Info

Publication number
CN112312320A
CN112312320A CN201910692290.3A CN201910692290A CN112312320A CN 112312320 A CN112312320 A CN 112312320A CN 201910692290 A CN201910692290 A CN 201910692290A CN 112312320 A CN112312320 A CN 112312320A
Authority
CN
China
Prior art keywords
positioning
terminal
information
switching
bluetooth
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.)
Pending
Application number
CN201910692290.3A
Other languages
Chinese (zh)
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.)
Nanjing Lansitec Information Technology Co ltd
Original Assignee
Nanjing Lansitec Information Technology 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 Nanjing Lansitec Information Technology Co ltd filed Critical Nanjing Lansitec Information Technology Co ltd
Priority to CN201910692290.3A priority Critical patent/CN112312320A/en
Publication of CN112312320A publication Critical patent/CN112312320A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/02Services making use of location information
    • H04W4/029Location-based management or tracking services
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W36/00Hand-off or reselection arrangements
    • H04W36/0005Control or signalling for completing the hand-off
    • H04W36/0055Transmission or use of information for re-establishing the radio link
    • H04W36/0066Transmission or use of information for re-establishing the radio link of control information between different types of networks in order to establish a new radio link in the target network
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W36/00Hand-off or reselection arrangements
    • H04W36/24Reselection being triggered by specific parameters
    • H04W36/32Reselection being triggered by specific parameters by location or mobility data, e.g. speed data
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/30Services specially adapted for particular environments, situations or purposes
    • 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

Abstract

The application discloses a positioning method and a positioning device for a terminal and the positioning terminal. The method comprises the steps of receiving positioning information, wherein the positioning information refers to the positioning information of a terminal; judging whether the positioning information meets a preset positioning switching condition or not; and determining whether to switch the positioning mode according to the judgment result, wherein the switching of the positioning mode refers to switching from indoor positioning to outdoor positioning or switching from outdoor positioning to indoor positioning. The method and the device solve the problem of inaccurate positioning caused by the fact that indoor and outdoor positioning modes cannot be automatically switched according to actual conditions in the terminal positioning method in the related art. The purpose of automatically switching indoor and outdoor different positioning modes is achieved according to actual conditions, and therefore the technical effect of indoor and outdoor accurate positioning is achieved.

Description

Positioning method and positioning device for terminal and positioning terminal
Technical Field
The present application relates to the field of communications technologies, and in particular, to a positioning method and a positioning apparatus for a terminal, and the positioning terminal.
Background
The indoor positioning means that position positioning is realized in an indoor environment, and a set of indoor position positioning system is formed by mainly integrating multiple technologies such as wireless communication, base station positioning, inertial navigation positioning and the like, so that position monitoring of personnel, objects and the like in an indoor space is realized. Common indoor positioning technologies include a bluetooth positioning technology, a WiFi positioning technology, a UWB (ultra wide band) positioning technology, a ZigBee positioning technology, a visual positioning technology, and the like.
The outdoor positioning mode mainly comprises the following steps: satellite-based positioning and mobile-network-based positioning of base stations. There are four major satellite positioning systems, the GPS system in the united states, the Galileo positioning system (Galileo) in the european union, the GLONASS system in russia, and the beidou satellite navigation positioning system in china. The GPS is also called Global Positioning system (Global Positioning system GPS). The base station positioning is generally applied to mobile phone users, and the mobile phone base station positioning service is also called mobile location service LBS, which is a value-added service for obtaining the location information (longitude and latitude coordinates) of mobile terminal users through the network (such as GSM network) of a telecom mobile operator and providing corresponding services for the users under the support of an electronic map platform.
The indoor and outdoor positioning method in the related art has at least the following problems: when a user moves from indoor to outdoor, the indoor Bluetooth positioning method cannot realize accurate positioning, and when the user moves from outdoor to indoor, the outdoor satellite positioning method cannot realize accurate positioning.
Aiming at the problem of inaccurate positioning caused by the fact that indoor and outdoor positioning modes cannot be automatically switched according to actual conditions in a terminal positioning method in the related art, an effective solution is not provided at present.
Disclosure of Invention
The present application mainly aims to provide a positioning method and a positioning device for a terminal, and the positioning terminal, so as to solve the problem of inaccurate positioning caused by the fact that indoor and outdoor positioning modes cannot be automatically switched according to actual conditions in a terminal positioning method in the related art.
In order to achieve the above object, according to a first aspect of the present application, there is provided a positioning method for a terminal.
The positioning method for the terminal comprises the following steps: receiving positioning information, wherein the positioning information refers to positioning information of a terminal; judging whether the positioning information meets a preset positioning switching condition or not; and determining whether to switch the positioning mode according to the judgment result, wherein the switching of the positioning mode refers to switching from indoor positioning to outdoor positioning or switching from outdoor positioning to indoor positioning.
Further, determining whether to switch the positioning mode according to the judgment result includes: if the judgment result is that the positioning information meets the preset positioning switching condition, switching the positioning mode; and if the judgment result is that the positioning information does not meet the preset positioning switching condition, not switching the positioning mode.
Further, the positioning information includes bluetooth positioning information or satellite positioning information, the indoor positioning includes bluetooth positioning, the outdoor positioning includes satellite positioning, and determining whether to switch the positioning mode according to the determination result further includes: if the signal intensity of the Bluetooth positioning information is lower than a first preset signal intensity threshold value, starting satellite positioning; judging whether the satellite positioning information is received within a first preset time period; and if the satellite positioning information is received within the first preset time period, switching the positioning mode from the Bluetooth positioning mode to the satellite positioning mode.
Further, the positioning information includes bluetooth positioning information or satellite positioning information, the indoor positioning includes bluetooth positioning, the outdoor positioning includes satellite positioning, and determining whether to switch the positioning mode according to the determination result further includes: if the signal intensity of the satellite positioning information is lower than a second preset signal intensity threshold value, starting the Bluetooth positioning; judging whether the Bluetooth positioning information is received in a second preset time period; and if the Bluetooth positioning information is received in the second preset time period, switching the positioning mode from the satellite positioning to the Bluetooth positioning.
Further, after determining whether the satellite positioning information is received within a first preset time period, the method further includes: and if the satellite positioning information is not received within the first preset time period, closing the satellite positioning.
In order to achieve the above object, according to a second aspect of the present application, there is provided a positioning apparatus for a terminal.
The positioning device for the terminal according to the present application includes: a receiving unit, configured to receive positioning information, where the positioning information refers to positioning information for a terminal; the judging unit is used for judging whether the positioning information meets a preset positioning switching condition or not; and the determining unit is used for determining whether to switch the positioning mode according to the judgment result, wherein the switching of the positioning mode refers to switching from indoor positioning to outdoor positioning or switching from outdoor positioning to indoor positioning.
Further, the determination unit is configured to: if the judgment result is that the positioning information meets the preset positioning switching condition, switching the positioning mode; and if the judgment result is that the positioning information does not meet the preset positioning switching condition, not switching the positioning mode.
Further, the positioning information includes bluetooth positioning information or satellite positioning information, the indoor positioning includes bluetooth positioning, the outdoor positioning includes satellite positioning, the determining unit further includes: the first starting module is used for starting the satellite positioning if the signal intensity of the Bluetooth positioning information is lower than a first preset signal intensity threshold value; the first judgment module is used for judging whether the satellite positioning information is received within a first preset time period; and the first switching module is used for switching the positioning mode from the Bluetooth positioning mode to the satellite positioning mode if the satellite positioning information is received in the first preset time period.
Further, the positioning information includes bluetooth positioning information or satellite positioning information, the indoor positioning includes bluetooth positioning, the outdoor positioning includes satellite positioning, the determining unit further includes: the second starting module is used for starting the Bluetooth positioning if the signal intensity of the satellite positioning information is lower than a second preset signal intensity threshold value; the second judgment module is used for judging whether the Bluetooth positioning information is received in a second preset time period; and the second switching module is used for switching the positioning mode from the satellite positioning to the Bluetooth positioning if the Bluetooth positioning information is received in the second preset time period.
In order to achieve the above object, according to a third aspect of the present application, there is provided a positioning terminal for performing the positioning method as described above, the terminal comprising: the positioning unit is used for acquiring the position information of the terminal; the singlechip is used for receiving the position information of the terminal; the wireless communication unit is used for sending the position information received by the terminal to a server; the sensor unit is used for detecting the current motion state of the terminal; and the power supply unit is used for providing electric energy for the terminal.
In the embodiment of the application, the method for receiving the positioning information and judging whether the positioning information meets the preset positioning switching condition is adopted, and whether the positioning mode is switched is determined according to the judgment result, so that the aim of automatically switching indoor and outdoor different positioning modes is fulfilled, the technical effect of accurate indoor and outdoor positioning is realized, and the problem of inaccurate positioning caused by the fact that the indoor and outdoor positioning modes cannot be automatically switched according to actual conditions in the terminal positioning method in the related art is solved.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this application, serve to provide a further understanding of the application and to enable other features, objects, and advantages of the application to be more apparent. The drawings and their description illustrate the embodiments of the invention and do not limit it. In the drawings:
fig. 1 is a schematic flow chart of a positioning method for a terminal according to a first embodiment of the present application;
fig. 2 is a flowchart illustrating a positioning method for a terminal according to a second embodiment of the present application;
fig. 3 is a flowchart illustrating a positioning method for a terminal according to a third embodiment of the present application;
fig. 4 is a schematic structural diagram of a positioning apparatus for a terminal according to a first embodiment of the present application;
fig. 5 is a schematic structural diagram of a positioning apparatus for a terminal according to a second embodiment of the present application; and
fig. 6 is a schematic structural diagram of a positioning terminal according to an embodiment of the present application.
Detailed Description
In order to make the technical solutions better understood by those skilled in the art, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are only partial embodiments of the present application, but not all embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
It should be noted that the terms "first," "second," and the like in the description and claims of this application and in the drawings described above are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It should be understood that the data so used may be interchanged under appropriate circumstances such that embodiments of the application described herein may be used. Furthermore, the terms "comprises," "comprising," and "having," and any variations thereof, are intended to cover a non-exclusive inclusion, such that a process, method, system, article, or apparatus that comprises a list of steps or elements is not necessarily limited to those steps or elements expressly listed, but may include other steps or elements not expressly listed or inherent to such process, method, article, or apparatus.
It should be noted that the embodiments and features of the embodiments in the present application may be combined with each other without conflict. The present application will be described in detail below with reference to the embodiments with reference to the attached drawings.
According to an embodiment of the present invention, there is provided a positioning method for a terminal, as shown in fig. 1, the method includes steps S101 to S103 as follows:
step S101, positioning information is received, wherein the positioning information refers to positioning information of a terminal.
In particular, when the positioning terminal enters indoors or outdoors, the positioning terminal can receive the positioning signal sent by the positioning node arranged indoors or outdoors. For example, when a positioning terminal enters the room, a signal of a bluetooth beacon arranged in advance may be received, at this time, indoor positioning may be started, positioning information representing the position of the terminal is received, and the received positioning information is transmitted to a server through a gateway or a base station for subsequent calculation and processing.
Step S102, judging whether the positioning information meets a preset positioning switching condition.
During the concrete implementation, when the positioning terminal leaves above-mentioned indoor space, the signal intensity that the terminal can't receive bluetooth beacon or received bluetooth beacon is relatively weak, if still adopt the mode of indoor location this moment can't realize the accurate location to the terminal. In another situation, since the bluetooth signal can be transmitted several tens of meters away, there is a possibility that the positioning terminal can still receive the signal of the bluetooth beacon even though the positioning terminal is located outdoors, and it is mistaken that the positioning terminal is still located indoors, which causes a large positioning error. In addition, the bluetooth signal is easily blocked by buildings and the like, so that the transmission distance of the bluetooth signal is greatly reduced, and therefore, the situation that the positioning terminal still stays indoors but thinks that the positioning terminal has arrived outdoors because the positioning terminal cannot receive the signal of the bluetooth beacon due to the fact that the signal of the bluetooth beacon is not fully covered can occur, and therefore, the positioning mode is switched from indoor positioning to outdoor positioning by mistake.
In order to solve the problem that the original positioning method can not realize accurate positioning any more when the positioning terminal moves from indoor to outdoor or from outdoor to indoor, the method for switching the indoor and outdoor positioning modes is provided, and whether the existing positioning mode really needs to be switched or not is firstly judged before the positioning mode is switched, so that wrong positioning switching is avoided.
And step S103, determining whether to switch the positioning mode according to the judgment result, wherein the switching of the positioning mode refers to switching from indoor positioning to outdoor positioning or switching from outdoor positioning to indoor positioning.
In specific implementation, whether the positioning mode is switched from indoor positioning to outdoor positioning or from outdoor positioning to indoor positioning or not is determined according to the judgment result of the terminal.
Preferably, determining whether to switch the positioning mode according to the determination result includes steps S1031 to S1032:
and step S1031, if the judgment result is that the positioning information meets the preset positioning switching condition, switching the positioning mode.
In specific implementation, when the positioning information of the terminal meets a preset positioning switching condition, switching the positioning mode, wherein the specific switching mode is switching from indoor positioning to outdoor positioning or switching from outdoor positioning to indoor positioning. For example, when the positioning information sent by the bluetooth beacon received by the terminal meets the preset positioning switching condition, which indicates that the positioning terminal has moved outdoors, the indoor bluetooth positioning is switched to the outdoor satellite positioning or GPS positioning.
Step S1032, if the determination result is that the positioning information does not satisfy the preset positioning switching condition, the positioning mode is not switched.
In specific implementation, when the positioning information of the terminal does not meet the preset positioning switching condition, the switching of the positioning mode is not performed, and the original positioning mode is still maintained. For example, when the positioning information sent by the bluetooth beacon received by the terminal does not meet the preset positioning switching condition, it indicates that the positioning terminal is still indoors, and the bluetooth positioning mode is still adopted.
Preferably, the positioning information includes bluetooth positioning information or satellite positioning information, the indoor positioning includes bluetooth positioning, the outdoor positioning includes satellite positioning, as shown in fig. 2, determining whether to switch the positioning mode according to the determination result further includes steps S201 to S203 as follows:
step S201, if the signal intensity of the Bluetooth positioning information is lower than a first preset signal intensity threshold value, the satellite positioning is started.
During specific implementation, the indoor positioning mode in the application can include bluetooth positioning, WIFI positioning or UWB (ultra wide band) positioning and other modes, the outdoor positioning can include satellite positioning or GPS positioning mode, and specific positioning mode selection can be configured according to actual needs, and is not specifically limited herein. When the positioning terminal is positioned indoors in a bluetooth positioning mode, the signal intensity of the received bluetooth signal needs to be monitored in real time, that is, the signal intensity changes to be used as a prerequisite for judging whether the terminal moves from indoors to outdoors. As a preferred implementation manner of the embodiment of the present application, a first preset signal strength threshold value, such as a bluetooth positioning signal strength threshold value, is preset, and when the signal strength of a bluetooth signal received by a positioning terminal is lower than the threshold value, it indicates that the positioning terminal may have moved outdoors or may still be indoors but the transmission of the bluetooth signal is interfered, and the like.
Step S202, determining whether the satellite positioning information is received within a first preset time period.
In specific implementation, in order to save energy consumption of the positioning terminal, a certain time period can be preset to determine the time length for starting satellite positioning, and the time length can be flexibly set according to actual needs. For example, when the signal strength of the bluetooth signal received by the positioning terminal is lower than a threshold, which indicates that the terminal may have moved outdoors or may still be indoors but the transmission of the bluetooth signal is interfered, at this time, whether the terminal has moved outdoors is determined by starting an outdoor positioning manner, such as satellite positioning, within a preset time period, to assist in determining whether the terminal has moved outdoors, and whether the positioning terminal can receive a satellite positioning signal with sufficient strength within the preset time period, preferably, whether the signal strength of the satellite positioning signal received by the positioning terminal within the preset time period reaches a certain preset threshold.
Step S203, if the satellite positioning information is received within the first preset time period, switching the positioning mode from the bluetooth positioning to the satellite positioning.
In specific implementation, if the positioning terminal receives the satellite positioning signal within the preset time period and the signal strength of the satellite positioning signal also reaches a certain threshold, which indicates that the positioning terminal has moved from indoor to outdoor, the bluetooth positioning is turned off at this time, and the automatic switching of the positioning mode from indoor positioning to outdoor positioning is completed.
Preferably, after determining whether the satellite positioning information is received within the first preset time period, the method further includes the following step S204:
step S204, if the satellite positioning information is not received in the first preset time period, the satellite positioning is closed.
In specific implementation, if the positioning terminal does not receive the satellite positioning signal or the received satellite positioning signal strength is lower than the preset signal strength threshold value in the preset time period, it is indicated that the positioning terminal still stays indoors, and at this time, the satellite positioning is turned off.
Preferably, as shown in fig. 3, determining whether to switch the positioning mode according to the determination result further includes the following steps S301 to S303:
step S301, if the signal strength of the satellite positioning information is lower than a second preset signal strength threshold value, starting the Bluetooth positioning.
In specific implementation, when outdoor positioning is performed on the positioning terminal through satellite positioning or GPS positioning, the signal strength of the received satellite signal needs to be monitored in real time, that is, the signal strength changes are used as a prerequisite for determining whether the terminal moves from outdoor to indoor. As a preferred implementation manner of the embodiment of the present application, a second preset signal strength threshold value, such as a satellite positioning signal strength threshold value, is preset, and when the signal strength of a satellite positioning signal received by a positioning terminal is lower than the threshold value, it indicates that the positioning terminal may have moved indoors or may still be outdoors but the transmission of the satellite signal is interfered, and the like.
Step S302, determining whether the bluetooth positioning information is received within a second preset time period.
During specific implementation, in order to save energy consumption of the positioning terminal, a certain time period can be preset to determine the time length for starting the bluetooth positioning, and the time length can be flexibly set according to actual needs. For example, when the signal strength of the satellite positioning signal received by the positioning terminal is lower than a threshold, which indicates that the terminal may have moved indoors or may still be outdoors but the transmission of the satellite positioning signal is interfered, at this time, whether the terminal has moved indoors is determined by starting an indoor positioning manner, such as bluetooth positioning, within a preset time period, to assist in determining whether the terminal has moved indoors, and whether the positioning terminal can receive a bluetooth positioning signal with sufficient strength within the preset time period, preferably, whether the signal strength of the bluetooth positioning signal received by the positioning terminal within the preset time period reaches a certain preset threshold.
Step S303, if the bluetooth positioning information is received within the second preset time period, switching the positioning mode from the satellite positioning to the bluetooth positioning.
In specific implementation, if the positioning terminal receives the bluetooth positioning signal within the preset time period and the signal strength of the bluetooth positioning signal also reaches a certain threshold, which indicates that the positioning terminal has moved from outdoor to indoor, the satellite positioning is turned off at this time, and the automatic switching of the positioning mode from outdoor positioning to indoor positioning is completed.
From the above description, it can be seen that the present invention achieves the following technical effects:
the method and the device have the advantages that the positioning information is received and judged, whether the positioning information meets the mode of presetting the positioning switching condition or not is judged, whether the positioning mode is switched or not is determined according to the judgment result, the purpose of carrying out automatic switching of different positioning modes indoors and outdoors is achieved, the technical effect of accurate positioning indoors and outdoors is achieved, and the problem that positioning is inaccurate due to the fact that the indoor and outdoor positioning modes cannot be automatically switched according to actual conditions in a terminal positioning method in the related art is solved.
According to an embodiment of the present invention, there is also provided a positioning apparatus for implementing the above positioning method, as shown in fig. 4, the apparatus includes: a receiving unit 1, a judging unit 2 and a determining unit 3.
The receiving unit 1 of this embodiment is configured to receive positioning information, where the positioning information refers to positioning information for a terminal.
In practical implementation, when the positioning terminal enters indoors or outdoors, the receiving unit 1 may receive the positioning signal sent by the positioning node disposed indoors or outdoors. For example, when a positioning terminal enters the room, a signal of a bluetooth beacon arranged in advance may be received, at this time, indoor positioning may be started, positioning information representing the position of the terminal is received, and the received positioning information is transmitted to a server through a gateway or a base station for subsequent calculation and processing.
The determining unit 2 of this embodiment is configured to determine whether the positioning information meets a preset positioning switching condition.
In specific implementation, in order to solve the problem that an original positioning method cannot realize accurate positioning any more when the positioning terminal moves from indoor to outdoor or from outdoor to indoor, the positioning device capable of realizing switching of indoor and outdoor positioning modes is provided, and meanwhile, before switching of the positioning modes, whether the existing positioning modes really need to be switched or not is judged through the judging unit 2, so that wrong positioning switching is avoided.
The determining unit 3 of this embodiment is configured to determine whether to perform switching of a positioning manner according to a determination result, where the switching of the positioning manner is to switch from indoor positioning to outdoor positioning or from outdoor positioning to indoor positioning.
In specific implementation, the determining unit 3 determines whether to switch the positioning mode from indoor positioning to outdoor positioning or from outdoor positioning to indoor positioning or not to switch the positioning mode according to the judgment result of the judging unit 2.
Preferably, the determining unit is configured to:
and if the judgment result is that the positioning information meets the preset positioning switching condition, switching the positioning mode.
In specific implementation, when the positioning information of the terminal meets a preset positioning switching condition, switching the positioning mode, wherein the specific switching mode is switching from indoor positioning to outdoor positioning or switching from outdoor positioning to indoor positioning. For example, when the positioning information sent by the bluetooth beacon received by the terminal meets the preset positioning switching condition, which indicates that the positioning terminal has moved outdoors, the indoor bluetooth positioning is switched to the outdoor satellite positioning or GPS positioning.
And if the judgment result is that the positioning information does not meet the preset positioning switching condition, not switching the positioning mode.
In specific implementation, when the positioning information of the terminal does not meet the preset positioning switching condition, the switching of the positioning mode is not performed, and the original positioning mode is still maintained. For example, when the positioning information sent by the bluetooth beacon received by the terminal does not meet the preset positioning switching condition, it indicates that the positioning terminal is still indoors, and the bluetooth positioning mode is still adopted.
Preferably, the positioning information includes bluetooth positioning information or satellite positioning information, the indoor positioning includes bluetooth positioning, the outdoor positioning includes satellite positioning, as shown in fig. 5, the determining unit 3 further includes: a first opening module 31, a first determining module 32 and a first switching module 33.
The first starting module 31 of this embodiment is configured to start the satellite positioning if the signal strength of the bluetooth positioning information is lower than a first preset signal strength threshold.
During specific implementation, when the positioning terminal is positioned indoors in a bluetooth positioning mode, the signal intensity of the received bluetooth signal needs to be monitored in real time, that is, the signal intensity changes are used as a prerequisite for judging whether the terminal moves from indoors to outdoors. As a preferred implementation manner of the embodiment of the present application, a first preset signal strength threshold, such as a bluetooth positioning signal strength threshold, is preset, and when the signal strength of a bluetooth signal received by a positioning terminal is lower than the threshold, it indicates that the positioning terminal may have moved outdoors or may still be indoors but the transmission of the bluetooth signal is interfered, and the like.
The first determining module 32 of this embodiment is configured to determine whether the satellite positioning information is received within a first preset time period.
In specific implementation, in order to save energy consumption of the positioning terminal, a certain time period can be preset to determine the time length for starting satellite positioning, and the time length can be flexibly set according to actual needs. For example, when the signal strength of the bluetooth signal received by the positioning terminal is lower than the threshold, which indicates that the terminal may have moved outdoors or may still be indoors but the transmission of the bluetooth signal is interfered, the first determining module 32 starts an outdoor positioning manner, such as satellite positioning, to assist in determining whether the terminal has moved outdoors, determines whether the positioning terminal can receive a satellite positioning signal with sufficient strength within the preset time period, and preferably determines whether the signal strength of the satellite positioning signal received by the positioning terminal within the preset time period reaches a certain preset threshold.
The first switching module 33 of this embodiment is configured to switch the positioning mode from the bluetooth positioning to the satellite positioning if the satellite positioning information is received within the first preset time period.
In specific implementation, if the positioning terminal receives the satellite positioning signal within the preset time period and the signal strength of the satellite positioning signal also reaches a certain threshold, which indicates that the positioning terminal has moved from indoor to outdoor, the bluetooth positioning is turned off, that is, the automatic switching of the positioning mode from indoor positioning to outdoor positioning is completed through the first switching module 33.
Preferably, the determining unit 3 further comprises:
a first closing module, configured to close the satellite positioning if the satellite positioning information is not received within the first preset time period.
In specific implementation, if the positioning terminal does not receive the satellite positioning signal or the received satellite positioning signal strength is lower than the preset signal strength threshold value in the preset time period, it is indicated that the positioning terminal still stays indoors, and at this time, the satellite positioning is turned off through the first turning-off module.
Preferably, as shown in fig. 5, the determining unit 3 further includes: a second opening module 34, a second determination module 35, and a second switching module 36.
The second starting module 34 of this embodiment is configured to start the bluetooth positioning if the signal strength of the satellite positioning information is lower than a second preset signal strength threshold.
In specific implementation, when outdoor positioning is performed on the positioning terminal through satellite positioning or GPS positioning, the signal strength of the received satellite signal needs to be monitored in real time, that is, the signal strength changes are used as a prerequisite for determining whether the terminal moves from outdoor to indoor. As a preferred implementation manner of the embodiment of the present application, a second preset signal strength threshold value, such as a satellite positioning signal strength threshold value, is preset, and when the signal strength of a satellite positioning signal received by a positioning terminal is lower than the threshold value, it indicates that the positioning terminal may have moved indoors or may still be outdoors but the transmission of the satellite signal is interfered, and the like, so that the present application opens an indoor positioning manner, such as bluetooth positioning, through the second opening module 34 to assist in determining whether the terminal has moved indoors.
The second determining module 35 of this embodiment is configured to determine whether the bluetooth positioning information is received within a second preset time period.
During specific implementation, in order to save energy consumption of the positioning terminal, a certain time period can be preset to determine the time length for starting the bluetooth positioning, and the time length can be flexibly set according to actual needs. For example, when the signal strength of the satellite positioning signal received by the positioning terminal is lower than the threshold, it indicates that the terminal may have moved indoors or may still be outdoors but the transmission of the satellite positioning signal is interfered, at this time, whether the terminal has moved indoors is determined by starting an indoor positioning manner, such as bluetooth positioning, within a preset time period, and whether the positioning terminal receives a bluetooth positioning signal with sufficient strength within the preset time period is determined, and preferably, whether the signal strength of the bluetooth positioning signal received by the positioning terminal within the preset time period reaches a certain preset threshold is determined by the second determining module 35.
The second switching module 36 of this embodiment is configured to switch the positioning mode from the satellite positioning to the bluetooth positioning if the bluetooth positioning information is received within the second preset time period.
In specific implementation, if the positioning terminal receives the bluetooth positioning signal within the preset time period and the signal strength of the bluetooth positioning signal also reaches a certain threshold, which indicates that the positioning terminal has moved from outdoor to indoor, the satellite positioning is turned off, that is, the second switching module 36 completes automatic switching of the positioning mode from outdoor positioning to indoor positioning.
According to an embodiment of the present invention, there is also provided a positioning terminal for executing the positioning method, and in specific implementation, the positioning terminal may be an intelligent safety helmet worn by a person, as shown in fig. 6, and the terminal includes: positioning unit 4, singlechip 5, wireless communication unit 6, sensor unit 7 and power supply unit 8.
The positioning unit 4 of this embodiment is configured to obtain location information of the terminal.
During specific implementation, the positioning unit 4 can be a GPS positioning module, a beidou satellite positioning module or a galileo positioning module, and the GPS positioning module or the beidou satellite positioning module is connected with the single chip microcomputer 5 and used for acquiring the position information of the positioning terminal.
The single chip microcomputer 5 of this embodiment is configured to receive the location information of the terminal.
As a preferred embodiment in this embodiment, the single chip microcomputer 5 is a bluetooth single chip microcomputer, so that it has a bluetooth function, and cooperates with a peripheral bluetooth base station, and is supplemented with an internal calculation program of the single chip microcomputer 5, so as to perform a positioning function.
The wireless communication unit 6 of this embodiment is configured to send the location information received by the terminal to a server.
In specific implementation, the wireless communication device 6 is used for uploading the position information of the terminal received by the singlechip 5 to the server, and then the server performs calculation and processing to determine the position of the terminal. In the present embodiment, the wireless communication unit 6 is preferably an LoRa communicator or an NB-IoT communicator, and has a remote transmission function, a high transmission speed, and low power consumption.
The sensor unit 7 of this embodiment is configured to detect a current motion state of the terminal.
In a specific implementation, the sensor unit 7 may comprise a muscle electrical sensor for detecting head muscle movement data. Can be when personnel wear intelligent safety helmet through muscle electric sensor, survey head muscle motion data, when not wearing, can't record head muscle motion data to whether wear for judging the safety helmet and provide the guarantee.
The power supply unit 8 of this embodiment is configured to provide power for the terminal.
In specific implementation, the power supply unit 8 comprises a rechargeable battery 8 connected with the single chip microcomputer 5, and the rechargeable battery 8 is used for providing electric energy for the safety helmet.
Preferably, the terminal further comprises an LED lamp for displaying the charging state and the working state of the equipment, so that the charging state and the working state of the equipment can be displayed, and personnel can visually judge the charging state and the working state of the equipment.
It should be noted that the steps illustrated in the flowcharts of the figures may be performed in a computer system such as a set of computer-executable instructions and that, although a logical order is illustrated in the flowcharts, in some cases, the steps illustrated or described may be performed in an order different than presented herein.
It will be apparent to those skilled in the art that the modules or steps of the present invention described above may be implemented by a general purpose computing device, they may be centralized on a single computing device or distributed across a network of multiple computing devices, and they may alternatively be implemented by program code executable by a computing device, such that they may be stored in a storage device and executed by a computing device, or fabricated separately as individual integrated circuit modules, or fabricated as a single integrated circuit module from multiple modules or steps. Thus, the present invention is not limited to any specific combination of hardware and software.
The above description is only a preferred embodiment of the present application and is not intended to limit the present application, and various modifications and changes may be made by those skilled in the art. Any modification, equivalent replacement, improvement and the like made within the spirit and principle of the present application shall be included in the protection scope of the present application.

Claims (10)

1. A positioning method for a terminal, comprising:
receiving positioning information, wherein the positioning information refers to positioning information of a terminal;
judging whether the positioning information meets a preset positioning switching condition or not;
and determining whether to switch the positioning mode according to the judgment result, wherein the switching of the positioning mode refers to switching from indoor positioning to outdoor positioning or switching from outdoor positioning to indoor positioning.
2. The method of claim 1, wherein determining whether to switch the positioning mode according to the determination result comprises:
if the judgment result is that the positioning information meets the preset positioning switching condition, switching the positioning mode;
and if the judgment result is that the positioning information does not meet the preset positioning switching condition, not switching the positioning mode.
3. The method according to claim 1, wherein the positioning information includes bluetooth positioning information or satellite positioning information, the indoor positioning includes bluetooth positioning, the outdoor positioning includes satellite positioning, and determining whether to switch the positioning mode according to the determination result further includes:
if the signal intensity of the Bluetooth positioning information is lower than a first preset signal intensity threshold value, starting satellite positioning;
judging whether the satellite positioning information is received within a first preset time period;
and if the satellite positioning information is received within the first preset time period, switching the positioning mode from the Bluetooth positioning mode to the satellite positioning mode.
4. The method according to claim 1, wherein the positioning information includes bluetooth positioning information or satellite positioning information, the indoor positioning includes bluetooth positioning, the outdoor positioning includes satellite positioning, and determining whether to switch the positioning mode according to the determination result further includes:
if the signal intensity of the satellite positioning information is lower than a second preset signal intensity threshold value, starting the Bluetooth positioning;
judging whether the Bluetooth positioning information is received in a second preset time period;
and if the Bluetooth positioning information is received in the second preset time period, switching the positioning mode from the satellite positioning to the Bluetooth positioning.
5. The method according to claim 3, further comprising after determining whether the satellite positioning information is received within a first preset time period:
and if the satellite positioning information is not received within the first preset time period, closing the satellite positioning.
6. A positioning apparatus for a terminal, comprising:
a receiving unit, configured to receive positioning information, where the positioning information refers to positioning information for a terminal;
the judging unit is used for judging whether the positioning information meets a preset positioning switching condition or not;
and the determining unit is used for determining whether to switch the positioning mode according to the judgment result, wherein the switching of the positioning mode refers to switching from indoor positioning to outdoor positioning or switching from outdoor positioning to indoor positioning.
7. The positioning apparatus for a terminal according to claim 6, wherein the determining unit is configured to:
if the judgment result is that the positioning information meets the preset positioning switching condition, switching the positioning mode;
and if the judgment result is that the positioning information does not meet the preset positioning switching condition, not switching the positioning mode.
8. The positioning apparatus for a terminal according to claim 6, wherein the positioning information comprises Bluetooth positioning information or satellite positioning information, the indoor positioning comprises Bluetooth positioning, the outdoor positioning comprises satellite positioning, and the determining unit further comprises:
the first starting module is used for starting the satellite positioning if the signal intensity of the Bluetooth positioning information is lower than a first preset signal intensity threshold value;
the first judgment module is used for judging whether the satellite positioning information is received within a first preset time period;
and the first switching module is used for switching the positioning mode from the Bluetooth positioning mode to the satellite positioning mode if the satellite positioning information is received in the first preset time period.
9. The positioning apparatus for a terminal according to claim 6, wherein the positioning information comprises Bluetooth positioning information or satellite positioning information, the indoor positioning comprises Bluetooth positioning, the outdoor positioning comprises satellite positioning, and the determining unit further comprises:
the second starting module is used for starting the Bluetooth positioning if the signal intensity of the satellite positioning information is lower than a second preset signal intensity threshold value;
the second judgment module is used for judging whether the Bluetooth positioning information is received in a second preset time period;
and the second switching module is used for switching the positioning mode from the satellite positioning to the Bluetooth positioning if the Bluetooth positioning information is received in the second preset time period.
10. A positioning terminal, characterized in that it is configured to perform the positioning method according to any of claims 1 to 5, said terminal comprising:
the positioning unit is used for acquiring the position information of the terminal;
the singlechip is used for receiving the position information of the terminal;
the wireless communication unit is used for sending the position information received by the terminal to a server;
the sensor unit is used for detecting the current motion state of the terminal;
and the power supply unit is used for providing electric energy for the terminal.
CN201910692290.3A 2019-07-29 2019-07-29 Positioning method and positioning device for terminal and positioning terminal Pending CN112312320A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910692290.3A CN112312320A (en) 2019-07-29 2019-07-29 Positioning method and positioning device for terminal and positioning terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910692290.3A CN112312320A (en) 2019-07-29 2019-07-29 Positioning method and positioning device for terminal and positioning terminal

Publications (1)

Publication Number Publication Date
CN112312320A true CN112312320A (en) 2021-02-02

Family

ID=74328937

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910692290.3A Pending CN112312320A (en) 2019-07-29 2019-07-29 Positioning method and positioning device for terminal and positioning terminal

Country Status (1)

Country Link
CN (1) CN112312320A (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20080159226A1 (en) * 2006-12-29 2008-07-03 Lucent Technologies Inc Methods of handling coverage within a wireless communications system
WO2018045888A1 (en) * 2016-09-07 2018-03-15 高德信息技术有限公司 Positioning switching method and apparatus
WO2018049766A1 (en) * 2016-09-19 2018-03-22 广州视源电子科技股份有限公司 Positioning method, device, apparatus, and system
CN108124302A (en) * 2016-11-28 2018-06-05 北京金坤科创技术有限公司 A kind of indoor and outdoor locating self-adaption seamless handover method

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20080159226A1 (en) * 2006-12-29 2008-07-03 Lucent Technologies Inc Methods of handling coverage within a wireless communications system
WO2018045888A1 (en) * 2016-09-07 2018-03-15 高德信息技术有限公司 Positioning switching method and apparatus
WO2018049766A1 (en) * 2016-09-19 2018-03-22 广州视源电子科技股份有限公司 Positioning method, device, apparatus, and system
CN108124302A (en) * 2016-11-28 2018-06-05 北京金坤科创技术有限公司 A kind of indoor and outdoor locating self-adaption seamless handover method

Similar Documents

Publication Publication Date Title
US20150373646A1 (en) Method of controlling battery usage
CN201846400U (en) Self-starting control system for household electrical appliances
EP2852227A1 (en) Method and apparatus for controlling wireless fidelity device in terminal, and terminal
CN106550323B (en) Method for determining the geographical position of a device
CN104954981A (en) Method and device for determining safe position
EP2629174A2 (en) Method of reducing power consumption within a portable communication device
CN103826006A (en) Prompting method and device of mobile terminal, and method for improving signal coverage
CN107534932B (en) Method for controlling functional state and related equipment
CN105188072B (en) Intelligent the whole network wireless signal detecting system
EP2883370B1 (en) Information processing terminal, information processing method, program, and information storage medium
KR101603712B1 (en) Method for indoor positioning and, system thereof
CN203352798U (en) Mobile information positioning terminal
CN106304320A (en) A kind of method of locating terminal, terminal, cloud computing analysis service platform and system
WO2010093348A1 (en) Wireless device for receiving calls to automatically transmit messages of current device location
CN110740419A (en) Interphone, switching method of working modes of interphone and computer-readable storage medium
CN112312320A (en) Positioning method and positioning device for terminal and positioning terminal
CN110769407B (en) Search and rescue positioning method and device
CN106707303A (en) Wearable device
CN102255928A (en) Wireless mobile communication terminal with hybrid location function
CN203894415U (en) Electromagnetic-compatibility control equipment for Beidou mobile terminal
EP2801155B1 (en) System and method to enhance battery life in cell phone devices
CN111148031A (en) Method for saving GPS positioning power consumption and wearable device
CN108267766B (en) Monitoring system for base station
CN210051898U (en) Intelligent interactive positioning system
CN113242517B (en) Positioning control method, storage medium and equipment

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
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20210202