WO2018098717A1 - 一种调整定位周期的方法及装置 - Google Patents
一种调整定位周期的方法及装置 Download PDFInfo
- Publication number
- WO2018098717A1 WO2018098717A1 PCT/CN2016/108111 CN2016108111W WO2018098717A1 WO 2018098717 A1 WO2018098717 A1 WO 2018098717A1 CN 2016108111 W CN2016108111 W CN 2016108111W WO 2018098717 A1 WO2018098717 A1 WO 2018098717A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- mobile device
- record information
- environment
- environmental
- change rate
- Prior art date
Links
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W4/00—Services specially adapted for wireless communication networks; Facilities therefor
- H04W4/02—Services making use of location information
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04B—TRANSMISSION
- H04B17/00—Monitoring; Testing
- H04B17/30—Monitoring; Testing of propagation channels
- H04B17/309—Measuring or estimating channel quality parameters
- H04B17/318—Received signal strength
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W24/00—Supervisory, monitoring or testing arrangements
- H04W24/08—Testing, supervising or monitoring using real traffic
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W4/00—Services specially adapted for wireless communication networks; Facilities therefor
- H04W4/02—Services making use of location information
- H04W4/029—Location-based management or tracking services
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W52/00—Power management, e.g. TPC [Transmission Power Control], power saving or power classes
- H04W52/02—Power saving arrangements
- H04W52/0209—Power saving arrangements in terminal devices
- H04W52/0261—Power saving arrangements in terminal devices managing power supply demand, e.g. depending on battery level
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W64/00—Locating users or terminals or network equipment for network management purposes, e.g. mobility management
- H04W64/006—Locating users or terminals or network equipment for network management purposes, e.g. mobility management with additional information processing, e.g. for direction or speed determination
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W4/00—Services specially adapted for wireless communication networks; Facilities therefor
- H04W4/80—Services using short range communication, e.g. near-field communication [NFC], radio-frequency identification [RFID] or low energy communication
-
- Y—GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02D—CLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
- Y02D30/00—Reducing energy consumption in communication networks
- Y02D30/70—Reducing energy consumption in communication networks in wireless communication networks
Definitions
- the present invention relates to the field of communications, and in particular, to a method and apparatus for adjusting a positioning period.
- LBS Location Based Service
- the prior art adjusts the positioning period according to the distance of the mobile device to the destination, or the moving direction and the moving distance within a specific time period, to reduce the positioning power consumption. For example, when the mobile device is far away from the destination, a long positioning period is set; when the mobile device is closer to the destination, a short positioning period is set. Alternatively, when the moving direction indicates that the mobile device moves toward the destination and the moving distance within a certain time period is greater than the positioning service quality specifying accuracy requirement, the positioning period is shortened; when the moving direction indicates that the mobile device moves away from the destination, the positioning period is increased.
- the destination is known, and it is not applicable to the scene without the limited destination.
- the user only needs to know the location information of the child/elder, without setting any target for it.
- the calculation of the distance, the moving direction and the moving distance from the destination usually depends on the positioning technique or the motion sensor, not only the accuracy is limited by the positioning technique or the accuracy of the motion sensor, but also brings additional power consumption.
- the embodiment of the invention provides a method and a device for adjusting a positioning period, which can accurately adjust a positioning period in various scenarios to better reduce positioning power consumption.
- a method for adjusting a positioning period is provided, which is applied to During the positioning process of the mobile device, the positioning period when the mobile device is positioned is adjusted.
- the method specifically includes: the mobile device acquires a set of environmental record information in the current environment, and the environment record information includes the received signal strength of the environmental signal in the current environment (English name: Received Signal Strength, RSS), and the reception of the environmental signal.
- the information source identifier of the time and environment signal the mobile device determines the location change rate value of the mobile device according to the obtained N group environment record information; the location change rate value reflects the location change distance of the mobile device in the unit time; N is greater than or equal to 2
- the mobile device then adjusts the positioning period of the mobile device according to the determined location change rate value.
- the positioning period of the mobile device can be adjusted by the mobile device by acquiring the environmental record information of the current environment and further obtaining the position change rate value, and then adjusting according to the position change rate value.
- the positioning period can be adjusted by using the solution of the present application. Further, the present application adjusts the positioning period and uses the existing solution.
- the RSS of the environmental signal does not increase the extra power consumption of the mobile device, so that the power consumption of the mobile device is lower; without relying on positioning, the accuracy in adjusting the positioning period is improved.
- the environmental signal includes, but is not limited to, at least one of the following signals that the mobile device can detect: cellular signal, wireless fidelity (English full name: Wireless Fidelity, WIFI) signal, Bluetooth signal, optical signal, geomagnetic signal.
- wireless fidelity English full name: Wireless Fidelity, WIFI
- Bluetooth Wireless Fidelity
- optical signal optical signal
- geomagnetic signal the advantageous effects of the first aspect described above are achieved by implementing the above-described first aspect scheme by various environmental signals.
- the type of the environmental signal it can be configured according to actual requirements.
- the type of the environmental signal is not specifically limited in this application. Any signal that can be used to evaluate the position change rate value of a mobile device can be used as an environmental signal.
- the mobile device determines, according to the obtained N sets of environment record information, a location change rate value of the mobile device, which may be specifically implemented as:
- the number of information sources of the environmental signal is taken as the dimension of the N sets of environmental record information, and the environmental record information is used as the location point of the mobile device, and the distance between the position points of the mobile device corresponding to the N sets of environmental record information is calculated, and then the calculation is performed.
- the distance obtained is divided by the N group of environmental record information received The difference in reception time between the earliest ambient signal and the environmental signal at the latest reception time, as the position change rate value of the mobile device.
- a specific scheme for realizing the mobile device to determine the location change rate value of the mobile device according to the acquired N sets of environment record information is provided, and the distance of the N sets of environment record information is used as a measure of the size of the mobile device location change.
- the position change rate value of the similar rate is reflected, and the position of the mobile device is changed faster and faster, and the positioning period can be accurately adjusted according to the position change rate value.
- the method may include: if N is equal to 2, calculating a distance between the location points of the mobile device corresponding to the two sets of environmental record information; or, if N is greater than 2, calculating the environmental signal of the N group of environmental record information, the earliest received environment signal belongs to The distance between the environment record information and the location point of the mobile device corresponding to the environment record information to which the environmental signal of the latest is received, as the distance between the location points of the mobile device corresponding to the N sets of environment record information; or If N is greater than 2, the distance between the position points of the mobile device corresponding to the two sets of environmental record information to which the two adjacent environmental signals belong to the N-group environmental record information is calculated, and the obtained N-1 will be obtained.
- the distances are averaged as the distance between the location points of the mobile devices corresponding to the N sets of
- the mobile device determines the location change rate value of the mobile device according to the acquired N sets of environment record information
- the calculated distance is used.
- the part can include a variety of distance calculation methods. For example, when the mobile device determines the location change rate value of the mobile device according to the acquired N sets of environment record information, it may calculate the Euclidean distance, or calculate the standardized Euclidean distance, or calculate the Manhattan distance, or calculate the Chebyshev distance, or Other distance-based calculation methods calculate the distance between the location points of the mobile devices corresponding to the N sets of environmental record information. Of course, there are other ways to calculate the distance, which are not listed here. This application does not specifically limit this.
- the value of N can be determined according to actual needs, and a fixed value is set. Alternatively, the value of N may also be set according to actual needs.
- the value of N is adaptively adjusted according to the mobile device position change rate value. For example, when the mobile device location change rate value is larger, the value of N is correspondingly decreased; when the mobile device location change rate value is smaller, the value of N is correspondingly increased.
- the corresponding relationship between the mobile device location change rate value and the N may be set according to actual requirements, which is not specifically limited in this application.
- calculating an Euclidean distance between the first environment record information and the second environment record information is:
- the RSS 1k is the RSS of the environmental signal generated by the kth information source in the first environment record information;
- the RSS 2k is the RSS of the environment signal generated by the kth information source in the second environment record information.
- the method may further include If the first environment record information includes the RSS of the environment signal generated by the first information source, the second environment record information does not include the RSS of the environment signal generated by the first information source, and the first information source is included in the second environment record information.
- the RSS of the generated environmental signal is assigned a predetermined value.
- the first environment record information and the second environment record information are two sets of environment record information for calculating a distance in the N sets of environment record information.
- the specific value of the predetermined value may be set according to actual requirements, which is not specifically limited in this application.
- another mobile device is provided to determine an implementation manner of a location change rate value of the mobile device according to the acquired N sets of environment record information.
- the method includes: extracting feature values of the N sets of environmental record information; and inputting the feature values of the N sets of environmental record information into the training model, The position change rate value of the training model output is obtained as the position change rate value of the mobile device.
- the feature value is a value recognizable by the training model; and the training model is configured to obtain a position change rate value corresponding to the input environment record information according to the feature value of the input environment record information.
- the training model can quickly obtain the characteristics of the position change rate value, directly input the characteristic value of the detected environmental record information into the training model, and quickly obtain the change rate value of the mobile device position, thereby improving the processing efficiency.
- the characteristic value of the environmental record information may include, but is not limited to, an Euclidean distance of the environmental record information, an average value of the environmental record information, a variance of the environmental record information, or the like.
- the type of the feature value of the environmental record information is not specifically limited in the present application.
- the mobile device acquires the mobile device according to the N group environment record information.
- a training model needs to be established.
- the training data is first acquired, and the training data includes the environmental record information and the position change rate, and then the machine learning algorithm is used to establish a mapping relationship between the environmental record information (abstract into a feature) and the position change rate to obtain a training model.
- the training data can be obtained by means of a global positioning system (Global Positioning System, GPS), etc., and the application does not limit the acquisition of training data. The process of establishing a training model will not be repeated.
- a specific implementation manner of the mobile device adjusting the positioning period of the mobile device according to the location change rate value including: the mobile device The positioning period is adjusted to a positioning period corresponding to the determined position change rate value of the mobile device in the preset correspondence relationship.
- the preset correspondence includes at least one location change rate value and a positioning period corresponding to at least one location change speed value.
- a larger position change rate value corresponds to a smaller positioning period; a smaller position change rate value corresponds to a larger positioning period.
- the correspondence between the location change rate value and the positioning period is not specifically limited.
- the method may further The method includes: determining whether the value of the location change rate of the mobile device determined this time is greater than or equal to a preset threshold value of the previous location change rate value of the mobile device. The mobile device adjusts the positioning period of the mobile device according to the location change rate value. If the difference is greater than or equal to the preset threshold, the mobile device adjusts the positioning period of the mobile device according to the location change rate value.
- the positioning period of the mobile device is adjusted only when the mobile device location change rate value is greater than or equal to the preset threshold value of the mobile device's previous location change rate value, so that the adjustment of the positioning period is better satisfied.
- the actual demand avoids frequent adjustment of the positioning period when the mobile device moves slowly, and wastes resources caused by the mobile device.
- any value greater than or equal to zero may be set according to actual requirements, which is not specifically limited in this application.
- the mobile device location change rate value if the determined mobile device location change rate value is determined, the difference between the previous location change rate value of the mobile device is less than a preset threshold. , the mobile device is re-executed to detect the RSS of the environmental signal in the current environment.
- the mobile device adjusts the positioning period of the mobile device according to the location change rate value
- the recorded environment record information is cleared.
- the accuracy of the positioning period is adjusted.
- the mobile device obtains a set of environment record information in the current environment, the group of the environment record information acquired by the mobile device If the number is less than N, the mobile device is re-executed to obtain a set of environmental record information in the current environment.
- the embodiment of the present invention provides an apparatus for adjusting a positioning period.
- the apparatus for adjusting a positioning period may implement the functions in the foregoing method examples, and the functions may be implemented by hardware or by executing corresponding software by hardware.
- the hardware or software includes one or more modules corresponding to the above functions.
- the apparatus for adjusting the positioning period includes a processor and a transceiver, and the processor is configured to support the apparatus for adjusting the positioning period to perform a corresponding function in the foregoing method.
- the transceiver is configured to support the device that adjusts the positioning period to receive environmental signals, as well as communication with other devices.
- the apparatus for adjusting the positioning period may further include a memory for coupling with the processor, which stores program instructions and data necessary for the apparatus for adjusting the positioning period.
- an embodiment of the present invention provides a computer storage medium for storing computer software instructions for use in the apparatus for adjusting a positioning period, which includes a program designed to perform the above aspects.
- FIG. 1 is a schematic structural diagram of an apparatus for adjusting a positioning period according to an embodiment of the present invention
- FIG. 2 is a schematic flowchart of a method for adjusting a positioning period according to an embodiment of the present invention
- FIG. 2a is a schematic diagram of a mobile device acquiring environment record information according to an embodiment of the present invention
- FIG. 3 is a schematic flowchart diagram of another method for adjusting a positioning period according to an embodiment of the present disclosure
- FIG. 4 is a schematic structural diagram of another apparatus for adjusting a positioning period according to an embodiment of the present invention.
- FIG. 5 is a schematic structural diagram of another apparatus for adjusting a positioning period according to an embodiment of the present disclosure
- FIG. 6 is a schematic structural diagram of a mobile phone according to an embodiment of the present invention.
- LBS applications in mobile devices are more popular.
- the LBS application in the mobile device obtains the current geographic location of the mobile device by periodically locating the mobile device, and provides the mobile device user with a service related to the geographic location.
- the geo alarm clock application provides the user with an alarm clock service that matches the geographic location based on the geographical location of the currently located mobile device.
- the child/elderly care application is based on the geographical location of the currently located mobile device, providing the child/elderly caregiver with the specific location of the caretaker.
- the navigation application provides the user with a preferred route to the destination based on the geographic location of the currently located mobile device.
- the length of the positioning cycle is different, some applications are real-time positioning, always online, and some applications can be positioned once every other time.
- the positioning technology may include, but is not limited to, GPS positioning, WIFI positioning, cellular positioning, inertial navigation positioning, and the like.
- the mobile device can be a user equipment (English name: User Equipment, UE), a mobile phone, a tablet computer, a notebook computer, a super mobile personal computer (English name: Ultra-mobile Personal Computer, UMPC), a netbook, a personal number.
- Assistant English full name: Personal Digital Assistant, PDA
- e-books mobile TV, wearable devices, personal computers (English full name: Personal Computer, PC) and so on.
- the embodiment of the present invention does not specifically limit the type of the mobile device.
- the positioning period can be adjusted according to actual needs.
- the positioning period is adjusted according to the destination, the moving direction and the moving speed of the mobile device, and the positioning process or the motion sensor itself is used, so that the process of adjusting the positioning period is not affected by the accuracy of the positioning technology or the motion sensor. Accurate and introduces additional power consumption.
- the mobile device estimates the location change rate of the mobile device according to the detected environmental signal, and then adjusts the positioning period of the mobile device according to the estimated location change rate of the mobile device. Since the mobile device adjusts the positioning period by detecting the existing existing environmental signals by itself, there is no need to locate and not bring the amount. External power consumption is not affected by other aspects of accuracy and does not introduce additional power consumption or introduces only a small amount of power consumption; more needless to know the destination of the mobile device, it can be applied to various scenarios.
- FIG. 1 is a schematic structural diagram of an apparatus 10 for adjusting a positioning period related to embodiments of the present invention.
- the apparatus 10 for adjusting a positioning period may be part or all of a mobile device.
- the apparatus 10 for adjusting the positioning period may include a processor 101, a memory 102, and a collector 103.
- the memory 102 can be a volatile memory (English full name: volatile memory), such as random access memory (English name: random-access memory, RAM); or non-volatile memory (English full name: non-volatile memory), For example, read-only memory (English full name: read-only memory, ROM), flash memory (English full name: flash memory), hard disk (English full name: hard disk drive, HDD) or solid state hard disk (English full name: solid-state drive, SSD); or a combination of the above types of memory for storing related applications, and configuration files, that can implement the method of the present invention.
- volatile memory such as random access memory (English name: random-access memory, RAM
- non-volatile memory English full name: non-volatile memory
- read-only memory English full name: read-only memory, ROM
- flash memory English full name: flash memory
- hard disk English full name: hard disk drive, HDD
- solid state hard disk English full name: solid-state drive, SSD
- the processor 101 is a control center of the device 10 for adjusting the positioning period, and may be a central processing unit (English name: central processing unit, CPU), or may be a specific integrated circuit (English name: Application Specific Integrated Circuit, ASIC), or Is one or more integrated circuits configured to implement embodiments of the present invention, such as: one or more microprocessors (English full name: digital singnal processor, DSP), or one or more field programmable gate arrays Full name: Field Programmable Gate Array, FPGA).
- the processor 101 can perform various functions of the apparatus 10 that adjusts the positioning period by running or executing software programs and/or modules stored in the memory 102, as well as invoking data stored in the memory 102.
- the collector 103 is for detecting the received signal strength of the environmental signal.
- the type of the collector 103 may vary depending on the type of environmental signal.
- the collector 103 can be an antenna of the mobile device. If the environmental signal is an optical signal, the collector 103 can be an optical receiver of the mobile device. If the environmental signal is a geomagnetic field signal, the collector 103 can be a geomagnetic pressure gauge.
- any component of the RSS used to detect the environmental signal may be referred to as the above-mentioned collector 103.
- the mobile device location change rate value means that the location of the mobile device in the unit time becomes faster and slower.
- the mobile device location change rate value is a measure of the speed of the mobile device location change using a rate-like concept.
- the environmental record information refers to a set of information including an RSS value of an environmental signal, a reception time of an environmental signal, and an information source identifier of an environmental signal.
- the information source of the environmental signal refers to a device that generates an environmental signal.
- the environmental signal is a cellular signal
- the information source may be a base station.
- the embodiment of the present invention provides a method for adjusting a positioning period, which is used to adjust a positioning period in a mobile device LBS application.
- the method for adjusting a positioning period provided by an embodiment of the present invention is described below from the perspective of a mobile device working process.
- the mobile device is a device for adjusting a positioning period, or the mobile device includes a device for adjusting a positioning period. Therefore, the action performed by the mobile device in the embodiment of the present invention is an action performed by the device that adjusts the positioning period.
- the method for adjusting a positioning period may include:
- the mobile device acquires a set of environmental record information in a current environment.
- the environmental record information includes an RSS of the environmental signal in the current environment, a reception time of the environmental signal, and an information source identifier of the environmental signal.
- the information source is identified as information that uniquely identifies the source of the information.
- the embodiment of the present invention does not specifically limit the type and content of the information source identifier.
- the receiving time of the environmental signal may include an absolute time or a relative time, which is not specifically limited in this embodiment of the present application.
- the environmental signal may include, but is not limited to, at least one of the following signals detectable by the mobile device: a cellular signal, a WIFI signal, a Bluetooth signal, an optical signal, a geomagnetic field signal.
- the optical signal can be a light-emitting diode (English name: Light Emitting Diode, LED) visible light communication (English full name: Visible Light Communications, VLC) signal.
- the environmental signal may further include other signals than the above five signals.
- the embodiment of the present invention does not specifically limit the type of the environmental signal. Any signal that can be used to estimate the location of a mobile device becomes faster and slower can be used as an environmental signal.
- the manner of detecting the RSS of the environmental signal is different in S201.
- the information source is a cellular base station
- the mobile device first accesses the serving cell and scans signals of all detectable base stations in the periphery.
- the mobile terminal obtains the identifier of the serving cell and the RSS of the cellular signal from the broadcast information by receiving the broadcast information of the serving cell; the mobile device listens to the broadcast signal of the serving cell, and the system information block in the broadcast information (English name: System Information Block) , SIB) extracts the frequency of the neighboring cell, and then the mobile device performs scanning measurement on the frequency of the neighboring cell, acquires the identifier of each neighboring cell, and the RSS of the cellular signal that the mobile device receives each neighboring cell.
- SIB System Information Block
- the measurement of the neighboring cell to obtain the identifier of each neighboring cell and the RSS of the cellular signal may include: measuring a received signal strength indicator (RSSI) or a reference signal receiving power of the neighboring cell (English name: Received Signal Strength Indicator, RSSI) The full name of the English: Reference Signal Receiving Power (RSRP), and receive the broadcast message of the neighboring cell, from which the identity of the neighboring cell base station (English full name: identity, ID), RSS and other information is obtained.
- RSSI received signal strength indicator
- RSRP Reference Signal Receiving Power
- the mobile device scans the WIFI signal in the receiving environment and the identifier of the WIFI AP.
- the information source is a Bluetooth site.
- Beacon the mobile device scans the Bluetooth signal in the receiving environment and the identity of the Bluetooth station.
- the mobile device scans the optical signal in the receiving environment and the identifier of the VLC LED lamp.
- the information source is the earth
- the mobile device scans the earth magnetic field signal in the environment through a magnetic pressure gauge.
- the above example only illustrates the process of executing S201 under different environmental signals, and is not limited to the process of S201.
- the environmental signal is other types of signals, the corresponding detection method corresponds to it, and the RSS that can obtain the environmental signal is targeted.
- the set of environment record information includes an RSS of the at least one environment signal detected by the mobile device, a reception time of each environment signal in the at least one environment signal, and an information source of each environment signal in the at least one environment signal.
- the environmental signal is a cellular signal and a Bluetooth signal generated by the base station.
- the mobile device scans 5 cells (including 1 serving cell and 4 neighboring cells), which are respectively recorded as A, B, C, D, and E, and the RSS signals of the cellular signals from each cell base station are respectively for And at time t1, the mobile device also scanned 2 Bluetooth stations, which are respectively recorded as F and G, and the RSS signals of the Bluetooth signals from each Bluetooth station are respectively
- the superscript indicates the receiving time, the subscript is the information source identifier, and the recorded environmental record information is At time t2, the mobile device scans to the same 5 cells (including 1 serving cell and 4 neighboring cells), and the RSS from each cell base station is respectively And at time t2, the mobile device also scanned 2 Bluetooth stations, and the RSS signals of the Bluetooth signals from each Bluetooth station are respectively
- the saved environment record information is
- the type and quantity of the information sources of the acquired environmental signals are not necessarily the same each time S201 is executed.
- the information source X may be acquired at a certain moment, and the information source X may not be acquired at the next moment.
- the mobile device may periodically execute S201, and one cycle is one time block in the time axis shown in FIG. 2a.
- FIG. 2a a schematic diagram of the mobile device acquiring environmental record information in S201 is illustrated.
- T1 to t10 indicate different times of execution S201, each group acquires a set of environmental record information, and at time t1, S201 acquires environment record information X1, t2 executes S201 to obtain environment record information X2, and at time t3, performs S201 acquisition.
- S201 acquires the environmental record information X4, and so on.
- the mobile device determines, according to the obtained N sets of environment record information, a location change rate value of the mobile device.
- the location change rate value is used to reflect the location change distance of the mobile device in a unit time, which embodies that the location of the mobile device becomes faster and slower.
- N is greater than or equal to 2. It should be noted that the value of N may be set according to actual requirements, and the value of N is not limited in the embodiment of the present invention.
- the value of the fixed value of N may be set, and the value of the adaptive dynamic configuration N may be set in the process of performing the solution of the embodiment of the present invention according to an actual requirement. Specifically limited.
- the value of the adaptive dynamic configuration N may be set according to the position change rate value of the mobile device determined in S202.
- a correspondence may be established, where the at least one location change rate value and the value of N corresponding to one-to-one are included in the correspondence, and when the location change rate value of the mobile device is determined in S202, The value of N is changed to a value corresponding to the determined location change rate value of the mobile device in the correspondence.
- the specific content of the corresponding relationship may be set according to actual requirements, which is not specifically limited in this embodiment of the present invention.
- a relationship of calculating the value of N based on the location change rate value may be preset, and when the location change rate value of the mobile device is determined in S202, the mobile device is used. The position change rate value is substituted into the preset relationship, and the N adjusted value is obtained.
- the embodiment of the present invention does not specifically limit the content of the preset relationship, and may be a linear relationship or a power function relationship. Of course, it may be other.
- S202 may be performed according to environment record information in a certain time window.
- the number of time blocks included in the time window is the value of N.
- the time window size when N is 2 is illustrated in Figure 2a.
- N can be implemented by a time window, and is not limited to the size of the time window.
- Embodiments of the present invention describe two processes for implementing S202, but are not specifically limited to the process of S202.
- the specific implementation manner of determining the location change rate value of the mobile device according to the obtained N sets of environment record information in the S202 may include, but is not limited to, the following two implementation manners:
- the mobile device obtains the location change rate value of the mobile device according to the stored N sets of environment record information by using the following steps 1 and 2.
- Step 1 The number of information sources that generate the environment signal is used as the dimension of the environment record information, and the environment record information is used as the location point of the mobile device, and the distance between the location points of the mobile devices corresponding to the N sets of environment record information is calculated.
- the location information of the mobile device corresponding to the N group environment record information calculated in the foregoing step 1 is The distance may include calculating any of the following distances: Euclidean distance, normalized Euclidean distance, Manhattan distance, Chebyshev distance.
- the distance of the N sets of environment record information calculated in the above step 1 may also be the distance obtained by other methods for calculating the distance, which is not specifically limited in the embodiment of the present invention.
- the Euclidean distance between the location point of the mobile device corresponding to the first environment record information and the second environment record information is calculated as:
- the RSS 1k is the RSS of the environmental signal generated by the kth information source in the first environment record information; the RSS 2k is the RSS of the environment signal generated by the kth information source in the second environment record information.
- the Euclidean distance between the position points of the mobile device corresponding to the environmental record information saved at time t1 and time t2 is calculated as follows:
- the standard Euclidean distance between the location point of the mobile device corresponding to the first environment record information and the second environment record information is calculated as: Where s k is the component standard deviation.
- the Manhattan distance is also referred to as a city block distance
- the Manhattan distance between the first environmental record information and the location point of the mobile device corresponding to the second environment record information is calculated as:
- the Chebyshev distance between the location point of the mobile device corresponding to the first environment record information and the second environment record information is calculated as:
- step 1 when the distance between the location points of the mobile device corresponding to the N sets of environment record information is calculated in step 1, when the value of N is different, the solution of performing step 1 above may be affected, and may specifically include but not Limited to the following three options:
- N the distance between the position points of the mobile device corresponding to the two sets of environmental record information may be calculated.
- the distance for calculating the N sets of environmental record information is implemented as: calculating the environmental record information to which the environmental signal with the earliest reception time belongs in the N group environment record information. The distance between the position point of the mobile device corresponding to the environmental record information to which the environmental signal of the latest reception time belongs, as the distance of the position point of the mobile device corresponding to the N sets of environmental record information.
- N the distance between the location points of the mobile devices corresponding to the two sets of environmental record information to which the two environmental signals adjacent to the receiving time belong, in the N sets of environmental record information, respectively, is calculated, and N-1 will be obtained.
- the distance is averaged as the distance of the position point of the mobile device corresponding to the N sets of environmental record information.
- the number of environmental signals detected by the mobile device at different times and the number of information sources for generating the environmental signals are not necessarily the same.
- the dimensions included by the two may be different.
- the dimensions of the two are filled in the same way by filling in the predetermined value.
- the first environment record information includes the RSS of the environment signal generated by the first information source
- the second environment record information does not include the first information.
- the RSS of the environmental signal generated by the source, in the second environment record information, the RSS of the environmental signal generated by the first information source is assigned a predetermined value, and then the mobile device corresponding to the first environment record information and the second environment record information is calculated.
- the first environment record information and the second environment record information are two sets of environment record information for calculating a distance in the N sets of environment record information.
- the specific value of the predetermined value may be set according to actual requirements, which is not specifically limited in this application.
- the mobile device scans to four cells, which are respectively recorded as A, B, C, and D, and the RSS signals of the cellular signals from each of the cell base stations are respectively for And at time t1, the mobile device also scanned 2 Bluetooth stations, which are respectively recorded as E and F, and the RSS signals of the Bluetooth signals from each Bluetooth station are respectively
- the saved environment record information is At time t2, the cells scanned by the mobile device are A, B, C, and D.
- the scanned Bluetooth stations are E and H, and the RSS from each cell base station is The RSS of the Bluetooth signal from each Bluetooth site is The saved environment record information is
- the mobile device when scanning the RSS for acquiring the environmental signal, if the acquired RSS value is less than or equal to the identifiable threshold, the mobile device ignores the RSS value less than or equal to the identifiable threshold, that is, the scanned value is not scanned.
- Information source for environmental signals The specific value of the identifiable threshold value may be determined according to actual requirements, which is not limited by the embodiment of the present application.
- the identifiable threshold can be -100 dB, or -200 dB.
- the Euclidean distance between the mobile device location points corresponding to X1 and X2 can be calculated as:
- Step 2 The distance calculated in step 1 is divided by the reception time difference between the environmental signal with the earliest reception time and the environmental signal with the latest reception time in the N group environmental signals, as the position change rate value of the mobile device.
- the feature values of the N sets of environmental record information are extracted, and the feature values of the N sets of environmental record information are input into the training model, and the position change rate value output by the training model is obtained as the position change rate value of the mobile device.
- the feature value is a value recognizable by the training model.
- the characteristic values of the environmental record information may include, but are not limited to, an Euclidean distance, an average of the Euclidean distance, a variance of the Euclidean distance, or the like.
- the type of the feature value of the environmental record information is not specifically limited in the present application.
- the training model is configured to obtain a position change rate value corresponding to the input environmental record information according to the feature value of the input environment record information.
- the training model is that the mobile device collects the training data, and after extracting the feature from the training data, the training is obtained by using a machine learning algorithm.
- the embodiment of the present invention does not specifically limit the training process. Any method that uses the training model to obtain the value of the mobile device location change rate is within the scope of protection of the present application.
- the above machine learning algorithm may include a support vector machine (English name: Support Vector Machine, SVM), a neural network (English full name: Neural Network, NN), a random forest, and the like.
- SVM Support Vector Machine
- NN Neural Network
- the embodiment of the present invention does not specifically limit the type of the machine learning algorithm.
- the mobile device adjusts a positioning period of the mobile device according to the location change rate value.
- the mobile device adjusts the positioning period of the mobile device according to the location change rate value, which may be implemented by the following scheme A or scheme B.
- the positioning period of the mobile device is adjusted to a positioning period corresponding to the mobile device location change rate value determined in S202 in the preset correspondence relationship.
- the preset correspondence includes at least one location change rate value and a positioning period that is in one-to-one correspondence with the at least one location change rate value.
- the preset correspondence relationship includes at least one preset position change rate value interval range and a positioning period corresponding to each preset position change rate value interval range.
- the preset correspondence relationship execution S203 may be directly performed by using the location change rate value determined in S202.
- the location change rate value determined in S202 may be pre-processed, and the preset correspondence relationship is executed to perform S203. This embodiment of the present invention does not specifically limit this.
- the pre-processing may include rounding, formula calculation, and the like.
- the pre-processing is used to match the position change rate value determined in S202 with the preset position change rate value preset in the preset correspondence. Specific hand of the preprocessing for the embodiment of the present invention The paragraph is also not limited.
- Tables 1 and 2 illustrate two different preset correspondences.
- Tables 1 and 2 above merely illustrate the content and form of the preset correspondence by way of example, and are not limited to the form and content of the preset correspondence. In practical applications, the content and form of the preset correspondence can be set according to actual needs.
- the solution B determines the position change rate value of the mobile device determined in S202 into a preset function relationship, and calculates and determines the adjusted positioning period of the mobile device.
- the content of the function relationship between the preset position change rate value and the positioning period is not specifically limited, and may be a linear relationship or a power function relationship, and of course, other .
- the process of S201 to S203 is performed cyclically to implement adaptive dynamic adjustment of the positioning period of the mobile device, thereby better reducing power consumption.
- the two loops may be continuously performed, or may be performed periodically, which is not specifically limited in the embodiment of the present invention.
- the cycle period may be set according to actual requirements, which is not specifically limited in the embodiment of the present invention.
- the positioning period is an initial positioning period.
- the configuration may be configured according to actual requirements, which is not specifically limited in this embodiment of the present invention.
- the mobile device may determine whether the positioning time is reached. If the positioning time is reached, perform positioning after performing S201; if the positioning time is not reached, execute S201. The next round of the solution of the present invention is carried out.
- the positioning period when the mobile device is positioned is the environment record information that the mobile device obtains the existing environment signal by itself and further obtains the position change rate value, according to The position change rate value is adjusted.
- the positioning period is adjusted, the destination of the mobile device is not required to be known, and the positioning period is not limited by the application scenario.
- the positioning period can be adjusted by using the solution of the present application.
- the present application adjusts the positioning period and uses the existing solution.
- the RSS of the environmental signal does not increase the extra power consumption of the mobile device, so that the power consumption of the mobile device is lower.
- the solution for adjusting the positioning period of the present application does not need to rely on positioning, thereby improving the accuracy of adjusting the positioning period.
- the method may further include:
- the mobile device determines, by the mobile device, a location change rate value, and whether the difference between the previous location change rate value of the mobile device is greater than or equal to a preset threshold.
- the difference between the previous location change rate value of the mobile device is greater than or equal to a preset threshold, Then, S203 is performed.
- S201, S202, and S202a are re-executed.
- the value of the preset threshold may be set according to actual requirements, which is not specifically limited in this embodiment of the present invention.
- the method may further include:
- the mobile device determines whether the quantity of the currently obtained environmental record information is equal to N.
- S201 and S201a are re-executed, and then S201a is executed, and then S202 is executed or S201 is re-executed.
- the solution provided by the embodiment of the present invention is mainly introduced from the perspective of the working process of the mobile device.
- the mobile device may be a device for adjusting a positioning period, or the mobile device includes a device for adjusting a positioning period.
- the device for adjusting the positioning period includes corresponding hardware structures and/or software modules for performing the respective functions in order to implement the above functions.
- the present invention can be implemented in a combination of hardware or hardware and computer software in combination with the elements and algorithm steps of the various examples described in the embodiments disclosed herein. Whether a function is implemented in hardware or computer software to drive hardware depends on the specific application and design constraints of the solution. A person skilled in the art can use different methods for implementing the described functions for each particular application, but such implementation should not be considered to be beyond the scope of the present invention.
- the function module of the apparatus for adjusting the positioning period may be divided according to the foregoing method.
- each function module may be divided according to each function, or two or more functions may be integrated into one processing module.
- the above integrated modules can be implemented in the form of hardware or in the form of software functional modules. Implementation. It should be noted that the division of the module in the embodiment of the present invention is schematic, and is only a logical function division, and the actual implementation may have another division manner.
- FIG. 4 shows a possible structural diagram of the apparatus 40 for adjusting the positioning period involved in the above embodiment.
- the apparatus 40 for adjusting the positioning period includes: an obtaining unit 401, a determining unit 402, and an adjusting unit 403.
- the device 40 for supporting the adjustment of the positioning period performs the process S201 in FIG. 2 or FIG. 3; the device 40 for determining the adjustment positioning period by the determining unit 402 performs the process S202 in FIG. 2 or FIG. 3;
- the apparatus 40 supporting the adjustment of the positioning period performs the process S203 in Fig. 2 or Fig. 3. All the related content of the steps involved in the foregoing method embodiments may be referred to the functional descriptions of the corresponding functional modules, and details are not described herein again.
- FIG. 5 shows a possible structural diagram of the apparatus 50 for adjusting the positioning period involved in the above embodiment.
- the device 50 for adjusting the positioning period may include: a processing module 501, a communication module 502, and an acquisition module 503.
- the processing module 501 is configured to control and manage the action of the device 50 that adjusts the positioning period.
- the processing module 501 is configured to perform the process S201 in FIG. 2 or FIG. 3 by the means 50 for supporting the adjustment of the positioning period by the acquisition module 503, and the processing module 501 is further configured to support the apparatus 50 for adjusting the positioning period to perform the operation in FIG. 2 or FIG. Processes S201a, S202, S202a, S203, and/or other processes for the techniques described herein.
- the communication module 502 is configured to support communication of the device 50 that adjusts the positioning period with other network entities.
- the apparatus 50 for adjusting the positioning period may further include a storage module 504 for storing program codes and data of the apparatus 50 for adjusting the positioning period.
- the processing module 501 may be the processor 101 in the physical structure of the device 10 for adjusting the positioning period shown in FIG. 1, and may be a processor or a controller.
- it can be a CPU, a general purpose processor, a DSP, an ASIC, an FPGA or other programmable logic device, a transistor logic device, a hardware component, or any combination thereof. It is possible to implement or carry out the various illustrative logical blocks, modules and circuits described in connection with the present disclosure.
- the processor 101 can also be a combination of computing functions, such as one or more microprocessor combinations, a combination of a DSP and a microprocessor, and the like.
- the communication module 502 can It is a communication port, or it can be a transceiver, a transceiver circuit, or a communication interface.
- the acquisition module 503 can be the collector 103 in the physical structure of the device 10 for adjusting the positioning period shown in FIG. 1, and the collector 103 can be a sensor or a functional unit.
- the storage module 504 can be the memory 102 in the physical structure of the device 10 that adjusts the positioning period shown in FIG.
- the apparatus 50 for adjusting the positioning period may be the apparatus 10 for adjusting the positioning period shown in FIG. .
- the above-described means 10 or 40 or 50 for adjusting the positioning period may be part or all of the mobile device.
- the mobile device provided by the embodiment of the present invention may be used to implement the method implemented by the foregoing embodiments of the present invention. For the convenience of description, only parts related to the embodiment of the present invention are shown. For details that are not disclosed, refer to the present invention. Various embodiments.
- FIG. 6 is a block diagram showing a partial structure of the mobile phone 60 related to various embodiments of the present invention.
- the mobile phone 60 includes: a radio frequency (radio frequency, RF) circuit 601, a memory 602, an input unit 603, a display unit 604, a sensor 605, an audio circuit 606, a processor 607, and a power source 608.
- RF radio frequency
- the structure of the handset shown in FIG. 6 does not constitute a limitation to the handset, and may include more or less components than those illustrated, or some components may be combined, or different components may be arranged.
- the components of the mobile phone 60 will be specifically described below with reference to FIG. 6:
- the RF circuit 601 can be used for transmitting and receiving information or during a call, and receiving and transmitting signals, and is also used to support the mobile phone 60 to perform S201 shown in FIG. 2 or FIG. 3 and detect the RSS when the environmental signal is a cellular signal. Specifically, after the downlink information of the base station is received, it is processed by the processor 607; in addition, the uplink data is transmitted to the base station.
- the RF circuit 601 includes, but is not limited to, an antenna, at least one amplifier, a transceiver, a coupler, a low noise amplifier (LNA), a duplexer, and the like.
- LNA low noise amplifier
- the mobile phone 60 may further include a WiFi module, a Bluetooth module, or an optical module, etc., for supporting the mobile phone 60 to execute S201 shown in FIG. 2 or FIG. 3, and detecting the environment.
- the signal is a WIFI signal or a Bluetooth signal or an RSS of an optical signal.
- the RF circuit 601 can also communicate with the network and other devices through wireless communication.
- the wireless communication may use any communication standard or protocol, including but not limited to a global mobile communication system (GSM), a general packet radio service (GPRS). , code division multiple access (CDMA), wideband code division multiple access (WCDMA), long term evolution (English name: long term evolution, LTE), email Short message service (English name: short messaging service, SMS).
- GSM global mobile communication system
- GPRS general packet radio service
- CDMA code division multiple access
- WCDMA wideband code division multiple access
- long term evolution English name: long term evolution, LTE
- email Short message service English name: short messaging service, SMS.
- the memory 602 can be used to store software programs and modules, and the processor 607 executes various functional applications and data processing of the mobile phone 60 by running software programs and modules stored in the memory 602.
- the memory 602 may mainly include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application required for at least one function (such as a sound playing function, an image playing function, etc.), and the like; the storage data area may be stored according to The data created by the use of the mobile phone 60 (such as audio data, image data, phone book, etc.) and the like.
- the storage program area may store an operating system, an application required for at least one function (such as a sound playing function, an image playing function, etc.), and the like
- the storage data area may be stored according to The data created by the use of the mobile phone 60 (such as audio data, image data, phone book, etc.) and the like.
- memory 602 can include high speed random access memory, and can also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid state storage device.
- the input unit 603 can be configured to receive input numeric or character information and to generate key signal inputs related to user settings and function control of the handset 60.
- the input unit 603 can include a touch screen 6031 and other input devices 6032.
- the touch screen 6031 also referred to as a touch panel, can collect touch operations on or near the user (such as the operation of the user using a finger, a stylus, or the like on the touch screen 6031 or near the touch screen 6031), and The corresponding connecting device is driven according to a preset program.
- the touch screen 6031 may include two parts of a touch detection device and a touch controller.
- the touch detection device detects the touch orientation of the user and detects the touch operation belt
- the incoming signal transmits the signal to the touch controller;
- the touch controller receives the touch information from the touch detection device, converts it into contact coordinates, sends it to the processor 607, and can receive the command sent by the processor 607 and Implement it.
- the touch screen 6031 can be implemented in various types such as resistive, capacitive, infrared, and surface acoustic waves.
- the input unit 603 may also include other input devices 6032.
- other input devices 6032 may include, but are not limited to, one or more of a physical keyboard, function keys (such as volume control buttons, power switch buttons, etc.), trackballs, mice, joysticks, and the like.
- the display unit 604 can be used to display information input by the user or information provided to the user and various menus of the mobile phone 60.
- the display unit 604 can include a display panel 6041.
- the display panel 6041 can be configured in the form of a liquid crystal display (LCD) or an organic light-emitting diode (OLED).
- the touch screen 6031 may cover the display panel 6041. After the touch screen 6031 detects a touch operation on or near it, the touch screen 6031 transmits to the processor 607 to determine the type of the touch event, and then the processor 607 displays the panel according to the type of the touch event. A corresponding visual output is provided on the 6041.
- the touch screen 6031 and the display panel 6041 are used as two separate components to implement the input and input functions of the mobile phone 60
- the touch screen 6031 can be integrated with the display panel 6041 to implement the mobile phone 400. Input and output functions.
- the sensor 605 can be a gravity sensor or a magnetic pressure gauge.
- the sensor 605 is a gravity sensor, the magnitude of the acceleration of the mobile phone in various directions (usually three axes) can be detected, and the magnitude and direction of the gravity can be detected at rest, which can be used to identify the gesture of the mobile phone (such as horizontal and vertical screen switching, related Game, magnetometer attitude calibration), vibration recognition related functions (such as pedometer, tapping).
- the sensor 605 is magnetically timed, the geomagnetic signal can be detected.
- multiple types of sensors can be included in the handset 60, and are only described herein as sensors 605, not limiting the number and type.
- the handset 60 can also include other sensors, such as light sensors.
- the light sensor can include an ambient light sensor and a proximity light sensor.
- the ambient light sensor can adjust the brightness of the display panel 6041 according to the brightness of the ambient light; the proximity light sensor can detect whether an object approaches or contacts the mobile phone, and can close the display panel 6041 and/or the backlight when the mobile phone 60 moves to the ear.
- the mobile phone 60 can also be configured with other sensors such as a gyroscope, a barometer, a hygrometer, a thermometer, an infrared sensor, and the like, and will not be described herein.
- the audio circuit 606, the speaker 6061, and the microphone 6062 can provide an audio interface between the user and the handset 60.
- the audio circuit 606 can transmit the converted audio data of the received audio data to the speaker 6061, and convert it into a sound signal output by the speaker 6061.
- the microphone 6062 converts the collected sound signal into an electrical signal, and the audio circuit 606. After receiving, it is converted into audio data, and then the audio data is output to the RF circuit 601 for transmission to, for example, another mobile phone, or the audio data is output to the memory 602 for further processing.
- the processor 607 is the control center of the handset 60, which connects various portions of the entire handset using various interfaces and lines, by running or executing software programs and/or modules stored in the memory 602, and recalling data stored in the memory 602, The various functions of the mobile phone 60 and the processing data are executed to perform overall monitoring of the mobile phone.
- the processor 607 may include one or more processing units; preferably, the processor 607 may integrate an application processor and a modem processor.
- the application processor mainly processes an operating system, a user interface, an application, and the like, and the modem processor mainly processes wireless communication. It can be understood that the above modem processor may not be integrated into the processor 607.
- the handset 60 also includes a power source 608 (such as a battery) that supplies power to the various components.
- a power source 608 such as a battery
- the power source can be logically coupled to the processor 607 via a power management system to enable management of charging, discharging, and power management functions through the power management system.
- the memory 602 has the same function as the memory 102 shown in FIG. 1, and the processor 607 has the same function as the processor 101 shown in FIG. 1.
- the steps of the method or algorithm described in connection with the present disclosure may be hardware
- the method may be implemented by a method in which a processor executes a software instruction.
- the software instructions may be composed of corresponding software modules, which may be stored in RAM, flash memory, ROM, Erasable Programmable ROM (EPROM), and electrically erasable programmable read only memory (Electrically EPROM).
- EEPROM electrically erasable programmable read only memory
- registers hard disk, removable hard disk, compact disk read only (CD-ROM) or any other form of storage medium known in the art.
- An exemplary storage medium is coupled to the processor to enable the processor to read information from, and write information to, the storage medium.
- the storage medium can also be an integral part of the processor.
- the processor and the storage medium can be located in an ASIC. Additionally, the ASIC can be located in a core network interface device.
- the processor and the storage medium may also exist as discrete components in the core network interface device.
- the functions described herein can be implemented in hardware, software, firmware, or any combination thereof.
- the functions may be stored in a computer readable medium or transmitted as one or more instructions or code on a computer readable medium.
- Computer readable media includes both computer storage media and communication media including any medium that facilitates transfer of a computer program from one location to another.
- a storage medium may be any available media that can be accessed by a general purpose or special purpose computer.
- the disclosed system, apparatus, and method may be implemented in other manners.
- the device embodiments described above are merely illustrative.
- the division of the unit is only a logical function division.
- there may be another division manner for example, multiple units or components may be combined or Can be integrated into another system, or some features can be ignored, or Not executed.
- the mutual coupling or direct coupling or communication connection shown or discussed may be an indirect coupling or communication connection through some interface, device or unit, and may be electrical or otherwise.
- the units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, may be located in one place, or may be distributed to multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of the embodiment.
- each functional unit in each embodiment of the present invention may be integrated into one processing unit, or each unit may be physically included separately, or two or more units may be integrated into one unit.
- the above integrated unit can be implemented in the form of hardware or in the form of hardware plus software functional units.
- the above-described integrated unit implemented in the form of a software functional unit can be stored in a computer readable storage medium.
- the software functional units described above are stored in a storage medium and include instructions for causing a computer device (which may be a personal computer, server, or network device, etc.) to perform portions of the steps of the methods described in various embodiments of the present invention.
- the foregoing storage medium includes: a U disk, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk, or an optical disk, and the like, and the program code can be stored. Medium.
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Quality & Reliability (AREA)
- Physics & Mathematics (AREA)
- Electromagnetism (AREA)
- Position Fixing By Use Of Radio Waves (AREA)
- Telephone Function (AREA)
Abstract
本发明实施例提供一种调整定位周期的方法及装置,涉及通信领域,实现在各种场景下精准的调整定位周期,以更好的降低定位功耗。本发明实施例提供的方案包括:移动设备获取当前所处环境中一组环境记录信息;移动设备根据获取的N组环境记录信息,确定移动设备的位置变更速率值;N大于或等于2;再根据确定的位置变更速率值,调整移动设备的定位周期。本申请用于调整移动设备的定位周期。
Description
本发明涉及通信领域,尤其涉及一种调整定位周期的方法及装置。
随着技术的发展,基于位置的服务(英文全称:Location Based Service,LBS)成为移动设备不可或缺的功能。由于定位的功率消耗较大,降低定位功耗甚至已成为制约众多LBS应用发展普及的关键问题。
现有技术根据移动设备到目的地的距离远近,或者,移动方向及特定时间段内的移动距离来调节定位周期,以降低定位功耗。例如,当移动设备距离目的地较远时,设定长的定位周期;当移动设备距离目的地较近时,设定短的定位周期。或者,当移动方向表明移动设备朝目的地运动且特定时间段内的移动距离大于定位服务质量指定精度要求时,缩短定位周期;当移动方向表明移动设备背离目的地运动时,增大定位周期。
在上述调整定位周期的过程中,一方面,要已知目的地才可实现,对于没有限定目的地的场景并不适用。例如,对儿童/老人的跟踪看护应用而言,用户仅需知道儿童/老人的位置信息,无需对其设定任何目标地。另一方面,距离目的地的远近、移动方向和移动距离的计算通常依赖于定位技术或运动传感器,不仅准确性受定位技术或运动传感器精度所限,而且带来了额外的功率消耗。
发明内容
本发明实施例提供一种调整定位周期的方法及装置,实现在各种场景下高精度的调整定位周期,以更好的降低定位功耗。
为达到上述目的,本发明的实施例采用如下技术方案:
本申请的第一方面,提供一种调整定位周期的方法,应用于移
动设备的定位过程中,以调整移动设备定位时的定位周期。该方法具体包括:移动设备获取当前所处环境中的一组环境记录信息,环境记录信息包括当前所处环境中环境信号的接收信号强度(英文全称:Received Signal Strength,RSS)、环境信号的接收时间及环境信号的信息源标识;移动设备根据获取的N组环境记录信息,确定移动设备的位置变更速率值;位置变更速率值反映移动设备在单位时间内的位置变更距离;N大于或等于2;移动设备再根据确定的位置变更速率值,调整移动设备的定位周期。
据此,移动设备定位时的定位周期,可由移动设备通过自身获取当前所处环境的环境记录信息并进一步获取位置变更速率值后,根据位置变更速率值来调整。调整定位周期时,无需获知移动设备的目的地,不受应用场景的限制,在各种场景中都可以通过本申请的方案调整定位周期;进一步的,本申请调整定位周期的方案,利用现有环境信号的RSS,并不增加移动设备的额外功耗,使得移动设备的功耗更低;无需依靠定位,提高了调整定位周期时的精度。
结合第一方面,在一种可能的实现方式中,环境信号包括但不局限于移动设备所能检测到的下述信号中的至少一种:蜂窝信号、无线保真(英文全称:Wireless Fidelity,WIFI)信号、蓝牙信号、光信号、地磁场信号。以通过各种环境信号实现上述第一方面的方案,达到上述第一方面的有益效果。
需要说明的是,对于环境信号类型,可以根据实际需求配置,本申请对于环境信号的类型不进行具体限定。凡是可以用来评估移动设备的位置变更速率值的信号,均可以作为环境信号。
结合第一方面或上述任一可能的实现方式,在另一种可能的实现方式中,移动设备根据获取的N组环境记录信息,确定移动设备的位置变更速率值,可以具体实现为:将生成环境信号的信息源数量作为N组环境记录信息的维度,将环境记录信息作为所述移动设备的位置点,计算N组环境记录信息所对应的移动设备的位置点之间的距离,然后将计算得到的距离除以N组环境记录信息中接收时
间最早的环境信号与接收时间最晚的环境信号之间的接收时间差,作为移动设备的位置变更速率值。据此,提供了一种具体的实现移动设备根据获取的N组环境记录信息,确定移动设备的位置变更速率值的方案,将N组环境记录信息的距离作为移动设备位置改变大小的一种度量,除以N组环境记录信息中环境信号的接收时间间隔,以类似速率大小的位置变更速率值,反映移动设备的位置变更快慢,进而可以按照位置变更速率值,准确的调整定位周期。
结合第一方面或上述任一可能的实现方式,在另一种可能的实现方式中,提供了多种根据N取值的不同,计算N组环境记录信息的距离的实现方式。具体可以包括:若N等于2,计算两组环境记录信息所对应的移动设备的位置点之间的距离;或者,若N大于2,计算N组环境记录信息中,接收时刻最早的环境信号所属的环境记录信息与接收时刻最晚的环境信号所属的环境记录信息所对应的移动设备的位置点之间的距离,作为N组环境记录信息所对应的移动设备的位置点之间的距离;或者,若N大于2,分别计算N组环境记录信息中,接收时刻相邻的两个环境信号所属的两组环境记录信息所对应的移动设备的位置点之间的距离,将得到的N-1个距离取平均值,作为N组环境记录信息所对应的移动设备的位置点之间的距离。
结合第一方面或上述任一可能的实现方式,在另一种可能的实现方式中,在移动设备根据获取的N组环境记录信息,确定移动设备的位置变更速率值时,所采用的计算距离的部分,可以包括多种距离计算方式。例如,可以在移动设备根据获取的N组环境记录信息,确定移动设备的位置变更速率值时,采用计算欧氏距离、或者计算标准化欧式距离、或者计算曼哈顿距离、或者计算切比雪夫距离,或者其他基于距离的计算方法,计算N组环境记录信息所对应的移动设备的位置点之间的距离。当然,计算距离的方法还可以有其他,此处不再一一列举。本申请对此不进行具体限定。
结合第一方面或上述任一可能的实现方式,在另一种可能的实
现方式中,N的取值可以根据实际需求确定,设定固定的值。或者,N的取值也可以根据实际需求设定初始值,在移动设备定位过程中,根据移动设备位置变更速率值自适应调整N的取值。例如,当移动设备位置变更速率值越大,将N的值对应减小;当移动设备位置变更速率值越小,将N的值对应增大。当然,对于移动设备位置变更速率值与N的对应关系,可以根据实际需求设定,本申请对此不进行具体限定。
结合第一方面或上述任一可能的实现方式,在另一种可能的实现方式中,计算第一环境记录信息与第二环境记录信息之间的欧氏距离为:其中,RSS1k为第一环境记录信息中第k个信息源产生的环境信号的RSS;RSS2k为第二环境记录信息中第k个信息源产生的环境信号的RSS。
结合第一方面或上述任一可能的实现方式,在另一种可能的实现方式中,在计算N组环境记录信息所对应的移动设备的位置点之间的距离之前,所述方法还可以包括:若第一环境记录信息中包括第一信息源产生的环境信号的RSS,第二环境记录信息不包括第一信息源产生的环境信号的RSS,在第二环境记录信息中对第一信息源产生的环境信号的RSS赋值为预定值。其中,第一环境记录信息及第二环境记录信息为N组环境记录信息中计算距离的两组环境记录信息。使得不同时刻检测的环境信号所属的环境记录信息中即使包含的RSS数量不同,也可以完成本申请的方案,达到上述第一方面的有益效果。
需要说明的是,预定值的具体取值,可以根据实际需求设定,本申请对此不进行具体限定。
结合第一方面或上述任一可能的实现方式,在另一种可能的实现方式中,提供另一种移动设备根据获取的N组环境记录信息,确定移动设备的位置变更速率值的实现方式。具体包括:提取N组环境记录信息的特征值;将N组环境记录信息的特征值输入训练模型,
获取训练模型输出的位置变更速率值,作为移动设备的位置变更速率值。其中,特征值为训练模型可识别的值;训练模型用于根据输入的环境记录信息的特征值得到输入的环境记录信息对应的位置变更速率值。据此,利用训练模型可以快速得到位置变更速率值的特性,直接将检测的环境记录信息的特征值输入训练模型,快速的得到移动设备位置变更速率值,提高了处理效率。
其中,环境记录信息的特征值可以包括但不限于环境记录信息欧氏距离、环境记录信息均值、环境记录信息方差或者其他。本申请对于环境记录信息的特征值的类型不进行具体限定。
结合第一方面或上述任一可能的实现方式,在另一种可能的实现方式中,若采用训练模型的方式得到移动设备位置变更速率值,在移动设备根据N组环境记录信息,获取移动设备的位置变更速率值之前,还需建立训练模型。在建立训练模型时,先获取训练数据,训练数据包括环境记录信息、位置变更速率,再利用机器学习算法建立环境记录信息(抽象成特征)和位置变更速率之间的映射关系,以获得训练模型。对于训练数据,可以通过全球定位系统(英文全称:Global Positioning System,GPS)等方式获取,本申请对于训练数据的获取不进行限定。对于建立训练模型的过程也不再进行赘述。
结合第一方面或上述任一可能的实现方式,在另一种可能的实现方式中,提供一种移动设备根据位置变更速率值,调整移动设备的定位周期的具体实现方式,包括:将移动设备的定位周期,调整为预设对应关系中,确定的移动设备的位置变更速率值对应的定位周期。其中,预设对应关系包括至少一个位置变更速率值及与至少一个位置变更速度值一一对应的定位周期。
具体的,在预设对应关系中,较大的位置变更速率值,对应较小的定位周期;较小的位置变更速率值,对应较大的定位周期。本申请对于预设对应关系中,位置变更速率值与定位周期的对应关系不进行具体限定。
结合第一方面或上述任一可能的实现方式,在另一种可能的实现方式中,在移动设备根据获取的N组环境记录信息,确定移动设备的位置变更速率值之后,所述方法还可以包括:判断本次确定的移动设备的位置变更速率值,与移动设备前一次位置变更速率值的差值是否大于或等于预设阈值。移动设备根据位置变更速率值,调整移动设备的定位周期的具体实现为:若该差值大于或等于预设阈值,则移动设备根据位置变更速率值,调整移动设备的定位周期。据此,只有当移动设备位置变更速率值,与移动设备前一次位置变更速率值的差值大于或等于预设阈值时,才调整移动设备的定位周期,使得对定位周期的调整更好的满足了实际的需求;避免了移动设备移动缓慢时频繁的调整定位周期,对移动设备造成的资源浪费。
需要说明的是,对于预设阈值的取值,可以根据实际需求设定任意大于或等于零的数值,本申请对此不进行具体限定。
结合第一方面或上述任一可能的实现方式,在另一种可能的实现方式中,若判断确定的移动设备位置变更速率值,与移动设备前一次位置变更速率值的差值小于预设阈值,则重新执行移动设备检测当前所处环境中环境信号的RSS。
结合第一方面或上述任一可能的实现方式,在另一种可能的实现方式中,在移动设备根据位置变更速率值,调整移动设备的定位周期之后,将记录的环境记录信息清空。以提高记录的环境记录信息的实时性,保证调整定位周期的准确性。
结合第一方面或上述任一可能的实现方式,在另一种可能的实现方式中,若在移动设备获取当前所处环境中一组环境记录信息之后,若移动设备获取的环境记录信息的组数小于N,则重新执行移动设备获取当前所处环境中一组环境记录信息。
第二方面,本发明实施例提供了调整定位周期的装置,该调整定位周期的装置可以实现上述方法示例中的功能,所述功能可以通过硬件实现,也可以通过硬件执行相应的软件实现。所述硬件或软件包括一个或多个上述功能相应的模块。
结合第二方面,在一种可能的实现方式中,该调整定位周期的装置的结构中包括处理器和收发器,该处理器被配置为支持该调整定位周期的装置执行上述方法中相应的功能。该收发器用于支持该调整定位周期的装置接收环境信号,以及与其他设备之间的通信。该调整定位周期的装置还可以包括存储器,该存储器用于与处理器耦合,其保存该调整定位周期的装置必要的程序指令和数据。
第三方面,本发明实施例提供了一种计算机存储介质,用于储存为上述调整定位周期的装置所用的计算机软件指令,其包含用于执行上述方面所设计的程序。
上述第二方面及第三方面提供的方案,用于实现上述第一方面提供的调整定位周期的方法,因此可以与第一方面达到相同的有益效果,此处不再进行赘述。
图1为本发明实施例提供的一种调整定位周期的装置的结构示意图;
图2为本发明实施例提供的一种调整定位周期的方法的流程示意图;
图2a为本发明实施例提供的一种移动设备获取环境记录信息的示意图;
图3为本发明实施例提供的另一种调整定位周期的方法的流程示意图;
图4为本发明实施例提供的另一种调整定位周期的装置的结构示意图;
图5为本发明实施例提供的再一种调整定位周期的装置的结构示意图;
图6为本发明实施例提供的一种手机的结构示意图。
本文中术语“和/或”,仅仅是一种描述关联对象的关联关系,表示可以存在三种关系,例如,A和/或B,可以表示:单独存在A,
同时存在A和B,单独存在B这三种情况。另外,本文中字符“/”,一般表示前后关联对象是一种“或”的关系。
当前,移动设备中LBS应用更加普及。移动设备中的LBS应用,通过对移动设备周期性的进行定位,获取移动设备当前的地理位置,向移动设备用户提供与地理位置相关的服务。例如,地理闹钟应用,是根据当前定位的移动设备的地理位置,为用户提供与所处地理位置匹配的闹钟服务。儿童/老人看护应用,是根据当前定位的移动设备的地理位置,向儿童/老人的看护人提供被看护人的具体位置。导航应用,是根据当前定位的移动设备的地理位置,向用户提供优选的到目的地的路线。在众多的LBS应用实现中,根据应用的需求,定位周期的长短有所不同,有的应用实时定位,永远在线,有的应用隔一段时间定位一次即可。
其中,定位技术可以包括但不限于:GPS定位、WIFI定位、蜂窝定位、惯性导航定位等等。
需要说明的是,移动设备可以为用户设备(英文全称:User Equipment,UE)、手机、平板电脑、笔记本电脑、超级移动个人计算机(英文全称:Ultra-mobile Personal Computer,UMPC)、上网本、个人数字助理(英文全称:Personal Digital Assistant,PDA)、电子书、移动电视、穿戴设备、个人电脑(英文全称:Personal Computer,PC)等等。本发明实施例对于移动设备的类型也不进行具体限定。
由于定位过程的功率消耗较大,为了降低移动设备的功耗,可以根据实际需求调整定位周期。但如背景技术中描述的,根据移动设备的目的地、移动方向和移动速度来调整定位周期,本身还是借助定位过程或者运动传感器,使得调整定位周期的过程受到定位技术或运动传感器的精度影响不够准确,且引入了额外的功率消耗。
基于此,本发明实施例的基本原理是:移动设备根据检测的环境信号,估计移动设备的位置变更速率,再根据估计的移动设备的位置变更速率调整移动设备的定位周期。由于移动设备调整定位周期是通过自身检测现有存在的环境信号实现,无需定位且不带来额
外功率消耗,不受其他方面精度的影响也不会引入额外的功率消耗或仅引入很小的功耗;更加无需知道移动设备的目的地,可以应用于各种场景。
图1示出的是与本发明各实施例相关的一种调整定位周期的装置10的结构示意图,该调整定位周期的装置10,可以为移动设备的部分或者全部。
如图1所示,调整定位周期的装置10可以包括:处理器101、存储器102和采集器103。
下面结合图1对调整定位周期的装置10的各个构成部件进行具体的介绍:
存储器102,可以是易失性存储器(英文全称:volatile memory),例如随机存取存储器(英文全称:random-access memory,RAM);或者非易失性存储器(英文全称:non-volatile memory),例如只读存储器(英文全称:read-only memory,ROM),快闪存储器(英文全称:flash memory),硬盘(英文全称:hard disk drive,HDD)或固态硬盘(英文全称:solid-state drive,SSD);或者上述种类的存储器的组合,用于存储可实现本发明方法的相关应用程序、以及配置文件。
处理器101是调整定位周期的装置10的控制中心,可以是一个中央处理器(英文全称:central processing unit,CPU),也可以是特定集成电路(英文全称:Application Specific Integrated Circuit,ASIC),或者是被配置成实施本发明实施例的一个或多个集成电路,例如:一个或多个微处理器(英文全称:digital singnal processor,DSP),或,一个或者多个现场可编程门阵列(英文全称:Field Programmable Gate Array,FPGA)。处理器101可以通过运行或执行存储在存储器102内的软件程序和/或模块,以及调用存储在存储器102内的数据,执行调整定位周期的装置10的各种功能。
采集器103用于检测环境信号的接收信号强度。根据环境信号的类型不同,采集器103的类型可以不同。
示例性的,若环境信号为蜂窝信号或者WIFI信号,采集器103可以为移动设备的天线。若环境信号为光信号,采集器103可以为移动设备的光接收器。若环境信号为地磁场信号,采集器103可以为地磁压力计。
当然,上述示例只是举例说明采集器103的类型,并不是对采集器103的类型具体限定。在实际应用中,凡是用来检测环境信号的RSS的部件,都可以称为上述采集器103。
下面结合附图,对本发明的实施例进行具体阐述。
先对本发明实施例中用到的名词进行解释如下:
移动设备位置变更速率值,是指移动设备在单位时间内的位置变更快慢。移动设备位置变更速率值是用类似于速率的概念度量移动设备位置变更的快慢。
环境记录信息,是指包括环境信号的RSS值、环境信号的接收时间以及环境信号的信息源标识的一组信息。
其中,环境信号的信息源,是指生成环境信号的设备。例如,若环境信号为蜂窝信号,其信息源可以为基站。
一方面,本发明实施例提供一种调整定位周期的方法,用于调整移动设备LBS应用中的定位周期,下面从移动设备工作过程的角度描述本发明实施例提供的调整定位周期的方法。
需要说明的是,该移动设备为调整定位周期的装置,或者,该移动设备包括调整定位周期的装置。因此,本发明实施例中移动设备执行的动作,即调整定位周期的装置执行的动作。
如图2所示,本申请提供的调整定位周期的方法可以包括:
S201、移动设备获取当前所处环境中一组环境记录信息。
其中,环境记录信息包括当前所处环境中环境信号的RSS、环境信号的接收时间及环境信号的信息源标识。
信息源标识为唯一识别信息源的信息。本发明实施例对于信息源标识的类型及内容均不进行具体限定。环境信号的接收时间可以包括绝对时间或者相对时间,本申请实施例对此并不进行具体限定。
环境信号可以包括但不局限于移动设备所能检测到的下述信号中的至少一种:蜂窝信号、WIFI信号、蓝牙信号、光信号、地磁场信号。光信号可以为发光二极管(英文全称:Light Emitting Diode,LED)可见光通信(英文全称:Visible Light Communications,VLC)信号。
需要说明的是,环境信号还可以包括上述五种信号之外的其他信号,本发明实施例对于环境信号的类型不进行具体限定。凡是可以用来估计移动设备位置变更快慢的环境中的信号,都可以作为环境信号。
具体的,当环境信号的类型不同时,在S201中检测环境信号的RSS的方式也不同。
示例性的,当环境信号为蜂窝信号时,信息源为蜂窝基站,移动设备先接入服务小区,并扫描周边所有可检测到的基站的信号。移动终端通过接收服务小区的广播信息,从广播信息中获取服务小区的标识及蜂窝信号的RSS;移动设备通过监听服务小区的广播信号,从广播信息中的系统信息块(英文全称:System Information Block,SIB)中提取邻小区的频点,然后移动设备在邻小区的频点上进行扫描测量,获取每一个邻小区的标识以及移动设备接收每个邻小区的蜂窝信号的RSS。
具体的,对邻小区进行测量获取每一个邻小区的标识以及蜂窝信号的RSS,具体可以包括:测量邻小区的接收信号强度指示(英文全称:Received Signal Strength Indicator,RSSI)或参考信号接收功率(英文全称:Reference Signal Receiving Power,RSRP),并接收邻小区的广播消息,从中获取邻小区基站的标识(英文全称:identity,ID)、RSS等信息。
示例性的,当环境信号为Wi-Fi信号,信息源为WIFI接入点(英文全称:Access Point,AP),移动设备通过扫描接收环境中的WIFI信号及WIFI AP的标识。
示例性的,当环境信号为蓝牙信号,信息源为蓝牙站点
(Beacon),移动设备通过扫描接收环境中的蓝牙信号及蓝牙站点的标识。
示例性的,当环境信号为光信号,信息源为VLC LED灯,移动设备通过扫描接收环境中的光信号及VLC LED灯的标识。
示例性的,当环境信号为地磁场信号,信息源则为地球,移动设备通过磁压力计扫描环境中的地磁场信号。
需要说明的是,上述示例只是对不同的环境信号下执行S201的过程进行举例说明,并不是对S201过程的限定。当环境信号为其他类型的信号时,对应的检测方式与之对应,以能获取到环境信号的RSS为目标。
可选的,一组环境记录信息中包括移动设备检测的至少一个环境信号的RSS、该至少一个环境信号中每个环境信号的接收时间、以及该至少一个环境信号中每个环境信号的信息源的标识。
示例性的,假设环境信号为基站生成的蜂窝信号及蓝牙信号。在t1时刻,移动设备扫描到5个蜂窝小区(包括1个服务小区,4个邻小区),分别记为A、B、C、D、E,来自每个蜂窝小区基站的蜂窝信号的RSS分别为且在t1时刻,移动设备还扫描到了2个蓝牙站点,分别记为F、G,来自每个蓝牙站点的蓝牙信号的RSS分别为其上标表示接收时间,下标为信息源标识,则记录的环境记录信息为
在t2时刻移动设备扫描到同样的5个蜂窝小区(包括1个服务小区,4个邻小区),来自每个蜂窝小区基站的RSS分别为
且在t2时刻,移动设备还扫描到了2个蓝牙站点,来自每个蓝牙站点的蓝牙信号的RSS分别为则保存的环境记录信息为
需要说明的是,上述示例只是对环境记录信息进行示例性说明,并不是对环境记录信息的内容及形式的具体限定。
需要说明的是,当移动设备移动过程中,每次执行S201时,获取的环境信号的信息源的类型及数量并不一定相同。某一时刻可能获取到信息源X,下一时刻并不一定获取到信息源X。
可选的,移动设备可以周期性的执行S201,一个周期为图2a所示的时间轴中的一个时间块。如图2a所示,示意了移动设备在S201中获取环境记录信息的示意图。t1~t10示意了不同的执行S201的时刻,每个时刻获取到一组环境记录信息,t1时刻执行S201获取到环境记录信息X1,t2时刻执行S201获取到环境记录信息X2,t3时刻执行S201获取到环境记录信息X3,t4时刻执行S201获取到环境记录信息X4,以此类推。
S202、移动设备根据获取的N组环境记录信息,确定移动设备的位置变更速率值。
其中,位置变更速率值用于反映移动设备在单位时间内的位置变更距离,体现了移动设备位置变更快慢。N大于或等于2。需要说明的是,对于N的取值,可以根据实际需求设定,本发明实施例对于N的取值不进行限定。
可选的,可以设定固定的N的取值,也可以根据实际需求,在执行本发明实施例的方案的过程中,自适应的动态配置N的取值,本发明实施例对此不进行具体限定。
进一步的,当自适应的动态配置N的取值时,可以根据S202中确定的移动设备的位置变更速率值来设定N的值。
示例性的,可以建立一个对应关系,在该对应关系中包括至少一个位置变更速率值及与之一一对应的N的取值,当在S202中确定出移动设备的位置变更速率值时,可以将N的取值更改为该对应关系中,与确定的移动设备的位置变更速率度值对应的取值。对于对应关系的具体内容,可以根据实际需求设定,本发明实施例对此不进行具体限定。
示例性的,可以预设基于位置变更速率值计算N的取值的关系式,当在S202中确定出移动设备的位置变更速率值时,将移动设备
的位置变更速率值代入预设的关系式,即可得到N调整后的取值。本发明实施例对于预设关系式的内容不进行具体限定,可以为线性关系式,也可以为幂函数关系式,当然,也可以为其他。
当然,也可以参考其他信息自适应的动态配置N的取值,本申请对此不进行具体限定,此处也不再一一赘述。
可选的,如图2a所示,可以根据一定时间窗内的环境记录信息,执行S202。时间窗内包括的时间块的数量,即为N的值。例如,图2a中示意了N为2时的时间窗大小。
需要说明的是,图2a中只是通过实例的形式,描述了N可以通过时间窗来实现,并不是对时间窗大小的限定。
其中,在执行S202时,可以有多种实现方式,本发明实施例下面描述两种实现S202的过程,但并不是对S202的过程的具体限定。
具体的,对于S202中移动设备根据获取的N组环境记录信息,确定移动设备的位置变更速率值的具体实现方式,可以包括但不限于下述两种实现方式:
第一种实现方式:
在第一种实现方式中,移动设备根据存储的N组环境记录信息,获取移动设备的位置变更速率值通过下述步骤1和步骤2来实现。
步骤1、将生成环境信号的信息源数量作为环境记录信息的维度,将环境记录信息作为移动设备的位置点,计算N组环境记录信息所对应的移动设备的位置点之间的距离。
可选的,在移动设备根据S201获取的N组环境记录信息,确定移动设备的位置变更速率值时,上述步骤1中所计算的N组环境记录信息所对应的移动设备的位置点之间的距离,可以包括计算下述距离中的任一种:欧式距离、标准化欧氏距离、曼哈顿距离、切比雪夫距离。当然,上述步骤1中所计算的N组环境记录信息的距离,还可以为其他计算距离的方式所求得的距离,本发明实施例对此不进行具体限定。
其中,RSS1k为第一环境记录信息中第k个信息源产生的环境信号的RSS;RSS2k为第二环境记录信息中第k个信息源产生的环境信号的RSS。
示例性的,以S201中的示例为基础,计算t1时刻及t2时刻保存的环境记录信息所对应的移动设备的位置点之间的欧氏距离如下:
进一步的,在步骤1中计算N组环境记录信息所对应的移动设备的位置点之间的距离时,当N的取值不同时,执行上述步骤1的方案将受到影响,具体可以包括但不限于下述三种方案:
方案1、
若N等于2,计算两组环境记录信息所对应的移动设备的位置点之间的距离即可。
方案2、
若N大于2,计算N组环境记录信息的距离则实现为:计算N组环境记录信息中,接收时间最早的环境信号所属的环境记录信息
与接收时间最晚的环境信号所属的环境记录信息所对应的移动设备的位置点之间的距离,作为N组环境记录信息所对应的移动设备的位置点的距离。
方案3、
若N大于2,分别计算N组环境记录信息中,接收时间相邻的两个环境信号所属的两组环境记录信息所对应的移动设备的位置点之间的距离,将得到的N-1个距离取平均值,作为N组环境记录信息所对应的移动设备的位置点的距离。
需要说明的是,对于根据N的取值不同,执行上述步骤1的方案上述仅示例描述的三种方案,但并不是对执行上述步骤1的过程的限定。
进一步的,移动设备在不同的时刻检测到的环境信号的数量以及生成环境信号的信息源的数量并不一定相同,在计算两组环境记录信息的距离时,两者包括的维度可能不同,可以采用填补预定值的方式,将两者的维度填补相同。具体实现如下:
在计算N组环境记录信息所对应的移动设备的位置点之间的距离之前,若第一环境记录信息中包括第一信息源生成的环境信号的RSS,第二环境记录信息不包括第一信息源生成的环境信号的RSS,在第二环境记录信息中对第一信息源生成的环境信号的RSS赋值为预定值,之后再计算第一环境记录信息与第二环境记录信息所对应的移动设备的位置点之间的距离。其中,第一环境记录信息及第二环境记录信息为N组环境记录信息中计算距离的两组环境记录信息。
需要说明的是,预定值的具体取值,可以根据实际需求设定,本申请对此不进行具体限定。
示例性的,假设环境信号为基站生成的蜂窝信号,在t1时刻,移动设备扫描到4个蜂窝小区,分别记为A、B、C、D,来自每个蜂窝小区基站的蜂窝信号的RSS分别为且在t1时刻,移动设备还扫描到了2个蓝牙站点,分别记为E、F,来自每个
蓝牙站点的蓝牙信号的RSS分别为则保存的环境记录信息为
在t2时刻,移动设备扫描到的蜂窝小区为A、B、C、D,扫描到的蓝牙站点为E、H,来自每个蜂窝小区基站的RSS分别为来自每个蓝牙站点的蓝牙信号的RSS分别为则保存的环境记录信息为
需要说明的是,移动设备在扫描获取环境信号的RSS时,若获取到的RSS值小于或等于可识别门限值时,则忽略该小于或等于可识别门限的RSS值,即未扫描到该环境信号的信息源。其中,可识别门限值的具体取值,可以根据实际需求确定,本申请实施例对此不进行限定。
示例性的,可识别门限可以为-100dB,或者,-200dB。
若计算X1与X2所对应的移动设备位置点之间的距离,X1相比于X2缺少蜂窝小区H的RSS需要填补,X2相比于X1缺少蜂窝小区F的RSS需要填补,假设预定值为δ。例如,可以计算X1与X2所对应的移动设备位置点之间的欧氏距离为:
步骤2、将步骤1中计算的距离,除以N组环境信号中接收时间最早的环境信号与接收时间最晚的环境信号之间的接收时间差,作为移动设备的位置变更速率值。
第二种实现方式、
提取N组环境记录信息的特征值,将N组环境记录信息的特征值输入训练模型,获取训练模型输出的位置变更速率值,作为移动设备的位置变更速率值。
其中,特征值为训练模型可识别的值。环境记录信息的特征值可以包括但不限于欧氏距离、欧氏距离的均值、欧氏距离的方差或者其他。本申请对于环境记录信息的特征值的类型不进行具体限定。
训练模型用于根据输入的环境记录信息的特征值得到输入的环境记录信息对应的位置变更速率值。
具体的,训练模型是移动设备收集训练数据,再对训练数据提取特征后,采用机器学习算法训练得到。本发明实施例对于训练过程不进行具体限定。凡是采用训练模型,得到移动设备位置变更速率值的方式,都属于本申请的保护范围。
其中,上述机器学习算法可以包括支持向量机(英文全称:Support Vector Machine,SVM)、神经网络(英文全称:Neural Network,NN)、随机森林等。本发明实施例对于机器学习算法的类型不进行具体限定。
S203、移动设备根据位置变更速率值,调整移动设备的定位周期。
具体的,在S203中移动设备根据位置变更速率值,调整移动设备的定位周期,可以通过下述方案A或者方案B来实现。
方案A、将移动设备的定位周期,调整为预设对应关系中,S202中确定的移动设备位置变更速率值对应的定位周期。
其中,预设对应关系包括至少一个位置变更速率值及与至少一个位置变更速率值一一对应的定位周期。或者,预设对应关系包括至少一个预设的位置变更速率值区间范围及与每个预设的位置变更速率值区间范围对应的定位周期。
需要说明的是,在S203中,根据S202中确定的移动设备位置变更速率值,查询预设对应关系时,可以直接采用S202中确定的位置变更速率值查询预设对应关系执行S203。或者,在S203中,根据S202中确定的移动设备位置变更速率值,查询预设对应关系时,也可以将S202中确定的位置变更速率值进行预处理后,查询预设对应关系执行S203。本发明实施例对此不进行具体限定。
其中,所述预处理可以包括四舍五入、公式计算等。预处理用于将S202中确定的位置变更速率值处理后与预设对应关系中预设的位置变更速率值可匹配。本发明实施例对于所述预处理的具体手
段也不进行限定。
示例性的,表1、表2示意了两种不同的预设对应关系。
表1
位置变更速率值 | 定位周期 |
X | a |
Y | b |
Z | c |
…… | …… |
表2
位置变更速率值 | 定位周期 |
…… | …… |
大于或等于X,小于Y | a |
大于或等于Y,小于Z | b |
大于或等于Z,小于Q | c |
…… | …… |
需要说明的是,上述表1及表2只是通过举例的形式对预设对应关系的内容及形式进行示例说明,并不是对预设对应关系的形式及内容的限定。在实际应用中,可以根据实际需求设定预设对应关系的内容及形式。
方案B、预设位置变更速率值与定位周期的函数关系,将S202中确定的移动设备的位置变更速率值代入预设的函数关系中,计算确定移动设备调整后的定位周期。
需要说明的是,本发明实施例对于预设的位置变更速率值与定位周期的函数关系的内容不进行具体限定,可以为线性关系式,也可以为幂函数关系式,当然,也可以为其他。
需要说明的是,本发明实施例提供的调整定位周期的方法,通过循环执行S201至S203的过程,实现自适应的动态调整移动设备的定位周期,更好地降低功耗。
还需要说明的是,对于循环执行S201至S203的过程时,两个循环之间可以连续进行,也可以周期性的进行,本发明实施例对此不进行具体限定。当周期性循环执行S201至S203的过程时,对于循环周期,可以根据实际需求设定,本发明实施例对此也不进行具体限定。
进一步的,在移动设备的LBS应用开启时,定位周期为初始化的定位周期。对于初始化的定位周期时长,可以根据实际需求配置,本发明实施例对此不进行具体限定。
进一步的,对于连续循环执行S201至S203的过程的方案,在S203之后,移动设备可以判断是否到达定位时刻,若到达定位时刻,则执行定位后再执行S201;若未到达定位时刻,则执行S201进行下一轮本发明的方案。
当然,在本发明实施例的过程中,对于定位过程的操作,与常规实现方式相同,此处不再进行赘述。
这样一来,通过本发明实施例提供的调整定位周期的方法,移动设备定位时的定位周期,是移动设备通过自身获取已有的环境信号的环境记录信息并进一步获取位置变更速率值后,根据位置变更速率值来调整的。调整定位周期时,无需获知移动设备的目的地,不受应用场景的限制,在各种场景中都可以通过本申请的方案调整定位周期;进一步的,本申请调整定位周期的方案,利用现有环境信号的RSS,并不增加移动设备的额外功耗,使得移动设备的功耗更低。本申请调整定位周期的方案,无需依靠定位,提高了调整定位周期的准确度。
进一步的,为了提高移动设备的处理效率,避免频繁无效的调整定位周期,如图3所示,在S202之后,所述方法还可以包括:
S202a、移动设备判断移动设备的位置变更速率值,与移动设备前一次位置变更速率值的差值是否大于或等于预设阈值。
具体的,若S202a中判断S202中确定的移动设备位置变更速率值,与移动设备前一次位置变更速率值的差值大于或等于预设阈值,
则执行S203。
可选的,若S202a中判断S202中确定的移动设备位置变更速率值,与移动设备前一次位置变更速率值的差值小于预设阈值,则重新执行S201、S202及S202a。
需要说明的是,对于预设阈值的取值,可以根据实际需求设定,本发明实施例对此不进行具体限定。
进一步的,为了提高移动设备的处理效率,避免频繁无效的调整定位周期,如图3所示,在S201之后,所述方法还可以包括:
S201a、移动设备判断当前获取的环境记录信息的数量是否等于N。
具体的,若S201a中判断当前获取的环境记录信息的数量等于N,则执行S202。
可选的,若S201a中判断当前获取的环境记录信息的数量不等于N,则重新执行S201、S201a,再执行S201a后再决定执行S202或者重新执行S201。
上述主要从移动设备的工作过程的角度对本发明实施例提供的方案进行了介绍,移动设备可以为调整定位周期的装置,或者,移动设备包括调整定位周期的装置。可以理解的是,调整定位周期的装置为了实现上述功能,其包含了执行各个功能相应的硬件结构和/或软件模块。本领域技术人员应该很容易意识到,结合本文中所公开的实施例描述的各示例的单元及算法步骤,本发明能够以硬件或硬件和计算机软件的结合形式来实现。某个功能究竟以硬件还是计算机软件驱动硬件的方式来执行,取决于技术方案的特定应用和设计约束条件。专业技术人员可以对每个特定的应用来使用不同方法来实现所描述的功能,但是这种实现不应认为超出本发明的范围。
本发明实施例可以根据上述方法示例对调整定位周期的装置进行功能模块的划分,例如,可以对应各个功能划分各个功能模块,也可以将两个或两个以上的功能集成在一个处理模块中。上述集成的模块既可以采用硬件的形式实现,也可以采用软件功能模块的形
式实现。需要说明的是,本发明实施例中对模块的划分是示意性的,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式。
在采用对应各个功能划分各个功能模块的情况下,图4示出了上述实施例中所涉及的调整定位周期的装置40的一种可能的结构示意图。调整定位周期的装置40包括:获取单元401,确定单元402,调整单元403。获取单元401用于支持调整定位周期的装置40执行图2或图3中的过程S201;确定单元402用于支持调整定位周期的装置40执行图2或图3中的过程S202;调整单元403用于支持调整定位周期的装置40执行图2或图3中的过程S203。其中,上述方法实施例涉及的各步骤的所有相关内容均可以援引到对应功能模块的功能描述,在此不再赘述。
在采用集成的单元的情况下,图5示出了上述实施例中所涉及的调整定位周期的装置50的一种可能的结构示意图。调整定位周期的装置50可以包括:处理模块501、通信模块502、采集模块503。处理模块501用于对调整定位周期的装置50的动作进行控制管理。例如,处理模块501用于通过采集模块503支持调整定位周期的装置50执行图2或图3中的过程S201,处理模块501还用于支持调整定位周期的装置50执行图2或图3中的过程S201a、S202、S202a、S203,和/或用于本文所描述的技术的其它过程。通信模块502用于支持调整定位周期的装置50与其他网络实体的通信。调整定位周期的装置50还可以包括存储模块504,用于存储调整定位周期的装置50的程序代码和数据。
其中,处理模块501可以为图1所示的调整定位周期的装置10的实体结构中的处理器101,可以是处理器或控制器。例如可以是CPU,通用处理器,DSP,ASIC,FPGA或者其他可编程逻辑器件、晶体管逻辑器件、硬件部件或者其任意组合。其可以实现或执行结合本发明公开内容所描述的各种示例性的逻辑方框,模块和电路。所述处理器101也可以是实现计算功能的组合,例如包含一个或多个微处理器组合,DSP和微处理器的组合等等。通信模块502可以
是通信端口,或者可以是收发器、收发电路或通信接口等。采集模块503可以为图1所示的调整定位周期的装置10的实体结构中的采集器103,采集器103可以是传感器或者功能单元。存储模块504可以是图1所示的调整定位周期的装置10的实体结构中的存储器102。
当处理模块101为处理器,采集模块503为采集器,存储模块504为存储器时,本发明实施例图5所涉及的调整定位周期的装置50可以为图1所示的调整定位周期的装置10。
如前述,上述调整定位周期的装置10或40或50可以为移动设备的部分或全部。本发明实施例提供的移动设备可以用于实施上述本发明各实施例实现的方法,为了便于说明,仅示出了与本发明实施例相关的部分,具体技术细节未揭示的,请参照本发明各实施例。
本发明实施例以移动设备为手机60示例进行说明,图6示出的是与本发明各实施例相关的手机60的部分结构的框图。
如图6所示,手机60包括:射频(英文全称:radio frequency,RF)电路601、存储器602、输入单元603、显示单元604、传感器605、音频电路606、处理器607、以及电源608等部件。本领域技术人员可以理解,图6中示出的手机结构并不构成对手机的限定,可以包括比图示更多或更少的部件,或者组合某些部件,或者不同的部件布置。
下面结合图6对手机60的各个构成部件进行具体的介绍:
RF电路601可用于收发信息或通话过程中,信号的接收和发送,同时也用于支持手机60执行图2或图3所示的S201,检测环境信号为蜂窝信号时的RSS。特别地,将基站的下行信息接收后,给处理器607处理;另外,将上行的数据发送给基站。通常,RF电路601包括但不限于天线、至少一个放大器、收发信机、耦合器、低噪声放大器(英文全称:low noise amplifier,LNA)、双工器等。
尽管未示出,手机60还可以包括WiFi模块、蓝牙模块或者光模块等,用于支持手机60执行图2或图3所示的S201,检测环境
信号为WIFI信号或者蓝牙信号或者光信号的RSS。
此外,RF电路601还可以通过无线通信与网络和其他设备通信。所述无线通信可以使用任一通信标准或协议,包括但不限于全球移动通讯系统(英文全称:global system of mobile communication,GSM)、通用分组无线服务(英文全称:general packet radio service,GPRS,)、码分多址(英文全称:code division multiple access,CDMA)、宽带码分多址(英文全称:wideband code division multiple access,WCDMA)、长期演进(英文全称:long term evolution,LTE)、电子邮件、短消息服务(英文全称:short messaging service,SMS)等。
存储器602可用于存储软件程序以及模块,处理器607通过运行存储在存储器602的软件程序以及模块,从而执行手机60的各种功能应用以及数据处理。
存储器602可主要包括存储程序区和存储数据区,其中,存储程序区可存储操作系统、至少一个功能所需的应用程序(比如声音播放功能、图像播放功能等)等;存储数据区可存储根据手机60的使用所创建的数据(比如音频数据、图像数据、电话本等)等。
此外,存储器602可以包括高速随机存取存储器,还可以包括非易失性存储器,例如至少一个磁盘存储器件、闪存器件、或其他易失性固态存储器件。
输入单元603可用于接收输入的数字或字符信息,以及产生与手机60的用户设置以及功能控制有关的键信号输入。
具体地,输入单元603可包括触摸屏6031以及其他输入设备6032。触摸屏6031,也称为触控面板,可收集用户在其上或附近的触摸操作(比如用户使用手指、触笔等任何适合的物体或附件在触摸屏6031上或在触摸屏6031附近的操作),并根据预先设定的程式驱动相应的连接装置。
可选的,触摸屏6031可包括触摸检测装置和触摸控制器两个部分。
其中,触摸检测装置检测用户的触摸方位,并检测触摸操作带
来的信号,将信号传送给触摸控制器;触摸控制器从触摸检测装置上接收触摸信息,并将它转换成触点坐标,再送给处理器607,并能接收处理器607发来的命令并加以执行。
此外,可以采用电阻式、电容式、红外线以及表面声波等多种类型实现触摸屏6031。除了触摸屏6031,输入单元603还可以包括其他输入设备6032。具体地,其他输入设备6032可以包括但不限于物理键盘、功能键(比如音量控制按键、电源开关按键等)、轨迹球、鼠标、操作杆等中的一种或多种。
显示单元604可用于显示由用户输入的信息或提供给用户的信息以及手机60的各种菜单。
显示单元604可包括显示面板6041,可选的,可以采用液晶显示器(英文全称:Liquid Crystal Display,LCD)、有机发光二极管(英文全称:Organic Light-Emitting Diode,OLED)等形式来配置显示面板6041。进一步的,触摸屏6031可覆盖显示面板6041,当触摸屏6031检测到在其上或附近的触摸操作后,传送给处理器607以确定触摸事件的类型,随后处理器607根据触摸事件的类型在显示面板6041上提供相应的视觉输出。
虽然在图6中,触摸屏6031与显示面板6041是作为两个独立的部件来实现手机60的输入和输入功能,但是在某些实施例中,可以将触摸屏6031与显示面板6041集成而实现手机400的输入和输出功能。
传感器605,可以为重力传感器(gravity sensor),或者磁压力计。当传感器605为重力传感器时,可以检测手机在各个方向上(一般为三轴)加速度的大小,静止时可检测出重力的大小及方向,可用于识别手机姿态的应用(比如横竖屏切换、相关游戏、磁力计姿态校准)、振动识别相关功能(比如计步器、敲击)等。当传感器605为磁压力计时,可以检测地磁场信号。当然,手机60中可以同时包括多种类型的传感器,此处仅描述为传感器605,并不是对数量和类型的限定。
手机60还可以包括其它传感器,比如光传感器。具体地,光传感器可包括环境光传感器及接近光传感器。
其中,环境光传感器可根据环境光线的明暗来调节显示面板6041的亮度;接近光传感器可以检测是否有物体靠近或接触手机,可在手机60移动到耳边时,关闭显示面板6041和/或背光。手机60还可配置的陀螺仪、气压计、湿度计、温度计、红外线传感器等其他传感器,在此不再赘述。
音频电路606、扬声器6061、麦克风6062可提供用户与手机60之间的音频接口。音频电路606可将接收到的音频数据转换后的电信号,传输到扬声器6061,由扬声器6061转换为声音信号输出;另一方面,麦克风6062将收集的声音信号转换为电信号,由音频电路606接收后转换为音频数据,再将音频数据输出至RF电路601以发送给比如另一手机,或者将音频数据输出至存储器602以便进一步处理。
处理器607是手机60的控制中心,利用各种接口和线路连接整个手机的各个部分,通过运行或执行存储在存储器602内的软件程序和/或模块,以及调用存储在存储器602内的数据,执行手机60的各种功能和处理数据,从而对手机进行整体监控。可选的,处理器607可包括一个或多个处理单元;优选的,处理器607可集成应用处理器和调制解调处理器。
其中,应用处理器主要处理操作系统、用户界面和应用程序等,调制解调处理器主要处理无线通信。可以理解的是,上述调制解调处理器也可以不集成到处理器607中。
手机60还包括给各个部件供电的电源608(比如电池),优选的,电源可以通过电源管理系统与处理器607逻辑相连,从而通过电源管理系统实现管理充电、放电、以及功耗管理等功能。
在本发明实施例中,存储器602与图1中所示的存储器102具有相同功能,处理器607与图1中所示的处理器101具有相同功能。
结合本发明公开内容所描述的方法或者算法的步骤可以硬件的
方式来实现,也可以是由处理器执行软件指令的方式来实现。软件指令可以由相应的软件模块组成,软件模块可以被存放于RAM、闪存、ROM、可擦除可编程只读存储器(Erasable Programmable ROM,EPROM)、电可擦可编程只读存储器(Electrically EPROM,EEPROM)、寄存器、硬盘、移动硬盘、只读光盘(CD-ROM)或者本领域熟知的任何其它形式的存储介质中。一种示例性的存储介质耦合至处理器,从而使处理器能够从该存储介质读取信息,且可向该存储介质写入信息。当然,存储介质也可以是处理器的组成部分。处理器和存储介质可以位于ASIC中。另外,该ASIC可以位于核心网接口设备中。当然,处理器和存储介质也可以作为分立组件存在于核心网接口设备中。
所属领域的技术人员可以清楚地了解到,为描述的方便和简洁,上述描述的系统,装置和单元的具体工作过程,可以参考前述方法实施例中的对应过程,在此不再赘述。
本领域技术人员应该可以意识到,在上述一个或多个示例中,本发明所描述的功能可以用硬件、软件、固件或它们的任意组合来实现。当使用软件实现时,可以将这些功能存储在计算机可读介质中或者作为计算机可读介质上的一个或多个指令或代码进行传输。计算机可读介质包括计算机存储介质和通信介质,其中通信介质包括便于从一个地方向另一个地方传送计算机程序的任何介质。存储介质可以是通用或专用计算机能够存取的任何可用介质。所属领域的技术人员可以清楚地了解到,为描述的方便和简洁,上述描述的系统,装置和单元的具体工作过程,可以参考前述方法实施例中的对应过程,在此不再赘述。
在本申请所提供的几个实施例中,应该理解到,所揭露的系统,装置和方法,可以通过其它的方式实现。例如,以上所描述的装置实施例仅仅是示意性的,例如,所述单元的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,例如多个单元或组件可以结合或者可以集成到另一个系统,或一些特征可以忽略,或
不执行。另一点,所显示或讨论的相互之间的耦合或直接耦合或通信连接可以是通过一些接口,装置或单元的间接耦合或通信连接,可以是电性或其它的形式。
所述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部单元来实现本实施例方案的目的。
另外,在本发明各个实施例中的各功能单元可以集成在一个处理单元中,也可以是各个单元单独物理包括,也可以两个或两个以上单元集成在一个单元中。上述集成的单元既可以采用硬件的形式实现,也可以采用硬件加软件功能单元的形式实现。
上述以软件功能单元的形式实现的集成的单元,可以存储在一个计算机可读取存储介质中。上述软件功能单元存储在一个存储介质中,包括若干指令用以使得一台计算机设备(可以是个人计算机,服务器,或者网络设备等)执行本发明各个实施例所述方法的部分步骤。而前述的存储介质包括:U盘、移动硬盘、只读存储器(Read-Only Memory,简称ROM)、随机存取存储器(Random Access Memory,简称RAM)、磁碟或者光盘等各种可以存储程序代码的介质。
最后应说明的是:以上实施例仅用以说明本发明的技术方案,而非对其限制;尽管参照前述实施例对本发明进行了详细的说明,本领域的普通技术人员应当理解:其依然可以对前述各实施例所记载的技术方案进行修改,或者对其中部分技术特征进行等同替换;而这些修改或者替换,并不使相应技术方案的本质脱离本发明各实施例技术方案的精神和范围。
Claims (19)
- 一种调整定位周期的方法,其特征在于,包括:移动设备获取当前所处环境中的一组环境记录信息,所述环境记录信息包括当前所处环境中环境信号的RSS、环境信号的接收时间及环境信号的信息源标识;所述移动设备根据获取的N组环境记录信息,确定所述移动设备的位置变更速率值;所述位置变更速率值反映所述移动设备在单位时间内的位置变更的距离;所述N为大于或等于2的整数;所述移动设备根据所述位置变更速率值,调整所述移动设备的定位周期。
- 根据权利要求1所述的方法,其特征在于,所述环境信号包括所述移动设备所能检测到的下述信号中的至少一种:蜂窝信号、无线保真WIFI信号、蓝牙信号、光信号、地磁场信号。
- 根据权利要求1或2所述的方法,其特征在于,所述移动设备根据获取的N组环境记录信息,确定所述移动设备的位置变更速率值,包括:将生成环境信号的信息源数量作为环境记录信息的维度,将环境记录信息作为所述移动设备的位置点,计算所述N组环境记录信息所对应的所述移动设备的位置点之间的距离;将所述移动设备的位置点之间的距离,除以所述N组环境记录信息中接收时间最早的环境信号与接收时间最晚的环境信号之间的接收时间差,作为所述移动设备的位置变更速率值。
- 根据权利要求3所述的方法,其特征在于,所述计算所述N组环境记录信息所对应的所述移动设备的位置点之间的距离,包括:若所述N大于2,计算所述N组环境记录信息中,接收时间最早的环境信号所属的环境记录信息与接收时间最晚的环境信号所属的环境记录信息所对应的所述移动设备的位置点之间的距离,作为所述N组环境记录信息所对应的所述移动设备的位置点之间的距离;或者,若所述N大于2,分别计算所述N组环境记录信息中,接收时间相邻的两个环境信号所属的两组环境记录信息所对应的所述移动设备的位置点之间的距离,将得到的N-1个距离取平均值,作为所述N组环境记录信息所对应的所述移动设备的位置点之间的距离。
- 根据权利要求3或4所述的方法,其特征在于,在所述计算所述N组环境记录信息所对应的所述移动设备的位置点之间的距离之前,所述方法还包括:若第一环境记录信息中包括第一信息源产生的环境信号的RSS,第二环境记录信息不包括所述第一信息源产生的环境信号的RSS,在所述第二环境记录信息中对所述第一信息源产生的环境信号的RSS赋值为预定值;其中,所述第一环境记录信息及所述第二环境记录信息为所述N组环境记录信息中计算距离的两组环境记录信息。
- 根据权利要求3-5任一项所述的方法,其特征在于,所述距离包括下述距离中的任一项:欧式距离、标准化欧氏距离、曼哈顿距离、切比雪夫距离。
- 根据权利要求1或2所述的方法,其特征在于,所述移动设备根据获取的N组环境记录信息,确定所述移动设备的位置变更速率值,包括:提取所述N组环境记录信息的特征值;其中,所述特征值为训练模型可识别的值;所述训练模型用于根据输入的环境记录信息的特征值得到所述输入的环境记录信息的特征值对应的位置变更速率值;将所述N组环境记录信息的特征值输入所述训练模型,获取所述训练模型输出的位置变更速率值,作为所述移动设备的位置变更速率值。
- 根据权利要求1-7任一项所述的方法,其特征在于,所述移动设备根据所述位置变更速率值,调整所述移动设备的定位周期,包括:将所述移动设备的定位周期,调整为预设对应关系中,所述位置变更速率值对应的定位周期;其中,所述预设对应关系包括至少一个位置变更速率值及与所述至少一个位置变更速率值一一对应的定位周期。
- 根据权利要求1-8任一项所述的方法,其特征在于,所述移动设备根据所述位置变更速率值,调整所述移动设备的定位周期,包括:判断所述位置变更速率值,与所述移动设备前一次位置变更速率值的差值是否大于或等于预设阈值;若所述差值大于或等于预设阈值,则所述移动设备根据所述位置变更速率值,调整所述移动设备的定位周期。
- 一种调整定位周期的装置,其特征在于,包括:获取单元,用于获取所述调整定位周期的装置所在的移动设备当前所处环境中的一组环境记录信息,所述环境记录信息包括当前所处环境中环境信号的RSS、环境信号的接收时间及环境信号的信息源标识;确定单元,用于根据所述获取单元获取的N组环境记录信息,确定所述移动设备的位置变更速率值;所述位置变更速率值反映所述移动设备在单位时间内的位置变更的距离;所述N为大于或等于2的整数;调整单元,用于根据所述确定单元确定的所述位置变更速率值,调整所述移动设备的定位周期。
- 根据权利要求10所述的装置,其特征在于,所述环境信号包括所述移动设备所能检测到的下述信号中的至少一种:蜂窝信号、无线保真WIFI信号、蓝牙信号、光信号、地磁场信号。
- 根据权利要求10或11所述的装置,其特征在于,所述确定单元具体用于:将生成环境信号的信息源数量作为环境记录信息的维度,将环境 记录信息作为所述移动设备的位置点,计算所述N组环境记录信息所对应的所述移动设备的位置点之间的距离;将所述移动设备的位置点之间的距离,除以所述N组环境记录信息中接收时间最早的环境信号与接收时间最晚的环境信号之间的接收时间差,作为所述移动设备的位置变更速率值。
- 根据权利要求12所述的装置,其特征在于,所述确定单元具体用于:若所述N大于2,计算所述N组环境记录信息中,接收时间最早的环境信号所属的环境记录信息与接收时间最晚的环境信号所属的环境记录信息所对应的所述移动设备的位置点之间的距离,作为所述N组环境记录信息所对应的所述移动设备的位置点之间的距离;或者,若所述N大于2,分别计算所述N组环境记录信息中,接收时间相邻的两个环境信号所属的两组环境记录信息所对应的所述移动设备的位置点之间的距离,将得到的N-1个距离取平均值,作为所述N组环境记录信息所对应的所述移动设备的位置点之间的距离。
- 根据权利要求12或13所述的装置,其特征在于,所述装置还包括:赋值单元,用于在所述确定单元计算所述N组环境记录信息所对应的所述移动设备的位置点之间的距离之前,若第一环境记录信息中包括第一信息源产生的环境信号的RSS,第二环境记录信息不包括所述第一信息源产生的环境信号的RSS,在所述第二环境记录信息中对所述第一信息源产生的环境信号的RSS赋值为预定值;其中,所述第一环境记录信息及所述第二环境记录信息为所述N组环境记录信息中计算距离的两组环境记录信息。
- 根据权利要求12-14任一项所述的装置,其特征在于,所述距离包括下述距离中的任一项:欧式距离、标准化欧氏距离、曼哈顿距离、切比雪夫距离。
- 根据权利要求10或11所述的装置,其特征在于,所述确定 单元具体用于:提取所述N组环境记录信息的特征值;其中,所述特征值为训练模型可识别的值;所述训练模型用于根据输入的环境记录信息的特征值得到所述输入的环境记录信息的特征值对应的位置变更速率值;将所述N组环境记录信息的特征值输入所述训练模型,获取所述训练模型输出的位置变更速率值,作为所述移动设备的位置变更速率值。
- 根据权利要求10-16任一项所述的装置,其特征在于,所述调整单元具体用于:将所述移动设备的定位周期,调整为预设对应关系中,所述位置变更速率值对应的定位周期;其中,所述预设对应关系包括至少一个位置变更速率值及与所述至少一个位置变更速率值一一对应的定位周期。
- 根据权利要求10-17任一项所述的装置,其特征在于,所述调整单元具体用于:判断所述位置变更速率值,与所述移动设备前一次位置变更速率值的差值是否大于或等于预设阈值;若所述差值大于或等于预设阈值,则所述移动设备根据所述位置变更速率值,调整所述移动设备的定位周期。
- 一种调整定位周期的装置,其特征在于,包括:处理器、存储器和采集器;所述存储器用于存储计算机执行指令,当所述调整定位周期的装置运行时,所述处理器执行所述存储器存储的所述计算机执行指令,以使所述调整定位周期的装置执行如权利要求1-9任意一项所述的调整定位周期的方法。
Priority Applications (3)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
PCT/CN2016/108111 WO2018098717A1 (zh) | 2016-11-30 | 2016-11-30 | 一种调整定位周期的方法及装置 |
US16/464,918 US10869293B2 (en) | 2016-11-30 | 2016-11-30 | Positioning cycle adjustment method and apparatus |
CN201680080772.8A CN108605310B (zh) | 2016-11-30 | 2016-11-30 | 一种调整定位周期的方法及装置 |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
PCT/CN2016/108111 WO2018098717A1 (zh) | 2016-11-30 | 2016-11-30 | 一种调整定位周期的方法及装置 |
Publications (1)
Publication Number | Publication Date |
---|---|
WO2018098717A1 true WO2018098717A1 (zh) | 2018-06-07 |
Family
ID=62241004
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
PCT/CN2016/108111 WO2018098717A1 (zh) | 2016-11-30 | 2016-11-30 | 一种调整定位周期的方法及装置 |
Country Status (3)
Country | Link |
---|---|
US (1) | US10869293B2 (zh) |
CN (1) | CN108605310B (zh) |
WO (1) | WO2018098717A1 (zh) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110049445A (zh) * | 2019-03-15 | 2019-07-23 | 华为技术有限公司 | 设备上报位置信息的方法及相关装置 |
Families Citing this family (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US10360785B2 (en) * | 2017-04-07 | 2019-07-23 | Sita Information Networking Computing Usa, Inc. | Article tracking system and method |
CN112115132B (zh) * | 2019-06-20 | 2024-02-13 | 北京百度网讯科技有限公司 | 数据关联方法、装置、设备和存储介质 |
CN118450324B (zh) * | 2024-07-08 | 2024-09-13 | 江苏创仕澜传输科技有限公司 | 一种低功耗定位通信方法及装置 |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1859798A (zh) * | 2006-03-20 | 2006-11-08 | 华为技术有限公司 | 区域触发定位方法及装置 |
CN103167523A (zh) * | 2011-12-12 | 2013-06-19 | 屏东科技大学 | 速度估算方法 |
CN103402176A (zh) * | 2013-07-31 | 2013-11-20 | 深圳市中兴移动通信有限公司 | 动态调整定位周期的方法及装置 |
CN104359480A (zh) * | 2014-11-04 | 2015-02-18 | 浙江工业大学 | 一种利用惯性导航与Wi-Fi指纹的混合室内定位方法 |
WO2016083769A1 (en) * | 2014-11-28 | 2016-06-02 | The Secretary Of State For Foreign And Commonwealth Affairs | Received signal strength (rss) geolocation |
Family Cites Families (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR20100023539A (ko) * | 2008-08-22 | 2010-03-04 | 삼성전자주식회사 | 이동 단말기의 위치 기록 방법, 이동 단말기와 저장 매체 |
CN101730204B (zh) * | 2008-10-29 | 2012-08-29 | 中国移动通信集团公司 | 对定位模块工作状态进行控制的方法及其移动终端 |
US8390512B2 (en) * | 2009-06-05 | 2013-03-05 | Qualcomm Incorporated | On demand positioning |
CN102076082A (zh) | 2010-11-19 | 2011-05-25 | 厦门雅迅网络股份有限公司 | 一种动态自适应的基站定位方法 |
WO2013136123A1 (en) * | 2012-03-15 | 2013-09-19 | Nokia Corporation | Supporting an update of stored information |
CN104186003B (zh) * | 2012-07-18 | 2019-01-01 | 统一有限责任两合公司 | 传递表示通信设备的物理位置的位置信息的方法、设备及系统 |
-
2016
- 2016-11-30 WO PCT/CN2016/108111 patent/WO2018098717A1/zh active Application Filing
- 2016-11-30 CN CN201680080772.8A patent/CN108605310B/zh active Active
- 2016-11-30 US US16/464,918 patent/US10869293B2/en active Active
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1859798A (zh) * | 2006-03-20 | 2006-11-08 | 华为技术有限公司 | 区域触发定位方法及装置 |
CN103167523A (zh) * | 2011-12-12 | 2013-06-19 | 屏东科技大学 | 速度估算方法 |
CN103402176A (zh) * | 2013-07-31 | 2013-11-20 | 深圳市中兴移动通信有限公司 | 动态调整定位周期的方法及装置 |
CN104359480A (zh) * | 2014-11-04 | 2015-02-18 | 浙江工业大学 | 一种利用惯性导航与Wi-Fi指纹的混合室内定位方法 |
WO2016083769A1 (en) * | 2014-11-28 | 2016-06-02 | The Secretary Of State For Foreign And Commonwealth Affairs | Received signal strength (rss) geolocation |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110049445A (zh) * | 2019-03-15 | 2019-07-23 | 华为技术有限公司 | 设备上报位置信息的方法及相关装置 |
Also Published As
Publication number | Publication date |
---|---|
CN108605310B (zh) | 2021-02-12 |
US10869293B2 (en) | 2020-12-15 |
US20200015190A1 (en) | 2020-01-09 |
CN108605310A (zh) | 2018-09-28 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN108605205B (zh) | 用于确定电子装置的位置的设备和方法 | |
WO2020192219A1 (zh) | 定位测量信息上报方法、终端和网络设备 | |
CN111316673B (zh) | 电子围栏更新的方法和通信装置 | |
US10657347B2 (en) | Method for capturing fingerprint and associated products | |
CN111526581B (zh) | 一种用户定位的方法、网元、系统及存储介质 | |
JP2015528113A (ja) | モバイル端末のためのgps測位方法およびモバイル端末 | |
CN106487984B (zh) | 一种调整音量的方法和装置 | |
WO2018098717A1 (zh) | 一种调整定位周期的方法及装置 | |
WO2018103441A1 (zh) | 一种网络定位方法及终端设备 | |
CN112415554B (zh) | 定位方法和装置、电子设备、计算机可读存储介质 | |
CN108702661A (zh) | 一种调整手机选网参数的方法和装置 | |
WO2018145477A1 (zh) | 一种网络接入方法及终端 | |
WO2018166202A1 (zh) | 网络定位方法、计算机设备及非易失性可读存储介质 | |
CN109065120B (zh) | 一种信息处理的方法、装置以及计算机存储介质 | |
CN105282692A (zh) | 测速信息显示方法和装置 | |
CN104316946B (zh) | 基站、gnss联合定位方法和装置 | |
CN110708673A (zh) | 一种位置确定方法和便捷式多功能设备 | |
CN107835304B (zh) | 控制移动终端的方法、装置、移动终端及存储介质 | |
CN107545204B (zh) | 物品顺序确定方法及装置 | |
CN109041212B (zh) | 一种定位方法及可穿戴设备 | |
CN110908586A (zh) | 一种键盘的显示方法、装置及终端设备 | |
WO2016119234A1 (zh) | 一种基于wifi系统室内定位装置及方法 | |
CN105486302A (zh) | 一种地图显示方法及终端 | |
CN106354250B (zh) | 一种设置计步参数的方法、装置及终端 | |
CN112114344B (zh) | 一种定位方法、装置、存储介质及电子设备 |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
121 | Ep: the epo has been informed by wipo that ep was designated in this application |
Ref document number: 16922807 Country of ref document: EP Kind code of ref document: A1 |
|
NENP | Non-entry into the national phase |
Ref country code: DE |
|
122 | Ep: pct application non-entry in european phase |
Ref document number: 16922807 Country of ref document: EP Kind code of ref document: A1 |