CN114675315A - Positioning method, positioning device and electronic equipment - Google Patents

Positioning method, positioning device and electronic equipment Download PDF

Info

Publication number
CN114675315A
CN114675315A CN202210383292.6A CN202210383292A CN114675315A CN 114675315 A CN114675315 A CN 114675315A CN 202210383292 A CN202210383292 A CN 202210383292A CN 114675315 A CN114675315 A CN 114675315A
Authority
CN
China
Prior art keywords
positioning data
positioning
electronic device
data
electronic equipment
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202210383292.6A
Other languages
Chinese (zh)
Inventor
王林刚
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Vivo Mobile Communication Co Ltd
Original Assignee
Vivo Mobile Communication 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 Vivo Mobile Communication Co Ltd filed Critical Vivo Mobile Communication Co Ltd
Priority to CN202210383292.6A priority Critical patent/CN114675315A/en
Publication of CN114675315A publication Critical patent/CN114675315A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G01MEASURING; TESTING
    • G01SRADIO DIRECTION-FINDING; RADIO NAVIGATION; DETERMINING DISTANCE OR VELOCITY BY USE OF RADIO WAVES; LOCATING OR PRESENCE-DETECTING BY USE OF THE REFLECTION OR RERADIATION OF RADIO WAVES; ANALOGOUS ARRANGEMENTS USING OTHER WAVES
    • G01S19/00Satellite radio beacon positioning systems; Determining position, velocity or attitude using signals transmitted by such systems
    • G01S19/38Determining a navigation solution using signals transmitted by a satellite radio beacon positioning system
    • G01S19/39Determining a navigation solution using signals transmitted by a satellite radio beacon positioning system the satellite radio beacon positioning system transmitting time-stamped messages, e.g. GPS [Global Positioning System], GLONASS [Global Orbiting Navigation Satellite System] or GALILEO
    • G01S19/42Determining position
    • G01S19/45Determining position by combining measurements of signals from the satellite radio beacon positioning system with a supplementary measurement
    • G01S19/46Determining position by combining measurements of signals from the satellite radio beacon positioning system with a supplementary measurement the supplementary measurement being of a radio-wave signal type
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01SRADIO DIRECTION-FINDING; RADIO NAVIGATION; DETERMINING DISTANCE OR VELOCITY BY USE OF RADIO WAVES; LOCATING OR PRESENCE-DETECTING BY USE OF THE REFLECTION OR RERADIATION OF RADIO WAVES; ANALOGOUS ARRANGEMENTS USING OTHER WAVES
    • G01S19/00Satellite radio beacon positioning systems; Determining position, velocity or attitude using signals transmitted by such systems
    • G01S19/38Determining a navigation solution using signals transmitted by a satellite radio beacon positioning system
    • G01S19/39Determining a navigation solution using signals transmitted by a satellite radio beacon positioning system the satellite radio beacon positioning system transmitting time-stamped messages, e.g. GPS [Global Positioning System], GLONASS [Global Orbiting Navigation Satellite System] or GALILEO
    • G01S19/42Determining position
    • G01S19/45Determining position by combining measurements of signals from the satellite radio beacon positioning system with a supplementary measurement
    • G01S19/47Determining position by combining measurements of signals from the satellite radio beacon positioning system with a supplementary measurement the supplementary measurement being an inertial measurement, e.g. tightly coupled inertial
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W84/00Network topologies
    • H04W84/02Hierarchically pre-organised networks, e.g. paging networks, cellular networks, WLAN [Wireless Local Area Network] or WLL [Wireless Local Loop]
    • H04W84/10Small scale networks; Flat hierarchical networks
    • H04W84/12WLAN [Wireless Local Area Networks]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W88/00Devices specially adapted for wireless communication networks, e.g. terminals, base stations or access point devices
    • H04W88/08Access point devices

Abstract

The application discloses a positioning method, a positioning device and electronic equipment, and belongs to the technical field of communication. The positioning method is applied to first electronic equipment, the first electronic equipment is in communication connection with wearable equipment, and the positioning method comprises the following steps: acquiring first positioning data acquired by a first positioning module; sending first positioning data to the wearable electronic equipment; under the condition of receiving second positioning data sent by the wearable electronic equipment, determining target positioning data from the second positioning data and the first positioning data, wherein the second positioning data is determined by the wearable electronic equipment according to the first positioning data received last time; and determining the position information of the first electronic equipment according to the object positioning data.

Description

