CN111757263A - Positioning data sharing method and system and mobile terminal - Google Patents

Positioning data sharing method and system and mobile terminal Download PDF

Info

Publication number
CN111757263A
CN111757263A CN201910701072.1A CN201910701072A CN111757263A CN 111757263 A CN111757263 A CN 111757263A CN 201910701072 A CN201910701072 A CN 201910701072A CN 111757263 A CN111757263 A CN 111757263A
Authority
CN
China
Prior art keywords
mobile terminal
floor
target
building
information
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
CN201910701072.1A
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.)
Guangdong Genius Technology Co Ltd
Original Assignee
Guangdong Genius 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 Guangdong Genius Technology Co Ltd filed Critical Guangdong Genius Technology Co Ltd
Priority to CN201910701072.1A priority Critical patent/CN111757263A/en
Publication of CN111757263A publication Critical patent/CN111757263A/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/021Services related to particular areas, e.g. point of interest [POI] services, venue services or geofences
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01DMEASURING NOT SPECIALLY ADAPTED FOR A SPECIFIC VARIABLE; ARRANGEMENTS FOR MEASURING TWO OR MORE VARIABLES NOT COVERED IN A SINGLE OTHER SUBCLASS; TARIFF METERING APPARATUS; MEASURING OR TESTING NOT OTHERWISE PROVIDED FOR
    • G01D21/00Measuring or testing not otherwise provided for
    • G01D21/02Measuring two or more variables by means not covered by a single other subclass
    • 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
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/30Services specially adapted for particular environments, situations or purposes
    • H04W4/33Services specially adapted for particular environments, situations or purposes for indoor environments, e.g. buildings
    • 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
    • H04W4/38Services specially adapted for particular environments, situations or purposes for collecting sensor information
    • 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

A method, a system and a mobile terminal for sharing positioning data are provided, the method comprises: when a positioning sharing request sent by a first mobile terminal is received, judging whether a second mobile terminal is indoors or not; if so, identifying the building information of the target building where the second mobile terminal is currently located; when the detected change of the instant air pressure value is stable, determining the floor information of the target floor where the second mobile terminal is located according to the instant air pressure value; determining the position information of the second mobile terminal in the target floor according to the wireless communication signal; wherein the wireless communication signal is transmitted by a wireless communication signal transmitter disposed within the target floor; the building information of the target building, the floor information of the target floor and the position information of the second mobile terminal in the target floor are sent to the first mobile terminal, so that a user of one mobile terminal can check the specific indoor position information of the user of the other mobile terminal at any time.

Description

