CN108156313A - Position control method, device, storage medium and terminal device - Google Patents

Position control method, device, storage medium and terminal device Download PDF

Info

Publication number
CN108156313A
CN108156313A CN201711326698.6A CN201711326698A CN108156313A CN 108156313 A CN108156313 A CN 108156313A CN 201711326698 A CN201711326698 A CN 201711326698A CN 108156313 A CN108156313 A CN 108156313A
Authority
CN
China
Prior art keywords
positioning
call request
operational order
user
terminal device
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
CN201711326698.6A
Other languages
Chinese (zh)
Other versions
CN108156313B (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 CN201711326698.6A priority Critical patent/CN108156313B/en
Publication of CN108156313A publication Critical patent/CN108156313A/en
Application granted granted Critical
Publication of CN108156313B publication Critical patent/CN108156313B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72448User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions
    • H04M1/72457User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions according to geographic location
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01SRADIO DIRECTION-FINDING; RADIO NAVIGATION; DETERMINING DISTANCE OR VELOCITY BY USE OF RADIO WAVES; LOCATING OR PRESENCE-DETECTING BY USE OF THE REFLECTION OR RERADIATION OF RADIO WAVES; ANALOGOUS ARRANGEMENTS USING OTHER WAVES
    • G01S19/00Satellite radio beacon positioning systems; Determining position, velocity or attitude using signals transmitted by such systems
    • G01S19/01Satellite radio beacon positioning systems transmitting time-stamped messages, e.g. GPS [Global Positioning System], GLONASS [Global Orbiting Navigation Satellite System] or GALILEO
    • G01S19/13Receivers
    • G01S19/34Power consumption
    • 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/0261Power saving arrangements in terminal devices managing power supply demand, e.g. depending on battery level
    • H04W52/0264Power saving arrangements in terminal devices managing power supply demand, e.g. depending on battery level by selectively disabling software applications
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

Abstract

A kind of position control method, device, storage medium and the terminal device provided in the embodiment of the present application, the positioning call request that this method is applied by receiving Map Services;It detects whether to receive operational order input by user;If receiving the operational order, the positioning call request is determined whether according to the type of the operational order.The advantages of the embodiment of the present application is can be in the positioning call request for receiving Map Services application, determine whether to refuse the positioning call request according to the type of operational order input by user, it can refuse to position call request when user does not need to positioning function, reduce the power consumption of terminal device.

Description

Position control method, device, storage medium and terminal device
Technical field
The invention relates to the field of locating technology of terminal device more particularly to a kind of position control method, device, Storage medium and terminal device.
Background technology
With the continuous development of Internet communication technology, the terminal device of such as smart mobile phone and tablet computer etc is had Standby function is increasingly abundanter, can provide a variety of different services to the user.In order to meet the location requirement of user, terminal device Positioning function typically is provided with, it can be by setting locating module in terminal device, locating module can pass through global navigational satellite System (GNSS, Global Navigation Satellite System) obtains the location information of terminal device.Terminal device In the application program (APP, Application) based on location-based service (LBS, Location Based Service) can also Location information is obtained by the positioning function of terminal device, its application function is realized according to location information.But obtain positioning The operating process of information can bring larger electric quantity consumption to terminal device, with the base of the acquisition location information in terminal device More and more in the application program of location-based service, the power consumption of terminal device is also getting faster.
Invention content
The embodiment of the present application provides a kind of position control method, device, storage medium and terminal device, can reduce positioning The power consumption that functional bands are come.
In a first aspect, the embodiment of the present application provides a kind of position control method, including:
Receive the positioning call request of Map Services application;
It detects whether to receive operational order input by user;
If receiving the operational order, determine whether that the positioning is adjusted according to the type of the operational order With request.
Second aspect, the embodiment of the present application provide a kind of position control device, including:
Receiving module is called in positioning, for receiving the positioning call request of Map Services application;
Operational order detection module, for detecting whether receiving operational order input by user;
Positioning control module, for when receiving the operational order, being determined to be according to the type of the operational order It is no to allow the positioning call request.
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 position control method 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 terminal device, including memory, processor and are stored in storage And can be in the computer program of processor operation on device, the processor is realized when performing the computer program as the application is real Apply the position control method described in example.
A kind of location control scheme provided in the embodiment of the present application, the positioning applied by receiving Map Services is called please It asks;It detects whether to receive operational order input by user;If receiving the operational order, according to the operational order Type determine whether the positioning call request.By using above-mentioned technical proposal, Map Services can received During the positioning call request of application, determining whether to refuse the positioning calling according to the type of operational order input by user please It asks, can refuse to position call request when user does not need to positioning function, reduce the power consumption of terminal device.
Description of the drawings
Fig. 1 is a kind of flow diagram of position control method provided by the embodiments of the present application;
Fig. 2 is a kind of usage scenario schematic diagram of Map Services provided by the embodiments of the present application application;
Fig. 3 is another usage scenario schematic diagram of Map Services provided by the embodiments of the present application application;
Fig. 4 is another usage scenario schematic diagram of Map Services provided by the embodiments of the present application application;
Fig. 5 is another usage scenario schematic diagram of Map Services provided by the embodiments of the present application application;
Fig. 6 is the flow diagram of another position control method provided by the embodiments of the present application;
Fig. 7 is the flow diagram of another position control method provided by the embodiments of the present application;
Fig. 8 is the flow diagram of another position control method provided by the embodiments of the present application;
Fig. 9 is the flow diagram of another position control method provided by the embodiments of the present application;
Figure 10 is a kind of structure diagram of position control device provided by the embodiments of the present application;
Figure 11 is a kind of structure diagram of terminal device provided by the embodiments of the present application;
Figure 12 is the structure diagram of another terminal device 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 sequence, many of which by flow chart Step can be implemented concurrently, concomitantly or simultaneously.In addition, the sequence 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..
Terminal device may include smart mobile phone, tablet computer and other equipment with operating system.On terminal device Some application programs, can be by calling the positioning function of terminal device, to realize its application function.Such as Map Services class application Program can provide different services to the user according to the map, can also show working as user on map according to location information Front position allows a user to more clearly know oneself is in where.Map Services class application program can also provide to the user Address is inquired, traffic route etc. service is provided, the application of Map Services class, will be by calling terminal device generally when opening Positioning function, but not all function is required for using location information, so in user not in the application of Map Services class When needs using location information, Map Services class application call positioning function can then bring additional consumption to terminal device Electricity.
Fig. 1 is a kind of flow diagram of position control method provided by the embodiments of the present application, and this method can be by positioning Control device performs, and wherein the device can be generally integrated in terminal device, also may be used by software and or hardware realization It is equipped in the equipment of operating system with being integrated in other.As shown in Figure 1, this method includes:
S111, the positioning call request for receiving Map Services application.
Wherein, it is the application program for providing service to the user based on cartographic information that the Map Services, which are applied, it may include LBS (Location Based Service, based on location-based service) is applied.The Map Services application sends positioning call request extremely Terminal device is used to handle the location-based service process of positioning function, and location-based service process is according to positioning call request driving positioning mould Block works, and obtains location information.Locating module may include GNSS (Global Navigation Satellite System, Global Navigation Satellite System) module, GNSS module can be GPS (Global Positioning System, the whole world Alignment system) module.Illustratively, the Map Services application can be Baidu map, Amap or other map applications.
Map Services application on startup, can send positioning call request to the system of terminal device, Map Services application If positioning call request allowed by the system of terminal device, location-based service process can continue send location information to ground Figure is served by, i.e. the locating module meeting continuous firing of terminal device, is persistently obtained location information and is sent to application program, directly Terminate to run to Map Services application.And if the positioning call request of Map Services application is refused by the system of terminal device Absolutely, Map Services application will not then get location information, locating module will not because of the calling that Map Services are applied and into Row work.
S112, it detects whether to receive operational order input by user.
The operational order input by user, i.e. user use the operational order that Map Services are applied, should in attached drawing service After startup, user can input corresponding operational order according to its demand.Illustratively, if user needs to inquire McDonald Address can then be scanned for by inputting McDonald's search printed words, and Map Services application will be by the position of McDonald in map Upper display.Wherein, operational order input by user is the instruction for searching for address, which includes text information input by user Slide of operation, the clicking operation of user and user etc..According to operational order input by user, it can be determined that whether need Positioning function.
If S113, receiving the operational order, according to determining whether the type of the operational order Position call request.
When receiving operational order input by user, then judged according to the type of operational order input by user Whether positioning function is needed.
Optionally, if the operational order is instructed for map inquiry, refuse the positioning call request.
Wherein, the map inquiry instruction is the map datum interface applied based on Map Services, can be provided to the user The instruction of service, it may include inquiry address, map are checked with map scaling etc..As shown in Figures 2 to 4, user can be with input inquiry Text information, by click inquiry button 10 realize inquiry address operation, can by click amplifying key-press 11 and reduce Button 12 carries out the operation of map scaling;As shown in figure 3, user can also zoom in and out map by the operation of double-click;Again As shown in figure 4, user can also check other regions by sliding map interface.I.e. user inputs map inquiry instruction, only needs Map datum is obtained by map datum interface, it is possible to provide service to the user, not need to obtain terminal device at this time Location information, can refuse the positioning call request, and locating module will not carry out work because of the calling that Map Services are applied Make, the power consumption of terminal device can be reduced.
Optionally, if the operational order is instructed for location-based service, allow the positioning call request.
Wherein, location-based service instruction is determining for the map datum interface applied based on Map Services and terminal device Position information, can provide the instruction of service to the user.As shown in figure 5, user can position button 13 by click, terminal is set Standby current location is positioned, and Map Services application obtains location information, and location information is shown and presented on map To user.Location-based service instructs, i.e., must obtain the location information of terminal device can just provide the instruction of service to the user, connect When receiving location-based service input by user instruction, then allow the positioning call request, locating module is worked and obtains end The location information of end equipment, and location information is sent to Map Services application, Map Services application can be according to location information Provide corresponding positioning service to the user.
Fig. 6 is the flow diagram of another position control method provided by the embodiments of the present application, in above-described embodiment institute On the basis of the technical solution of offer, to determining whether the positioning call request according to the type of the operational order Operation is optimized, optionally, as shown in fig. 6, this method includes:
S121, the positioning call request for receiving Map Services application.
S122, it detects whether to receive operational order input by user.
The specific embodiment of aforesaid operations can refer to associated description above, and details are not described herein.
If S123, receiving the operational order, and the operational order is instructed for navigator fix, then it is described fixed to allow Position call request.
Wherein, the navigator fix instruction persistently obtains location information to determine the finger of the motion track of terminal device It enables.Illustratively, user needs with from A going to B, and is unfamiliar with travel route, and Map Services application can provide to the user The function of navigation arrives the distance between B ground according to A, different routes is formulated for user, and in the way of user's traveling, be User provides the services such as road conditions and the traffic prompting in front.And the navigation feature that Map Services is used to apply, then it needs persistently to obtain The location information of terminal device is taken, can just provide navigation Service to the user.So refer to receiving navigator fix input by user When enabling, allow the positioning call request, so that Map Services application can provide the service of navigation to the user.
S124, the movement speed for obtaining terminal device.
Wherein it is possible to determine the movement speed of terminal device by the tachogenerator of terminal device, tachogenerator can Including acceleration transducer, gyroscope and displacement sensor etc..It can also be according to the variation of the location information of terminal device come really Determine the movement speed of terminal device.User is instructed by inputting navigator fix, and navigation Service is obtained from Map Services application, and is used The difference of the traveling tool at family, it is also different to the acquisition requirement of location information.Illustratively, user is driving traveling On a highway, the movement speed of user reaches more than 80km/h, and the speed of user location variation is very fast, thus need and Shi Gengxin location informations can just provide accurate navigation to the user.And if user is cycling, the movement speed of user is 12km/h to 20km/h, the change in location of user is slower, also can be than relatively low to upgrading demand for location information.
If S125, the movement speed are less than setting speed, by the Working mould of the locating module of the terminal device Formula is set as low accuracy modes.
Wherein, the low accuracy modes are to reduce the positioning accuracy of locating module, can be by reducing searching for locating module The star time reduces data acquisition frequency of locating module etc. to reduce positioning accuracy.In low accuracy modes, the positioning of acquisition is believed The frequencies go lower of breath.If the movement speed is less than setting speed, the change in location of user is relatively low, can be by locating module Operating mode be set as low accuracy modes, with reduce obtain location information frequency.Navigator fix can be inputted in user to refer to When enabling, the performance of positioning function is not influenced, provides corresponding navigation Service to the user, while can also be reduced because of locating module Work caused by power consumption.The setting speed is default or is configured according to the demand of user, and the application is herein It is not construed as limiting.
Fig. 7 is the flow diagram of another position control method provided by the embodiments of the present application, in above-mentioned arbitrary implementation On the basis of the technical solution that example is provided, asked to determining whether that the positioning is called according to the type of the operational order The operation asked is optimized, optionally, as shown in fig. 7, this method includes:
S131, the positioning call request for receiving Map Services application.
S132, it detects whether to receive operational order input by user.
The specific embodiment of aforesaid operations can refer to associated description above, and details are not described herein.
If the operational order S133, is received, and the operational order is current location positioning instruction, then allows institute State positioning call request.
The current location positioning instruction only needs to obtain current location positioning instruction with regard to that can provide respective service to the user Instruction.Illustratively, as shown in figure 5, user can position button 13 by click, the current location of terminal device is carried out Positioning, Map Services application obtains the location information of current location, and location information is shown and is presented to the user on map. Map Services application can also provide corresponding life clothes to the user by the location information for the current location for obtaining terminal device Business information, for example, providing neighbouring restaurant recommendation and the recommendation of neighbouring supermarket etc. to the user.If receive input by user work as Front position positioning instruction, Map Services application only need a current location information for obtaining terminal device that can provide phase to the user The service answered, without the lasting location information for obtaining terminal device, without obtaining the mobile message of terminal device.
S134, after a preset time lapses forbids the positioning of the Map Services application to call.
Map Services are applied provides corresponding service to the user according to the location information of current location, provides corresponding clothes After information of being engaged in is to user, Map Services application just need not recall positioning function, can forbid the Map Services application Positioning is called, and location-based service process does not retransmit location information to Map Services application, the locating module no longer work of terminal device Make, the power consumption of terminal device can be reduced.Wherein, preset time can be systemic presupposition, and the application is not limited thereto.
Fig. 8 is the flow diagram of another position control method provided by the embodiments of the present application, in above-mentioned arbitrary implementation On the basis of the technical solution that example is provided, to detecting whether that it is excellent that the operation for receiving operational order input by user has carried out Change, optionally, as shown in figure 8, this method includes:
S141, the positioning call request for receiving Map Services application.
Specific embodiment can refer to associated description above, and details are not described herein.
Whether S142, detection receive operational order input by user in setting time.
Wherein, user is starting Map Services in application, Map Services application sends positioning call request to terminal device System.And user start Map Services application after, if user not get at the first time user needs information, use Family generally can be by being manually entered instruction, to obtain the information obtained desired by user.And if user is starting Map Services It is not input operation instruction after, usually user has got its required information or the attention of user is put Elsewhere, forget map is served by input corresponding operational order.If so do not receive user in setting time The operational order of input, i.e. user need not temporarily obtain location information, can refuse the positioning call request of Map Services application, The locating module of terminal device will not work, and avoid bringing unnecessary power consumption to terminal device.And if in setting It is interior to have received the operational order, then it can determine whether that the positioning is called according to the type of operational order and ask It asks, to realize the corresponding demand for services of the operational order of user.
If S143, not receiving the operational order in setting time, refuse the positioning call request.
If S144, receiving the operational order in setting time, determined according to the type of the operational order Whether the positioning call request is allowed.
The specific embodiment for determining whether the positioning call request according to the type of the operational order can be with With reference to associated description above, details are not described herein.
Fig. 9 is the flow diagram of another position control method provided by the embodiments of the present application, in above-mentioned arbitrary implementation On the basis of the technical solution that example is provided, to detecting whether that it is excellent that the operation for receiving operational order input by user has carried out Change, optionally, as shown in figure 9, this method includes:
S151, the positioning call request for receiving Map Services application.
S152, it detects whether to receive operational order input by user.
If S153, receiving the operational order, according to determining whether the type of the operational order Position call request.
The specific embodiment of aforesaid operations can refer to associated description above, and details are not described herein.
S154, after call request is positioned shown in refusal, if detect location-based service input by user instruction and When receiving Map Services application retransmission positioning call request, then allow the positioning call request of the retransmission.
After the positioning call request is refused, Map Services are applied without obtaining new location information, if user is right Map Services are unsatisfied with using provided information on services or user needs to apply by Map Services and be carried according to location information The information on services of confession.User can generally be actively entered location-based service instruction, and Map Services are applied to be taken according to position input by user Business instruction retransmits positioning call request to location-based service process, and location-based service process is according to positioning call request driving positioning Module works, and reacquires location information and is sent to Map Services application, Map Services are applied according to reacquisition Location information provides new information on services to user.As shown in figure 5, user can position button 13 by click, take map Business application retransmits positioning call request, to obtain location information.
By detecting location-based service instruction input by user and receiving Map Services application retransmission positioning During call request, then allow the positioning call request of the retransmission, the clothes that can be served by providing to map in user When information of being engaged in is dissatisfied, location-based service instruction is actively entered, Map Services application is made to reacquire new location information, and provide Corresponding information on services can meet the needs of user is to Map Services to user.
Figure 10 is a kind of structure diagram of position control device provided by the embodiments of the present application, which can perform positioning Control method, as shown in Figure 10, the device include:
Receiving module 210 is called in positioning, for receiving the positioning call request of Map Services application;
Operational order detection module 211, for detecting whether receiving operational order input by user;
Positioning control module 212, for when receiving the operational order, being determined according to the type of the operational order Whether the positioning call request is allowed.
The scheme of the offer of the embodiment of the present application can receive Map Services application positioning call request when, according to The type of operational order input by user determines whether to refuse the positioning call request, can not need to positioning work(in user Refusal positioning call request when energy reduces the power consumption of terminal device.
Optionally, positioning control module is specifically used for:When the operational order is instructed for map inquiry, refusal is described fixed Position call request.
Optionally, positioning control module is specifically used for:When the operational order is instructed for location-based service, it is described fixed to allow Position call request.
Optionally, positioning control module is specifically used for:When location-based service instruction is navigator fix instruction, allow institute State positioning call request;
Correspondingly, it further includes:
Speed acquiring module, for after the permission positioning call request, obtaining the mobile speed of terminal device Degree;
Mode control module, for the movement speed be less than setting speed when, by the positioning mould of the terminal device The operating mode of block is set as low accuracy modes.
Optionally, positioning control module is specifically used for:When location-based service instruction is current location positioning instruction, permit Perhaps described positioning call request;
Correspondingly, it further includes:
Timing disabled module, for after the positioning call request is allowed and after a preset time lapses, forbidding The positioning of the Map Services application is called.
Optionally, operational order detection module specifically includes:
Preset instructions detection unit, for detecting operational order input by user whether is received in setting time;
Correspondingly, default refusal unit is further included, during for not receiving the operational order in setting time, refusal The positioning call request.
Optionally, it further includes:
Positioning re-calls module, for after the refusal positioning call request, detecting user's input Location-based service instruction and receive Map Services application retransmit positioning call request when, then allow described in send out again The positioning call request sent.
A kind of storage medium for including computer executable instructions that the embodiment of the present application is provided, computer can perform The positioning control operation being not limited to the described above is instructed, the location control side that the application any embodiment is provided can also be performed Relevant operation in method.
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 position control method, this method includes for instruction:
Receive the positioning call request of Map Services application;
It detects whether to receive operational order input by user;
If receiving the operational order, determine whether that the positioning is adjusted according to the type of the operational order With request.
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, DDR RAM, SRAM, EDO RAM, blue Bath (Rambus) RAM etc.;Nonvolatile memory, such as flash memory, magnetic medium (such as hard disk or optical storage);Memory component of register or other similar types etc..Storage medium can further include other The memory or combination of type.In addition, storage medium can be located at program in the first computer system being wherein performed, Or can be located in different second computer systems, second computer system is connected to the by network (such as internet) One computer system.Second computer system can provide program instruction and be used to perform to the first computer." storage is situated between term Matter " can include may reside in different location two of (such as in different computer systems by network connection) or More storage mediums.Storage medium can store the program instruction that can be performed by one or more processors and (such as implement For computer program).
The embodiment of the present application provides a kind of terminal device, and it is provided by the embodiments of the present application fixed to be integrated in the terminal device Level control device.
Figure 11 is a kind of structure diagram of terminal device provided by the embodiments of the present application, and the embodiment of the present application provides one Kind of terminal device including memory 31, processor 32 and is stored on memory 31 and can be in the computer journey that processor is run Sequence, the processor realize the position control method described in above-described embodiment when performing the computer program.The application is implemented The terminal device that example provides, can be in the positioning call request for receiving Map Services application, according to operation input by user The type of instruction determines whether to refuse the positioning call request, and it is fixed to refuse when user does not need to positioning function Position call request reduces the power consumption of terminal device.
Figure 12 is a kind of structure diagram of terminal device provided by the embodiments of the present application.As shown in figure 12, which sets It is standby to include:Housing (not shown), touch screen (not shown), touch key-press (not shown), memory 301st, central processing unit (Central Processing Unit, CPU) 302 (also known as processor, hereinafter referred to as CPU), circuit board (not shown) and power circuit (not shown).The circuit board is placed in the space interior that the housing surrounds;Institute It states CPU302 and the memory 301 is arranged on the circuit board;The power circuit, for for each of the terminal device A circuit or device power supply;The memory 301, for storing executable program code;The CPU302 passes through described in reading The executable program code stored in memory 301 runs computer program corresponding with the executable program code, with Realize following steps:
Receive the positioning call request of Map Services application;
It detects whether to receive operational order input by user;
If receiving the operational order, determine whether that the positioning is adjusted according to the type of the operational order With request.
The terminal device further includes:Peripheral Interface 303, RF (Radio Frequency, radio frequency) circuit 305, audio-frequency electric Road 306, loud speaker 311, power management chip 308, input/output (I/O) subsystem 309, touch screen 312, other input/controls Control equipment 310 and outside port 304, these components are communicated by one or more communication bus or signal wire 307.
It should be understood that graphic terminal 300 is only an example of terminal device, and terminal device 300 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 provided in this embodiment for the terminal device of positioning function to be controlled to be described in detail below, which sets For by taking mobile phone as an example.
Memory 301, the memory 301 can be by access such as CPU302, Peripheral Interfaces 303, and the memory 301 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 CPU302 and deposited by Peripheral Interface 303, the Peripheral Interface 303 Reservoir 301.
I/O subsystems 309, the I/O subsystems 309 can be by the input/output peripherals in equipment, such as touch screen 312 With other input/control devicess 310, it is connected to Peripheral Interface 303.I/O subsystems 309 can include 3091 He of display controller For controlling one or more input controllers 3092 of other input/control devicess 310.Wherein, one or more input controls Device 3092 processed receives electric signal from other input/control devicess 310 or sends electric signal to other input/control devicess 310, Other input/control devicess 310 can include physical button (pressing button, rocker buttons etc.), dial, slide switch, behaviour Vertical pole clicks idler wheel.What deserves to be explained is input controller 3092 can with it is following any one connect:Keyboard, infrared port, The indicating equipment of USB interface and such as mouse.
Touch screen 312, the touch screen 312 are the input interface and output interface between subscriber terminal equipment and user, Visual output is shown to user, visual output can include figure, text, icon, video etc..
Display controller 3091 in I/O subsystems 309 receives electric signal from touch screen 312 or is sent out to touch screen 312 Electric signals.Touch screen 312 detects the contact on touch screen, and the contact detected is converted to and shown by display controller 3091 The interaction of user interface object on touch screen 312, that is, realize human-computer interaction, the user interface being shown on touch screen 312 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 305 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 305 receive and send RF letters Number, RF signals are also referred to as electromagnetic signal, and RF circuits 305 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 305 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 306 is mainly used for receiving audio data from Peripheral Interface 303, which is converted to telecommunications Number, and the electric signal is sent to loud speaker 311.
Loud speaker 311 for the voice signal for receiving mobile phone from wireless network by RF circuits 305, is reduced to sound And play the sound to user.
Power management chip 308, the hardware for being connected by CPU302, I/O subsystem and Peripheral Interface are powered And power management.
Terminal device provided by the embodiments of the present application, can receive Map Services application positioning call request when, Determine whether to refuse the positioning call request according to the type of operational order input by user, can not need to be fixed in user Refusal positioning call request when bit function reduces the power consumption of terminal device.
Position control device, storage medium and the terminal device provided in above-described embodiment, which can perform the application, arbitrarily to be implemented The position control method that example is provided has and performs the corresponding function module of this method and advantageous effect.Not in above-described embodiment In detailed description technical detail, reference can be made to the position control method that the application any embodiment is provided.
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 position control method, which is characterized in that including:
Receive the positioning call request of Map Services application;
It detects whether to receive operational order input by user;
If receiving the operational order, determine whether that the positioning is called according to the type of the operational order and ask It asks.
2. the method as described in claim 1, which is characterized in that it is described determined whether according to the operational order it is described fixed Position call request includes:
If the operational order is instructed for map inquiry, refuse the positioning call request.
3. method as claimed in claim 1 or 2, which is characterized in that described that institute is determined whether according to the operational order Positioning call request is stated to include:
If the operational order is instructed for location-based service, allow the positioning call request.
4. method as claimed in claim 3, which is characterized in that if the operational order is instructed for location-based service, Allow the positioning call request, including:
If the location-based service instruction is instructed for navigator fix, allow the positioning call request;
Correspondingly, it after the permission positioning call request, further includes:
Obtain the movement speed of terminal device;
If the movement speed is less than setting speed, the operating mode of the locating module of the terminal device is set as low essence Degree pattern.
5. method as claimed in claim 3, which is characterized in that if the operational order is instructed for location-based service, Allow the positioning call request, including:
If the location-based service instruction is current location positioning instruction, allow the positioning call request;
Correspondingly, it after the positioning call request is allowed, further includes:
After a preset time lapses, the positioning of the Map Services application is forbidden to call.
6. the method as described in claim 1, which is characterized in that described to detect whether to receive operational order packet input by user It includes:
Whether detection receives operational order input by user in setting time;
Correspondingly, it after whether detection receives operational order input by user in setting time, further includes:
If not receiving the operational order in setting time, refuse the positioning call request.
7. the method as described in claim 2 or 6, which is characterized in that after the refusal positioning call request, also wrap It includes:
Positioning call request is retransmitted detecting location-based service instruction input by user and receiving Map Services application When, then allow the positioning call request of the retransmission.
8. a kind of position control device, which is characterized in that including:
Receiving module is called in positioning, for receiving the positioning call request of Map Services application;
Operational order detection module, for detecting whether receiving operational order input by user;
Positioning control module, for when receiving the operational order, determining whether to permit according to the type of the operational order Perhaps described positioning call request.
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 position control method as described in any one of claim 1-7 is realized during row.
10. a kind of terminal device, which is characterized in that including memory, processor and storage are on a memory and can be in processor The computer program of operation, which is characterized in that the processor realizes that claim 1-7 such as appoints when performing the computer program Position control method described in one.
CN201711326698.6A 2017-12-13 2017-12-13 Positioning control method and device, storage medium and terminal equipment Expired - Fee Related CN108156313B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201711326698.6A CN108156313B (en) 2017-12-13 2017-12-13 Positioning control method and device, storage medium and terminal equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201711326698.6A CN108156313B (en) 2017-12-13 2017-12-13 Positioning control method and device, storage medium and terminal equipment

Publications (2)

Publication Number Publication Date
CN108156313A true CN108156313A (en) 2018-06-12
CN108156313B CN108156313B (en) 2019-12-31

Family

ID=62467050

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201711326698.6A Expired - Fee Related CN108156313B (en) 2017-12-13 2017-12-13 Positioning control method and device, storage medium and terminal equipment

Country Status (1)

Country Link
CN (1) CN108156313B (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110855838A (en) * 2019-11-22 2020-02-28 RealMe重庆移动通信有限公司 Positioning service control method, positioning service control device, mobile terminal and storage medium
CN116567548A (en) * 2023-07-10 2023-08-08 北京小米移动软件有限公司 Application positioning information acquisition method and device

Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US4903211A (en) * 1987-09-29 1990-02-20 Pioneer Electronic Corporation On-board navigation system for motor vehicles
CN1284391C (en) * 2001-07-18 2006-11-08 真实定位公司 Monitoring of call information in wirelsss location system
CN104793995A (en) * 2015-04-27 2015-07-22 广东欧珀移动通信有限公司 Method and device for controlling GPS invocation
CN104822133A (en) * 2015-04-22 2015-08-05 广东欧珀移动通信有限公司 Method and device for controlling positioning mode of intelligent terminal
US20150253146A1 (en) * 2014-03-04 2015-09-10 Qualcomm Incorporated Reduced power consumption and improved user experience when navigating along familiar routes
CN105682022A (en) * 2015-12-30 2016-06-15 华东师范大学 Indoor and outdoor seamless positioning system based on Android device and positioning method thereof
WO2017051060A1 (en) * 2015-09-22 2017-03-30 Nokia Technologies Oy Causing a transition between positioning modes
CN106713662A (en) * 2017-01-23 2017-05-24 北京奇虎科技有限公司 Method and device for optimizing performance of positioning system, and mobile terminal
CN106851801A (en) * 2017-01-23 2017-06-13 北京奇虎科技有限公司 The optimization method of alignment system performance, device and mobile terminal
CN106872996A (en) * 2017-01-23 2017-06-20 北京奇虎科技有限公司 The optimization method of alignment system performance, device and mobile terminal
CN106991319A (en) * 2017-03-17 2017-07-28 维沃移动通信有限公司 The right management method and mobile terminal of a kind of application program

Patent Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US4903211A (en) * 1987-09-29 1990-02-20 Pioneer Electronic Corporation On-board navigation system for motor vehicles
CN1284391C (en) * 2001-07-18 2006-11-08 真实定位公司 Monitoring of call information in wirelsss location system
US20150253146A1 (en) * 2014-03-04 2015-09-10 Qualcomm Incorporated Reduced power consumption and improved user experience when navigating along familiar routes
CN104822133A (en) * 2015-04-22 2015-08-05 广东欧珀移动通信有限公司 Method and device for controlling positioning mode of intelligent terminal
CN104793995A (en) * 2015-04-27 2015-07-22 广东欧珀移动通信有限公司 Method and device for controlling GPS invocation
WO2017051060A1 (en) * 2015-09-22 2017-03-30 Nokia Technologies Oy Causing a transition between positioning modes
CN105682022A (en) * 2015-12-30 2016-06-15 华东师范大学 Indoor and outdoor seamless positioning system based on Android device and positioning method thereof
CN106713662A (en) * 2017-01-23 2017-05-24 北京奇虎科技有限公司 Method and device for optimizing performance of positioning system, and mobile terminal
CN106851801A (en) * 2017-01-23 2017-06-13 北京奇虎科技有限公司 The optimization method of alignment system performance, device and mobile terminal
CN106872996A (en) * 2017-01-23 2017-06-20 北京奇虎科技有限公司 The optimization method of alignment system performance, device and mobile terminal
CN106991319A (en) * 2017-03-17 2017-07-28 维沃移动通信有限公司 The right management method and mobile terminal of a kind of application program

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110855838A (en) * 2019-11-22 2020-02-28 RealMe重庆移动通信有限公司 Positioning service control method, positioning service control device, mobile terminal and storage medium
CN116567548A (en) * 2023-07-10 2023-08-08 北京小米移动软件有限公司 Application positioning information acquisition method and device
CN116567548B (en) * 2023-07-10 2023-10-13 北京小米移动软件有限公司 Application positioning information acquisition method and device

Also Published As

Publication number Publication date
CN108156313B (en) 2019-12-31

Similar Documents

Publication Publication Date Title
CN108055642B (en) Control method and device of positioning module, storage medium and mobile terminal
CN108111971B (en) Positioning method, positioning device, storage medium and mobile terminal
CN109479180B (en) Method and terminal for displaying current geographic position on emergency call interface
CN103222319B (en) A kind of method for mobile computing device and mobile computing device
US9198004B2 (en) User-in-the-loop architecture for indoor positioning
US9619532B2 (en) Collaborative location-based search results
CN107688638B (en) Recommendation method and device for application list, storage medium and mobile terminal
US10194273B2 (en) Positioning information processing method and apparatus
CN110944053A (en) Dynamic route mapping between mobile devices
CN108168570A (en) Control method, device, storage medium and the mobile terminal of locating module
CN108076429A (en) Localization method, device, storage medium and mobile terminal
CN108168569A (en) Air navigation aid, device, storage medium, mobile terminal and onboard system
CN108093367B (en) Control method and device based on positioning module, storage medium and mobile terminal
CN108093362B (en) Control method and device of positioning module, storage medium and terminal
CN108055635B (en) Position information acquisition method and device, storage medium and terminal
CN108024209B (en) Positioning control method and device, storage medium and terminal equipment
CN104602186A (en) Contact positioning method
CN108055644A (en) Position control method, device, storage medium and terminal device
CN108712717A (en) Control method, device, storage medium based on application shop and mobile terminal
CN108012237A (en) Position control method, device, storage medium and terminal device
CN108156313A (en) Position control method, device, storage medium and terminal device
CN108055643A (en) Position control method, device, storage medium and terminal device
CN107490380B (en) Navigation method, navigation device, storage medium and mobile terminal
CN109923506A (en) Information processing method and positioning chip, mobile terminal
CN108151730A (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: 523860 No. 18, Wu Sha Beach Road, Changan Town, Dongguan, Guangdong

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

Address before: 523860 No. 18, Wu Sha Beach Road, Changan Town, Dongguan, Guangdong

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

GR01 Patent grant
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20191231