CN110418406B - Positioning method, wearable device and computer-readable storage medium - Google Patents

Positioning method, wearable device and computer-readable storage medium Download PDF

Info

Publication number
CN110418406B
CN110418406B CN201910704914.9A CN201910704914A CN110418406B CN 110418406 B CN110418406 B CN 110418406B CN 201910704914 A CN201910704914 A CN 201910704914A CN 110418406 B CN110418406 B CN 110418406B
Authority
CN
China
Prior art keywords
positioning
positioning information
wearable device
information
terminal
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201910704914.9A
Other languages
Chinese (zh)
Other versions
CN110418406A (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.)
Nubia Technology Co Ltd
Original Assignee
Nubia 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 Nubia Technology Co Ltd filed Critical Nubia Technology Co Ltd
Priority to CN201910704914.9A priority Critical patent/CN110418406B/en
Publication of CN110418406A publication Critical patent/CN110418406A/en
Application granted granted Critical
Publication of CN110418406B publication Critical patent/CN110418406B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/02Services making use of location information
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/80Services using short range communication, e.g. near-field communication [NFC], radio-frequency identification [RFID] or low energy communication
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W64/00Locating users or terminals or network equipment for network management purposes, e.g. mobility management
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W76/00Connection management
    • H04W76/10Connection setup
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W76/00Connection management
    • H04W76/10Connection setup
    • H04W76/14Direct-mode setup
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

Abstract

The embodiment of the invention discloses a positioning method, which is applied to wearable equipment and comprises the following steps: determining the wearable device positioning requirements; selecting and connecting terminals meeting preset conditions based on the positioning requirements; acquiring first positioning information of the terminal and second positioning information of the wearable device; determining target positioning information according to the first positioning information and the second positioning information; and positioning based on the target positioning information. The invention also provides wearable equipment and a computer readable storage medium, and by implementing the scheme, the positioning accuracy of the wearable equipment can be realized.

Description

