CN108055643A - 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
CN108055643A
CN108055643A CN201711326717.5A CN201711326717A CN108055643A CN 108055643 A CN108055643 A CN 108055643A CN 201711326717 A CN201711326717 A CN 201711326717A CN 108055643 A CN108055643 A CN 108055643A
Authority
CN
China
Prior art keywords
positioning
destination application
starts
call request
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.)
Pending
Application number
CN201711326717.5A
Other languages
Chinese (zh)
Inventor
林华秋
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
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 CN201711326717.5A priority Critical patent/CN108055643A/en
Publication of CN108055643A publication Critical patent/CN108055643A/en
Pending legal-status Critical Current

Links

Classifications

    • 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
    • H04W52/0258Power saving arrangements in terminal devices using monitoring of local events, e.g. events related to user activity controlling an operation mode according to history or models of usage information, e.g. activity schedule or time of day
    • 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
    • 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/72451User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions according to schedules, e.g. using calendar applications
    • 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/72463User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions to restrict the functionality of the device
    • 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
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M2250/00Details of telephonic subscriber devices
    • H04M2250/10Details of telephonic subscriber devices including a GPS signal receiver
    • 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)
  • Radar, Positioning & Navigation (AREA)
  • Remote Sensing (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Mobile Radio Communication Systems (AREA)
  • Telephone Function (AREA)

Abstract

A kind of position control method, device, storage medium and the terminal device provided in the embodiment of the present application, this method is by receiving the positioning call request of destination application;This number of starts started of the destination application is obtained, the number of starts is the number of starts on the terminal device;Determined whether to refuse the positioning call request according to the number of starts.By using above-mentioned technical proposal, it can be when destination application sends positioning call request, judged whether to refuse the positioning call request according to the number of starts of destination application, call request can be positioned by refusal when positioning function is not required in user, 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.
The content of the invention
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 destination application;
This number of starts started of the destination application is obtained, the number of starts is on the terminal device The number of starts;
Determined whether to refuse the positioning call request according to the number of starts.
Second aspect, the embodiment of the present application provide a kind of position control device, including:
Position receiver module, for receiving the positioning call request of destination application;
Number acquisition module, for obtaining this number of starts started of the destination application, the startup time Number is the number of starts on the terminal device;
Positioning control module, for being determined whether to refuse the positioning call request according to the number of starts.
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, being called by the positioning for receiving destination application please It asks;This number of starts started of the destination application is obtained, the number of starts is startup on the terminal device Number;Determined whether to refuse the positioning call request according to the number of starts.By using above-mentioned technical proposal, Ke Yi When destination application sends positioning call request, judged whether to refuse the positioning according to the number of starts of destination application Call request can position call request by refusal when positioning function is not required in user, 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 schematic diagram of a scenario of destination application provided by the embodiments of the present application;
Fig. 3 is the flow diagram of another position control method provided by the embodiments of the present application;
Fig. 4 is the flow diagram of another position control method provided by the embodiments of the present application;
Fig. 5 is the flow diagram of another position control method provided by the embodiments of the present application;
Fig. 6 is another schematic diagram of a scenario of destination application provided by the embodiments of the present application;
Fig. 7 is another schematic diagram of a scenario of destination application 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 structure diagram of another position control device provided by the embodiments of the present application;
Figure 10 is a kind of structure diagram of terminal device provided by the embodiments of the present application;
Figure 11 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 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..
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 service for life class application Program can provide the life service information in city where user or area to user.General such application program can with Family is waited when first used, obtains the location information of user, and provides corresponding information on services to user.User reuses afterwards During the application program, even if user does not leave its place city or area, which still may proceed to obtain location information, But since the urban area where user does not change, the information which is provided also with being provided before It is identical, and because the application call positioning function, additional power consumption is brought to terminal device.
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 with being integrated in other in the equipment of operating system.As shown in Figure 1, this method includes:
S110, the positioning call request for receiving destination application.
The destination application is to need to obtain the location information of terminal device to realize the application journey of its application function Sequence, it may include LBS (Location Based Service, based on location-based service) is applied.The destination application sends fixed Position call request is used to handle the location-based service process of positioning function to terminal device, and location-based service process is called according to positioning please Driving locating module is asked to work, 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, global positioning system) module.
Destination application can be the application program for providing corresponding information on services to the user according to location information.It is optional Ground, the destination application service class application program for instantaneous position, you can to provide positioning clothes according to a location information Information of being engaged in is to the application program of user.Illustratively, such as U.S. group, popular comment and public praise application program, can according to The location information at family provides corresponding information on services to user.Fig. 2 is the field of destination application provided by the embodiments of the present application Scape schematic diagram as shown in Fig. 2, destination application provides multiple information on services 10, and is presented to user on map, with It is selected for user.
When starting destination application, the positioning call request of the destination application is received.Application program is determined If position call request is allowed by the system of terminal device, location-based service process can continue to send location information to using journey The locating module meeting continuous firing of sequence, i.e. terminal device, persistently obtains location information and is sent to application program, until applying journey Sequence terminates to run.And if the positioning call request of application program is refused by the system of terminal device, if destination application Location information will not be got, locating module will not work because of the calling of destination application.
S111, this number of starts started for obtaining the destination application, the number of starts is to be set in terminal The standby upper number of starts.
Wherein, the number of starts of this startup of the destination application on the terminal device is obtained.Intended application journey Since installing on the terminal device, can all the number of starts of destination application be counted every time sequence by starting.It can lead to It crosses in the local record information of destination application and obtains the number of starts of the destination application on the terminal device, may be used also To obtain the number of starts of destination application on the terminal device by the corresponding background server of destination application.
When if destination application starts and the background server of destination application establishes connection, can backstage Server can record the number of starts of destination application.And if if when destination application starts not and background service Device establishes connection, then the number of starts can be recorded locally, established when destination application next time and background server During connection, then the number of starts of local record is updated to background server.
S112, determined whether to refuse the positioning call request according to the number of starts.
Optionally, if the number of starts is not to start for the first time, the positioning call request is refused.If described open Dynamic number is to start for the first time, then allows the positioning call request.
Wherein, after destination application is installed on the terminal device, when user starts destination application for the first time, target should The location information of user is obtained with program, provides corresponding information on services to user.When being again started up destination application afterwards, City or area of the user still where it, even if the application program obtains new location information, the information provided with also it It is preceding provided identical.Determined whether to refuse the positioning call request according to the number of starts, can need not be positioned in user Refusal positioning call request when function reduces the power consumption of terminal device.
Fig. 3 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 being determined whether to refuse the behaviour for positioning call request according to the number of starts It is optimized, optionally, as shown in figure 3, this method includes:
S120, the positioning call request for receiving destination application.
S121, this number of starts started for obtaining the destination application, the number of starts is to be set in terminal The standby upper number of starts.
The specific embodiment of aforesaid operations may be referred to associated description above, and details are not described herein.
If S122, the number of starts are not to start for the first time, refuse the positioning call request, perform operation 1220。
If S123, the number of starts are to start for the first time, allow the positioning call request, perform operation 1230.
S1220, location information in the history information of destination application is obtained, and is sent to intended application journey Sequence.
The history information of destination application is the record information before user during operation destination application, including The caching record of the location information of history and corresponding information on services.After refusal positioning call request, destination application It can be worked according to the location information in its history information.The positioning letter obtained when can be according to secondary startup on it Breath works, and provides corresponding information on services to user;Or destination application can be directly acquired in history information The caching record of information on services be supplied to user.The location information in the history information of destination application is obtained, and After being sent to destination application and being rejected the positioning call request of destination application, its work, target are not influenced Application program still can provide information on services to the user.
S1230, after a preset time lapses, forbids the positioning of the destination application to call.
Destination application provides information on services to user according to location information, and user is generally be directed to a fixed mesh Location information is marked, obtains the corresponding information on services of target positioning position information, so destination application is according to a positioning Information can provide corresponding information on services to user, after providing corresponding information on services to user, intended application journey Sequence just need not recall positioning function, the positioning of the destination application can be forbidden to call, location-based service process is no longer sent out Sending location information, the locating module of terminal device no longer works, and can reduce the power consumption of terminal device to destination application.Its In, preset time can be systemic presupposition, and the application is not limited thereto.
Fig. 4 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, it is optimized to obtaining the operation of the number of starts of the destination application, Optionally, as shown in figure 4, this method includes:
S130, the positioning call request for receiving destination application.
Specific embodiment may be referred to associated description above, and details are not described herein.
S131, the number of starts of this startup of the destination application within this setting cycle is obtained, it is described to open Dynamic number is the number of starts on the terminal device.
Wherein, the number of starts of this startup of the destination application within this setting cycle is obtained, i.e., is often existed It in one setting cycle, will obtain once within the setting cycle, the number of starts of this startup of destination application.Example Property, if setting the cycle as one day, this startup for obtaining the destination application is which time startup in today; If described set the cycle as one week, this startup for obtaining the destination application is which time starts within this week. According to the mobile custom of user, user it is general in a period of time all can in a fixed city or area, and if with Family is moved to other cities or area, also has certain interval of time.So a setting cycle can be set, obtain respectively The number of starts of destination application within each cycle, can be when user be moved to other cities or area, if needed When obtaining new location information, allow the positioning call request of destination application, obtain the service in other cities or area Information is to user.
The setting cycle can be configured according to the frequency of use of destination application;Optionally, frequency of use is got over Height, the setting cycle can be shorter.That is the frequency of use of user is higher, can suitably reduce the setting cycle, can be left in user During city or area where it, reacquire location information and simultaneously push corresponding information on services to user, improve user's Operating efficiency.
S132, determined whether to refuse the positioning call request according to the number of starts.
Specific embodiment may be referred to associated description above, and details are not described herein.
Fig. 5 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, optionally, as shown in figure 5, this method includes:
S140, the positioning call request for receiving destination application.
S141, this number of starts started for obtaining the destination application, the number of starts is to be set in terminal The standby upper number of starts.
If S142, the number of starts are not to start for the first time, refuse the positioning call request.
The specific embodiment of aforesaid operations may be referred to associated description above, and details are not described herein.
S143, detect positioning instruction input by user and receive destination application resend positioning adjust During with request, then allow described in the positioning call request that resends.
After the positioning call request is refused, destination application does not obtain new location information, if user is right The information on services that destination application is provided is unsatisfied with, it is necessary to which destination application obtains newest location information, and pushes Corresponding information on services is to user, and user can generally be actively entered positioning instruction, and destination application is according to input by user fixed Bit instruction resends 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 destination application, destination application is according to reacquisition Location information provides new information on services to user.Fig. 6 and Fig. 7 is the another of destination application provided by the embodiments of the present application Kind schematic diagram of a scenario illustratively, as shown in fig. 6, user can input positioning instruction by triggering positioning key 11, make target should New location information is obtained with program.As shown in fig. 7, destination application provides corresponding clothes according to new location information 12 Information of being engaged in is to user.
By detect positioning instruction input by user and receive destination application resend positioning call During request, then allow described in the positioning call request that resends, can change in the city where user or area, it is right When the information on services that destination application is provided according to history use information is dissatisfied, destination application is made to reacquire newly Location information, and corresponding information on services is provided to user, the operating efficiency of user can be improved.
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, optionally, as shown in figure 8, this method includes:
S150, the positioning call request for receiving destination application.
S151, this number of starts started for obtaining the destination application, the number of starts is to be set in terminal The standby upper number of starts.
If S152, the number of starts are not to start for the first time, refuse the positioning call request.
S153, detect positioning instruction input by user and receive destination application resend positioning adjust During with request, then allow described in the positioning call request that resends.
The specific embodiment of aforesaid operations may be referred to associated description above, and details are not described herein.
Whether S154, detection receive the positioning instruction that user re-enters in preset time.
If S155, not receiving the positioning instruction re-entered in preset time, forbid the target should It is called with the positioning of program.
Wherein, destination application provides new information on services to user according to the location information of reacquisition, if because Inaccurate for the location information of reacquisition, user can attempt to re-enter positioning instruction, and destination application is according to user's weight The positioning instruction newly inputted sends positioning call request to location-based service process again, and location-based service process is called according to positioning Request driving locating module works, and obtains location information again and is sent to destination application, destination application root New information on services is provided to user according to the location information obtained again.
And if user provides new information on services according to the location information of reacquisition to destination application and is satisfied with, User will not re-enter positioning instruction.It can detect in preset time, if be not received by that user re-enters determines Bit instruction, destination application just need not recall positioning function, the positioning of the destination application can be forbidden to call, position It puts service processes and does not retransmit location information to destination application, the locating module of terminal device no longer works, and can reduce The power consumption of terminal device.Preset time can be systemic presupposition, and the application is not limited thereto.
Fig. 9 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 9, the device includes:
Position receiver module 210, for receiving the positioning call request of destination application;
Number acquisition module 211, for obtaining this number of starts started of the destination application, the startup Number is the number of starts on the terminal device;
Positioning control module 212, for being determined whether to refuse the positioning call request according to the number of starts.
, can be when destination application send positioning call request by using above-mentioned technical proposal, it should according to target Judged whether to refuse the positioning call request with the number of starts of program, can be refused when positioning function is not required in user Positioning call request absolutely reduces the power consumption of terminal device.
Optionally, the destination application services class application program for instantaneous position.
Optionally, number acquisition module is specifically used for:This startup of the destination application is obtained in this setting The number of starts in cycle.
Optionally, the positioning control module is specifically used for:
When the number of starts is to start for the first time, allow the positioning call request;
When the number of starts is not to start for the first time, refuse the positioning call request.
Optionally, further include:
Timing disabled module, for after the positioning call request is allowed, after preset time, forbidding the mesh The positioning for marking application program is called.
Optionally, further include:
Historical information acquisition module, for after the positioning call request is refused, obtaining going through for destination application Location information in Records of the Historian record information, and it is sent to destination application.
Optionally, the positioning control module is specifically used for:
If the number of starts is not to start for the first time, refuse the positioning call request.
Optionally, further include:
Module is repositioned, for after the positioning call request is refused, detecting positioning instruction input by user, And when receiving destination application and resending positioning call request, the positioning call request that resends described in permission.
Optionally, further include:
Detection and localization module, for after the positioning call request resend described in permission, detecting in preset time Inside whether receive the positioning instruction that user re-enters;
Again disabled module for not receiving the positioning instruction re-entered in preset time, then forbids institute The positioning for stating destination application is called.
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, can also carry out the location control side that the application any embodiment is provided 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 destination application;
This number of starts started of the destination application is obtained, the number of starts is on the terminal device The number of starts;
Determined whether to refuse the positioning call request according to the number of starts.
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 of type or its combination.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 position 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 10 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 of processor operation 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 when destination application sends positioning call request, according to the startup of destination application Number judges whether to refuse the positioning call request, refusal positioning calling can be asked when positioning function is not required in user It asks, reduces the power consumption of terminal device.
Figure 11 is a kind of structure diagram of terminal device provided by the embodiments of the present application.As shown in figure 11, 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 interior volume 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 destination application;
This number of starts started of the destination application is obtained, the number of starts is on the terminal device The number of starts;
Determined whether to refuse the positioning call request according to the number of starts.
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, Peripheral Interface 303 is connected to.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 on idler wheel.What deserves to be explained is input controller 3092 can with it is following any one be connected:Keyboard, infrared port, The instruction 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 voice 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 destination application send positioning call request when, according to The number of starts of destination application judges whether to refuse the positioning call request, positioning function can be not required in user When refusal positioning call request, reduce 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 possesses 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 (11)

