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

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

Info

Publication number
CN108093363A
CN108093363A CN201711325857.0A CN201711325857A CN108093363A CN 108093363 A CN108093363 A CN 108093363A CN 201711325857 A CN201711325857 A CN 201711325857A CN 108093363 A CN108093363 A CN 108093363A
Authority
CN
China
Prior art keywords
base station
station information
locating module
information
control method
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
CN201711325857.0A
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 CN201711325857.0A priority Critical patent/CN108093363A/en
Publication of CN108093363A publication Critical patent/CN108093363A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/02Services making use of location information
    • 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
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W64/00Locating users or terminals or network equipment for network management purposes, e.g. mobility management
    • 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)
  • Telephone Function (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

The embodiment of the present application, which discloses a kind of control method of locating module, device, storage medium and terminal, this method, to be included:When user triggers photographing instruction, the first base station information currently registered is obtained;Judge whether first base station information is identical with the second base station information, the second base station is the preceding base station information once registered;If first base station information is identical with the second base station information, first base station information is determined as location information, and reduces the working frequency of locating module.The control program of the locating module provided in the embodiment of the present application first when user triggers photographing instruction, obtains the first base station information currently registered;If first base station information is identical with the second base station information, first base station information is determined as location information, and reduces the working frequency of locating module, the working frequency of locating module can be reduced through the above scheme, and then reduce the power consumption of locating module.

Description

Control method, device, storage medium and the terminal of locating module
Technical field
The invention relates to the control method of mobile terminal positioning technology field more particularly to locating module, device, Storage medium and terminal.
Background technology
As the electronic equipments such as the continuous development of electronic equipment, mobile terminal can provide positioning service to the user.Mobile phone Locating module is installed in advance in the terminal by manufacturer, and locating module passes through Global Navigation Satellite System (GNSS, Global Navigation Satellite System) obtain mobile terminal location information.Location-based service is based in mobile terminal The positioning that the application program (APP, Application) of (LBS, Location Based Service) is provided by locating module Information realization positions.
Since locating module is usually according to pre-set frequency acquisition location information so that locating module continuous drain, Cause locating module power consumption higher.
The content of the invention
The purpose of the embodiment of the present application is to provide a kind of control method of locating module, device, storage medium and terminal, can To reduce the power consumption of locating module.
In a first aspect, the embodiment of the present application provides a kind of control method of locating module, including:
When user triggers photographing instruction, the first base station information currently registered is obtained;
Judge whether the first base station information and the second base station information are identical, are once registered before second base station Base station information;
If the first base station information is identical with the second base station information, the first base station information is determined as positioning Information, and reduce the working frequency of locating module.
Second aspect, the embodiment of the present application provide a kind of control device of locating module, including:
Base station information acquisition module, for when user triggers photographing instruction, obtaining the first base station information currently registered;
Judgment module, for judging the first base station information of the base station information acquisition module acquisition and the second base station Whether information is identical, and second base station is the preceding base station information once registered;
Location information determining module, if judging that the first base station information is believed with the second base station for the judgment module Manner of breathing is same, then the first base station information is determined as location information;
Control module, for reducing the working frequency of locating module.
The third aspect, the embodiment of the present application provide a kind of computer readable storage medium, are stored thereon with computer journey Sequence realizes the control method of the locating module as shown in first aspect when the program is executed by processor.
Fourth aspect, the embodiment of the present application provide a kind of terminal, and including memory, processor and storage are on a memory And the computer program that can be run in processor, the processor are realized when performing the computer program as shown in first aspect Locating module control method.
The control program of the locating module provided in the embodiment of the present application first when user triggers photographing instruction, obtains The first base station information currently registered;Then judge whether first base station information is identical with the second base station information, the second base station is The preceding base station information once registered;If first base station information is identical with the second base station information, first base station information is determined For location information, and the working frequency of locating module is reduced, the working frequency of locating module can be reduced through the above scheme, into And reduce the power consumption of locating module.
Description of the drawings
Fig. 1 is a kind of flow diagram of the control method of locating module provided by the embodiments of the present application;
Fig. 2 is the flow diagram of the control method of another locating module provided by the embodiments of the present application;
Fig. 3 is a kind of structure diagram of the control device of locating module provided by the embodiments of the present application;
Fig. 4 is the structure diagram of the control device of another locating module provided by the embodiments of the present application;
Fig. 5 is a kind of structure diagram of mobile terminal provided by the embodiments of the present application.
Specific embodiment
Further illustrate the technical solution of the application below with reference to the accompanying drawings and specific embodiments.It is appreciated that It is that specific embodiment described herein is used only for explaining the application rather than the restriction to the application.It further needs exist for illustrating , part relevant with the application rather than entire infrastructure are illustrated only for ease of description, in attached drawing.
It should be mentioned that some exemplary embodiments are described as before exemplary embodiment is discussed in greater detail The processing described as flow chart or method.Although each step is described as the processing of order, many of which by flow chart Step can be implemented concurrently, concomitantly or simultaneously.In addition, the order of each step can be rearranged.When its operation The processing can be terminated during completion, it is also possible to have the additional step being not included in attached drawing.The processing can be with Corresponding to method, function, regulation, subroutine, subprogram etc..
With the development of electronic equipment, electronic equipment can provide positioning service to the user.With the generation of positioning service Use of the application program of installation on an electronic device to providing the locating module of location information is also more and more frequent.At present, it is fixed Position module works according to fixed frequency.But when user some scenic spot visit or when some friend family acts as a guest, use Family is taken pictures or imaged in the place, and used address is constant or variation is negligible.In correlation technique when When user is taken pictures, electronic equipment can obtain location information by locating module, and whether electronic equipment can't move user It is dynamic to be judged, therefore indiscriminate location information can be obtained according to photographing instruction, locating module continuous firing is in turn resulted in, is led Cause locating module power consumption higher.The application provides a kind of side that can reduce locating module power in due course based on base station information Case, and then lower the power consumption of locating module.Concrete scheme is as follows:
Fig. 1 is the flow diagram of the control method of locating module provided by the embodiments of the present application, and this method can be by carrying It is performed for the device of positioning service, wherein the device can generally be integrated in the terminal by software and/or hardware realization, Mobile terminal can be smart mobile phone, tablet computer, wearable device etc., as shown in Figure 1, this method includes:
Step 110, when user triggers photographing instruction, obtain the first base station information currently registered.
Terminal is establishing the monitor process of photographing instruction from the background, and when user triggers photographing instruction, inquiry terminal is currently noted The first base station information of volume.Terminal can be registered on a time point on a base station, therefore can be inquired about by inquiry The the first collection station information currently registered to terminal.When the position of terminal is moved to outside base station range, terminal is selected again Select the base station of registration.
Triggering photographing instruction mode have it is multiple, optionally, can work as user start take pictures in application, triggering finger of taking pictures Order.
Illustratively, can be triggered when user clicks on camera applications icon.It can also be opened in user by shortcut Dynamic take pictures is triggered when applying.For example, in locking screen interface, if user in preset direction (such as from being moved under screen above the screen of direction It is dynamic) on carry out slide, then start application of taking pictures.It can also be user in instant chat, shopping application, information recommendation application In, when starting camera function, trigger photographing instruction.
Optionally, when user, which clicks on, takes pictures button or record button, photographing instruction is triggered.Button of taking pictures can be to take pictures Button of taking pictures (white color knobs) or camera shooting button (red button) in, or the combination button in terminal.Combination Button can also be to double-click screen or double-click HOME keys etc..
It can currently be registered by the set expression terminal of position area number (lac) and cell ID (ci) in Android system Base station information.Further, base station identity code (BSIC) is can also use each base station is identified.
Step 120 judges whether first base station information is identical with the second base station information, is once registered before the second base station Base station information.
Terminal can be registered in moving process in different base stations, and terminal can delay the base station information of registration It deposits, obtains the cache list of a base station.Base station information is stored in the list and is registered to the temporal information of base station.The row Table can be stack architecture, and first base station information is the base station information obtained according to step 110, and the second base station information is storehouse First base station information of middle storage.Judge the base station information (the second base station information) and step 110 of first base station in storehouse Whether the base station information (first base station information) of acquisition is identical.Optionally, once registered before can also being searched according to temporal information Base station, i.e. the second base station information.
If step 130, first base station information are identical with the second base station information, first base station information is determined as positioning Information, and reduce the working frequency of locating module.
If first base station information is identical with the second base station information, it is currently beyond the last time registration to illustrate terminal Base station range.Therefore the corresponding location information of first base station can be determined as to the location information of terminal.Optionally, can also lead to The data communication crossed between base station determines the relative position relation between terminal and base station, then according to the relative position relation And the location information of first base station, obtain the location information of terminal.
The working frequency of locating module is wherein reduced, can be the location information acquisition frequency for reducing locating module.May be used also Think, close locating module.Locating module can be the functional module group positioned in terminal, which can be the whole world Alignment system (Global Positioning System, GPS) locating module or global navigation satellite system GNSS positioning mould Block etc..When first base station information is identical with the second base station information, the frequency that locating module obtains location information can be reduced, into And reduce the power consumption of locating module.Can be with temporary close locating module, and location information is cached, it is positioned when other application accesses During module polls location information, the location information of caching is sent to other application.
Further, the working frequency of locating module is reduced, can also be implemented by following manner:
First, the duration of taking pictures that is averaged when foreground point is obtained;Then, the work of locating module is reduced in duration of averagely taking pictures Working frequency.
In some scenic spots, the private base station in scenic spot can be set, it is special to be connected to base station for terminal when user enters scenic spot In base station.It may determine that user whether in certain scenic spot according to base station mark.The scenic spot is obtained by big data analysis It averagely takes pictures duration.For example, user plays in World Park, and be 20 minutes usually in the Ya Zhouyuan times played, then it will be flat Duration of taking pictures is determined as 20 minutes.Being averaged herein a length of when taking pictures is working as foreground zone by the user that big data counts The average time of delay.When beyond averagely take pictures duration when, recover the working frequency of locating module.
In another realization scene, user to friend family acts as a guest, and user can be recorded by server in the past in the friend The average time is determined as duration of averagely taking pictures by the average time being detained in friendly family's respective base station.And then realize user in friend When the place often occurred is taken pictures, locating module can be according to user's previous residence time to fixed for friendly family, school or unit Position module is controlled, and reduces locating module power consumption.
The control program of the locating module provided in the embodiment of the present application first when user triggers photographing instruction, obtains The first base station information currently registered;Then judge whether first base station information is identical with the second base station information, the second base station is The preceding base station information once registered;If first base station information is identical with the second base station information, first base station information is determined For location information, and reduce the working frequency of locating module.When first base station information is identical with the second base station information, illustrate to use Family is in the recent period always in base station range, therefore can be using the location information of base station as the location information of user, and then reduce and determine The working frequency of position module reduces the power consumption of locating module.
Further, Fig. 2 is the flow diagram of the control method of another locating module provided by the embodiments of the present application, As the further explanation to above-described embodiment, step 120, judge first base station information and the second base station information whether phase Together, after the preceding base station information once registered is in the second base station, further include:
It is the by the second base station information updating if step 140, first base station information are differed with the second base station information One base station information.
Step 150, the working frequency for improving locating module.
If the second base station information is different from first base station information, illustrate that terminal has had been moved off the covering of the second base station Scope is needed at this time to the second base station information, i.e., the base station information once registered before user is updated.Simultaneously as terminal New base station range is entered, illustrates that terminal may move, the working frequency of locating module is improved at this time, by locating module Working frequency is improved to conventional sense or higher than conventional sense.Conventional sense can be 1 time/second.
Wherein, the working frequency for improving locating module, including:
The location information for improving locating module obtains frequency;Alternatively, start locating module.
Due to the running orbit of terminal exist it is uncertain, it is thus possible to occur after terminal stops in certain base station range, Go to other base station ranges, and at this time terminal be even switched off in the working frequency of retention period decreased locating module it is fixed Position module.At this time when detecting first base station information and the second base station information difference, it is necessary to reply the work frequency of locating module Rate.And then realize the working frequency for recovering locating module in time, improve the validity of location information.
Further, further include:When receiving the positioning instruction of other application transmission, the first base station position is believed Breath feeds back to the other application, and the other application is the application with location requirement beyond applying of taking pictures.
But after the work of locating module is lowered into rate, location information is sent in the event of other application request locating module Event, then first base station location information is fed back into other application.Other application can be navigation application, photograph album application, purchase Object application etc..
The control method of locating module provided in this embodiment, can the working frequency of locating module reduction after, according to The application that the first base station information of caching obtains demand for other with location information provides location information, is reducing locating module While power consumption, the stable operation of terminal is kept.
Fig. 3 is a kind of structure diagram of the control device of locating module provided by the embodiments of the present application.As shown in figure 3, The device includes:Base station information acquisition module 210, judgment module 220, location information determining module 230 and control module 240。
Base station information acquisition module 210, for when user triggers photographing instruction, obtaining the first base station letter currently registered Breath;
Judgment module 220, for judging the first base station information that the base station information acquisition module 210 obtains and the Whether two base station informations are identical, and second base station is the preceding base station information once registered;
Location information determining module 230, if judging the first base station information and second for the judgment module 220 Base station information is identical, then the first base station information is determined as location information;
Control module 240, for reducing the working frequency of locating module.
Further, the base station information acquisition module 210 is used for:
It takes pictures when user starts in application, triggering photographing instruction;Alternatively,
When user, which clicks on, takes pictures button or record button, photographing instruction is triggered.
Further, control module 240 is used for:
The location information for reducing locating module obtains frequency;Alternatively,
Close locating module.
Further, as shown in figure 4, further including update module 250 and feedback module 260.
Update module 250, if differed for first base station information and the second base station information, by second base station Information is updated to the first base station information;
Control module 240 is additionally operable to, and improves the working frequency of locating module.
Further, control module 240 is additionally operable to improve the location information acquisition frequency of locating module;Alternatively,
Start locating module.
Further, feedback module 260, for when receive other application transmission positioning instruction when, by described first Base station position information feeds back to the other application, and the other application is the answering with location requirement beyond applying of taking pictures With.
Further, control module 240 is additionally operable to:
Obtain the duration of taking pictures that is averaged when foreground point;
The working frequency of locating module is reduced in the duration of averagely taking pictures.
The control device of the locating module provided in the embodiment of the present application, base station information acquisition module 210 are triggered in user During photographing instruction, the first base station information currently registered is obtained;Judgment module 220 judges that first base station information is believed with the second base station Whether breath is identical, and the second base station is the preceding base station information once registered;Location information determining module 230 is sentenced in judgment module 220 Break first base station information it is identical with the second base station information when, first base station information is determined as location information, control module 240 For reducing the working frequency of locating module.When first base station information is identical with the second base station information, illustrate user recent one Directly in base station range, therefore can be using the location information of base station as the location information of user, and then reduce locating module Working frequency reduces the power consumption of locating module.
Above device can perform the method that the foregoing all embodiments of the application are provided, and it is corresponding to possess the execution above method Function module and advantageous effect.The not technical detail of detailed description in the present embodiment, reference can be made to the foregoing all implementations of the application The method that example is provided.
Fig. 5 is the structure diagram of another terminal device provided by the embodiments of the present application.As shown in figure 5, the terminal can To include:Housing (not shown), memory 301, central processing unit (Central Processing Unit, CPU) 302 (also known as processor, hereinafter referred to as CPU), the computer program that is stored on memory 301 and can run on processor 302, Circuit board (not shown) and power circuit (not shown).The circuit board is placed in the space that the housing surrounds Portion;The CPU302 and the memory 301 are arranged on the circuit board;The power circuit, for for the terminal Each circuit or device power supply;The memory 301, for storing executable program code;The CPU302 is by reading The executable program code that is stored in memory 301 is stated to run program corresponding with the executable program code.
The terminal further includes:Peripheral Interface 303, RF (Radio Frequency, radio frequency) circuit 305, voicefrequency circuit 306th, loud speaker 311, power management chip 308, input/output (I/O) subsystem 309, touch-screen 312, other input/controls 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, and terminal device 300 can be with With than more or less components shown in figure, two or more components can be combined or can be had Different component configurations.Various parts shown in figure can be including one or more signal processings and/or special integrated Hardware, software including circuit are realized in the combination of hardware and software.
Just provided in this embodiment below to be described in detail for a kind of terminal device, the terminal device is with intelligent hand Exemplified by machine.
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.
Wherein, according to touch-screen operation principle and transmission information medium classification, touch-screen 312 can be resistance-type, Capacitor induction type, infrared-type or surface acoustic wave type.Classify according to mounting means, touch-screen 312 can be:It is external hanging type, built-in Formula or monoblock type.Classify according to technical principle, touch-screen 312 can be:Vector pressure sensing technology touch-screen, resistive technologies are touched Touch screen, capacitance technology touch-screen, infrared technology touch-screen or surface acoustic wave technique touch-screen.
Touch-screen 312, the touch-screen 312 are the input interface and output interface between user terminal and user, can User is shown to depending on output, visual output can include figure, text, icon, video etc..Optionally, touch-screen 312 is by user The electric signal (electric signal of such as contact surface) triggered on touch screen curtain, is sent to processor 302.
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 intelligent sound box and wireless network (i.e. network side), realize intelligent sound box Data receiver and transmission with wireless network.Such as transmitting-receiving short message, Email 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 intelligent sound box from wireless network by RF circuits 305, is reduced to Sound simultaneously plays 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.
In the present embodiment, central processing unit 302 is used for:
When user triggers photographing instruction, the first base station information currently registered is obtained;
Judge whether the first base station information and the second base station information are identical, are once registered before second base station Base station information;
If the first base station information is identical with the second base station information, the first base station information is determined as positioning Information, and reduce the working frequency of locating module.
Further, the user triggers photographing instruction and includes:
It takes pictures when user starts in application, triggering photographing instruction;Alternatively,
When user, which clicks on, takes pictures button or record button, photographing instruction is triggered.
Further, the working frequency for reducing locating module, including:
The location information for reducing locating module obtains frequency;Alternatively,
Close locating module.
Further, after judging whether the first base station information and the second base station information are identical, further include:
If shown first base station information is differed with second base station information, by second base station information updating For the first base station information;
Improve the working frequency of locating module.
Further, the working frequency for improving locating module, including:
The location information for improving locating module obtains frequency;Alternatively,
Start locating module.
Further, further include:When receiving the positioning instruction of other application transmission, the first base station position is believed Breath feeds back to the other application, and the other application is the application with location requirement beyond applying of taking pictures.
Further, the working frequency for reducing locating module, including:
Obtain the duration of taking pictures that is averaged when foreground point;
The working frequency of locating module is reduced in the duration of averagely taking pictures.
The embodiment of the present application also provides a kind of storage medium for including terminal device executable instruction, and the terminal device can It executes instruction when being performed by terminal device processor for performing a kind of control method of locating module, this method includes:
When user triggers photographing instruction, the first base station information currently registered is obtained;
Judge whether the first base station information and the second base station information are identical, are once registered before second base station Base station information;
If the first base station information is identical with the second base station information, the first base station information is determined as positioning Information, and reduce the working frequency of locating module.
Further, the user triggers photographing instruction and includes:
It takes pictures when user starts in application, triggering photographing instruction;Alternatively,
When user, which clicks on, takes pictures button or record button, photographing instruction is triggered.
Further, the working frequency for reducing locating module, including:
The location information for reducing locating module obtains frequency;Alternatively,
Close locating module.
Further, after judging whether the first base station information and the second base station information are identical, further include:
If shown first base station information is differed with second base station information, by second base station information updating For the first base station information;
Improve the working frequency of locating module.
Further, the working frequency for improving locating module, including:
The location information for improving locating module obtains frequency;Alternatively,
Start locating module.
Further, further include:When receiving the positioning instruction of other application transmission, the first base station position is believed Breath feeds back to the other application, and the other application is the application with location requirement beyond applying of taking pictures.
Further, the working frequency for reducing locating module, including:
Obtain the duration of taking pictures that is averaged when foreground point;
The working frequency of locating module is reduced in the duration of averagely taking pictures.
The arbitrary of one or more computer-readable media may be employed in the computer storage media of the embodiment of the present application Combination.Computer-readable medium can be computer-readable signal media or computer readable storage medium.It is computer-readable Storage medium for example may be-but not limited to-the system of electricity, magnetic, optical, electromagnetic, infrared ray or semiconductor, device or Device or arbitrary above combination.The more specific example (non exhaustive list) of computer readable storage medium includes:Tool There are one or the electrical connections of multiple conducting wires, portable computer diskette, hard disk, random access memory (RAM), read-only memory (ROM), erasable programmable read only memory (EPROM or flash memory), optical fiber, portable compact disc read-only memory (CD- ROM), light storage device, magnetic memory device or above-mentioned any appropriate combination.In this document, computer-readable storage Medium can be any tangible medium for including or storing program, which can be commanded execution system, device or device Using or it is in connection.
Computer-readable signal media can include in a base band or as carrier wave a part propagation data-signal, Wherein carry computer-readable program code.Diversified forms may be employed in the data-signal of this propagation, including but it is unlimited In electromagnetic signal, optical signal or above-mentioned any appropriate combination.Computer-readable signal media can also be that computer can Any computer-readable medium beyond storage medium is read, which can send, propagates or transmit and be used for By instruction execution system, device either device use or program in connection.
The program code included on computer-readable medium can be transmitted with any appropriate medium, including --- but it is unlimited In wireless, electric wire, optical cable, RF etc. or above-mentioned any appropriate combination.
It can be with one or more programming languages or its computer for combining to write to perform the application operation Program code, programming language include object oriented program language-such as Java, Smalltalk, C++, also wrap Include conventional procedural programming language-such as " C " language or similar programming language.Program code can be complete Ground is performed, partly performed on the user computer on the user computer, the software package independent as one performs, partly exists Part performs or performs on a remote computer or server completely on the remote computer on subscriber computer.It is being related to In the situation of remote computer, remote computer can pass through the network of any kind --- including LAN (LAN) or wide area Net (WAN)-be connected to subscriber computer or, it may be connected to outer computer (such as utilizes ISP To pass through Internet connection).
Certainly, a kind of storage medium for including computer executable instructions that the embodiment of the present application is provided, computer Operation is recommended in the application that executable instruction is not limited to the described above, and can also carry out the application that the application any embodiment is provided Relevant operation in recommendation method.
Note that it above are only the preferred embodiment of the application and institute's application technology principle.It will be appreciated by those skilled in the art that The application is not limited to specific embodiment described here, can carry out for a person skilled in the art it is various it is apparent variation, The protection domain readjusted and substituted without departing from the application.Therefore, although being carried out by above example to the application It is described in further detail, but the application is not limited only to above example, in the case where not departing from the application design, also It can include other more equivalent embodiments, and scope of the present application is determined by scope of the appended claims.

Claims (10)

1. a kind of control method of locating module, which is characterized in that including:
When user triggers photographing instruction, the first base station information currently registered is obtained;
Judge whether the first base station information and the second base station information are identical, second base station is the preceding base station once registered Information;
If the first base station information is identical with the second base station information, the first base station information is determined as positioning letter Breath, and reduce the working frequency of locating module.
2. the control method of locating module according to claim 1, which is characterized in that the user triggers photographing instruction bag It includes:
It takes pictures when user starts in application, triggering photographing instruction;Alternatively,
When user, which clicks on, takes pictures button or record button, photographing instruction is triggered.
3. the control method of locating module according to claim 1, which is characterized in that the work for reducing locating module Frequency, including:
The location information for reducing locating module obtains frequency;Alternatively,
Close locating module.
4. the control method of locating module according to claim 1, which is characterized in that judging the first base station information With the second base station information it is whether identical after, further include:
It is institute by second base station information updating if shown first base station information is differed with second base station information State first base station information;
Improve the working frequency of the locating module.
5. the control method of locating module according to claim 4, which is characterized in that the raising locating module Working frequency, including:
The location information for improving the locating module obtains frequency;Alternatively,
Start the locating module.
6. the control method of locating module according to claim 1, which is characterized in that further include:It should when receiving other During with the positioning instruction of transmission, the first base station location information is fed back into the other application, the other application is claps Correlate the application with location requirement beyond using.
7. the control method of locating module according to claim 1, which is characterized in that the work for reducing locating module Frequency, including:
Obtain the duration of taking pictures that is averaged when foreground point;
The working frequency of locating module is reduced in the duration of averagely taking pictures.
8. a kind of control device of locating module, which is characterized in that including:
Base station information acquisition module, for when user triggers photographing instruction, obtaining the first base station information currently registered;
Judgment module, for judging the first base station information and the second base station information of the base station information acquisition module acquisition Whether identical, second base station is the preceding base station information once registered;
Location information determining module, if judging the first base station information and the second base station information phase for the judgment module Together, then the first base station information is determined as location information;
Control module, for reducing the working frequency of locating module.
9. a kind of computer readable storage medium, is stored thereon with computer program, which is characterized in that the program is held by processor The control method of the locating module as described in any in claim 1-7 is realized during row.
10. a kind of terminal, including memory, processor and storage are on a memory and can be in the computer journey of processor operation Sequence, which is characterized in that the processor realizes the positioning mould as described in claim 1-7 is any when performing the computer program The control method of block.
CN201711325857.0A 2017-12-13 2017-12-13 Control method, device, storage medium and the terminal of locating module Pending CN108093363A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201711325857.0A CN108093363A (en) 2017-12-13 2017-12-13 Control method, device, storage medium and the terminal of locating module

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201711325857.0A CN108093363A (en) 2017-12-13 2017-12-13 Control method, device, storage medium and the terminal of locating module

Publications (1)

Publication Number Publication Date
CN108093363A true CN108093363A (en) 2018-05-29

Family

ID=62175177

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201711325857.0A Pending CN108093363A (en) 2017-12-13 2017-12-13 Control method, device, storage medium and the terminal of locating module

Country Status (1)

Country Link
CN (1) CN108093363A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110753298A (en) * 2018-07-05 2020-02-04 中移物联网有限公司 Positioning method and device, equipment and storage medium thereof
CN114257951A (en) * 2020-09-21 2022-03-29 Oppo(重庆)智能科技有限公司 Positioning method and device, storage medium and electronic equipment

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102075854A (en) * 2009-11-24 2011-05-25 米特尔网络公司 Power management system and method for mobile applications using location based services
CN102387466A (en) * 2010-08-18 2012-03-21 三星电子株式会社 Apparatus and method for power control in geo-tagging in a mobile terminal
CN102498706A (en) * 2009-02-04 2012-06-13 谷歌公司 Mobile device battery management
CN105491523A (en) * 2015-12-08 2016-04-13 小米科技有限责任公司 Method and device for acquiring position information
CN105550204A (en) * 2015-12-01 2016-05-04 小米科技有限责任公司 Method and device for controlling position locating module
CN106507311A (en) * 2016-12-13 2017-03-15 深圳亿家联网络科技有限公司 A kind of processing method of positioning and system
CN107613552A (en) * 2017-10-31 2018-01-19 广东小天才科技有限公司 A kind of localization method and mobile terminal based on mobile terminal

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102498706A (en) * 2009-02-04 2012-06-13 谷歌公司 Mobile device battery management
CN102075854A (en) * 2009-11-24 2011-05-25 米特尔网络公司 Power management system and method for mobile applications using location based services
US20110124349A1 (en) * 2009-11-24 2011-05-26 Mitel Networks Corporation Power management system and method for mobile applications using location based services
CN102387466A (en) * 2010-08-18 2012-03-21 三星电子株式会社 Apparatus and method for power control in geo-tagging in a mobile terminal
CN105550204A (en) * 2015-12-01 2016-05-04 小米科技有限责任公司 Method and device for controlling position locating module
CN105491523A (en) * 2015-12-08 2016-04-13 小米科技有限责任公司 Method and device for acquiring position information
CN106507311A (en) * 2016-12-13 2017-03-15 深圳亿家联网络科技有限公司 A kind of processing method of positioning and system
CN107613552A (en) * 2017-10-31 2018-01-19 广东小天才科技有限公司 A kind of localization method and mobile terminal based on mobile terminal

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110753298A (en) * 2018-07-05 2020-02-04 中移物联网有限公司 Positioning method and device, equipment and storage medium thereof
CN110753298B (en) * 2018-07-05 2022-02-01 中移物联网有限公司 Positioning method and device, equipment and storage medium thereof
CN114257951A (en) * 2020-09-21 2022-03-29 Oppo(重庆)智能科技有限公司 Positioning method and device, storage medium and electronic equipment

Similar Documents

Publication Publication Date Title
CN107835033B (en) Antenna tuning switch control method and device, terminal equipment and storage medium
CN108111974A (en) Control method, device, storage medium and the terminal of locating module
KR102171082B1 (en) Method for processing fingerprint and an electronic device thereof
KR102229699B1 (en) Method and Electronic Device for Information
US20190306709A1 (en) Electronic device
CN106209800B (en) Equipment Authority sharing method and apparatus
CN113792277A (en) Method and device for displaying application and picture and electronic equipment
CN108710515A (en) Using preloading method, apparatus, storage medium and terminal
US20140282204A1 (en) Key input method and apparatus using random number in virtual keyboard
KR102004986B1 (en) Method and system for executing application, device and computer readable recording medium thereof
CN106911956B (en) Audio data playing method and device and mobile terminal
CN107767228A (en) Using recommendation method, apparatus, terminal device and storage medium
KR20150096915A (en) Multimedia contents sharing playback method and electronic device implementing the same
CN109618192B (en) Method, device, system and storage medium for playing video
CN108093362A (en) Control method, device, storage medium and the terminal of locating module
CN108024128A (en) Control method, device, terminal device and the storage medium that Bluetooth music plays
CN108055635B (en) Position information acquisition method and device, storage medium and terminal
CN109412913A (en) Control method, device, storage medium and the terminal of smart home device
CN108681474A (en) Using preloading method, apparatus, storage medium and terminal
CN109495573A (en) Data transmission method, device, storage medium and terminal
CN108362310A (en) Determination method, apparatus, storage medium and the terminal of earth magnetism accuracy
CN109120864A (en) Light filling processing method, device, storage medium and mobile terminal
CN107239184B (en) Touch screen touch device and method and mobile terminal
CN108093363A (en) Control method, device, storage medium and the terminal of locating module
CN107809742A (en) Processing method, device, storage medium and the terminal of location information

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: 20180529

RJ01 Rejection of invention patent application after publication