CN111352064A - Auxiliary pointing method and device and mobile phone - Google Patents
Auxiliary pointing method and device and mobile phone Download PDFInfo
- Publication number
- CN111352064A CN111352064A CN202010445754.3A CN202010445754A CN111352064A CN 111352064 A CN111352064 A CN 111352064A CN 202010445754 A CN202010445754 A CN 202010445754A CN 111352064 A CN111352064 A CN 111352064A
- Authority
- CN
- China
- Prior art keywords
- mobile phone
- position information
- pointing
- rssi value
- rssi
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
- 238000000034 method Methods 0.000 title claims abstract description 40
- 238000013507 mapping Methods 0.000 claims abstract description 24
- 238000004364 calculation method Methods 0.000 claims description 14
- 238000012545 processing Methods 0.000 claims description 13
- 230000007547 defect Effects 0.000 abstract description 5
- 230000006870 function Effects 0.000 description 22
- 238000010586 diagram Methods 0.000 description 19
- 230000009286 beneficial effect Effects 0.000 description 8
- 238000004590 computer program Methods 0.000 description 7
- 238000005516 engineering process Methods 0.000 description 3
- 238000012986 modification Methods 0.000 description 3
- 230000004048 modification Effects 0.000 description 3
- XEEYBQQBJWHFJM-UHFFFAOYSA-N Iron Chemical compound [Fe] XEEYBQQBJWHFJM-UHFFFAOYSA-N 0.000 description 2
- 230000008859 change Effects 0.000 description 2
- 238000010295 mobile communication Methods 0.000 description 2
- 238000004422 calculation algorithm Methods 0.000 description 1
- 230000001413 cellular effect Effects 0.000 description 1
- 238000004891 communication Methods 0.000 description 1
- 229910052742 iron Inorganic materials 0.000 description 1
- 230000005389 magnetism Effects 0.000 description 1
- 238000004519 manufacturing process Methods 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 230000008569 process Effects 0.000 description 1
- 230000005855 radiation Effects 0.000 description 1
- 238000012827 research and development Methods 0.000 description 1
- 238000001228 spectrum Methods 0.000 description 1
- 238000012360 testing method Methods 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G01—MEASURING; TESTING
- G01S—RADIO 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
- G01S3/00—Direction-finders for determining the direction from which infrasonic, sonic, ultrasonic, or electromagnetic waves, or particle emission, not having a directional significance, are being received
- G01S3/02—Direction-finders for determining the direction from which infrasonic, sonic, ultrasonic, or electromagnetic waves, or particle emission, not having a directional significance, are being received using radio waves
- G01S3/14—Systems for determining direction or deviation from predetermined direction
Landscapes
- Physics & Mathematics (AREA)
- Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Radar, Positioning & Navigation (AREA)
- Remote Sensing (AREA)
- Telephone Function (AREA)
Abstract
The invention discloses an auxiliary pointing method, an auxiliary pointing device and a mobile phone, wherein the method comprises the following steps: acquiring at least one AP position information; based on the AP position information, RSSI values of at least two mobile phone antennas are obtained; acquiring mobile phone position information; calculating orientation range information of the mobile phone according to the AP position information, the mobile phone position information and the RSSI value of the mobile phone antenna; and mapping the AP position information, the mobile phone position information and the orientation range information to a mobile phone map respectively for assisting pointing. Has the advantages that: when the geomagnetic sensor cannot point immediately due to the fact that calibration is needed, a pointing range is fed back immediately to guide the user in the correct direction, the defects that the geomagnetic sensor is prone to interference and needs to wait for calibration are overcome, the waiting time of the user is shortened, the user can obtain correct direction data in time, and user experience is improved.
Description
Technical Field
The invention relates to the technical field of positioning and navigation, in particular to an auxiliary pointing method, an auxiliary pointing device and a mobile phone.
Background
At present, many mobile phones have an electronic compass function, which is particularly important in indoor positioning or walking navigation and can indicate directions for users. In the prior art, the pointing function of the mobile phone depends on the geomagnetic sensor, and because the geomagnetic sensor is easily interfered and needs to be calibrated frequently, a user sometimes encounters the situation that the electronic compass cannot be immediately prepared, so that navigation to the user cannot be performed in time, the time of the user is wasted, and the user experience is reduced.
Disclosure of Invention
The present invention is directed to solving, at least to some extent, one of the technical problems in the art described above. Therefore, a first objective of the present invention is to provide an auxiliary pointing method, which feeds back a pointing range to provide correct direction guidance for a user in real time when a geomagnetic sensor cannot point at once due to calibration, so as to make up for the defects that the geomagnetic sensor is susceptible to interference and needs to wait for calibration, reduce the waiting time of the user, enable the user to obtain correct direction data in time, and improve user experience.
A second object of the present invention is to provide an auxiliary pointing device.
The third objective of the present invention is to provide a mobile phone.
In order to achieve the above object, an embodiment of a first aspect of the present invention provides an auxiliary pointing method, which is applied to a mobile phone, and includes:
acquiring at least one AP position information;
based on the AP position information, RSSI values of at least two mobile phone antennas are obtained;
acquiring mobile phone position information;
calculating orientation range information of the mobile phone according to the AP position information, the mobile phone position information and the RSSI value of the mobile phone antenna;
and mapping the AP position information, the mobile phone position information and the orientation range information to a mobile phone map respectively for assisting pointing.
According to some embodiments of the present invention, after obtaining the orientation range information of the mobile phone by calculation, the method further includes:
calculating the pointing angle of the mobile phone;
and mapping the mobile phone pointing angle to a mobile phone map for auxiliary pointing.
According to some embodiments of the invention, the calculating the pointing angle of the mobile phone comprises:
acquiring first AP position information;
based on the first AP position information, acquiring a first RSSI value of a first mobile phone antenna and a second RSSI value of a second mobile phone antenna after antenna efficiency compensation processing to obtain an RSSI difference value of the first RSSI value and the second RSSI value, and acquiring a mobile phone pointing angle according to a second function of the mobile phone pointing angle and the RSSI difference value;
degree_offset=f(RSSI1-RSSI2)
wherein, degree _ offset is the pointing angle of the mobile phone, f () is a function of the pointing angle of the mobile phone with respect to the difference between RSSI values, RSSI1 is the first RSSI value, and RSSI2 is the second RSSI value.
According to some embodiments of the invention, after mapping the cell phone pointing angle to a cell phone map for assisting pointing, further comprising:
judging whether a geomagnetic sensor arranged on the mobile phone completes calibration or not;
when the geomagnetic sensor is determined to finish calibration, the pointing information fed back by the geomagnetic sensor is used for indicating the direction.
According to some embodiments of the invention, the auxiliary pointing method comprises:
acquiring two AP position information, namely second AP position information and third AP position information;
based on the same AP position information, RSSI values of two mobile phone antennas are obtained; the two mobile phone antennas are a third mobile phone antenna and a fourth mobile phone antenna; acquiring a third RSSI value of a third mobile phone antenna and a fourth RSSI value of a fourth mobile phone antenna based on the second AP position information; acquiring a fifth RSSI value of a third mobile phone antenna and a sixth RSSI value of a fourth mobile phone antenna based on the third AP position information;
calculating orientation range information of the mobile phone according to the second AP position information, the third AP position information, the mobile phone position information, the third RSSI value, the fourth RSSI value, the fifth RSSI value and the sixth RSSI value;
and mapping the second AP position information, the third AP position information, the mobile phone position information and the orientation range information to a mobile phone map respectively for assisting pointing.
According to some embodiments of the present invention, the method for acquiring the location information of the mobile phone comprises at least one of GPS positioning, wifi positioning, bluetooth positioning, and base station positioning;
the method for acquiring the AP position information comprises wifi positioning.
In order to achieve the above object, a second aspect of the present invention provides an auxiliary pointing device, including:
a first obtaining module, configured to obtain at least one AP location information;
a second obtaining module, configured to obtain RSSI values of at least two mobile phone antennas based on the AP location information;
the third acquisition module is used for acquiring the position information of the mobile phone;
the first calculation module is used for calculating orientation range information of the mobile phone according to the AP position information, the mobile phone position information and the RSSI value of the mobile phone antenna;
and the mapping module is used for mapping the AP position information, the mobile phone position information and the orientation range information to a mobile phone map respectively for assisting pointing.
According to some embodiments of the invention, the auxiliary pointing device further comprises:
the second calculation module is used for calculating the pointing angle of the mobile phone after the information of the orientation range of the mobile phone is obtained through calculation;
the mapping module is further used for mapping the mobile phone pointing angle to a mobile phone map for auxiliary pointing.
According to some embodiments of the invention, the second calculation module comprises:
the storage module is used for storing a second function of the difference value between the mobile phone pointing angle and the RSSI;
the second sub-module is used for acquiring a first RSSI value of the first mobile phone antenna and a second RSSI value of the second mobile phone antenna after antenna efficiency compensation processing through the second acquisition module to obtain an RSSI difference value of the first RSSI value and the second RSSI value, and acquiring a mobile phone pointing angle according to a second function stored in the storage module;
degree_offset=f(RSSI1-RSSI2)
wherein, degree _ offset is the pointing angle of the mobile phone, f () is a function of the pointing angle of the mobile phone with respect to the difference between RSSI values, RSSI1 is the first RSSI value, and RSSI2 is the second RSSI value.
According to some embodiments of the invention, the auxiliary pointing device further comprises:
the judging module is used for judging whether a geomagnetic sensor arranged on the mobile phone finishes calibration or not after the mobile phone pointing angle is mapped to a mobile phone map for assisting pointing;
and the determining module is used for using the pointing information fed back by the geomagnetic sensor to indicate the direction when the geomagnetic sensor is determined to finish calibration.
In order to achieve the above object, a third embodiment of the present invention provides a mobile phone, including the auxiliary pointing device as described above.
The auxiliary pointing method, the auxiliary pointing device and the mobile phone provided by the invention provide direction guidance for a user, and when the geomagnetic sensor cannot point immediately due to the need of calibration, a pointing range is fed back immediately to perform correct direction guidance for the user, so that the defects that the geomagnetic sensor is easily interfered and needs to wait for calibration are overcome, the waiting time of the user is reduced, the user can obtain correct direction data in time, and the user experience is improved. The direction data is calculated by utilizing the multi-antenna RSSI of the mobile phone, and the method is realized by utilizing the existing hardware without increasing extra cost.
Additional features and advantages of the invention will be set forth in the description which follows, and in part will be obvious from the description, or may be learned by practice of the invention. The objectives and other advantages of the invention will be realized and attained by the structure particularly pointed out in the written description and drawings.
The technical solution of the present invention is further described in detail by the accompanying drawings and embodiments.
Drawings
The accompanying drawings, which are included to provide a further understanding of the invention and are incorporated in and constitute a part of this specification, illustrate embodiments of the invention and together with the description serve to explain the principles of the invention and not to limit the invention. In the drawings:
FIG. 1 is a flow diagram of an assisted pointing method according to one embodiment of the present invention;
FIG. 2 is a schematic illustration of an assisted pointing according to an embodiment of the present invention;
FIG. 3 is a flow chart of a method of calculating a pointing angle of a handset according to one embodiment of the invention;
FIG. 4 is a schematic diagram of calculating a pointing angle of a handset according to one embodiment of the invention;
FIG. 5 is a block diagram of an auxiliary pointing device according to one embodiment of the present invention;
FIG. 6 is a block diagram of an auxiliary pointing device according to yet another embodiment of the present invention;
fig. 7 is a block diagram of a handset in accordance with one embodiment of the invention.
Detailed Description
The preferred embodiments of the present invention will be described in conjunction with the accompanying drawings, and it will be understood that they are described herein for the purpose of illustration and explanation and not limitation.
An auxiliary pointing method, an auxiliary pointing device and a mobile phone according to embodiments of the present invention are described below with reference to fig. 1 to 7.
FIG. 1 is a flow diagram of an assisted pointing method according to one embodiment of the present invention; as shown in fig. 1, an embodiment of the first aspect of the present invention provides an auxiliary pointing method, which is suitable for a mobile phone, and includes steps S1-S5:
s1, obtaining at least one AP position information;
an AP (Access Point) is a common device for establishing a small wireless lan.
S2, acquiring RSSI values of at least two mobile phone antennas based on the AP position information;
the mobile phone supports 2 × 2 MIMO and 4 × 4 MIMO technologies, and the MIMO (Multiple-Input Multiple-Output) technology is to use Multiple transmitting antennas and Multiple receiving antennas at a transmitting end and a receiving end respectively, so that signals are transmitted and received through the Multiple antennas at the transmitting end and the receiving end, thereby improving communication quality. The multi-antenna multi-transmission multi-receiving system can fully utilize space resources, realize multi-transmission and multi-reception through a plurality of antennas, and improve the system channel capacity by times under the condition of not increasing frequency spectrum resources and antenna transmitting power. The RSSI (received Signal Strength indication) receives Signal Strength indication, according to the difference of the distance between the mobile phone antenna and the AP at a fixed position, the RSSI value of the mobile phone antenna is different, and the Signal Strength received by the mobile phone antenna close to the AP is greater than the Signal Strength received by the mobile phone antenna far away from the AP.
S3, acquiring the position information of the mobile phone;
s4, calculating orientation range information of the mobile phone according to the AP position information, the mobile phone position information and the RSSI value of the mobile phone antenna;
and S5, mapping the AP position information, the mobile phone position information and the orientation range information to a mobile phone map respectively for assisting the pointing.
The working principle of the technical scheme is as follows: the position of the mobile phone antenna on the mobile phone is determined, and the mobile phone antenna can be an internal antenna or an external antenna. Illustratively, AP position information of a fixed position is acquired, RSSI values of two mobile phone antennas are acquired based on the AP position information, one mobile phone antenna is arranged at the top of the mobile phone, and the other mobile phone antenna is arranged at the bottom of the mobile phone; calculating orientation range information of the mobile phone according to the AP position information, the mobile phone position information and the RSSI value of the mobile phone antenna, wherein the bottom of the mobile phone faces the AP, and the top of the mobile phone is far away from the AP; and mapping the AP position information, the mobile phone position information and the orientation range information to a mobile phone map respectively for assisting pointing.
In an embodiment, two AP location information are obtained, and RSSI values of two mobile phone antennas are obtained. Specifically, FIG. 2 is a schematic diagram of an auxiliary pointing according to an embodiment of the present invention; as shown in figure 2 of the drawings, in which,
acquiring two AP position information, namely second AP position information and third AP position information;
based on the same AP position information, RSSI values of two mobile phone antennas are obtained; the two mobile phone antennas are a third mobile phone antenna and a fourth mobile phone antenna; acquiring a third RSSI value of a third mobile phone antenna and a fourth RSSI value of a fourth mobile phone antenna based on the second AP position information; acquiring a fifth RSSI value of a third mobile phone antenna and a sixth RSSI value of a fourth mobile phone antenna based on the third AP position information;
calculating orientation range information of the mobile phone according to the second AP position information, the third AP position information, the mobile phone position information, the third RSSI value, the fourth RSSI value, the fifth RSSI value and the sixth RSSI value;
and mapping the second AP position information, the third AP position information, the mobile phone position information and the orientation range information to a mobile phone map respectively for assisting pointing.
Based on the second AP position information, when the third RSSI value of the third mobile phone antenna is larger than the fourth RSSI value of the fourth mobile phone antenna, the distance between the third mobile phone antenna and the second AP is smaller than the distance between the fourth mobile phone antenna and the second AP; based on the third AP position information, when the fifth RSSI value of the third mobile phone antenna is smaller than the sixth RSSI value of the fourth mobile phone antenna, indicating that the distance between the third mobile phone antenna and the third AP is greater than the distance between the fourth mobile phone antenna and the third AP, the orientation range information of the mobile phone can be determined, that is, the third mobile phone antenna is close to the second AP position and far away from the third AP position; the fourth mobile phone antenna is close to the third AP position and far away from the second AP position. The third mobile phone antenna is arranged at the top of the mobile phone, the fourth mobile phone antenna is arranged at the bottom of the mobile phone, namely the top of the mobile phone faces the second AP, the bottom of the mobile phone faces the third AP, the orientation range of the mobile phone is 0-90 degrees, and the orientation which is impossible for the mobile phone is 135-315 degrees. The mobile phone orientation range can be more accurately determined through the two AP positions and the two mobile phone antenna RSSI values. Before the RSSI values of all mobile phone antennas are compared, antenna efficiency compensation processing is carried out, the influence on the RSSI values due to different receiving efficiencies of all antennas is reduced, and the auxiliary pointing accuracy is improved.
The beneficial effects of the above technical scheme are that: the method provides direction guide for the user, when the geomagnetic sensor cannot point immediately due to the fact that calibration is needed, a pointing range is fed back immediately to conduct correct direction guide for the user, the defects that the geomagnetic sensor is prone to interference and needs to wait for calibration are overcome, waiting time of the user is shortened, the user can obtain correct direction data in time, and user experience is improved. The direction data is calculated by utilizing the multi-antenna RSSI of the mobile phone, and the method is realized by utilizing the existing hardware without increasing extra cost.
According to some embodiments of the present invention, after obtaining the orientation range information of the mobile phone by calculation, the method further includes:
s41, calculating the pointing angle of the mobile phone;
and S42, mapping the mobile phone pointing angle to a mobile phone map for auxiliary pointing.
The working principle and the beneficial effects of the technical scheme are as follows: the orientation range of the mobile phone is determined, the orientation angle of the mobile phone is calculated in order to obtain more accurate orientation information, and the orientation angle of the mobile phone is mapped to a mobile phone map to assist in orientation, so that the accuracy of the user in indicating the direction is improved.
FIG. 3 is a flow chart of a method of calculating a pointing angle of a handset according to one embodiment of the invention; as shown in fig. 3, the calculating of the pointing angle of the mobile phone includes steps S411 to S412:
s411, acquiring first AP position information;
s412, based on the first AP position information, obtaining a first RSSI value of the first mobile phone antenna and a second RSSI value of the second mobile phone antenna after antenna efficiency compensation processing to obtain an RSSI difference value of the first RSSI value and the second RSSI value, and obtaining a mobile phone pointing angle according to a second function of the mobile phone pointing angle and the RSSI difference value;
degree_offset=f(RSSI1-RSSI2)
wherein, degree _ offset is the pointing angle of the mobile phone, f () is a function of the pointing angle of the mobile phone with respect to the difference between RSSI values, RSSI1 is the first RSSI value, and RSSI2 is the second RSSI value.
The working principle of the technical scheme is as follows: FIG. 4 is a schematic diagram of calculating a pointing angle of a handset according to one embodiment of the invention; as shown in fig. 4, the distance between the first AP and the first mobile phone antenna is d, the distance between the first AP and the second mobile phone antenna is d + δ, the first mobile phone antenna is disposed at the bottom of the mobile phone, the second mobile phone antenna is disposed at the top of the mobile phone, and δ =0 when the side of the mobile phone is directly opposite to the first AP; when the top or tail of the handset is directly opposite to the first AP, δ = L. Delta changes along with the relative angle between the mobile phone and the first AP, d can be obtained through positioning coordinates, L is the distance between the first mobile phone antenna and the second mobile phone antenna, and a first function of the difference value delta between the pointing angle of the mobile phone and the distance is established; degree _ offset = F (δ). Wherein, degree _ offset is the pointing angle of the handset, and F () is a function of the pointing angle of the handset with respect to δ.
The radiation power of the first AP respectively reaches the first mobile phone antenna and the second mobile phone antenna through a path with delta distance difference, a first RSSI value of the first mobile phone antenna and a second RSSI value of the second mobile phone antenna after antenna efficiency compensation processing are obtained, and an RSSI difference value of the first RSSI value and the second RSSI value is obtained. The RSSI difference value of the first RSSI value and the second RSSI value is in positive correlation with delta, and the larger delta is, the larger RSSI difference value of the first RSSI value and the second RSSI value is; the smaller δ, the smaller the RSSI difference between the first RSSI value and the second RSSI value. Therefore, the function of the difference value delta between the pointing angle and the distance of the mobile phone can be converted into a function of the difference value between the pointing angle and the RSSI of the mobile phone, namely a second function of the difference value between the pointing angle and the RSSI of the mobile phone; specifically, a mobile phone pointing angle is calculated according to a first RSSI value of a first mobile phone antenna and a second RSSI value of a second mobile phone antenna, and degree _ offset = f (RSSI1-RSSI2), wherein RSSI1 is the first RSSI value, and RSSI2 is the second RSSI value; in the research and development stage of the mobile phone, data are obtained through multiple tests, the relation between the change of the pointing angle of the mobile phone and the RSSI difference value is obtained, and the relation is stored in the mobile phone. And obtaining the mobile phone pointing angle through a second function after obtaining the RSSI value of each mobile phone antenna.
The beneficial effects of the above technical scheme are that: more accurate pointing information can be obtained, pointing accuracy is improved, and user experience is improved.
According to some embodiments of the invention, after mapping the cell phone pointing angle to a cell phone map for assisting pointing, further comprising:
judging whether a geomagnetic sensor arranged on the mobile phone completes calibration or not;
when the geomagnetic sensor is determined to finish calibration, the pointing information fed back by the geomagnetic sensor is used for indicating the direction.
The working principle of the technical scheme is as follows: after the mobile phone pointing angle is mapped to a mobile phone map for assisting pointing, when a user navigates by walking according to pointing information, the handheld state of the mobile phone may change, at this time, calibration of the geomagnetic sensor may be continuously performed at the background, and when it is determined that the calibration of the geomagnetic sensor is completed, the pointing information fed back by the geomagnetic sensor is used for indicating the direction, that is, the pointing information fed back by the geomagnetic sensor after the calibration is replaced with the pointing information before the pointing information is replaced.
The beneficial effects of the above technical scheme are that: the user need not to wait for the calibration of earth magnetism sensor and can obtain the direction immediately, realizes pointing fast, saves user's latency, promotes user experience.
According to some embodiments of the present invention, the method for acquiring the location information of the mobile phone comprises at least one of GPS positioning, wifi positioning, bluetooth positioning, and base station positioning;
the method for acquiring the AP position information comprises wifi positioning.
The working principle of the technical scheme is as follows: wifi positioning: the positioning software detects the ID (router address) of wifi and then completes positioning under the cooperation of the wifi position database and the map data. To use wifi positioning, the handset must support and enable wifi. The accuracy of the method depends on the density of the wifi router and the detailed degree of the wifi position database. Base station positioning: based on cellular mobile communication technology. The mobile communication network is composed of a plurality of base stations (large iron towers) which are arranged according to a certain rule, each base station covers a regular hexagonal area, each regular hexagonal area is called a cell, each cell (base station) has a fixed ID (number), the formed network is similar to a honeycomb, and the positioning precision depends on the radius of the cell where a mobile phone is positioned. GPS positioning: is a network assisted global satellite positioning system. Bluetooth positioning: bluetooth 4.0-based Bluetooth Low Energy (BLE) is adopted to assist indoor positioning.
The beneficial effects of the above technical scheme are that: the mobile phone position information and the AP position information can be effectively acquired.
In one embodiment, the antenna efficiency compensation processing is performed on the mobile phone antenna a and the mobile phone antenna b, and the algorithm includes:
efficiency of the mobile phone antenna a:
wherein,is the radiated power of the handset antenna a,the input power of the mobile phone antenna a;
efficiency of the mobile phone antenna b:
wherein,is the radiated power of the handset antenna b,the input power of the mobile phone antenna b;
carrying out efficiency compensation on the mobile phone antenna a and the mobile phone antenna b, and setting a preset efficiency value;
Wherein,is the compensation coefficient of the mobile phone antenna a, toIs a compensation factor for the handset antenna b.
The beneficial effects of the above technical scheme are that: the antenna efficiency of the mobile phone antenna a and the antenna efficiency of the mobile phone antenna b are compensated, so that the RSSI value of the mobile phone antenna a and the RSSI value of the mobile phone antenna b are compared more accurately, and the influence of the comparison result due to the difference of the antenna efficiency between the mobile phone antenna a and the mobile phone antenna b is reduced.
FIG. 5 is a block diagram of an auxiliary pointing device 100 according to one embodiment of the present invention; as shown in fig. 5, a second embodiment of the present invention provides an auxiliary pointing device 100, including:
a first obtaining module 1, configured to obtain at least one AP location information;
a second obtaining module 2, configured to obtain RSSI values of at least two mobile phone antennas based on the AP location information;
the third obtaining module 3 is used for obtaining the position information of the mobile phone;
the first calculation module 4 is configured to calculate orientation range information of the mobile phone according to the AP location information, the mobile phone location information, and an RSSI value of the mobile phone antenna;
and the mapping module 5 is configured to map the AP location information, the mobile phone location information, and the orientation range information to a mobile phone map for assisting pointing.
The working principle and the beneficial effects of the auxiliary pointing device 100 are the same as those of the auxiliary pointing method, and are not described herein again.
Fig. 6 is a block diagram of an auxiliary pointing device 100 according to still another embodiment of the present invention; as shown in fig. 6, the auxiliary pointing device 100 further includes:
the second calculation module 6 is used for calculating the pointing angle of the mobile phone after the information of the orientation range of the mobile phone is obtained through calculation;
the mapping module 5 is further configured to map the mobile phone pointing angle to a mobile phone map for assisting pointing.
According to some embodiments of the invention, the second calculation module 6 comprises:
the storage module 61 is configured to store a second function of the pointing angle of the mobile phone and the difference between the RSSI values;
the second sub-module 62 is configured to obtain, by the second obtaining module 2, a first RSSI value of the first mobile phone antenna and a second RSSI value of the second mobile phone antenna after the antenna efficiency compensation processing, to obtain an RSSI difference value between the first RSSI value and the second RSSI value, and obtain a pointing angle of the mobile phone according to the second function stored in the storage module;
degree_offset=f(RSSI1-RSSI2)
wherein, degree _ offset is the pointing angle of the mobile phone, f () is a function of the pointing angle of the mobile phone with respect to the difference between RSSI values, RSSI1 is the first RSSI value, and RSSI2 is the second RSSI value.
According to some embodiments of the invention, the auxiliary pointing device 100 further comprises:
the judging module 7 is used for judging whether a geomagnetic sensor arranged on the mobile phone finishes calibration or not after the mobile phone pointing angle is mapped to a mobile phone map for assisting pointing;
and the determining module 8 is configured to use the pointing information fed back by the geomagnetic sensor to indicate a direction when it is determined that the geomagnetic sensor completes calibration.
FIG. 7 is a block diagram of a handset 200 according to one embodiment of the invention; as shown in fig. 7, a third embodiment of the present invention provides a mobile phone 200, which includes the auxiliary pointing device 100 as described above.
The beneficial effects of the above technical scheme are that: the method provides direction guide for the user, when the geomagnetic sensor cannot point immediately due to the fact that calibration is needed, a pointing range is fed back immediately to conduct correct direction guide for the user, the defects that the geomagnetic sensor is prone to interference and needs to wait for calibration are overcome, waiting time of the user is shortened, the user can obtain correct direction data in time, and user experience is improved. The direction data is calculated by utilizing the multi-antenna RSSI of the mobile phone, and the method is realized by utilizing the existing hardware without increasing extra cost.
As will be appreciated by one skilled in the art, embodiments of the present invention may be provided as a method, system, or computer program product. Accordingly, the present invention may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present invention may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, optical storage, and the like) having computer-usable program code embodied therein.
The present invention is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the invention. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
It will be apparent to those skilled in the art that various changes and modifications may be made in the present invention without departing from the spirit and scope of the invention. Thus, if such modifications and variations of the present invention fall within the scope of the claims of the present invention and their equivalents, the present invention is also intended to include such modifications and variations.
Claims (11)
1. An auxiliary pointing method is suitable for a mobile phone, and is characterized by comprising the following steps:
acquiring at least one AP position information;
based on the AP position information, RSSI values of at least two mobile phone antennas are obtained;
acquiring mobile phone position information;
calculating orientation range information of the mobile phone according to the AP position information, the mobile phone position information and the RSSI value of the mobile phone antenna;
and mapping the AP position information, the mobile phone position information and the orientation range information to a mobile phone map respectively for assisting pointing.
2. The auxiliary pointing method according to claim 1, wherein after the orientation range information of the mobile phone is obtained by calculation, the method further comprises:
calculating the pointing angle of the mobile phone;
and mapping the mobile phone pointing angle to a mobile phone map for auxiliary pointing.
3. The auxiliary pointing method according to claim 2, wherein the calculating of the pointing angle of the mobile phone comprises:
acquiring first AP position information;
based on the first AP position information, acquiring a first RSSI value of a first mobile phone antenna and a second RSSI value of a second mobile phone antenna after antenna efficiency compensation processing to obtain an RSSI difference value of the first RSSI value and the second RSSI value, and acquiring a mobile phone pointing angle according to a second function of the mobile phone pointing angle and the RSSI difference value;
degree_offset=f(RSSI1-RSSI2)
wherein, degree _ offset is the pointing angle of the mobile phone, f () is a function of the pointing angle of the mobile phone with respect to the difference between RSSI values, RSSI1 is the first RSSI value, and RSSI2 is the second RSSI value.
4. The assisted pointing method of claim 2, further comprising, after mapping the cell phone pointing angle to a cell phone map for assisted pointing:
judging whether a geomagnetic sensor arranged on the mobile phone completes calibration or not;
when the geomagnetic sensor is determined to finish calibration, the pointing information fed back by the geomagnetic sensor is used for indicating the direction.
5. The assisted pointing method according to claim 1, comprising:
acquiring two AP position information, namely second AP position information and third AP position information;
based on the same AP position information, RSSI values of two mobile phone antennas are obtained; the two mobile phone antennas are a third mobile phone antenna and a fourth mobile phone antenna; acquiring a third RSSI value of a third mobile phone antenna and a fourth RSSI value of a fourth mobile phone antenna based on the second AP position information; acquiring a fifth RSSI value of a third mobile phone antenna and a sixth RSSI value of a fourth mobile phone antenna based on the third AP position information;
calculating orientation range information of the mobile phone according to the second AP position information, the third AP position information, the mobile phone position information, the third RSSI value, the fourth RSSI value, the fifth RSSI value and the sixth RSSI value;
and mapping the second AP position information, the third AP position information, the mobile phone position information and the orientation range information to a mobile phone map respectively for assisting pointing.
6. The assisted pointing method according to claim 1, wherein the method of obtaining the location information of the mobile phone comprises at least one of GPS positioning, wifi positioning, bluetooth positioning, and base station positioning;
the method for acquiring the AP position information comprises wifi positioning.
7. An auxiliary pointing device, comprising:
a first obtaining module, configured to obtain at least one AP location information;
a second obtaining module, configured to obtain RSSI values of at least two mobile phone antennas based on the AP location information;
the third acquisition module is used for acquiring the position information of the mobile phone;
the first calculation module is used for calculating orientation range information of the mobile phone according to the AP position information, the mobile phone position information and the RSSI value of the mobile phone antenna;
and the mapping module is used for mapping the AP position information, the mobile phone position information and the orientation range information to a mobile phone map respectively for assisting pointing.
8. The auxiliary pointing device of claim 7, further comprising:
the second calculation module is used for calculating the pointing angle of the mobile phone after the information of the orientation range of the mobile phone is obtained through calculation;
the mapping module is further used for mapping the mobile phone pointing angle to a mobile phone map for auxiliary pointing.
9. The auxiliary pointing device of claim 8, wherein the second computing module comprises:
the storage module is used for storing a second function of the difference value between the mobile phone pointing angle and the RSSI;
the second sub-module is used for acquiring a first RSSI value of the first mobile phone antenna and a second RSSI value of the second mobile phone antenna after antenna efficiency compensation processing through the second acquisition module to obtain an RSSI difference value of the first RSSI value and the second RSSI value, and acquiring a mobile phone pointing angle according to a second function stored in the storage module;
degree_offset=f(RSSI1-RSSI2)
wherein, degree _ offset is the pointing angle of the mobile phone, f () is a function of the pointing angle of the mobile phone with respect to the difference between RSSI values, RSSI1 is the first RSSI value, and RSSI2 is the second RSSI value.
10. The auxiliary pointing device of claim 8, further comprising:
the judging module is used for judging whether a geomagnetic sensor arranged on the mobile phone finishes calibration or not after the mobile phone pointing angle is mapped to a mobile phone map for assisting pointing;
and the determining module is used for using the pointing information fed back by the geomagnetic sensor to indicate the direction when the geomagnetic sensor is determined to finish calibration.
11. A handset, characterised by comprising an auxiliary pointing device as claimed in any one of claims 7 to 10.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010445754.3A CN111352064B (en) | 2020-05-25 | 2020-05-25 | Auxiliary pointing method and device and mobile phone |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010445754.3A CN111352064B (en) | 2020-05-25 | 2020-05-25 | Auxiliary pointing method and device and mobile phone |
Publications (2)
Publication Number | Publication Date |
---|---|
CN111352064A true CN111352064A (en) | 2020-06-30 |
CN111352064B CN111352064B (en) | 2020-09-08 |
Family
ID=71195142
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202010445754.3A Active CN111352064B (en) | 2020-05-25 | 2020-05-25 | Auxiliary pointing method and device and mobile phone |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN111352064B (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN116381754A (en) * | 2023-03-09 | 2023-07-04 | 广州市泰粤科技股份有限公司 | Beidou differential 360-degree intelligent monitoring system and method for large crane |
GB2622778A (en) * | 2022-09-26 | 2024-04-03 | Nokia Technologies Oy | Orientation determination in telecommunication systems |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102577444A (en) * | 2009-11-09 | 2012-07-11 | 阿尔卡特朗讯 | Mobile communication device and method of operating a mobile communication device |
CN103842840A (en) * | 2011-07-25 | 2014-06-04 | 弗兰霍菲尔运输应用研究公司 | Concept for determining an orientation of a mobile device |
CN204795173U (en) * | 2015-07-13 | 2015-11-18 | 中国计量学院 | Cell -phone diversity system and cell -phone based on directional aerial |
US20170099640A1 (en) * | 2013-03-15 | 2017-04-06 | Google Technology Holdings LLC | Methods and apparatus for determining a transmit antenna gain and a spatial mode of a device |
WO2017118497A1 (en) * | 2016-01-07 | 2017-07-13 | Qualcomm Technologies International, Ltd. | Direction finding for legacy bluetooth devices |
CN109194418A (en) * | 2018-08-28 | 2019-01-11 | 北京小米移动软件有限公司 | Terminal signaling display methods and device |
-
2020
- 2020-05-25 CN CN202010445754.3A patent/CN111352064B/en active Active
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102577444A (en) * | 2009-11-09 | 2012-07-11 | 阿尔卡特朗讯 | Mobile communication device and method of operating a mobile communication device |
CN103842840A (en) * | 2011-07-25 | 2014-06-04 | 弗兰霍菲尔运输应用研究公司 | Concept for determining an orientation of a mobile device |
US20170099640A1 (en) * | 2013-03-15 | 2017-04-06 | Google Technology Holdings LLC | Methods and apparatus for determining a transmit antenna gain and a spatial mode of a device |
CN204795173U (en) * | 2015-07-13 | 2015-11-18 | 中国计量学院 | Cell -phone diversity system and cell -phone based on directional aerial |
WO2017118497A1 (en) * | 2016-01-07 | 2017-07-13 | Qualcomm Technologies International, Ltd. | Direction finding for legacy bluetooth devices |
CN109194418A (en) * | 2018-08-28 | 2019-01-11 | 北京小米移动软件有限公司 | Terminal signaling display methods and device |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
GB2622778A (en) * | 2022-09-26 | 2024-04-03 | Nokia Technologies Oy | Orientation determination in telecommunication systems |
CN116381754A (en) * | 2023-03-09 | 2023-07-04 | 广州市泰粤科技股份有限公司 | Beidou differential 360-degree intelligent monitoring system and method for large crane |
CN116381754B (en) * | 2023-03-09 | 2023-09-05 | 广州市泰粤科技股份有限公司 | Beidou differential 360-degree intelligent monitoring system and method for large crane |
Also Published As
Publication number | Publication date |
---|---|
CN111352064B (en) | 2020-09-08 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN103229587B (en) | Antenna pattern identification system and method for mobile communication equipment | |
CN103176192B (en) | Mobile terminal and its position location satellite system of selection | |
CN111352064B (en) | Auxiliary pointing method and device and mobile phone | |
US20110201357A1 (en) | Method and system for refining a location of a base station and/or a mobile device based on signal strength measurements and corresponding transmitter and/or receiver antenna patterns | |
CN102404843A (en) | Positioning method and wireless communication system | |
CN106324585A (en) | Positioning method and positioning system based on signal emitting device antenna direction correction | |
CN102636789B (en) | Rapid assisted positioning method for GPS (global positioning system) on portable mobile platform | |
CN107734448A (en) | A kind of method of locating terminal and device | |
CN103220780A (en) | Indoor positioning method, device and system | |
EP2921010A2 (en) | Method for corroboration and transferring trust between network databases for enhanced positioning accuracy | |
CN105530608A (en) | WiFi hotspot positioning method and mobile terminal | |
CN103428629A (en) | Hybrid location implementation method and system | |
CN107547598A (en) | A kind of localization method, server and terminal | |
CN113329337A (en) | Indoor positioning system based on bluetooth communication | |
CN107040989A (en) | A kind of method of locating terminal, device and base station | |
CN106851665A (en) | The downdip adjusting method of antenna and base station | |
CN106716170A (en) | Method for locating a device and a mobile locator device | |
CN103179659B (en) | Many base stations hybrid locating method and device | |
CN102118850A (en) | Method for realizing positioning by mobile communication signals and system | |
US20110244883A1 (en) | Method and mobile radio terminal device to determine position within mobile radio networks by means of direction finding | |
CN1248362C (en) | Antenna direction finding in mobile phones | |
CN102833848B (en) | Method, device and system for positioning mobile station | |
CN102812378A (en) | Method And Apparatus For Testing Received Signals In A Radio Signal Positioning System | |
JP4065802B2 (en) | Mobile station, communication control method | |
CN110493867B (en) | Wireless indoor positioning method for signal selection and position correction |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |