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
information
positioning module
positioning
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 and device of positioning module, storage medium and terminal
Technical Field
The embodiment of the application relates to the technical field of mobile terminal positioning, in particular to a control method and device of a positioning module, a storage medium and a terminal.
Background
With the continuous development of electronic devices, electronic devices such as mobile terminals can provide positioning services for users. A mobile phone manufacturer installs a positioning module in a mobile terminal in advance, and the positioning module obtains positioning information of the mobile terminal through a Global Navigation Satellite System (GNSS). Location Based Service (LBS) Application programs (APP) in the mobile terminal realize Location through Location information provided by a Location module.
Because the positioning module usually acquires the positioning information according to a preset frequency, the positioning module continuously consumes power, which results in higher power consumption of the positioning module.
Disclosure of Invention
An object of the embodiments of the present application is to provide a method and an apparatus for controlling a positioning module, a storage medium, and a terminal, which can reduce power consumption of the positioning module.
In a first aspect, an embodiment of the present application provides a method for controlling a positioning module, including:
when a user triggers a photographing instruction, acquiring information of a first base station which is currently registered;
judging whether the first base station information is the same as second base station information, wherein the second base station information is base station information registered at the previous time;
and if the first base station information is the same as the second base station information, determining the first base station information as positioning information, and reducing the working frequency of a positioning module.
In a second aspect, an embodiment of the present application provides a control apparatus for a positioning module, including:
the base station information acquisition module is used for acquiring the information of the first base station which is currently registered when a user triggers a photographing instruction;
a judging module, configured to judge whether the first base station information acquired by the base station information acquiring module is the same as second base station information, where the second base station is base station information registered in the previous time;
a positioning information determining module, configured to determine the first base station information as positioning information if the determining module determines that the first base station information is the same as the second base station information;
and the control module is used for reducing the working frequency of the positioning module.
In a third aspect, the present application provides a computer-readable storage medium, on which a computer program is stored, where the computer program, when executed by a processor, implements the control method of the positioning module as shown in the first aspect.
In a fourth aspect, an embodiment of the present application provides a terminal, including a memory, a processor, and a computer program stored on the memory and executable on the processor, where the processor executes the computer program to implement the control method of the positioning module according to the first aspect.
According to the control scheme of the positioning module provided by the embodiment of the application, firstly, when a user triggers a photographing instruction, the information of a first base station which is currently registered is acquired; then judging whether the first base station information is the same as the second base station information, wherein the second base station is the base station information registered at the previous time; if the first base station information is the same as the second base station information, the first base station information is determined as the positioning information, the working frequency of the positioning module is reduced, the working frequency of the positioning module can be reduced through the scheme, and the power consumption of the positioning module is further reduced.
Drawings
Fig. 1 is a schematic flowchart of a control method of a positioning module according to an embodiment of the present disclosure;
fig. 2 is a schematic flowchart of another control method for a positioning module according to an embodiment of the present disclosure;
fig. 3 is a block diagram of a control device of a positioning module according to an embodiment of the present disclosure;
fig. 4 is a block diagram of a control device of another positioning module according to an embodiment of the present disclosure;
fig. 5 is a schematic structural diagram of a mobile terminal according to an embodiment of the present application.
Detailed Description
The technical scheme of the application is further explained by the specific implementation mode in combination with the attached drawings. It is to be understood that the specific embodiments described herein are merely illustrative of the application and are not limiting of the application. It should be further noted that, for the convenience of description, only some of the structures related to the present application are shown in the drawings, not all of the structures.
Before discussing exemplary embodiments in more detail, it should be noted that some exemplary embodiments are described as processes or methods depicted as flowcharts. Although a flowchart may describe the steps as a sequential process, many of the steps can be performed in parallel, concurrently or simultaneously. In addition, the order of the steps may be rearranged. The process may be terminated when its operations are completed, but may have additional steps not included in the figure. The processes may correspond to methods, functions, procedures, subroutines, and the like.
With the development of electronic devices, electronic devices can provide location services for users. The use of location modules providing location information by applications installed on electronic devices is also becoming more frequent as location services are generated. Currently, the positioning module operates at a fixed frequency. However, when the user visits a certain scenic spot or makes a guest at a certain friend's house, the address used by the user to take a picture or photograph at the spot is not changed or the change is negligible. In the related art, when a user takes a picture, the electronic device can acquire the positioning information through the positioning module, and the electronic device cannot judge whether the user moves, so that the positioning information can be acquired indiscriminately according to a picture taking instruction, and the positioning module is further caused to continuously work, and the power consumption of the positioning module is higher. The method and the device provide a scheme capable of timely reducing the power of the positioning module based on the base station information, and further reduce the power consumption of the positioning module. The specific scheme is as follows:
fig. 1 is a schematic flowchart of a method for controlling a positioning module according to an embodiment of the present disclosure, where the method may be performed by a device for providing a positioning service, where the device may be implemented by software and/or hardware, and may be generally integrated in a mobile terminal, and the mobile terminal may be a smartphone, a tablet computer, a wearable device, or the like, as shown in fig. 1, and the method includes:
and step 110, when the user triggers a photographing instruction, acquiring the information of the currently registered first base station.
The terminal establishes a monitoring process of a photographing instruction in a background, and when a user triggers the photographing instruction, the information of a first base station currently registered by the terminal is inquired. The terminal can register to a base station at a time point, so that the first set of station information currently registered by the terminal can be inquired through inquiry. When the location of the terminal moves out of the coverage of the base station, the terminal reselects the registered base station.
The mode of triggering the photographing instruction is multiple, and optionally, the photographing instruction can be triggered when the user starts the photographing application.
Illustratively, this may be triggered when the user clicks on the camera application icon. It may also be triggered when the user starts the photo application by a shortcut. For example, in the screen locking interface, if the user performs a sliding operation in a preset direction (e.g., moving from below the screen to above the screen), the photographing application is started. The photographing instruction can also be triggered when the user starts the photographing function in instant chat, shopping application and information recommendation application.
Optionally, when the user clicks the photo button or the video button, the photo instruction is triggered. The photographing button can be a photographing button (white button) or a camera shooting button (red button) in a photographing application, and can also be a combined button on the terminal. The combination button may also be a double click on the screen, or double click on the HOME key, etc.
In the android system, the information of the base station currently registered by the terminal can be represented by a set of a location area number (lac) and a cell ID (ci). Further, each base station may be identified using a Base Station Identity Code (BSIC).
And step 120, judging whether the first base station information is the same as the second base station information, wherein the second base station is the base station information registered at the previous time.
The terminal registers to different base stations in the moving process, and the terminal can cache the registered base station information to obtain a cache list of the base stations. The list stores base station information and time information registered to the base station. The list may be a stack structure, the first base station information being the base station information obtained according to step 110, and the second base station information being the first base station information stored in the stack. It is determined whether the base station information (second base station information) of the first base station in the stack is the same as the base station information (first base station information) acquired in step 110. Optionally, the base station that was registered last time, that is, the second base station information, may also be searched according to the time information.
And step 130, if the first base station information is the same as the second base station information, determining the first base station information as the positioning information, and reducing the working frequency of the positioning module.
And if the first base station information is the same as the second base station information, the terminal is out of the range of the base station which is registered last time. Therefore, the position information corresponding to the first base station can be determined as the positioning information of the terminal. Optionally, the relative position relationship between the terminal and the base station may be determined through data communication with the base station, and then the position information of the terminal may be obtained according to the relative position relationship and the position information of the first base station.
The working frequency of the positioning module is reduced, and the frequency can be obtained for reducing the positioning information of the positioning module. It is also possible to switch off the positioning module. The Positioning module may be a functional module for Positioning in the terminal, and the module may be a Global Positioning System (GPS) Positioning module or a Global navigation satellite System GNSS Positioning module. When the first base station information is the same as the second base station information, the frequency of the positioning module for acquiring the positioning information can be reduced, and the power consumption of the positioning module is further reduced. The positioning module can also be temporarily closed, the positioning information is cached, and when other applications access the positioning module to inquire the position information, the cached positioning information is sent to other applications.
Further, the operation frequency of the positioning module is reduced, and the method can be implemented by the following steps:
firstly, acquiring the average photographing time of the current scenic spot; then, the working frequency of the positioning module is reduced within the average photographing time.
In some scenic spots, a private base station within the scenic spot is set, and when a user enters the scenic spot, the terminal connects to the base station private to the base station. And judging whether the user is in a certain scenic spot or not according to the base station mark. And obtaining the average photographing time of the scenic spot through big data analysis. For example, if a user plays in a world park, and the time for playing in an asian park is typically 20 minutes, the average photographing time period is determined to be 20 minutes. The average photographing time here is the average time of stay of the user in the current scenic spot obtained by big data statistics. And when the average photographing duration is exceeded, restoring the working frequency of the positioning module.
In another implementation scenario, when the user makes a guest to a friend's house, the average time that the user stays in the base station corresponding to the friend's house in the past may be recorded by the server, and the average time may be determined as the average photographing time. And then realize that the user when shooing in the place that often appears such as friend's house, school or unit, the orientation module can be according to user's residence time in the past to the orientation module control, reduces the orientation module consumption.
According to the control scheme of the positioning module provided by the embodiment of the application, firstly, when a user triggers a photographing instruction, the information of a first base station which is currently registered is acquired; then judging whether the first base station information is the same as the second base station information, wherein the second base station is the base station information registered at the previous time; and if the first base station information is the same as the second base station information, determining the first base station information as the positioning information, and reducing the working frequency of the positioning module. When the first base station information is the same as the second base station information, it indicates that the user is within the range of the base station recently, so that the position information of the base station can be used as the position information of the user, and further the working frequency of the positioning module is reduced, and the power consumption of the positioning module is reduced.
Further, fig. 2 is a schematic flowchart of a control method of another positioning module according to an embodiment of the present application, and as a further description of the foregoing embodiment, in step 120, after determining whether the first base station information is the same as the second base station information, and the second base station is the base station information registered last time, the method further includes:
step 140, if the first base station information is not the same as the second base station information, updating the second base station information to the first base station information.
And 150, improving the working frequency of the positioning module.
If the second base station information is different from the first base station information, it indicates that the terminal has left the coverage of the second base station, and at this time, the second base station information, that is, the base station information that the user registered last time, needs to be updated. Meanwhile, the terminal enters a new base station range, which indicates that the terminal may move, the working frequency of the positioning module is increased, and the working frequency of the positioning module is increased to a normal state or higher than the normal state. The normal state may be 1 time/second.
Wherein, the improvement of the working frequency of the positioning module comprises:
improving the acquisition frequency of the positioning information of the positioning module; alternatively, the positioning module is started.
Due to uncertainty of the terminal running track, the terminal may go to other base station ranges after staying in a certain base station range, and at this time, the operating frequency of the positioning module, which has been reduced during the terminal staying period, even turns off the positioning module. At this time, when it is detected that the first base station information is different from the second base station information, the operating frequency of the positioning module needs to be replied. And then the working frequency of the positioning module can be recovered in time, and the effectiveness of the positioning information is improved.
Further, the method also comprises the following steps: and when receiving a positioning instruction sent by other applications, feeding back the position information of the first base station to the other applications, wherein the other applications are applications with positioning requirements except the photographing application.
After the work-in rate of the positioning module is reduced, if an event that other applications request the positioning module to send positioning information occurs, the position information of the first base station is fed back to other applications. Other applications may be navigation applications, photo album applications, shopping applications, etc.
The control method for the positioning module provided in this embodiment can provide the position information for other applications with the position information acquiring requirement according to the cached first base station information after the working frequency of the positioning module is reduced, and maintain the stable operation of the terminal while reducing the power consumption of the positioning module.
Fig. 3 is a schematic structural diagram of a control device of a positioning module according to an embodiment of the present disclosure. As shown in fig. 3, the apparatus includes: a base station information obtaining module 210, a judging module 220, a positioning information determining module 230 and a control module 240.
A base station information obtaining module 210, configured to obtain currently registered first base station information when a user triggers a photographing instruction;
a determining module 220, configured to determine whether the first base station information obtained by the base station information obtaining module 210 is the same as second base station information, where the second base station is base station information registered in the previous time;
a positioning information determining module 230, configured to determine the first base station information as positioning information if the determining module 220 determines that the first base station information is the same as the second base station information;
and a control module 240 for reducing the operating frequency of the positioning module.
Further, the base station information obtaining module 210 is configured to:
when a user starts a photographing application, triggering a photographing instruction; or,
when the user clicks the photographing button or the video recording button, a photographing instruction is triggered.
Further, the control module 240 is configured to:
reducing the acquisition frequency of the positioning information of the positioning module; or,
the positioning module is closed.
Further, as shown in fig. 4, an update module 250 and a feedback module 260 are also included.
An updating module 250, configured to update the second base station information to the first base station information if the first base station information is different from the second base station information;
the control module 240 is also configured to increase the operating frequency of the positioning module.
Further, the control module 240 is further configured to increase the frequency of acquiring the positioning information of the positioning module; or,
and starting the positioning module.
Further, the feedback module 260 is configured to feed back the position information of the first base station to other applications when receiving a positioning instruction sent by the other applications, where the other applications are applications with positioning requirements other than the photographing application.
Further, the control module 240 is further configured to:
acquiring the average photographing time of the current scenic spot;
and reducing the working frequency of the positioning module in the average photographing time.
In the control device of the positioning module provided in the embodiment of the present application, the base station information obtaining module 210 obtains the currently registered first base station information when the user triggers the photographing instruction; the determining module 220 determines whether the first base station information is the same as the second base station information, where the second base station is the base station information registered previously; the positioning information determining module 230 determines the first base station information as the positioning information when the determining module 220 determines that the first base station information is the same as the second base station information, and the control module 240 is configured to decrease the operating frequency of the positioning module. When the first base station information is the same as the second base station information, it indicates that the user is within the range of the base station recently, so that the position information of the base station can be used as the position information of the user, and further the working frequency of the positioning module is reduced, and the power consumption of the positioning module is reduced.
The device can execute the methods provided by all the embodiments of the application, and has corresponding functional modules and beneficial effects for executing the methods. For details of the technology not described in detail in this embodiment, reference may be made to the methods provided in all the foregoing embodiments of the present application.
Fig. 5 is a schematic structural diagram of another terminal device provided in an embodiment of the present application. As shown in fig. 5, the terminal may include: a housing (not shown), a memory 301, a Central Processing Unit (CPU) 302 (also called a processor, hereinafter referred to as CPU), a computer program stored in the memory 301 and operable on the processor 302, a circuit board (not shown), and a power circuit (not shown). The circuit board is arranged in a space enclosed by the shell; the CPU302 and the memory 301 are disposed on the circuit board; the power supply circuit is used for supplying power to each circuit or device of the terminal; the memory 301 is used for storing executable program codes; the CPU302 executes a program corresponding to the executable program code by reading the executable program code stored in the memory 301.
The terminal further comprises: peripheral interface 303, RF (Radio Frequency) circuitry 305, audio circuitry 306, speakers 311, power management chip 308, input/output (I/O) subsystems 309, touch screen 312, other input/control devices 310, and external ports 304, which communicate via one or more communication buses or signal lines 307.
It should be understood that the illustrated terminal device 300 is only one example of a terminal, and that the terminal device 300 may have more or fewer components than shown in the figures, may combine two or more components, or may have a different configuration of components. The various components shown in the figures may be implemented in hardware, software, or a combination of hardware and software, including one or more signal processing and/or application specific integrated circuits.
The following describes in detail a terminal device provided in this embodiment, where the terminal device is a smart phone as an example.
A memory 301, the memory 301 being accessible by a CPU302, a peripheral interface 303, or the like, the memory 301 may include high speed random access memory, and may also include non-volatile memory, such as one or more magnetic disk storage devices, flash memory devices, or other volatile solid state storage devices.
A peripheral interface 303, said peripheral interface 303 being capable of connecting input and output peripherals of the device to the CPU302 and the memory 301.
I/O subsystem 309, the I/O subsystem 309 may connect input and output peripherals on the device, such as touch screen 312 and other input/control devices 310, to the peripheral interface 303. The I/O subsystem 309 may include a display controller 3091 and one or more input controllers 3092 for controlling other input/control devices 310. Where one or more input controllers 3092 receive electrical signals from or send electrical signals to other input/control devices 310, the other input/control devices 310 may include physical buttons (push buttons, rocker buttons, etc.), dials, slide switches, joysticks, click wheels. It is noted that the input controller 3092 may be connected to any of the following: a keyboard, an infrared port, a USB interface, and a pointing device such as a mouse.
The touch screen 312 may be a resistive type, a capacitive type, an infrared type, or a surface acoustic wave type, according to the operating principle of the touch screen and the classification of media for transmitting information. Classified by the installation method, the touch screen 312 may be: external hanging, internal or integral. Classified according to technical principles, the touch screen 312 may be: a vector pressure sensing technology touch screen, a resistive technology touch screen, a capacitive technology touch screen, an infrared technology touch screen, or a surface acoustic wave technology touch screen.
A touch screen 312, which touch screen 312 is an input interface and an output interface between the user terminal and the user, displays visual output to the user, which may include graphics, text, icons, video, and the like. Optionally, the touch screen 312 sends an electrical signal (e.g., an electrical signal of the touch surface) triggered by the user on the touch screen to the processor 302.
The display controller 3091 in the I/O subsystem 309 receives electrical signals from the touch screen 312 or transmits electrical signals to the touch screen 312. The touch screen 312 detects a contact on the touch screen, and the display controller 3091 converts the detected contact into an interaction with a user interface object displayed on the touch screen 312, i.e., implements a human-machine interaction, and the user interface object displayed on the touch screen 312 may be an icon for running a game, an icon networked to a corresponding network, or the like. It is worth mentioning that the device may also comprise a light mouse, which is a touch sensitive surface that does not show visual output, or an extension of the touch sensitive surface formed by the touch screen.
The RF circuit 305 is mainly used to establish communication between the smart speaker and a wireless network (i.e., a network side), and implement data reception and transmission between the smart speaker and the wireless network. Such as sending and receiving short messages, e-mails, etc.
The audio circuit 306 is mainly used to receive audio data from the peripheral interface 303, convert the audio data into an electric signal, and transmit the electric signal to the speaker 311.
And the loudspeaker 311 is used for restoring the voice signal received by the smart sound box from the wireless network through the RF circuit 305 to sound and playing the sound to the user.
And the power management chip 308 is used for supplying power and managing power to the hardware connected with the CPU302, the I/O subsystem, and the peripheral interface.
In this embodiment, the central processor 302 is configured to:
when a user triggers a photographing instruction, acquiring information of a first base station which is currently registered;
judging whether the first base station information is the same as second base station information, wherein the second base station information is base station information registered at the previous time;
and if the first base station information is the same as the second base station information, determining the first base station information as positioning information, and reducing the working frequency of a positioning module.
Further, the user triggering a photographing instruction comprises:
when a user starts a photographing application, triggering a photographing instruction; or,
when the user clicks the photographing button or the video recording button, a photographing instruction is triggered.
Further, the reducing the operating frequency of the positioning module includes:
reducing the acquisition frequency of the positioning information of the positioning module; or,
the positioning module is closed.
Further, after determining whether the first base station information is the same as the second base station information, the method further includes:
if the first base station information is different from the second base station information, updating the second base station information to the first base station information;
and the working frequency of the positioning module is improved.
Further, the increasing the operating frequency of the positioning module includes:
improving the acquisition frequency of the positioning information of the positioning module; or,
and starting the positioning module.
Further, the method also comprises the following steps: and when receiving a positioning instruction sent by other applications, feeding back the position information of the first base station to the other applications, wherein the other applications are applications with positioning requirements except the photographing application.
Further, the reducing the operating frequency of the positioning module includes:
acquiring the average photographing time of the current scenic spot;
and reducing the working frequency of the positioning module in the average photographing time.
The embodiment of the present application further provides a storage medium containing terminal device executable instructions, where the terminal device executable instructions are executed by a terminal device processor to perform a control method for a positioning module, and the method includes:
when a user triggers a photographing instruction, acquiring information of a first base station which is currently registered;
judging whether the first base station information is the same as second base station information, wherein the second base station information is base station information registered at the previous time;
and if the first base station information is the same as the second base station information, determining the first base station information as positioning information, and reducing the working frequency of a positioning module.
Further, the user triggering a photographing instruction comprises:
when a user starts a photographing application, triggering a photographing instruction; or,
when the user clicks the photographing button or the video recording button, a photographing instruction is triggered.
Further, the reducing the operating frequency of the positioning module includes:
reducing the acquisition frequency of the positioning information of the positioning module; or,
the positioning module is closed.
Further, after determining whether the first base station information is the same as the second base station information, the method further includes:
if the first base station information is different from the second base station information, updating the second base station information to the first base station information;
and the working frequency of the positioning module is improved.
Further, the increasing the operating frequency of the positioning module includes:
improving the acquisition frequency of the positioning information of the positioning module; or,
and starting the positioning module.
Further, the method also comprises the following steps: and when receiving a positioning instruction sent by other applications, feeding back the position information of the first base station to the other applications, wherein the other applications are applications with positioning requirements except the photographing application.
Further, the reducing the operating frequency of the positioning module includes:
acquiring the average photographing time of the current scenic spot;
and reducing the working frequency of the positioning module in the average photographing time.
The computer storage media of the embodiments of the present application may take any combination of one or more computer-readable media. The computer readable medium may be a computer readable signal medium or a computer readable storage medium. A computer readable storage medium may be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination of the foregoing. More specific examples (a non-exhaustive list) of the computer readable storage medium would include the following: an electrical connection having one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing. In the context of this document, a computer readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device.
A computer readable signal medium may include a propagated data signal with computer readable program code embodied therein, for example, in baseband or as part of a carrier wave. Such a propagated data signal may take many forms, including, but not limited to, electro-magnetic, optical, or any suitable combination thereof. A computer readable signal medium may also be any computer readable medium that is not a computer readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device.
Program code embodied on a computer readable medium may be transmitted using any appropriate medium, including but not limited to wireless, wireline, optical fiber cable, RF, etc., or any suitable combination of the foregoing.
Computer program code for carrying out operations for aspects of the present application may be written in any combination of one or more programming languages, including an object oriented programming language such as Java, Smalltalk, C + +, or the like, as well as conventional procedural programming languages, such as the "C" programming language or similar programming languages. The program code may execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer or entirely on the remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer through any type of network, including a Local Area Network (LAN) or a Wide Area Network (WAN), or the connection may be made to an external computer (for example, through the Internet using an Internet service provider).
Of course, the storage medium provided in the embodiments of the present application and containing computer-executable instructions is not limited to the above-described application recommendation operation, and may also perform related operations in the application recommendation method provided in any embodiment of the present application.
It is to be noted that the foregoing is only illustrative of the preferred embodiments of the present application and the technical principles employed. It will be understood by those skilled in the art that the present application is not limited to the particular embodiments described herein, but is capable of various obvious changes, rearrangements and substitutions as will now become apparent to those skilled in the art without departing from the scope of the application. Therefore, although the present application has been described in more detail with reference to the above embodiments, the present application is not limited to the above embodiments, and may include other equivalent embodiments without departing from the spirit of the present application, and the scope of the present application is determined by the scope of the appended claims.