Positioning method, positioning device and electronic equipment
Technical Field
The present application belongs to the field of communication technologies, and in particular, to a positioning method, a positioning apparatus, and an electronic device.
Background
With the popularization and application of the positioning system, the position information service is widely applied in daily life, and convenience is brought to the user for going out.
In actual life, if there are many shelters (such as many buildings in cities) above the position of the mobile terminal, part of satellite signals cannot directly irradiate the mobile terminal, and the satellite signals need to be reflected by the shelters and then enter the mobile terminal, so that the positioning information is inaccurate. In the related art, a GPS L5 antenna is usually added to a positioning device to solve the problem of inaccurate positioning caused by positioning drift of the device, but the GPS L5 antenna has low efficiency, so that the requirement of a user for obtaining high-precision positioning by using a mobile terminal in low-speed movement cannot be met, and the positioning accuracy is low.
Disclosure of Invention
The embodiment of the application aims to provide a positioning method, a positioning device and electronic equipment, which can solve the problem that a user uses a mobile terminal to obtain lower positioning during low-speed movement, and improve the positioning accuracy.
In a first aspect, an embodiment of the present application provides a positioning method, which is applied to a first electronic device, where the first electronic device is in communication connection with a wearable device, and the method includes:
acquiring first positioning data acquired by a first positioning module;
transmitting the first positioning data to the wearable electronic device;
under the condition of receiving second positioning data sent by the wearable electronic device, determining target positioning data from the second positioning data and the first positioning data, wherein the second positioning data is determined by the wearable electronic device according to the first positioning data received last time;
and determining the position information of the first electronic equipment according to the object positioning data.
In a second aspect, an embodiment of the present application provides another positioning method, which is applied to a first electronic device, where the first electronic device is in communication connection with a wearable device, and the method includes:
acquiring first positioning data acquired by a first positioning module;
transmitting the first positioning data to the wearable electronic device;
under the condition of receiving second positioning data sent by the wearable electronic device, determining the position information of the first electronic device according to the second positioning data.
In a third aspect, an embodiment of the present application provides another positioning method, which is applied to a wearable electronic device, where the wearable electronic device is in communication connection with a first electronic device, and the method includes:
receiving first positioning data sent by the first electronic equipment;
determining second positioning data based on the first positioning data received last time;
and sending second positioning data to the first electronic equipment under the condition that the offset of the second positioning data relative to the first positioning data received this time is larger than a second threshold value.
In a fourth aspect, an embodiment of the present application provides a positioning apparatus, which is applied to a first electronic device, where the first electronic device is in communication connection with a wearable device, and the apparatus includes:
the first acquisition module is used for acquiring first positioning data acquired by the first positioning module;
the first sending module is used for sending the first positioning data to the wearable electronic equipment;
the wearable electronic device comprises a first processing module and a second processing module, wherein the first processing module is used for determining target positioning data from the second positioning data and the first positioning data under the condition of receiving the second positioning data sent by the wearable electronic device, the second positioning data is determined by the wearable electronic device according to the first positioning data received last time, and the position information of the first electronic device is determined according to the target positioning data.
In a fifth aspect, an embodiment of the present application provides a positioning apparatus, which is applied to a first electronic device, where the first electronic device is in communication connection with a wearable device, and the apparatus further includes:
the second acquisition module is used for acquiring the first positioning data acquired by the first positioning module;
the second sending module is used for sending the first positioning data to the wearable electronic equipment;
the second processing module is used for determining the position information of the first electronic equipment according to second positioning data sent by the wearable electronic equipment under the condition of receiving the second positioning data.
In a sixth aspect, an embodiment of the present application provides a positioning device, which is applied to a wearable electronic device, where the wearable device is in communication connection with a first electronic device, and the positioning device includes:
the first receiving module is used for receiving first positioning data sent by the first electronic equipment;
the third processing module is used for determining second positioning data based on the first positioning data received last time;
a third sending module, configured to send the second positioning data to the first electronic device when an offset of the second positioning data with respect to the first positioning data received this time is greater than a second threshold.
In a seventh aspect, an embodiment of the present application provides an electronic device, which includes a processor and a memory, where the memory stores a program or instructions executable on the processor, and the program or instructions, when executed by the processor, implement the steps of the method according to the first, second or third aspect.
In an eighth aspect, the present application provides a readable storage medium, on which a program or instructions are stored, which when executed by a processor implement the steps of the method according to the first, second or third aspect.
In a ninth aspect, embodiments of the present application provide a chip, where the chip includes a processor and a communication interface, where the communication interface is coupled to the processor, and the processor is configured to execute a program or instructions to implement the method according to the first aspect, the second aspect, or the third aspect.
In a tenth aspect, embodiments of the present application provide a computer program product, stored on a storage medium, for execution by at least one processor to implement a method as described in the first, second or third aspect.
In this application embodiment, through the communication connection between wearable electronic equipment and the first electronic equipment increase first electronic equipment's location data to confirm best location data from a plurality of location data, improved first electronic equipment location accuracy under the complex environment.
Drawings
Fig. 1 is a schematic flowchart of a positioning method according to an embodiment of the present application;
fig. 2 is a second schematic flowchart of a positioning method according to an embodiment of the present application;
fig. 3 is a third schematic flowchart of a positioning method according to an embodiment of the present application;
fig. 4 is an interaction diagram of a positioning method provided in an embodiment of the present application;
fig. 5 is a second interaction diagram of the positioning method according to the embodiment of the present application;
FIG. 6 is a schematic interface diagram of a positioning method according to an embodiment of the present disclosure;
FIG. 7 is a second schematic interface diagram of a positioning method according to an embodiment of the present application;
fig. 8 is a third schematic interface diagram of a positioning method according to an embodiment of the present application;
FIG. 9 is a fourth schematic interface diagram of a positioning method according to an embodiment of the present application;
FIG. 10 is a fifth exemplary interface diagram of a positioning method according to an embodiment of the present disclosure;
FIG. 11 is a sixth schematic interface diagram of a positioning method according to an embodiment of the present application;
FIG. 12 is a schematic structural diagram of a positioning device according to an embodiment of the present disclosure;
fig. 13 is a second schematic structural diagram of a positioning device according to an embodiment of the present application;
fig. 14 is a third schematic structural diagram of a positioning device according to an embodiment of the present application;
fig. 15 is a schematic structural diagram of an electronic device provided in an embodiment of the present application;
FIG. 16 is a hardware diagram of an electronic device provided by an embodiment of the present application;
fig. 17 is a second hardware schematic diagram of an electronic device according to an embodiment of the present application;
fig. 18 is a third hardware schematic diagram of an electronic device according to an embodiment of the present application.
Detailed Description
The technical solutions in the embodiments of the present application will be described clearly below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are some, but not all, embodiments of the present application. All other embodiments that can be derived by one of ordinary skill in the art from the embodiments given herein are intended to be within the scope of the present disclosure.
The terms first, second and the like in the description and in the claims of the present application are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It will be appreciated that the data so used may be interchanged under appropriate circumstances such that embodiments of the application may be practiced in sequences other than those illustrated or described herein, and that the terms "first," "second," and the like are generally used herein in a generic sense and do not limit the number of terms, e.g., the first term can be one or more than one. In addition, "and/or" in the specification and claims means at least one of connected objects, a character "/" generally means that a preceding and succeeding related objects are in an "or" relationship.
The following describes in detail a positioning method and a positioning apparatus provided in the embodiments of the present application with reference to the accompanying drawings through specific embodiments and application scenarios thereof.
The positioning method may be applied to the terminal, and may be specifically executed by hardware or software in the terminal.
The terminal includes, but is not limited to, a mobile phone or other portable communication device such as a tablet computer having a touch sensitive surface (e.g., a touch screen display and/or a touch pad). It should also be understood that in some embodiments, the terminal may not be a portable communication device, but rather a desktop computer having a touch-sensitive surface (e.g., a touch screen display and/or touchpad).
In the following various embodiments, a terminal including a display and a touch-sensitive surface is described. It should be understood that the terminal may include one or more other physical user interface devices such as a physical keyboard, mouse, and joystick.
In the positioning method provided in the embodiment of the present application, an execution subject of the positioning method may be an electronic device or a functional module or a functional entity capable of implementing the positioning method in the electronic device, the electronic device mentioned in the embodiment of the present application includes, but is not limited to, a mobile phone, a tablet computer, a notebook computer, a wearable device, and the like, and the positioning method provided in the embodiment of the present application is described below with the electronic device as the execution subject.
The embodiment of the application provides a positioning method.
It should be noted that, for the positioning method, the positioning method is applied to a first electronic device, and an execution subject of the positioning method is the first electronic device, including but not limited to a mobile terminal, such as a mobile phone, a tablet computer, a watch, and the like; or a control device of the first electronic device; or a server communicatively connected to the first electronic device, etc.
As shown in fig. 1, the positioning method includes: step 110, step 120 and step 130.
It can be understood that when the first electronic device works normally, the user can turn on the GPS switch to start the positioning service and turn on the map display interface; wherein, first electronic equipment and wearable equipment communication connection.
It should be noted that, the mode of establishing communication connection between the first electronic device and the wearable electronic device may be connection in a non-networking state such as bluetooth or infrared, or connection in a networking state such as a WIFI hotspot, or communication connection performed by using a transmission medium, which is not limited herein.
And 110, acquiring first positioning data acquired by the first positioning module.
In this step, the positioning module is a device that is built in the first electronic device and has a positioning function, and the first positioning module is capable of acquiring first positioning data of the first electronic device, where the first positioning data includes real-time geographic location information of the first electronic device, and the location information may be time, longitude, latitude, and other information.
It should be noted that, the first positioning module built in the first electronic device in this embodiment may be a GPS signal receiver or a beidou receiver, and performs GPS positioning or beidou positioning on the first electronic device by receiving a satellite signal transmitted by a GPS satellite or a beidou satellite in the space; the first positioning module can also be a base station signal receiver, and performs base station positioning on the first electronic device by receiving signals transmitted by a base station of an operator such as telecom, mobile or Unicom; the first positioning module can also be a WIFI signal receiver, and the first electronic equipment is positioned in real time by connecting with a WIFI hotspot in a nearby area.
In this embodiment, before the first positioning module is used to collect the first positioning data, the first positioning module may be started by receiving an input from a user, and after the positioning module receives the position signal, the real-time geographic position of the first electronic device corresponding to the first positioning module may be calculated.
In the embodiment, the input of a user is received, a map display interface is displayed on the display interface of the first electronic device in response to the display interface of the first electronic device, and the real-time geographic position of the first electronic device is displayed on the map display interface after the positioning module receives the position signal and performs positioning calculation.
Wherein, the input can be at least one of the following modes:
for one, the input may be a touch input, including but not limited to a click input, a slide input, a press input, and the like.
In this embodiment, the receiving of the input of the user may be receiving a touch operation of the user on a display interface of the first electronic device.
In order to reduce the misoperation rate of the user, the active area of the first electronic device can be limited to a specific area, such as a blank area of the display interface of the first electronic device.
In the embodiment shown in fig. 6, after the first electronic device receives the input from the user, and clicks the map application software on the first electronic device, the positioning system is turned on to enter the map display interface 610, and after the first positioning module receives the signal transmitted by the satellite, the first positioning data 611 (corresponding to positioning 1) can be displayed on the map display interface 610.
Second, the input may be physical key input.
In this embodiment, the body of the terminal is provided with an entity key for starting the positioning function of the first electronic device, and the receiving of the user input may be an operation of receiving the user pressing the corresponding entity key; the input may also be a combined operation of pressing multiple physical cases simultaneously.
Third, the input may be presented as a voice input.
In this embodiment, after the terminal opens the display interface of the first electronic device, the terminal may automatically pop up a map display interface and real-time location information on the display interface of the first electronic device after receiving the voice as "start positioning".
Of course, in other embodiments, the input may be in other forms, including but not limited to character input, and the like, which may be determined according to actual needs, and this embodiment does not limit this.
In this embodiment, the first positioning data of the first electronic device is obtained by the first positioning module, which is a precondition for determining the object positioning data of the first electronic device.
And step 120, transmitting the first positioning data to the wearable electronic equipment.
In this step, the first electronic device may send first positioning data acquired at different times to the wearable electronic device at a fixed sending frequency, where the sending frequency may range from 0.1s to 30s, for example, after the first electronic device starts a positioning service, the first electronic device sends positioning data of the current position of the user to the wearable device every 1 s; the first electronic device may not send the first positioning data to the wearable electronic device at the fixed sending frequency, and the first positioning data of the current position may be continuously sent only when the user moves more than a certain range within a certain time, where the range may be set to 10m to 500m, for example, after the first positioning data is sent for the first time, the first positioning data of the current position is sent only after the user walks for 100 m.
It should be noted that the wearable electronic device is a portable electronic device with a positioning function, and may be a bluetooth headset, a pair of wearing glasses, a watch, a bracelet, or a combination device in which a plurality of electronic devices such as a bluetooth headset, a watch, a bracelet and the like execute a positioning function together, so as to calculate positioning data of other electronic devices different from the first electronic device, and the positioning data of other electronic devices may be one or more.
In this embodiment, a communication connection is established between the wearable electronic device and the first electronic device, and then the first electronic device transmits the first positioning data to the wearable electronic device at a fixed time interval through the communication connection.
It should be noted that the communication connection mode may be a connection in a non-networking state such as bluetooth and infrared, for example, the first electronic device sends the control instruction to the wearable electronic device through bluetooth, or may also be a connection in a networking state such as a WIFI hotspot, for example, the first electronic device sends the control instruction to the wearable electronic device through the WIFI hotspot, or may also be a connection performed by using a transmission medium, for example, a communication connection is performed in a manner of establishing USB sharing between the wearable electronic device and the first electronic device, and the present embodiment is not limited in particular herein.
In some embodiments, the wearable electronic device receives first positioning data transmitted by the first electronic device.
In the embodiment shown in fig. 4, the first positioning data may be positioning data calculated after the first electronic device starts positioning service and receives satellite signals, may also be positioning data calculated after receiving base station signals, and may also be positioning data calculated after receiving WIFI hotspots.
In this embodiment, after the wearable electronic device receives the first positioning data sent by the first electronic device through the communication connection, the wearable electronic device calculates the positioning data of itself as the second positioning data, where the second positioning data includes the geographic location information of the first electronic device, and the location information may be time, longitude and latitude, and the like, and then performs a comparison analysis on the received first positioning data and the second positioning data to determine the second positioning data that needs to be sent to the first electronic device.
In some embodiments, the first positioning data sent by the first electronic device may further include a positioning signal for acquiring the positioning data, and after the wearable electronic device receives the positioning signal, the positioning data of the first electronic device may be recalculated according to a built-in positioning module or an accelerometer or other sensors, and the recalculated positioning data is used as the second positioning data, and then the first positioning data and the second positioning data are compared and analyzed to determine the second positioning data that needs to be sent to the first electronic device.
In some embodiments, the wearable electronic device determines the second positioning data based on the first positioning data received last time.
It can be understood that, in a positioning process, the first electronic device can send first positioning data to the wearable electronic device at a fixed sending frequency without interruption, for example, the first electronic device sends one piece of first positioning data to the wearable electronic device every 1s, when second positioning data of the first electronic device at a time (this time) t (t >1) is calculated, the first positioning data sent at the time (previous time) t-1 needs to be used as an initial position, acceleration information or displacement change conditions within 1s are obtained by the wearable electronic device, and then position information at the time t is calculated, so as to determine the second positioning data of the first electronic device at the time t.
In this embodiment, the wearable electronic device receives first positioning data sent by the first electronic device at a previous time, and then can determine second positioning data of the first electronic device at a current time according to the obtained acceleration or displacement change information of the wearable electronic device within the fixed sending frequency.
Of course, in some embodiments, when the wearable electronic device has the antenna and the positioning module built therein, the wearable electronic device has a function of performing positioning according to the received positioning signal.
In this embodiment, when the first positioning data includes the positioning signal for acquiring the positioning data, after the wearable electronic device receives the first positioning data sent by the first electronic device, the positioning module may directly recalculate the second positioning data of the first electronic device according to the positioning signal.
It should be noted that wearable electronic equipment can be one or more, and the difference of a plurality of wearable electronic equipment is that the wearing position of locating is different, and then the second locating data that correspond also can be one or more, and wherein, an electron wearable electronic equipment can send a locating data, like intelligent wrist-watch, bracelet etc. an electron wearable electronic equipment also can send two locating data, like bluetooth headset, wearing glasses etc..
In some embodiments, the wearable electronic device sends the second positioning data to the first electronic device when an offset of the second positioning data relative to the currently received first positioning data is greater than a second threshold.
In this embodiment, after determining second positioning data at time t (this time) according to first positioning data acquired at time t-1(t >1) (last time), the wearable electronic device compares the second positioning data with first positioning data transmitted from the first electronic device at time t, and transmits the second positioning data to the first electronic device within a specified time when an offset between position information in the first positioning data and position information in the second positioning data exceeds a preset second threshold; the specified time refers to the valid time for transmitting the second positioning data to the first electronic device, and the valid time is set between 1s and 30s in the embodiment.
The offset may be an angular difference between the longitude and latitude of the first positioning data and the second positioning data, or a difference between a distance generated by the first positioning data at time t-1 to time t and a distance generated by the second positioning data at time t-1 to time t.
When the angular offset of the two positioning data exceeds the critical value, the deviation between the second positioning data and the position information of the second positioning data is considered to be large, and the target positioning data is acquired by taking the second positioning data as a reference, so that the positioning calibration performed under a local scene according to the threshold set by manual experience has better reliability; the second threshold value can also be a dynamic value obtained by intelligently analyzing positioning data in different complex scenes, and the second threshold value is adaptively adjusted according to different environments where the positioning device is located, so that the applicability of positioning calibration in various scenes according to the dynamic value is higher.
In this embodiment, after acquiring the second positioning data, the wearable electronic device calculates an angular offset between the first positioning data and the second positioning data, and sends the second positioning data to the first electronic device within 3s because the angular offset exceeds the second threshold.
In some embodiments, when the offset of the first positioning data and the second positioning data does not exceed the preset second threshold, it is indicated that the offset of the first positioning data and the second positioning data is very small, at this time, the second positioning data is not sent to the first electronic device, and the first positioning data of the first electronic device is directly used as the target positioning data and displayed on the map display interface.
Wearable electronic equipment calculates the second locating data through acceleration data and the first locating signal of receiving first electronic equipment transmission, recalculates the offset between the first locating data with the receipt to send the second locating data to increase first electronic equipment's locating data when the offset exceeds the second threshold value, can confirm best locating data like this from a plurality of locating data, improved the positioning accuracy of first electronic equipment under the complex environment.
Step 130, under the condition of receiving second positioning data sent by the wearable electronic device, determining target positioning data from the second positioning data and the first positioning data, wherein the second positioning data is determined by the wearable electronic device according to the first positioning data received last time; and determining the position information of the first electronic equipment according to the object positioning data.
In this step, the mode of establishing communication connection between wearable electronic device and the first electronic device may be the connection of non-networking states such as bluetooth, infrared, also may be the connection under networking states such as utilizing WIFI hotspots, and also may be the communication connection that utilizes transmission medium to carry out, and this embodiment is no longer repeated.
In this embodiment, the object positioning data is one of the first positioning data and the second positioning data.
In this embodiment, the wearable electronic device determines second positioning data at time t (this time) according to first positioning data acquired at time t-1(t >1) (last time), and sends the second positioning data meeting a second threshold to the first electronic device.
In this embodiment, when the first electronic device can receive the second positioning data that wearable electronic device sent, it has been described that the positioning data and the second positioning data gap of the first electronic device are great, and at this moment, the first electronic device needs to confirm the object positioning data from the first positioning data and the second positioning data, and display this object positioning data on the map display interface of the first electronic device.
When needing to explain, wearing formula electronic equipment can be one or more, and the difference between a plurality of wearing formula electronic equipment is that its wearing position is different, and the second locating data that correspond also can be one or more, and wherein, an electron wearing formula electronic equipment can send a locating data, like intelligent wrist-watch, bracelet etc. an electron wearing formula electronic equipment also can send two locating data, like bluetooth headset, wearing glasses etc..
In this embodiment, the wearable electronic device sends the second positioning data to the first electronic device through the communication connection, and after the first electronic device performs the comparative analysis on the first positioning data and the second positioning data, the object positioning data is directly displayed on the map display interface 610, it should be noted that the positioning data displayed on the map display interface 610 is only the object positioning data after the comparative analysis is completed.
Of course, in other embodiments, the map display interface 610 may display the received first positioning data and the second positioning data at the same time, and only display the object positioning data after the comparative analysis is finished.
In the embodiment shown in fig. 7, when the first electronic device receives the second positioning data sent by the wearable electronic device, the first positioning data 611 (corresponding to positioning 1) and the second positioning data 612 (corresponding to positioning 2) appear on the map display interface 610, and then an input of the user to the map display interface 610 is received, so as to calibrate the first positioning data, and in response to the input, the object positioning data is displayed on the map display interface 610.
It should be noted that the input mode may be touch input, physical key and combination input thereof, voice input, and other types of input, which is specifically referred to the above first input form, and is not described in detail in this embodiment.
In this embodiment, after the first positioning data of the map display interface 610 is calibrated, the target positioning data is the second positioning data, and only the second positioning data is displayed on the map display interface 610 as the final position information of the first electronic device.
It should be noted that, since the second positioning data received by the first electronic device is the positioning data calculated by different object sensors, the embodiment has a different manner of determining the object positioning data from the first positioning data and the second positioning data.
Of course, in some embodiments, when the first electronic device and the wearable electronic device can both work normally and the first electronic device fails to receive the second positioning data sent by the wearable electronic device, it is described that the difference between the first positioning data and the second positioning data calculated by the wearable electronic device is very small and can be ignored, and at this time, the first positioning data is directly displayed on the map display interface 610 as the target positioning data.
In this implementation, increase first electronic equipment's location data through the communication connection between wearable electronic equipment and the first electronic equipment to confirm best location data from a plurality of location data, improved first electronic equipment location accuracy under the complex environment.
In some embodiments, before receiving the second positioning data sent by the wearable electronic device in step 130, the method further includes:
and sending a control instruction to the wearable electronic equipment, wherein the control instruction is used for starting a target sensor of the wearable electronic equipment.
It should be noted that the target sensor is a device for acquiring user behavior data, and may be an acceleration sensor for collecting acceleration change data and angular velocity change data after the user walks for a certain distance, or a displacement sensor for acquiring displacement variation at two adjacent moments, or a positioning device for acquiring real-time positioning data of the user at different positions.
In this embodiment, the purpose of sending the control instruction to the wearable electronic device through the first electronic device is to turn on a target sensor of the wearable electronic device, so as to obtain the location information of the wearable electronic device; according to different control instructions, target sensors started on the wearable electronic equipment are different; the control instructions may be transmitted from the first electronic device in the form of electrical signals and received by the wearable electronic device. The following description will take control commands for turning on the acceleration sensor and the positioning module, respectively, as an example.
Firstly, controlling an acceleration sensor on the wearable electronic equipment to be started by an instruction.
In this embodiment, after the first electronic device establishes a communication connection with the wearable electronic device, the first electronic device sends a control instruction to the wearable electronic device for turning on an acceleration sensor on the wearable electronic device, and after the acceleration sensor collects walking data of a user, the position information of the wearable electronic device can be calculated.
In the embodiment shown in fig. 8, after the first electronic device establishes a communication connection with the wearable electronic device 810, a control instruction is sent to the wearable electronic device 810 to turn on the acceleration sensor 811 in the wearable electronic device 810.
Wherein, the input of the control command can be at least one of the following modes:
for one, the input may be a touch input, including but not limited to a click input, a slide input, a press input, and the like.
In this embodiment, the receiving of the control instruction of the user may be receiving a touch operation of the user on the display interface of the first electronic device.
In order to reduce the misoperation rate of the user, the active area of the first electronic device can be limited to a specific area, such as a blank area of the display interface of the first electronic device.
In this embodiment, after the first electronic device establishes a communication connection with the wearable electronic device 810, a connection interface can be opened by pressing the display interface of the first electronic device with a single finger length, the connection interface has a button for turning on and off the acceleration sensor 811 in the wearable electronic device 810, and the acceleration sensor 811 in the wearable electronic device 610 can be turned on by the button.
Second, the input may be physical key input.
In this embodiment, the body of the terminal is provided with an entity key for turning on the acceleration sensor in the wearable electronic device 810, and after receiving the input of the user, the operation of pressing the corresponding entity key by the user can be received; the input may also be a combined operation of pressing multiple physical cases simultaneously.
Third, the input may be presented as a voice input.
In this embodiment, when the first electronic device establishes a communication connection with the wearable electronic device 810, the acceleration sensor 811 in the wearable electronic device 810 may be automatically turned on after receiving the voice as "turn on the acceleration sensor".
Of course, in other embodiments, the form may be other, including but not limited to character input, and the like, which may be determined according to actual needs, and this embodiment does not limit this.
And secondly, controlling the instruction to start a second positioning module on the wearable electronic equipment.
In this embodiment, after the first electronic device establishes a communication connection with the wearable electronic device, the first electronic device sends a control instruction to the wearable electronic device for starting the second positioning module on the wearable electronic device, and after the second positioning module collects the walking data of the user, the position information of the wearable electronic device can be calculated.
In the embodiment shown in fig. 9, after the first electronic device establishes a communication connection with the wearable electronic device 810, a control instruction is sent to the wearable electronic device 810 to turn on the second positioning module 812 in the wearable electronic device 810.
In this embodiment, after the first electronic device establishes a communication connection with the wearable electronic device 810, the positioning data fed back by the wearable electronic device may be received to increase the number of the positioning data of the first electronic device, so as to determine the optimal positioning data of the first electronic device.
Next, the first electronic device determines the target positioning data according to the offset between the received first positioning data and the second positioning data and the amount of the received second positioning data, for example, and the description is given.
Firstly, determining the object positioning data according to the offset between the first positioning data and the second positioning data.
In some embodiments, determining the object location data from the second location data and the first location data comprises:
determining an offset of the second positioning data relative to the first positioning data; and determining the second positioning data as the target positioning data when the offset is larger than the first threshold.
In this embodiment, the offset may be an angular difference between longitude or latitude between the first positioning data and the second positioning data, or a difference between a distance generated by the first positioning data at time t-1 to t (t >1) and a distance generated by the second positioning data at time t-1 to t.
In this embodiment, when the second positioning data received is obtained by acceleration sensor 811, first electronic equipment can calculate the angle offset that the angle information between first positioning data and the second positioning data obtained these two positioning data, and when the angle offset that calculates exceeded predetermined first threshold, can regard as the deviation between two positioning data great, at this moment, chose for use the second positioning data as the object positioning data, the second positioning data that is shown on the map display interface 610 of first electronic equipment.
It should be noted that the first threshold may be a critical value set manually, when the angular offset of the two positioning data exceeds the critical value, it may be considered that the position information deviation of the first positioning data and the second positioning data is large, and the target positioning data is obtained by using the second positioning data as a reference, and the positioning calibration performed by the threshold set according to manual experience in a local scene has better reliability; the first threshold value can also be a dynamic value obtained by intelligently analyzing positioning data in different complex scenes, and the first threshold value is adaptively adjusted according to different environments where the positioning device is located, so that the applicability of positioning calibration in various scenes according to the dynamic value is stronger, and the first threshold value set by the embodiment can be flexibly selected according to the positioning requirements in different scenes.
In the embodiment shown in fig. 10, after the acceleration sensor 811 in the wearable electronic device 810 acquires the first positioning data and sends the first positioning data to the first electronic device, the first positioning data 611 and the second positioning data 612 appear on the map display interface 610; when the first positioning data 611 is calibrated, the angular offset of the two positioning data within a certain time distance is directly compared, and since the angular offset between the first positioning data 611 and the second positioning data 612 exceeds a first threshold, the second positioning data 612 is displayed on the map display interface 610 as the target positioning data.
In some embodiments, after receiving the second positioning data sent by the wearable electronic device, the first electronic device may compare whether a difference between distances generated by the first positioning data and the second positioning data is within a first threshold at a time from t-1 to t (t >0), and when the difference between the two distances exceeds the first threshold, the deviation between the two positioning data may be considered to be large, and at this time, the second positioning data is selected as the target positioning data, that is, the second positioning data is displayed on the map display interface 610 of the first electronic device.
In this embodiment, the target positioning data is determined by calculating the angle offset between the first positioning data and the second positioning data and comparing the angle offset with the first threshold, which is beneficial to improving the positioning accuracy of the first electronic device.
And secondly, determining the object positioning data according to the quantity of the received second positioning data.
In some embodiments, the wearable electronic device includes n second positioning modules, where n is a natural number, and the determining the object positioning data from the second positioning data and the first positioning data includes:
the quantity of the received second positioning data is less than
Figure BDA0003592685430000151
Determining the first positioning data as target positioning data under the condition of (1);
the quantity of the received second positioning data is not less than
Figure BDA0003592685430000161
In this case, the second positioning data is determined as the object positioning data.
In this embodiment, after the n second positioning modules of the wearable electronic device respectively obtain the respective second positioning data, the wearable electronic device analyzes each second positioning data with the first positioning data, and then determines whether the second positioning data needs to be sent to the first electronic device; when the second positioning data need to be sent, the difference between the first positioning data and the second positioning data is large, when the second positioning data need not be sent, the difference between the second positioning data and the first positioning data is small, the difference between the second positioning data and the first positioning data can be ignored, and at the moment, the first positioning data is directly used as the target positioning data of the first electronic equipment.
Taking the wearable electronic device as an example, the bluetooth headset includes two second positioning modules.
When the first electronic device does not receive the second positioning data sent by the Bluetooth headset, it is described that the first positioning data of the first electronic device is accurate and can be directly displayed on a map display interface.
When the first electronic device only receives the second positioning data sent by one bluetooth headset, it is described that the second positioning data of the other bluetooth headset is the same as or slightly different from the first positioning data of the first electronic device, and at this time, the first positioning data is still used as the target positioning data and is displayed on the map display interface.
In the embodiment shown in fig. 11, when the first electronic device receives a piece of second positioning data 612 sent by the wearable electronic device 810, the object positioning data displayed on the map display interface 610 of the first electronic device is the first positioning data 611.
When first electronic equipment received two second positioning data that bluetooth headset sent, and these two second positioning data are the same, have demonstrated that first positioning data of first electronic equipment is great with the second positioning data gap of receipt, at this moment, regard the second positioning data as the object location data to show on map display interface 610.
In this embodiment, when the first electronic device receives two pieces of second positioning data 612 sent by the wearable electronic device 810, the object positioning data displayed on the map display interface 610 of the first electronic device is the second positioning data 612.
When first electronic equipment received two second positioning data that bluetooth headset sent, and these two second positioning data differences are great, have demonstrated that the difference is great between first positioning data and two second positioning data, and at this moment, first electronic equipment can't confirm the object positioning data, then can not fix a position data on map display interface 610 to send the warning of location failure by first electronic equipment.
It should be noted that, when the number of the second positioning modules of the wearable electronic device 810 is more than two, for example, when the wearable electronic device 810 includes a bluetooth headset and a smart watch, the wearable electronic device 810 includes at least three second positioning modules, and generates at least three corresponding second positioning data.
When the first electronic device receives at most one piece of second positioning data sent by the wearable electronic device 810, it is described that at least two pieces of second positioning data are the same as the first positioning data, which indicates that the first positioning data are accurate and can be directly displayed on the map display interface 610.
When the first electronic device receives at most one piece of second positioning data sent by the wearable electronic device 810, it indicates that the first positioning data is accurate if at least two pieces of second positioning data are the same as the first positioning data, and the first positioning data can be directly displayed on the map display interface 610.
When the first electronic device receives the two second positioning data sent by the wearable electronic device 810 at most, and the two sent second positioning data are the same, it is described that more positioning data different from the first positioning data are located in the second positioning data obtained by the wearable electronic device 810, and at this time, the received second positioning data are displayed on the map display interface 610 as the object positioning data.
When the first electronic device receives the at most three pieces of second positioning data sent by the wearable electronic device 810, and the sent three pieces of second positioning data are the same, it is described that the second positioning data obtained by the wearable electronic device 810 are all different from the first positioning data, and at this time, the received second positioning data are displayed on the map display interface 610 as the target positioning data.
In this embodiment, the target location data is determined by comparing the quantity relationship between the second location module and the second location data received by the first electronic device, which is beneficial to improving the location accuracy of the first electronic device.
In some embodiments, the wearable electronic device includes an acceleration sensor that determines second positioning data based on the first positioning signal, including:
acquiring acceleration information acquired by an acceleration sensor;
second positioning data is determined based on the acceleration information and the first positioning data received last time.
It can be understood that the acceleration sensor includes an accelerometer and a gyroscope, the acceleration information includes acceleration data a calculated by the accelerometer and angular velocity change data W calculated by the gyroscope, the wearable electronic device can calculate the change condition of the displacement S in the period of time according to the acceleration data in two adjacent moments (the previous moment and the current moment) and the first positioning data received at the previous moment, and further determine the second positioning data at the current moment, and can calculate the angular deflection condition of the displacement S in the two adjacent moments according to the angular velocity change data.
In this embodiment, after the wearable electronic device 810 is provided with an acceleration sensor and starts the acceleration sensor, acceleration change data and angular velocity change data of the wearable electronic device 810 within 1s can be obtained, and then the displacement change condition within 1s is calculated to determine the second positioning data of the first electronic device at the current moment.
In some embodiments, an action amplitude value in the user walking data and response time based on the action amplitude may be obtained according to data acquired by the acceleration sensor, a ratio of the action amplitude value to the response time is calculated and compared with a preset third threshold, and corresponding second positioning data is sent to the first electronic device when the ratio exceeds the third threshold.
Of course, in other embodiments, a positioning module and an antenna may be built in the wearable electronic device 810, and after the antenna receives the first positioning signal transmitted from the first electronic device, the wearable electronic device 810 may directly obtain the second positioning data of the first electronic device.
In this implementation, the mode through set up acceleration sensor in wearable electronic equipment 810 or set up orientation module and receiving antenna acquires the second location data between the first electronic equipment, provides convenience for wearable electronic equipment 810 sends a plurality of second location data to first electronic equipment.
According to the positioning method provided by the embodiment of the application, the execution main body can be a positioning device. In the embodiment of the present application, a positioning device executing a positioning method is taken as an example to describe the positioning device provided in the embodiment of the present application.
The embodiment of the application also provides a positioning device.
As shown in fig. 12, the positioning device includes: a first obtaining module 1210, a first sending module 1220 and a first processing module 1230.
A first obtaining module 1210, configured to obtain first positioning data acquired by the first positioning module;
a first sending module 1220, configured to send first positioning data to the wearable electronic device;
the first processing module 1230 is configured to determine object location data from the second location data and the first location data when receiving the second location data sent by the wearable electronic device, where the wearable electronic device is in communication connection with the first electronic device, and the second location data is determined by the wearable electronic device according to the first location data received last time, and the location information of the first electronic device is determined according to the object location data.
According to the positioning device provided by the embodiment of the application, the first positioning data of the first electronic device is acquired through the first acquisition module 1210, then the first positioning data and the first positioning signal are transmitted to the wearable electronic device through the first transmission module 1220, and finally the second positioning data transmitted by the wearable electronic device is received through the first processing module 1230.
In some embodiments, the apparatus further comprises:
and the fourth sending module is used for sending a control instruction to the wearable electronic equipment before receiving the second positioning data sent by the wearable electronic equipment, wherein the control instruction is used for starting a target sensor of the wearable electronic equipment.
According to the positioning device provided by the embodiment of the application, after the first electronic device is in communication connection with the wearable electronic device, the positioning information fed back by the wearable electronic device can be received to increase the number of the positioning information of the first electronic device, so that the optimal positioning information of the first electronic device is determined.
In some embodiments, the first processing module 1210 is further configured to determine, from the second positioning data and the first positioning data, an offset of the second positioning data relative to the first positioning data;
and determining the second positioning data as the target positioning data when the offset is larger than the first threshold.
According to the positioning device provided by the embodiment of the application, the target positioning data is determined by calculating the angle offset of the first positioning data and the second positioning data and comparing the angle offset with the first threshold value, so that the positioning accuracy of the first electronic equipment is improved.
In some embodiments, the wearable electronic device includes n second positioning modules, where n is a natural number, and the first processing module 1010 is further configured to receive, from the second positioning data and the first positioning data, a number of the second positioning data smaller than that of the first positioning data
Figure BDA0003592685430000191
Determining the first positioning data as target positioning data under the condition of (1);
the quantity of the received second positioning data is not less than
Figure BDA0003592685430000192
The second positioning data that appears the most frequently is determined as the object positioning data.
According to the positioning device provided by the embodiment of the application, the target positioning data is determined by comparing the quantity relation between the second positioning data received by the second positioning module and the first electronic equipment, and the positioning accuracy of the first electronic equipment is improved.
The embodiment of the application provides another positioning method.
It should be noted that, for the positioning method, the positioning method is applied to a first electronic device, and an execution subject of the positioning method is the first electronic device, including but not limited to a mobile terminal, such as a mobile phone, a tablet computer, a watch, and the like; or a control device of the first electronic device; or a server communicatively connected to the first electronic device, etc.
As shown in fig. 2, the positioning method includes: step 210, step 220 and step 230.
Step 210, obtaining first positioning data acquired by a first positioning module.
In the embodiment shown in fig. 5, the first positioning module is a device that is built in the first electronic device and has a positioning function, and the first positioning module is capable of acquiring first positioning data of the first electronic device, where the first positioning data includes real-time geographic location information of the first electronic device, where the location information may be time, longitude, latitude, and other information.
It should be noted that, in this embodiment, the built-in first positioning module of the first electronic device may be a GPS signal receiver or a beidou receiver, or a base station signal receiver, or a WIFI signal receiver, as described in the first positioning module in step 110, which is not described in detail in this embodiment.
In this embodiment, before the first positioning module is used to collect the first positioning data, the first positioning module may be started by receiving an input from a user, and after the positioning module receives the position signal, the real-time geographic position of the first electronic device corresponding to the first positioning module may be calculated.
In this embodiment, an input of a user is received, a display interface of the first electronic device responds to the input, a map display interface is displayed on the display interface of the first electronic device, and after the positioning module receives the position signal and performs positioning calculation, the real-time geographic position of the first electronic device is displayed on the map display interface, where the input may be any one of a touch input, a combination input of physical keys, and a voice input, and is not described in detail in this embodiment.
In this embodiment, the first positioning data of the first electronic device is obtained by the first positioning module, which is a precondition for determining the object positioning data of the first electronic device.
And step 220, transmitting the first positioning data to the wearable electronic equipment.
In this step, the first electronic device sends the first positioning data acquired at different times to the wearable electronic device at a fixed sending frequency, where the sending frequency may range from 0.1s to 30s, and for example, after the first electronic device starts the positioning service, the first electronic device sends the positioning data of the current position of the user to the wearable device every 1 s.
It should be noted that the wearable electronic device is a portable electronic device with a positioning function, and may be a bluetooth headset, a pair of wearing glasses, a watch, a bracelet, or a combination device in which a plurality of electronic devices such as a bluetooth headset, a watch, a bracelet and the like execute a positioning function together, so as to calculate positioning data of other electronic devices different from the first electronic device, and the positioning data of other electronic devices may be one or more.
In this embodiment, a communication connection is established between the wearable electronic device and the first electronic device, and then the first electronic device sends first positioning data at a fixed time interval to the wearable electronic device through the communication connection.
It should be noted that the communication connection mode may be a connection in a non-networking state such as bluetooth or infrared, may also be a connection in a networking state such as a WIFI hotspot, and may also be a connection performed by using a transmission medium, which is not specifically limited herein.
In the embodiment shown in fig. 5, the wearable electronic device receives first positioning data transmitted by the first electronic device.
In this embodiment, the first positioning data may be positioning data calculated after the first electronic device starts positioning service and receives satellite signals, may also be positioning data calculated after receiving base station signals, and may also be positioning data calculated after receiving WIFI hotspots.
In this embodiment, after the wearable electronic device receives the first positioning data sent by the first electronic device through the communication connection, the wearable electronic device calculates the positioning data of itself as the second positioning data, where the second positioning data includes the geographic location information of the first electronic device, and the location information may be time, longitude and latitude, and the like, and then performs a comparison analysis on the received first positioning data and the second positioning data to determine the second positioning data that needs to be sent to the first electronic device.
In some embodiments, the first positioning data sent by the first electronic device may further include a positioning signal for acquiring the positioning data, and after the wearable electronic device receives the positioning signal, the positioning data of the first electronic device may be recalculated according to a built-in positioning module or an accelerometer or other sensors, and the recalculated positioning data is used as the second positioning data, and then the first positioning data and the second positioning data are compared and analyzed to determine the second positioning data that needs to be sent to the first electronic device.
In this embodiment, the wearable electronic device determines the second positioning data based on the first positioning data received last time.
It can be understood that, in a positioning process, the first electronic device continuously sends the first positioning data to the wearable electronic device at a fixed sending frequency, for example, the first electronic device sends one piece of the first positioning data to the wearable electronic device every 1s, when calculating the second positioning data of the first electronic device at a time t (t >1), the first positioning data sent at the time t-1 needs to be used as an initial position, the wearable electronic device obtains acceleration information or displacement change conditions in 1s, and then calculates the position information at the time t, so as to determine the second positioning data of the first electronic device at the time t.
In this embodiment, the wearable electronic device receives first positioning data sent by the first electronic device at a previous time, and then can determine second positioning data of the first electronic device at a current time according to the obtained acceleration or displacement change information of the wearable electronic device within the fixed sending frequency.
Of course, in some embodiments, when the wearable electronic device has the antenna and the positioning module built therein, the wearable electronic device has a function of positioning as the first electronic device according to the positioning signal.
In this embodiment, when the first positioning data includes the positioning signal for acquiring the positioning data, after the wearable electronic device receives the first positioning data sent by the first electronic device, the positioning module may directly recalculate the second positioning data of the first electronic device according to the positioning signal.
It should be noted that wearable electronic equipment can be one or more, and the difference of a plurality of wearable electronic equipment is that the wearing position of locating is different, and then the second locating data that correspond also can be one or more, and wherein, an electron wearable electronic equipment can send a locating data, like intelligent wrist-watch, bracelet etc. an electron wearable electronic equipment also can send two locating data, like bluetooth headset, wearing glasses etc..
In some embodiments, the wearable electronic device sends the second positioning data to the first electronic device when an offset of the second positioning data relative to the currently received first positioning data is greater than a second threshold.
In the embodiment, after determining second positioning data at time t according to first positioning data acquired at time t-1, the wearable electronic device compares the second positioning data with the first positioning data transmitted from the first electronic device at time t, and when an offset between position information in the first positioning data and position information in the second positioning data exceeds a preset second threshold, transmits the second positioning data to the first electronic device within a specified time; the specified time refers to the valid time for transmitting the second positioning data to the first electronic device, and the valid time is set between 1s and 30s in the embodiment.
The offset may be an angular deviation between the longitude or latitude of the first positioning data and the second positioning data, or a difference between a distance of the first positioning data generated at the time t-1 to t and a distance of the second positioning data generated at the time t-1 to t.
When the angular offset of the two positioning data exceeds the critical value, the deviation between the second positioning data and the position information of the second positioning data is considered to be large, and the target positioning data is acquired by taking the second positioning data as a reference, so that the positioning calibration performed under a local scene according to the threshold set by manual experience has better reliability; the second threshold value can also be a dynamic value obtained by intelligently analyzing positioning data in different complex scenes, and the second threshold value is adaptively adjusted according to different environments where the positioning device is located, so that the applicability of positioning calibration in various scenes according to the dynamic value is higher.
In this embodiment, after acquiring the second positioning data, the wearable electronic device calculates an angular offset between the first positioning data and the second positioning data, and sends the second positioning data to the first electronic device within 3s since the angular offset exceeds the second threshold.
Certainly, when the offset of the first positioning data and the second positioning data does not exceed the preset second threshold, it indicates that the offset of the first positioning data and the second positioning data is very small, and at this time, the second positioning data is not sent to the first electronic device, and the first positioning data of the first electronic device is directly used as the target positioning data and is displayed on the map display interface.
In this implementation, wearable electronic equipment calculates the second locating data through acceleration data and the first locating signal of receiving first electronic equipment transmission, recalculates the offset between the first locating data with the receipt to send the second locating data to increase first electronic equipment's locating data when the offset exceeds the second threshold value, can confirm best locating data in a plurality of locating data like this, improved the location accuracy of first electronic equipment under the complex environment.
Step 230, in the case of receiving second positioning data sent by the wearable electronic device, determining location information of the first electronic device according to the second positioning data.
In this step, the mode of establishing communication connection between wearable electronic device and the first electronic device may be the connection of non-networking states such as bluetooth, infrared, also may be the connection under networking states such as utilizing WIFI hotspots, and also may be the communication connection that utilizes transmission medium to carry out, and this embodiment is no longer repeated.
In the embodiment shown in FIG. 5, the object location data is the second location data.
In this embodiment, when the first electronic device can receive the second positioning data sent by the wearable electronic device, it indicates that the difference between the positioning data of the first electronic device and the second positioning data is large, and at this time, the second positioning data is taken as the object positioning data, and the position information in the second positioning data of the object positioning data is displayed on the map display interface of the first electronic device.
When needing to explain, wearing formula electronic equipment can be one or more, and the difference between a plurality of wearing formula electronic equipment is that its wearing position is different, and the second locating data that correspond also can be one or more, and wherein, an electron wearing formula electronic equipment can send a locating data, like intelligent wrist-watch, bracelet etc. an electron wearing formula electronic equipment also can send two locating data, like bluetooth headset, wearing glasses etc..
Certainly, in some embodiments, when first electronic equipment and wearable electronic equipment homoenergetic normally worked, and first electronic equipment fails to receive the second positioning data that wearable electronic equipment sent, has explained that first positioning data is very little with the second positioning data difference that wearable electronic equipment calculated, can ignore, and at this moment, directly regard first positioning data as the object location data, show on the map display interface.
In this embodiment, after it is determined that the first positioning data is the object positioning data, only the position information corresponding to the first positioning data is displayed on the map display interface of the first electronic device.
According to the positioning method provided by the embodiment of the application, the execution main body can be a positioning device. In the embodiment of the present application, a positioning device executing a positioning method is taken as an example to describe the positioning device provided in the embodiment of the present application.
The embodiment of the application also provides a positioning device.
As shown in fig. 13, the positioning device includes: a second obtaining module 1310, a second sending module 1320, and a second processing module 1330.
A second obtaining module 1310, configured to obtain the first positioning data acquired by the first positioning module;
a second sending module 1320, configured to send the first positioning data to the wearable electronic device;
the second processing module 1330 is configured to, when receiving second positioning data sent by the wearable electronic device, determine location information of the first electronic device according to the second positioning data.
The embodiment of the application provides another positioning method.
It should be noted that, for the positioning method, the positioning method is applied to wearable electronic devices, and the execution main body of the positioning method is a wearable electronic device, including but not limited to a mobile terminal, such as a mobile phone, a tablet computer, a watch, and the like; or a control device of the wearable electronic equipment; or a server connected with the wearable electronic device in a communication way.
As shown in fig. 3, the positioning method includes: step 310, step 320 and step 330.
It should be noted that, when the wearable electronic device works normally, the wearable electronic device needs to be in communication connection with the first electronic device. The communication connection mode may be connection in a non-networking state such as bluetooth or infrared, or connection in a networking state such as a WIFI hotspot, or communication connection performed by using a transmission medium, which is not limited in this embodiment.
Step 310, receiving first positioning data sent by the first electronic device.
In this step, the first positioning data may be positioning data calculated after the first electronic device starts positioning service and receives satellite signals, may also be positioning data calculated after receiving base station signals, and may also be positioning data calculated after receiving WIFI hotspots.
In the embodiment shown in fig. 3, the wearable electronic device receives the first positioning data sent by the first electronic device through the communication connection, and the wearable electronic device calculates the positioning data of the wearable electronic device as the second positioning data, where the second positioning data includes the geographic location information of the first electronic device, and the location information may be time, longitude and latitude, and the like, and then performs a comparison analysis on the received first positioning data and the second positioning data to determine the second positioning data that needs to be sent to the first electronic device.
In some embodiments, the first positioning data sent by the first electronic device may further include a positioning signal for acquiring the positioning data, and after the wearable electronic device receives the positioning signal, the positioning data of the first electronic device may be recalculated according to a built-in positioning module or an accelerometer or other sensors, and the recalculated positioning data is used as the second positioning data, and then the first positioning data and the second positioning data are compared and analyzed to determine the second positioning data that needs to be sent to the first electronic device.
Step 320, determining second positioning data based on the first positioning data received last time.
It can be understood that, in a positioning process, the first electronic device continuously sends the first positioning data to the wearable electronic device at a fixed sending frequency, for example, the first electronic device sends one piece of the first positioning data to the wearable electronic device every 1s, when calculating the second positioning data of the first electronic device at a time t (t >1), the first positioning data sent at the time t-1 needs to be used as an initial position, the wearable electronic device obtains acceleration information or displacement change conditions in 1s, and then calculates the position information at the time t, so as to determine the second positioning data of the first electronic device at the time t.
In this embodiment, the wearable electronic device receives first positioning data sent by the first electronic device at a previous time, and then can determine second positioning data of the first electronic device at a current time according to the obtained acceleration or displacement change information of the wearable electronic device within the fixed sending frequency.
Of course, in some embodiments, when the wearable electronic device has the antenna and the positioning module built therein, the wearable electronic device has a function of positioning as the first electronic device according to the positioning signal.
In this embodiment, when the first positioning data includes the positioning signal for acquiring the positioning data, after the wearable electronic device receives the first positioning data sent by the first electronic device, the positioning module may directly recalculate the second positioning data of the first electronic device according to the positioning signal.
When needing to explain, wearing formula electronic equipment can be one or more, and the difference of a plurality of wearing formula electronic equipment is that the wearing position of locating is different, then the second locating data that correspond also can be one or more, and wherein, an electron wearing formula electronic equipment can send a locating data, like intelligent wrist-watch, bracelet etc. an electron wearing formula electronic equipment also can send two locating data, like bluetooth headset, wearing glasses etc..
In some embodiments, the wearable electronic device includes an acceleration sensor that determines second positioning data based on the first positioning signal, including:
acquiring acceleration information acquired by an acceleration sensor;
second positioning data is determined based on the acceleration information and the first positioning data received last time.
It can be understood that the acceleration sensor includes an accelerometer and a gyroscope, the acceleration information includes acceleration data a calculated by the accelerometer and angular velocity change data W calculated by the gyroscope, the wearable electronic device can calculate the change condition of the displacement S in the period of time according to the acceleration data in two adjacent moments (the previous moment and the current moment) and the first positioning data received at the previous moment, and further determine the second positioning data at the current moment, and can calculate the angular deflection condition of the displacement S in the two adjacent moments according to the angular velocity change data.
In this embodiment, after the wearable electronic device 810 is internally provided with the acceleration sensor and starts the acceleration sensor, acceleration change data and angular velocity change data of the wearable electronic device 810 within 1s can be acquired, and then the displacement change condition of the first electronic device within 1s is calculated to determine the second positioning data of the first electronic device at the current moment.
In some embodiments, a motion amplitude value in the user walking data and a response time based on the motion amplitude may be obtained according to data collected by the acceleration sensor, a ratio of the motion amplitude value to the response time is calculated and compared with a preset third threshold, and second positioning data corresponding to the ratio exceeding the third threshold is sent to the first electronic device.
Of course, in other embodiments, a positioning module and an antenna may be built in the wearable electronic device 810, and after the antenna receives the first positioning signal transmitted from the first electronic device, the wearable electronic device 810 may directly obtain the second positioning data of the first electronic device.
In this implementation, the mode through setting up acceleration sensor or setting up orientation module and receiving antenna in wearable electronic equipment 810 acquires the second positioning data between to first electronic equipment, and it provides convenience to send a plurality of second positioning data to first electronic equipment for wearable electronic equipment 810.
Step 330, sending the second positioning data to the first electronic device when the offset of the second positioning data relative to the first positioning data received this time is greater than the second threshold.
In the step, after determining second positioning data at time t according to first positioning data acquired at time t-1, the wearable electronic device compares the second positioning data with first positioning data transmitted from the first electronic device at time t, and when an offset between position information in the first positioning data and position information in the second positioning data exceeds a preset second threshold, the wearable electronic device transmits the second positioning data to the first electronic device within a specified time; the specified time refers to the valid time for transmitting the second positioning data to the first electronic device, and the valid time is set between 1s and 30s in the embodiment.
The offset may be an angular difference between the longitude and latitude of the first positioning data and the second positioning data, or a difference between a distance generated by the first positioning data at time t-1 to time t and a distance generated by the second positioning data at time t-1 to time t.
When the angular offset of the two positioning data exceeds the critical value, the deviation between the second positioning data and the position information of the second positioning data is considered to be large, and the target positioning data is acquired by taking the second positioning data as a reference, so that the positioning calibration performed under a local scene according to the threshold set by manual experience has better reliability; the second threshold value can also be a dynamic value obtained by intelligently analyzing positioning data in different complex scenes, and the second threshold value is adaptively adjusted according to different environments where the positioning device is located, so that the applicability of positioning calibration in various scenes according to the dynamic value is higher.
In this embodiment, after acquiring the second positioning data, the wearable electronic device calculates an angular offset between the first positioning data and the second positioning data, and sends the second positioning data to the first electronic device within 3s since the angular offset exceeds the second threshold.
Certainly, when the offset of the first positioning data and the second positioning data does not exceed the preset second threshold, it indicates that the offset of the first positioning data and the second positioning data is very small, and at this time, the second positioning data is not sent to the first electronic device, and the first positioning data of the first electronic device is directly used as the target positioning data and is displayed on the map display interface.
In this implementation, wearable electronic equipment calculates the second locating data through receiving the first locating signal of first electronic equipment transmission, recalculates the offset between the first locating data with the receipt to send the second locating data to increase first electronic equipment's locating data when the offset exceeds the second threshold, can confirm best locating data like this from a plurality of locating data, improved the location accuracy of first electronic equipment under the complex environment.
According to the positioning method provided by the embodiment of the application, the execution main body can be a positioning device. In the embodiment of the present application, a positioning method executed by a positioning apparatus is taken as an example to describe the positioning apparatus provided in the embodiment of the present application.
The embodiment of the application also provides a positioning device.
As shown in fig. 14, the positioning device includes: a first receiving module 1410, a third processing module 1420, and a third transmitting module 1430.
A first receiving module 1410, configured to receive first positioning data sent by a first electronic device;
a third processing module 1420, configured to determine second positioning data based on the first positioning data received last time;
the third sending module 1430 is configured to send the second positioning data to the first electronic device when an offset of the second positioning data with respect to the first positioning data received this time is greater than a second threshold.
According to the positioning apparatus provided in the embodiment of the present application, the first receiving module 1410 receives first positioning data sent by a first electronic device, and the second processing module 1420 determines second positioning data based on the first positioning data received last time; and finally, the third sending module 1430 sends the second positioning data to the first electronic device under the condition that the offset of the second positioning data relative to the currently received first positioning data is greater than a second threshold, so that the optimal positioning data can be determined from the plurality of positioning data, and the positioning accuracy of the first electronic device in a complex environment is improved.
In some embodiments, the wearable electronic device includes an acceleration sensor, the positioning apparatus further comprising:
the third acquisition module is used for acquiring the acceleration information acquired by the acceleration sensor;
and the fourth processing module is used for determining second positioning data based on the acceleration information and the first positioning data received last time.
According to the positioner that this application embodiment provided, through set up acceleration sensor in wearing formula electronic equipment or set up the mode of orientation module and receiving antenna and acquire the second location data between the first electronic equipment, provide convenience for wearing formula electronic equipment sends a plurality of second location data to first electronic equipment.
The positioning device in the embodiment of the present application may be an electronic device, and may also be a component in the electronic device, such as an integrated circuit or a chip. The electronic device may be a terminal, or may be a device other than a terminal. The electronic Device may be, for example, a Mobile phone, a tablet computer, a notebook computer, a palm top computer, a vehicle-mounted electronic Device, a Mobile Internet Device (MID), an Augmented Reality (AR)/Virtual Reality (VR) Device, a robot, a wearable Device, an ultra-Mobile personal computer (UMPC), a netbook or a Personal Digital Assistant (PDA), and the like, and may also be a Network Attached Storage (NAS), a Personal Computer (PC), a self-service machine, and the like, and the embodiments of the present application are not limited in particular.
The positioning device in the embodiment of the present application may be a device having an operating system. The operating system may be an Android (Android) operating system, an IOS operating system, or other possible operating systems, which is not specifically limited in the embodiments of the present application.
The positioning device provided in the embodiment of the present application can implement each process implemented by the method embodiments of fig. 1 to 11, and is not described here again to avoid repetition.
Optionally, as shown in fig. 15, an electronic device 1500 according to an embodiment of the present application is further provided, and includes a processor 1501, a memory 1502, and a program or an instruction stored in the memory 1502 and executable on the processor 1501, where the program or the instruction is executed by the processor 1501 to implement the processes of the foregoing positioning method embodiment, and can achieve the same technical effects, and details are not repeated here to avoid repetition.
It should be noted that the electronic device in the embodiment of the present application includes the mobile electronic device and the non-mobile electronic device described above.
Fig. 16 is a schematic hardware structure diagram of an electronic device implementing an embodiment of the present application.
The electronic device 1600 includes, but is not limited to: radio frequency unit 1601, network module 1602, audio output unit 1603, input unit 1604, sensor 1605, display unit 1606, user input unit 1607, interface unit 1608, memory 1609, and processor 1610.
Those skilled in the art will appreciate that the electronic device 1600 may further include a power supply (e.g., a battery) for supplying power to various components, which may be logically coupled to the processor 1610 via a power management system, so as to manage charging, discharging, and power consumption management functions via the power management system. The electronic device structure shown in fig. 16 does not constitute a limitation of the electronic device, and the electronic device may include more or less components than those shown, or combine some components, or arrange different components, and thus, the description thereof is omitted.
The input unit 1604 is configured to obtain first positioning data acquired by the first positioning module;
the radio frequency unit 1601 is used for sending first positioning data to the wearable electronic device;
the processor 1610 is configured to determine, when receiving second positioning data sent by the wearable electronic device, object positioning data from the second positioning data and the first positioning data, where the second positioning data is determined by the wearable electronic device according to the first positioning data received last time; and determining the position information of the first electronic equipment according to the object positioning data.
According to the electronic equipment that this application embodiment provided, through the communication connection between wearable electronic equipment and the first electronic equipment increase first electronic equipment's location data to confirm best location data from a plurality of location data, improved first electronic equipment location accuracy under the complex environment.
Optionally, the radio frequency unit 1601 is further configured to send a control instruction to the wearable electronic device before receiving the second positioning data sent by the wearable electronic device, where the control instruction is used to turn on a target sensor of the wearable electronic device.
Optionally, the processor 1610 is further configured to determine, from the second positioning data and the first positioning data, an offset of the second positioning data relative to the first positioning data; and determining the second positioning data as the target positioning data when the offset is larger than the first threshold.
Optionally, the processor 1610 is further configured to enable the wearable electronic device to include n second positioning modules, where, from the second positioning data and the first positioning data, the number of the received second positioning data is smaller than that of the first positioning data
Figure BDA0003592685430000311
Determining the first positioning data as target positioning data under the condition of (1); the quantity of the received second positioning data is not less than
Figure BDA0003592685430000312
The second positioning data that appears the most frequently is determined as the object positioning data.
According to the electronic equipment provided by the embodiment of the application, the target positioning data is determined by calculating the angle offset of the first positioning data and the second positioning data and comparing the angle offset with the first threshold value, so that the positioning accuracy of the first electronic equipment is improved.
According to the electronic equipment provided by the embodiment of the application, the target positioning data is determined by comparing the quantity relation between the second positioning data received by the second positioning module and the second positioning data received by the first electronic equipment, so that the positioning accuracy of the first electronic equipment is improved.
It should be understood that in the embodiment of the present application, the input Unit 1604 may include a Graphics Processing Unit (GPU) 16041 and a microphone 16042, and the Graphics processor 16041 processes image data of still pictures or videos obtained by an image capturing device (such as a camera) in a video capturing mode or an image capturing mode. The display unit 1606 may include a display panel 16061, and the display panel 16061 may be configured in the form of a liquid crystal display, an organic light emitting diode, or the like. The user input unit 1607 includes a touch panel 16071 and at least one of other input devices 16072. Touch panel 16071, also referred to as a touch screen. The touch panel 16071 may include two parts of a touch detection device and a touch controller. Other input devices 16072 may include, but are not limited to, a physical keyboard, function keys (e.g., volume control keys, switch keys, etc.), a trackball, a mouse, and a joystick, which are not described in detail herein.
The memory 1609 may be used to store software programs as well as various data. The memory 1609 may mainly include a first storage area storing programs or instructions and a second storage area storing data, wherein the first storage area may store an operating system, application programs or instructions required for at least one function (such as a sound playing function, an image playing function, etc.), and the like. Further, the memory 1609 may include volatile memory or nonvolatile memory, or the memory 1609 may include both volatile and nonvolatile memory. The non-volatile Memory may be a Read-Only Memory (ROM), a Programmable ROM (PROM), an Erasable PROM (EPROM), an Electrically Erasable PROM (EEPROM), or a flash Memory. The volatile Memory may be a Random Access Memory (RAM), a Static Random Access Memory (Static RAM, SRAM), a Dynamic Random Access Memory (Dynamic RAM, DRAM), a Synchronous Dynamic Random Access Memory (Synchronous DRAM, SDRAM), a Double Data Rate Synchronous Dynamic Random Access Memory (Double Data Rate SDRAM, ddr SDRAM), an Enhanced Synchronous SDRAM (ESDRAM), a Synchronous Link DRAM (SLDRAM), and a Direct Memory bus RAM (DRRAM). The memory 1609 in the embodiments of the subject application includes, but is not limited to, these and any other suitable types of memory.
Processor 1610 may include one or more processing units; optionally, processor 1610 integrates an application processor, which primarily handles operations involving the operating system, user interface, and applications, etc., and a modem processor, which primarily handles wireless communication signals, such as a baseband processor. It is to be appreciated that the modem processor described above may not be integrated into processor 1610.
Fig. 17 is a schematic hardware configuration diagram of another electronic device for implementing the embodiment of the present application.
The electronic device 1700 includes, but is not limited to: radio frequency unit 1701, network module 1702, audio output unit 1703, input unit 1704, sensor 1705, display unit 1706, user input unit 1707, interface unit 1708, memory 1709, and processor 1710.
Those skilled in the art will appreciate that the electronic device 1700 may also include a power supply (e.g., a battery) for powering the various components, and that the power supply may be logically coupled to the processor 1710 via a power management system to manage charging, discharging, and power consumption management functions via the power management system. The electronic device structure shown in fig. 17 does not constitute a limitation of the electronic device, and the electronic device may include more or less components than those shown, or combine some components, or arrange different components, and thus, the description thereof is omitted.
The input unit 1704 is used for acquiring first positioning data acquired by the first positioning module;
a radio frequency unit 1701 for transmitting first positioning data to the wearable electronic device;
the processor 1710 is configured to, in a case of receiving second positioning data sent by the wearable electronic device, determine location information of the first electronic device according to the second positioning data.
According to the electronic equipment that this application embodiment provided, through the communication connection between wearable electronic equipment and the first electronic equipment increase first electronic equipment's location data to confirm best location data from a plurality of location data, improved first electronic equipment location accuracy under the complex environment.
It should be understood that in the embodiment of the present application, the input Unit 1704 may include a Graphics Processing Unit (GPU) 17041 and a microphone 17042, and the Graphics Processing Unit 17041 processes image data of a still picture or a video obtained by an image capturing device (such as a camera) in a video capturing mode or an image capturing mode. The display unit 1706 may include a display panel 17061, and the display panel 17061 may be configured in the form of a liquid crystal display, an organic light emitting diode, or the like. The user input unit 1707 includes at least one of a touch panel 17071 and other input devices 17072. A touch panel 17071, also referred to as a touch screen. The touch panel 17071 may include two parts, a touch detection device and a touch controller. Other input devices 17072 may include, but are not limited to, a physical keyboard, function keys (e.g., volume control keys, switch keys, etc.), a trackball, a mouse, and a joystick, which are not described in detail herein.
The memory 1709 may be used to store software programs as well as various data. The memory 1709 may mainly include a first storage area storing a program or an instruction and a second storage area storing data, wherein the first storage area may store an operating system, an application program or an instruction (such as a sound playing function, an image playing function, and the like) required for at least one function, and the like. Further, the memory 1709 may include volatile memory or nonvolatile memory, or the memory 1709 may include both volatile and nonvolatile memory. The non-volatile Memory may be a Read-Only Memory (ROM), a Programmable ROM (PROM), an Erasable PROM (EPROM), an Electrically Erasable PROM (EEPROM), or a flash Memory. The volatile Memory may be a Random Access Memory (RAM), a Static Random Access Memory (Static RAM, SRAM), a Dynamic Random Access Memory (Dynamic RAM, DRAM), a Synchronous Dynamic Random Access Memory (Synchronous DRAM, SDRAM), a Double Data Rate Synchronous Dynamic Random Access Memory (Double Data Rate SDRAM, ddr SDRAM), an Enhanced Synchronous SDRAM (ESDRAM), a Synchronous Link DRAM (SLDRAM), and a Direct Memory bus RAM (DRRAM). The memory 1709 in the embodiments of the present application include, but are not limited to, these and any other suitable types of memory.
Processor 1710 may include one or more processing units; optionally, the processor 1710 integrates an application processor, which primarily handles operations involving the operating system, user interface, and applications, and a modem processor, which primarily handles wireless communication signals, such as a baseband processor. It is to be appreciated that the modem processor described above may not be integrated into processor 1710.
Fig. 18 is a schematic hardware structure diagram of an electronic device implementing an embodiment of the present application.
The electronic device 1800 includes, but is not limited to: radio frequency unit 1801, network module 1802, audio output unit 1803, input unit 1804, sensors 1805, display unit 1806, user input unit 1807, interface unit 1808, memory 18018, and processor 1810.
Those skilled in the art will appreciate that the electronic device 1800 may also include a power supply (e.g., a battery) for powering the various components, and that the power supply may be logically connected to the processor 1810 via a power management system to perform functions such as managing charging, discharging, and power consumption. The electronic device structure shown in fig. 18 does not constitute a limitation of the electronic device, and the electronic device may include more or less components than those shown, or combine some components, or arrange different components, and thus, the description thereof is omitted.
The input unit 1804 is configured to receive first positioning data sent by a first electronic device;
a processor 1810 configured to determine second positioning data based on first positioning data received last time;
the radio frequency unit 1801 is configured to send the second positioning data to the first electronic device when an offset of the second positioning data with respect to the currently received first positioning data is greater than a second threshold.
According to the electronic device provided by the embodiment of the application, the first positioning data sent by the first electronic device is received, and the second positioning data is determined based on the first positioning data received last time; under the condition that the offset of the second positioning data relative to the first positioning data is larger than a second threshold, the second positioning data is sent to the first electronic device, so that the optimal positioning data can be determined from the plurality of positioning data, and the positioning accuracy of the first electronic device in a complex environment is improved.
Optionally, the input unit 1804 is configured to obtain acceleration information acquired by an acceleration sensor when the wearable electronic device includes the acceleration sensor;
a processor 1810 is configured to determine second positioning data based on the acceleration information and the first positioning data received last time.
According to the electronic equipment that this application embodiment provided, through set up acceleration sensor in wearing formula electronic equipment or set up the mode of orientation module and receiving antenna and acquire the second location data between the first electronic equipment, it provides convenience to send a plurality of second location data for wearing formula electronic equipment to first electronic equipment.
It should be understood that in the embodiment of the present application, the input Unit 1804 may include a Graphics Processing Unit (GPU) 18041 and a microphone 18042, and the Graphics Processing Unit 18041 processes image data of still pictures or videos obtained by an image capturing device (such as a camera) in a video capturing mode or an image capturing mode. The display unit 1806 may include a display panel 18061, and the display panel 18061 may be configured in the form of a liquid crystal display, an organic light emitting diode, or the like. The user input unit 1807 includes at least one of a touch panel 18071 and other input devices 18072. A touch panel 18071, also referred to as a touch screen. The touch panel 18071 may include two parts of a touch detection device and a touch controller. Other input devices 18072 may include, but are not limited to, a physical keyboard, function keys (e.g., volume control keys, switch keys, etc.), a trackball, a mouse, and a joystick, which are not described in detail herein.
The memory 1809 may be used for storing software programs and various data, and the memory 1809 may mainly include a first storage area for storing programs or instructions and a second storage area for storing data, wherein the first storage area may store an operating system, application programs or instructions (such as a sound playing function, an image playing function, etc.) required by at least one function, and the like. Further, the memory 1809 may include volatile memory or nonvolatile memory, or the memory 1809 may include both volatile and nonvolatile memory. The non-volatile Memory may be a Read-Only Memory (ROM), a Programmable ROM (PROM), an Erasable PROM (EPROM), an Electrically Erasable PROM (EEPROM), or a flash Memory. The volatile Memory may be a Random Access Memory (RAM), a Static Random Access Memory (Static RAM, SRAM), a Dynamic Random Access Memory (Dynamic RAM, DRAM), a Synchronous Dynamic Random Access Memory (Synchronous DRAM, SDRAM), a Double Data Rate Synchronous Dynamic Random Access Memory (Double Data Rate SDRAM, ddr SDRAM), an Enhanced Synchronous SDRAM (ESDRAM), a Synchronous Link DRAM (SLDRAM), and a Direct Memory bus RAM (DRRAM). Memory 1809 in the present embodiment includes, but is not limited to, these and any other suitable types of memory.
Processor 1818 may include one or more processing units; optionally, the processor 1818 integrates an application processor, which primarily handles operations related to the operating system, user interface, applications, etc., and a modem processor, which primarily handles wireless communication signals, such as a baseband processor. It is to be appreciated that the modem processor described above may not be integrated into processor 1818.
The embodiment of the present application further provides a readable storage medium, where a program or an instruction is stored on the readable storage medium, and when the program or the instruction is executed by a processor, the program or the instruction implements each process of the foregoing positioning method embodiment, and can achieve the same technical effect, and in order to avoid repetition, details are not repeated here.
The processor is the processor in the electronic device described in the above embodiment. The readable storage medium includes a computer readable storage medium, such as a computer read only memory ROM, a random access memory RAM, a magnetic or optical disk, and the like.
The embodiment of the present application further provides a chip, where the chip includes a processor and a communication interface, the communication interface is coupled to the processor, and the processor is configured to run a program or an instruction to implement each process of the foregoing positioning method embodiment, and can achieve the same technical effect, and for avoiding repetition, details are not repeated here.
It should be understood that the chips mentioned in the embodiments of the present application may also be referred to as system-on-chip, system-on-chip or system-on-chip, etc.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element. Further, it should be noted that the scope of the methods and apparatus of the embodiments of the present application is not limited to performing the functions in the order illustrated or discussed, but may include performing the functions in a substantially simultaneous manner or in a reverse order based on the functions involved, e.g., the methods described may be performed in an order different than that described, and various steps may be added, omitted, or combined. In addition, features described with reference to certain examples may be combined in other examples.
Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner. Based on such understanding, the technical solutions of the present application may be embodied in the form of a computer software product, which is stored in a storage medium (such as ROM/RAM, magnetic disk, optical disk) and includes instructions for enabling a terminal (such as a mobile phone, a computer, a server, or a network device) to execute the method according to the embodiments of the present application.
While the present embodiments have been described with reference to the accompanying drawings, it is to be understood that the invention is not limited to the precise embodiments described above, which are meant to be illustrative and not restrictive, and that various changes may be made therein by those skilled in the art without departing from the spirit and scope of the invention as defined by the appended claims.