1. a kind of position control method, which is characterized in that including:
Receive the positioning call request of destination application;
This number of starts started of the destination application is obtained, the number of starts is startup on the terminal device Number;
Determined whether to refuse the positioning call request according to the number of starts.
2. the method as described in claim 1, which is characterized in that the destination application services class application journey for instantaneous position Sequence.
3. the method as described in claim 1, which is characterized in that this startup for obtaining the destination application is opened Dynamic number includes:
Obtain the number of starts of this startup of the destination application within this setting cycle.
4. method as described in any one of claims 1 to 3, which is characterized in that described to be determined whether according to the number of starts Refusing the positioning call request includes:
If the number of starts is to start for the first time, allow the positioning call request;
If the number of starts is not to start for the first time, refuse the positioning call request.
5. method as claimed in claim 4, which is characterized in that after the positioning call request is allowed, further include:
After a preset time lapses, the positioning of the destination application is forbidden to call.
6. method as claimed in claim 4, which is characterized in that after the positioning call request is refused, further include:
The location information in the history information of destination application is obtained, and is sent to destination application.
7. method as claimed in claim 4, which is characterized in that after the positioning call request is refused, further include:
Detect positioning instruction input by user and receive destination application resend positioning call request when, The positioning call request resend described in then allowing.
8. the method for claim 7, which is characterized in that the positioning call request resend described in the permission it Afterwards, further include:
Whether detection receives the positioning instruction that user re-enters in preset time;
If not receiving the positioning instruction re-entered in preset time, forbid determining for the destination application It calls position.
9. a kind of position control device, which is characterized in that including:
Position receiver module, for receiving the positioning call request of destination application;
Number acquisition module, for obtaining this number of starts started of the destination application, the number of starts is The number of starts on the terminal device;
Positioning control module, for being determined whether to refuse the positioning call request according to the number of starts.
10. a kind of computer readable storage medium, is stored thereon with computer program, which is characterized in that the program is by processor The position control method as any one of claim 1-8 is realized during execution.
11. 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 is realized when performing the computer program as in claim 1-8 Any one of them position control method.
CN201711326717.5A 2017-12-13 2017-12-13 Position control method, device, storage medium and terminal device Pending CN108055643A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201711326717.5A CN108055643A (en) 2017-12-13 2017-12-13 Position control method, device, storage medium and terminal device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201711326717.5A CN108055643A (en) 2017-12-13 2017-12-13 Position control method, device, storage medium and terminal device