Positioning data sharing method and system and mobile terminal
Technical Field
The invention relates to the technical field of positioning, in particular to a method and a system for sharing positioning data and a mobile terminal.
Background
When a child independently goes out, parents often worry about whether the child walks by mistake, sits by mistake on a bus and the like, so that the parents want to check the real-time position information of the child and know the trip dynamics of the child in time. At present, some mobile terminals can provide the locate function, and parents can learn child's trip condition through looking over child's the mobile terminal's that carries location data.
However, in practice, it is found that, due to the low positioning accuracy of most mobile terminals at present, parents generally cannot acquire specific indoor location information of a child after the child enters a room.
Disclosure of Invention
The embodiment of the invention discloses a method and a system for sharing positioning data and wearable equipment, so that a user of one mobile terminal can check specific indoor position information of a user of another mobile terminal at any time.
The first aspect of the embodiments of the present invention discloses a method for sharing location data, where the method includes:
when a positioning sharing request sent by a first mobile terminal is received, judging whether a second mobile terminal is indoors or not;
if the second mobile terminal is indoors, identifying building information of a target building where the second mobile terminal is located currently, and detecting an instant air pressure value by using an air pressure sensor of the second mobile terminal;
when the change of the instant air pressure value is detected to be stable, determining the floor information of the target floor where the second mobile terminal is located currently according to the instant air pressure value;
determining the position information of the second mobile terminal in the target floor according to the wireless communication signal received by the second mobile terminal; wherein the wireless communication signal is transmitted by a wireless communication signal transmitter disposed within the target floor;
and sending the building information of the target building, the floor information of the target floor and the position information of the second mobile terminal in the target floor to the first mobile terminal.
As an optional implementation manner, in the first aspect of this embodiment of the present invention, the method further includes:
if the second mobile terminal is judged not to be indoors, determining the real-time position of the second mobile terminal according to the satellite positioning signal and/or the mobile communication signal received by the second mobile terminal;
determining the moving speed of the second mobile terminal according to the change of the real-time position of the second mobile terminal;
judging whether the moving speed of the second mobile terminal is within a moving speed range corresponding to any preset traveling mode;
and if so, sending the real-time position of the second mobile terminal and the travel mode to the first mobile terminal.
As an optional implementation manner, in the first aspect of this embodiment of the present invention, the method further includes:
detecting whether a Bluetooth communication connection which is established in advance between the second mobile terminal and the first mobile terminal is disconnected;
when the Bluetooth communication connection is detected to be disconnected, judging whether the second mobile terminal is carried on a human body;
and if so, executing the step of judging whether the second mobile terminal is indoors.
As an optional implementation manner, in the first aspect of the embodiment of the present invention, after determining whether the second mobile terminal is carried on a human body, the method further includes:
receiving real-time positioning data of the first mobile terminal sent by the first mobile terminal;
and after determining the floor information of the target floor where the second mobile terminal is currently located according to the instant air pressure value when the instant air pressure value is detected to be stable, the method further comprises the following steps:
judging whether the real-time positioning data indicate that the first mobile terminal is located indoors or not;
if the first mobile terminal is located indoors, judging whether the building where the first mobile terminal is currently located contained in the real-time positioning data is consistent with the target building; judging whether the floor where the first mobile terminal is located currently in the real-time positioning data is consistent with the target floor or not;
and if the building where the first mobile terminal is currently located is consistent with the target building and the floor where the first mobile terminal is currently located is consistent with the target floor, controlling the second mobile terminal to output an acoustic and/or optical alarm signal.
As an optional implementation manner, in the first aspect of this embodiment of the present invention, the method further includes:
if the building where the first mobile terminal is currently located is consistent with the target building and the floor where the first mobile terminal is currently located is not consistent with the target floor, outputting prompt information; the prompt message is used for prompting the wearer of the second mobile terminal to stay at the target floor.
A second aspect of an embodiment of the present invention discloses a mobile terminal, including:
the first judging unit is used for judging whether the second mobile terminal is indoors or not when receiving a positioning sharing request sent by the first mobile terminal;
the identification unit is used for identifying the building information of the target building where the second mobile terminal is currently located when the first judgment unit judges that the second mobile terminal is located indoors, and detecting an instant air pressure value by using an air pressure sensor of the second mobile terminal;
the first determining unit is used for determining the floor information of the target floor where the second mobile terminal is located according to the instant air pressure value when the instant air pressure value is detected to be stable; determining the position information of the second mobile terminal in the target floor according to the wireless communication signal received by the second mobile terminal; the wireless communication signal is transmitted by a wireless communication signal transmitter disposed within the target floor;
and the communication unit is used for sending the building information of the target building, the floor information of the target floor and the position information of the second mobile terminal in the target floor to the first mobile terminal.
As an optional implementation manner, in a second aspect of the embodiment of the present invention, the mobile terminal further includes:
the second determining unit is used for determining the real-time position of the second mobile terminal according to the satellite positioning signal and/or the mobile communication signal received by the second mobile terminal when the first judging unit judges that the second mobile terminal is not indoors; determining the moving speed of the second mobile terminal according to the change of the real-time position of the second mobile terminal;
the second judging unit is used for judging whether the moving speed of the second mobile terminal is within a moving speed range corresponding to any preset travel mode;
the communication unit is further configured to send the real-time position of the second mobile terminal and the travel mode to the first mobile terminal when the second determination unit determines that the moving speed of the second mobile terminal is within a motion speed range corresponding to any one of the travel modes.
As an optional implementation manner, in a second aspect of the embodiment of the present invention, the mobile terminal further includes:
the detection unit is used for detecting whether the Bluetooth communication connection which is established in advance between the second mobile terminal and the first mobile terminal is disconnected;
the third judging unit is used for judging whether the second mobile terminal is carried on a human body or not when the detection unit detects that the Bluetooth communication connection is disconnected;
the first judging unit is specifically configured to judge whether the second mobile terminal is indoors or not when the first judging unit receives a positioning sharing request sent by the first mobile terminal or when the third judging unit judges that the second mobile terminal is carried on a human body.
As an alternative implementation, in the second aspect of the embodiment of the present invention:
the communication unit is further configured to receive the real-time location data of the first mobile terminal sent by the first mobile terminal after the third determination unit determines that the second mobile terminal is carried on the human body;
and, the mobile terminal further comprises:
a fourth judging unit, configured to, when the first determining unit detects that the change of the instant air pressure value is stable, determine, according to the instant air pressure value, floor information of a target floor where the second mobile terminal is currently located, and then judge whether the real-time positioning data indicates that the first mobile terminal is located indoors; and the number of the first and second groups,
after the first mobile terminal is judged to be located indoors, whether the building where the first mobile terminal is located currently contained in the real-time positioning data is consistent with the target building is judged; judging whether the floor where the first mobile terminal is located currently in the real-time positioning data is consistent with the target floor or not;
and the control unit is used for controlling the second mobile terminal to output sound and/or light alarm signals when the fourth judging unit judges that the building where the first mobile terminal is currently located is consistent with the target building and the floor where the first mobile terminal is currently located is consistent with the target floor.
As an optional implementation manner, in a second aspect of the embodiment of the present invention, the mobile terminal further includes:
the output unit is used for outputting prompt information when the fourth judging unit judges that the building where the first mobile terminal is currently located is consistent with the target building and the floor where the first mobile terminal is currently located is inconsistent with the target floor; the prompt message is used for prompting the wearer of the second mobile terminal to stay at the target floor.
A third aspect of the embodiments of the present invention discloses a system for sharing positioning data, including: a first mobile terminal and a second mobile terminal;
the first mobile terminal is used for sending a positioning sharing request to the second mobile terminal;
the second mobile terminal is used for judging whether the second mobile terminal is indoors or not when receiving the positioning sharing request sent by the first mobile terminal; and the number of the first and second groups,
when the second mobile terminal is judged to be indoors, identifying building information of a target building where the second mobile terminal is located currently, and detecting an air pressure value by using an air pressure sensor of the second mobile terminal; and the number of the first and second groups,
when the change of the instant air pressure value is detected to be stable, determining the floor information of the target floor where the second mobile terminal is located currently according to the instant air pressure value; and the number of the first and second groups,
determining the position information of the second mobile terminal in the target floor according to the radio signal received by the second mobile terminal; wherein the radio signal is transmitted by a radio signal transmitter disposed within the target floor; and the number of the first and second groups,
sending the building information of the target building, the floor information of the target floor and the position information of the second mobile terminal in the target floor to the first mobile terminal;
the first mobile terminal is further used for receiving and outputting the building information of the target building, the floor information of the target floor and the position information of the second mobile terminal in the target floor.
A fourth aspect of the present invention discloses a mobile terminal, including:
a memory storing executable program code;
a processor coupled with the memory;
the processor calls the executable program code stored in the memory to execute any one of the methods disclosed in the first aspect of the embodiments of the present invention.
A fifth aspect of the present invention discloses a computer-readable storage medium storing a computer program, wherein the computer program causes a computer to execute any one of the methods disclosed in the first aspect of the embodiments of the present invention.
A sixth aspect of embodiments of the present invention discloses a computer program product, which, when run on a computer, causes the computer to perform any of the methods disclosed in the first aspect of embodiments of the present invention.
Compared with the prior art, the embodiment of the invention has the following beneficial effects:
after receiving a positioning sharing request sent by a first mobile terminal, if a second mobile terminal is located indoors, further identifying a target building where the second mobile terminal is currently located, detecting a target floor where the second mobile terminal is currently located by using air pressure change, and determining specific position information of the second mobile terminal in the target floor by using a radio signal; then, the building information of the target building, the floor information of the target floor and the position information of the second mobile terminal in the target floor are sent to the first mobile terminal together, so that a user (such as a parent) of the first mobile terminal can know which floor the user (such as a child) of the second mobile terminal is currently located in, and can specifically reach a certain position in a certain floor, and user experience can be improved.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings needed to be used in the embodiments will be briefly described below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art that other drawings can be obtained according to these drawings without creative efforts.
Fig. 1 is a schematic structural diagram of a positioning data sharing system according to an embodiment of the present invention;
fig. 2 is a schematic flowchart illustrating a method for sharing positioning data according to an embodiment of the present invention;
fig. 3 is a flowchart illustrating another method for sharing positioning data according to an embodiment of the present invention;
fig. 4 is a flowchart illustrating another method for sharing positioning data according to an embodiment of the present invention;
fig. 5 is a schematic structural diagram of a mobile terminal according to an embodiment of the present invention;
fig. 6 is a schematic structural diagram of another mobile terminal disclosed in the embodiment of the present invention;
fig. 7 is a schematic structural diagram of another positioning data sharing system according to an embodiment of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the 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 invention.
It is to be noted that the terms "comprises" and "comprising" and any variations thereof in the embodiments and drawings of the present invention are intended to cover non-exclusive inclusions. For example, a process, method, system, article, or apparatus that comprises a list of steps or elements is not limited to only those steps or elements listed, but may alternatively include other steps or elements not listed, or inherent to such process, method, article, or apparatus.
The embodiment of the invention discloses a method and a system for sharing positioning data and a mobile terminal, which can enable a user of one mobile terminal to check specific indoor position information of a user of another mobile terminal at any time.
In order to better describe the method, the system and the mobile terminal for sharing the positioning data disclosed in the embodiments of the present invention, a description is first given of a system for sharing the positioning data applicable to the embodiments of the present invention. Referring to fig. 1, fig. 1 is a schematic structural diagram of a positioning data sharing system according to an embodiment of the present invention. As shown in fig. 1, the system for sharing the positioning data may include: the mobile terminal comprises a first mobile terminal, a second mobile terminal and a server. The first mobile terminal can be a mobile terminal such as a smart phone used by parents, the second mobile terminal can be a mobile terminal such as a smart watch used by children, and the server can establish communication connection with the first mobile terminal and the second mobile terminal through mobile communication networks such as 4G and 5G or wireless communication networks such as Wi-Fi. In addition, a Bluetooth communication connection can be established between the first mobile terminal and the second mobile terminal.
The following are detailed below.
Example one
Referring to fig. 2, fig. 2 is a flowchart illustrating a method for sharing positioning data according to an embodiment of the present invention. The method for sharing the positioning data described in fig. 2 is suitable for mobile terminals such as smartwatches, smartphones, tablet computers, and home education machines, and the embodiment of the present invention is not limited thereto. The operating system of the mobile terminal may include, but is not limited to, an Android operating system, an IOS operating system, a Symbian operating system, a blackberry operating system, a Windows Phone8 operating system, and the like. As shown in fig. 2, the method for sharing positioning data may include the following steps:
101. when receiving a positioning sharing request sent by a first mobile terminal, a second mobile terminal judges whether the second mobile terminal is indoors or not; if yes, executing step 102; if not, the flow is ended.
In the embodiment of the present invention, the location sharing request sent by the first mobile terminal may be forwarded to the second mobile terminal by the server.
As an optional implementation manner, a satellite Positioning signal receiving module may be disposed in the second mobile terminal, where the satellite Positioning signal may be a signal sent by a Global Positioning System (GPS), a beidou satellite navigation System, or the like. The second mobile terminal can identify the satellite positioning signal strength received by a satellite positioning signal receiving module of the second mobile terminal when receiving the positioning sharing request sent by the first mobile terminal; if the received satellite positioning signal strength is lower than a preset satellite signal strength threshold, it can be determined that the second mobile terminal is indoors; if the received satellite positioning signal strength is not below the satellite signal strength threshold, the second mobile terminal may be deemed to be outdoors. Alternatively, the above-mentioned satellite signal strength threshold may be set with reference to an average value of satellite signal strengths received indoors by the mobile terminal. In the above-described embodiment, whether the second mobile terminal is indoors or not is determined based on the strength of the received satellite positioning signal, using the characteristic that the satellite positioning signal is weak in penetration and is difficult to receive indoors.
As another alternative, an ultraviolet sensor may be disposed in the second mobile terminal. Judging whether the ultraviolet intensity received by the ultraviolet of the second mobile terminal is lower than a preset ultraviolet intensity threshold value or not; if yes, the second mobile terminal can be judged to be indoors; if not, it can be determined that the second mobile terminal is outdoors. Alternatively, the above-mentioned ultraviolet intensity threshold may be set with reference to an average value of ultraviolet intensities received by the ultraviolet sensor indoors. In the above embodiment, by using the characteristic that the ultraviolet intensity is different between the indoor and outdoor, whether the second mobile terminal is indoors can be determined by the received ultraviolet intensity.
As a further alternative, the data collected by the ultraviolet sensor and the satellite positioning signal receiving module may be fused to determine whether the second mobile terminal is indoors. The method specifically comprises the following steps: judging whether the ultraviolet intensity received by an ultraviolet sensor of the second mobile terminal is lower than a preset ultraviolet intensity threshold value or not; if so, judging whether the satellite positioning signal strength received by a satellite positioning signal receiving module of the second mobile terminal is lower than a preset satellite signal strength threshold value or not; if the received ultraviolet intensity is judged to be lower than the ultraviolet intensity threshold value and the received satellite positioning signal intensity is judged to be lower than the satellite signal intensity threshold value, the second mobile terminal is judged to be indoors; if the received ultraviolet intensity is judged not to be lower than the ultraviolet intensity threshold value, the second mobile terminal is judged to be located outdoors; and if the received ultraviolet intensity is judged to be lower than the ultraviolet intensity threshold value and the received satellite positioning signal intensity is not lower than the satellite signal intensity threshold value, judging that the second mobile terminal is located outdoors. If the current weather is cloudy or the second mobile terminal is located in a space (such as a bottom floor of a building) which is reserved for pedestrians at the edge of the building, the intensity of the ultraviolet rays received by the ultraviolet ray sensor may be weak, but the second mobile terminal is not located indoors actually. Therefore, when the above-described embodiment is implemented, if it is determined that the ultraviolet intensity is weak, the intensity of the satellite positioning signal is further used to perform a secondary determination, so as to improve the accuracy of determining whether the second mobile terminal is indoors.
102. The second mobile terminal identifies the building information of the target building where the second mobile terminal is located at present, and detects the instant air pressure value by using the air pressure sensors of the second mobile terminal.
In the embodiment of the present invention, as an optional implementation manner, when the second mobile terminal receives the satellite positioning signal of which the signal intensity is not lower than the satellite signal intensity threshold value for the last time, the position determined by the satellite positioning signal may be identified as the satellite signal vanishing point position, and in combination with the information of the surrounding buildings provided by the electronic map, the building where the satellite signal vanishing point position is located may be determined as the target building where the second mobile terminal is currently located.
103. And when the second mobile terminal detects that the change of the instant air pressure value is stable, determining the floor information of the target floor where the second mobile terminal is located according to the instant air pressure value.
In the embodiment of the present invention, the second mobile terminal may collect the air pressure according to a preset frequency. If the instant air pressure value acquired for N consecutive times (N is a positive integer) is not changed, or the difference value is lower than a preset threshold value, the change of the instant air pressure value can be considered to be stable. At this time, the height difference between the floor where the second mobile terminal is currently located and the reference floor corresponding to the reference air pressure value can be determined according to the difference between the instant air pressure value and the preset reference air pressure value, and the target floor where the second mobile terminal is currently located can be determined based on the height difference, the preset inter-floor distance and the floor number of the reference floor.
104. And the second mobile terminal determines the position information of the second mobile terminal in the target floor according to the wireless communication signal received by the second mobile terminal.
In the embodiment of the present invention, the wireless communication signal may be a Wi-Fi signal, a bluetooth signal, an Ultra Wideband (UWB) signal, or the like. The wireless communication signal received by the second mobile terminal may be transmitted by a wireless communication signal transmitter disposed within the target floor, for example, the wireless communication signal transmitter may be a wireless router within a store.
Because the strength of the received wireless communication signal is inversely proportional to the distance, the distance between the second mobile terminal and the wireless communication signal transmitter can be determined according to the strength of the received wireless communication signal, and the position of the wireless communication signal transmitter in the target floor is known, so that the position of the second mobile terminal in the target floor can be determined based on the principle of triangulation positioning.
105. The second mobile terminal sends the building information of the target building, the floor information of the target floor and the position information of the second mobile terminal in the target floor to the first mobile terminal.
In the embodiment of the present invention, the building information of the target building may include at least a name of the target building, the floor information of the target floor may include at least a name of the target floor, a height from the ground of the target floor, and the location information of the second mobile terminal within the target building may include a specific position of the location within the target building or a name of a unit (such as a store or an office) within the target building closest to the location. The second mobile terminal may specifically send the information to the first mobile terminal through the server.
For example, the information transmitted by the second mobile terminal to the first mobile terminal may be "the kth cell (position within the target floor) currently located at mth floor (target floor) of building B2 a (target floor)". Therefore, the user of the first mobile terminal can check the specific position of the user of the second mobile terminal in the room.
In addition, as an optional implementation manner, the second mobile terminal may identify the geographic location of the first mobile terminal carried in the location sharing request, so as to determine the geographic area where the first mobile terminal is located; if the target building where the second mobile terminal is located is identified, the geographical area where the target building is located can be further identified; if the geographical area of the target building is different from the geographical area of the first mobile terminal, the second mobile terminal can send the geographical area of the target building besides sending the building information of the target building, the floor information of the target floor and the position information of the second mobile terminal in the target floor, so that the first mobile terminal can also output the geographical area of the target building. When the geographic regions are different, the possibility of the homonymous buildings is increased, and at the moment, the first mobile terminal outputs the geographic region where the target building is located, so that the interference of the homonymous buildings can be reduced, and the user of the first mobile terminal can more accurately determine the position of the user of the second mobile terminal.
As another alternative, the server may be a server of an emergency rescue system such as an alarm center, an emergency center, etc., the second mobile terminal may be a mobile terminal used by a rescuer, and the first mobile terminal may be a mobile terminal used by a rescuer (such as a fireman, a medical staff, etc.). The second mobile terminal can send a distress signal to the server, and after receiving the distress signal, the server distributes the rescuers executing the rescue task and sends the rescue task to the first mobile terminal used by the rescuers executing the rescue task. After receiving the rescue task, the first mobile terminal may send a location sharing request to the second mobile terminal to trigger the second mobile terminal to execute the method shown in fig. 2, so that the rescuer may view the specific location of the rescuer through the first mobile terminal. By implementing the implementation mode, the help seeker who can not independently complete help seeking in sudden critical diseases or in dangerous situations and the like can be helped to send the specific position of the help seeker, so that the rescue time is saved, and the success rate of rescue is improved.
It can be seen that, with the method described in fig. 2, after receiving the location sharing request sent by the first mobile terminal, the second mobile terminal accurately locates the specific indoor location of the second mobile terminal by building location, floor location, and intra-floor location, and sends the specific indoor location to the first mobile terminal, so that the user of the first mobile terminal can view the specific indoor location of the user of the second mobile terminal by sending the location sharing request at any time.
Example two
Referring to fig. 3, fig. 3 is a schematic flow chart illustrating another positioning data sharing method according to an embodiment of the present invention. As shown in fig. 3, the method for sharing positioning data may include the following steps:
201. when receiving a positioning sharing request sent by a first mobile terminal, a second mobile terminal judges whether the second mobile terminal is indoors or not; if yes, executing step 202 to step 205; if not, step 206 to step 208 are executed.
202. The second mobile terminal identifies the building information of the target building where the second mobile terminal is located at present, and detects the instant air pressure value by using the air pressure sensors of the second mobile terminal.
203. And when the second mobile terminal detects that the change of the instant air pressure value is stable, determining the floor information of the target floor where the second mobile terminal is located according to the instant air pressure value.
204. And the second mobile terminal determines the position information of the second mobile terminal in the target floor according to the wireless communication signal received by the second mobile terminal.
In an embodiment of the present invention, the wireless communication signal received by the second mobile terminal may be transmitted by a wireless communication signal transmitter disposed in the target floor.
205. The second mobile terminal sends the building information of the target building, the floor information of the target floor and the position information of the second mobile terminal in the target floor to the first mobile terminal.
206. And the second mobile terminal determines the real-time position of the second mobile terminal according to the satellite positioning signal and/or the mobile communication signal received by the second mobile terminal.
In the embodiment of the present invention, when the second mobile terminal is located outdoors (i.e., not located indoors), the real-time position of the second mobile terminal may be determined by performing satellite positioning through a satellite positioning signal, performing base station positioning through a mobile communication signal, or combining the results of the satellite positioning and the base station positioning.
207. And the second mobile terminal determines the moving speed of the second mobile terminal according to the change of the real-time position of the second mobile terminal.
In the embodiment of the invention, the moving distance of the second mobile terminal can be determined through the change of the real-time position of the second mobile terminal, and the moving speed of the second mobile terminal can be determined according to the moving distance and the moving time.
208. The second mobile terminal judges whether the moving speed of the second mobile terminal is within a moving speed range corresponding to any preset travel mode; if yes, go to step 209; if not, the flow is ended.
In the embodiment of the present invention, the preset travel modes may include, but are not limited to: walking, running and riding. The movement speed ranges corresponding to different travel modes are different, for example, the movement speed range corresponding to walking can be less than 4 km/h, the movement speed range corresponding to running can be 5 km/h-10 km/h, and the movement speed range corresponding to riding can be 25 km/h-60 km/h.
209. And the second mobile terminal sends the real-time position and the travel mode of the second mobile terminal to the first mobile terminal.
In the embodiment of the invention, when the second mobile terminal is located outdoors, the user of the first mobile terminal can check the real-time position of the user of the second mobile terminal and also can check which travel mode the user of the second mobile terminal adopts for traveling, so that parents can be helped to judge whether the currently selected travel mode of the child is safe or not, and corresponding precautionary measures can be taken in time.
It can be seen that, as shown in fig. 3, when the second mobile terminal is located indoors, the user of the first mobile terminal can view the specific location of the user of the second mobile terminal indoors; when the second mobile terminal is located outdoors, the user of the first mobile terminal can view the travel mode and the real-time position of the user of the second mobile terminal outdoors, so that the first mobile terminal can view the position of the second mobile terminal whether indoors or outdoors.
EXAMPLE III
Referring to fig. 4, fig. 4 is a schematic flow chart illustrating another positioning data sharing method according to an embodiment of the present invention. As shown in fig. 4, the method for sharing positioning data may include the following steps:
301. the second mobile terminal detects whether the Bluetooth communication connection which is pre-established between the second mobile terminal and the first mobile terminal is disconnected; if yes, go to step 302; if not, the flow is ended.
In the embodiment of the invention, the effective connection range of the Bluetooth communication between the mobile terminals is generally within 10 meters, so the Bluetooth can be applied to the loss prevention detection. When a disconnection of the bluetooth communication connection is detected, the distance between the first mobile terminal and the second mobile terminal may exceed 10 meters. If the first mobile terminal is a parent's smart phone and the second mobile terminal is a child's smart watch, the distance between the child and the parent may exceed the sight range, and the child is easily lost.
302. The second mobile terminal judges whether the second mobile terminal is carried on a human body; if yes, go to step 303; if not, the flow is ended.
In the embodiment of the present invention, the disconnection of the bluetooth communication between the first mobile terminal and the second mobile terminal may be a loss of parents and children or a drop of the second mobile terminal. Therefore, after detecting that the bluetooth communication connection is disconnected and before executing the subsequent steps to trigger the loss reminding, whether the second mobile terminal is carried on the human body is judged.
As an optional implementation manner, the specific implementation manner of determining whether the second mobile terminal is carried on the human body may include the following steps: and detecting whether the swing amplitude of the second mobile terminal in the preset time length exceeds a preset amplitude range, and if so, judging that the second mobile terminal is carried on a human body. Generally, a user will start the bluetooth anti-loss function during moving, and therefore will not be in a stationary state within a preset time period, and if the second mobile terminal is carried on a human body, a motion sensor (such as an accelerometer, a gyroscope, etc.) of the second mobile terminal may detect an action of the human body.
As another optional implementation, the second mobile terminal may specifically be a wearable device such as a smart watch and a smart band. When the second mobile terminal is a wearable device, the specific implementation of determining whether the second mobile terminal is carried on a human body may include the following steps: detecting whether a vital sign sensor of a second mobile terminal detects a vital sign of a human body; if yes, the second mobile terminal is carried on the human body. The vital sign sensor may be a heart rate sensor, a blood pressure sensor, or the like, and is not limited in the embodiments of the present invention.
As another optional implementation, when the second mobile terminal is a wearable device, a light sensor may be further disposed on a back surface of the host of the second mobile terminal; wherein, the back of the main machine is the surface contacted with the human body. Accordingly, the specific implementation of determining whether the second mobile terminal is carried on the human body may include the following steps: and detecting whether the light sensor is shielded, and if so, judging that the second mobile terminal is carried on the human body.
303. And the second mobile terminal receives the real-time positioning data of the first mobile terminal, which is sent by the first mobile terminal.
In the embodiment of the present invention, the real-time positioning data of the first mobile terminal may be determined by the first mobile terminal through satellite positioning and/or base station positioning. Further, if the first mobile terminal is located indoors, the real-time location data of the first mobile terminal may further include a building where the first mobile terminal is currently located, a floor where the first mobile terminal is currently located, and a specific location within the floor where the first mobile terminal is currently located. The manner in which the first mobile terminal determines the building, the floor, and the specific location within the floor where the first mobile terminal is currently located may be the same as that of the second mobile terminal, and details are not repeated below.
304. The second mobile terminal judges whether the second mobile terminal is indoors or not; if so, go to step 305; if not, the flow is ended.
In this embodiment of the present invention, the second mobile terminal may further execute step 304 after receiving the location sharing request sent by the first mobile terminal.
In addition, as an optional implementation manner, if it is determined that the second mobile terminal is not located indoors, the second mobile terminal may further determine a real-time location of the second mobile terminal according to the satellite positioning signal and/or the mobile communication signal received by the second mobile terminal; determining the moving speed of the second mobile terminal according to the change of the real-time position of the second mobile terminal; judging whether the moving speed of the second mobile terminal is within a moving speed range corresponding to any preset travel mode; and if so, sending the real-time position and the travel mode of the second mobile terminal to the first mobile terminal.
305. The second mobile terminal identifies the building information of the target building where the second mobile terminal is located at present, and detects the instant air pressure value by using the air pressure sensors of the second mobile terminal.
306. And when the second mobile terminal detects that the change of the instant air pressure value is stable, determining the floor information of the target floor where the second mobile terminal is located according to the instant air pressure value.
307. And the second mobile terminal determines the position information of the second mobile terminal in the target floor according to the wireless communication signal received by the second mobile terminal.
308. The second mobile terminal judges whether the real-time positioning data of the first mobile terminal indicates that the first mobile terminal is located indoors or not; if so, go to step 309; if not, the flow is ended.
309. The second mobile terminal judges whether the building where the first mobile terminal is currently located contained in the real-time positioning data is consistent with the target building; if yes, go to step 310; if not, the flow is ended.
310. The second mobile terminal judges whether the floor where the first mobile terminal is located currently in the real-time positioning data is consistent with the target floor; if yes, go to step 311; if not, step 312 is performed.
311. The second mobile terminal controls the second mobile terminal to output sound and/or light alarm signals.
In the embodiment of the invention, if the second mobile terminal and the first mobile terminal are both located indoors and on the same floor of the same building, the user of the first mobile terminal can be directly positioned to the position of the user of the second mobile terminal by sound and/or light by outputting the sound and/or light alarm signal, which is beneficial for parents to quickly find lost children.
312. And the second mobile terminal outputs prompt information.
In the embodiment of the present invention, the prompt message is used to prompt the wearer of the second mobile terminal to stay at the target floor. If the second mobile terminal is located on a different floor of the same building from the first mobile terminal, it is difficult for the user of the first mobile terminal to receive the information of the acoustic and/or optical alarm signal, so step 312 is executed to output a prompt message to enable the user of the second mobile terminal to stay at the target floor to wait for the arrival of the user of the first mobile terminal. After detecting that the first mobile terminal and the second mobile terminal are on the same floor, step 311 is executed.
It can be seen that, implementing the method as described in fig. 4, the user of the first mobile terminal can view the specific location of the second mobile terminal whether the second mobile terminal is located indoors or outdoors. Further, in the method described in fig. 4, different bluetooth anti-loss reminders may be triggered based on different indoor positioning results. When the second mobile terminal and the first mobile terminal are both located indoors and on the same floor of the same building, the user of the first mobile terminal can be directly located at the position of the user of the second mobile terminal by outputting sound and/or light alarm signals, so that parents can quickly find lost children; when the second mobile terminal and the first mobile terminal are located on different floors of the same building, the prompt information is output to enable the user of the second mobile terminal to stay at the target floor, the user of the first mobile terminal is waited for, and the success rate of parents finding lost children can be further improved.
Example four
Referring to fig. 5, fig. 5 is a schematic structural diagram of a mobile terminal according to an embodiment of the present invention. As shown in fig. 5, the mobile terminal may include:
a first determining unit 501, configured to determine whether a second mobile terminal is indoors when receiving a location sharing request sent by a first mobile terminal;
it should be noted that, in the embodiment of the present invention, the second mobile terminal is the mobile terminal shown in fig. 5, and the first mobile terminal is another mobile terminal different from the mobile terminal shown in fig. 5;
as an optional implementation manner, the first determining unit 501 may specifically identify, when receiving a positioning sharing request sent by a first mobile terminal, a satellite positioning signal strength received by a satellite positioning signal receiving module of a second mobile terminal; if the received satellite positioning signal strength is lower than a preset satellite signal strength threshold, it can be determined that the second mobile terminal is indoors; alternatively, the first and second electrodes may be,
when a positioning sharing request sent by a first mobile terminal is received, judging whether the ultraviolet intensity received by the ultraviolet of a second mobile terminal is lower than a preset ultraviolet intensity threshold value; if yes, the second mobile terminal can be judged to be indoors; alternatively, the first and second electrodes may be,
when a positioning sharing request sent by a first mobile terminal is received, if the ultraviolet intensity received by an ultraviolet sensor of a second mobile terminal is judged to be lower than a preset ultraviolet intensity threshold value, judging whether the satellite positioning signal intensity received by a satellite positioning signal receiving module of the second mobile terminal is lower than a preset satellite signal intensity threshold value or not; if the received ultraviolet intensity is judged to be lower than the ultraviolet intensity threshold value and the received satellite positioning signal intensity is judged to be lower than the satellite signal intensity threshold value, the second mobile terminal is judged to be indoors;
an identifying unit 502, configured to identify building information of a target building where the second mobile terminal is currently located when the first determining unit 501 determines that the second mobile terminal is located indoors, and detect an instant air pressure value by using an air pressure sensor of the second mobile terminal;
the first determining unit 503 is configured to determine, when it is detected that the change of the instant air pressure value is stable, floor information of a target floor where the second mobile terminal is currently located according to the instant air pressure value; determining the position information of the second mobile terminal in the target floor according to the wireless communication signal received by the second mobile terminal; the wireless communication signal is transmitted by a wireless communication signal transmitter arranged in the target floor;
a communication unit 504, configured to send the building information of the target building, the floor information of the target floor, and the location information of the second mobile terminal in the target floor to the first mobile terminal.
As an optional implementation manner, the communication unit 504 may be further configured to identify a geographic location of the first mobile terminal carried in the location sharing request, so as to determine a geographic area where the first mobile terminal is located; identifying the geographical area where the target building is located;
accordingly, the manner in which the communication unit 504 is used to send the building information of the target building, the floor information of the target floor, and the location information of the second mobile terminal in the target floor to the first mobile terminal may specifically be: a communication unit 504, configured to determine whether a geographic area where the target building is located is the same as a geographic area where the first mobile terminal is located; if the first mobile terminal is the same as the second mobile terminal, sending the building information of the target building, the floor information of the target floor and the position information of the second mobile terminal in the target floor to the first mobile terminal; and if the difference is not the same, sending the geographical area where the target building is located, the building information of the target building, the floor information of the target floor and the position information of the second mobile terminal in the target floor to the first mobile terminal.
As an optional implementation manner, the communication unit 504 may be further configured to send a distress signal to a server of the emergency rescue system, so that after receiving the distress signal, the server issues a rescue task to a first mobile terminal used by a rescuer who performs the rescue task; and the first mobile terminal may be further configured to send a positioning and sharing request to the second mobile terminal after receiving the rescue task, so as to trigger the first determining unit 501 to execute a corresponding operation.
As can be seen, with the mobile terminal shown in fig. 5, after receiving the location sharing request sent by the first mobile terminal, the specific indoor location of the second mobile terminal can be accurately located by building location, floor location, and intra-floor location, and the specific indoor location is sent to the first mobile terminal, so that the user of the first mobile terminal can view the specific indoor location of the user of the mobile terminal shown in fig. 5 by sending the location sharing request at any time.
EXAMPLE five
Referring to fig. 6, fig. 6 is a schematic structural diagram of another mobile terminal according to an embodiment of the present invention. The mobile terminal shown in fig. 5 is optimized by the mobile terminal shown in fig. 6. As shown in fig. 6, the mobile terminal may further include:
a second determining unit 505, configured to determine a real-time location of the second mobile terminal according to the satellite positioning signal and/or the mobile communication signal received by the second mobile terminal when the first determining unit 501 determines that the second mobile terminal is not indoors; determining the moving speed of the second mobile terminal according to the change of the real-time position of the second mobile terminal;
a second determining unit 506, configured to determine whether a moving speed of the second mobile terminal is within a moving speed range corresponding to any preset trip manner;
the communication unit 504 is further configured to send the real-time location and the trip mode of the second mobile terminal to the first mobile terminal when the second determining unit 506 determines that the moving speed of the second mobile terminal is within the moving speed range corresponding to any trip mode.
Optionally, the mobile terminal shown in fig. 6 may further include:
a detecting unit 507, configured to detect whether a bluetooth communication connection pre-established between the second mobile terminal and the first mobile terminal is disconnected;
a third determining unit 508, configured to determine whether the second mobile terminal is carried on a human body when the detecting unit 507 detects that the bluetooth communication connection is disconnected;
as an optional implementation manner, the third determining unit 508 may be specifically configured to detect whether a swing amplitude of the second mobile terminal within a preset time exceeds a preset amplitude range when the detecting unit 507 detects that the bluetooth communication connection is disconnected, and if so, may determine that the second mobile terminal is carried on a human body; alternatively, the first and second electrodes may be,
if the second mobile terminal is a wearable device, when the detection unit 507 detects that the bluetooth communication connection is disconnected, detecting whether a vital sign sensor of the second mobile terminal detects a vital sign of a human body; if yes, judging that the second mobile terminal is carried on the human body; the vital sign sensor can be a heart rate sensor, a blood pressure sensor and the like; alternatively, the first and second electrodes may be,
if the second mobile terminal is a wearable device, when the detection unit 507 detects that the bluetooth communication connection is disconnected, whether a light sensor arranged on the back of the host is shielded is detected, and if so, the second mobile terminal is judged to be carried on a human body; wherein, the back of the main machine is the surface contacted with the human body.
The first determining unit 501 is specifically configured to determine whether the second mobile terminal is located indoors when the first determining unit 501 receives a positioning sharing request sent by the first mobile terminal, or when the third determining unit 508 determines that the second mobile terminal is carried on a human body.
Further optionally, the communication unit 504 is further configured to receive the real-time location data of the first mobile terminal sent by the first mobile terminal after the third determining unit 508 determines that the second mobile terminal is carried on the human body;
and, the mobile terminal shown in fig. 6 may further include:
a fourth determining unit 509, configured to determine, when the first determining unit 503 detects that the change of the instant air pressure value is stable, after determining, according to the instant air pressure value, floor information of a target floor where the second mobile terminal is currently located, whether the real-time positioning data indicates that the first mobile terminal is located indoors; and the number of the first and second groups,
after the first mobile terminal is judged to be located indoors, whether the building where the first mobile terminal contained in the real-time positioning data is located currently is consistent with a target building is judged; judging whether the floor where the first mobile terminal is located in the real-time positioning data is consistent with the target floor or not;
a control unit 510, configured to control the second mobile terminal to output an acoustic and/or optical alarm signal when the fourth determining unit 509 determines that the building where the first mobile terminal is currently located is consistent with the target building and the floor where the first mobile terminal is currently located is consistent with the target floor.
In addition, the mobile terminal shown in fig. 6 may further include:
an output unit 511, configured to output a prompt message when the fourth determining unit 509 determines that the building where the first mobile terminal is currently located is consistent with the target building and that the floor where the first mobile terminal is currently located is inconsistent with the target floor; and the prompt information is used for prompting the wearer of the second mobile terminal to stay at the target floor.
It can be seen that, implementing the mobile terminal shown in fig. 6, when the mobile terminal shown in fig. 6 is located indoors, the user of the first mobile terminal can view the specific location of the user of the mobile terminal shown in fig. 6 indoors; when the mobile terminal shown in fig. 6 is located outdoors, the user of the first mobile terminal can also view the travel mode of the user of the mobile terminal shown in fig. 6 and the real-time location outdoors. Further, with the mobile terminal shown in fig. 6, different bluetooth anti-loss reminders can be triggered based on different indoor positioning results. When the mobile terminal shown in fig. 6 and the first mobile terminal are both located indoors and on the same floor of the same building, by outputting an acoustic and/or optical alarm signal, the user of the first mobile terminal can be directly located at the position of the user of the mobile terminal shown in fig. 6, which is beneficial for parents to quickly find lost children; when the mobile terminal shown in fig. 6 and the first mobile terminal are located on different floors of the same building, the prompt information is output to enable the user of the mobile terminal shown in fig. 6 to stay at the target floor and wait for the user of the first mobile terminal to arrive, so that the success rate of parents finding lost children can be further improved.
EXAMPLE six
Referring to fig. 7, fig. 7 is a schematic structural diagram of another positioning data sharing system according to an embodiment of the present invention. As shown in fig. 7, the system for sharing the positioning data may include:
a first mobile terminal 701, a second mobile terminal 702, and a server 703;
wherein:
a first mobile terminal 701, configured to send a location sharing request to a second mobile terminal 702; specifically, a positioning sharing request sent by the first mobile terminal 701 may be forwarded to the second mobile terminal 702 via the server 703;
the second mobile terminal 702 is configured to determine whether the second mobile terminal 702 is indoors or not when receiving the positioning sharing request sent by the first mobile terminal 701; and the number of the first and second groups,
when the second mobile terminal 702 is judged to be indoors, identifying building information of a target building where the second mobile terminal 702 is located currently, and detecting an air pressure value by using an air pressure sensor of the second mobile terminal 702; and the number of the first and second groups,
when the change of the instant air pressure value is detected to be stable, determining the floor information of the target floor where the second mobile terminal 702 is located currently according to the instant air pressure value; and the number of the first and second groups,
determining the position information of the second mobile terminal 702 in the target floor according to the radio signal received by the second mobile terminal 702; wherein the radio signal is transmitted by a radio signal transmitter disposed within the target floor; and the number of the first and second groups,
sending building information of a target building, floor information of the target floor and position information of a second mobile terminal in the target floor to a first mobile terminal 701;
specifically, second mobile terminal 702 may transmit building information of a target building, floor information of the target floor, and location information of the second mobile terminal within the target floor to first mobile terminal 701 via server 703
The first mobile terminal 701 is further configured to receive and output the building information of the target building, the floor information of the target floor, and the location information of the second mobile terminal in the target floor.
The embodiment of the invention discloses a mobile terminal, which comprises:
a memory storing executable program code;
a processor coupled to the memory;
the processor calls the executable program code stored in the memory to execute any one of the methods for sharing the positioning data shown in fig. 2 to fig. 4.
The embodiment of the invention discloses a computer-readable storage medium which stores a computer program, wherein the computer program enables a computer to execute any one of the positioning data sharing methods shown in fig. 2-4.
An embodiment of the present invention discloses a computer program product, which includes a non-transitory computer-readable storage medium storing a computer program, and the computer program is operable to make a computer execute any one of the methods for sharing positioning data in fig. 1 to 3.
It should be appreciated that reference throughout this specification to "one embodiment" or "an embodiment" means that a particular feature, structure or characteristic described in connection with the embodiment is included in at least one embodiment of the present invention. Thus, the appearances of the phrases "in one embodiment" or "in an embodiment" in various places throughout this specification are not necessarily all referring to the same embodiment. Furthermore, the particular features, structures, or characteristics may be combined in any suitable manner in one or more embodiments. Those skilled in the art should also appreciate that the embodiments described in this specification are exemplary and alternative embodiments, and that the acts and modules illustrated are not required in order to practice the invention.
In various embodiments of the present invention, it should be understood that the sequence numbers of the above-mentioned processes do not imply an inevitable order of execution, and the execution order of the processes should be determined by their functions and inherent logic, and should not constitute any limitation on the implementation process of the embodiments of the present invention.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present invention may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, and can also be realized in a form of a software functional unit.
The integrated units, if implemented as software functional units and sold or used as a stand-alone product, may be stored in a computer accessible memory. Based on such understanding, the technical solution of the present invention, which is a part of or contributes to the prior art in essence, or all or part of the technical solution, can be embodied in the form of a software product, which is stored in a memory and includes several requests for causing a computer device (which may be a personal computer, a server, a network device, or the like, and may specifically be a processor in the computer device) to execute part or all of the steps of the above-described method of each embodiment of the present invention.
It will be understood by those skilled in the art that all or part of the steps in the methods of the embodiments described above may be implemented by instructions associated with a program, which may be stored in a computer-readable storage medium, where the storage medium includes Read-Only Memory (ROM), Random Access Memory (RAM), Programmable Read-Only Memory (PROM), Erasable Programmable Read-Only Memory (EPROM), One-time Programmable Read-Only Memory (OTPROM), Electrically Erasable Programmable Read-Only Memory (EEPROM), compact disc-Read-Only Memory (CD-ROM), or other Memory, magnetic disk, magnetic tape, or magnetic tape, Or any other medium which can be used to carry or store data and which can be read by a computer.
The above detailed description is provided for the sharing of the positioning data, the system and the mobile terminal disclosed in the embodiments of the present invention, and the specific examples are applied herein to explain the principle and the implementation of the present invention, and the description of the above embodiments is only used to help understanding the method and the core idea of the present invention. Meanwhile, for a person skilled in the art, according to the idea of the present invention, there may be variations in the specific embodiments and the application scope, and in summary, the content of the present specification should not be construed as a limitation to the present invention.