Positioning method, wearable device and computer-readable storage medium
Technical Field
The present invention relates to the field of electronic technologies, and in particular, to a positioning method, a wearable device, and a computer-readable storage medium.
Background
At present, wearable equipment bracelets or mobile terminal terminals are positioned, and the positioning mode can be specifically high-precision (network + GPS positioning), low-power consumption (network positioning) and only equipment (GPS positioning). The network + GPS positioning mode is usually adopted to obtain higher positioning accuracy. In an actual scene, limited by bracelet hardware, the positioning capability of the bracelet is weak under general conditions, so that the positioning capability of the bracelet cannot well meet the requirements of users in application scenes needing high-precision positioning, such as map navigation.
Disclosure of Invention
In view of this, embodiments of the present invention provide a positioning method, a wearable device, and a computer-readable storage medium, so that a user may obtain a good user experience when performing some applications requiring high-precision positioning by using a bracelet.
In order to solve the above problem, the present invention provides a positioning method applied to a wearable device, the method including: determining the wearable device positioning requirements; selecting a terminal meeting a preset condition based on the positioning requirement; acquiring first positioning information of the terminal and second positioning information of the wearable device; determining target positioning information according to the first positioning information and the second positioning information; and positioning based on the target positioning information.
Optionally, the positioning requirements include a first positioning requirement and a second positioning requirement, and the required positioning accuracy of the first positioning requirement is higher than the required positioning accuracy of the second positioning requirement.
Optionally, the step of determining the positioning requirement of the wearable device specifically includes: judging whether the application started by the wearable device is a map application; if yes, determining that the wearable equipment positioning requirement is a first positioning requirement; if not, determining that the positioning requirement of the wearable equipment is a second positioning requirement.
Optionally, the preset condition is a preset distance range between the terminal and the wearable device.
Optionally, the step of selecting whether to connect a terminal meeting a preset condition based on the positioning requirement specifically includes: when the positioning requirement is a first positioning requirement, judging whether the distance between the terminal and the wearable equipment meets the preset condition; and if so, connecting the terminal.
Optionally, the first positioning information includes network positioning information of the terminal and satellite positioning information of the terminal.
Optionally, the second positioning information is any one of network positioning information of the wearable device and satellite positioning information of the wearable device, and the step of determining the target positioning information according to the first positioning information and the second positioning information specifically includes: and taking the first positioning information as the target positioning information.
Optionally, the second positioning information is network positioning information of the wearable device and satellite positioning information of the wearable device, and the step of determining the target positioning information according to the first positioning information and the second positioning information specifically includes: judging the positioning quality of the first positioning information and the second positioning information; and if the positioning quality of the first positioning information is higher than that of the second positioning information, taking the first positioning information as the target positioning information.
Further, the present invention also provides a wearable device, which at least further comprises: a memory, a communication bus, and a processor, wherein: the memory is used for storing a positioning program; the communication bus is used for realizing connection communication between the processor and the memory; the processor is used for executing the positioning program stored in the memory so as to realize the steps of the positioning method.
Further, the present invention also provides a storage medium storing one or more programs, which are executable by one or more processors to implement the steps of the positioning method as described in any one of the above.
Through implementing above-mentioned scheme, can be so that the user can effectively promote user experience when utilizing wearable equipment to carry out the application of high accuracy location demand.
Drawings
In the drawings, which are not necessarily drawn to scale, like reference numerals may describe similar components in different views. Like reference numerals having different letter suffixes may represent different examples of similar components. The drawings illustrate generally, by way of example, but not by way of limitation, various embodiments discussed herein.
Fig. 1 is a schematic hardware structure diagram of an implementation manner of a wearable device according to an embodiment of the present invention;
fig. 2 is a hardware schematic diagram of an implementation of a wearable device provided in an embodiment of the present application;
fig. 3 is a hardware schematic diagram of an implementation manner of a wearable device provided in an embodiment of the present application;
fig. 4 is a hardware schematic diagram of an implementation of a wearable device provided in an embodiment of the present application;
fig. 5 is a hardware schematic diagram of an implementation manner of a wearable device provided in an embodiment of the present application;
FIG. 6 is a flowchart illustrating a positioning method according to the present invention;
FIG. 7 is a block diagram of a wearable device of the present invention;
fig. 8 is a schematic view of a wearable device according to the present invention.
Detailed Description
It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
In the following description, suffixes such as "module", "part", or "unit" used to indicate elements are used only for facilitating the description of the present invention, and have no particular meaning in themselves. Thus, "module", "component" or "unit" may be used mixedly.
The wearable device provided by the embodiment of the invention comprises a smart bracelet, a smart watch, a smart terminal and other mobile terminals. With the continuous development of screen technologies, the appearance of screen forms such as flexible screens and folding screens, mobile terminals such as intelligent terminals can also be used as wearable devices. The wearable device provided in the embodiment of the present invention may include: a Radio Frequency (RF) unit, a WiFi module, an audio output unit, an a/V (audio/video) input unit, a sensor, a display unit, a user input unit, an interface unit, a memory, a processor, and a power supply.
In the following description, a wearable device will be taken as an example, please refer to fig. 1, which is a schematic diagram of a hardware structure of a wearable device for implementing various embodiments of the present invention, where the wearable device 100 may include: RF (Radio Frequency) unit 101, WiFi module 102, audio output unit 103, a/V (audio/video) input unit 104, sensor 105, display unit 106, user input unit 107, interface unit 108, memory 109, processor 110, and power supply 111. Those skilled in the art will appreciate that the wearable device structure shown in fig. 1 does not constitute a limitation of the wearable device, and that the wearable device may include more or fewer components than shown, or combine certain components, or a different arrangement of components.
The following describes the various components of the wearable device in detail with reference to fig. 1:
the rf unit 101 may be configured to receive and transmit signals during a message transmission or a call, and specifically, the rf unit 101 may transmit uplink information to a base station, in addition, the downlink information sent by the base station may be received and then sent to the processor 110 of the wearable device for processing, the downlink information sent by the base station to the radio frequency unit 101 may be generated according to the uplink information sent by the radio frequency unit 101, or may be actively pushed to the radio frequency unit 101 after detecting that the information of the wearable device is updated, for example, after detecting that the geographic location where the wearable device is located changes, the base station may send a message notification of the change in the geographic location to the radio frequency unit 101 of the wearable device, and after receiving the message notification, the message notification may be sent to the processor 110 of the wearable device for processing, and the processor 110 of the wearable device may control the message notification to be displayed on the display panel 1061 of the wearable device; typically, radio frequency unit 101 includes, but is not limited to, an antenna, at least one amplifier, a transceiver, a coupler, a low noise amplifier, a duplexer, and the like. In addition, the radio frequency unit 101 may also communicate with a network and other devices through wireless communication, which may specifically include: the server may push a message notification of resource update to the wearable device through wireless communication to remind a user of updating the application program. The wireless communication may use any communication standard or protocol, including but not limited to GSM (Global System for Mobile communications), GPRS (General Packet Radio Service), CDMA2000(Code Division Multiple Access2000 ), WCDMA (Wideband Code Division Multiple Access), TD-SCDMA (Time Division-Synchronous Code Division Multiple Access), FDD-LTE (Frequency Division duplex Long Term Evolution), and TDD-LTE (Time Division duplex Long Term Evolution).
In one embodiment, the wearable device 100 may access an existing communication network by inserting a SIM card.
In another embodiment, the wearable device 100 may be configured with an esim card (Embedded-SIM) to access an existing communication network, and by using the esim card, the internal space of the wearable device may be saved, and the thickness may be reduced.
It is understood that although fig. 1 shows the radio frequency unit 101, it is understood that the radio frequency unit 101 does not belong to the essential constituents of the wearable device, and can be omitted entirely as required within the scope not changing the essence of the invention. The wearable device 100 may implement a communication connection with other devices or a communication network through the wifi module 102 alone, which is not limited by the embodiments of the present invention.
WiFi belongs to short-distance wireless transmission technology, and the wearable device can help a user to send and receive e-mails, browse webpages, access streaming media and the like through the WiFi module 102, and provides wireless broadband Internet access for the user. Although fig. 1 shows the WiFi module 102, it is understood that it does not belong to the essential constitution of the wearable device, and may be omitted entirely as needed within the scope not changing the essence of the invention.
The audio output unit 103 may convert audio data received by the radio frequency unit 101 or the WiFi module 102 or stored in the memory 109 into an audio signal and output as sound when the wearable device 100 is in a call signal reception mode, a talk mode, a recording mode, a voice recognition mode, a broadcast reception mode, or the like. Also, the audio output unit 103 may also provide audio output related to a specific function performed by the wearable device 100 (e.g., a call signal reception sound, a message reception sound, etc.). The audio output unit 103 may include a speaker, a buzzer, and the like.
The a/V input unit 104 is for receiving an audio or video signal. The a/V input Unit 104 may include a Graphics Processing Unit (GPU) 1041 and a microphone 1042, the Graphics processor 1041 Processing image data of still pictures or video obtained by an image capturing device (e.g., a camera) in a video capturing mode or an image capturing mode. The processed image frames may be displayed on the display unit 106. The image frames processed by the graphic processor 1041 may be stored in the memory 109 (or other storage medium) or transmitted via the radio frequency unit 101 or the WiFi module 102. The microphone 1042 can receive sounds (audio data) via the microphone 1042 in a phone call mode, a recording mode, a voice recognition mode, or the like, and can process such sounds into audio data. The processed audio (voice) data may be converted into a format output transmittable to a mobile communication base station via the radio frequency unit 101 in case of the phone call mode. The microphone 1042 may implement various types of noise cancellation (or suppression) algorithms to cancel (or suppress) noise or interference generated in the course of receiving and transmitting audio signals.
In one embodiment, the wearable device 100 includes one or more cameras, and by turning on the cameras, capturing of images can be realized, functions such as photographing and recording can be realized, and the positions of the cameras can be set as required.
The wearable device 100 also includes at least one sensor 105, such as light sensors, motion sensors, and other sensors. Specifically, the light sensor includes an ambient light sensor that can adjust the brightness of the display panel 1061 according to the brightness of ambient light, and a proximity sensor that can turn off the display panel 1061 and/or the backlight when the wearable device 100 moves to the ear. As one of the motion sensors, the accelerometer sensor can detect the magnitude of acceleration in various directions (generally three axes), detect the magnitude and direction of gravity when stationary, and can be used for applications of recognizing the terminal posture (such as horizontal and vertical screen switching, related games, magnetometer posture calibration), vibration recognition related functions (such as pedometer, tapping), and the like.
In one embodiment, the wearable device 100 further comprises a proximity sensor, and the wearable device can realize non-contact operation by adopting the proximity sensor, so that more operation modes are provided.
In one embodiment, the wearable device 100 further comprises a heart rate sensor, which, when worn, enables detection of the heart rate by being in close proximity to the user.
In one embodiment, the wearable device 100 may further include a fingerprint sensor, and by reading the fingerprint, functions such as security verification can be implemented.
The display unit 106 is used to display information input by a user or information provided to the user. The Display unit 106 may include a Display panel 1061, and the Display panel 1061 may be configured in the form of a Liquid Crystal Display (LCD), an Organic Light-Emitting Diode (OLED), or the like.
In one embodiment, the display panel 1061 is a flexible display screen, and when the wearable device using the flexible display screen is worn, the screen can be bent, so that the wearable device is more conformable. Optionally, the flexible display screen may adopt an OLED screen body and a graphene screen body, in other embodiments, the flexible display screen may also be made of other display materials, and this embodiment is not limited thereto.
In one embodiment, the display panel 1061 of the wearable device may take a rectangular shape to wrap around when worn. In other embodiments, other approaches may be taken.
The user input unit 107 may be used to receive input numeric or character information and generate key signal inputs related to user settings and function control of the wearable device. Specifically, the user input unit 107 may include a touch panel 1071 and other input devices 1072. The touch panel 1071, also referred to as a touch screen, can collect touch operations of a user (e.g., operations of a user on the touch panel 1071 or near the touch panel 1071 using a finger, a stylus, or any other suitable object or accessory) thereon or nearby and drive the corresponding connection device according to a predetermined program. The touch panel 1071 may include two parts of a touch detection device and a touch controller. The touch detection device detects the touch direction of a user, detects a signal brought by touch operation and transmits the signal to the touch controller; the touch controller receives touch information from the touch sensing device, converts the touch information into touch point coordinates, sends the touch point coordinates to the processor 110, and can receive and execute commands sent by the processor 110. In addition, the touch panel 1071 may be implemented in various types such as resistive, capacitive, infrared, and surface acoustic wave. The user input unit 107 may include other input devices 1072 in addition to the touch panel 1071. In particular, other input devices 1072 may include, but are not limited to, one or more of a physical keyboard, function keys (e.g., volume control keys, switch keys, etc.), a trackball, a mouse, a joystick, and the like, and are not limited to these specific examples.
In one embodiment, the side of the wearable device 100 may be provided with one or more buttons. The button can realize various modes such as short-time pressing, long-time pressing, rotation and the like, thereby realizing various operation effects. The number of the buttons can be multiple, and different buttons can be combined for use to realize multiple operation functions.
Further, the touch panel 1071 may cover the display panel 1061, and when the touch panel 1071 detects a touch operation thereon or nearby, the touch panel 1071 transmits the touch operation to the processor 110 to determine the type of the touch event, and then the processor 110 provides a corresponding visual output on the display panel 1061 according to the type of the touch event. Although in fig. 1, the touch panel 1071 and the display panel 1061 are two independent components to implement the input and output functions of the wearable device, in some embodiments, the touch panel 1071 and the display panel 1061 may be integrated to implement the input and output functions of the wearable device, which is not limited herein. For example, when receiving a message notification of an application program through the rf unit 101, the processor 110 may control the message notification to be displayed in a predetermined area of the display panel 1061, where the predetermined area corresponds to a certain area of the touch panel 1071, and perform a touch operation on the certain area of the touch panel 1071 to control the message notification displayed in the corresponding area on the display panel 1061.
The interface unit 108 serves as an interface through which at least one external device is connected to the wearable apparatus 100. For example, the external device may include a wired or wireless headset port, an external power supply (or battery charger) port, a wired or wireless data port, a memory card port, a port for connecting a device having an identification module, an audio input/output (I/O) port, a video I/O port, an earphone port, and the like. The interface unit 108 may be used to receive input (e.g., data information, power, etc.) from an external device and transmit the received input to one or more elements within the wearable apparatus 100 or may be used to transmit data between the wearable apparatus 100 and the external device.
In one embodiment, the interface unit 108 of the wearable device 100 is configured as a contact, and is connected to another corresponding device through the contact to implement functions such as charging and connection. The contact can also be waterproof.
The memory 109 may be used to store software programs as well as various data. The memory 109 may mainly include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application program required for at least one function (such as a sound playing function, an image playing function, etc.), and the like; the storage data area may store data (such as audio data, a phonebook, etc.) created according to the use of the terminal, etc. Further, the memory 109 may include high speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid state storage device.
The processor 110 is a control center of the wearable device, and is connected to various parts of the entire wearable device through various interfaces and lines, and performs various functions and processes of the wearable device by operating or executing software programs and/or modules stored in the memory 109 and calling data stored in the memory 109, thereby performing overall monitoring of the wearable device. Processor 110 may include one or more processing units; preferably, the processor 110 may integrate an application processor, which mainly handles operating systems, user interfaces, application programs, etc., and a modem processor, which mainly handles wireless communications. It will be appreciated that the modem processor described above may not be integrated into the processor 110.
The wearable device 100 may further include a power source 111 (such as a battery) for supplying power to various components, and preferably, the power source 111 may be logically connected to the processor 110 through a power management system, so as to implement functions of managing charging, discharging, and power consumption through the power management system.
Although not shown in fig. 1, the wearable device 100 may further include a bluetooth module or the like, which is not described in detail herein. The wearable device 100 can be connected with other terminal devices through bluetooth, so that communication and information interaction are realized.
Please refer to fig. 2-4, which are schematic structural diagrams of a wearable device according to an embodiment of the present invention. The wearable device in the embodiment of the invention comprises a flexible screen. When the wearable device is unfolded, the flexible screen is in a strip shape; when the wearable device is in a wearing state, the flexible screen is bent to be annular. Fig. 2 and 3 show the structural schematic diagram of the wearable device screen when the wearable device screen is unfolded, and fig. 4 shows the structural schematic diagram of the wearable device screen when the wearable device screen is bent.
Based on the above embodiments, it can be seen that, if the device is a watch, a bracelet, or a wearable device, the screen of the device may not cover the watchband region of the device, and may also cover the watchband region of the device. Here, the present application provides an optional implementation manner, in which the device may be a watch, a bracelet, or a wearable device, and the device includes a screen and a connection portion. The screen can be a flexible screen, and the connecting part can be a watchband. Optionally, the screen of the device or the display area of the screen may partially or completely cover the watchband of the device. As shown in fig. 5, fig. 5 is a hardware schematic diagram of an implementation manner of a wearable device provided in an embodiment of the present application, where a screen of the device extends to both sides, and a part of the screen covers a watchband of the device. In other embodiments, the screen of the device may also be entirely covered on the watchband of the device, and this is not limited in this application.
Fig. 6 is a flowchart of an implementation of the positioning method of the present invention, which is applied to the wearable device shown in the above diagram. In this embodiment, the wearable device is preferably a smart watch, and specifically, the method includes the following steps.
In step S600, the wearable device positioning requirement is determined.
In this embodiment, the positioning requirements include a first positioning requirement and a second positioning requirement, wherein the required positioning accuracy of the first positioning requirement is higher than the required positioning accuracy of the second positioning requirement. Therefore, the step of determining the positioning requirement of the wearable device specifically includes: judging whether the application started by the wearable device is a map application or not; if yes, determining that the wearable equipment positioning requirement is a first positioning requirement; if not, determining that the positioning requirement of the wearable equipment is a second positioning requirement. In particular, in an application scenario of a wearable device, if map navigation is involved, higher positioning accuracy is required, and for some other applications, such as position location within some applications, such as a city location in the U.S. Pat., the higher positioning requirement is not required. Therefore, if the application started by the wearable device is the map application, the positioning requirement of the wearable device is the first positioning requirement, and if the application started by the wearable device is the other application, the positioning requirement of the wearable device is the second positioning requirement.
In step S602, a terminal meeting a preset condition is selected based on the positioning requirement.
In this embodiment, it should be noted that the terminal is a terminal different from the wearable device and connected to the wearable device. Of course, the terminal also includes other wearable devices distinct from the wearable device. The preset condition is a preset distance range between the terminal and the wearable device, for example, a distance between the terminal and the wearable device within 1 meter, and once the distance between the terminal and the wearable device exceeds the preset distance, the information communication between the terminal and the wearable device is not very accurate, and especially the difference between the positioning data of the terminal and the positioning data of the wearable device is larger. Therefore, the step of selecting whether to connect a terminal meeting a preset condition based on the positioning requirement specifically includes: when the positioning requirement is a first positioning requirement, judging whether the distance between the terminal and the wearable device meets the preset condition; and if so, connecting the terminal. The wearable device can be selectively connected with the terminal within the preset distance range of the wearable device when the wearable device needs high-precision positioning.
In step S604, first positioning information of the terminal and second positioning information of the wearable device are obtained.
In this embodiment, because the terminal has a hardware advantage over the wearable device, the positioning information of the terminal is generally stronger than that of the wearable device, so the positioning information of the terminal can be used as the first positioning information, where the first positioning information includes network positioning information of the terminal and satellite positioning information of the terminal, the network positioning information is based on a network module of the terminal, and the satellite positioning information of the terminal is based on a satellite positioning module of the terminal, such as a GPS positioning module, a beidou navigation positioning module, or other satellite positioning modules.
In step S606, target positioning information is determined according to the first positioning information and the second positioning information.
In this embodiment, when the second positioning information is any one of network positioning information and satellite positioning information of the wearable device, it indicates that the accuracy of the second positioning information of the wearable device is significantly lower than that of the first positioning information of the terminal, and therefore the first positioning information needs to be determined as the target positioning information.
In this embodiment, when the second positioning information is network positioning information and satellite positioning information of the wearable device, it is indicated that the dimensions of the positioning information of the terminal and the wearable device are the same at this time, and therefore, it is necessary to determine the positioning quality of the first positioning information and the second positioning information, where the positioning quality may be determined based on the network connection quality of the terminal and the wearable device, and if the network connection quality of the terminal is higher than that of the wearable device, the first positioning information is used as target positioning information, and if the network connection quality of the terminal is lower than that of the wearable device, the second positioning information is used as target positioning information.
In step S608, positioning is performed based on the target positioning information.
In this embodiment, after the target positioning information is determined, the currently opened application is positioned based on the target positioning information, and then accurate positioning information is presented to the user.
By implementing the positioning method, a user can obtain better user experience when the user uses the wearable device to run the application with high positioning precision.
Fig. 7 is a functional block diagram of a wearable device, which includes a confirmation module 700, a connection module 702, an acquisition module 704, and a location module 706, where the program modules are stored in a memory 708 as hard program codes and executed by a processor 710 to implement the steps or methods of the above embodiments.
The validation module 700 is configured to determine the wearable device location requirement.
In this embodiment, the positioning requirements include a first positioning requirement and a second positioning requirement, wherein the required positioning accuracy of the first positioning requirement is higher than the required positioning accuracy of the second positioning requirement. Therefore, the step of determining the positioning requirement of the wearable device specifically includes: judging whether the application started by the wearable device is a map application; if yes, determining that the wearable equipment positioning requirement is a first positioning requirement; if not, determining that the wearable device positioning requirement is a second positioning requirement. In particular, in an application scenario of a wearable device, if map navigation is involved, higher positioning accuracy is required, and for some other applications, such as position location within some applications, such as a city location in the U.S. Pat., the higher positioning requirement is not required. Therefore, if the application started by the wearable device is the map application, the positioning requirement of the wearable device is the first positioning requirement, and if the application started by the wearable device is the other application, the positioning requirement of the wearable device is the second positioning requirement.
The connection module 702 is configured to select a terminal meeting a preset condition based on the positioning requirement.
In this embodiment, the preset condition is a preset distance range between the terminal and the wearable device, for example, a distance between the terminal and the wearable device is within 1 meter, and once the distance between the terminal and the wearable device exceeds the preset distance, the information communication between the terminal and the wearable device will not be very accurate, and especially, the difference between the positioning data of the terminal and the positioning data of the wearable device is larger. Therefore, the step of selecting whether to connect the terminal meeting the preset condition based on the positioning requirement specifically includes: when the positioning requirement is a first positioning requirement, judging whether the distance between the terminal and the wearable equipment meets the preset condition; and if so, connecting the terminal. The wearable device can be selectively connected with the terminal within the preset distance range of the wearable device when the wearable device needs high-precision positioning.
The obtaining module 704 is configured to obtain first positioning information of the terminal and second positioning information of the wearable device.
In this embodiment, because the terminal has a hardware advantage over the wearable device, the positioning information of the terminal is generally stronger than that of the wearable device, so the positioning information of the terminal can be used as the first positioning information, where the first positioning information includes network positioning information of the terminal and satellite positioning information of the terminal, the network positioning information is based on a network module of the terminal, and the satellite positioning information of the terminal is based on a satellite positioning module of the terminal, such as a GPS positioning module, a beidou navigation positioning module, or other satellite positioning modules.
The validation module 700 is further configured to determine target positioning information according to the first positioning information and the second positioning information.
In this embodiment, when the second positioning information is any one of the network positioning information and the satellite positioning information of the wearable device, it indicates that the accuracy of the second positioning information of the wearable device is significantly lower than that of the first positioning information of the terminal, and therefore the first positioning information needs to be determined as the target positioning information.
In this embodiment, when the second positioning information is network positioning information and satellite positioning information of the wearable device, it is indicated that the dimensions of the positioning information of the terminal and the wearable device are the same at this time, and therefore, it is necessary to determine the positioning quality of the first positioning information and the second positioning information, where the positioning quality may be determined based on the network connection quality of the terminal and the wearable device, and if the network connection quality of the terminal is higher than that of the wearable device, the first positioning information is used as target positioning information, and if the network connection quality of the terminal is lower than that of the wearable device, the second positioning information is used as target positioning information.
The positioning module 706 is configured to perform positioning based on the target positioning information.
In the embodiment, after the target positioning information is determined, the currently opened application is positioned based on the target positioning information, and then accurate positioning information is presented to the user.
By implementing the positioning method, a user can obtain better user experience when the user uses the wearable device to run the application with high positioning precision.
Fig. 8 is a schematic view of the wearable device of the present invention. As shown in fig. 8, the wearable device includes at least: a memory 801, a communication bus 802, and a processor 803. Wherein:
the memory 801 is used for positioning programs;
the communication bus 802 is used for realizing connection communication between the processor and the memory;
the processor 803 is configured to execute the positioning program stored in the memory to implement the following steps:
determining the wearable device positioning requirements.
In this embodiment, the positioning requirements include a first positioning requirement and a second positioning requirement, where a required positioning accuracy of the first positioning requirement is higher than a required positioning accuracy of the second positioning requirement. Therefore, the step of determining the positioning requirement of the wearable device specifically includes: judging whether the application started by the wearable device is a map application or not; if yes, determining that the wearable equipment positioning requirement is a first positioning requirement; if not, determining that the wearable device positioning requirement is a second positioning requirement. In particular, in an application scenario of a wearable device, if map navigation is involved, higher positioning accuracy is required, and for some other applications, such as position location within some applications, such as a city location in the U.S. Pat., the higher positioning requirement is not required. Therefore, if the application started by the wearable device is the map application, the positioning requirement of the wearable device is the first positioning requirement, and if the application started by the wearable device is the other application, the positioning requirement of the wearable device is the second positioning requirement.
And selecting a terminal which is connected with the terminal according with the preset condition based on the positioning requirement.
In this embodiment, the preset condition is a preset distance range between the terminal and the wearable device, for example, a distance between the terminal and the wearable device within 1 meter, and once the distance between the terminal and the wearable device exceeds the preset distance, the information communication between the terminal and the wearable device will not be very accurate, and especially the difference between the positioning data of the terminal and the positioning data of the wearable device is larger. Therefore, the step of selecting whether to connect a terminal meeting a preset condition based on the positioning requirement specifically includes: when the positioning requirement is a first positioning requirement, judging whether the distance between the terminal and the wearable equipment meets the preset condition; and if so, connecting the terminal. Namely, the wearable device can be selectively connected with the terminal within the preset distance range of the wearable device when the wearable device needs high-precision positioning.
And acquiring first positioning information of the terminal and second positioning information of the wearable device.
In this embodiment, because of the hardware advantages of the terminal relative to the wearable device, the positioning information of the terminal is generally stronger than that of the wearable device, so the positioning information of the terminal can be used as the first positioning information, where the first positioning information includes network positioning information of the terminal and satellite positioning information of the terminal, the network positioning information is based on a network module of the terminal, and the satellite positioning information of the terminal is based on a satellite positioning module of the terminal, such as a GPS positioning module, a beidou navigation positioning module, or other satellite positioning modules.
And determining target positioning information according to the first positioning information and the second positioning information.
In this embodiment, when the second positioning information is any one of network positioning information and satellite positioning information of the wearable device, it indicates that the accuracy of the second positioning information of the wearable device is significantly lower than that of the first positioning information of the terminal, and therefore the first positioning information needs to be determined as the target positioning information.
In this embodiment, when the second positioning information is network positioning information and satellite positioning information of the wearable device, it is indicated that the dimensions of the positioning information of the terminal and the wearable device are the same at this time, and therefore, it is necessary to determine the positioning quality of the first positioning information and the second positioning information, where the positioning quality may be determined based on the network connection quality of the terminal and the wearable device, and if the network connection quality of the terminal is higher than that of the wearable device, the first positioning information is used as target positioning information, and if the network connection quality of the terminal is lower than that of the wearable device, the second positioning information is used as target positioning information.
And positioning based on the target positioning information.
In the embodiment, after the target positioning information is determined, the currently opened application is positioned based on the target positioning information, and then accurate positioning information is presented to the user.
By implementing the positioning method, a user can obtain better user experience when the user uses the wearable device to run an application with high positioning precision.
The invention also provides a storage medium which is a computer readable storage medium. The computer readable storage medium has stored thereon a positioning program which when executed by a processor implements the steps as described above.
It will be understood by those skilled in the art that all or part of the processes of the methods of the embodiments described above can be implemented by a computer program, which can be stored in a non-volatile computer-readable storage medium, and can include the processes of the embodiments of the methods described above when the program is executed. Any reference to memory, storage, database or other medium used in the embodiments provided herein can include non-volatile and/or volatile memory. Non-volatile memory can include read-only memory (ROM), Programmable ROM (PROM), Electrically Programmable ROM (EPROM), Electrically Erasable Programmable ROM (EEPROM), or flash memory. Volatile memory can include Random Access Memory (RAM) or external cache memory. By way of illustration and not limitation, RAM is available in a variety of forms such as Static RAM (SRAM), Dynamic RAM (DRAM), Synchronous DRAM (SDRAM), Double Data Rate SDRAM (DDRSDRAM), Enhanced SDRAM (ESDRAM), synchronous Link (Synchlink) DRAM (SLDRAM), Rambus (Rambus) direct RAM (RDRAM), direct bused dynamic RAM (DRDRAM), and bused dynamic RAM (RDRAM).
Other embodiments of the present application will be apparent to those skilled in the art from consideration of the specification and practice of the invention disclosed herein. This application is intended to cover any variations, uses, or adaptations of the invention following, in general, the principles of the application and including such departures from the present disclosure as come within known or customary practice within the art to which the invention pertains. It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the application being indicated by the following claims.
It will be understood that the present application is not limited to the precise arrangements described above and shown in the drawings and that various modifications and changes may be made without departing from the scope thereof. The scope of the application is limited only by the appended claims.