Publications (1)

Publication Number Publication Date
CN108055643A true CN108055643A (en) 2018-05-18

Family

ID=62132074

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201711326717.5A Pending CN108055643A (en) 2017-12-13 2017-12-13 Position control method, device, storage medium and terminal device

Country Status (1)

Country Link
CN (1) CN108055643A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110830658A (en) * 2019-11-29 2020-02-21 捷开通讯(深圳)有限公司 Mobile terminal control method and device, mobile terminal and storage medium
CN110933666A (en) * 2019-10-16 2020-03-27 珠海格力电器股份有限公司 Positioning module control method and terminal
CN112148548A (en) * 2019-06-27 2020-12-29 北京百度网讯科技有限公司 Method, device and equipment for determining starting times

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20150163749A1 (en) * 2007-08-14 2015-06-11 Mpanion, Inc. Real-time location and presence using a push-location client and server
CN105045610A (en) * 2015-06-24 2015-11-11 上海海漾软件技术有限公司 Method and apparatus for starting application of intelligent device
CN105208215A (en) * 2015-10-22 2015-12-30 小米科技有限责任公司 Locating control method, device and terminal
CN105682198A (en) * 2016-01-13 2016-06-15 广东欧珀移动通信有限公司 Positioning control method and device of mobile terminal and mobile terminal
CN106791064A (en) * 2016-12-14 2017-05-31 北京小米移动软件有限公司 Method of locating terminal and device
CN107247606A (en) * 2017-05-24 2017-10-13 努比亚技术有限公司 Application management method, device and computer-readable recording medium

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20150163749A1 (en) * 2007-08-14 2015-06-11 Mpanion, Inc. Real-time location and presence using a push-location client and server
CN105045610A (en) * 2015-06-24 2015-11-11 上海海漾软件技术有限公司 Method and apparatus for starting application of intelligent device
CN105208215A (en) * 2015-10-22 2015-12-30 小米科技有限责任公司 Locating control method, device and terminal
CN105682198A (en) * 2016-01-13 2016-06-15 广东欧珀移动通信有限公司 Positioning control method and device of mobile terminal and mobile terminal
CN106791064A (en) * 2016-12-14 2017-05-31 北京小米移动软件有限公司 Method of locating terminal and device
CN107247606A (en) * 2017-05-24 2017-10-13 努比亚技术有限公司 Application management method, device and computer-readable recording medium

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112148548A (en) * 2019-06-27 2020-12-29 北京百度网讯科技有限公司 Method, device and equipment for determining starting times
CN112148548B (en) * 2019-06-27 2023-08-08 北京百度网讯科技有限公司 Method, device and equipment for determining starting times
CN110933666A (en) * 2019-10-16 2020-03-27 珠海格力电器股份有限公司 Positioning module control method and terminal
CN110830658A (en) * 2019-11-29 2020-02-21 捷开通讯(深圳)有限公司 Mobile terminal control method and device, mobile terminal and storage medium

