CN108055642A - Control method, device, storage medium and the mobile terminal of locating module - Google Patents

Control method, device, storage medium and the mobile terminal of locating module Download PDF

Info

Publication number
CN108055642A
CN108055642A CN201711325795.3A CN201711325795A CN108055642A CN 108055642 A CN108055642 A CN 108055642A CN 201711325795 A CN201711325795 A CN 201711325795A CN 108055642 A CN108055642 A CN 108055642A
Authority
CN
China
Prior art keywords
mobile terminal
destination
module
building
gnss module
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201711325795.3A
Other languages
Chinese (zh)
Other versions
CN108055642B (en
Inventor
林华秋
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Guangdong Oppo Mobile Telecommunications Corp Ltd
Original Assignee
Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Guangdong Oppo Mobile Telecommunications Corp Ltd filed Critical Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority to CN201711325795.3A priority Critical patent/CN108055642B/en
Publication of CN108055642A publication Critical patent/CN108055642A/en
Application granted granted Critical
Publication of CN108055642B publication Critical patent/CN108055642B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/02Services making use of location information
    • H04W4/025Services making use of location information using location based information parameters
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W52/00Power management, e.g. TPC [Transmission Power Control], power saving or power classes
    • H04W52/02Power saving arrangements
    • H04W52/0209Power saving arrangements in terminal devices
    • H04W52/0251Power saving arrangements in terminal devices using monitoring of local events, e.g. events related to user activity
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Navigation (AREA)

Abstract

The embodiment of the present application discloses control method, device, storage medium and the mobile terminal of locating module.This method includes:Obtain destination of the user by the LBS application selections in mobile terminal, when identifying that destination belongs to indoor environment, obtain the boundary position information of the affiliated building in destination, when judging that stroke of the current location of mobile terminal apart from building is less than pre-determined distance threshold value according to boundary position information, global navigation satellite system GNSS module in control mobile terminal enters low power mode of operation, wherein, current location positions to obtain by GNSS module.The embodiment of the present application can control GNSS module to enter low power mode of operation, reduce power consumption caused by GNSS module in time by using above-mentioned technical proposal when user will reach the destination for belonging to indoor environment.

Description

Control method, device, storage medium and the mobile terminal of locating module
Technical field
The invention relates to field of locating technology more particularly to the control method of locating module, device, storage mediums And mobile terminal.
Background technology
It is to obtain mobile terminal by location technology to use based on location-based service (Location Based Service, LBS) The location information at family and the value-added service for providing respective service to the user, at present, many applications in mobile terminal are all based on What LBS was developed, scope has covered the fields such as amusement and recreation, service for life and social networking application, so, LBS technologies Play important role in all trades and professions.LBS is applied when providing location dependant services, it is necessary to call locating module, To obtain the location information of locating module positioning.
At present, the positioning method of mobile terminal mainly includes Global Navigation Satellite System (Global Navigation Satellite System, GNSS) positioning, network positions and base station location etc..Wherein, GNSS positioning methods have positioning accurate The advantages that degree is high and need not use mobile data network, but position fixing process power consumption is very big, when influencing the continuation of the journey of mobile terminal Between.The existing scheme controlled GNSS locating modules stills need to improve.
The content of the invention
The embodiment of the present application provides a kind of control method of locating module, device, storage medium and mobile terminal, Ke Yiyou Change in mobile terminal to the control program of GNSS locating modules.
In a first aspect, the embodiment of the present application provides a kind of control method of locating module, including:
It obtains user and passes through the destination based on location-based service LBS application selections in mobile terminal;
When identifying that the destination belongs to indoor environment, the boundary bit confidence of the affiliated building in the destination is obtained Breath;
Row of the current location of the mobile terminal apart from the building is being judged according to the boundary position information When journey is less than pre-determined distance threshold value, the global navigation satellite system GNSS module in the mobile terminal is controlled to enter low-power consumption work Operation mode, wherein, the current location positions to obtain by GNSS module.
Second aspect, the embodiment of the present application provide a kind of control device of locating module, including:
Destination acquisition module, for obtain user by mobile terminal based on location-based service LBS application selections Destination;
Boundary position acquisition module, for when identifying that the destination belongs to indoor environment, obtaining the destination The boundary position information of affiliated building;
Positioning control module, for judged according to the boundary position information current location of the mobile terminal away from When stroke from the building is less than pre-determined distance threshold value, the global navigation satellite system GNSS in the mobile terminal is controlled Module enters low power mode of operation, wherein, the current location positions to obtain by GNSS module.
The third aspect, the embodiment of the present application provide a kind of computer readable storage medium, are stored thereon with computer journey Sequence realizes the control method of the locating module as described in the embodiment of the present application when the program is executed by processor.
Fourth aspect, the embodiment of the present application provide a kind of mobile terminal, including memory, GNSS module, processor and The computer program that can be run on a memory and in processor is stored, the processor be realized when performing the computer program The control method of locating module as described in the embodiment of the present application.
The control program of the locating module provided in the embodiment of the present application, obtaining user should by the LBS in mobile terminal With the destination of selection, when identifying that destination belongs to indoor environment, the boundary bit confidence of the affiliated building in destination is obtained Breath, when judging that stroke of the current location apart from building is less than pre-determined distance threshold value according to boundary position information, control moves GNSS module in dynamic terminal enters low power mode of operation.By using above-mentioned technical proposal, can will be reached in user When belonging to the destination of indoor environment, in time GNSS module is controlled to enter low power mode of operation, produced by reducing GNSS module Power consumption.
Description of the drawings
Fig. 1 is a kind of flow diagram of the control method of locating module provided by the embodiments of the present application;
Fig. 2 is the flow diagram of the control method of another locating module provided by the embodiments of the present application;
Fig. 3 is the flow diagram of the control method of another locating module provided by the embodiments of the present application;
Fig. 4 is a kind of cartographic information schematic diagram provided by the embodiments of the present application;
Fig. 5 is a kind of structure diagram of the control device of locating module provided by the embodiments of the present application;
Fig. 6 is a kind of structure diagram of mobile terminal provided by the embodiments of the present application;
Fig. 7 is the structure diagram of another mobile terminal provided by the embodiments of the present application.
Specific embodiment
Further illustrate the technical solution of the application below with reference to the accompanying drawings and specific embodiments.It is appreciated that It is that specific embodiment described herein is used only for explaining the application rather than the restriction to the application.It further needs exist for illustrating , part relevant with the application rather than entire infrastructure are illustrated only for ease of description, in attached drawing.
It should be mentioned that some exemplary embodiments are described as before exemplary embodiment is discussed in greater detail The processing described as flow chart or method.Although each step is described as the processing of order, many of which by flow chart Step can be implemented concurrently, concomitantly or simultaneously.In addition, the order of each step can be rearranged.When its operation The processing can be terminated during completion, it is also possible to have the additional step being not included in attached drawing.The processing can be with Corresponding to method, function, regulation, subroutine, subprogram etc..
Fig. 1 is a kind of flow diagram of the control method of locating module provided by the embodiments of the present application, and this method can be with It is performed by the control device of locating module, wherein the device can generally be integrated in mobile terminal by software and/or hardware realization In.As shown in Figure 1, this method includes:
Step 101 obtains destination of the user by the LBS application selections in mobile terminal.
Illustratively, the mobile terminal in the embodiment of the present application may include that mobile phone and tablet computer etc. are provided with GNSS and determine The mobile equipment of position module (abbreviation GNSS module).The embodiment of the present application is not construed as limiting the concrete type of GNSS module, can be with It is defended including global positioning system (Global Positioning System, GPS), Beidou satellite navigation system and Galileo Star navigation system (GALILEO) etc..
In the embodiment of the present application, the concrete type of LBS applications is not limited, it may include electronic map class applies (such as hundred Spend map etc.), take out class application (such as U.S. group takes out), social class application (such as wechat), the application of information service class (such as masses Comment etc.) and GT grand touring application (such as taking journey) etc..User is during using LBS to apply, it is often necessary to which inquiry is certainly Oneself interested place, such as sight spot, hotel, restaurant, gas station, cinema, office building and market.LBS applications can be with Place is recommended in current location or position input by user based on user, oneself interested place is therefrom selected by user, Oneself interested place can also be actively entered by user, user's selection or the interested place inputted can be regarded as this Shen Please in destination.In addition, destination can also be the unit in a building, such as a fast food in food plaza Shop, a clothes shop in shopping center, a company in commercial mansion etc..
In the embodiment of the present application, when user is by LBS application selection destinations, GNSS module is in normal work mould Formula.Generally, after LBS applications start or when LBS applications are included in destination selection interface, it is believed that user needs position to take Business, can call GNSS module, if GNSS module is closed, can open and into normal work module, so as to pass through GNSS module obtains location information.
Step 102, when identifying that the destination belongs to indoor environment, obtain the border of scope residing for the destination Location information.
Illustratively, can determine if to belong to indoor environment according to the type of destination.Such as the sight spot in the example above And gas station is generally outdoor environment, and hotel, restaurant, cinema, office building and market are generally indoor environment.In addition, Can also whether indoor environment be belonged to by Map recognition destination.Generally, if destination belongs to indoor environment, then destination Corresponding house class building is had, and the contour pattern of building construction can be included on map;If destination belongs to outdoor environment, Then destination does not have corresponding house class building, and the contour pattern of corresponding building construction is there will not be on map.Optionally, Also indoor ring can be included using the corresponding environment attribute in different location, environment attribute is prestored in corresponding server in LBS Border or outdoor environment in this step, the environmental attribute data stored in server can be directly inquired about according to destination, obtains mesh Ground whether be in indoor environment.
Illustratively, when destination belongs to indoor environment, corresponding building, the side of the affiliated building in destination are had Boundary's scope can be regarded as upright projection location of the affiliated building construction in destination with respect to road surface, and boundary position information may include The geographical location information on the border of the upright projection, geographical location information may include latitude and longitude coordinates etc..
Step 103 is being judged to build described in the current location distance of the mobile terminal according to the boundary position information When building the stroke of object less than pre-determined distance threshold value, the GNSS module in the mobile terminal is controlled to enter low power mode of operation, Wherein, the current location positions to obtain by GNSS module.
Illustratively, user can be provided a user the navigation arrived at by LBS applications and believed after destination has been selected Breath, navigation information may include information of voice prompt or map indication information etc., and user can arrive at by navigation information. It, can be real by GNSS module in order to ensure the real-time of navigation information and accuracy during user advances to destination The current location of Shi Dingwei mobile terminals, and navigation information is updated using current location in real time.
Illustratively, the length of the minimal path on any one border of current location arrival building can be calculated in real time Value using the length value as stroke of the current location apart from building, if the trip is less than pre-determined distance threshold value, illustrates user i.e. Affiliated building will be arrived at, that is to say, that mobile terminal will get in environment.Wherein, pre-determined distance threshold value can be by System default is set, it is also possible to which family is voluntarily set, and different GNSS modules can correspond to different pre-determined distance threshold values.For example, Pre-determined distance threshold value can be 10 meters, can also be 1 meter or 0 meter etc..
Optionally, boundary position information includes border entries information, can calculate current location in real time and reach nearest side The length value of the minimal path of boundary's entrance, using the length value as stroke of the current location apart from building, if the trip is less than Pre-determined distance threshold value illustrates that user will be entered by border entries in the affiliated building in destination, that is to say, that mobile terminal Environment will be got in.The advantages of this arrangement are as follows can be determined more accurately whether user will enter destination In affiliated building.
After mobile terminal gets in environment, the satellite-signal that GNSS module can search can weaken even search not It arrives, cause positioning result mistake or can not realize positioning, but in the case that GNSS module is in normal mode of operation, it can always In search of satellite signal and other states for positioning relevant operations are performed, power consumption is larger.
In the application, judging that stroke of the current location of mobile terminal apart from building is small according to boundary position information When pre-determined distance threshold value, control mobile terminal in GNSS module enter low power mode of operation, can save GNSS module because Can not be positioned in environment indoors and caused by power consumption.Illustratively, the GNSS module in mobile terminal is controlled to enter low-power consumption The specific implementation of operating mode can there are many kinds of, the embodiment of the present application does not limit.It optionally, can turning-off mobile terminal In GNSS module, for GNSS module, positioning function is generally basede on GNSS chips to realize, close GNSS module can To stop being powered GNSS chips, the advantages of this arrangement are as follows, GNSS positioning functions can thoroughly be closed, avoid GNSS Power consumption caused by module.Optionally, the GNSS module in also controllable mobile terminal enters dormant state, illustratively, can Control GNSS module stops search the relevant operations such as satellite-signal, the advantages of this arrangement are as follows, GNSS module is stopped, can GNSS module is reduced because of power consumption caused by positioning, and when being positioned, normal work shape can be quickly recovered to State.
The control method of the locating module provided in the embodiment of the present application, obtaining user should by the LBS in mobile terminal With the destination of selection, when identifying that destination belongs to indoor environment, the boundary bit confidence of the affiliated building in destination is obtained Breath, when judging that stroke of the current location apart from building is less than pre-determined distance threshold value according to boundary position information, control moves GNSS module in dynamic terminal enters low power mode of operation.By using above-mentioned technical proposal, can will be reached in user When belonging to the destination of indoor environment, in time GNSS module is controlled to enter low power mode of operation, produced by reducing GNSS module Power consumption.
In some embodiments, the boundary position information for obtaining scope residing for the destination, including:In map Search the corresponding building in the destination;Obtain the corresponding geographical location of contour pattern of the building in the map Information, as boundary position information.The boundary position information of the corresponding building construction in destination is confirmed by map, can be improved Determine the accuracy on building border.Wherein, map can be map built-in in LBS applications in the application or should Map in other map applications of LBS application calls.
In some embodiments, in the acquisition user by being selected in mobile terminal based on location-based service LBS applications Destination while, further include:The initial position of the mobile terminal is obtained by GNSS module.Lead in the acquisition user It crosses after the destination based on location-based service LBS application selections in mobile terminal, further includes:Obtain the map letter of preset range Breath, the preset range cover the initial position to the navigation routine of the destination.It is described according to the boundary position When information judges that stroke of the current location of the mobile terminal apart from the destination is less than pre-determined distance threshold value, institute is controlled The GNSS module stated in mobile terminal enters low power mode of operation, including:According to the navigation routine from the boundary position Selection target border in the corresponding multiple borders of information, the object boundary intersect with the navigation routine;According to the mesh The corresponding boundary position information in mark border is judged most short between the current location of the mobile terminal and the object boundary When distance is less than pre-determined distance threshold value, the GNSS module in the mobile terminal is controlled to enter low power mode of operation.So set Putting is advantageous in that, can determine that user needs which border to enter building from according to navigation routine, thus more accurately really Surely control GNSS module enters the opportunity of low power mode of operation.Wherein, the beeline between current location and object boundary Can be the beeline that current location reaches any point on object boundary, beeline here can be air line distance, Can also be that travel distance (needs to bypass when such as running into barrier, so the travel distance between two positions is generally higher than this Air line distance between two positions).
Optionally, user can be prompted according to navigation routine, such as takes the form or screen display of voice broadcast Form, user is facilitated smoothly to be arrived at along navigation routine according to prompting.Wherein, when the progress in the form of screen display During prompting, acquired cartographic information can be shown, to indicate user according to the navigation routine to the destination row Into.
In some embodiments, the GNSS module in the control mobile terminal enter low power mode of operation it Afterwards, further include:Location information is provided using the positioning method beyond GNSS positioning methods.Enter low-power consumption in control GNSS module During operating mode, user will enter the affiliated building in destination, but may and be introduced into, and may also need to more new position, example User is such as facilitated smoothly to find the entrance of building;In addition, after building is entered, if building is bigger, such as large-scale Market, and the destination of user's selection is only one of restaurant, then more new position is also needed between floors, facilitates use Smoothly find destination in family.Therefore, here the advantages of this arrangement are as follows, after GNSS module enters low power mode of operation, It remains able to provide location-based service in the case of low-power consumption.Wherein, the positioning method beyond GNSS positioning methods may include base It stands firm position or network positions (such as WiFi positioning) relatively low positioning method of other power consumptions;It is fixed using sensor auxiliary to may also include The mode of position such as obtains the exercise data of mobile terminal by motion sensor, and location information is provided according to the exercise data. Wherein, motion sensor may include acceleration transducer, gravity sensor, gyroscope and geomagnetic sensor etc..Utilize fortune The exercise data that dynamic sensor collects can calculate movement velocity, displacement distance and rotation angle of mobile terminal etc., then The position of mobile terminal when GNSS module enters low power mode of operation is combined, and can obtain the real-time position of mobile terminal It puts, so as to fulfill continuing to provide location information.Power consumption is relatively low caused by motion sensor, can be stopped in GNSS module Ensure the availability of positioning function afterwards, continue as user-provided location service, reduce the power consumption of mobile terminal on the whole.
In some embodiments, after the positioning method beyond using GNSS positioning methods provides location information, also wrap It includes:When detecting that the mobile terminal leaves the building, the GNSS module is controlled to exit low power mode of operation.So Setting is advantageous in that, when mobile terminal leaves the affiliated building in destination, is illustrated that user has left indoor environment, is returned to Outdoor environment, at this time GNSS module can normal searching to satellite-signal, that is to say, that GNSS module can be based on and obtain position Information, then in order to ensure positioning accuracy and accuracy, controllable GNSS module exits low power mode of operation, into normal Operating mode.It illustratively, can be true if the current location for drawing mobile terminal according to other positioning methods is in outside building Regular inspection measures mobile terminal and leaves building.
Fig. 2 is the flow diagram of the control method of another locating module provided by the embodiments of the present application, this method bag Include following steps:
Step 201 detects that GNSS module is in normal mode of operation in the case of by LBS application calls.
Step 202, the initial position that mobile terminal is obtained by GNSS module, and obtain user and selected by LBS applications Destination.
Whether belong to indoor environment to step 203, identifying purpose, if so, performing step 204;Otherwise, flow is terminated.
Step 204 searches the corresponding building in destination in map, obtains contour pattern pair of the building in map The geographical location information answered, as boundary position information.
Step 205, the cartographic information for obtaining and showing preset range, the preset range cover the initial position to institute State the navigation routine of destination.
Step 206, according to navigation routine from boundary position information corresponding multiple borders selection target border, target side Intersect with the navigation routine on boundary.
Step 207, the current location that mobile terminal is obtained by GNSS module.
Step 208 judges whether the beeline between current location and object boundary is less than pre-determined distance threshold value, if It is then to perform step 209;Otherwise, return and perform step 207.
Step 209 closes GNSS module, and obtains the exercise data of motion sensor, with reference to current location and movement number Continue offer location information according to LBS.
Whether step 210, detection mobile terminal leave building, if so, performing step 211;Otherwise, step is repeated Rapid 210.
Step 211 opens GNSS module.
The control method of positioning mould provided by the embodiments of the present application can will reach in user and belong to the mesh of indoor environment Ground when, close GNSS module in time, reduce power consumption caused by GNSS module, and continue to provide position using sensor and believe Breath when detecting that mobile terminal has left the affiliated building in destination, is opened GNSS module, is provided to the user accurately in time Location-based service.
Fig. 3 is the flow diagram of the control method of another locating module provided by the embodiments of the present application, is taken with information It is illustrated exemplified by the LBS applications of business class, built-in GPS module in mobile terminal, it is assumed that user searches in LBS applications and nearby comments The higher dining room of valency, and a dining room A in X shopping centers is had selected, it is necessary to which the navigation Service provided in being applied according to LBS is walked To dining room A.Specifically, this method may include:
Step 301, the request for detecting target LBS application call GPS modules, respond request are simultaneously opened GPS module, are passed through The current initial position of GPS module positioning mobile terminal.
Step 302 obtains the dining room A selected in the dining room recommendation list that user applies in target LBS.
Step 303 determines that dining room A is located in X shopping centers, belongs to indoor environment.
Step 304 finds X shopping centers in map, and obtains contour pattern of the X shopping centers in map and correspond to Geographical location information, as boundary position information.
Step 305, the cartographic information for obtaining and showing preset range, preset range cover initial position leading to restaurant A Air route line.
Step 306, according to navigation routine from boundary position information corresponding multiple borders selection target border, target side Intersect with the navigation routine on boundary.
Fig. 4 is a kind of cartographic information schematic diagram provided by the embodiments of the present application, as shown in figure 4, X shopping centers 41 are located at road Road one side, user want the dining room A reached for destination 43, and the c-type profile 42 on map is the profile diagram in X shopping centers 41 Shape, the latitude and longitude coordinates of each point can be used as boundary position information on the contour pattern, and the initial bit of user is also shown in Fig. 4 44 navigation routines 45 for arriving at 43 are put, navigation routine 43 intersects with border 46, so border 46 is object boundary, also It is to say that navigation routine 45 will guide user to enter X shopping centers 41 from 46 corresponding entrance of border.
Step 307, the current location that mobile terminal is obtained by GPS module.
Step 308 judges whether the beeline between current location and object boundary is less than pre-determined distance threshold value, if It is then to perform step 309;Otherwise, return and perform step 307.
Illustratively, it is assumed that pre-determined distance threshold value is 3 meters, then user can generally walk along navigation routine, from current Position 47 starts to may be generally viewed as the beeline in this step along the distance in navigation routine direction and object boundary, if should be away from From less than 3 meters, then illustrate user will enter X shopping centers, GPS module can be closed.
Step 309 closes GPS module, and obtains the exercise data of motion sensor, with reference to current location and exercise data Continue to provide location information to LBS applications.
Illustratively, after GPS module is closed, the exercise data that can combine motion sensor calculates the side that user advances To, speed and distance etc., with reference to the position 47 for closing GPS module, you can calculate the position of user in real time, and position is believed Breath is supplied to LBS to apply, and user can be helped to can continue to smoothly find restaurant A, i.e. mesh using navigation feature in X shopping centers Ground 43.
Whether step 310, detection mobile terminal leave X shopping centers, if so, performing step 311;Otherwise, repeat to hold Row step 310.
Step 311 opens GPS module.
The control method of locating module provided by the embodiments of the present application, when destination is a unit in building, GPS module can be closed before it will enter building, avoid GPS module that from can not positioning and flog a dead horse in building, keep away Exempt from the waste of power consumption, the exercise data of position and motion sensor when being then based on closing GPS module continues to provide position letter Breath helps user smoothly to find the availability that final destination ensure that location-based service between floors, and on the whole Reduce the power consumption of mobile terminal.
Fig. 5 is a kind of structure diagram of the control device of locating module provided by the embodiments of the present application, which can be by soft Part and/or hardware realization, are typically integrated in mobile terminal, can be by performing the control method of locating module come to mobile terminal In locating module controlled.As shown in figure 5, the device includes:
Destination acquisition module 501, for obtaining user by being selected in mobile terminal based on location-based service LBS applications Destination;
Boundary position acquisition module 502, for when identifying that the destination belongs to indoor environment, obtaining the purpose The boundary position information of building belonging to ground;
Positioning control module 503, for judging the present bit of the mobile terminal according to the boundary position information When putting the stroke apart from the building less than pre-determined distance threshold value, the Global Navigation Satellite System in the mobile terminal is controlled GNSS module enters low power mode of operation, wherein, the current location positions to obtain by GNSS module.
The control device of the locating module provided in the embodiment of the present application, obtaining user should by the LBS in mobile terminal With the destination of selection, when identifying that destination belongs to indoor environment, the boundary bit confidence of the affiliated building in destination is obtained Breath, when judging that stroke of the current location apart from building is less than pre-determined distance threshold value according to boundary position information, control moves GNSS module in dynamic terminal enters low power mode of operation.By using above-mentioned technical proposal, can will be reached in user When belonging to the destination of indoor environment, in time GNSS module is controlled to enter low power mode of operation, produced by reducing GNSS module Power consumption.
Optionally, the GNSS module in the control mobile terminal enters low power mode of operation, including:
Close the GNSS module in the mobile terminal;Or,
The GNSS module in the mobile terminal is controlled to enter dormant state.
Optionally, the boundary position information for obtaining the affiliated building in destination, including:
The corresponding building in the destination is searched in map;
The corresponding geographical location information of contour pattern of the building in the map is obtained, as boundary bit confidence Breath.
Optionally, which further includes:
Initial position acquisition module, for obtaining user by being answered in mobile terminal based on location-based service LBS described While with the destination of selection, the initial position of the mobile terminal is obtained by GNSS module;
Cartographic information acquisition module, for obtaining user by being answered in mobile terminal based on location-based service LBS described After the destination of selection, the cartographic information of preset range is obtained, the preset range covers the initial position to described The navigation routine of destination;
The positioning control module is used for:
According to the navigation routine from the boundary position information corresponding multiple borders selection target border, the mesh Intersect with the navigation routine on mark border;
Current location and the institute of the mobile terminal are being judged according to the corresponding boundary position information of the object boundary When stating the beeline between object boundary less than pre-determined distance threshold value, the GNSS module in the mobile terminal is controlled to enter low Power consumption operating mode.
Optionally, which further includes cartographic information display module, in the cartographic information of the acquisition preset range Afterwards, acquired cartographic information is shown, to indicate that user advances according to the navigation routine to the destination.
Optionally, which may also include location information and provides module, in the control mobile terminal GNSS module enters after low power mode of operation, and location information is provided using the positioning method beyond GNSS positioning methods.
Optionally, the positioning control module is additionally operable to:Positioning method beyond using GNSS positioning methods provides position After confidence breath, when detecting that the mobile terminal leaves the building, the GNSS module is controlled to exit low-power consumption work Pattern.
The embodiment of the present application also provides a kind of storage medium for including computer executable instructions, and the computer can perform When being performed by computer processor for performing the control method of locating module, this method includes for instruction:
It obtains user and passes through the destination based on location-based service LBS application selections in mobile terminal;
When identifying that the destination belongs to indoor environment, the boundary bit confidence of the affiliated building in the destination is obtained Breath;
Row of the current location of the mobile terminal apart from the building is being judged according to the boundary position information When journey is less than pre-determined distance threshold value, the global navigation satellite system GNSS module in the mobile terminal is controlled to enter low-power consumption work Operation mode, wherein, the current location positions to obtain by GNSS module.
Storage medium --- any various types of memory devices or storage device.Term " storage medium " is intended to wrap It includes:Install medium, such as CD-ROM, floppy disk or magnetic tape equipment;Computer system memory or random access memory, such as DRAM, DDRRAM, SRAM, EDORAM, blue Bath (Rambus) RAM etc.;Nonvolatile memory, such as flash memory, magnetic medium (example Such as hard disk or optical storage);Memory component of register or other similar types etc..Storage medium can further include other types Memory or its combination.In addition, storage medium can be located at program in the first computer system being wherein performed or It can be located in different second computer systems, second computer system is connected to the first meter by network (such as internet) Calculation machine system.Second computer system can provide program instruction and be used to perform to the first computer.Term " storage medium " can With include may reside in different position (such as in different computer systems by network connection) two or more Storage medium.Storage medium can store the program instruction that can be performed by one or more processors and (such as be implemented as counting Calculation machine program).
Certainly, a kind of storage medium for including computer executable instructions that the embodiment of the present application is provided, computer The control operation for the locating module that executable instruction is not limited to the described above can also carry out the application any embodiment and be provided Locating module control method in relevant operation.
The embodiment of the present application provides a kind of mobile terminal, and it is provided by the embodiments of the present application fixed to be integrated in the mobile terminal The control device of position module.Fig. 6 is a kind of structure diagram of mobile terminal provided by the embodiments of the present application.Mobile terminal 600 It can include:Memory 601, GNSS module 602 and are stored on memory 601 and can be transported in processor 603 processor 603 Capable computer program, the processor 603 realize the positioning as described in the embodiment of the present application when performing the computer program The control method of module.
Mobile terminal provided by the embodiments of the present application, can when user will reach the destination for belonging to indoor environment, Control GNSS module enters low power mode of operation in time, reduces power consumption caused by GNSS module.
Fig. 7 is the structure diagram of another mobile terminal provided by the embodiments of the present application, which can include: Housing (not shown), memory 701, GPS chip (not shown), central processing unit (central processing Unit, CPU) 702 (also known as processor, hereinafter referred to as CPU), circuit board (not shown) and power circuit (do not show in figure Go out).The circuit board is placed in the interior volume that the housing surrounds;The CPU702 and the memory 701 are arranged on institute It states on circuit board;The power circuit, for powering for each circuit or device of the mobile terminal;The memory 701, For storing executable program code;The CPU702 is by reading the executable program code stored in the memory 701 Computer program corresponding with the executable program code is run, to realize following steps:
It obtains user and passes through the destination based on location-based service LBS application selections in mobile terminal;
When identifying that the destination belongs to indoor environment, the boundary bit confidence of the affiliated building in the destination is obtained Breath;
Row of the current location of the mobile terminal apart from the building is being judged according to the boundary position information When journey is less than pre-determined distance threshold value, the global navigation satellite system GNSS module in the mobile terminal is controlled to enter low-power consumption work Operation mode, wherein, the current location positions to obtain by GNSS module.
The mobile terminal further includes:Peripheral Interface 703, RF (Radio Frequency, radio frequency) circuit 705, audio-frequency electric Road 706, loud speaker 711, power management chip 708, input/output (I/O) subsystem 709, other input/control devicess 710, Touch-screen 712, other input/control devicess 710 and outside port 704, these components pass through one or more communication bus Or signal wire 707 communicates.
It should be understood that diagram mobile terminal 700 is only an example of mobile terminal, and mobile terminal 700 Can have than more or less components shown in figure, two or more components can be combined or can be with It is configured with different components.Various parts shown in figure can be including one or more signal processings and/or special Hardware, software including integrated circuit are realized in the combination of hardware and software.
Just the mobile terminal provided in this embodiment for locating module control is described in detail below, and the movement is whole End is by taking mobile phone as an example.
Memory 701, the memory 701 can be by access such as CPU702, Peripheral Interfaces 703, and the memory 701 can To include high-speed random access memory, nonvolatile memory can also be included, such as one or more disk memory, Flush memory device or other volatile solid-state parts.
The peripheral hardware that outputs and inputs of equipment can be connected to CPU702 and deposited by Peripheral Interface 703, the Peripheral Interface 703 Reservoir 701.
I/O subsystems 709, the I/O subsystems 709 can be by the input/output peripherals in equipment, such as touch-screen 712 With other input/control devicess 710, Peripheral Interface 703 is connected to.I/O subsystems 709 can include 7091 He of display controller For controlling one or more input controllers 7092 of other input/control devicess 710.Wherein, one or more input controls Device 7092 processed receives electric signal from other input/control devicess 710 or sends electric signal to other input/control devicess 710, Other input/control devicess 710 can include physical button (pressing button, rocker buttons etc.), dial, slide switch, behaviour Vertical pole clicks on idler wheel.What deserves to be explained is input controller 7092 can with it is following any one be connected:Keyboard, infrared port, The instruction equipment of USB interface and such as mouse.
Touch-screen 712, the touch-screen 712 are the input interface and output interface between customer mobile terminal and user, Visual output is shown to user, visual output can include figure, text, icon, video etc..
Display controller 7091 in I/O subsystems 709 receives electric signal from touch-screen 712 or is sent out to touch-screen 712 Electric signals.Touch-screen 712 detects the contact on touch-screen, and the contact detected is converted to and shown by display controller 7091 The interaction of user interface object on touch-screen 712, that is, realize human-computer interaction, the user interface being shown on touch-screen 712 Icon that object can be the icon of running game, be networked to corresponding network etc..What deserves to be explained is equipment can also include light Mouse, light mouse are the extensions for not showing the touch sensitive surface visually exported or the touch sensitive surface formed by touch-screen.
RF circuits 705 are mainly used for establishing the communication of mobile phone and wireless network (i.e. network side), realize mobile phone and wireless network The data receiver of network and transmission.Such as transmitting-receiving short message, Email etc..Specifically, RF circuits 705 receive and send RF letters Number, RF signals are also referred to as electromagnetic signal, and RF circuits 705 convert electrical signals to electromagnetic signal or electromagnetic signal is converted to telecommunications Number, and communicated by the electromagnetic signal with communication network and other equipment.RF circuits 705 can include performing The known circuit of these functions includes but not limited to antenna system, RF transceivers, one or more amplifiers, tuner, one A or multiple oscillators, digital signal processor, CODEC (COder-DECoder, coder) chipset, user identifier mould Block (Subscriber Identity Module, SIM) etc..
Voicefrequency circuit 706 is mainly used for receiving voice data from Peripheral Interface 703, which is converted to telecommunications Number, and the electric signal is sent to loud speaker 711.
Loud speaker 711 for the voice signal for receiving mobile phone from wireless network by RF circuits 705, is reduced to sound And play the sound to user.
Power management chip 708, the hardware for being connected by CPU702, I/O subsystem and Peripheral Interface are powered And power management.
Control device, storage medium and the mobile terminal of the locating module provided in above-described embodiment can perform the application and appoint The control method for the locating module that meaning embodiment is provided possesses and performs the corresponding function module of this method and advantageous effect.Not The technical detail of detailed description in the above-described embodiments, reference can be made to the control for the locating module that the application any embodiment is provided Method.
Note that it above are only the preferred embodiment of the application and institute's application technology principle.It will be appreciated by those skilled in the art that The application is not limited to specific embodiment described here, can carry out for a person skilled in the art it is various it is apparent variation, The protection domain readjusted and substituted without departing from the application.Therefore, although being carried out by above example to the application It is described in further detail, but the application is not limited only to above example, in the case where not departing from the application design, also It can include other more equivalent embodiments, and scope of the present application is determined by scope of the appended claims.

Claims (10)

1. a kind of control method of locating module, which is characterized in that including:
It obtains user and passes through the destination based on location-based service LBS application selections in mobile terminal;
When identifying that the destination belongs to indoor environment, the boundary position information of the affiliated building in the destination is obtained;
Judging that stroke of the current location of the mobile terminal apart from the building is small according to the boundary position information When pre-determined distance threshold value, the global navigation satellite system GNSS module in the mobile terminal is controlled to enter low-power consumption Working mould Formula, wherein, the current location positions to obtain by GNSS module.
2. according to the method described in claim 1, it is characterized in that, the GNSS module in the control mobile terminal enters Low power mode of operation, including:
Close the GNSS module in the mobile terminal;Or,
The GNSS module in the mobile terminal is controlled to enter dormant state.
3. the according to the method described in claim 1, it is characterized in that, boundary bit for obtaining the affiliated building in destination Confidence ceases, including:
The corresponding building in the destination is searched in map;
The corresponding geographical location information of contour pattern of the building in the map is obtained, as boundary position information.
4. according to the method described in claim 1, it is characterized in that, it is described acquisition user by mobile terminal based on position While putting the destination of service LBS application selections, further include:
The initial position of the mobile terminal is obtained by GNSS module;
After the acquisition user is by the destination based on location-based service LBS application selections in mobile terminal, further include:
The cartographic information of preset range is obtained, the preset range covers the initial position to the navigation road of the destination Line;
It is described that row of the current location of the mobile terminal apart from the building is being judged according to the boundary position information When journey is less than pre-determined distance threshold value, the GNSS module in the mobile terminal is controlled to enter low power mode of operation, including:
According to the navigation routine from the boundary position information corresponding multiple borders selection target border, the target side Intersect with the navigation routine on boundary;
The current location of the mobile terminal and the mesh are being judged according to the corresponding boundary position information of the object boundary When marking the beeline between border less than pre-determined distance threshold value, the GNSS module in the mobile terminal is controlled to enter low-power consumption Operating mode.
5. according to the method described in claim 4, it is characterized in that, after the cartographic information of the acquisition preset range, also wrap It includes:
Acquired cartographic information is shown, to indicate that user advances according to the navigation routine to the destination.
6. according to any methods of claim 1-5, which is characterized in that the GNSS in the control mobile terminal Module enters after low power mode of operation, further includes:
Location information is provided using the positioning method beyond GNSS positioning methods.
7. according to the method described in claim 6, it is characterized in that, the positioning method beyond using GNSS positioning methods provides After location information, further include:
When detecting that the mobile terminal leaves the building, the GNSS module is controlled to exit low power mode of operation.
8. a kind of control device of locating module, which is characterized in that including:
Destination acquisition module passes through the purpose based on location-based service LBS application selections in mobile terminal for obtaining user Ground;
Boundary position acquisition module, for when identifying that the destination belongs to indoor environment, obtaining belonging to the destination The boundary position information of building;
Positioning control module, for being judged the current location of the mobile terminal apart from institute according to the boundary position information When stating the stroke of building less than pre-determined distance threshold value, the global navigation satellite system GNSS module in the mobile terminal is controlled Into low power mode of operation, wherein, the current location positions to obtain by GNSS module.
9. a kind of computer readable storage medium, is stored thereon with computer program, which is characterized in that the program is held by processor The control method of the locating module as described in any in claim 1-7 is realized during row.
10. a kind of mobile terminal, which is characterized in that including memory, global navigation satellite system GNSS module and is deposited processor The computer program that can be run on a memory and in processor is stored up, the processor is realized such as when performing the computer program The control method of any locating modules of claim 1-7.
CN201711325795.3A 2017-12-13 2017-12-13 Control method and device of positioning module, storage medium and mobile terminal Active CN108055642B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201711325795.3A CN108055642B (en) 2017-12-13 2017-12-13 Control method and device of positioning module, storage medium and mobile terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201711325795.3A CN108055642B (en) 2017-12-13 2017-12-13 Control method and device of positioning module, storage medium and mobile terminal

Publications (2)

Publication Number Publication Date
CN108055642A true CN108055642A (en) 2018-05-18
CN108055642B CN108055642B (en) 2020-06-09

Family

ID=62132342

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201711325795.3A Active CN108055642B (en) 2017-12-13 2017-12-13 Control method and device of positioning module, storage medium and mobile terminal

Country Status (1)

Country Link
CN (1) CN108055642B (en)

Cited By (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109032322A (en) * 2018-06-08 2018-12-18 Oppo(重庆)智能科技有限公司 navigation control method, device, terminal device and storage medium
CN109688539A (en) * 2018-12-26 2019-04-26 努比亚技术有限公司 Method of locating terminal, device, mobile terminal and readable storage medium storing program for executing
CN109883424A (en) * 2019-03-01 2019-06-14 肖一然 A kind of navigation system, navigation terminal
CN111038337A (en) * 2019-12-30 2020-04-21 潍柴动力股份有限公司 Control system and control method of fuel cell vehicle
CN111174778A (en) * 2019-11-26 2020-05-19 广东小天才科技有限公司 Building entrance determining method and device based on pedestrian dead reckoning
CN111552167A (en) * 2019-02-12 2020-08-18 精工爱普生株式会社 Electronic clock
CN111750848A (en) * 2019-07-24 2020-10-09 广东小天才科技有限公司 Building positioning method and electronic equipment
CN112562757A (en) * 2019-12-31 2021-03-26 泰斗微电子科技有限公司 Circuit control method and device of positioning receiving equipment and positioning receiving equipment
CN112729313A (en) * 2020-12-28 2021-04-30 大连伟岸纵横科技股份有限公司 Indoor navigation positioning method, terminal and computer storage medium
CN114111834A (en) * 2021-12-07 2022-03-01 甄十信息科技(上海)有限公司 Method and device for determining wearable device to leave specific area
WO2024031935A1 (en) * 2022-08-11 2024-02-15 湖北星纪魅族科技有限公司 Power consumption control method for mobile terminal, mobile terminal, and storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103247144A (en) * 2012-02-07 2013-08-14 宇龙计算机通信科技(深圳)有限公司 Traffic safety prompting method and mobile terminal
CN103791898A (en) * 2012-10-30 2014-05-14 联想(北京)有限公司 Method and electronic equipment for navigation in building
CN104822133A (en) * 2015-04-22 2015-08-05 广东欧珀移动通信有限公司 Method and device for controlling positioning mode of intelligent terminal
CN105682032A (en) * 2016-01-13 2016-06-15 广东欧珀移动通信有限公司 Positioning mode control method, positioning mode control device and mobile terminal
US20170199048A1 (en) * 2014-08-19 2017-07-13 Motorola Solutions, Inc Method of and system for determining route speed of a mobile navigation unit movable along a route segment of a route having a plurality of intersections

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103247144A (en) * 2012-02-07 2013-08-14 宇龙计算机通信科技(深圳)有限公司 Traffic safety prompting method and mobile terminal
CN103791898A (en) * 2012-10-30 2014-05-14 联想(北京)有限公司 Method and electronic equipment for navigation in building
US20170199048A1 (en) * 2014-08-19 2017-07-13 Motorola Solutions, Inc Method of and system for determining route speed of a mobile navigation unit movable along a route segment of a route having a plurality of intersections
CN104822133A (en) * 2015-04-22 2015-08-05 广东欧珀移动通信有限公司 Method and device for controlling positioning mode of intelligent terminal
CN105682032A (en) * 2016-01-13 2016-06-15 广东欧珀移动通信有限公司 Positioning mode control method, positioning mode control device and mobile terminal

Cited By (16)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109032322A (en) * 2018-06-08 2018-12-18 Oppo(重庆)智能科技有限公司 navigation control method, device, terminal device and storage medium
CN109032322B (en) * 2018-06-08 2020-07-21 Oppo(重庆)智能科技有限公司 Navigation control method, navigation control device, terminal equipment and storage medium
CN109688539A (en) * 2018-12-26 2019-04-26 努比亚技术有限公司 Method of locating terminal, device, mobile terminal and readable storage medium storing program for executing
CN111552167B (en) * 2019-02-12 2022-10-28 精工爱普生株式会社 Electronic clock
CN111552167A (en) * 2019-02-12 2020-08-18 精工爱普生株式会社 Electronic clock
CN109883424A (en) * 2019-03-01 2019-06-14 肖一然 A kind of navigation system, navigation terminal
CN111750848B (en) * 2019-07-24 2024-03-19 广东小天才科技有限公司 Building positioning method and electronic equipment
CN111750848A (en) * 2019-07-24 2020-10-09 广东小天才科技有限公司 Building positioning method and electronic equipment
CN111174778A (en) * 2019-11-26 2020-05-19 广东小天才科技有限公司 Building entrance determining method and device based on pedestrian dead reckoning
CN111038337B (en) * 2019-12-30 2021-08-20 潍柴动力股份有限公司 Control system and control method of fuel cell vehicle
CN111038337A (en) * 2019-12-30 2020-04-21 潍柴动力股份有限公司 Control system and control method of fuel cell vehicle
CN112562757A (en) * 2019-12-31 2021-03-26 泰斗微电子科技有限公司 Circuit control method and device of positioning receiving equipment and positioning receiving equipment
CN112729313A (en) * 2020-12-28 2021-04-30 大连伟岸纵横科技股份有限公司 Indoor navigation positioning method, terminal and computer storage medium
CN112729313B (en) * 2020-12-28 2023-10-20 江苏伟岸纵横科技股份有限公司 Indoor navigation positioning method, terminal and computer storage medium
CN114111834A (en) * 2021-12-07 2022-03-01 甄十信息科技(上海)有限公司 Method and device for determining wearable device to leave specific area
WO2024031935A1 (en) * 2022-08-11 2024-02-15 湖北星纪魅族科技有限公司 Power consumption control method for mobile terminal, mobile terminal, and storage medium

Also Published As

Publication number Publication date
CN108055642B (en) 2020-06-09

Similar Documents

Publication Publication Date Title
CN108055642A (en) Control method, device, storage medium and the mobile terminal of locating module
EP3163254B1 (en) Method and device for intelligently guiding user to ride elevator/escalator
CN109891934B (en) Positioning method and device
JP6312716B2 (en) Method, apparatus and medium for determining a position of a mobile device within an indoor environment
US8395547B2 (en) Location tracking for mobile computing device
US11463840B2 (en) Real-time path suggestion for a location-enabled mobile device
US9097544B2 (en) Location tracking for mobile computing device
KR101895455B1 (en) Method and apparatus for providing semantic location in electronic device
CN108169775B (en) Control method and device based on positioning module, storage medium and mobile terminal
CN108111971A (en) Localization method, device, storage medium and mobile terminal
CN104567903B (en) Obtain the method and device of navigation information
CN104050205B (en) Address information input method, acquisition methods, device, equipment and system
US20130101159A1 (en) Image and video based pedestrian traffic estimation
US9906915B2 (en) Apparatus and method for increasing accuracy of location determination of mobile devices within a location-based group
KR20110017343A (en) Venue inference using data sensed by mobile devices
KR20140054467A (en) Position indication controls for device locations
CN108168570A (en) Control method, device, storage medium and the mobile terminal of locating module
CN108093368A (en) Control method, device, storage medium and mobile terminal based on locating module
CN108064024A (en) Control method, device, storage medium and mobile terminal based on locating module
CN108064023A (en) Control method, device, storage medium and mobile terminal based on locating module
CN108008423A (en) Control method, device, storage medium and mobile terminal based on locating module
CN108012237A (en) Position control method, device, storage medium and terminal device
CN108024209A (en) Position control method, device, storage medium and terminal device
CN108111580B (en) Area determination method, device, storage medium, mobile terminal and server
CN108093373A (en) Position control method, device, storage medium and terminal device

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
CB02 Change of applicant information
CB02 Change of applicant information

Address after: Changan town in Guangdong province Dongguan 523860 usha Beach Road No. 18

Applicant after: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS CORP., Ltd.

Address before: Changan town in Guangdong province Dongguan 523860 usha Beach Road No. 18

Applicant before: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS CORP., Ltd.

GR01 Patent grant
GR01 Patent grant