Claims (9)

1. A positioning method is applied to wearable equipment, and is characterized in that the method comprises the following steps:
determining the positioning requirements of the wearable device, wherein the positioning requirements comprise a first positioning requirement and a second positioning requirement, and the required positioning accuracy of the first positioning requirement is higher than the required positioning accuracy of the second positioning requirement;
selecting a terminal meeting a preset condition based on the positioning requirement;
acquiring first positioning information of the terminal and second positioning information of the wearable device;
determining target positioning information according to the first positioning information and the second positioning information;
positioning based on the target positioning information;
determining the first positioning information as the target positioning information when the second positioning information is any one of network positioning information and satellite positioning information of the wearable device;
when the second positioning information is the network positioning information and the satellite positioning information of the wearable device, the positioning quality of the first positioning information and the second positioning information is judged, wherein the positioning quality is judged based on the network connection quality of the terminal and the wearable device, if the network connection quality of the terminal is higher than the network connection quality of the wearable device, the first positioning information is used as target positioning information, and if the network connection quality of the terminal is lower than the network connection quality of the wearable device, the second positioning information is used as target positioning information.
2. The positioning method of claim 1, wherein the step of determining the positioning requirements of the wearable device specifically comprises:
judging whether the application started by the wearable device is a map application;
if yes, determining that the positioning requirement of the wearable equipment is a first positioning requirement;
if not, determining that the positioning requirement of the wearable equipment is a second positioning requirement.
3. The positioning method according to claim 1, wherein the preset condition is a preset distance range between the terminal and the wearable device.
4. The method as claimed in claim 1, wherein the step of selecting whether to connect the terminal meeting the predetermined condition based on the positioning requirement specifically comprises:
when the positioning requirement is a first positioning requirement, judging whether the distance between the terminal and the wearable equipment meets the preset condition;
and if so, connecting the terminal.
5. The positioning method according to claim 1, wherein the first positioning information includes network positioning information of the terminal and satellite positioning information of the terminal.
6. The positioning method according to claim 5, wherein the second positioning information is any one of network positioning information of the wearable device and satellite positioning information of the wearable device, and the step of determining the target positioning information according to the first positioning information and the second positioning information specifically comprises:
and taking the first positioning information as the target positioning information.
7. The positioning method of claim 5, wherein the second positioning information is network positioning information of the wearable device and satellite positioning information of the wearable device, and the step of determining the target positioning information according to the first positioning information and the second positioning information specifically comprises:
judging the positioning quality of the first positioning information and the second positioning information;
and if the positioning quality of the first positioning information is higher than that of the second positioning information, taking the first positioning information as the target positioning information.
8. A wearable device, characterized in that the wearable device comprises: a memory, a communication bus, and a processor, wherein:
the memory is used for storing a positioning program;
the communication bus is used for realizing connection communication between the processor and the memory;
the processor is configured to execute a positioning program stored in the memory to implement the steps of the positioning method according to any one of claims 1 to 7.
9. A computer-readable storage medium, in which a computer program is stored, wherein the computer program is arranged to execute the positioning method according to any of claims 1 to 7 when running.
CN201910704914.9A 2019-07-30 2019-07-30 Positioning method, wearable device and computer-readable storage medium Active CN110418406B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910704914.9A CN110418406B (en) 2019-07-30 2019-07-30 Positioning method, wearable device and computer-readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910704914.9A CN110418406B (en) 2019-07-30 2019-07-30 Positioning method, wearable device and computer-readable storage medium