Similar Documents

Publication Publication Date Title
US9456298B2 (en) Device-to-device location awareness
KR100991595B1 (en) System and method for indicating reminders via a portable computing device
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
CN107688638B (en) Recommendation method and device for application list, storage medium and mobile terminal
CN111316673B (en) Electronic fence updating method and communication device
KR20130119377A (en) Apparatus and method for determining a wireless device's location after shutdown
CN107483973A (en) In the method and apparatus of direct broadcasting room execution activity
CN105519141A (en) Seamless call transitions with pre-escalation participation confirmation
CN108076507B (en) Positioning mode control method and device, storage medium and mobile terminal
CN108681474B (en) Application preloading method and device, storage medium and terminal
CN108076429A (en) Localization method, device, storage medium and mobile terminal
CN108055643A (en) Position control method, device, storage medium and terminal device
CN108093451B (en) Random access control method, device, storage medium and mobile terminal
CN108055635B (en) Position information acquisition method and device, storage medium and terminal
CN108093367B (en) Control method and device based on positioning module, storage medium and mobile terminal
CN108055644B (en) Positioning control method and device, storage medium and terminal equipment
CN104240278A (en) Determination of device body location
CN108712717A (en) Control method, device, storage medium based on application shop and mobile terminal
CN109923506A (en) Information processing method and positioning chip, mobile terminal
CN108093362B (en) Control method and device of positioning module, storage medium and terminal
CN108012237A (en) Position control method, device, storage medium and terminal device
CN108040320B (en) GNSS positioning control method and device, storage medium and mobile terminal
CN108093373A (en) Position control method, device, storage medium and terminal device
CN108112061A (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
RJ01 Rejection of invention patent application after publication

Application publication date: 20180518

RJ01 Rejection of invention patent application after publication