Claims (10)

1. A positioning method is applied to first electronic equipment, wherein the first electronic equipment is in communication connection with wearable equipment, and the positioning method is characterized by comprising the following steps:
acquiring first positioning data acquired by a first positioning module;
transmitting the first positioning data to the wearable electronic device;
under the condition of receiving second positioning data sent by the wearable electronic device, determining target positioning data from the second positioning data and the first positioning data, wherein the second positioning data is determined by the wearable electronic device according to the first positioning data received last time;
and determining the position information of the first electronic equipment according to the object positioning data.
2. The positioning method according to claim 1, wherein before receiving second positioning data transmitted by the wearable electronic device, the method further comprises:
and sending a control instruction to the wearable electronic equipment, wherein the control instruction is used for starting a target sensor of the wearable electronic equipment.
3. The positioning method according to claim 1, wherein determining object positioning data from the second positioning data and the first positioning data comprises:
determining an offset of the second positioning data relative to the first positioning data;
and determining the second positioning data as target positioning data when the offset is larger than a first threshold.
4. The positioning method according to claim 1, wherein the wearable electronic device comprises n second positioning modules, where n is a natural number, and determining the object positioning data from the second positioning data and the first positioning data comprises:
the amount of the second positioning data received is less than
Figure FDA0003592685420000011
Determining the first positioning data as target positioning data;
the quantity of the received second positioning data is not less than
Figure FDA0003592685420000012
The second positioning data that appears the most frequently is determined as the object positioning data.
5. A positioning method is applied to a first electronic device, wherein the first electronic device is in communication connection with a wearable device, and the method further comprises:
acquiring first positioning data acquired by a first positioning module;
transmitting the first positioning data to the wearable electronic device;
under the condition of receiving second positioning data sent by the wearable electronic device, determining the position information of the first electronic device according to the second positioning data.
6. A positioning method is applied to wearable electronic equipment, the wearable equipment is in communication connection with first electronic equipment, and the positioning method is characterized by comprising the following steps:
receiving first positioning data sent by the first electronic equipment;
determining second positioning data based on the first positioning data received last time;
and sending second positioning data to the first electronic equipment under the condition that the offset of the second positioning data relative to the first positioning data received this time is larger than a second threshold value.
7. The positioning method according to claim 6, wherein the wearable electronic device comprises an acceleration sensor, and the determining of the second positioning data based on the first positioning data received last time comprises:
acquiring acceleration information acquired by an acceleration sensor;
determining the second positioning data based on the acceleration information and the previously received first positioning data.
8. The utility model provides a positioner, is applied to first electronic equipment, first electronic equipment and wearable equipment communication connection, its characterized in that, the device includes:
the first acquisition module is used for acquiring first positioning data acquired by the first positioning module;
the first sending module is used for sending the first positioning data to the wearable electronic equipment;
the wearable electronic device comprises a first processing module and a second processing module, wherein the first processing module is used for determining target positioning data from the second positioning data and the first positioning data under the condition of receiving the second positioning data sent by the wearable electronic device, the second positioning data is determined by the wearable electronic device according to the first positioning data received last time, and the position information of the first electronic device is determined according to the target positioning data.
9. The utility model provides a positioner, is applied to first electronic equipment, first electronic equipment and wearable equipment communication connection, its characterized in that, the device still includes:
the second acquisition module is used for acquiring the first positioning data acquired by the first positioning module;
the second sending module is used for sending the first positioning data to the wearable electronic equipment;
the second processing module is used for determining the position information of the first electronic equipment according to the second positioning data under the condition of receiving the second positioning data sent by the wearable electronic equipment.
10. The utility model provides a positioner, is applied to wearable electronic equipment, wearable equipment and first electronic equipment communication connection, its characterized in that, the device includes:
the first receiving module is used for receiving first positioning data sent by the first electronic equipment;
the third processing module is used for determining second positioning data based on the first positioning data received last time;
a third sending module, configured to send the second positioning data to the first electronic device when an offset of the second positioning data with respect to the first positioning data received this time is greater than a second threshold.
CN202210383292.6A 2022-04-12 2022-04-12 Positioning method, positioning device and electronic equipment Pending CN114675315A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210383292.6A CN114675315A (en) 2022-04-12 2022-04-12 Positioning method, positioning device and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210383292.6A CN114675315A (en) 2022-04-12 2022-04-12 Positioning method, positioning device and electronic equipment

