CN110139023A - A kind of localization method and wearable device for wearable device - Google Patents

A kind of localization method and wearable device for wearable device Download PDF

Info

Publication number
CN110139023A
CN110139023A CN201811151803.1A CN201811151803A CN110139023A CN 110139023 A CN110139023 A CN 110139023A CN 201811151803 A CN201811151803 A CN 201811151803A CN 110139023 A CN110139023 A CN 110139023A
Authority
CN
China
Prior art keywords
wearable device
environment
locating
image
indoor
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.)
Granted
Application number
CN201811151803.1A
Other languages
Chinese (zh)
Other versions
CN110139023B (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 CN201811151803.1A priority Critical patent/CN110139023B/en
Publication of CN110139023A publication Critical patent/CN110139023A/en
Application granted granted Critical
Publication of CN110139023B publication Critical patent/CN110139023B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V20/00Scenes; Scene-specific elements
    • G06V20/20Scenes; Scene-specific elements in augmented reality scenes
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/60Control of cameras or camera modules
    • H04N23/66Remote control of cameras or camera parts, e.g. by remote control devices
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N7/00Television systems
    • H04N7/18Closed-circuit television [CCTV] systems, i.e. systems in which the video signal is not broadcast
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/02Services making use of location information
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/30Services specially adapted for particular environments, situations or purposes
    • H04W4/33Services specially adapted for particular environments, situations or purposes for indoor environments, e.g. buildings
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W64/00Locating users or terminals or network equipment for network management purposes, e.g. mobility management

Abstract

A kind of localization method and wearable device for wearable device, wearable device includes smart host, the opposite top side of smart host and bottom side are each provided with a shooting mould group, smart host can rotate to realize while adjust the shooting direction of two shooting mould groups, it controls two shooting Mo Zu and executes shooting operation respectively, obtain the first image and the second image, first image is the image for shooting current environment side locating for the wearable device that mould group takes, second image is the image that another shoots the current environment other side locating for the wearable device that mould group takes;Current environment classification locating for wearable device is determined according to the first image and the second image;When current environment classification is indoor environment, control wearable device is positioned using WIFI;When current environment classification is outdoor environment, control wearable device utilizes GPS positioning.Implement the embodiment of the present invention, can be improved positioning accuracy.

Description

A kind of localization method and wearable device for wearable device
Technical field
The present invention relates to wearable device technical field more particularly to a kind of localization methods for wearable device and can Wearable device.
Background technique
Currently, the positioning method applied to wearable device is also more in order to meet the location requirement for wearable device Kind multiplicity.Wherein, for different environment scenes, there are different positioning methods, for example, in outdoor scene usually using the whole world Positioning system (Global Positioning System, GPS) positions to realize, scene is come real usually using WIFI indoors Now position.But in practice, it has been found that required differentiation cannot still be reached for the differentiation mode of indoor scene and outdoor scene Precision, such as the case where indoor scene is using GPS positioning is often appeared in, it is asked so as to cause positioning accuracy is not high Topic.
Summary of the invention
The embodiment of the present invention discloses a kind of localization method and wearable device for wearable device, can be improved positioning Precision.
First aspect of the embodiment of the present invention discloses a kind of localization method for wearable device, the wearable device packet Smart host is included, the opposite top side of the smart host and bottom side are each provided with a shooting mould group, and the smart host can It rotates to realize while adjust the shooting direction of two shooting mould groups, which comprises
It controls described two shooting Mo Zu and executes shooting operation respectively, obtain the first image and the second image, described One image is the image for shooting current environment side locating for the wearable device that mould group takes, second figure The image of the current environment other side as locating for the wearable device taken for another shooting mould group;
Current environment classification locating for the wearable device, institute are determined according to the first image and second image Stating current environment classification is indoor environment or outdoor environment;
When the current environment classification is the indoor environment, controls the wearable device and positioned using WIFI;
When the current environment classification is the outdoor environment, controls the wearable device and utilize global positioning system GPS positioning.
As an alternative embodiment, in first aspect of the embodiment of the present invention, it is described according to the first image Current environment classification locating for the wearable device is determined with second image, comprising:
Object features included by the first image and second image are extracted, judge the object features and are preset Whether the matching degree of indoor object features is greater than preset matching degree;
When judging that the object features and the matching degree of the default indoor object features are greater than the preset matching degree When, determine that current environment classification locating for the wearable device is indoor environment;
When judging that it is described pre- that matching degree of the object features with the default indoor object features is less than or equal to If when matching degree, determining that current environment classification locating for the wearable device is outdoor environment.
As an alternative embodiment, in first aspect of the embodiment of the present invention, it is special in the judgement object Whether the matching degree of sign and default indoor object features is greater than before preset matching degree, the method also includes:
Obtain the history indoor environment information of the wearable device;The history indoor environment information includes several rooms Duration locating for interior environment user corresponding with each indoor environment;
Target chamber inner ring is determined from the history indoor environment information according to the sequence of duration locating for user from high to low Indoor object features included by the target indoor environment are set default indoor object features by border.
As an alternative embodiment, in first aspect of the embodiment of the present invention, it is described wearable in the control Before equipment utilization GPS positioning, the method also includes:
When the environment locating for the wearable device is the outdoor environment, believed according to the pose of the wearable device Breath predicts environment locating for the wearable device subsequent time;
When predicting environment locating for the wearable device subsequent time is the outdoor environment, the control is executed It makes the wearable device and utilizes GPS positioning;
When predicting environment locating for the wearable device subsequent time is the indoor environment, the control is executed The wearable device is made to position using WIFI.
As an alternative embodiment, in first aspect of the embodiment of the present invention, it is described wearable in the control Before equipment utilization WIFI positioning, the method also includes:
When the environment locating for the wearable device is the indoor environment, believed according to the pose of the wearable device Breath predicts environment locating for the wearable device subsequent time;
When predicting environment locating for the wearable device subsequent time is the indoor environment, the control is executed The wearable device is made to position using WIFI;
When predicting environment locating for the wearable device subsequent time is the outdoor environment, the control is executed It makes the wearable device and utilizes GPS positioning.
Second aspect of the embodiment of the present invention discloses a kind of wearable device, and the wearable device includes smart host, institute It states the opposite top side of smart host and bottom side and is each provided with a shooting mould group, the smart host can rotate to realize The shooting direction of two shooting mould groups of adjustment simultaneously, the smart host include:
Shooting unit executes shooting operation for controlling described two shooting Mo Zu respectively, obtains the first image and Two images, the first image are the figure for shooting current environment side locating for the wearable device that mould group takes Picture, second image are the figure that another shoots the current environment other side locating for the wearable device that mould group takes Picture;
Determination unit is worked as locating for the wearable device for being determined according to the first image and second image Preceding environment category, the current environment classification are indoor environment or outdoor environment;
First control unit, for controlling described wearable set when the current environment classification is the indoor environment It is standby to be positioned using WIFI;
Second control unit, for controlling described wearable set when the current environment classification is the outdoor environment It is standby to be positioned using global position system GPS.
As an alternative embodiment, in second aspect of the embodiment of the present invention, the determination unit includes:
Subelement is extracted, for extracting object features included by the first image and second image;
Judgment sub-unit, for judging it is default whether the matching degree of the object features and default indoor object features is greater than Matching degree;
Subelement is determined, for judging that the object features and the default indoor object are special when the judgment sub-unit When the matching degree of sign is spent greater than the preset matching, determine current environment classification locating for the wearable device for indoor ring Border;When the judgment sub-unit judges that the matching degree of the object features and the default indoor object features is less than or waits When the preset matching is spent, determine that current environment classification locating for the wearable device is outdoor environment.
As an alternative embodiment, in second aspect of the embodiment of the present invention, the smart host further include:
Acquiring unit, for judging the matching of the object features and default indoor object features in the judgment sub-unit Whether degree is greater than before preset matching degree, obtains the history indoor environment information of the wearable device;Ring in the history room Duration locating for the border information user corresponding with each indoor environment that includes several indoor environments;
Setting unit, for true from the history indoor environment information according to the sequence of duration locating for user from high to low Set the goal indoor environment, and sets default indoor object spy for indoor object features included by the target indoor environment Sign.
As an alternative embodiment, in second aspect of the embodiment of the present invention, the smart host further include:
First predicting unit is used for before second control unit controls the wearable device using GPS positioning, When the environment locating for the wearable device is the outdoor environment, institute is predicted according to the posture information of the wearable device State environment locating for wearable device subsequent time;It is described when predicting environment locating for the wearable device subsequent time When outdoor environment, triggers the second control unit execution control wearable device and utilize GPS positioning;Work as prediction When environment locating for the wearable device subsequent time is the indoor environment out, triggers the first control unit and execute institute The control the stated wearable device is positioned using WIFI.
As an alternative embodiment, in second aspect of the embodiment of the present invention, the smart host further include:
Second predicting unit positions it using WIFI for controlling the wearable device in the first control unit Before, when the environment locating for the wearable device is the indoor environment, the posture information according to the wearable device is pre- Survey environment locating for the wearable device subsequent time;It is when predicting environment locating for the wearable device subsequent time When the indoor environment, triggers the first control unit and execute the control wearable device using WIFI positioning; When predicting environment locating for the wearable device subsequent time is the outdoor environment, second control unit is triggered It executes the control wearable device and utilizes GPS positioning.
The third aspect of the embodiment of the present invention discloses a kind of wearable device, comprising:
It is stored with the memory of executable program code;
The processor coupled with the memory;
The processor calls the executable program code stored in the memory, executes the embodiment of the present invention the A kind of localization method for wearable device disclosed in one side.
Fourth aspect of the embodiment of the present invention discloses a kind of computer readable storage medium, stores computer program, wherein The computer program executes computer a kind of to determine for wearable device disclosed in first aspect of the embodiment of the present invention Position method.
The 5th aspect of the embodiment of the present invention discloses a kind of computer program product, when the computer program product is calculating When being run on machine, so that the computer executes some or all of any one method of first aspect step.
The aspect of the embodiment of the present invention the 6th disclose a kind of using distribution platform, and the application distribution platform is for publication calculating Machine program product, wherein when the computer program product is run on computers, so that the computer executes first party Some or all of any one method in face step.
Compared with prior art, the embodiment of the present invention has the advantages that
In the embodiment of the present invention, wearable device includes smart host, and the opposite top side of smart host and bottom side are respectively set There is a shooting mould group, smart host can rotate to realize while adjust the shooting direction of two shooting mould groups, control Two shooting Mo Zu execute shooting operation respectively, obtain the first image and the second image, and the first image is a shooting mould group The image of current environment side locating for the wearable device taken, the second image be another shooting mould group take can The image of the current environment other side locating for wearable device;It is determined locating for wearable device according to the first image and the second image Current environment classification;When current environment classification is indoor environment, control wearable device is positioned using WIFI;Current environment classification When for outdoor environment, control wearable device utilizes GPS positioning.The doublebeat that this process can use wearable device takes the photograph mould group Structure shoots the image of current environment two sides locating for wearable device, carries out accurate image analysis according to the image, obtains Current environment classification uses different positioning strategies in different scenes to accurately distinguish indoor scene and outdoor scene, into And improve positioning accuracy.
Detailed description of the invention
It to describe the technical solutions in the embodiments of the present invention more clearly, below will be to needed in the embodiment Attached drawing is briefly described, it should be apparent that, drawings in the following description are only some embodiments of the invention, for ability For the those of ordinary skill of domain, without creative efforts, it can also be obtained according to these attached drawings other attached Figure.
Fig. 1 is a kind of structural schematic diagram of wearable device disclosed by the embodiments of the present invention;
Fig. 2 is the structural representation after 90 ° of the smart host opposing floor portion holder pivots that wearable device shown in FIG. 1 includes Figure;
Fig. 3 is the schematic diagram at another visual angle of Fig. 2;
Fig. 4 is a kind of flow diagram of localization method for wearable device disclosed by the embodiments of the present invention;
Fig. 5 is the flow diagram of another localization method for wearable device disclosed by the embodiments of the present invention;
Fig. 6 be it is disclosed by the embodiments of the present invention another for wearable device localization method flow diagram;
Fig. 7 is a kind of structural schematic diagram of wearable device disclosed by the embodiments of the present invention;
Fig. 8 is the structural schematic diagram of another wearable device disclosed by the embodiments of the present invention;
Fig. 9 is the structural schematic diagram of another wearable device disclosed by the embodiments of the present invention;
Figure 10 is the structural schematic diagram of another wearable device disclosed by the embodiments of the present invention.
Specific embodiment
Following will be combined with the drawings in the embodiments of the present invention, and technical solution in the embodiment of the present invention carries out clear, complete Site preparation description, it is clear that the described embodiment is only a part of the embodiment of the present invention, instead of all the embodiments.Based on this Embodiment in invention, every other reality obtained by those of ordinary skill in the art without making creative efforts Example is applied, shall fall within the protection scope of the present invention.
In the present invention, term " on ", "lower", "left", "right", "front", "rear", "top", "bottom", "inner", "outside", " in ", "vertical", "horizontal", " transverse direction ", the orientation or positional relationship of the instructions such as " longitudinal direction " be orientation based on the figure or Positional relationship.These terms are not intended to limit indicated dress primarily to better describe the present invention and embodiment Set, element or component must have particular orientation, or constructed and operated with particular orientation.
Also, above-mentioned part term is other than it can be used to indicate that orientation or positional relationship, it is also possible to for indicating it His meaning, such as term " on " also are likely used for indicating certain relations of dependence or connection relationship in some cases.For ability For the those of ordinary skill of domain, the concrete meaning of these terms in the present invention can be understood as the case may be.
In addition, term " installation ", " setting ", " being equipped with ", " connection ", " connected " shall be understood in a broad sense.For example, it may be solid Fixed connection, is detachably connected or monolithic construction;It can be mechanical connection, or electrical connection;It can be directly connected, either It indirectly connected through an intermediary, or is two connections internal between device, element or component.For this field For those of ordinary skill, the specific meanings of the above terms in the present invention can be understood according to specific conditions.
In addition, term " first ", " second " etc. are mainly used for distinguishing different devices, element or component (specifically Type and construction may it is identical may also be different), be not intended to show or implies meaning showing device, element or component Relative importance and quantity.Unless otherwise indicated, the meaning of " multiple " is two or more.
It is further described below in conjunction with technical solution of the embodiment and attached drawing to the embodiment of the present invention.
In order to be best understood from a kind of localization method for wearable device disclosed by the embodiments of the present invention, first introduce below A kind of wearable device disclosed by the embodiments of the present invention.Fig. 1-Fig. 3 is please referred to, one kind disclosed by the embodiments of the present invention is wearable to be set Standby may include: bottom bracket 10, smart host 20 and side band 30, and bottom bracket 10 is connected to the two sides band end of side band 30 Between.The top side 20a of smart host 20 and the bottom side 20b of smart host 20 are opposite, and the top side 20a of smart host 20 is equipped with One shooting mould group 22, the bottom side 20b of smart host 20 are equipped with another shooting mould group 23.One end of smart host 20 passes through the One shaft 21 and the first end of bottom bracket 10 are rotatablely connected, and smart host 20 can rotate different angles with opposing floor portion bracket 10 Degree, so that a shooting mould group 22, another shooting mould group 23 can obtain different shooting direction.Wherein, side band 30 A side be connected to the first end of bottom bracket 10 by 21 axis of first rotating shaft with end, and another side of side band 30 band end Connect the second end of bottom bracket 10.
In wearable device disclosed by the embodiments of the present invention, by above-mentioned described structure, wearable device includes Smart host 20 can the side band 30 that wearable device includes two sides band end between rotate with realize and meanwhile adjust The shooting direction of whole two shootings mould group (i.e. one shooting mould group 22 and another shooting mould group 23).Wherein, pass through first turn The rotation of 20 opposing floor portion bracket 10 of smart host may be implemented in axis 21, so that being set to a shooting mould of smart host 20 Group 22, another shooting mould group 23 also can obtain different shooting direction with the rotation of smart host 20, this is not only solved Existing wearable device (usually only shooting mould group one by one) needs user to reverse the adjustment bat that arm is just able to achieve The problem of taking the photograph direction, while can also meet the shooting demand of the different shooting direction of user.
In the embodiment of the present invention, when realizing the rotation of 20 opposing floor portion bracket 10 of smart host, due to one of side band 30 Side is connected to the first end of bottom bracket 10 with end by 21 axis of first rotating shaft, therefore, a side band end, bottom of side band 30 It is the co-rotation design for sharing first rotating shaft 21 between the first end of bracket 10 and one end three of smart host 20, thus The component design that wearable device can be reduced, simplifies the component assembling flow path of wearable device, so that wearable device Structure it is more compact.
In the embodiment of the present invention, top side display screen (being not marked in figure) can be set on the top side 20a of smart host 20; Optionally, bottom side display screen (being not marked in figure) also can be set on the bottom side 20b of smart host 20.In general, Smart host 20 can be stacked on bottom bracket 10, i.e. the bottom side 20b of smart host 20 is bonded with the upper surface of bottom bracket 10; And when smart host 20 is rotated with first rotating shaft 21, the top side 20a and bottom side 20b of smart host 20 with bottom branch The upper surface of frame 10 forms certain angle.
In embodiments of the present invention, which uses as the host of the adjustable wearable device of shooting direction, Its not only include set on internal mainboard, for realizing touch-control, the touch screen/of display function or display screen, to mainboard, touch-control A shooting mould group 22 and another shooting for the shooting function of battery, realization smart host 20 that screen/display screen is powered Mould group 23 realizes that the communication device of the communication function of smart host 20 is (such as wireless communication devices, Bluetooth communication device, infrared Communication device etc.), realize smart host 20 detection function sensor (such as gravity sensor, acceleration transducer, distance Sensor, ultraviolet detector, dabbles and detects identification module at baroceptor), realize the positioning mould that is positioned to user Block, realize the heart rate detector that the heart rate of user is detected, the timer for the timing function for realizing smart host 20, to The element that the identity at family is identified, such as fingerprint mould group, face recognition mould group, and realize audio input and/or output Microphone, loudspeaker etc..It should learn, above-mentioned each device, functional module group are set to inside smart host 20, and and mainboard Electrical connection realizes the control to these devices, functional module group by mainboard, and then controls it and realize corresponding function.
Therefore, in the embodiment of the present invention, smart host 20 is to be different from only being able to achieve time showing, determining for traditional wrist-watch When etc. the dial plates of functions.
Further, it may be implemented to be rotatably connected by first rotating shaft 21 with bottom bracket 10 due to smart host 20, Therefore, a shooting mould group 22 and another can be adjusted by adjusting the rotational angle of smart host 20 and bottom bracket 10 Shoot the shooting direction of mould group 23, wherein the rotational angle of smart host 20 and bottom bracket 10 can be between 0~90 °.Example Such as, when smart host 20 is stacked on bottom bracket 10, the angle between smart host 20 and bottom bracket 10 is 0 °, and works as intelligence After energy host 20 rotates, the angle between the smart host 20 and bottom bracket 10 preferably can be 90 °.Such as Fig. 1 institute Show, when the angle between smart host 20 and bottom bracket 10 is 0 °, a shooting mould group 22 on smart host 20 and separately The angle of one shooting 23 opposing floor portion bracket 10 of mould group is also 0 ° of angle, at this time the shooting direction court of a shooting mould group 22 On, and the shooting direction of the second shooting module 23 stops downward and by bottom bracket 10;It is as also shown in fig. 2, work as smart host When 20 opposing floor portion brackets 10 rotate shape angle in 90 °, a shooting mould group 22 of smart host 20 and another shoot mould group The angle of 23 opposing floor portion brackets 10 is 90 ° of angles, and the shooting direction of a shooting mould group 22 is towards a left side at this time, and second shoots mould The shooting direction of block 23 is towards the right side, so as to realize the tune of a shooting mould group 22 with the shooting direction of another shooting mould group 23 It is whole.Particularly, when being provided on top side display screen and bottom side 20b on the top side 20a of smart host 20, to be also equipped with bottom side aobvious When display screen, if a shooting mould group 22 of smart host 20 and the angle of another shooting 23 opposing floor portion bracket 10 of mould group are 90 ° of angles, then the bottom side display screen opposing floor portion branch being arranged on the top side display screen and bottom side 20b that are arranged on the 20a of top side The angle of frame 10 is also 90 ° of angles, and the user so as to the convenient left side for being located at wearer watches top side display screen, Yi Jifang Just the user positioned at the right side of wearer watches bottom side display screen.In the embodiment of the present invention, smart host 20 and bottom bracket 10 Rotational angle can be adjusted between 0~90 °, it is preferable that the rotational angle can be 0 °, 30 °, 45 °, 60 °, 75 ° or 90 °.
In embodiments of the present invention, it is rotatablely connected due to smart host 20 by first rotating shaft 21 and bottom bracket 10, because This, smart host 20 may include the turning end 20c and free end 20d being oppositely arranged, and turning end 20c is logical for smart host 20 Cross one end that first rotating shaft 21 is connect with the first end of bottom bracket 10, and free end 20d be then can be with turning end 20c phase Simultaneously opposing floor portion bracket 10, which can form one end of angle, for rotation is realized to bottom bracket 10.Specifically, in order to avoid influence one The shooting visual angle of mould group 22 and another shooting mould group 23 is shot, a shooting mould group 22 can be preferably disposed to free end 20d End top side (a part for belonging to top side 20a), and another shooting mould group 23 can be preferably disposed to the end of free end 20d Portion bottom side (a part for belonging to bottom side 20b).
In embodiments of the present invention, which can be plate structure.When bottom bracket 10 is plate structure, bottom The material of portion's bracket 10 is preferably heat-insulated material, such as plastic cement.When user wears wearable device, intelligent master can be avoided 20 calorific value of machine it is big and may the wrist skin to user the case where causing scald.Therefore, which can not only realize The function that smart host 20 rotates is carried, while can also be achieved the effect being thermally shielded to the wrist skin of smart host 20 and user Fruit.
Further, it when bottom bracket 10 is plate structure, can be set on bottom bracket 10 one or more logical Hole 10a so that smart host 20 by through-hole 10a may be implemented including the heart rate to user detect including items it is raw Manage feature detection.Wherein, the shape of through-hole 10 can be round, rectangular or oval etc., and the embodiment of the present invention is not construed as limiting.
It is understood that in other embodiments, which is also possible to closed hoop structure, the present invention is real Example is applied to be not construed as limiting.
It, can be by manually adjusting smart host 20 when user need to adjust the angle of 20 opposing floor portion bracket 10 of smart host The rotational angle of opposing floor portion bracket 10, when smart host 20 turns to the target angle of user, at this point, user stops adjustment Smart host 20, it is constant that smart host 20 is positively retained at current angular, at this point, a shooting mould group 22 and/or another shooting Mould group 23 can be at can shooting state, user can according to actual photographed demand select a shooting mould group 22 and/or another clap It takes the photograph mould group 23 and executes corresponding shooting operation.
It, then can be again by manually adjusting smart host when user wants for smart host 20 to be stacked on bottom bracket 10 20, so that smart host 20 can be adjusted and the rotation of opposing floor portion bracket 10 again, until smart host 20 is laminated on bottom bracket On 10, user stops adjustment smart host 20 at this time.
A kind of wearable device disclosed by the embodiments of the present invention makes a shooting mould group 22 and another shooting mould group 23 Different shooting direction can be obtained with the rotation of smart host, meet the different shooting direction demands of user, and can be with Bring arm sense tired out when torsion being avoided to wear the arm adjustment shooting direction of wearable device, promotes shooting experience sense.
Referring to Fig. 4, the process that Fig. 4 is a kind of localization method for wearable device disclosed by the embodiments of the present invention is shown It is intended to.Wherein, the described localization method for wearable device of Fig. 4 can be applied to wearing for method preceding embodiment description Wear equipment.As described in preceding embodiment, wearable device includes smart host, and the opposite top side of smart host and bottom side are respectively Equipped with a shooting mould group, smart host can rotate to realize while adjust the shooting direction of two shooting mould groups.Such as Shown in Fig. 4, which be may comprise steps of:
401, smart host controls two shooting Mo Zu and executes shooting operation respectively, obtains the first image and the second figure Picture.
In the embodiment of the present invention, the first image is one and shoots current environment locating for the wearable device that mould group takes The image of side, the second image are the figure that another shoots the current environment other side locating for the wearable device that mould group takes Picture.
As an alternative embodiment, what the smart host of wearable device was connected with the bracket of wearable device Be provided with rotary electric machine in shaft, smart host controls two shooting Mo Zu and executes shooting operation respectively, obtain the first image with And second image, it may comprise steps of:
Smart host sends rotation command to the rotary electric machine, so that the rotary electric machine controls shaft according to the rotation command It is rotated with pre-set velocity towards preset direction, and controls two shooting Mo Zu in shaft rotation process and execute shooting behaviour respectively Make, obtains the first image and the second image;Wherein, the first image includes that a certain shooting mould group is shot in shaft rotation process Obtained several images, the second image include several images that another shooting mould group is shot in shaft rotation process.
By implementing this optional embodiment, wearable device can control shaft and be rotated automatically to drive intelligence main Machine rotation, so that the image shot under mould group shooting all angles using two, obtains more more fully images, so as to subsequent According to these images determine wearable device locating for environment, improve determine wearable device local environment accuracy.
402, smart host determines current environment classification locating for wearable device according to the first image and the second image, when Preceding environment category is indoor environment or outdoor environment.
403, when current environment classification is indoor environment, smart host is controlled wearable device and is positioned using WIFI.
404, when current environment classification is outdoor environment, smart host controls wearable device and utilizes global positioning system GPS positioning.
As it can be seen that can use wearable device by implementing the described localization method for being used for wearable device of Fig. 4 Doublebeat takes the photograph the image of current environment two sides locating for modular structure shooting wearable device, carries out accurate image according to the image Analysis, obtains current environment classification, to accurately distinguish indoor scene and outdoor scene, is determined in different scenes using different Position strategy, and then improve positioning accuracy.
Referring to Fig. 5, Fig. 5 is the process of another localization method for wearable device disclosed by the embodiments of the present invention Schematic diagram.Wherein, what the described localization method for wearable device of Fig. 5 can be applied to the description of method preceding embodiment can Wearable device.As described in preceding embodiment, wearable device includes smart host, and the opposite top side of smart host and bottom side are each From a shooting mould group is equipped with, smart host can rotate to realize while adjust the shooting direction of two shooting mould groups. As shown in figure 5, the localization method for being used for wearable device may comprise steps of:
501, smart host controls two shooting Mo Zu and executes shooting operation respectively, obtains the first image and the second figure Picture.
In the embodiment of the present invention, the first image is one and shoots current environment locating for the wearable device that mould group takes The image of side, the second image are the figure that another shoots the current environment other side locating for the wearable device that mould group takes Picture.
502, smart host obtains the history indoor environment information of wearable device;History indoor environment information includes several Duration locating for a indoor environment user corresponding with each indoor environment.
In the embodiment of the present invention, several indoor environments for including in history indoor environment information are the use of wearable device Once wore the indoor environment that wearable device waited in family.Such as when the user of wearable device is children, history indoor environment Several indoor environments for including in information can be in the family of children, the school etc. of children and history indoor environment information It can also include duration locating for user in each indoor environment.Duration locating for user can use wearable device statistics and can wear The duration that equipment is in the indoor environment is worn, or is in the interior ring using the user of wearable device statistics wearable device The duration in border, in the embodiment of the present invention without limitation.
As an alternative embodiment, smart host obtain wearable device history indoor environment information it Before, following steps can also be performed in smart host:
When wearable device is in indoor environment, whether smart host detection wearable device is in wearing state, wears Wear wearable device state in which when the user that state is wearable device wears wearable device;
When detecting that wearable device is in wearing state, smart host timing since current time;
During smart host timing, if wearable device is not at wearing state, smart host pause meter When;
When wearable device is moved to outdoor environment from above-mentioned indoor environment, smart host stop timing, and obtain with Duration locating for the corresponding user of the indoor environment, wherein a length of wearable device in the indoor environment is in when locating for user The duration of wearing state.
It is each in the history indoor environment information that wearable device is got by implementing this optional embodiment A length of user in the present context wears the duration of wearable device when locating for indoor environment user, misses user not to reduce It wears when wearable device is only placed in somewhere by wearable device and counts the higher mistake of duration locating for this kind of indoor environment user Poor phenomenon, and then obtain more accurate history indoor environment information, convenient for it is subsequent can according to history indoor environment information determination Current environment classification locating for wearable device, realizes the positioning method to match.
503, smart host determines mesh according to the sequence of duration locating for user from high to low from history indoor environment information Indoor environment is marked, sets default indoor object features for indoor object features included by target indoor environment.
In the embodiment of the present invention, duration locating for user is higher, illustrates that indoor environment on the other side is that user often wears Indoor environment locating for wearable device, the probability that user reaches such indoor environment is higher, therefore by the interior included by it Object features are set as default indoor object features, improve the accuracy for differentiating current environment classification locating for wearable device.
504, smart host extracts object features included by the first image and the second image, judgment object feature and default Whether the matching degree of indoor object features is greater than preset matching degree, if so, step 505 is executed, if not, executing step 506.
As an alternative embodiment, judging that object features and the matching degree of default indoor object features are less than Or be equal to after preset matching degree, following steps can also be performed:
Smart host calculates the diagram of space structure included by the first image and space structure figure included by the second image Similarity between showing;Wherein, space structure diagram includes several diagrams for representation space structure, for example, space structure Diagram may include several planes, any two plane intersecting lens and any three plane crosspoints;
Phase between the diagram of the space structure included by the first image and the diagram of space structure included by the second image When being higher than default similarity like degree, step 505 is executed;The diagram of the space structure included by the first image is wrapped with the second image When the similarity between space structure diagram included is less than or equal to default similarity, step 506 is executed.
By implementing this optional embodiment, it can take the photograph what modular structure was got according to the doublebeat of wearable device Space structure included by first image and second the first image of image analysis and the second image diagram between similarity be It is no to be higher than default similarity, wherein when wearable device is in indoor environment, what the first image and the second image were captured Similarity between space structure diagram is higher than default similarity, when wearable device be in outdoor environment, the first image and The similarity between space structure diagram that second image is captured is below or equal to default similarity, relatively reliable accordingly Determine current environment classification locating for wearable device, to obtain more reliable positioning result.
As another optional embodiment, smart host calculates the diagram of space structure included by the first image and the Space structure included by two images diagram between similarity may include:
Smart host determines included by the first category and the second image of the diagram of space structure included by the first image Space structure diagram second category;
Smart host judges whether above-mentioned first category matches with above-mentioned second category;
If matched, smart host calculates the illustrated features and second category of the corresponding space structure diagram of first category Similarity between the illustrated features of corresponding space structure diagram.
For example, the first category of the diagram of the space structure included by the first image is plane, intersecting lens, crosspoint And second second category of the diagram of space structure included by image when being plane, it is believed that first category and second category not phase Match;When it is plane, intersecting lens, crosspoint that first category, which is plane, intersecting lens, crosspoint and second category, it is believed that the first kind Do not match with second category, at this point, further calculating the illustrated features and second of the corresponding space structure diagram of first category Similarity between the illustrated features of classification corresponding space structure diagram, as calculate the position of plane in first category with And whether to constitute complete plane in the quantity of plane, second category between the position of plane and the quantity of plane empty Between schematic diagram, wherein similarity is higher, indicate first category in the position of plane and quantity, the second category of plane The probability that complete plane space schematic diagram can be constituted between the position of middle plane and the quantity of plane is bigger.
By implementing this optional embodiment, before the computation, it can first judge that the classification of space structure diagram is No matching, if mismatched, it is not necessary to carry out subsequent calculating, reduce calculation amount.
505, smart host determines that current environment classification locating for wearable device is indoor environment, and controls wearable set It is standby to be positioned using WIFI.
506, smart host determines that current environment classification locating for wearable device is outdoor environment, and controls wearable set It is standby to be positioned using global position system GPS.
As it can be seen that can use wearable device by implementing the described localization method for being used for wearable device of Fig. 5 Doublebeat takes the photograph the image of current environment two sides locating for modular structure shooting wearable device, carries out accurate image according to the image Analysis, obtains current environment classification, to accurately distinguish indoor scene and outdoor scene, is determined in different scenes using different Position strategy, and then improve positioning accuracy.
In addition, by implementing the described localization method for being used for wearable device of Fig. 5, the first image and the can be extracted It is matched with default indoor object features, is determined locating for wearable device with this by object features included by two images Current environment classification be indoor environment or outdoor environment.This process utilizes the image analysis technology of feature extraction accurately Current environment classification locating for wearable device is got, to improve the essence according to current environment classification selective positioning strategy Exactness.
In addition, by implementing the described localization method for being used for wearable device of Fig. 5, it can also be according to wearable device History indoor environment information determine default indoor object features, therefrom choose several higher targets of duration locating for user Indoor feature included by several target indoor environments is set default indoor object features by indoor environment.This process Can according to user using the history indoor environment information of wearable device come by the higher indoor environment institute of duration locating for user Including indoor object features be set as default indoor object features, thus improve determined according to default indoor object features it is current The accuracy of environment category.
Referring to Fig. 6, Fig. 6 is the process of another localization method for wearable device disclosed by the embodiments of the present invention Schematic diagram.Wherein, what the described localization method for wearable device of Fig. 6 can be applied to the description of method preceding embodiment can Wearable device.As described in preceding embodiment, wearable device includes smart host, and the opposite top side of smart host and bottom side are each From a shooting mould group is equipped with, smart host can rotate to realize while adjust the shooting direction of two shooting mould groups. As shown in fig. 6, the localization method for being used for wearable device may comprise steps of:
601, smart host controls two shooting Mo Zu and executes shooting operation respectively, obtains the first image and the second figure Picture.
In the embodiment of the present invention, the first image is one and shoots current environment locating for the wearable device that mould group takes The image of side, the second image are the figure that another shoots the current environment other side locating for the wearable device that mould group takes Picture.
602, smart host obtains the history indoor environment information of wearable device;History indoor environment information includes several Duration locating for a indoor environment user corresponding with each indoor environment.
603, smart host determines mesh according to the sequence of duration locating for user from high to low from history indoor environment information Indoor environment is marked, sets default indoor object features for indoor object features included by target indoor environment.
604, smart host extracts object features included by the first image and the second image, judgment object feature and default Whether the matching degree of indoor object features is greater than preset matching degree, if so, executing step 605 and step 607 or step 608, if not, executing step 606 to step 607 or step 606 and step 608.
605, smart host determines that current environment classification locating for wearable device is indoor environment, and is set according to wearable Environment locating for standby posture information prediction wearable device subsequent time.
606, smart host determines that current environment classification locating for wearable device is outdoor environment, according to wearable device Posture information prediction wearable device subsequent time locating for environment.
607, when the environment locating for the wearable device subsequent time is indoor environment, smart host controls wearable device It is positioned using global position system GPS.
608, when the environment locating for the wearable device subsequent time is outdoor environment, smart host controls wearable device It is positioned using WIFI.
As it can be seen that can use wearable device by implementing the described localization method for being used for wearable device of Fig. 6 Doublebeat takes the photograph the image of current environment two sides locating for modular structure shooting wearable device, carries out accurate image according to the image Analysis, obtains current environment classification, to accurately distinguish indoor scene and outdoor scene, is determined in different scenes using different Position strategy, and then improve positioning accuracy.
In addition, utilizing the image point of feature extraction by implementing the described localization method for being used for wearable device of Fig. 6 Analysis technology accurately gets current environment classification locating for wearable device, is selected to improve according to current environment classification The accuracy of positioning strategy.
In addition, can be worn according to user's use by implementing the described localization method for being used for wearable device of Fig. 6 The history indoor environment information for wearing equipment sets indoor object features included by the higher indoor environment of duration locating for user Default indoor object features are set to, to improve the accuracy for determining current environment classification according to default indoor object features.
In addition, by implementing the described localization method for being used for wearable device of Fig. 6, it can also be according to wearable device Posture information prediction wearable device subsequent time locating for environment, according to environment control locating for wearable device subsequent time Wearable device processed is positioned using different positioning methods.This process is in the case where wearable device is currently at interior but predicts One moment will be currently at outdoor in outdoor, wearable device but predict subsequent time will be in indoor situation Positioning method corresponding to environment locating for wearable device subsequent time can be selected, the reliable of selective positioning mode is improved Property.
Referring to Fig. 7, Fig. 7 is a kind of structural schematic diagram of wearable device disclosed by the embodiments of the present invention.It is shown in Fig. 7 Wearable device in, wearable device includes smart host, and the opposite top side of smart host and bottom side are each provided with a bat Mould group is taken the photograph, smart host can rotate to realize while adjust the shooting direction of two shooting mould groups.As shown in fig. 7, should The smart host that wearable device includes may include:
Shooting unit 701 executes shooting operation for controlling two shooting Mo Zu respectively, obtains the first image and second Image, the first image are the image for shooting current environment side locating for the wearable device that mould group takes, the second figure The image of the current environment other side as locating for the wearable device taken for another shooting mould group.
As an alternative embodiment, what the smart host of wearable device was connected with the bracket of wearable device Rotary electric machine is provided in shaft, shooting unit 701 controls two shooting Mo Zu and executes shooting operation respectively, obtains the first image And second image, may include:
Shooting unit 701 sends rotation command to the rotary electric machine, so that the rotary electric machine is controlled according to the rotation command Shaft is rotated with pre-set velocity towards preset direction, and is controlled two shooting Mo Zu in shaft rotation process and executed shooting respectively Operation, obtains the first image and the second image;Wherein, the first image includes that a certain shooting mould group is clapped in shaft rotation process Several images taken the photograph, the second image include several images that another shooting mould group is shot in shaft rotation process.
By implementing this optional embodiment, the accuracy of determining wearable device local environment can be improved.
Determination unit 702, the first image and the second image for being obtained according to shooting unit 701 determine wearable device Locating current environment classification, current environment classification are indoor environment or outdoor environment.
First control unit 703, for controlling when determination unit 702 determines that current environment classification is indoor environment Wearable device is positioned using WIFI.
Second control unit 704, for controlling when determination unit 702 determines that current environment classification is outdoor environment Wearable device is positioned using global position system GPS.
As it can be seen that by implementing wearable device described in Fig. 7, the doublebeat that can use wearable device takes the photograph modular structure The image for shooting current environment two sides locating for wearable device carries out accurate image analysis according to the image, obtains current Environment category uses different positioning strategies, Jin Erti in different scenes to accurately distinguish indoor scene and outdoor scene High positioning accuracy.
Referring to Fig. 8, Fig. 8 is the structural schematic diagram of another wearable device disclosed by the embodiments of the present invention.Wherein, scheme Wearable device shown in 8 is that wearable device as shown in Figure 7 optimizes.Correspondingly, it is worn with shown in Fig. 7 It wears the smart host that equipment includes to compare, in the smart host that wearable device shown in Fig. 8 includes, determination unit 702 is wrapped It includes:
Subelement 7021 is extracted, for extracting object features included by the first image and the second image.
Judgment sub-unit 7022 extracts the object features and default indoor object features that subelement 7021 extracts for judging Matching degree whether be greater than preset matching degree.
As an alternative embodiment, judging that object features and default indoor object are special in judgment sub-unit 7022 The matching degree of sign is less than or equal to after preset matching degree, and judgment sub-unit 7022 can be also used for:
It calculates between space structure diagram included by the diagram of space structure included by the first image and the second image Similarity;Wherein, space structure diagram includes several diagrams for representation space structure, for example, illustrate can be with for space structure Including several planes, any two plane intersecting lens and any three plane crosspoints;
Phase between the diagram of the space structure included by the first image and the diagram of space structure included by the second image When being higher than default similarity like degree, triggering first control unit is executed above-mentioned wearable device and is positioned using WIFI;When first Similarity between space structure diagram included by the diagram of space structure included by image and the second image is less than or waits When default similarity, the second control unit of triggering executes above-mentioned wearable device and utilizes GPS positioning.
By implementing this optional embodiment, relatively reliable determines current environment class locating for wearable device Not, to obtain more reliable positioning result.
As another optional embodiment, judgment sub-unit 7022 calculates space structure figure included by the first image Show that the similarity between the diagram of space structure included by the second image may include:
Judgment sub-unit 7022 determines the first category and the second image of the diagram of space structure included by the first image The second category of included space structure diagram;
Judgment sub-unit 7022 judges whether above-mentioned first category matches with above-mentioned second category;
If matched, judgment sub-unit 7022 calculates the illustrated features of first category corresponding space structure diagram and the Similarity between the illustrated features of the corresponding space structure diagram of two classifications.
By implementing this optional embodiment, before the computation, it can first judge that the classification of space structure diagram is No matching, if mismatched, it is not necessary to carry out subsequent calculating, reduce calculation amount.
Subelement 7023 is determined, for when judgment sub-unit 7022 judges object features and presets indoor object features When matching degree is spent greater than preset matching, determine that current environment classification locating for wearable device is indoor environment;When judgement is single When member 7022 judges that the matching degree of object features and default indoor object features is spent less than or equal to preset matching, determination can Current environment classification locating for wearable device is outdoor environment.
Optionally, the smart host that wearable device shown in Fig. 8 includes can also include:
Acquiring unit 705, for the matching in 7022 judgment object feature of judgment sub-unit and default indoor object features Whether degree is greater than before preset matching degree, obtains the history indoor environment information of wearable device;History indoor environment packet Include duration locating for several indoor environments user corresponding with each indoor environment.
As an alternative embodiment, obtaining the history indoor environment information of wearable device in acquiring unit 705 Before, acquiring unit 705 can be also used for:
When wearable device is in indoor environment, whether detection wearable device is in wearing state, and wearing state is Wearable device state in which when the user of wearable device wears wearable device;
When detecting that wearable device is in wearing state, the timing since current time;
During timing, if wearable device is not at wearing state, time out;
When wearable device is moved to outdoor environment from above-mentioned indoor environment, stop timing, and obtain and the interior ring Duration locating for the corresponding user in border, wherein a length of wearable device in the indoor environment is in wearing state when locating for user Duration.
By implementing this optional embodiment, more accurate history indoor environment information is obtained, is convenient for subsequent Current environment classification locating for wearable device is determined according to history indoor environment information, realizes the positioning method to match.
Setting unit 706, the history for being obtained according to the sequence of duration locating for user from high to low from acquiring unit 705 Target indoor environment is determined in indoor environment information, and sets default for indoor object features included by target indoor environment Indoor object features.
As it can be seen that by implementing wearable device described in Fig. 8, the doublebeat that can use wearable device takes the photograph modular structure The image for shooting current environment two sides locating for wearable device carries out accurate image analysis according to the image, obtains current Environment category uses different positioning strategies, Jin Erti in different scenes to accurately distinguish indoor scene and outdoor scene High positioning accuracy.
In addition, accurately being obtained by implementing wearable device described in Fig. 8 using the image analysis technology of feature extraction Current environment classification locating for wearable device is got, to improve according to the accurate of current environment classification selective positioning strategy Degree.
In addition, the history room of wearable device can be used according to user by implementing wearable device described in Fig. 8 Indoor object features included by the higher indoor environment of duration locating for user are set default indoor object by interior environmental information Body characteristics, to improve the accuracy for determining current environment classification according to default indoor object features.
Referring to Fig. 9, Fig. 9 is the structural schematic diagram of another wearable device disclosed by the embodiments of the present invention.Wherein, scheme Wearable device shown in 9 is that wearable device as shown in Figure 8 optimizes.Correspondingly, it is worn with shown in Fig. 8 It wears the smart host that equipment includes to compare, the smart host that wearable device shown in Fig. 9 includes can also include:
First predicting unit 707 is used for before the second control unit 704 control wearable device is using GPS positioning, when When environment locating for wearable device is outdoor environment, predicted under wearable device for the moment according to the posture information of wearable device Carve locating environment;When predicting environment locating for wearable device subsequent time is outdoor environment, the second control of triggering is single The control wearable device that member 704 executes utilizes GPS positioning;It is room when predicting environment locating for wearable device subsequent time When interior environment, the control wearable device that triggering first control unit 703 executes is positioned using WIFI.
Optionally, the smart host that wearable device shown in Fig. 9 includes can also include:
Second predicting unit 708 is used for before first control unit 703 controls wearable device using WIFI positioning, When the environment locating for the wearable device is indoor environment, predicted one under wearable device according to the posture information of wearable device Environment locating for moment;When predicting environment locating for wearable device subsequent time is indoor environment, the first control of triggering The control wearable device that unit 703 executes is positioned using WIFI;When predicting environment locating for wearable device subsequent time When for outdoor environment, the control wearable device that the second control unit 704 of triggering executes utilizes GPS positioning.
As it can be seen that by implementing wearable device described in Fig. 9, the doublebeat that can use wearable device takes the photograph modular structure The image for shooting current environment two sides locating for wearable device carries out accurate image analysis according to the image, obtains current Environment category uses different positioning strategies, Jin Erti in different scenes to accurately distinguish indoor scene and outdoor scene High positioning accuracy.
In addition, accurately being obtained by implementing wearable device described in Fig. 9 using the image analysis technology of feature extraction Current environment classification locating for wearable device is got, to improve according to the accurate of current environment classification selective positioning strategy Degree.
In addition, the history room of wearable device can be used according to user by implementing wearable device described in Fig. 9 Indoor object features included by the higher indoor environment of duration locating for user are set default indoor object by interior environmental information Body characteristics, to improve the accuracy for determining current environment classification according to default indoor object features.
In addition, by implementing wearable device described in Fig. 9, in the case where wearable device is currently at interior but predicts One moment will be currently at outdoor in outdoor, wearable device but predict subsequent time will be in indoor situation Positioning method corresponding to environment locating for wearable device subsequent time can be selected, the reliable of selective positioning mode is improved Property.
Referring to Fig. 10, Figure 10 is the structural schematic diagram of another wearable device disclosed by the embodiments of the present invention.Scheming In wearable device shown in 10, wearable device includes smart host, and the opposite top side of smart host and bottom side are each provided with One shooting mould group, smart host can rotate to realize while adjust the shooting direction of two shooting mould groups.Such as Figure 10 Shown, which includes:
It is stored with the memory 1001 of executable program code;
The processor 1002 coupled with memory;
Wherein, processor 1002 calls the executable program code stored in memory 1001, executes Fig. 4, Fig. 5 or Fig. 6 The step of described localization method for wearable device.
The embodiment of the present invention discloses a kind of computer readable storage medium, is stored thereon with computer instruction, the computer The step of localization method that wearable device is used for described in Fig. 4, Fig. 5 or Fig. 6 is executed when instruction operation.
Those of ordinary skill in the art will appreciate that all or part of the steps in the various methods of above-described embodiment is can It is completed with instructing relevant hardware by program, which can be stored in a computer readable storage medium, storage Medium include read-only memory (Read-Only Memory, ROM), random access memory (Random Access Memory, RAM), programmable read only memory (Programmable Read-only Memory, PROM), erasable programmable is read-only deposits Reservoir (Erasable Programmable Read Only Memory, EPROM), disposable programmable read-only memory (One- Time Programmable Read-Only Memory, OTPROM), the electronics formula of erasing can make carbon copies read-only memory (Electrically-Erasable Programmable Read-Only Memory, EEPROM), CD-ROM (Compact Disc Read-Only Memory, CD-ROM) or other disc memories, magnetic disk storage, magnetic tape storage or can For carrying or any other computer-readable medium of storing data.
Above to a kind of localization method and wearable device progress for wearable device disclosed by the embodiments of the present invention It is discussed in detail, used herein a specific example illustrates the principle and implementation of the invention, above embodiments Explanation be merely used to help understand method and its core concept of the invention;At the same time, for those skilled in the art, According to the thought of the present invention, there will be changes in the specific implementation manner and application range, and to sum up, the content of the present specification is not It is interpreted as limitation of the present invention.

Claims (10)

1. a kind of localization method for wearable device, which is characterized in that the wearable device includes smart host, described The opposite top side of smart host and bottom side are each provided with a shooting mould group, and the smart host can rotate same to realize When adjustment two shooting mould group shooting direction, which comprises
It controls described two shooting Mo Zu and executes shooting operation respectively, obtain the first image and the second image, first figure The image of the current environment side as locating for the wearable device taken for a shooting mould group, second image are The image of the current environment other side locating for the wearable device that another shooting mould group takes;
Current environment classification locating for the wearable device is determined according to the first image and second image, it is described to work as Preceding environment category is indoor environment or outdoor environment;
When the current environment classification is the indoor environment, controls the wearable device and positioned using WIFI;
When the current environment classification is the outdoor environment, controls the wearable device and utilize global position system GPS Positioning.
2. the method according to claim 1, wherein described according to the first image and second image is true Current environment classification locating for the fixed wearable device, comprising:
Object features included by the first image and second image are extracted, judge the object features and default interior Whether the matching degree of object features is greater than preset matching degree;
When the matching degree for judging the object features and the default indoor object features, which is greater than the preset matching, to be spent, really Current environment classification locating for the fixed wearable device is indoor environment;
When the matching degree for judging the object features and the default indoor object features is less than or equal to described default When with spending, determine that current environment classification locating for the wearable device is outdoor environment.
3. according to the method described in claim 2, it is characterized in that, in the judgement object features and default indoor object Whether the matching degree of feature is greater than before preset matching degree, the method also includes:
Obtain the history indoor environment information of the wearable device;The history indoor environment information includes several indoor rings Duration locating for the user corresponding with each indoor environment of border;
Target indoor environment is determined from the history indoor environment information according to the sequence of duration locating for user from high to low, it will Indoor object features included by the target indoor environment are set as default indoor object features.
4. method according to any one of claims 1 to 3, which is characterized in that in the control wearable device benefit Before GPS positioning, the method also includes:
When the environment locating for the wearable device is the outdoor environment, the posture information according to the wearable device is pre- Survey environment locating for the wearable device subsequent time;
When predicting environment locating for the wearable device subsequent time is the outdoor environment, the control institute is executed It states wearable device and utilizes GPS positioning;
When predicting environment locating for the wearable device subsequent time is the indoor environment, the control institute is executed Wearable device is stated to position using WIFI.
5. according to the method described in claim 4, it is characterized in that, being positioned in the control wearable device using WIFI Before, the method also includes:
When the environment locating for the wearable device is the indoor environment, the posture information according to the wearable device is pre- Survey environment locating for the wearable device subsequent time;
When predicting environment locating for the wearable device subsequent time is the indoor environment, the control institute is executed Wearable device is stated to position using WIFI;
When predicting environment locating for the wearable device subsequent time is the outdoor environment, the control institute is executed It states wearable device and utilizes GPS positioning.
6. a kind of wearable device, which is characterized in that the wearable device includes smart host, and the smart host is opposite Top side and bottom side are each provided with a shooting mould group, and the smart host can rotate to realize while adjust two shootings The shooting direction of mould group, the smart host include:
Shooting unit executes shooting operation for controlling described two shooting Mo Zu respectively, obtains the first image and the second figure Picture, the first image are the image for shooting current environment side locating for the wearable device that mould group takes, Second image is the image that another shoots the current environment other side locating for the wearable device that mould group takes;
Determination unit works as front ring locating for the wearable device for determining according to the first image and second image Border classification, the current environment classification are indoor environment or outdoor environment;
First control unit, for when the current environment classification is the indoor environment, controlling the wearable device benefit It is positioned with WIFI;
Second control unit, for when the current environment classification is the outdoor environment, controlling the wearable device benefit It is positioned with global position system GPS.
7. wearable device according to claim 6, which is characterized in that the determination unit includes:
Subelement is extracted, for extracting object features included by the first image and second image;
Judgment sub-unit, for judging whether the object features and the matching degree of default indoor object features are greater than preset matching Degree;
Subelement is determined, for judging the object features and the default indoor object features when the judgment sub-unit When matching degree is spent greater than the preset matching, determine that current environment classification locating for the wearable device is indoor environment;When The judgment sub-unit judges that the object features and the matching degree of the default indoor object features are less than or equal to institute When stating preset matching and spending, determine that current environment classification locating for the wearable device is outdoor environment.
8. wearable device according to claim 7, which is characterized in that the smart host further include:
Acquiring unit, for being in the matching degree that the judgment sub-unit judges the object features and presets indoor object features It is no to be greater than before preset matching degree, obtain the history indoor environment information of the wearable device;The history indoor environment letter Breath includes duration locating for several indoor environments user corresponding with each indoor environment;
Setting unit, for determining mesh from the history indoor environment information according to the sequence of duration locating for user from high to low Indoor environment is marked, and sets default indoor object features for indoor object features included by the target indoor environment.
9. according to the described in any item wearable devices of claim 6 to 8, which is characterized in that the smart host further include:
First predicting unit, for working as institute before second control unit controls the wearable device using GPS positioning State environment locating for wearable device be the outdoor environment when, according to the posture information of the wearable device prediction described in can Environment locating for wearable device subsequent time;It is the outdoor when predicting environment locating for the wearable device subsequent time When environment, triggers the second control unit execution control wearable device and utilize GPS positioning;When predicting When to state environment locating for wearable device subsequent time be the indoor environment, trigger the first control unit execute it is described The wearable device is controlled to position using WIFI.
10. wearable device according to claim 9, which is characterized in that the smart host further include:
Second predicting unit is used for before the first control unit controls the wearable device using WIFI positioning, when When environment locating for the wearable device is the indoor environment, according to the prediction of the posture information of the wearable device Environment locating for wearable device subsequent time;It is the room when predicting environment locating for the wearable device subsequent time When interior environment, triggers the first control unit and execute the control wearable device using WIFI positioning;Work as prediction When environment locating for the wearable device subsequent time is the outdoor environment out, triggers second control unit and execute institute The control the stated wearable device utilizes GPS positioning.
CN201811151803.1A 2018-09-29 2018-09-29 Positioning method for wearable device and wearable device Active CN110139023B (en)

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 true CN110139023A (en) 2019-08-16
CN110139023B 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)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111445593A (en) * 2020-03-27 2020-07-24 中国工商银行股份有限公司 Sign-in method and electronic equipment
WO2021258700A1 (en) * 2020-06-23 2021-12-30 广东小天才科技有限公司 Method for indoor and outdoor recognition assistance, smart wearable device, and storage medium

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20120316784A1 (en) * 2011-06-09 2012-12-13 Microsoft Corporation Hybrid-approach for localizaton of an agent
CN104813365A (en) * 2012-11-30 2015-07-29 高通股份有限公司 Image-based indoor position determination
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

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20120316784A1 (en) * 2011-06-09 2012-12-13 Microsoft Corporation Hybrid-approach for localizaton of an agent
CN104813365A (en) * 2012-11-30 2015-07-29 高通股份有限公司 Image-based indoor position determination
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

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111445593A (en) * 2020-03-27 2020-07-24 中国工商银行股份有限公司 Sign-in method and electronic equipment
CN111445593B (en) * 2020-03-27 2022-06-14 中国工商银行股份有限公司 Sign-in method and electronic equipment
WO2021258700A1 (en) * 2020-06-23 2021-12-30 广东小天才科技有限公司 Method for indoor and outdoor recognition assistance, smart wearable device, and storage medium