Claims (10)

1. A method for controlling a positioning module, comprising:
when a user triggers a photographing instruction, acquiring information of a first base station which is currently registered;
judging whether the first base station information is the same as second base station information, wherein the second base station information is base station information registered at the previous time;
and if the first base station information is the same as the second base station information, determining the first base station information as positioning information, and reducing the working frequency of a positioning module.
2. The method for controlling the positioning module according to claim 1, wherein the user triggering a photographing instruction comprises:
when a user starts a photographing application, triggering a photographing instruction; or,
when the user clicks the photographing button or the video recording button, a photographing instruction is triggered.
3. The method of claim 1, wherein the reducing the operating frequency of the positioning module comprises:
reducing the acquisition frequency of the positioning information of the positioning module; or,
the positioning module is closed.
4. The method of claim 1, wherein after determining whether the first base station information is the same as the second base station information, the method further comprises:
if the first base station information is different from the second base station information, updating the second base station information to the first base station information;
and improving the working frequency of the positioning module.
5. The method of claim 4, wherein said increasing the operating frequency of the positioning module comprises:
improving the positioning information acquisition frequency of the positioning module; or,
and starting the positioning module.
6. The control method of a positioning module according to claim 1, further comprising: and when receiving a positioning instruction sent by other applications, feeding back the position information of the first base station to the other applications, wherein the other applications are applications with positioning requirements except the photographing application.
7. The method of claim 1, wherein the reducing the operating frequency of the positioning module comprises:
acquiring the average photographing time of the current scenic spot;
and reducing the working frequency of the positioning module in the average photographing time.
8. A control device for a positioning module, comprising:
the base station information acquisition module is used for acquiring the information of the first base station which is currently registered when a user triggers a photographing instruction;
a judging module, configured to judge whether the first base station information acquired by the base station information acquiring module is the same as second base station information, where the second base station is base station information registered in the previous time;
a positioning information determining module, configured to determine the first base station information as positioning information if the determining module determines that the first base station information is the same as the second base station information;
and the control module is used for reducing the working frequency of the positioning module.
9. A computer-readable storage medium, on which a computer program is stored, which program, when being executed by a processor, is adapted to carry out a method of controlling a positioning module according to any one of claims 1-7.
10. A terminal comprising a memory, a processor and a computer program stored on the memory and executable on the processor, characterized in that the processor implements the method of controlling a positioning module according to any of claims 1-7 when executing the computer program.
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 广东小天才科技有限公司 Positioning method based on mobile terminal and 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 广东小天才科技有限公司 Positioning method based on mobile terminal and 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
US10257314B2 (en) End-to-end user experiences with a digital assistant
CN107835033B (en) Antenna tuning switch control method and device, terminal equipment and storage medium
AU2021204449B2 (en) Image sharing method and electronic device
CN108702602B (en) Image sharing method, electronic device and system
CN108111974A (en) Control method, device, storage medium and the terminal of locating module
CN107688638B (en) Recommendation method and device for application list, storage medium and mobile terminal
CN108055635B (en) Position information acquisition method and device, storage medium and terminal
CN106068525B (en) Advertisement information updating method and device
CN107295071A (en) Shared information of vehicles processing method, device, server, terminal and storage medium
CN108710515B (en) Application preloading method and device, storage medium and terminal
CN108681474B (en) Application preloading method and device, storage medium and terminal
KR20190017280A (en) Mobile terminal and method for controlling of the same
CN108093362B (en) Control method and device of positioning module, storage medium and terminal
CN108064023B (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
CN105850158B (en) Information processing device, information processing method, target terminal, communication method, and program
CN107809742A (en) Processing method, device, storage medium and the terminal of location information
CN108012237B (en) Positioning control method and device, storage medium and terminal equipment
CN108112061B (en) Positioning control method and device, storage medium and terminal equipment
CN108093373B (en) Positioning control method and device, storage medium and terminal equipment
CN113204302B (en) Virtual robot-based operation method, device, equipment and storage medium
CN108093363A (en) Control method, device, storage medium and the terminal of locating module
EP3686826A1 (en) Method for controlling notification and electronic device therefor
CN111726848B (en) Equipment binding method, target starting device, fixed terminal and storage medium
KR20190020940A (en) Method and apparatus for determining location using identification information corresponding external electronic 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: 20180529

RJ01 Rejection of invention patent application after publication