CN110139023B - Positioning method for wearable device and wearable device - Google Patents
Positioning method for wearable device and wearable device Download PDFInfo
- Publication number
- CN110139023B CN110139023B CN201811151803.1A CN201811151803A CN110139023B CN 110139023 B CN110139023 B CN 110139023B CN 201811151803 A CN201811151803 A CN 201811151803A CN 110139023 B CN110139023 B CN 110139023B
- Authority
- CN
- China
- Prior art keywords
- wearable device
- environment
- image
- indoor
- shooting
- 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
Links
- 238000000034 method Methods 0.000 title claims abstract description 64
- 238000010586 diagram Methods 0.000 claims description 62
- 238000004590 computer program Methods 0.000 claims description 7
- 238000000605 extraction Methods 0.000 claims description 6
- 238000010191 image analysis Methods 0.000 description 11
- 230000006870 function Effects 0.000 description 8
- 238000004364 calculation method Methods 0.000 description 6
- 238000004891 communication Methods 0.000 description 6
- 238000001514 detection method Methods 0.000 description 5
- 238000005516 engineering process Methods 0.000 description 4
- 239000000284 extract Substances 0.000 description 2
- 210000000707 wrist Anatomy 0.000 description 2
- 230000001133 acceleration Effects 0.000 description 1
- 230000009286 beneficial effect Effects 0.000 description 1
- 238000010276 construction Methods 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 230000005611 electricity Effects 0.000 description 1
- 230000001815 facial effect Effects 0.000 description 1
- 230000005484 gravity Effects 0.000 description 1
- 230000020169 heat generation Effects 0.000 description 1
- 239000011810 insulating material Substances 0.000 description 1
- 239000000463 material Substances 0.000 description 1
- 230000001960 triggered effect Effects 0.000 description 1
- XLYOFNOQVPJJNP-UHFFFAOYSA-N water Substances O XLYOFNOQVPJJNP-UHFFFAOYSA-N 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06V—IMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
- G06V20/00—Scenes; Scene-specific elements
- G06V20/20—Scenes; Scene-specific elements in augmented reality scenes
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N23/00—Cameras or camera modules comprising electronic image sensors; Control thereof
- H04N23/60—Control of cameras or camera modules
- H04N23/66—Remote control of cameras or camera parts, e.g. by remote control devices
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N7/00—Television systems
- H04N7/18—Closed-circuit television [CCTV] systems, i.e. systems in which the video signal is not broadcast
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W4/00—Services specially adapted for wireless communication networks; Facilities therefor
- H04W4/02—Services making use of location information
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W4/00—Services specially adapted for wireless communication networks; Facilities therefor
- H04W4/30—Services specially adapted for particular environments, situations or purposes
- H04W4/33—Services specially adapted for particular environments, situations or purposes for indoor environments, e.g. buildings
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W64/00—Locating users or terminals or network equipment for network management purposes, e.g. mobility management
Landscapes
- Engineering & Computer Science (AREA)
- Signal Processing (AREA)
- Multimedia (AREA)
- Computer Networks & Wireless Communication (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Theoretical Computer Science (AREA)
- Studio Devices (AREA)
- Position Fixing By Use Of Radio Waves (AREA)
Abstract
A positioning method for wearable equipment and the wearable equipment are provided, the wearable equipment comprises an intelligent host, a shooting module is respectively arranged on the opposite top side and the opposite bottom side of the intelligent host, the intelligent host can rotate to adjust the shooting directions of the two shooting modules simultaneously, the two shooting modules are controlled to execute shooting operation respectively to obtain a first image and a second image, the first image is an image of one side of the current environment where the wearable equipment is located and shot by one shooting module, and the second image is an image of the other side of the current environment where the wearable equipment is located and shot by the other shooting module; determining a current environment category where the wearable device is located according to the first image and the second image; when the current environment category is an indoor environment, controlling the wearable equipment to be positioned by using WIFI; and when the current environment category is an outdoor environment, controlling the wearable device to utilize GPS for positioning. By implementing the embodiment of the invention, the positioning accuracy can be improved.
Description
Technical Field
The invention relates to the technical field of wearable equipment, in particular to a positioning method for the wearable equipment and the wearable equipment.
Background
At present, in order to meet the positioning requirements for wearable equipment, the positioning modes applied to the wearable equipment are also diversified. For example, in an outdoor scene, Positioning is usually achieved by using a Global Positioning System (GPS), and in an indoor scene, Positioning is usually achieved by using WIFI. However, in practice, it is found that the required distinguishing accuracy cannot be achieved in the distinguishing manner between the indoor scene and the outdoor scene, for example, the situation that the indoor scene uses GPS positioning often occurs, and thus the positioning accuracy is not high.
Disclosure of Invention
The embodiment of the invention discloses a positioning method for wearable equipment and the wearable equipment, which can improve positioning accuracy.
The first aspect of the embodiment of the invention discloses a positioning method for wearable equipment, the wearable equipment comprises an intelligent host, the opposite top side and bottom side of the intelligent host are respectively provided with a shooting module, the intelligent host can rotate to realize the simultaneous adjustment of the shooting directions of the two shooting modules, and the method comprises the following steps:
controlling the two shooting modules to respectively execute shooting operations to obtain a first image and a second image, wherein the first image is an image of one side of the current environment where the wearable equipment is located and shot by one shooting module, and the second image is an image of the other side of the current environment where the wearable equipment is located and shot by the other shooting module;
determining a current environment category in which the wearable device is located according to the first image and the second image, wherein the current environment category is an indoor environment or an outdoor environment;
when the current environment category is the indoor environment, controlling the wearable device to utilize WIFI for positioning;
when the current environment category is the outdoor environment, controlling the wearable device to utilize a Global Positioning System (GPS) for positioning.
As an optional implementation manner, in the first aspect of the embodiment of the present invention, the determining, according to the first image and the second image, a current environment category in which the wearable device is located includes:
extracting object features included in the first image and the second image, and judging whether the matching degree of the object features and preset indoor object features is greater than a preset matching degree;
when the matching degree of the object characteristics and the preset indoor object characteristics is judged to be greater than the preset matching degree, determining that the current environment type where the wearable equipment is located is an indoor environment;
and when the matching degree of the object characteristics and the preset indoor object characteristics is judged to be less than or equal to the preset matching degree, determining that the current environment category where the wearable equipment is located is an outdoor environment.
As an optional implementation manner, in the first aspect of the embodiment of the present invention, before the determining whether the matching degree of the object feature and the preset indoor object feature is greater than a preset matching degree, the method further includes:
acquiring historical indoor environment information of the wearable device; the historical indoor environment information comprises a plurality of indoor environments and the time length of the user corresponding to each indoor environment;
and determining a target indoor environment from the historical indoor environment information according to the sequence of the duration of the user from high to low, and setting the indoor object characteristics included in the target indoor environment as preset indoor object characteristics.
As an optional implementation manner, in the first aspect of this embodiment of the present invention, before the controlling the wearable device to utilize GPS positioning, the method further includes:
when the environment where the wearable device is located is the outdoor environment, predicting the environment where the wearable device is located at the next moment according to the pose information of the wearable device;
when the environment of the wearable device at the next moment is predicted to be the outdoor environment, executing the control to utilize GPS positioning for the wearable device;
and when the environment where the wearable device is located at the next moment is predicted to be the indoor environment, executing the control to position the wearable device by utilizing WIFI.
As an optional implementation manner, in the first aspect of the embodiment of the present invention, before the controlling the wearable device to utilize WIFI positioning, the method further includes:
when the environment where the wearable device is located is the indoor environment, predicting the environment where the wearable device is located at the next moment according to the pose information of the wearable device;
when the environment of the wearable device at the next moment is predicted to be the indoor environment, executing the control to position the wearable device by utilizing WIFI;
and when the environment of the wearable device at the next moment is predicted to be the outdoor environment, executing the control to utilize GPS positioning for the wearable device.
A second aspect of an embodiment of the present invention discloses a wearable device, where the wearable device includes an intelligent host, where a top side and a bottom side of the intelligent host opposite to each other are respectively provided with a shooting module, the intelligent host can rotate to adjust shooting directions of the two shooting modules at the same time, and the intelligent host includes:
the shooting unit is used for controlling the two shooting modules to respectively execute shooting operations to obtain a first image and a second image, wherein the first image is an image of one side of the current environment where the wearable equipment is located and shot by one shooting module, and the second image is an image of the other side of the current environment where the wearable equipment is located and shot by the other shooting module;
a determining unit, configured to determine, according to the first image and the second image, a current environment category in which the wearable device is located, where the current environment category is an indoor environment or an outdoor environment;
the first control unit is used for controlling the wearable device to utilize WIFI for positioning when the current environment category is the indoor environment;
and the second control unit is used for controlling the wearable equipment to utilize a Global Positioning System (GPS) to position when the current environment type is the outdoor environment.
As an optional implementation manner, in the second aspect of the embodiment of the present invention, the determining unit includes:
an extraction subunit, configured to extract object features included in the first image and the second image;
the judging subunit is used for judging whether the matching degree of the object characteristics and preset indoor object characteristics is greater than a preset matching degree;
the determining subunit is configured to determine that the current environment category in which the wearable device is located is an indoor environment when the determining subunit determines that the matching degree between the object feature and the preset indoor object feature is greater than the preset matching degree; when the judging subunit judges that the matching degree of the object features and the preset indoor object features is smaller than or equal to the preset matching degree, it is determined that the current environment category where the wearable device is located is an outdoor environment.
As an optional implementation manner, in the second aspect of the embodiment of the present invention, the smart host further includes:
the acquisition unit is used for acquiring historical indoor environment information of the wearable device before the judgment subunit judges whether the matching degree of the object characteristics and preset indoor object characteristics is greater than the preset matching degree; the historical indoor environment information comprises a plurality of indoor environments and the time length of the user corresponding to each indoor environment;
and the setting unit is used for determining a target indoor environment from the historical indoor environment information according to the sequence of the duration of the user from high to low, and setting the indoor object characteristics included in the target indoor environment as preset indoor object characteristics.
As an optional implementation manner, in the second aspect of the embodiment of the present invention, the smart host further includes:
a first prediction unit, configured to, before the second control unit controls the wearable device to perform GPS positioning, predict an environment in which the wearable device is located at a next time according to pose information of the wearable device when the environment in which the wearable device is located is the outdoor environment; when the environment of the wearable device at the next moment is predicted to be the outdoor environment, triggering the second control unit to execute the control of the wearable device to utilize GPS positioning; and when the environment where the wearable device is located at the next moment is predicted to be the indoor environment, triggering the first control unit to execute the control of the wearable device to utilize WIFI for positioning.
As an optional implementation manner, in the second aspect of the embodiment of the present invention, the smart host further includes:
a second prediction unit, configured to, before the first control unit controls the wearable device to perform positioning using WIFI, predict an environment in which the wearable device is located at a next time according to pose information of the wearable device when the environment in which the wearable device is located is the indoor environment; when the environment where the wearable device is located at the next moment is predicted to be the indoor environment, triggering the first control unit to execute the control of the wearable device to utilize WIFI for positioning; and when the environment where the wearable device is located at the next moment is predicted to be the outdoor environment, triggering the second control unit to execute the control of the wearable device to utilize GPS positioning.
A third aspect of an embodiment of the present invention discloses a wearable device, 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 the positioning method for the wearable device disclosed by 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, where the computer program enables a computer to execute the positioning method for a wearable device disclosed in the first aspect of the embodiments of the present invention.
A fifth aspect of embodiments of the present invention discloses a computer program product, which, when run on a computer, causes the computer to perform some or all of the steps of any one of the methods of the first aspect.
A sixth aspect of the present embodiment discloses an application publishing platform, where the application publishing platform is configured to publish a computer program product, where the computer program product is configured to, when running on a computer, cause the computer to perform part or all of the steps of any one of the methods in the first aspect.
Compared with the prior art, the embodiment of the invention has the following beneficial effects:
in the embodiment of the invention, the wearable device comprises an intelligent host, wherein the top side and the bottom side opposite to the intelligent host are respectively provided with a shooting module, the intelligent host can rotate to realize the simultaneous adjustment of the shooting directions of the two shooting modules, the two shooting modules are controlled to respectively execute shooting operation to obtain a first image and a second image, the first image is an image of one side of the current environment where the wearable device is located and shot by one shooting module, and the second image is an image of the other side of the current environment where the wearable device is located and shot by the other shooting module; determining a current environment category where the wearable device is located according to the first image and the second image; when the current environment category is an indoor environment, controlling the wearable equipment to be positioned by using WIFI; and when the current environment category is an outdoor environment, controlling the wearable device to utilize GPS for positioning. This process can utilize the double-shooting module structure of wearable equipment to shoot the image of the current environment both sides that wearable equipment is located, carries out accurate image analysis according to this image, obtains the current environment classification to distinguish indoor scene and outdoor scene accurately, use different location strategies in different scenes, and then improve the location precision.
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 wearable device disclosed in an embodiment of the present invention;
fig. 2 is a schematic structural diagram of the wearable device shown in fig. 1 including the smart host rotated 90 ° with respect to the bottom bracket;
FIG. 3 is a schematic view of another perspective of FIG. 2;
fig. 4 is a schematic flowchart of a positioning method for a wearable device according to an embodiment of the present invention;
fig. 5 is a schematic flow chart of another positioning method for a wearable device according to the embodiment of the present invention;
FIG. 6 is a flow chart illustrating a positioning method for a wearable device according to an embodiment of the disclosure;
fig. 7 is a schematic structural diagram of a wearable device disclosed in the embodiment of the invention;
FIG. 8 is a schematic structural diagram of another wearable device disclosed in the embodiments of the present invention;
FIG. 9 is a schematic structural diagram of another wearable device disclosed in the embodiments of the present invention;
fig. 10 is a schematic structural diagram of another wearable device disclosed in the 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.
In the present invention, the terms "upper", "lower", "left", "right", "front", "rear", "top", "bottom", "inner", "outer", "center", "vertical", "horizontal", "lateral", "longitudinal", and the like indicate an orientation or positional relationship based on the orientation or positional relationship shown in the drawings. These terms are used primarily to better describe the invention and its embodiments and are not intended to limit the indicated devices, elements or components to a particular orientation or to be constructed and operated in a particular orientation.
Moreover, some of the above terms may be used to indicate other meanings besides the orientation or positional relationship, for example, the term "on" may also be used to indicate some kind of attachment or connection relationship in some cases. The specific meanings of these terms in the present invention can be understood by those skilled in the art as appropriate.
Furthermore, the terms "mounted," "disposed," "provided," "connected," and "connected" are to be construed broadly. For example, it may be a fixed connection, a removable connection, or a unitary construction; can be a mechanical connection, or an electrical connection; may be directly connected, or indirectly connected through intervening media, or may be in internal communication between two devices, elements or components. The specific meanings of the above terms in the present invention can be understood by those of ordinary skill in the art according to specific situations.
Furthermore, the terms "first," "second," and the like, are used primarily to distinguish one device, element, or component from another (the specific nature and configuration may be the same or different), and are not used to indicate or imply the relative importance or number of the indicated devices, elements, or components. "plurality" means two or more unless otherwise specified.
The technical solutions of the embodiments of the present invention will be further described with reference to the following embodiments and the accompanying drawings.
In order to better understand the positioning method for the wearable device disclosed in the embodiment of the present invention, a wearable device disclosed in the embodiment of the present invention is described first. Referring to fig. 1 to fig. 3, a wearable device disclosed in an embodiment of the present invention may include: bottom support 10, intelligent host computer 20 and side area 30, bottom support 10 is connected between the both sides area tip of side area 30. The top side 20a of the smart host 20 is opposite to the bottom side 20b of the smart host 20, and the top side 20a of the smart host 20 is provided with one photographing module 22, and the bottom side 20b of the smart host 20 is provided with another photographing module 23. The one end of intelligent host 20 is passed through first pivot 21 and is connected with the first end rotation of bottom sprag 10, and intelligent host 20 can rotate different angles relatively bottom sprag 10 to make one shoot module 22, another shooting module 23 can obtain different shooting directions. One end of the side belt 30 is coupled to the first end of the bottom bracket 10 via the first rotating shaft 21, and the other end of the side belt 30 is connected to the second end of the bottom bracket 10.
In the wearable device disclosed in the embodiment of the present invention, with the above-described structure, the smart host 20 included in the wearable device can rotate between the two side belt ends of the side belt 30 included in the wearable device to adjust the shooting directions of the two shooting modules (i.e., the one shooting module 22 and the other shooting module 23) at the same time. Wherein, can realize the rotation of the relative bottom sprag 10 of intelligent host 20 through first pivot 21 to make one of locating intelligent host 20 shoot module 22, another shoot module 23 and also can obtain different shooting directions along with intelligent host 20's rotation, this has not only solved current wearable equipment (only has one to shoot the module usually) and need the user to twist the problem of the adjustment shooting direction that the arm could realize, still can satisfy the shooting demand of user's different shooting directions simultaneously.
In the embodiment of the present invention, when the smart host 20 rotates relative to the bottom chassis 10, because one end of the side band 30 is coupled to the first end of the bottom chassis 10 through the first rotating shaft 21, the coaxial rotation design of the first rotating shaft 21 is shared among the one end of the side band 30, the first end of the bottom chassis 10, and one end of the smart host 20, so as to reduce the component design of the wearable device, simplify the component assembly process of the wearable device, and further make the structure of the wearable device more compact.
In the embodiment of the present invention, a top side display screen (not labeled in the figure) may be disposed on the top side 20a of the smart host 20; optionally, a bottom-side display screen (not labeled) may also be disposed on the bottom side 20b of the smart host 20. In a general case, the smart host 20 may be stacked on the bottom bracket 10, that is, the bottom side 20b of the smart host 20 is attached to the upper surface of the bottom bracket 10; when the smart host 20 rotates around the first rotation axis 21, the top side 20a and the bottom side 20b of the smart host 20 form an angle with the upper surface of the bottom bracket 10.
In the embodiment of the present invention, the smart host 20 is used as a host of a wearable device with adjustable shooting direction, and includes not only an internal motherboard, a touch screen/display screen for implementing touch and display functions, a battery for supplying power to the motherboard, the touch screen/display screen, one shooting module 22 and another shooting module 23 for implementing the shooting function of the smart host 20, a communication device (e.g., a wireless communication device, a bluetooth communication device, an infrared communication device, etc.) for implementing the communication function of the smart host 20, a sensor (e.g., a gravity sensor, an acceleration sensor, a distance sensor, an air pressure sensor, an ultraviolet detector, a water playing detection and identification module) for implementing the detection function of the smart host 20, a positioning module for implementing the positioning of a user, a heart rate detector for implementing the detection of the heart rate of the user, a camera module for capturing the image of the user, and a camera module for capturing the image of the image, A timer to implement timing functions of the smart host 20, elements to identify the identity of the user, such as a fingerprint module, a facial recognition module, and a microphone, a speaker, etc. to implement audio input and/or output. It should be known that, inside each above-mentioned device, functional module all located intelligent host 20, and be connected with the mainboard electricity, realize the control to these devices, functional module through the mainboard, and then control it and realize corresponding function.
Therefore, in the embodiment of the present invention, the smart host 20 is different from a traditional watch dial that only can implement functions of time display, timing, and the like.
Further, rotatable connection can be realized through first pivot 21 for intelligent host 20 and bottom sprag 10, consequently, can adjust the shooting direction of a shooting module 22 and another shooting module 23 through the turned angle of adjusting intelligent host 20 and bottom sprag 10, and wherein, the turned angle of intelligent host 20 and bottom sprag 10 can be between 0 ~ 90. For example, when the smart host 20 is stacked on the bottom chassis 10, the angle between the smart host 20 and the bottom chassis 10 is 0 °, and when the smart host 20 is rotated, the angle between the smart host 20 and the bottom chassis 10 may preferably be 90 °. As shown in fig. 1, when the angle between the smart host 20 and the bottom bracket 10 is 0 °, the included angle between one shooting module 22 and the other shooting module 23 on the smart host 20 relative to the bottom bracket 10 is also 0 °, and at this time, the shooting direction of one shooting module 22 is upward, and the shooting direction of the second shooting module 23 is downward and blocked by the bottom bracket 10; as shown in fig. 2, when the smart host 20 rotates relative to the bottom bracket 10 to form a 90 ° included angle, an included angle between one shooting module 22 and another shooting module 23 of the smart host 20 relative to the bottom bracket 10 is a 90 ° included angle, a shooting direction of the one shooting module 22 faces left, and a shooting direction of the second shooting module 23 faces right, so that adjustment of shooting directions of the one shooting module 22 and the other shooting module 23 can be realized. Particularly, when being provided with the top side display screen on the top side 20a of the smart host 20 and also being provided with the bottom side display screen on the bottom side 20b, if the contained angle that a shooting module 22 and another shooting module 23 of the smart host 20 are relative to the bottom support 10 is a 90 included angle, then the contained angle that the top side display screen that sets up on the top side 20a and the bottom side display screen that sets up on the bottom side 20b are relative to the bottom support 10 is also a 90 included angle, thereby can conveniently be located the left user of the wearer and watch the top side display screen, and conveniently be located the user on the right side of the wearer and watch the bottom side display screen. In the embodiment of the present invention, the rotation angle between the intelligent host 20 and the bottom bracket 10 can be adjusted between 0 ° and 90 °, and preferably, the rotation angle can be 0 °, 30 °, 45 °, 60 °, 75 °, or 90 °.
In the embodiment of the present invention, since the smart host 20 is rotatably connected to the bottom bracket 10 through the first rotating shaft 21, the smart host 20 may include a rotating end 20c and a free end 20d, which are oppositely disposed, the rotating end 20c is an end of the smart host 20 connected to the first end of the bottom bracket 10 through the first rotating shaft 21, and the free end 20d is an end that can rotate with the rotating end 20c relative to the bottom bracket 10 and form an angle with respect to the bottom bracket 10. Specifically, in order to avoid affecting the shooting angles of the one shooting module 22 and the other shooting module 23, the one shooting module 22 may be preferably provided on an end top side (belonging to a part of the top side 20 a) of the free end 20d, and the other shooting module 23 may be preferably provided on an end bottom side (belonging to a part of the bottom side 20 b) of the free end 20 d.
In an embodiment of the present invention, the bottom bracket 10 may have a plate-shaped structure. When the bottom bracket 10 is a plate-shaped structure, the material of the bottom bracket 10 may preferably be a heat insulating material, such as plastic. When the user wears the wearable device, the situation that the heat generation amount of the smart host 20 is large and the wrist skin of the user is possibly scalded can be avoided. Therefore, the bottom bracket 10 not only can realize the function of bearing the rotation of the smart host 20, but also can realize the effect of insulating the smart host 20 from the wrist skin of the user.
Further, when the bottom bracket 10 is a plate-shaped structure, one or more through holes 10a may be disposed on the bottom bracket 10, so that the smart host 20 may implement various physiological feature detections including detection of the heart rate of the user through the through holes 10 a. The shape of the through hole 10 may be circular, square, or oval, and the embodiment of the present invention is not limited.
It is understood that the bottom bracket 10 may be a closed ring structure in other embodiments, and the embodiments of the present invention are not limited thereto.
When the user needs to adjust the angle of the intelligent host 20 relative to the bottom bracket 10, the rotation angle of the intelligent host 20 relative to the bottom bracket 10 can be manually adjusted, when the intelligent host 20 rotates to the target angle of the user, at the moment, the user stops adjusting the intelligent host 20, the intelligent host 20 can be kept unchanged at the current angle, at the moment, one shooting module 22 and/or another shooting module 23 can be in a shooting state, and the user can select one shooting module 22 and/or another shooting module 23 to execute corresponding shooting operation according to the actual shooting requirement.
When the user wants to stack the smart host 20 on the bottom bracket 10, the user can manually adjust the smart host 20 again, so that the smart host 20 can be adjusted again to rotate relative to the bottom bracket 10 until the smart host 20 is stacked on the bottom bracket 10, and the user stops adjusting the smart host 20.
According to the wearable device disclosed by the embodiment of the invention, one shooting module 22 and the other shooting module 23 can obtain different shooting directions along with the rotation of the intelligent host, so that the requirements of users on different shooting directions are met, arm fatigue caused by turning the arm wearing the wearable device to adjust the shooting direction can be avoided, and the shooting experience is improved.
Referring to fig. 4, fig. 4 is a schematic flowchart illustrating a positioning method for a wearable device according to an embodiment of the present invention. The positioning method for the wearable device described in fig. 4 can be applied to the wearable device described in the previous embodiment. As described in the previous embodiments, the wearable device includes the smart host, and the opposite top side and the bottom side of the smart host are respectively provided with one shooting module, and the smart host can rotate to realize adjusting the shooting direction of two shooting modules simultaneously. As shown in fig. 4, the positioning method for a wearable device may include the steps of:
401. the intelligent host controls the two shooting modules to respectively execute shooting operation to obtain a first image and a second image.
In the embodiment of the invention, the first image is an image of one side of the current environment where the wearable device is located and shot by one shooting module, and the second image is an image of the other side of the current environment where the wearable device is located and shot by the other shooting module.
As an optional implementation manner, a rotating motor is disposed on a rotating shaft, where an intelligent host of the wearable device is connected to a support of the wearable device, and the intelligent host controls the two shooting modules to respectively execute shooting operations to obtain a first image and a second image, which may include the following steps:
the intelligent host sends a rotation instruction to the rotating motor, so that the rotating motor controls the rotating shaft to rotate towards a preset direction at a preset speed according to the rotation instruction, and controls the two shooting modules to respectively execute shooting operation in the rotating process of the rotating shaft to obtain a first image and a second image; the first image comprises a plurality of images shot by a certain shooting module in the rotating process of the rotating shaft, and the second image comprises a plurality of images shot by another shooting module in the rotating process of the rotating shaft.
Through implementing this kind of optional implementation, wearable equipment can control the automatic rotation of pivot in order to drive the intelligent host computer and rotate to utilize two to shoot the image of module shooting under each angle, obtain more comprehensive images, so that follow-up according to the environment that wearable equipment is located of these images determination, improve the degree of accuracy of confirming the environment that wearable equipment is located.
402. The intelligent host determines the current environment type of the wearable device according to the first image and the second image, wherein the current environment type is an indoor environment or an outdoor environment.
403. When the current environment category is indoor environment, the wearable equipment is controlled by the intelligent host to utilize WIFI for positioning.
404. When the current environment category is outdoor environment, the wearable device is controlled by the intelligent host to be positioned by a Global Positioning System (GPS).
Therefore, by implementing the positioning method for the wearable device described in fig. 4, images on two sides of the current environment where the wearable device is located can be shot by using the dual-shooting module structure of the wearable device, and accurate image analysis is performed according to the images to obtain the current environment category, so that an indoor scene and an outdoor scene are accurately distinguished, different positioning strategies are used in different scenes, and the positioning accuracy is further improved.
Referring to fig. 5, fig. 5 is a schematic flowchart illustrating another positioning method for a wearable device according to an embodiment of the present invention. The positioning method for the wearable device described in fig. 5 may be applied to the wearable device described in the previous embodiment. As described in the previous embodiments, the wearable device includes the smart host, and the opposite top side and the bottom side of the smart host are respectively provided with one shooting module, and the smart host can rotate to realize adjusting the shooting direction of two shooting modules simultaneously. As shown in fig. 5, the positioning method for a wearable device may include the steps of:
501. the intelligent host controls the two shooting modules to respectively execute shooting operation to obtain a first image and a second image.
In the embodiment of the invention, the first image is an image of one side of the current environment where the wearable device is located and shot by one shooting module, and the second image is an image of the other side of the current environment where the wearable device is located and shot by the other shooting module.
502. The intelligent host acquires historical indoor environment information of the wearable device; the historical indoor environment information comprises a plurality of indoor environments and the time length of the user corresponding to each indoor environment.
In the embodiment of the invention, the plurality of indoor environments included in the historical indoor environment information are indoor environments which the user of the wearable device has worn the wearable device. For example, when the user of the wearable device is a child, the plurality of indoor environments included in the historical indoor environment information may be a home of the child, a school of the child, and the like, and the time length of the user in each indoor environment may also be included in the historical indoor environment information. The duration of the user may be counted by using the wearable device, or the duration of the user of the wearable device in the indoor environment may be counted by using the wearable device, which is not limited in the embodiment of the present invention.
As an optional implementation, before the smart host acquires the historical indoor environment information of the wearable device, the smart host may further perform the following steps:
when the wearable equipment is in an indoor environment, the intelligent host detects whether the wearable equipment is in a wearing state, wherein the wearing state is the state of the wearable equipment when a user of the wearable equipment wears the wearable equipment;
when the wearable device is detected to be in a wearing state, the intelligent host starts timing from the current moment;
in the timing process of the intelligent host, if the wearable device is not in a wearing state, the intelligent host suspends timing;
when the wearable device moves from the indoor environment to the outdoor environment, the intelligent host stops timing and obtains the time length of the user corresponding to the indoor environment, wherein the time length of the user is the time length of the wearable device in a wearing state in the indoor environment.
By implementing the optional implementation mode, the time length of each indoor environment user in the historical indoor environment information acquired by the wearable device is the time length of the wearable device worn by the user in the environment, so that the error phenomenon that the time length of the indoor environment user is high when the wearable device is not worn by the user and is only placed in a certain place is counted by mistake, more accurate historical indoor environment information is further acquired, the current environment type of the wearable device is conveniently determined according to the historical indoor environment information in the follow-up process, and the matched positioning mode is realized.
503. And the intelligent host determines the target indoor environment from the historical indoor environment information according to the sequence of the duration of the user from high to low, and sets the indoor object characteristics included in the target indoor environment as the preset indoor object characteristics.
In the embodiment of the invention, the higher the time length of the user is, the indoor environment corresponding to the user is the indoor environment where the wearable device is frequently worn by the user, and the probability that the user reaches the indoor environment is higher, so that the indoor object characteristics included in the user are set as the preset indoor object characteristics, and the accuracy of distinguishing the current environment category where the wearable device is located is improved.
504. The intelligent host computer extracts the object features included in the first image and the second image, judges whether the matching degree of the object features and the preset indoor object features is larger than the preset matching degree, if so, executes step 505, and if not, executes step 506.
As an optional implementation manner, after determining that the matching degree of the object feature and the preset indoor object feature is less than or equal to the preset matching degree, the following steps may be further performed:
the intelligent host calculates the similarity between the spatial structure diagram included in the first image and the spatial structure diagram included in the second image; the spatial structure diagram comprises a plurality of diagrams for representing the spatial structure, for example, the spatial structure diagram may comprise a plurality of planes, any two plane intersection lines and any three plane intersection points;
when the similarity between the spatial structure diagram included in the first image and the spatial structure diagram included in the second image is higher than the preset similarity, executing step 505; when the similarity between the spatial structure diagram included in the first image and the spatial structure diagram included in the second image is less than or equal to the preset similarity, step 506 is executed.
By implementing the optional implementation manner, whether the similarity between the spatial structure diagrams included in the first image and the second image is higher than the preset similarity can be analyzed according to the first image and the second image acquired by the double-shooting module structure of the wearable device, wherein when the wearable device is in an indoor environment, the similarity between the spatial structure diagrams captured by the first image and the second image is higher than the preset similarity, and when the wearable device is in an outdoor environment, the similarity between the spatial structure diagrams captured by the first image and the second image is lower than or equal to the preset similarity, so that the current environment category where the wearable device is located is determined more reliably, and a more reliable positioning result is obtained.
As another alternative, the calculating, by the intelligent host, the similarity between the spatial structure representation included in the first image and the spatial structure representation included in the second image may include:
the intelligent host determines a first category of the spatial structure diagrams contained in the first image and a second category of the spatial structure diagrams contained in the second image;
the intelligent host judges whether the first category is matched with the second category;
if the two spatial structure diagrams are matched, the intelligent host computer calculates the similarity between the diagram characteristics of the spatial structure diagram corresponding to the first category and the diagram characteristics of the spatial structure diagram corresponding to the second category.
For example, when a first category of spatial structure representations included in the first image is a plane, an intersection line, an intersection point, and a second category of spatial structure representations included in the second image is a plane, the first category and the second category are considered to be unmatched; when the first category is a plane, an intersection line and an intersection point, and the second category is a plane, an intersection line and an intersection point, the first category is considered to be matched with the second category, at this time, similarity between the graphic features of the spatial structure graphic representation corresponding to the first category and the graphic features of the spatial structure graphic representation corresponding to the second category is further calculated, for example, whether a complete plane space schematic diagram can be formed between the position of the plane and the number of the planes in the first category and between the position of the plane and the number of the planes in the second category is calculated, wherein the higher the similarity is, the higher the probability that the complete plane space schematic diagram can be formed between the position of the plane and the number of the planes in the first category and the position of the plane and the number of the planes in the second category is represented is increased.
By implementing the optional implementation mode, before calculation, whether the categories of the space structure diagram are matched or not can be judged, if not, subsequent calculation is not needed, and the calculation amount is reduced.
505. The intelligent host determines that the current environment type where the wearable device is located is an indoor environment, and controls the wearable device to be located through WIFI.
506. The intelligent host determines that the current environment type where the wearable device is located is an outdoor environment, and controls the wearable device to be located through a Global Positioning System (GPS).
It can be seen that by implementing the positioning method for the wearable device described in fig. 5, images on two sides of the current environment where the wearable device is located can be shot by using the dual-shooting module structure of the wearable device, and accurate image analysis is performed according to the images to obtain the current environment category, so that an indoor scene and an outdoor scene are accurately distinguished, different positioning strategies are used in different scenes, and the positioning accuracy is further improved.
In addition, by implementing the positioning method for the wearable device described in fig. 5, the object features included in the first image and the second image may be extracted and matched with the preset indoor object features, so as to determine that the current environment category in which the wearable device is located is an indoor environment or an outdoor environment. The process accurately acquires the current environment category of the wearable device by using the image analysis technology of feature extraction, so that the accuracy of selecting the positioning strategy according to the current environment category is improved.
In addition, by implementing the positioning method for the wearable device described in fig. 5, the preset indoor object characteristics may be determined according to the historical indoor environment information of the wearable device, a plurality of target indoor environments where the user is located for a long time are selected from the preset indoor object characteristics, and the indoor characteristics included in the target indoor environments are set as the preset indoor object characteristics. The process can set the indoor object characteristics included in the indoor environment with the longer time in which the user is located as the preset indoor object characteristics according to the historical indoor environment information of the wearable device used by the user, so that the accuracy of determining the current environment category according to the preset indoor object characteristics is improved.
Referring to fig. 6, fig. 6 is a schematic flowchart illustrating another positioning method for a wearable device according to an embodiment of the present invention. The positioning method for the wearable device described in fig. 6 may be applied to the wearable device described in the previous embodiment. As described in the previous embodiments, the wearable device includes the smart host, and the opposite top side and the bottom side of the smart host are respectively provided with one shooting module, and the smart host can rotate to realize adjusting the shooting direction of two shooting modules simultaneously. As shown in fig. 6, the positioning method for a wearable device may include the steps of:
601. the intelligent host controls the two shooting modules to respectively execute shooting operation to obtain a first image and a second image.
In the embodiment of the invention, the first image is an image of one side of the current environment where the wearable device is located and shot by one shooting module, and the second image is an image of the other side of the current environment where the wearable device is located and shot by the other shooting module.
602. The intelligent host acquires historical indoor environment information of the wearable device; the historical indoor environment information comprises a plurality of indoor environments and the time length of the user corresponding to each indoor environment.
603. And the intelligent host determines the target indoor environment from the historical indoor environment information according to the sequence of the duration of the user from high to low, and sets the indoor object characteristics included in the target indoor environment as the preset indoor object characteristics.
604. The intelligent host computer extracts the object features included in the first image and the second image, judges whether the matching degree of the object features and the preset indoor object features is larger than the preset matching degree, if so, executes step 605 and step 607 or step 608, and if not, executes step 606 to step 607 or step 606 and step 608.
605. The intelligent host determines that the current environment type of the wearable device is an indoor environment, and predicts the environment of the wearable device at the next moment according to the pose information of the wearable device.
606. The intelligent host determines that the current environment type of the wearable device is an outdoor environment, and predicts the environment of the wearable device at the next moment according to the pose information of the wearable device.
607. When the environment where the wearable device is located at the next moment is an indoor environment, the intelligent host controls the wearable device to be located through a Global Positioning System (GPS).
608. When the environment where the wearable device is located at the next moment is an outdoor environment, the intelligent host controls the wearable device to be located through WIFI.
Therefore, by implementing the positioning method for the wearable device described in fig. 6, images on two sides of the current environment where the wearable device is located can be shot by using the dual-shooting module structure of the wearable device, and accurate image analysis is performed according to the images to obtain the current environment category, so that an indoor scene and an outdoor scene are accurately distinguished, different positioning strategies are used in different scenes, and the positioning accuracy is further improved.
In addition, by implementing the positioning method for the wearable device described in fig. 6, the current environment category where the wearable device is located is accurately acquired by using the image analysis technology of feature extraction, so that the accuracy of selecting a positioning policy according to the current environment category is improved.
In addition, by implementing the positioning method for the wearable device described in fig. 6, the indoor object feature included in the indoor environment where the user is located for a long time can be set as the preset indoor object feature according to the historical indoor environment information of the user using the wearable device, so that the accuracy of determining the current environment category according to the preset indoor object feature is improved.
In addition, by implementing the positioning method for the wearable device described in fig. 6, the environment of the wearable device at the next time can be predicted according to the pose information of the wearable device, and the wearable device is controlled to be positioned by using different positioning modes according to the environment of the wearable device at the next time. According to the process, the positioning mode corresponding to the environment where the wearable device is located at the next moment can be selected when the wearable device is located indoors at present but is predicted to be located outdoors at the next moment and the wearable device is located indoors at the next moment, and the reliability of the positioning mode selection is improved.
Referring to fig. 7, fig. 7 is a schematic structural diagram of a wearable device according to an embodiment of the disclosure. In the wearable equipment shown in fig. 7, the wearable equipment includes the smart host, and the relative top side of smart host and bottom side are equipped with one respectively and shoot the module, and the smart host can take place to rotate in order to realize adjusting two shooting direction of shooing the module simultaneously. As shown in fig. 7, the wearable device may include a smart host that includes:
the shooting unit 701 is configured to control the two shooting modules to respectively execute shooting operations to obtain a first image and a second image, where the first image is an image of one side of the current environment where the wearable device is located and shot by one shooting module, and the second image is an image of the other side of the current environment where the wearable device is located and shot by the other shooting module.
As an optional implementation manner, a rotating motor is disposed on a rotating shaft, where the smart host of the wearable device is connected to the support of the wearable device, and the shooting unit 701 controls the two shooting modules to respectively execute shooting operations to obtain a first image and a second image, which may include:
the shooting unit 701 sends a rotation instruction to the rotating motor, so that the rotating motor controls the rotating shaft to rotate towards a preset direction at a preset speed according to the rotation instruction, and controls the two shooting modules to respectively execute shooting operations in the rotating process of the rotating shaft to obtain a first image and a second image; the first image comprises a plurality of images shot by a certain shooting module in the rotating process of the rotating shaft, and the second image comprises a plurality of images shot by another shooting module in the rotating process of the rotating shaft.
By implementing such an alternative embodiment, the accuracy of determining the environment in which the wearable device is located may be improved.
A determining unit 702, configured to determine a current environment category in which the wearable device is located according to the first image and the second image obtained by the capturing unit 701, where the current environment category is an indoor environment or an outdoor environment.
A first control unit 703, configured to control the wearable device to utilize WIFI positioning when the determination unit 702 determines that the current environment category is an indoor environment.
A second control unit 704, configured to control the wearable device to utilize GPS for positioning when the determination unit 702 determines that the current environment category is an outdoor environment.
It can be seen that by implementing the wearable device described in fig. 7, images on two sides of the current environment where the wearable device is located can be shot by using the dual-shooting module structure of the wearable device, and the current environment category is obtained by performing accurate image analysis according to the images, so that an indoor scene and an outdoor scene are accurately distinguished, different positioning strategies are used in different scenes, and the positioning accuracy is further improved.
Referring to fig. 8, fig. 8 is a schematic structural diagram of another wearable device disclosed in the embodiment of the present invention. The wearable device shown in fig. 8 is optimized by the wearable device shown in fig. 7. Accordingly, in contrast to the smart host included in the wearable device illustrated in fig. 7, in the smart host included in the wearable device illustrated in fig. 8, the determination unit 702 includes:
an extracting subunit 7021 is configured to extract object features included in the first image and the second image.
A judging subunit 7022, configured to judge whether the matching degree between the object feature extracted by the extracting subunit 7021 and the preset indoor object feature is greater than a preset matching degree.
As an alternative implementation manner, after determining subunit 7022 determines that the matching degree between the object feature and the preset indoor object feature is less than or equal to the preset matching degree, determining subunit 7022 may further be configured to:
calculating the similarity between the spatial structure diagram included in the first image and the spatial structure diagram included in the second image; the spatial structure diagram comprises a plurality of diagrams for representing the spatial structure, for example, the spatial structure diagram may comprise a plurality of planes, any two plane intersection lines and any three plane intersection points;
when the similarity between the spatial structure graphic representation included in the first image and the spatial structure graphic representation included in the second image is higher than a preset similarity, triggering the first control unit to execute the positioning of the wearable device by using WIFI; when the similarity between the spatial structure diagram included in the first image and the spatial structure diagram included in the second image is smaller than or equal to the preset similarity, triggering the second control unit to execute the above-mentioned positioning of the wearable device by using the GPS.
By implementing the alternative embodiment, the current environment class where the wearable device is located is determined more reliably, so that a more reliable positioning result is obtained.
As another alternative, the determining subunit 7022 may calculate a similarity between the spatial structure diagram included in the first image and the spatial structure diagram included in the second image, where:
the judging subunit 7022 determines a first category of the spatial structure diagram included in the first image and a second category of the spatial structure diagram included in the second image;
determining subunit 7022 determines whether the first category matches the second category;
if the spatial structure diagrams in the first category match with the spatial structure diagrams in the second category, the determining subunit 7022 calculates the similarity between the diagram features of the spatial structure diagrams in the first category and the diagram features of the spatial structure diagrams in the second category.
By implementing the optional implementation mode, before calculation, whether the categories of the space structure diagram are matched or not can be judged, if not, subsequent calculation is not needed, and the calculation amount is reduced.
A determining subunit 7023, configured to determine, when the determining subunit 7022 determines that the matching degree between the object feature and the preset indoor object feature is greater than the preset matching degree, that the current environment category where the wearable device is located is an indoor environment; when the determining subunit 7022 determines that the matching degree between the object feature and the preset indoor object feature is smaller than or equal to the preset matching degree, it determines that the current environment category where the wearable device is located is the outdoor environment.
Optionally, the wearable device shown in fig. 8 may further include a smart host:
an obtaining unit 705, configured to obtain historical indoor environment information of the wearable device before the determining subunit 7022 determines whether the matching degree between the object feature and the preset indoor object feature is greater than the preset matching degree; the historical indoor environment information comprises a plurality of indoor environments and the time length of the user corresponding to each indoor environment.
As an optional implementation manner, before the obtaining unit 705 obtains the historical indoor environment information of the wearable device, the obtaining unit 705 may further be configured to:
when the wearable equipment is in an indoor environment, detecting whether the wearable equipment is in a wearing state, wherein the wearing state is the state of the wearable equipment when a user of the wearable equipment wears the wearable equipment;
when the wearable device is detected to be in a wearing state, timing is started from the current moment;
in the timing process, if the wearable device is not in a wearing state, timing is suspended;
when the wearable device moves from the indoor environment to the outdoor environment, timing is stopped, and the time length of the user corresponding to the indoor environment is obtained, wherein the time length of the user is the time length of the wearable device in the wearing state in the indoor environment.
By implementing the optional implementation mode, more accurate historical indoor environment information is obtained, the current environment category where the wearable device is located is conveniently determined according to the historical indoor environment information subsequently, and a matched positioning mode is realized.
A setting unit 706, configured to determine the target indoor environment from the historical indoor environment information acquired by the acquisition unit 705 in the order from the high time to the low time of the user, and set an indoor object feature included in the target indoor environment as a preset indoor object feature.
It can be seen that by implementing the wearable device described in fig. 8, images on two sides of the current environment where the wearable device is located can be shot by using the dual-shooting module structure of the wearable device, and the current environment category is obtained by performing accurate image analysis according to the images, so that an indoor scene and an outdoor scene are accurately distinguished, different positioning strategies are used in different scenes, and the positioning accuracy is further improved.
In addition, by implementing the wearable device described in fig. 8, the current environment category where the wearable device is located is accurately acquired by using the image analysis technology of feature extraction, so that the accuracy of selecting a positioning policy according to the current environment category is improved.
In addition, by implementing the wearable device described in fig. 8, the indoor object feature included in the indoor environment where the user is located for a long time can be set as the preset indoor object feature according to the historical indoor environment information of the user using the wearable device, so as to improve the accuracy of determining the current environment category according to the preset indoor object feature.
Referring to fig. 9, fig. 9 is a schematic structural diagram of another wearable device disclosed in the embodiment of the present invention. The wearable device shown in fig. 9 is optimized by the wearable device shown in fig. 8. Accordingly, compared to the smart host included in the wearable device shown in fig. 8, the smart host included in the wearable device shown in fig. 9 may further include:
a first prediction unit 707 configured to predict an environment in which the wearable device is located at a next time point according to pose information of the wearable device when the environment in which the wearable device is located is an outdoor environment before the second control unit 704 controls the wearable device to perform GPS positioning; when the environment where the wearable device is located at the next moment is predicted to be an outdoor environment, triggering the wearable device to be controlled by the second control unit 704 to perform positioning by using the GPS; when the environment where the wearable device is located at the next moment is predicted to be an indoor environment, the wearable device is controlled to be positioned by using WIFI, wherein the control executed by the first control unit 703 is triggered.
Optionally, the wearable device shown in fig. 9 may further include a smart host:
the second prediction unit 708 is configured to predict an environment in which the wearable device is located at the next moment according to pose information of the wearable device when the environment in which the wearable device is located is an indoor environment before the first control unit 703 controls the wearable device to be located by using WIFI; when the environment where the wearable device is located at the next moment is predicted to be an indoor environment, triggering the wearable device to be controlled by the first control unit 703 to be positioned by using WIFI; and when the environment where the wearable device is located at the next moment is predicted to be an outdoor environment, the wearable device is controlled to utilize the GPS for positioning by triggering the second control unit 704.
It can be seen that by implementing the wearable device described in fig. 9, images on two sides of the current environment where the wearable device is located can be shot by using the dual-shooting module structure of the wearable device, and the current environment category is obtained by performing accurate image analysis according to the images, so that an indoor scene and an outdoor scene are accurately distinguished, different positioning strategies are used in different scenes, and positioning accuracy is improved.
In addition, by implementing the wearable device described in fig. 9, the current environment category where the wearable device is located is accurately acquired by using the image analysis technology of feature extraction, so that the accuracy of selecting a positioning policy according to the current environment category is improved.
In addition, by implementing the wearable device described in fig. 9, the indoor object feature included in the indoor environment where the user is located for a long time can be set as the preset indoor object feature according to the historical indoor environment information of the user using the wearable device, so as to improve the accuracy of determining the current environment category according to the preset indoor object feature.
In addition, by implementing the wearable device described in fig. 9, when the wearable device is currently located indoors but is predicted to be located outdoors at the next time, and when the wearable device is currently located outdoors but is predicted to be located indoors at the next time, the positioning manner corresponding to the environment where the wearable device is located at the next time can be selected, thereby improving the reliability of selecting the positioning manner.
Referring to fig. 10, fig. 10 is a schematic structural diagram of another wearable device disclosed in the embodiment of the present invention. In the wearable device shown in fig. 10, the wearable device includes a smart host, the top side and the bottom side opposite to the smart host are respectively provided with a shooting module, and the smart host can rotate to adjust the shooting directions of the two shooting modules simultaneously. As shown in fig. 10, the smart host includes:
a memory 1001 in which executable program code is stored;
a processor 1002 coupled with a memory;
among other things, the processor 1002 calls the executable program code stored in the memory 1001 to perform the steps of the positioning method for a wearable device described in fig. 4, 5 or 6.
The embodiment of the invention discloses a computer readable storage medium, which stores computer instructions, and the computer instructions execute the steps of the positioning method for wearable equipment described in fig. 4, fig. 5 or fig. 6 when running.
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 hardware instructions of a program, and the program 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, such as a magnetic disk, or a combination thereof, A tape memory, or any other medium readable by a computer that can be used to carry or store data.
The positioning method for the wearable device and the wearable device disclosed in the embodiments of the present invention are described in detail above, and specific examples are applied in the description 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 (10)
1. A positioning method for a wearable device, wherein the wearable device comprises a smart host, each of a top side and a bottom side of the smart host opposite to each other is provided with a shooting module, and the smart host can rotate to adjust shooting directions of the two shooting modules simultaneously, the method comprising:
controlling the two shooting modules to respectively execute shooting operations to obtain a first image and a second image, wherein the first image is an image of one side of the current environment where the wearable equipment is located and shot by one shooting module, and the second image is an image of the other side of the current environment where the wearable equipment is located and shot by the other shooting module;
determining a current environment category in which the wearable device is located according to the first image and the second image, wherein the current environment category is an indoor environment or an outdoor environment;
when the current environment category is the indoor environment, controlling the wearable device to utilize WIFI for positioning;
when the current environment category is the outdoor environment, controlling the wearable device to utilize a Global Positioning System (GPS) for positioning;
the determining, from the first image and the second image, a current environment category in which the wearable device is located includes:
extracting object features included in the first image and the second image, and judging whether the matching degree of the object features and preset indoor object features is greater than a preset matching degree;
when the matching degree of the object characteristics and the preset indoor object characteristics is judged to be greater than the preset matching degree, determining that the current environment type where the wearable equipment is located is an indoor environment;
when the matching degree of the object features and the preset indoor object features is judged to be smaller than or equal to the preset matching degree, calculating the similarity between a space structure diagram included in the first image and a space structure diagram included in the second image; the space structure diagram comprises a plurality of diagrams for representing the space structure; when the similarity between the spatial structure diagram included in the first image and the spatial structure diagram included in the second image is smaller than or equal to a preset similarity, determining that the current environment category in which the wearable device is located is an outdoor environment.
2. The method according to claim 1, wherein before the determining whether the matching degree of the object feature with a preset indoor object feature is greater than a preset matching degree, the method further comprises:
acquiring historical indoor environment information of the wearable device; the historical indoor environment information comprises a plurality of indoor environments and the time length of the user corresponding to each indoor environment;
and determining a target indoor environment from the historical indoor environment information according to the sequence of the duration of the user from high to low, and setting the indoor object characteristics included in the target indoor environment as preset indoor object characteristics.
3. The method of any of claims 1-2, wherein prior to said controlling the wearable device to utilize GPS positioning, the method further comprises:
when the environment where the wearable device is located is the outdoor environment, predicting the environment where the wearable device is located at the next moment according to the pose information of the wearable device;
when the environment of the wearable device at the next moment is predicted to be the outdoor environment, executing the control to utilize GPS positioning for the wearable device;
and when the environment where the wearable device is located at the next moment is predicted to be the indoor environment, executing the control to position the wearable device by utilizing WIFI.
4. The method of claim 3, wherein prior to the controlling the wearable device to utilize WIFI positioning, the method further comprises:
when the environment where the wearable device is located is the indoor environment, predicting the environment where the wearable device is located at the next moment according to the pose information of the wearable device;
when the environment of the wearable device at the next moment is predicted to be the indoor environment, executing the control to position the wearable device by utilizing WIFI;
and when the environment of the wearable device at the next moment is predicted to be the outdoor environment, executing the control to utilize GPS positioning for the wearable device.
5. The utility model provides a wearable equipment, its characterized in that, wearable equipment includes the smart host computer, the relative top side of smart host computer and bottom side are equipped with one respectively and shoot the module, the smart host computer can take place to rotate in order to realize adjusting two shooting direction of shooing the module simultaneously, the smart host computer includes:
the shooting unit is used for controlling the two shooting modules to respectively execute shooting operations to obtain a first image and a second image, wherein the first image is an image of one side of the current environment where the wearable equipment is located and shot by one shooting module, and the second image is an image of the other side of the current environment where the wearable equipment is located and shot by the other shooting module;
a determining unit, configured to determine, according to the first image and the second image, a current environment category in which the wearable device is located, where the current environment category is an indoor environment or an outdoor environment;
the first control unit is used for controlling the wearable device to utilize WIFI for positioning when the current environment category is the indoor environment;
a second control unit, configured to control the wearable device to perform GPS positioning using a global positioning system when the current environment category is the outdoor environment;
the determination unit includes:
an extraction subunit, configured to extract object features included in the first image and the second image;
the judging subunit is used for judging whether the matching degree of the object characteristics and preset indoor object characteristics is greater than a preset matching degree;
the determining subunit is configured to determine that the current environment category in which the wearable device is located is an indoor environment when the determining subunit determines that the matching degree between the object feature and the preset indoor object feature is greater than the preset matching degree; when the judging subunit judges that the matching degree of the object features and the preset indoor object features is smaller than or equal to the preset matching degree, calculating the similarity between the space structure diagram included in the first image and the space structure diagram included in the second image; the space structure diagram comprises a plurality of diagrams for representing the space structure; when the similarity between the spatial structure diagram included in the first image and the spatial structure diagram included in the second image is smaller than or equal to a preset similarity, determining that the current environment category in which the wearable device is located is an outdoor environment.
6. The wearable device of claim 5, wherein the smart host further comprises:
the acquisition unit is used for acquiring historical indoor environment information of the wearable device before the judgment subunit judges whether the matching degree of the object characteristics and preset indoor object characteristics is greater than the preset matching degree; the historical indoor environment information comprises a plurality of indoor environments and the time length of the user corresponding to each indoor environment;
and the setting unit is used for determining a target indoor environment from the historical indoor environment information according to the sequence of the duration of the user from high to low, and setting the indoor object characteristics included in the target indoor environment as preset indoor object characteristics.
7. The wearable device according to any of claims 5-6, wherein the smart host further comprises:
a first prediction unit, configured to, before the second control unit controls the wearable device to perform GPS positioning, predict an environment in which the wearable device is located at a next time according to pose information of the wearable device when the environment in which the wearable device is located is the outdoor environment; when the environment of the wearable device at the next moment is predicted to be the outdoor environment, triggering the second control unit to execute the control of the wearable device to utilize GPS positioning; and when the environment where the wearable device is located at the next moment is predicted to be the indoor environment, triggering the first control unit to execute the control of the wearable device to utilize WIFI for positioning.
8. The wearable device of claim 7, wherein the smart host further comprises:
a second prediction unit, configured to, before the first control unit controls the wearable device to perform positioning using WIFI, predict an environment in which the wearable device is located at a next time according to pose information of the wearable device when the environment in which the wearable device is located is the indoor environment; when the environment where the wearable device is located at the next moment is predicted to be the indoor environment, triggering the first control unit to execute the control of the wearable device to utilize WIFI for positioning; and when the environment where the wearable device is located at the next moment is predicted to be the outdoor environment, triggering the second control unit to execute the control of the wearable device to utilize GPS positioning.
9. A wearable device, comprising:
a memory storing executable program code;
a processor coupled with the memory;
the processor invokes the executable program code stored in the memory to perform the positioning method for a wearable device of any of claims 1-4.
10. A computer-readable storage medium storing a computer program, the computer program when executed causing a computer to perform the positioning method for a wearable device according to any one of claims 1-4.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811151803.1A CN110139023B (en) | 2018-09-29 | 2018-09-29 | Positioning method for wearable device and wearable device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811151803.1A CN110139023B (en) | 2018-09-29 | 2018-09-29 | Positioning method for wearable device and wearable device |
Publications (2)
Publication Number | Publication Date |
---|---|
CN110139023A CN110139023A (en) | 2019-08-16 |
CN110139023B true CN110139023B (en) | 2021-08-24 |
Family
ID=67568438
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201811151803.1A Active CN110139023B (en) | 2018-09-29 | 2018-09-29 | Positioning method for wearable device and wearable device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN110139023B (en) |
Families Citing this family (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111445593B (en) * | 2020-03-27 | 2022-06-14 | 中国工商银行股份有限公司 | Sign-in method and electronic equipment |
CN111696311A (en) * | 2020-06-23 | 2020-09-22 | 广东小天才科技有限公司 | Indoor and outdoor auxiliary identification method, intelligent wearable device and storage medium |
Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR20150108236A (en) * | 2014-03-17 | 2015-09-25 | 엘지전자 주식회사 | Mobile terminal |
CN204790323U (en) * | 2015-06-30 | 2015-11-18 | 杨越 | Rotatable intelligent wrist -watch |
CN206096631U (en) * | 2016-09-27 | 2017-04-12 | 深圳市大疆创新科技有限公司 | Video glasses |
CN106899722A (en) * | 2017-04-28 | 2017-06-27 | 广东欧珀移动通信有限公司 | Electronic installation |
CN106908821A (en) * | 2017-02-28 | 2017-06-30 | 北京交通大学 | A kind of indoor and outdoor seamless positioning changing method |
CN106980131A (en) * | 2016-01-19 | 2017-07-25 | 阿里巴巴集团控股有限公司 | A kind of localization method, device and intelligent terminal |
JP2018005211A (en) * | 2015-12-01 | 2018-01-11 | 孝郎 林 | Wrist-mounted device with imaging function and posture change device |
Family Cites Families (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US10088317B2 (en) * | 2011-06-09 | 2018-10-02 | Microsoft Technologies Licensing, LLC | Hybrid-approach for localization of an agent |
US9020191B2 (en) * | 2012-11-30 | 2015-04-28 | Qualcomm Incorporated | Image-based indoor position determination |
-
2018
- 2018-09-29 CN CN201811151803.1A patent/CN110139023B/en active Active
Patent Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR20150108236A (en) * | 2014-03-17 | 2015-09-25 | 엘지전자 주식회사 | Mobile terminal |
CN204790323U (en) * | 2015-06-30 | 2015-11-18 | 杨越 | Rotatable intelligent wrist -watch |
JP2018005211A (en) * | 2015-12-01 | 2018-01-11 | 孝郎 林 | Wrist-mounted device with imaging function and posture change device |
CN106980131A (en) * | 2016-01-19 | 2017-07-25 | 阿里巴巴集团控股有限公司 | A kind of localization method, device and intelligent terminal |
CN206096631U (en) * | 2016-09-27 | 2017-04-12 | 深圳市大疆创新科技有限公司 | Video glasses |
CN106908821A (en) * | 2017-02-28 | 2017-06-30 | 北京交通大学 | A kind of indoor and outdoor seamless positioning changing method |
CN106899722A (en) * | 2017-04-28 | 2017-06-27 | 广东欧珀移动通信有限公司 | Electronic installation |
Also Published As
Publication number | Publication date |
---|---|
CN110139023A (en) | 2019-08-16 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
KR102252269B1 (en) | Swimming analysis system and method | |
JP6388706B2 (en) | Unmanned aircraft shooting control method, shooting control apparatus, and electronic device | |
CN107801413B (en) | Terminal for controlling electronic equipment and processing method thereof | |
CN107281709B (en) | A kind of extracting method and device, electronic equipment of sport video segment | |
US20180164801A1 (en) | Method for operating unmanned aerial vehicle and electronic device for supporting the same | |
CN104902171B (en) | A kind of camera angle correcting method and terminal | |
CN110177242B (en) | Video call method based on wearable device and wearable device | |
CN107728482A (en) | Control system, control process method and device | |
CN111354434B (en) | Electronic device and method for providing information thereof | |
CN109313883B (en) | Image orientation based on face orientation detection | |
CN110139023B (en) | Positioning method for wearable device and wearable device | |
JP2021522906A (en) | Control methods for interactions between virtual objects and virtual scenes, devices, terminals and computer programs | |
US20200278072A1 (en) | Gimbal control method, gimbal and machine-readable storage medium | |
CN110737798B (en) | Indoor inspection method and related product | |
CN113906371B (en) | Electronic device for providing exercise information according to exercise environment and method for operating the same | |
CN111176464B (en) | Processing method and processing device | |
CN111182204B (en) | Shooting method based on wearable device and wearable device | |
CN110177239B (en) | Video call method based on remote control and wearable device | |
CN110177241B (en) | Posture adjustment method of wearable device and wearable device | |
CN113050792A (en) | Virtual object control method and device, terminal equipment and storage medium | |
US10551195B2 (en) | Portable device with improved sensor position change detection | |
CN110197569B (en) | Safety monitoring method based on wearable device and wearable device | |
CN110175254B (en) | Photo classified storage method and wearable device | |
CN111744170B (en) | Game control method based on wearable device and wearable device | |
CN114449153A (en) | Shooting control method of wearable device, wearable device and storage medium |
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 |