Publications (2)

Publication Number Publication Date
CN110418406A CN110418406A (en) 2019-11-05
CN110418406B true CN110418406B (en) 2022-08-19

Family

ID=68364911

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910704914.9A Active CN110418406B (en) 2019-07-30 2019-07-30 Positioning method, wearable device and computer-readable storage medium

Country Status (1)

Country Link
CN (1) CN110418406B (en)

Family Cites Families (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP2427725A4 (en) * 2009-05-04 2013-07-03 Tomtom North America Inc Navigation device & method
CN107925707B (en) * 2015-08-10 2020-10-20 精工爱普生株式会社 Position information utilization system, gateway device, and wearable device
CN105242525A (en) * 2015-10-09 2016-01-13 电子科技大学中山学院 Wearable intelligent watch capable of realizing Beidou GPS positioning
CN105629262A (en) * 2016-01-13 2016-06-01 广东欧珀移动通信有限公司 Positioning method, master device, slave device and positioning system
CN107529339A (en) * 2016-05-09 2017-12-29 深圳市欸阿技术有限公司 The method of wearable device and its indoor navigation
CN107544085B (en) * 2016-06-24 2021-02-12 华为终端有限公司 Positioning method and wearable device
US9949068B2 (en) * 2016-09-19 2018-04-17 Qualcomm Incorporated Method and apparatus for to determine the location of a wearable device
CN107948953A (en) * 2016-10-13 2018-04-20 中兴通讯股份有限公司 Location determining method and device, the terminal of a kind of wearable device
CN108121002A (en) * 2016-11-28 2018-06-05 纳恩博(北京)科技有限公司 A kind of localization method and device
CN107015256A (en) * 2017-03-31 2017-08-04 上海斐讯数据通信技术有限公司 Wearable electronic and Position Fixing Navigation System
CN108882209A (en) * 2018-06-04 2018-11-23 上海康斐信息技术有限公司 Wearable device and its anti-lost processing method, device
CN109041212B (en) * 2018-08-15 2020-09-04 广东小天才科技有限公司 Positioning method and wearable device
CN109782318A (en) * 2018-11-13 2019-05-21 斯沃德教育科技股份有限公司 A kind of wearable positioning device, equipment and clothes
CN109976458A (en) * 2019-04-29 2019-07-05 努比亚技术有限公司 A kind of map view method, wearable device and computer readable storage medium

Also Published As

Publication number Publication date
CN110418406A (en) 2019-11-05

Similar Documents

Publication Publication Date Title
CN109982179B (en) Audio signal output method and device, wearable device and storage medium
CN110299100B (en) Display direction adjustment method, wearable device and computer readable storage medium
CN110213810B (en) Wearable device control method, wearable device and computer-readable storage medium
CN108551525B (en) State determination method of movement track and mobile terminal
CN110177209B (en) Video parameter regulation and control method, device and computer readable storage medium
CN110099218B (en) Interactive control method and device in shooting process and computer readable storage medium
CN110187769B (en) Preview image viewing method, equipment and computer readable storage medium
CN110060062B (en) Information exchange method after wearable device is lost, wearable device and storage medium
CN109947524B (en) Interface display method, wearable device and computer readable storage medium
CN110071866B (en) Instant messaging application control method, wearable device and storage medium
CN110069136B (en) Wearing state identification method and equipment and computer readable storage medium
CN110177208B (en) Video recording association control method, equipment and computer readable storage medium
CN110086808B (en) Account login control method and device and computer readable storage medium
CN110072071B (en) Video recording interaction control method, equipment and computer readable storage medium
CN110657794A (en) Compass calibration method of wearable device, wearable device and storage medium
CN109618278B (en) Positioning method and mobile terminal
CN110138965B (en) Wearable device, number formatting method and device thereof, and storage medium
CN110418406B (en) Positioning method, wearable device and computer-readable storage medium
CN109901812B (en) Volume adjustment method for wearable device, wearable device and readable storage medium
CN110650289B (en) Shooting depth of field control method, equipment and computer readable storage medium
CN110109605B (en) Image sharing method and device and computer readable storage medium
CN110018775B (en) Content display method, terminal and computer readable storage medium
CN109976613B (en) Text input implementation method, wearable device and computer-readable storage medium
CN110187770B (en) Wrist strap voice control interaction method and device and computer readable storage medium
CN110049253B (en) Focusing control method and device and computer readable 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