Claims (11)

1. A method for sharing positioning data, the method comprising:
when a positioning sharing request sent by a first mobile terminal is received, judging whether a second mobile terminal is indoors or not;
if the second mobile terminal is indoors, identifying building information of a target building where the second mobile terminal is located currently, and detecting an instant air pressure value by using an air pressure sensor of the second mobile terminal;
when the change of the instant air pressure value is detected to be stable, determining the floor information of the target floor where the second mobile terminal is located currently according to the instant air pressure value;
determining the position information of the second mobile terminal in the target floor according to the wireless communication signal received by the second mobile terminal; wherein the wireless communication signal is transmitted by a wireless communication signal transmitter disposed within the target floor;
and sending the building information of the target building, the floor information of the target floor and the position information of the second mobile terminal in the target floor to the first mobile terminal.
2. The method of claim 1, further comprising:
if the second mobile terminal is judged not to be indoors, determining the real-time position of the second mobile terminal according to the satellite positioning signal and/or the mobile communication signal received by the second mobile terminal;
determining the moving speed of the second mobile terminal according to the change of the real-time position of the second mobile terminal;
judging whether the moving speed of the second mobile terminal is within a moving speed range corresponding to any preset traveling mode;
and if so, sending the real-time position of the second mobile terminal and the travel mode to the first mobile terminal.
3. The method according to claim 1 or 2, characterized in that the method further comprises:
detecting whether a Bluetooth communication connection which is established in advance between the second mobile terminal and the first mobile terminal is disconnected;
when the Bluetooth communication connection is detected to be disconnected, judging whether the second mobile terminal is carried on a human body;
and if so, executing the step of judging whether the second mobile terminal is indoors.
4. The method according to claim 3, wherein after determining whether the second mobile terminal is carried on a human body, the method further comprises:
receiving real-time positioning data of the first mobile terminal sent by the first mobile terminal;
and after determining the floor information of the target floor where the second mobile terminal is currently located according to the instant air pressure value when the instant air pressure value is detected to be stable, the method further comprises the following steps:
judging whether the real-time positioning data indicate that the first mobile terminal is located indoors or not;
if the first mobile terminal is located indoors, judging whether the building where the first mobile terminal is currently located contained in the real-time positioning data is consistent with the target building; judging whether the floor where the first mobile terminal is located currently in the real-time positioning data is consistent with the target floor or not;
and if the building where the first mobile terminal is currently located is consistent with the target building and the floor where the first mobile terminal is currently located is consistent with the target floor, controlling the second mobile terminal to output an acoustic and/or optical alarm signal.
5. The method of claim 4, further comprising:
if the building where the first mobile terminal is currently located is consistent with the target building and the floor where the first mobile terminal is currently located is not consistent with the target floor, outputting prompt information; the prompt message is used for prompting the wearer of the second mobile terminal to stay at the target floor.
6. A mobile terminal, comprising:
the first judging unit is used for judging whether the second mobile terminal is indoors or not when receiving a positioning sharing request sent by the first mobile terminal;
the identification unit is used for identifying the building information of the target building where the second mobile terminal is currently located when the first judgment unit judges that the second mobile terminal is located indoors, and detecting an instant air pressure value by using an air pressure sensor of the second mobile terminal;
the first determining unit is used for determining the floor information of the target floor where the second mobile terminal is located according to the instant air pressure value when the instant air pressure value is detected to be stable; determining the position information of the second mobile terminal in the target floor according to the wireless communication signal received by the second mobile terminal; the wireless communication signal is transmitted by a wireless communication signal transmitter disposed within the target floor;
and the communication unit is used for sending the building information of the target building, the floor information of the target floor and the position information of the second mobile terminal in the target floor to the first mobile terminal.
7. The mobile terminal of claim 6, wherein the mobile terminal further comprises:
the second determining unit is used for determining the real-time position of the second mobile terminal according to the satellite positioning signal and/or the mobile communication signal received by the second mobile terminal when the first judging unit judges that the second mobile terminal is not indoors; determining the moving speed of the second mobile terminal according to the change of the real-time position of the second mobile terminal;
the second judging unit is used for judging whether the moving speed of the second mobile terminal is within a moving speed range corresponding to any preset travel mode;
the communication unit is further configured to send the real-time position of the second mobile terminal and the travel mode to the first mobile terminal when the second determination unit determines that the moving speed of the second mobile terminal is within a motion speed range corresponding to any one of the travel modes.
8. The mobile terminal according to claim 6 or 7, characterized in that the mobile terminal further comprises:
the detection unit is used for detecting whether the Bluetooth communication connection which is established in advance between the second mobile terminal and the first mobile terminal is disconnected;
the third judging unit is used for judging whether the second mobile terminal is carried on a human body or not when the detection unit detects that the Bluetooth communication connection is disconnected;
the first judging unit is specifically configured to judge whether the second mobile terminal is indoors or not when the first judging unit receives a positioning sharing request sent by the first mobile terminal or when the third judging unit judges that the second mobile terminal is carried on a human body.
9. The mobile terminal of claim 8, wherein:
the communication unit is further configured to receive the real-time location data of the first mobile terminal sent by the first mobile terminal after the third determination unit determines that the second mobile terminal is carried on the human body;
and, the mobile terminal further comprises:
a fourth judging unit, configured to, when the first determining unit detects that the change of the instant air pressure value is stable, determine, according to the instant air pressure value, floor information of a target floor where the second mobile terminal is currently located, and then judge whether the real-time positioning data indicates that the first mobile terminal is located indoors; and the number of the first and second groups,
after the first mobile terminal is judged to be located indoors, whether the building where the first mobile terminal is located currently contained in the real-time positioning data is consistent with the target building is judged; judging whether the floor where the first mobile terminal is located currently in the real-time positioning data is consistent with the target floor or not;
and the control unit is used for controlling the second mobile terminal to output sound and/or light alarm signals when the fourth judging unit judges that the building where the first mobile terminal is currently located is consistent with the target building and the floor where the first mobile terminal is currently located is consistent with the target floor.
10. The mobile terminal of claim 9, wherein the mobile terminal further comprises:
the output unit is used for outputting prompt information when the fourth judging unit judges that the building where the first mobile terminal is currently located is consistent with the target building and the floor where the first mobile terminal is currently located is inconsistent with the target floor; the prompt message is used for prompting the wearer of the second mobile terminal to stay at the target floor.
11. A system for sharing positioning data, comprising: a first mobile terminal and a second mobile terminal;
the first mobile terminal is used for sending a positioning sharing request to the second mobile terminal;
the second mobile terminal is used for judging whether the second mobile terminal is indoors or not when receiving the positioning sharing request sent by the first mobile terminal; and the number of the first and second groups,
when the second mobile terminal is judged to be indoors, identifying building information of a target building where the second mobile terminal is located currently, and detecting an air pressure value by using an air pressure sensor of the second mobile terminal; and the number of the first and second groups,
when the change of the instant air pressure value is detected to be stable, determining the floor information of the target floor where the second mobile terminal is located currently according to the instant air pressure value; and the number of the first and second groups,
determining the position information of the second mobile terminal in the target floor according to the radio signal received by the second mobile terminal; wherein the radio signal is transmitted by a radio signal transmitter disposed within the target floor; and the number of the first and second groups,
sending the building information of the target building, the floor information of the target floor and the position information of the second mobile terminal in the target floor to the first mobile terminal;
the first mobile terminal is further used for receiving and outputting the building information of the target building, the floor information of the target floor and the position information of the second mobile terminal in the target floor.
CN201910701072.1A 2019-07-31 2019-07-31 Positioning data sharing method and system and mobile terminal Pending CN111757263A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910701072.1A CN111757263A (en) 2019-07-31 2019-07-31 Positioning data sharing method and system and mobile terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910701072.1A CN111757263A (en) 2019-07-31 2019-07-31 Positioning data sharing method and system and mobile terminal