Publications (1)

Publication Number Publication Date
CN114675315A true CN114675315A (en) 2022-06-28

Family

ID=82078128

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210383292.6A Pending CN114675315A (en) 2022-04-12 2022-04-12 Positioning method, positioning device and electronic equipment

Country Status (1)

Country Link
CN (1) CN114675315A (en)

Similar Documents

Publication Publication Date Title
CN108337368B (en) Method for updating positioning data and mobile terminal
CN110986930B (en) Equipment positioning method and device, electronic equipment and storage medium
CN109932686B (en) Positioning method, mobile terminal and indoor positioning system
CN111026314B (en) Method for controlling display device and portable device
WO2021088498A1 (en) Virtual object display method and electronic device
US20190271558A1 (en) Methods, systems, and devices for displaying maps
JP2020532809A (en) Unmanned aerial vehicle navigation area planning methods, equipment and remote controls
CN112415554B (en) Positioning method and device, electronic equipment and computer readable storage medium
CN106465327B (en) Control method, device and system of mobile terminal
US11570745B2 (en) Positioning method and apparatus
CN108055635B (en) Position information acquisition method and device, storage medium and terminal
CN109813300B (en) Positioning method and terminal equipment
WO2022088989A1 (en) Augmented reality image display method and related apparatus
CN114466308B (en) Positioning method and electronic equipment
CN109618278B (en) Positioning method and mobile terminal
CN111366170A (en) State determination method and electronic equipment
CN109660663B (en) Antenna adjusting method and mobile terminal
CN114675315A (en) Positioning method, positioning device and electronic equipment
CN107835304B (en) Method and device for controlling mobile terminal, mobile terminal and storage medium
CN110824516A (en) Positioning method and electronic equipment
KR20160018120A (en) Multi smartphone and control method thereof
CN111309223B (en) Application function starting method and device, storage medium and mobile terminal
CN110491380B (en) Power saving control method of intelligent terminal, intelligent terminal and storage medium
CN110418406B (en) Positioning method, wearable device and computer-readable storage medium
CN113162845B (en) Image sharing method and 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