Also Published As

Publication number Publication date
CN110139023B (en) 2021-08-24

Similar Documents

Publication Publication Date Title
CN107281709B (en) A kind of extracting method and device, electronic equipment of sport video segment
JP7476109B2 (en) Method, device, terminal and computer program for controlling interaction between virtual objects and virtual scenes
CN110427111B (en) Operation method, device, equipment and storage medium of virtual prop in virtual environment
WO2020024806A1 (en) Method and device for controlling interaction between virtual object and throwing object, and storage medium
WO2020244415A1 (en) Method and apparatus for controlling virtual object to discard virtual item, and medium
CN110141869A (en) Method of controlling operation thereof, device, electronic equipment and storage medium
CN109074629A (en) Video camera is carried out using region of the networking camera to concern
CN108579088B (en) Method, apparatus and medium for controlling virtual object to pick up virtual article
CN110113523A (en) Intelligent photographing method, device, computer equipment and storage medium
CN110139023A (en) A kind of localization method and wearable device for wearable device
CN110177242A (en) A kind of video call method and wearable device based on wearable device
WO2020114176A1 (en) Virtual environment viewing method, device and storage medium
CN109550246A (en) Control method, device, storage medium and the electronic device of game client
CN110448908A (en) The application method of gun sight, device, equipment and storage medium in virtual environment
CN110639205B (en) Operation response method, device, storage medium and terminal
CN110175491A (en) A kind of queue number generation method and wearable device
CN110139218A (en) A kind of method for tracing and wearable device for wearable device
CN110175254A (en) A kind of the classification storage method and wearable device of photo
CN110197569B (en) Safety monitoring method based on wearable device and wearable device
CN110135837A (en) A kind of payment management method and wearable device based on wearable device
CN110139058A (en) A kind of video call method and wearable device
CN110139024A (en) A kind of shooting reminding method and wearable device based on wearable device
CN110135228A (en) A kind of dictation proficiency appraisal procedure and wearable device
CN110139025A (en) A kind of social user's recommended method and wearable device based on the behavior of taking pictures
CN110177241A (en) A kind of attitude adjusting method and wearable device of wearable device

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