Publications (1)

Publication Number Publication Date
CN111757263A true CN111757263A (en) 2020-10-09

Family

ID=72672742

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910701072.1A Pending CN111757263A (en) 2019-07-31 2019-07-31 Positioning data sharing method and system and mobile terminal

Country Status (1)

Country Link
CN (1) CN111757263A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113037829A (en) * 2021-03-03 2021-06-25 读书郎教育科技有限公司 System and method for precisely positioning residential district
WO2023246895A1 (en) * 2022-06-23 2023-12-28 中兴通讯股份有限公司 Indoor positioning method and apparatus, and electronic device and computer-readable medium

Citations (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101846736A (en) * 2010-05-12 2010-09-29 苏州位置科技有限公司 Indoor accurate positioning system and method thereof
CN102693605A (en) * 2012-05-09 2012-09-26 福兴达科技实业(深圳)有限公司 Security terminal and real-time monitoring method thereof
CN104567858A (en) * 2014-12-18 2015-04-29 广东小天才科技有限公司 Method and system for replaying historical track based on motion state
CN106062522A (en) * 2014-07-01 2016-10-26 吴明翰 Wearable illumination activity recording apparatus
CN106856028A (en) * 2016-12-30 2017-06-16 肇庆高新区黑阳科技有限公司 One kind searches monitor and its control method
CN206390373U (en) * 2016-12-16 2017-08-11 重庆信首科技有限公司 A kind of parent-child shoes answered based on distance perspective
US9832617B1 (en) * 2015-09-30 2017-11-28 Apple Inc. Using periodic magnetometer signals for indoor navigation
CN107416623A (en) * 2017-06-29 2017-12-01 深圳市泰衡诺科技有限公司上海分公司 A kind of floor detection prompt system and method
CN107689136A (en) * 2017-08-31 2018-02-13 苏州麦喆思科电子有限公司 Children's anti-wander-away device based on RFID
CN108020851A (en) * 2017-12-13 2018-05-11 广东欧珀移动通信有限公司 Control method, device, storage medium and mobile terminal based on locating module
CN108140423A (en) * 2015-10-05 2018-06-08 微软技术许可有限责任公司 Indoor/outdoor detects
CN108317996A (en) * 2015-08-27 2018-07-24 华为终端(东莞)有限公司 A kind of determining floor method, relevant device and system
CN207992712U (en) * 2018-04-13 2018-10-19 广东小天才科技有限公司 A kind of smartwatch
CN108834068A (en) * 2018-07-17 2018-11-16 广东小天才科技有限公司 A kind of localization method and wearable device based on wearable device
CN109164477A (en) * 2018-08-29 2019-01-08 维沃移动通信有限公司 A kind of method and mobile terminal of application positioning

Patent Citations (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101846736A (en) * 2010-05-12 2010-09-29 苏州位置科技有限公司 Indoor accurate positioning system and method thereof
CN102693605A (en) * 2012-05-09 2012-09-26 福兴达科技实业(深圳)有限公司 Security terminal and real-time monitoring method thereof
CN106062522A (en) * 2014-07-01 2016-10-26 吴明翰 Wearable illumination activity recording apparatus
CN104567858A (en) * 2014-12-18 2015-04-29 广东小天才科技有限公司 Method and system for replaying historical track based on motion state
CN108317996A (en) * 2015-08-27 2018-07-24 华为终端(东莞)有限公司 A kind of determining floor method, relevant device and system
US9832617B1 (en) * 2015-09-30 2017-11-28 Apple Inc. Using periodic magnetometer signals for indoor navigation
CN108140423A (en) * 2015-10-05 2018-06-08 微软技术许可有限责任公司 Indoor/outdoor detects
CN206390373U (en) * 2016-12-16 2017-08-11 重庆信首科技有限公司 A kind of parent-child shoes answered based on distance perspective
CN106856028A (en) * 2016-12-30 2017-06-16 肇庆高新区黑阳科技有限公司 One kind searches monitor and its control method
CN107416623A (en) * 2017-06-29 2017-12-01 深圳市泰衡诺科技有限公司上海分公司 A kind of floor detection prompt system and method
CN107689136A (en) * 2017-08-31 2018-02-13 苏州麦喆思科电子有限公司 Children's anti-wander-away device based on RFID
CN108020851A (en) * 2017-12-13 2018-05-11 广东欧珀移动通信有限公司 Control method, device, storage medium and mobile terminal based on locating module
CN207992712U (en) * 2018-04-13 2018-10-19 广东小天才科技有限公司 A kind of smartwatch
CN108834068A (en) * 2018-07-17 2018-11-16 广东小天才科技有限公司 A kind of localization method and wearable device based on wearable device
CN109164477A (en) * 2018-08-29 2019-01-08 维沃移动通信有限公司 A kind of method and mobile terminal of application positioning

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113037829A (en) * 2021-03-03 2021-06-25 读书郎教育科技有限公司 System and method for precisely positioning residential district
WO2023246895A1 (en) * 2022-06-23 2023-12-28 中兴通讯股份有限公司 Indoor positioning method and apparatus, and electronic device and computer-readable medium

Similar Documents

Publication Publication Date Title
US9959733B2 (en) Devices, systems, and methods for detecting falls
US20040021569A1 (en) Personnel and resource tracking method and system for enclosed spaces
US10408629B2 (en) Navigation system, client terminal device, control method, and storage medium
US20180342140A1 (en) Security Prejudgment based on Characteristic Information
KR20170064893A (en) Method for providing search information and device therefor
CN111757263A (en) Positioning data sharing method and system and mobile terminal
KR20040018308A (en) Personnel and resource tracking method and system for enclosed spaces
US11924710B2 (en) Location selection for transmitting emergency beacons
KR20170045499A (en) Disaster Notification Service System using a Wifi Beacon
JP5857397B2 (en) Step information acquisition system and step information acquisition method
CN111757262B (en) Positioning reminding method and system based on electronic fence and wearable device
CN111751860B (en) Building position determining method and terminal equipment
KR101147296B1 (en) Climbing Support System and Method
JP2005337872A (en) Position detection device and position detection system
JP2020123316A (en) Victim search system
US11012967B1 (en) System for determining precise location of a sought device by solving the last mile problem
US10645535B2 (en) Electronic apparatus, control device and computer-readable non-transitory recording medium for selectively transmitting information based on indoor/outdoor specification
KR102259251B1 (en) Smart block guide system
CN111750848B (en) Building positioning method and electronic equipment
KR102186783B1 (en) Navigation apparatus, method thereof and computer readable medium having computer program recorded therefor
CN112181054A (en) Earthquake help-seeking method, electronic equipment and computer-readable storage medium
CN111142067A (en) Three-dimensional positioning method of mobile equipment and mobile equipment
CN107741262B (en) Water depth detection method and wearable device
JP6775143B2 (en) Warning system and warning method
KR20170037802A (en) Method for emergency call using wearable device in both in-building and outdoor environment

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

Application publication date: 20201009

RJ01 Rejection of invention patent application after publication