CN111750848B - Building positioning method and electronic equipment - Google Patents

Building positioning method and electronic equipment Download PDF

Info

Publication number
CN111750848B
CN111750848B CN201910672022.5A CN201910672022A CN111750848B CN 111750848 B CN111750848 B CN 111750848B CN 201910672022 A CN201910672022 A CN 201910672022A CN 111750848 B CN111750848 B CN 111750848B
Authority
CN
China
Prior art keywords
user
electronic device
building
electronic equipment
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.)
Active
Application number
CN201910672022.5A
Other languages
Chinese (zh)
Other versions
CN111750848A (en
Inventor
王程辉
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
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 CN201910672022.5A priority Critical patent/CN111750848B/en
Publication of CN111750848A publication Critical patent/CN111750848A/en
Application granted granted Critical
Publication of CN111750848B publication Critical patent/CN111750848B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G01MEASURING; TESTING
    • G01CMEASURING DISTANCES, LEVELS OR BEARINGS; SURVEYING; NAVIGATION; GYROSCOPIC INSTRUMENTS; PHOTOGRAMMETRY OR VIDEOGRAMMETRY
    • G01C21/00Navigation; Navigational instruments not provided for in groups G01C1/00 - G01C19/00
    • G01C21/005Navigation; Navigational instruments not provided for in groups G01C1/00 - G01C19/00 with correlation of navigation data from several sources, e.g. map or contour matching
    • AHUMAN NECESSITIES
    • A61MEDICAL OR VETERINARY SCIENCE; HYGIENE
    • A61BDIAGNOSIS; SURGERY; IDENTIFICATION
    • A61B5/00Measuring for diagnostic purposes; Identification of persons
    • A61B5/103Detecting, measuring or recording devices for testing the shape, pattern, colour, size or movement of the body or parts thereof, for diagnostic purposes
    • A61B5/11Measuring movement of the entire body or parts thereof, e.g. head or hand tremor, mobility of a limb
    • A61B5/1113Local tracking of patients, e.g. in a hospital or private home
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01SRADIO DIRECTION-FINDING; RADIO NAVIGATION; DETERMINING DISTANCE OR VELOCITY BY USE OF RADIO WAVES; LOCATING OR PRESENCE-DETECTING BY USE OF THE REFLECTION OR RERADIATION OF RADIO WAVES; ANALOGOUS ARRANGEMENTS USING OTHER WAVES
    • G01S19/00Satellite radio beacon positioning systems; Determining position, velocity or attitude using signals transmitted by such systems
    • G01S19/38Determining a navigation solution using signals transmitted by a satellite radio beacon positioning system
    • G01S19/39Determining a navigation solution using signals transmitted by a satellite radio beacon positioning system the satellite radio beacon positioning system transmitting time-stamped messages, e.g. GPS [Global Positioning System], GLONASS [Global Orbiting Navigation Satellite System] or GALILEO
    • G01S19/42Determining position
    • G01S19/48Determining position by combining or switching between position solutions derived from the satellite radio beacon positioning system and position solutions derived from a further system

Abstract

The embodiment of the invention relates to the technical field of positioning, and discloses a building positioning method and electronic equipment, wherein the method comprises the following steps: detecting whether the electronic equipment can acquire GPS signals currently; if not, judging that the electronic equipment is currently in the indoor environment; acquiring identification information of a building where the indoor environment is located; wherein, the identification information at least comprises geographic position information of the building; detecting whether the electronic equipment leaves the building within a specified time; if not, the geographic position information of the building is sent to user equipment associated with the electronic equipment. The embodiment of the invention is beneficial to improving the accuracy of indoor positioning.

Description

Building positioning method and electronic equipment
Technical Field
The present invention relates to the field of positioning technologies, and in particular, to a building positioning method and an electronic device.
Background
With the continuous development of scientific technology, the demands of indoor positioning are increasing, and the WiFi indoor positioning technology is one of the indoor positioning technologies which are more common nowadays. However, in practice, the indoor positioning result obtained by the WiFi indoor positioning technology is generally very large in error, and positioning error is easy to occur.
Disclosure of Invention
The embodiment of the invention discloses a building positioning method and electronic equipment, which are beneficial to improving the accuracy of indoor positioning.
The first aspect of the embodiment of the invention discloses a building positioning method, which comprises the following steps:
detecting whether the electronic equipment can acquire GPS signals currently; if not, judging that the electronic equipment is currently in the indoor environment;
acquiring identification information of a building where the indoor environment is located; wherein, the identification information at least comprises geographic position information of the building;
detecting whether the electronic equipment leaves the building within a specified time; if not, the geographic position information of the building is sent to user equipment associated with the electronic equipment.
As an optional implementation manner, in the first aspect of the embodiment of the present invention, after sending the geographic location information of the building to the user device associated with the electronic device, the method further includes:
acquiring detailed information of the building; wherein the detailed information at least comprises business activity content of the building;
detecting whether the building belongs to an area set by the user equipment and prohibiting the electronic equipment from stepping in according to the business activity content; if yes, the electronic equipment is controlled to output first prompt information so as to prompt the user of the electronic equipment to step into the area which is set by the user equipment and is forbidden to step into the electronic equipment.
In a first aspect of the embodiment of the present invention, after controlling the electronic device to output the first prompt information, the method further includes:
controlling a rear camera of the electronic equipment to shoot so as to obtain a front environment image of the electronic equipment;
judging whether the environment where the user of the electronic equipment is located is dangerous or not according to the positioning information; if yes, controlling the electronic equipment to output second prompt information so as to prompt that the danger exists in the environment where the user of the electronic equipment is located.
In an optional implementation manner, in the first aspect of the embodiment of the present invention, after controlling the electronic device to output the second prompt information, the method further includes:
detecting whether the user leaves the building within a specified duration; if not, sending environment early warning information to the user equipment so that a user of the user equipment can learn that the user is in an area where the stepping of the electronic equipment is forbidden according to the environment early warning information, and the environment where the user is currently located is dangerous;
sending first inquiry information to the user equipment to inquire whether the user needs to establish emergency communication connection with the electronic equipment; if yes, establishing communication connection between the user equipment and the electronic equipment.
As an optional implementation manner, in the first aspect of the embodiment of the present invention, the method further includes:
detecting whether the physical state of the user is abnormal; if yes, sending alarm information to the user equipment, wherein the alarm information at least comprises physical state condition information of the user;
sending second inquiry information about whether alarm asking for help is needed or not to the user equipment; if yes, sending a preset alarm signal to an alarm platform;
and controlling the electronic equipment to output third prompt information so as to prompt the user how to effectively save oneself.
A second aspect of an embodiment of the present invention discloses an electronic device, including:
the first detection unit is used for detecting whether the electronic equipment can acquire GPS signals currently;
the determining unit is used for judging that the electronic equipment is currently in an indoor environment when the first detecting unit detects that the electronic equipment cannot acquire GPS signals currently;
the first acquisition unit is used for acquiring the identification information of the building where the indoor environment is located; wherein, the identification information at least comprises geographic position information of the building;
the second detection unit is used for detecting whether the electronic equipment leaves the building in a specified time;
And the first sending unit is used for sending the geographic position information of the building to the user equipment associated with the electronic equipment when the second detecting unit detects that the electronic equipment does not leave the building within the specified time.
As an optional implementation manner, in the second aspect of the embodiment of the present invention, the electronic device further includes:
a second obtaining unit, configured to obtain detailed information of the building after the first sending unit sends geographical location information of the building to a user device associated with the electronic device; wherein the detailed information at least comprises business activity content of the building;
a third detecting unit, configured to detect, according to the content of the business activity, whether the building belongs to an area set by the user equipment and in which the electronic equipment is prohibited from stepping;
and the first control unit is used for controlling the electronic equipment to output first prompt information when the third detection unit detects that the building belongs to the area which is set by the user equipment and is prohibited from stepping on by the electronic equipment so as to prompt the user of the electronic equipment to step on the area which is set by the user equipment and is prohibited from stepping on by the electronic equipment currently.
As an optional implementation manner, in the second aspect of the embodiment of the present invention, the electronic device further includes:
the second control unit is used for controlling the rear camera of the electronic equipment to shoot after the first control unit controls the electronic equipment to output the first prompt information so as to obtain the positioning information of the electronic equipment;
the judging unit is used for judging whether the environment where the user of the electronic equipment is located is dangerous or not according to the positioning information;
the first control unit is further configured to control the electronic device to output second prompt information to prompt that a danger exists in an environment where the user of the electronic device is located when the judging unit judges that the danger exists in the environment where the user of the electronic device is located.
As an optional implementation manner, in the second aspect of the embodiment of the present invention, the electronic device further includes:
the fourth detection unit is used for detecting whether the user leaves the building within a specified duration after the first control unit controls the electronic equipment to output the second prompt information;
the second sending unit is used for sending environment early warning information to the user equipment when the fourth detecting unit detects that the user does not leave the building within the specified duration, so that the user of the user equipment can learn that the user is in an area where the electronic equipment is forbidden to step in according to the environment early warning information, and the environment where the user is currently located is dangerous;
The second sending unit is further configured to send first query information to the user equipment to query whether the user needs to establish an emergency communication connection with the electronic equipment; if yes, establishing communication connection between the user equipment and the electronic equipment.
As an optional implementation manner, in the second aspect of the embodiment of the present invention, the fourth detection unit is further configured to detect whether an abnormality occurs in a physical state of the user;
the electronic device further includes:
a third sending unit, configured to send alarm information to the user equipment when the fourth detecting unit detects that the physical state of the user is abnormal, where the alarm information at least includes physical state condition information of the user;
the third sending unit is further configured to send second query information about whether an alarm is required to ask for help to the user equipment; if yes, sending a preset alarm signal to an alarm platform;
and the third control unit is used for controlling the electronic equipment to output third prompt information so as to prompt the user how to effectively save oneself.
A third aspect of an embodiment of the present invention discloses an electronic device, including:
a memory storing executable program code;
A processor coupled to the memory;
the processor invokes the executable program codes stored in the memory to execute the building positioning method disclosed in the first aspect of the embodiment of the invention.
A fourth aspect of the embodiments of the present invention discloses a computer-readable storage medium storing a computer program, wherein the computer program causes a computer to execute a building positioning method disclosed in the first aspect of the embodiments of the present invention.
A fifth aspect of the embodiments of the present invention discloses a computer program product which, when run on a computer, causes the computer to perform part or all of the steps of any one of the methods of the first aspect.
A sixth aspect of the embodiments of the present invention discloses an application publishing platform for publishing a computer program product, wherein the computer program product, when run on a computer, causes the computer to perform part or all of the steps of any one of the methods of the first aspect.
Compared with the prior art, the embodiment of the invention has the following beneficial effects:
in the embodiment of the invention, when the electronic equipment detects that the GPS signal cannot be acquired currently, the electronic equipment can judge that the electronic equipment is currently in an indoor environment and can acquire the identification information of the building where the indoor environment is located, wherein the identification information at least comprises the geographic position information of the building, the electronic equipment can detect whether the electronic equipment leaves the building within a specified time, and if not, the electronic equipment can send the geographic position information of the building to the user equipment associated with the electronic equipment. Therefore, the embodiment of the invention is beneficial to improving the accuracy of indoor positioning.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings that are needed 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 other drawings may be obtained according to these drawings without inventive effort for a person skilled in the art.
FIG. 1 is a schematic flow chart of a building positioning method according to an embodiment of the present invention;
FIG. 2 is a flow chart of another building positioning method according to an embodiment of the present invention;
FIG. 3 is a flow chart of another building positioning method according to an embodiment of the present invention;
fig. 4 is a schematic structural diagram of an electronic device according to an embodiment of the present invention;
FIG. 5 is a schematic diagram of another electronic device according to an embodiment of the present invention;
FIG. 6 is a schematic diagram of another electronic device according to an embodiment of the present invention;
fig. 7 is a schematic structural diagram of another electronic device according to an embodiment of the present invention.
Detailed Description
The following description of the embodiments of the present invention will be made clearly and completely with reference to the accompanying drawings, in which it is apparent that the embodiments described are only some embodiments of the present invention, but not all embodiments. All other embodiments, which can be made by those skilled in the art based on the embodiments of the invention without making any inventive effort, are intended to be within the scope of the invention.
It should be noted that the terms "first," "second," "third," "fourth," and the like in the description and in the claims of the present invention are used for distinguishing between different objects and not necessarily for describing a particular sequential or chronological order. 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 or inherent to such process, method, article, or apparatus.
The embodiment of the invention discloses a building positioning method and electronic equipment, which are beneficial to improving the accuracy of indoor positioning. The following detailed description refers to the accompanying drawings.
Example 1
Referring to fig. 1, fig. 1 is a schematic flow chart of a building positioning method according to an embodiment of the present invention. As shown in fig. 1, the building positioning method may include the following steps.
101. The electronic equipment detects whether the electronic equipment can acquire the GPS signal currently, if not, the electronic equipment executes the steps 102-104, and if so, the process is ended.
In the embodiment of the invention, the electronic equipment can comprise electronic equipment with GPS positioning function such as a mobile phone, a tablet personal computer, a bracelet, a watch, intelligent glasses and the like, and the embodiment of the invention is not limited.
In the embodiment of the invention, the electronic equipment can adopt a GPS module with low power consumption and can be in an open state outdoors.
As an optional implementation manner, in the embodiment of the present invention, when the electronic device detects that the electronic device fails to acquire the GPS signal currently, the electronic device may determine whether the current weather condition is bad, if yes, the electronic device may determine that the main cause of failing to acquire the GPS signal currently is weather bad;
and after the electronic equipment judges that the main cause of the failure to acquire the GPS signals is bad weather, the electronic equipment can prolong the searching time of the GPS signals, if the electronic equipment still cannot acquire the GPS signals after the searching time of the GPS signals is prolonged, the electronic equipment can adopt WiFi technology positioning or Bluetooth technology positioning.
102. The electronic device determines that the electronic device is currently in an indoor environment.
In an embodiment of the present invention, after the electronic device determines that the electronic device is currently in the indoor environment, the electronic device may search for the GPS signal at intervals of a preset time to reduce power consumption of the electronic device, for example, the electronic device may search for every 10s or every 15s, which is not limited in the embodiment of the present invention.
103. The electronic equipment acquires identification information of a building where an indoor environment is located; wherein, the identification information at least comprises geographic position information of the building.
In an optional implementation manner, in the embodiment of the present invention, after the electronic device determines that the electronic device is currently in the indoor environment, the electronic device may acquire, from the database, the latest GPS positioning information of the electronic device, and may determine, according to the GPS positioning information, the building location where the electronic device is currently located.
In an optional implementation manner, in the embodiment of the present invention, after the electronic device obtains the identification information of the building where the indoor environment is located, the electronic device may display the geographic location information of the building on a display screen of the electronic device, so that a user can know the environment where the user is located.
104. The electronic device detects whether the electronic device leaves the building within a specified time, if not, step 105 is executed, and if yes, the current flow is ended.
As an optional implementation manner, in the embodiment of the present invention, when the electronic device detects that the electronic device does not leave the building within a specified time, the electronic device may also detect whether the building belongs to a resident security building (for example, a school teaching building) of the electronic device;
And when the electronic device detects that the building belongs to a resident safety building of the electronic device, the electronic device can detect whether the current time is the allowed stepping time of the resident safety building, for example, when the resident safety building of the electronic device is a school teaching building, the allowed stepping time of the school teaching building is 8 a.m. to 5 a.m. on monday to friday;
and, upon the electronic device detecting that the current time is not the allowed stepping time for the resident security building, the electronic device may perform step 105.
105. The electronic device transmits the geographic location information of the building to a user device associated with the electronic device.
In an embodiment of the present invention, the identity information of the user device associated with the electronic device may be guardianship, teachers, relatives, friends, strangers, and the like, the electronic device may set different rights for obtaining the positioning information of the electronic device for different identity information, for example, the right of the guardianship to obtain the positioning information of the electronic device may be a first right level, the right of the teacher to obtain the positioning information of the electronic device may be a second right level, the right of the relatives to obtain the positioning information of the electronic device may be a third right level, the right of the friends to obtain the positioning information of the electronic device may be a fourth right level, and the right of the strangers to obtain the positioning information of the electronic device may be a fifth right level. The authority of the first authority level may be the highest, the authority of the fifth authority level may be the lowest, the higher the authority is, the higher the allowable frequency of acquiring the positioning information of the electronic device is, and the lower the authority is, the lower the allowable frequency of acquiring the positioning information of the electronic device is.
In an optional implementation manner, in the embodiment of the present invention, the electronic device may further send query information to the user device to query whether the user of the user device needs to obtain the navigation route to the location of the electronic device, and if so, the electronic device may push the navigation route to the location of the electronic device to the user device.
In an optional implementation manner, in the embodiment of the present invention, the electronic device may further send GPS positioning information and a motion track of the electronic device to the user device before the electronic device enters the building.
As an optional implementation manner, in the embodiment of the present invention, the electronic device may detect whether a friend exists in a friend list in the electronic device, if so, the electronic device may send a prompt message to the electronic device to prompt the user that the friend exists in the same building as the user;
after the electronic device sends the prompt information, the electronic device can also send inquiry information to inquire whether a user needs to acquire a navigation route to the position of the friend, if so, the electronic device can acquire the navigation route to the position of the friend;
And after the electronic equipment acquires the navigation route reaching the position of the friend, the electronic equipment can also establish communication connection between the user and the friend, so that interaction communication between the user and the friend is increased, and the use viscosity of the user of the electronic equipment is improved.
Therefore, the building positioning method shown in fig. 1 is beneficial to improving the accuracy of indoor positioning.
In addition, by implementing the building positioning method described in fig. 1, interaction communication between friends can be increased, and the use viscosity of users of the electronic equipment can be improved.
In addition, by implementing the building positioning method described in fig. 1, power consumption of the electronic device can be reduced.
Example two
Referring to fig. 2, fig. 2 is a schematic flow chart of another building positioning method according to an embodiment of the invention. As shown in fig. 2, the building positioning method may include the following steps.
201. The electronic device detects whether the electronic device can acquire the GPS signal currently, if not, the electronic device executes the steps 202-204, and if yes, the process is ended.
202. The electronic device determines that the electronic device is currently in an indoor environment.
203. The electronic equipment acquires identification information of a building where an indoor environment is located; wherein, the identification information at least comprises geographic position information of the building.
204. The electronic device detects whether the electronic device leaves the building within a specified time, if not, the electronic device executes the steps 205 to 207, if yes, the process is ended.
205. The electronic device transmits the geographic location information of the building to a user device associated with the electronic device.
206. The electronic equipment acquires the detailed information of the building; wherein, the detailed information at least comprises business activity content of the building.
As an optional implementation manner, in the embodiment of the present invention, the electronic device may further obtain a residence time of the electronic device on the building, information of a responsible person on the building, an emergency contact manner and an address of an area to which the building belongs, for example, an emergency contact manner and an address of a hospital closest to the building, and an emergency contact manner and an address of a police station closest to the building.
207. And the electronic equipment detects whether the building belongs to the area which is set by the user equipment and is prohibited from stepping on according to the business activity content, if so, the electronic equipment executes the steps 208 to 210, and if not, the process is ended.
In an alternative embodiment of the present invention, the area where the electronic device is prohibited from stepping includes at least a business dance hall, a business electronic game place, and other places where minors are not suitable to enter.
208. The electronic equipment controls the electronic equipment to output the first prompt information so as to prompt the user of the electronic equipment to step in the area which is set by the user equipment and is prohibited from stepping in by the electronic equipment.
In an optional implementation manner, in an embodiment of the present invention, controlling, by an electronic device, the electronic device to output the first prompt information includes:
the electronic equipment can control the display screen of the electronic equipment to output and display first prompt information;
and/or the electronic device may control the first prompt message sent by the speaker of the electronic device.
209. The electronic equipment controls a rear camera of the electronic equipment to shoot so as to obtain a front environment image of the electronic equipment.
In the embodiment of the invention, the front environment image acquired by the electronic equipment can be a static image, a dynamic image or a dynamic and static combined image, and the embodiment of the invention is not limited.
In an optional implementation manner, in an embodiment of the present invention, after the electronic device acquires the front environment image, the electronic device may extract comments of other users on the front environment from the cloud server, and output the comments to a display screen of the electronic device, so as to increase the understanding of the user on the front environment.
In an optional implementation manner, in the embodiment of the present invention, the electronic device may further control a front camera of the electronic device to perform shooting, so as to obtain an image containing a face of the user;
after the electronic equipment obtains the facial image containing the user, the electronic equipment can analyze the facial image of the user, so that the current emotion type of the user is obtained;
and after the electronic device obtains the current emotion type of the user, the electronic device can judge whether the current emotion type is a low-lying emotion, if so, the electronic device can recognize whether the front environment is suitable for the movement (such as walking) for improving the low-lying emotion according to the front environment image, and if so, the electronic device outputs reminding information of the movement for improving the low-lying emotion, which is suitable for the front environment, to a display screen arranged at the bottom side of the host computer, so that the user can perform the movement for improving the low-lying emotion in the front environment, and the low-lying emotion is improved. Or after the electronic device judges that the current emotion type is the low-lying emotion, the electronic device can recognize whether a place (such as a song bar) for improving the low-lying emotion exists in the front environment according to the front environment image, if so, the electronic device outputs reminding information of the place (such as the song bar) for improving the low-lying emotion, which is suitable for the front environment, to a display screen arranged at the bottom side of the host computer, so that a user can improve the low-lying emotion in the place (such as the song bar) for improving the low-lying emotion, which is in the front environment.
210. And the electronic equipment judges whether the environment where the user of the electronic equipment is located is dangerous or not according to the front environment image, if yes, the step 211 is executed, and if not, the flow is ended.
In the embodiment of the invention, the electronic equipment can identify the positioning information through an image identification technology, so that object information such as furniture, cutters, flames and the like contained in the positioning information is obtained;
and the electronic device may analyze the identified object information to obtain a risk value included in the object information, and when the risk value included in the object information is greater than a specified threshold, the electronic device may determine that there is a risk in the environment where the wearer is located, and perform step 211.
211. The electronic equipment controls the electronic equipment to output second prompt information so as to prompt that the danger exists in the environment where the user of the electronic equipment is located.
In an optional implementation manner, in an embodiment of the present invention, the first prompt information output by the electronic device to the display screen may include object information that includes a certain risk value in a front environment, so that a user is away from a risk source.
In an optional implementation manner, in an embodiment of the present invention, controlling, by an electronic device, the electronic device to output the first prompt information includes:
The electronic equipment can control the display screen of the electronic equipment to output and display second prompt information;
and/or the electronic device can control the second prompt information sent by the loudspeaker of the electronic device.
Therefore, the building positioning method described in fig. 2 is beneficial to improving the accuracy of indoor positioning.
In addition, by implementing the building positioning method described in fig. 2, the user can leave the dangerous environment as soon as possible, so as to ensure the safety of the user and reduce the possibility of danger of the user.
In addition, the building positioning method described in fig. 2 is implemented, so that the user can conveniently perform exercise for improving low-lying emotion in the front environment, and the low-lying emotion is improved; or, the user can easily improve the low-lying emotion in places (such as song bars) where the front environment exists and the low-lying emotion is improved.
In addition, by implementing the building positioning method described in fig. 2, the user can learn the emergency contact way and address of the location area, so that the user can be timely rescued when encountering an emergency.
Example III
Referring to fig. 3, fig. 3 is a schematic flow chart of another building positioning method according to an embodiment of the invention. As shown in fig. 3, the building positioning method may include the following steps.
301. The electronic device detects whether the electronic device can acquire the GPS signal currently, if not, the electronic device executes the steps 302-304, if yes, the process is ended.
302. The electronic device determines that the electronic device is currently in an indoor environment.
303. The electronic equipment acquires identification information of a building where an indoor environment is located; wherein, the identification information at least comprises geographic position information of the building.
304. The electronic device detects whether the electronic device leaves the building within a specified time, if not, the electronic device executes steps 305 to 307, and if yes, the process is ended.
305. The electronic device transmits the geographic location information of the building to a user device associated with the electronic device.
306. The electronic equipment acquires the detailed information of the building; wherein, the detailed information at least comprises business activity content of the building.
307. And the electronic equipment detects whether the building belongs to the area which is set by the user equipment and is prohibited from stepping on according to the business activity content, if so, the electronic equipment executes the steps 308 to 310, and if not, the process is ended.
308. The electronic equipment controls the electronic equipment to output the first prompt information so as to prompt the user of the electronic equipment to step in the area which is set by the user equipment and is prohibited from stepping in by the electronic equipment.
309. The electronic equipment controls a rear camera of the electronic equipment to shoot so as to obtain a front environment image of the electronic equipment.
310. And the electronic equipment judges whether the environment where the user of the electronic equipment is located is dangerous or not according to the front environment image, if yes, the electronic equipment executes the steps 311-312, and if not, the process is ended.
311. The electronic equipment controls the electronic equipment to output second prompt information so as to prompt that the danger exists in the environment where the user of the electronic equipment is located.
312. The electronic device detects whether the user leaves the building within the specified duration, if yes, the electronic device executes steps 313 to 314, and if not, the process is ended.
In an optional implementation manner, in the embodiment of the present invention, the electronic device may detect, in real time, the front environment where the user is located within a preset time, and when the electronic device detects that the front environment where the user is located does not change within the preset time, and the above object information containing a certain risk value still exists, the electronic device may determine that the user does not leave the environment where the risk exists, and perform steps 313 to 314.
313. The electronic equipment sends environment early warning information to the user equipment so that the user of the user equipment can learn that the user is in an area where the electronic equipment is forbidden to step in according to the environment early warning information, and the environment where the user is currently located is dangerous.
As an optional implementation manner, in the embodiment of the present invention, the electronic device may send the environmental pre-warning information to the user device in a form of display screen display, and/or may send the environmental pre-warning information to the user device in a form of vibration, and/or may send the environmental pre-warning information to the user device in a form of voice broadcast.
314. The electronic device sends first query information to the user device to query whether the user needs to establish emergency communication connection with the electronic device, if yes, step 315 to step 316 are executed, and if not, the process is ended.
In an alternative embodiment, if the user does not need to establish an emergency communication connection with the electronic device, the electronic device may send the front environment image to the user device, so that the user of the user device may learn the current environment according to the front environment image.
315. The electronic device establishes a communication connection between the user device and the electronic device.
In an alternative embodiment, if communication cannot be established between the electronic device and the user device, the electronic device may send real-time positioning information of the electronic device to the user terminal, and continuously establish communication with the user device at preset time intervals until communication is established.
316. The electronic device detects whether the physical state of the user is abnormal, if so, the electronic device performs steps 317 to 318, and if not, the process is ended.
In the embodiment of the present invention, the electronic device detecting whether the physical state of the user is abnormal may include:
the electronic device detects whether the physical state of the user is abnormal by using any one or more of the detected heart rate state, blood pressure state, respiration state and body temperature state of the user, and if the physical state of the user is abnormal, the electronic device may execute steps 317 to 318.
For example, when the electronic device determines that the detected heart rate status, and/or blood pressure status, and/or respiratory status, and/or body temperature status of the user exceeds the normal index, it confirms that the physical status of the user is abnormal, and the electronic device may perform steps 317 to 318.
317. And the electronic equipment sends alarm information to the user equipment, wherein the alarm information at least comprises physical state condition information of the user.
In an optional implementation manner, after the electronic device sends the alarm information to the user device, the electronic device may send a motion track formed by the real-time position of the electronic device and information of each real-time position to the user device, and the user device may determine what happens to the wearer of the electronic device through the motion track of the electronic device and the information of the real-time position.
318. And the electronic equipment sends second inquiry information about whether the alarm is required for asking for help to the user equipment, if yes, the steps 319-320 are executed, and if not, the process is ended.
As an optional implementation manner, in the embodiment of the present invention, the electronic device may further send, to the user device, a stay time of the electronic device on the building, information of a responsible person on the building, an emergency contact manner and an address of an area to which the building belongs, for example, an emergency contact manner and an address of a hospital closest to the building, and an emergency contact manner and an address of a police station closest to the building.
319. The electronic equipment sends a preset alarm signal to the alarm platform.
In an embodiment of the invention, after the electronic device sends the preset alarm signal to the alarm platform, the electronic device can send the identity information of the user of the electronic device and the real-time positioning information of the user of the electronic device to the alarm platform, so that the police can timely and quickly find the user of the electronic device, thereby playing a role in protecting the personal safety of the user.
As an optional implementation manner, in the embodiment of the present invention, after the electronic device sends a preset first alarm signal to the alarm platform, the electronic device may send an inquiry message about whether to need emergency rescue to the user device, and when the electronic device receives a request for emergency rescue sent by the user device, the electronic device may send an emergency rescue signal to an emergency rescue hospital near the electronic device;
And the electronic equipment can send the physical state information of the user of the electronic equipment and the real-time positioning information of the user of the electronic equipment to the emergency rescue hospital.
320. The electronic equipment controls the electronic equipment to output third prompt information so as to prompt a user how to effectively save oneself.
As an optional implementation manner, in the embodiment of the invention, the electronic device can output a method for wound care, a method for using a protective device such as a self-rescuer, a method for on-site wound first-aid, and the like under different scenes to a display screen of the electronic device, so that a user can carry out effective self-rescue according to the guidance of the electronic device;
and the electronic equipment can output the nearby positions such as the safety exit, the road and the like to the display screen of the electronic equipment, and the user can reach the safety area according to the guidance of the electronic equipment.
Therefore, the building positioning method described in fig. 3 is beneficial to improving the accuracy of indoor positioning.
In addition, the building positioning method described in fig. 3 can control the electronic equipment to output prompt information for guiding the user how to effectively save oneself, and the process can effectively protect the self safety of the user.
In addition, by implementing the building positioning method described in fig. 3, timely rescue can be given when the physical state of the user is abnormal, and the process can protect the personal safety of the user.
In addition, by implementing the building positioning method described in fig. 3, the electronic device and the user device can be in emergency communication connection, and when communication cannot be established between the electronic device and the user device, the electronic device can send real-time positioning information of the electronic device to the user device, and continuously establish communication with the user device at preset time intervals until communication is established, and the process can enable the user device to find the electronic device in time, so that the safety of a user and the positioning accuracy of the electronic device are improved.
Example IV
Referring to fig. 4, fig. 4 is a schematic structural diagram of an electronic device according to an embodiment of the invention. As shown in fig. 4, the electronic device may include:
the first detecting unit 401 is configured to detect whether the electronic device can currently acquire a GPS signal.
A determining unit 402, configured to determine that the electronic device is currently in the indoor environment when the first detecting unit 401 detects that the electronic device fails to acquire the GPS signal.
A first obtaining unit 403, configured to obtain identification information of a building where an indoor environment is located; wherein, the identification information at least comprises the geographic position information of the building.
A second detecting unit 404, configured to detect whether the electronic device leaves the building within a specified time.
A first sending unit 405, configured to send, when the second detecting unit 404 detects that the electronic device does not leave the building within a specified time, geographic location information of the building to a user device associated with the electronic device.
In the embodiment of the invention, the electronic equipment can comprise electronic equipment with GPS positioning function such as a mobile phone, a tablet personal computer, a bracelet, a watch, intelligent glasses and the like, and the embodiment of the invention is not limited.
In the embodiment of the invention, the electronic equipment can adopt a GPS module with low power consumption and can be in an open state outdoors.
As an optional implementation manner, in this embodiment of the present invention, when the first detection unit 401 detects that the electronic device fails to acquire the GPS signal currently, the electronic device may determine whether the current weather condition is bad, if so, the electronic device may determine that the main cause of the failure to acquire the GPS signal currently is bad;
And after the electronic equipment judges that the main cause of the failure to acquire the GPS signals is bad weather, the electronic equipment can prolong the searching time of the GPS signals, if the electronic equipment still cannot acquire the GPS signals after the searching time of the GPS signals is prolonged, the electronic equipment can adopt WiFi technology positioning or Bluetooth technology positioning.
As an optional implementation manner, in the embodiment of the present invention, after the determining unit 402 determines that the electronic device is currently in the indoor environment, the electronic device may search for the GPS signal once every a preset time to reduce power consumption of the electronic device, for example, the electronic device may search for every 10s or every 15s, which is not limited in the embodiment of the present invention.
In an optional implementation manner, in an embodiment of the present invention, after the determining unit 402 determines that the electronic device is currently located in the indoor environment, the electronic device may obtain, from the database, GPS positioning information of the electronic device that is the latest time, and may determine, according to the GPS positioning information, a building location where the electronic device is currently located.
In an alternative embodiment, after the first obtaining unit 403 obtains the identification information of the building where the indoor environment is located, the electronic device may display the geographical location information of the building on a display screen of the electronic device, so that the user knows the environment where the user is located.
As an optional implementation manner, in an embodiment of the present invention, when the second detection unit 404 detects that the electronic device does not leave the building within a specified time, the second detection unit 404 may also detect whether the building belongs to a resident security building (such as a school teaching building) of the electronic device;
and, when the second detection unit 404 detects that the building belongs to the resident security building of the electronic device, the second detection unit 404 may detect whether the current time is the allowed stepping time of the resident security building, for example, when the resident security building of the electronic device is a school teaching building, the allowed stepping time of the school teaching building is 8 a.m. from monday to friday to 5 p.m..
In an embodiment of the present invention, the identity information of the user device associated with the electronic device may be guardianship, teachers, relatives, friends, strangers, and the like, the electronic device may set different rights for obtaining the positioning information of the electronic device for different identity information, for example, the right of the guardianship to obtain the positioning information of the electronic device may be a first right level, the right of the teacher to obtain the positioning information of the electronic device may be a second right level, the right of the relatives to obtain the positioning information of the electronic device may be a third right level, the right of the friends to obtain the positioning information of the electronic device may be a fourth right level, and the right of the strangers to obtain the positioning information of the electronic device may be a fifth right level. The authority of the first authority level may be the highest, the authority of the fifth authority level may be the lowest, the higher the authority is, the higher the allowable frequency of acquiring the positioning information of the electronic device is, and the lower the authority is, the lower the allowable frequency of acquiring the positioning information of the electronic device is.
In an optional implementation manner, in an embodiment of the present invention, the first sending unit 405 may further send query information to the user equipment to query whether the user of the user equipment needs to obtain a navigation route to the location of the electronic equipment, and if so, the electronic equipment may push the navigation route to the location of the electronic equipment to the user equipment.
In an optional implementation manner, in this embodiment of the present invention, the first sending unit 405 may also send the GPS positioning information and the motion trail of the electronic device to the user device before the electronic device enters the building.
As an optional implementation manner, in the embodiment of the present invention, the electronic device may detect whether a friend exists in a friend list in the electronic device, if so, the electronic device may send a prompt message to the electronic device to prompt the user that the friend exists in the same building as the user;
after the electronic device sends the prompt information, the electronic device can also send inquiry information to inquire whether a user needs to acquire a navigation route to the position of the friend, if so, the electronic device can acquire the navigation route to the position of the friend;
And after the electronic equipment acquires the navigation route reaching the position of the friend, the electronic equipment can also establish communication connection between the user and the friend, so that interaction communication between the user and the friend is increased, and the use viscosity of the user of the electronic equipment is improved.
It can be seen that implementing the electronic device described in fig. 4 is beneficial to improving the accuracy of indoor positioning.
In addition, the implementation of the electronic device described in fig. 4 can increase interaction with friends, so as to improve the use viscosity of the user of the electronic device.
In addition, implementing the electronic device described in fig. 4 can reduce power consumption of the electronic device.
Example five
Referring to fig. 5, fig. 5 is a schematic structural diagram of another electronic device according to an embodiment of the invention. The electronic device shown in fig. 5 is obtained by optimizing the electronic device shown in fig. 4. Compared to the electronic device shown in fig. 4, the electronic device shown in fig. 5 may further include:
a second obtaining unit 406, configured to obtain detailed information of the building after the first sending unit 405 sends the geographic location information of the building to a user device associated with the electronic device; wherein, the detailed information at least comprises business activity content of the building.
As an alternative implementation manner, in an embodiment of the present invention, the second obtaining unit 406 may further obtain a residence time of the electronic device on the building, information of a person responsible for the building, an emergency contact manner and an address of an area to which the building belongs, for example, an emergency contact manner and an address of a hospital closest to the building, and an emergency contact manner and an address of a police department closest to the building.
A third detecting unit 407, configured to detect, according to the content of the business activity, whether the building belongs to an area set by the user equipment and in which the electronic equipment is prohibited from stepping.
In an alternative embodiment of the present invention, the area where the electronic device is prohibited from stepping includes at least a business dance hall, a business electronic game place, and other places where minors are not suitable to enter.
The first control unit 408 is configured to control the electronic device to output the first prompting information to prompt the user of the electronic device to step into the area where the electronic device is prohibited, where the user device is set by the user device, when the third detection unit 407 detects that the building belongs to the area where the electronic device is prohibited.
In an optional implementation manner, in an embodiment of the present invention, the controlling, by the first control unit 408, the electronic device to output the first prompt information includes:
the first control unit 408 may control the display screen of the electronic device to output and display the first prompt information;
and/or the first control unit 408 may control the first prompt message sent by the speaker of the electronic device.
Accordingly, compared to the electronic device shown in fig. 4, the electronic device shown in fig. 5 further includes:
the second control unit 409 is configured to control the rear camera of the electronic device to perform shooting after the first control unit 408 controls the electronic device to output the first prompt information, so as to obtain positioning information of the electronic device.
In the embodiment of the invention, the front environment image acquired by the electronic equipment can be a static image, a dynamic image or a dynamic and static combined image, and the embodiment of the invention is not limited.
In an optional implementation manner, in an embodiment of the present invention, after the electronic device acquires the front environment image, the electronic device may extract comments of other users on the front environment from the cloud server, and output the comments to a display screen of the electronic device, so as to increase the understanding of the user on the front environment.
As an optional implementation manner, in this embodiment of the present invention, the second control unit 409 may further control the front camera of the electronic device to perform shooting, so as to obtain an image containing the face of the user;
after the electronic equipment obtains the facial image containing the user, the electronic equipment can analyze the facial image of the user, so that the current emotion type of the user is obtained;
and after the electronic device obtains the current emotion type of the user, the electronic device can judge whether the current emotion type is a low-lying emotion, if so, the electronic device can recognize whether the front environment is suitable for the movement (such as walking) for improving the low-lying emotion according to the front environment image, and if so, the electronic device outputs reminding information of the movement for improving the low-lying emotion, which is suitable for the front environment, to a display screen arranged at the bottom side of the host computer, so that the user can perform the movement for improving the low-lying emotion in the front environment, and the low-lying emotion is improved. Or after the electronic device judges that the current emotion type is the low-lying emotion, the electronic device can recognize whether a place (such as a song bar) for improving the low-lying emotion exists in the front environment according to the front environment image, if so, the electronic device outputs reminding information of the place (such as the song bar) for improving the low-lying emotion, which is suitable for the front environment, to a display screen arranged at the bottom side of the host computer, so that a user can improve the low-lying emotion in the place (such as the song bar) for improving the low-lying emotion, which is in the front environment.
And the judging unit 410 is configured to judge whether there is a danger in the environment where the user of the electronic device is located according to the positioning information.
In the embodiment of the invention, the electronic equipment can identify the positioning information through an image identification technology, so that object information such as furniture, cutters, flames and the like contained in the positioning information is obtained;
and the electronic device may analyze the identified object information to obtain a risk value included in the object information, and when the risk value included in the object information is greater than a specified threshold, the judging unit 410 may judge that there is a risk in the environment where the wearer is located.
Accordingly, in the electronic device shown in fig. 5, the first control unit 408 is further configured to, when the judging unit 410 judges that there is a danger in the environment where the user of the electronic device is located, control the electronic device to output the second prompting information to prompt that there is a danger in the environment where the user of the electronic device is located.
In an optional implementation manner, in an embodiment of the present invention, the first prompt information output by the electronic device to the display screen may include object information that includes a certain risk value in a front environment, so that a user is away from a risk source.
In an optional implementation manner, in an embodiment of the present invention, the controlling, by the first control unit 408, the electronic device to output the first prompt information includes:
the first control unit 408 may control the display screen of the electronic device to output and display the second prompt information;
and/or the first control unit 408 may control the second prompt message sent by the speaker of the electronic device.
It can be seen that implementing another electronic device as described in fig. 5 is beneficial to improving the accuracy of indoor positioning.
In addition, implementing another electronic device as described in fig. 5 can enable the user to leave the dangerous environment as soon as possible, so as to ensure the safety of the user and reduce the possibility of danger for the user.
In addition, implementing another electronic device described in fig. 5 can facilitate the user's exercise of improving low-lying emotion in the front environment; or, the user can easily improve the low-lying emotion in places (such as song bars) where the front environment exists and the low-lying emotion is improved.
In addition, implementing another electronic device as described in fig. 5 can enable the user to learn the emergency contact manner and address of the location area, so that the user can be timely rescued when encountering an emergency.
Example six
Referring to fig. 6, fig. 6 is a schematic structural diagram of another electronic device according to an embodiment of the invention. The electronic device shown in fig. 6 is obtained by optimizing the electronic device shown in fig. 5. Compared to the electronic device shown in fig. 5, the electronic device shown in fig. 6 may further include:
a fourth detecting unit 411, configured to detect whether the user leaves the building within a specified duration after the first control unit 408 controls the electronic device to output the second prompt information.
In an alternative embodiment, in the embodiment of the present invention, the fourth detecting unit 411 may detect the front environment where the user is located in real time within a preset time, and when the fourth detecting unit 411 detects that the front environment where the user is located does not change within the preset time, and the object information containing a certain dangerous value still exists, the electronic device may determine that the user does not leave the dangerous environment.
And a second sending unit 412, configured to send, when the fourth detecting unit 411 detects that the user does not leave the building within the specified duration, environmental pre-warning information to the user equipment, so that the user of the user equipment learns, according to the environmental pre-warning information, that the user is in an area where the electronic equipment is prohibited from stepping in, and that the environment where the user is currently located is dangerous.
As an optional implementation manner, in an embodiment of the present invention, the second sending unit 412 may send the environmental pre-warning information to the user device in a form of display screen display, and/or may send the environmental pre-warning information to the user device in a form of vibration, and/or may send the environmental pre-warning information to the user device in a form of voice broadcast.
Accordingly, in the electronic device shown in fig. 6, the second sending unit 412 is further configured to send the first query information to the user device, so as to query whether the user needs to establish an emergency communication connection with the electronic device; if yes, establishing communication connection between the user equipment and the electronic equipment.
In an alternative embodiment, if the user does not need to establish an emergency communication connection with the electronic device, the electronic device may send the front environment image to the user device, so that the user of the user device may learn the current environment according to the front environment image.
In an alternative embodiment, if communication cannot be established between the electronic device and the user device, the electronic device may send real-time positioning information of the electronic device to the user terminal, and continuously establish communication with the user device at preset time intervals until communication is established.
As an alternative embodiment, in the service device shown in fig. 6, the fourth detecting unit 411 is further configured to detect whether an abnormality occurs in the physical state of the user. Accordingly, compared to the electronic device shown in fig. 5, the electronic device shown in fig. 6 further includes:
and a third sending unit 413, configured to send alarm information to the user equipment when the fourth detecting unit 411 detects that the physical state of the user is abnormal, where the alarm information includes at least physical state condition information of the user.
As an optional implementation manner, in an embodiment of the present invention, after the third sending unit 413 sends alert information to the user equipment, the third sending unit 413 may send, to the user equipment, a motion track formed by a real-time position of the electronic equipment and information of each real-time position, and the user equipment may determine what happens to the wearer of the electronic equipment through the motion track of the electronic equipment and the information of the real-time position.
Accordingly, in the electronic device shown in fig. 6, the third sending unit 413 is further configured to send, to the user device, second query information about whether the user device needs to ask for help with an alarm; if yes, a preset alarm signal is sent to an alarm platform.
As an optional implementation manner, in the embodiment of the present invention, the third sending unit 413 may further send, to the user device, a stay time of the electronic device on the building, information of a responsible person on the building, an emergency contact manner and an address of an area to which the building belongs, for example, an emergency contact manner and an address of a hospital closest to the building, and an emergency contact manner and an address of a police department closest to the building.
In an alternative embodiment, after the third sending unit 413 sends the preset alarm signal to the alarm platform, the third sending unit 413 may send the identity information of the user of the electronic device and the real-time positioning information of the user of the electronic device to the alarm platform, so that the police can timely and quickly find the user of the electronic device, thereby protecting personal safety of the user.
As an optional implementation manner, in this embodiment of the present invention, after the third sending unit 413 sends a preset first alarm signal to the alarm platform, the third sending unit 413 may send an inquiry message about whether an emergency rescue is needed to the user equipment, and when the electronic equipment receives a request for an emergency rescue sent by the user equipment, the electronic equipment may send an emergency rescue signal to an emergency rescue hospital near the electronic equipment;
And, the third transmission unit 413 may transmit physical state information of the user of the electronic device and real-time positioning information of the user of the electronic device to the emergency rescue hospital.
The third control unit 414 is configured to control the electronic device to output third prompt information to prompt the user how to effectively save oneself.
As an optional implementation manner, in the embodiment of the invention, the electronic device can output a method for wound care, a method for using a protective device such as a self-rescuer, a method for on-site wound first-aid, and the like under different scenes to a display screen of the electronic device, so that a user can carry out effective self-rescue according to the guidance of the electronic device;
and the electronic equipment can output the nearby positions such as the safety exit, the road and the like to the display screen of the electronic equipment, and the user can reach the safety area according to the guidance of the electronic equipment.
It can be seen that implementing another electronic device as described in fig. 6 is beneficial to improving the accuracy of indoor positioning.
In addition, implementing another electronic device described in fig. 6 can control the electronic device to output prompt information for guiding the user how to save oneself effectively, and this process can protect the user's own safety effectively.
In addition, another electronic device described in fig. 6 is implemented, so that timely rescue can be given when the physical state of the user is abnormal, and the process can protect the personal safety of the user.
In addition, implementing another electronic device described in fig. 6, the electronic device and the user device may make an emergency communication connection, and when communication cannot be established between the electronic device and the user device, the electronic device may send real-time positioning information of the electronic device to the user device, and continuously establish communication with the user device at preset time intervals until communication is established, and this process may enable the user device to find the electronic device in time, thereby improving user security and accuracy of positioning of the electronic device.
Example seven
Referring to fig. 7, fig. 7 is a schematic structural diagram of another electronic device according to an embodiment of the invention. As shown in fig. 7, the wearable device may include:
a memory 701 storing executable program code;
a processor 702 coupled with the memory 701;
the processor 702 invokes executable program codes stored in the memory 701 to execute the control method of any one of the intelligent devices in fig. 1 to 3.
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 building positioning methods shown in fig. 1-3.
The embodiments of the present invention also disclose a computer program product, wherein the computer program product, when run on a computer, causes the computer to perform some or all of the steps of the method as in the method embodiments above.
Those of ordinary skill in the art will appreciate that all or part of the steps of the various methods of the above embodiments may be implemented by a program that instructs associated hardware, the program may be stored in a computer readable storage medium including Read-Only Memory (ROM), random access Memory (Random Access Memory, RAM), programmable Read-Only Memory (Programmable Read-Only Memory, PROM), erasable programmable Read-Only Memory (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 (Compact Disc Read-Only Memory, CD-ROM) or other optical disk Memory, magnetic disk Memory, tape Memory, or any other medium that can be used for carrying or storing data that is readable by a computer.
The above describes a building positioning method and electronic equipment disclosed in the embodiments of the present invention in detail, and specific examples are applied to illustrate the principles and embodiments of the present invention, where the above description of the embodiments is only for helping to understand the method and core ideas of the present invention; meanwhile, as those skilled in the art will have variations in the specific embodiments and application scope in accordance with the ideas of the present invention, the present description should not be construed as limiting the present invention in view of the above.

Claims (10)

1. A method for locating a building, the method comprising:
detecting whether the electronic equipment can acquire GPS signals currently; if not, judging that the electronic equipment is currently in the indoor environment;
determining the identification information of the building where the indoor environment is located according to the GPS positioning information acquired by the electronic equipment last time; wherein, the identification information at least comprises geographic position information of the building;
detecting whether the electronic equipment leaves the building within a specified time; if not, sending the geographic position information of the building where the electronic equipment is currently located to user equipment associated with the electronic equipment;
Detecting whether friends in a friend list in the electronic equipment exist in the building; if yes, sending prompt information to the electronic equipment and acquiring a navigation line reaching the position of the friend, wherein the prompt information is used for prompting that the friend is in the same building.
2. The building positioning method according to claim 1, wherein after transmitting the geographic location information of the building to a user device associated with the electronic device, the method further comprises:
acquiring detailed information of the building; wherein the detailed information at least comprises business activity content of the building;
detecting whether the building belongs to an area set by the user equipment and prohibiting the electronic equipment from stepping in according to the business activity content; if yes, the electronic equipment is controlled to output first prompt information so as to prompt the user of the electronic equipment to step into the area which is set by the user equipment and is forbidden to step into the electronic equipment.
3. The building positioning method according to claim 2, wherein after controlling the electronic device to output the first prompt message, the method further comprises:
Controlling a rear camera of the electronic equipment to shoot so as to obtain a front environment image of the electronic equipment;
judging whether the environment where the user of the electronic equipment is located is dangerous or not according to the front environment image; if yes, controlling the electronic equipment to output second prompt information so as to prompt that the danger exists in the environment where the user of the electronic equipment is located.
4. A building positioning method according to claim 3, wherein after controlling the electronic device to output the second prompt message, the method further comprises:
detecting whether the user leaves the building within a specified duration; if not, sending environment early warning information to the user equipment so that a user of the user equipment can learn that the user is in an area where the stepping of the electronic equipment is forbidden according to the environment early warning information, and the environment where the user is currently located is dangerous;
sending first inquiry information to the user equipment to inquire whether the user needs to establish emergency communication connection with the electronic equipment; if yes, establishing communication connection between the user equipment and the electronic equipment.
5. The method of building positioning according to any one of claims 1-4, further comprising:
Detecting whether the physical state of the user is abnormal; if yes, sending alarm information to the user equipment, wherein the alarm information at least comprises physical state condition information of the user;
sending second inquiry information about whether alarm asking for help is needed or not to the user equipment; if yes, sending a preset alarm signal to an alarm platform;
and controlling the electronic equipment to output third prompt information so as to prompt the user how to effectively save oneself.
6. An electronic device, the electronic device comprising:
the first detection unit is used for detecting whether the electronic equipment can acquire GPS signals currently;
the determining unit is used for judging that the electronic equipment is currently in an indoor environment when the first detecting unit detects that the electronic equipment cannot acquire GPS signals currently;
the first acquisition unit is used for determining the identification information of the building where the indoor environment is located according to the GPS positioning information acquired by the electronic equipment last time; wherein, the identification information at least comprises geographic position information of the building;
the second detection unit is used for detecting whether the electronic equipment leaves the building in a specified time;
A first sending unit, configured to send, when the second detecting unit detects that the electronic device does not leave the building within a specified time, geographic location information of a building where the electronic device is currently located to a user device associated with the electronic device;
the second detection unit is further configured to detect whether a friend in a friend list in the electronic device exists in the building;
the first sending unit is further configured to send prompt information to the electronic device and obtain a navigation line reaching a location where the friend is located when the second detecting unit detects that the friend in the friend list in the electronic device exists in the building, where the prompt information is used for prompting that the friend is located in the same building.
7. The electronic device of claim 6, wherein the electronic device further comprises:
a second obtaining unit, configured to obtain detailed information of the building after the first sending unit sends geographical location information of the building to a user device associated with the electronic device; wherein the detailed information at least comprises business activity content of the building;
A third detecting unit, configured to detect, according to the content of the business activity, whether the building belongs to an area set by the user equipment and in which the electronic equipment is prohibited from stepping;
and the first control unit is used for controlling the electronic equipment to output first prompt information when the third detection unit detects that the building belongs to the area which is set by the user equipment and is prohibited from stepping on by the electronic equipment so as to prompt the user of the electronic equipment to step on the area which is set by the user equipment and is prohibited from stepping on by the electronic equipment currently.
8. The electronic device of claim 7, wherein the electronic device further comprises:
the second control unit is used for controlling the rear camera of the electronic equipment to shoot after the first control unit controls the electronic equipment to output the first prompt information so as to obtain the positioning information of the electronic equipment;
the judging unit is used for judging whether the environment where the user of the electronic equipment is located is dangerous or not according to the positioning information;
the first control unit is further configured to control the electronic device to output second prompt information to prompt that a danger exists in an environment where the user of the electronic device is located when the judging unit judges that the danger exists in the environment where the user of the electronic device is located.
9. The electronic device of claim 8, wherein the electronic device further comprises:
the fourth detection unit is used for detecting whether the user leaves the building within a specified duration after the first control unit controls the electronic equipment to output the second prompt information;
the second sending unit is used for sending environment early warning information to the user equipment when the fourth detecting unit detects that the user does not leave the building within the specified duration, so that the user of the user equipment can learn that the user is in an area where the electronic equipment is forbidden to step in according to the environment early warning information, and the environment where the user is currently located is dangerous;
the second sending unit is further configured to send first query information to the user equipment to query whether the user needs to establish an emergency communication connection with the electronic equipment; if yes, establishing communication connection between the user equipment and the electronic equipment.
10. The electronic device according to any one of claims 6 to 9, characterized in that:
the fourth detection unit is further used for detecting whether the physical state of the user is abnormal;
The electronic device further includes:
a third sending unit, configured to send alarm information to the user equipment when the fourth detecting unit detects that the physical state of the user is abnormal, where the alarm information at least includes physical state condition information of the user;
the third sending unit is further configured to send second query information about whether an alarm is required to ask for help to the user equipment; if yes, sending a preset alarm signal to an alarm platform;
and the third control unit is used for controlling the electronic equipment to output third prompt information so as to prompt the user how to effectively save oneself.
CN201910672022.5A 2019-07-24 2019-07-24 Building positioning method and electronic equipment Active CN111750848B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910672022.5A CN111750848B (en) 2019-07-24 2019-07-24 Building positioning method and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910672022.5A CN111750848B (en) 2019-07-24 2019-07-24 Building positioning method and electronic equipment

Publications (2)

Publication Number Publication Date
CN111750848A CN111750848A (en) 2020-10-09
CN111750848B true CN111750848B (en) 2024-03-19

Family

ID=72672741

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910672022.5A Active CN111750848B (en) 2019-07-24 2019-07-24 Building positioning method and electronic equipment

Country Status (1)

Country Link
CN (1) CN111750848B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113382366B (en) * 2021-06-15 2022-08-23 读书郎教育科技有限公司 Intelligent watch and method for monitoring juveniles to enter and exit forbidden places

Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102221702A (en) * 2011-04-01 2011-10-19 上海千年工程建设咨询有限公司 Tracking and monitoring device
WO2016131387A1 (en) * 2015-02-16 2016-08-25 阿里巴巴集团控股有限公司 Method and device for electronic device security protection
JP2016164518A (en) * 2015-03-06 2016-09-08 日本電信電話株式会社 Indoor positional information positioning system and indoor positional information positioning method
CN106027108A (en) * 2016-08-16 2016-10-12 广东欧珀移动通信有限公司 Indoor localization method and device, wearable device and mobile terminal
CN107390245A (en) * 2017-07-13 2017-11-24 广东小天才科技有限公司 A kind of localization method, device, equipment and storage medium
CN108055642A (en) * 2017-12-13 2018-05-18 广东欧珀移动通信有限公司 Control method, device, storage medium and the mobile terminal of locating module
CN108173563A (en) * 2017-12-27 2018-06-15 广东小天才科技有限公司 A kind of method for early warning and wearable device based on wearable device positioning
CN108267767A (en) * 2018-01-31 2018-07-10 上海康斐信息技术有限公司 A kind of alignment system, localization method and intelligent terminal
CN108834068A (en) * 2018-07-17 2018-11-16 广东小天才科技有限公司 A kind of localization method and wearable device based on wearable device
CN109191782A (en) * 2018-10-31 2019-01-11 广东小天才科技有限公司 Children's safety early warning system and method

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP3054310A1 (en) * 2015-02-03 2016-08-10 Vodafone IP Licensing limited Method for location estimation of a mobile device
KR20170130234A (en) * 2016-05-18 2017-11-28 삼성전자주식회사 Electronic Apparatus providing indoor navigation and method thereof

Patent Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102221702A (en) * 2011-04-01 2011-10-19 上海千年工程建设咨询有限公司 Tracking and monitoring device
WO2016131387A1 (en) * 2015-02-16 2016-08-25 阿里巴巴集团控股有限公司 Method and device for electronic device security protection
JP2016164518A (en) * 2015-03-06 2016-09-08 日本電信電話株式会社 Indoor positional information positioning system and indoor positional information positioning method
CN106027108A (en) * 2016-08-16 2016-10-12 广东欧珀移动通信有限公司 Indoor localization method and device, wearable device and mobile terminal
CN107390245A (en) * 2017-07-13 2017-11-24 广东小天才科技有限公司 A kind of localization method, device, equipment and storage medium
CN108055642A (en) * 2017-12-13 2018-05-18 广东欧珀移动通信有限公司 Control method, device, storage medium and the mobile terminal of locating module
CN108173563A (en) * 2017-12-27 2018-06-15 广东小天才科技有限公司 A kind of method for early warning and wearable device based on wearable device positioning
CN108267767A (en) * 2018-01-31 2018-07-10 上海康斐信息技术有限公司 A kind of alignment system, localization method and intelligent terminal
CN108834068A (en) * 2018-07-17 2018-11-16 广东小天才科技有限公司 A kind of localization method and wearable device based on wearable device
CN109191782A (en) * 2018-10-31 2019-01-11 广东小天才科技有限公司 Children's safety early warning system and method

Also Published As

Publication number Publication date
CN111750848A (en) 2020-10-09

Similar Documents

Publication Publication Date Title
US11348434B1 (en) Safety monitoring platform
US20180342140A1 (en) Security Prejudgment based on Characteristic Information
US10408629B2 (en) Navigation system, client terminal device, control method, and storage medium
JPWO2018008224A1 (en) Robot, robot system and storage medium
KR101891396B1 (en) Method and system for notifying risk based GPS
CN103325210A (en) Modularized mobile health and security system
US20210337370A1 (en) Monitoring method and system based on terminal detection
Maryam et al. A survey on smartphones systems for emergency management (SPSEM)
CN108597176A (en) A kind of safe early warning method and wearable device based on wearable device
KR20150075981A (en) Bmart wear system using wearable device
CN109587637B (en) Information prompting method and device, electronic equipment and storage medium
CN109816180A (en) A kind of active safe early warning prevention and control system and terminal device
CN111750848B (en) Building positioning method and electronic equipment
CN103070690B (en) The control method of intelligent terminal's monitor system
KR20190049187A (en) Method and apparatus for sharing dangerous status of user by using timer
JP2008311844A (en) Information communication system and method
CN111757262A (en) Positioning reminding method and system based on electronic fence and wearable device
CN111751849A (en) Indoor positioning method based on wearable device and wearable device
KR20120037633A (en) Climbing support system and method
CN111638753A (en) Earthquake help-seeking method, wearable device, electronic device and storage medium
CN111757263A (en) Positioning data sharing method and system and mobile terminal
CN111523428B (en) Self-rescue prompting method in disasters, electronic equipment and storage medium
KR102553745B1 (en) System for providing emergency alarming service using voice message
CN114283555A (en) Fire emergency accurate evacuation system and method
US11087613B2 (en) System and method of communicating an emergency event

Legal Events

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