CN108093362B - Control method and device of positioning module, storage medium and terminal - Google Patents

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

Info

Publication number
CN108093362B
CN108093362B CN201711325712.0A CN201711325712A CN108093362B CN 108093362 B CN108093362 B CN 108093362B CN 201711325712 A CN201711325712 A CN 201711325712A CN 108093362 B CN108093362 B CN 108093362B
Authority
CN
China
Prior art keywords
user
position information
information
determining
module
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201711325712.0A
Other languages
Chinese (zh)
Other versions
CN108093362A (en
Inventor
吴丕和
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Guangdong Oppo Mobile Telecommunications Corp Ltd
Original Assignee
Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Guangdong Oppo Mobile Telecommunications Corp Ltd filed Critical Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority to CN201711325712.0A priority Critical patent/CN108093362B/en
Publication of CN108093362A publication Critical patent/CN108093362A/en
Application granted granted Critical
Publication of CN108093362B publication Critical patent/CN108093362B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/02Services making use of location information
    • H04W4/025Services making use of location information using location based information parameters
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W52/00Power management, e.g. TPC [Transmission Power Control], power saving or power classes
    • H04W52/02Power saving arrangements
    • H04W52/0209Power saving arrangements in terminal devices
    • H04W52/0261Power saving arrangements in terminal devices managing power supply demand, e.g. depending on battery level
    • H04W52/0264Power saving arrangements in terminal devices managing power supply demand, e.g. depending on battery level by selectively disabling software applications
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W64/00Locating users or terminals or network equipment for network management purposes, e.g. mobility management
    • H04W64/006Locating users or terminals or network equipment for network management purposes, e.g. mobility management with additional information processing, e.g. for direction or speed determination
    • 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 application discloses a control method, a control device, a storage medium and a terminal of a positioning module, wherein the method comprises the following steps: acquiring first position information of a first user; determining second position information according to position recording points corresponding to the first position information, wherein at least one position recording point in the second position information is the same as the first position information; determining a target user according to the second position information; and if the first user triggers a photographing instruction, sharing the positioning information acquired by the control module of the target user to the first user, and reducing the working frequency of the positioning module of the first user. The control scheme of the positioning module provided in the embodiment of the application can reduce the working frequency of the positioning module, and further reduce the power consumption of the positioning 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:
acquiring first position information of a first user;
determining second position information according to position recording points corresponding to the first position information, wherein at least one position recording point in the second position information is the same as the first position information;
determining a target user according to the second position information;
and if the first user triggers a photographing instruction, sharing the positioning information acquired by the control module of the target user to the first user, and reducing the working frequency of the positioning module of the first user.
In a second aspect, an embodiment of the present application provides a control apparatus for a positioning module, including:
the first position information acquisition module is used for acquiring first position information of a first user;
the second position information determining module is used for determining second position information according to the position recording point corresponding to the first position information acquired by the first position information acquiring module, wherein at least one position recording point in the second position information is the same as the first position information;
the target user determining module is used for determining a target user according to the second position information determined by the second position information determining module;
and the sharing module is used for sharing the positioning information acquired by the control module of the target user to the first user and reducing the working frequency of the positioning module of the first user if the first user triggers a photographing instruction.
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, first position information of a first user is obtained firstly; secondly, determining second position information according to position recording points corresponding to the first position information, wherein at least one position recording point in the second position information is the same as the first position information; thirdly, determining a target user according to the second position information; and finally, if the first user triggers a photographing instruction, sharing the positioning information acquired by the control module of the target user to the first user, and reducing the working frequency of the positioning module of the first user. Through the scheme, the working frequency of the positioning module can be reduced, 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 schematic flowchart of another control method for a positioning module according to an embodiment of the present disclosure;
fig. 4 is a schematic flowchart of another control method for a positioning module according to an embodiment of the present disclosure;
fig. 5 is a block diagram of a control device of a positioning module according to an embodiment of the present disclosure;
fig. 6 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 and an acquaintance move together, the electronic devices carried by the user and the acquaintance can simultaneously acquire position information through the positioning module, so that the positioning module generates extra power consumption and the power consumption is high. The method and the device for determining the location information of the first user determine the preset target users in the same row based on the location information of the first user, then share the location information of the target users to the first user, reduce the working frequency of a location module of the first user, further reduce the power consumption of the location module of the first user, and simultaneously do not influence the first user to obtain the location information. 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:
step 110, first position information of the first user is obtained.
The first user may be a user using any one of the terminals, and the first location information is location information detected by a location module of the terminal used by the first user, and the first location information is used to indicate a location of the first user.
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.
Optionally, the first position information may be acquired according to a preset time interval, and the preset time interval may be 1 to 30 minutes, and is preferably 5 minutes. When the first user and the other user move together, if the position information of the first user and the position information of the other user are consistent in a preset time interval, the user can be taken as a target user to share the position information for the first user.
Optionally, after the user accesses the base station, the first location information may be obtained within a preset time period, and the other users that have the same movement track as the first user or access the same base station as the first user within the preset time period of accessing the base station may be obtained.
And 120, determining second position information according to the position recording points corresponding to the first position information, wherein at least one position recording point in the second position information is the same as the first position information.
The first user can send the first position information to any second user within the coverage range of the base station through the base station. And the second user feeds back response information according to the first position information, wherein the corresponding information comprises second position information of the second user. The feedback mechanism is that the terminal corresponding to the second user judges whether the terminal and the first position information have continuous base station registration information or multiple route points expected to pass through from the detection time, and if the terminal has continuous base station registration information or multiple route points expected to pass through from the monitoring time, the second user feeds back the second position information to the first user. The detection time is the time when step 120 is executed.
The first position information may be a current movement track of the first user, or may be a set of position points including a current travel route of the first user, where the set of position points includes position points that have been passed by the first user and position points that have not been passed by the first user. For example, if the user drives a vehicle to a certain place and there is another vehicle going to the destination as well and the traveling routes of the two vehicles are the same, the position information of the same vehicle can be used as the second position information. Optionally, the first user may obtain, through the base station, second location information of any one second user registered to the base station.
And step 130, determining the target user according to the second position information.
In one implementation, the second location information may include location information corresponding to one or more users. The terminal corresponding to the first user needs to find out second position information which is closer to the first user route from the plurality of second position information, and then the user corresponding to the second position information is determined as the target user.
In another implementation manner, if the feedback information of the second user carries the connection request identifier, the second user corresponding to the second location information carrying the connection request identifier is determined as the target user. Or the terminal used by the first user screens out second position information which has continuous base station registration information or has a plurality of route points expected to pass through from the monitoring moment according to the second position information fed back by the base station, and determines the second user corresponding to the second position information as the target user.
Step 140, if the first user triggers the photographing instruction, the positioning information acquired by the control module of the target user is shared to the first user, and the working frequency of the positioning module of the first user is reduced.
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.
The reduction of the operating frequency of the positioning module may reduce the information acquisition frequency of the positioning module of the first user. It may also be that the first user's positioning module is turned off. The positioning module may be a functional module for positioning in the terminal, and the module may be a GPS positioning module or a GNSS positioning module. The frequency of the positioning module for acquiring the positioning information is reduced, and the power consumption of the positioning module can be reduced. The positioning information can be cached when the positioning module is temporarily closed, and the cached positioning information is sent to other applications when other applications access the positioning module to inquire the position information.
In the control method of the positioning module provided by this embodiment, first location information of a first user is obtained; secondly, determining second position information according to position recording points corresponding to the first position information, wherein at least one position recording point in the second position information is the same as the first position information; thirdly, determining a target user according to the second position information; and finally, if the first user triggers a photographing instruction, sharing the positioning information acquired by the control module of the target user to the first user, and reducing the working frequency of the positioning module of the first user. Because the first user and the target user have a plurality of same position points, the target user and the first user can be considered to have the same action route, and the position information of the target user is shared to the first user, so that the accurate positioning of the first user can be ensured, and the power consumption of a positioning module of the first user can be reduced.
Fig. 2 is a schematic flowchart of a control method of a positioning module according to an embodiment of the present application, which is used to further describe the foregoing embodiment, and includes:
step 210, obtaining first location information of a first user.
Step 220, acquiring the base station currently registered by the first user.
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).
The terminal registers to different base stations in the moving process, and the terminal can cache the registered base station information to generate 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, where the base station on the top of the stack structure is the base station currently registered by the terminal, and the base station information accessed by the terminal is sequentially from the top to the bottom.
Step 230, at least one second user registered to the base station and third location information thereof are acquired.
The terminal of the first user sends a user registration information acquisition request to the base station, and the base station returns a second user currently connected to the base station and third position information corresponding to the second user to the first user according to the request. The third location information may be location information within the coverage of the base station obtained by the second user positioning module, may also include a base station list of the second user, or a moving track of the second user, and may also include waypoint information that the second user is expected to reach.
And step 240, determining second position information according to the position recording point corresponding to the first position information and the third position information.
And if the first position information comprises the expected arrival path point information, comparing the first position information with the expected arrival path point information in the third position information, and if the expected arrival path point information is the same, determining the third position information as the second position information.
Further, determining second position information according to the position recording point corresponding to the first position information and the third position information, including:
and determining the third position information as the second position information if at least one continuous recording point exists in the third position information identical to the first position information.
The continuous recording points in the third location information may be base station information continuously registered from the detection time, or may be a plurality of positioning points positioned by the positioning module. When comparing the positioning points, if the error between two positioning points (one from the first position information and one from the third position information) is smaller than the preset range, the two positioning points are considered as the same position point. The preset range is 3-10 meters, and 5 meters can be selected.
And step 250, determining the target user according to the second position information.
And determining the user corresponding to the second position information as the target user.
Step 260, if the first user triggers the photographing instruction, the positioning information acquired by the control module of the target user is shared to the first user, and the working frequency of the positioning module of the first user is reduced.
The control method for the positioning module provided in this embodiment can find the second location information that is in the same route as the first user according to the existing route point or the route point expected to arrive by the user, and when the user triggers the photographing instruction, share the location information of the target user corresponding to the second location information to the first user, and by determining the target users in the same route, the power consumption of the positioning module of the first user can be reduced during photographing.
Fig. 3 is a schematic flowchart of a control method of a positioning module according to an embodiment of the present application, which is used to further describe the foregoing embodiment, and includes:
step 310, first position information of the first user is obtained.
Step 320, acquiring the base station currently registered by the first user.
Step 330, at least one second user registered to the base station and third location information thereof are acquired.
And step 340, determining second position information according to the position recording point corresponding to the first position information and the third position information.
And step 350, determining the second user according to the second position information.
After determining the second location information, there may be a plurality of second users. And searching the user identification corresponding to the second user in the contact of the first user according to the equipment identification code of the second user. The user identification may be a nickname for instant messaging, or a telephone number or mailbox address, etc.
And step 360, acquiring the association degree of the second user and the first user.
The association degree is used for representing the possibility that the second user and the first user are in the same row, and the higher the association degree is, the higher the probability that the rest first users are in the same row is. The association degree can be determined according to the recent call frequency, and also can be determined according to the sending time of the latest mail.
Optionally, first, the instant messaging information between the second user and the first user is obtained. And then, acquiring the communication frequency according to the instant communication information, and taking the communication frequency as the association degree. The instant messaging software is communication software which is frequently used by a user at present, the instant messaging information can be communication data of a second user and a first user in the instant messaging software, and if the communication frequency of the second user and the first user is high, the corresponding association degree of the second user is also high.
And step 370, determining the target user according to the association degree.
And determining the second user with the highest relevance as the target user.
Step 380, if the first user triggers the photographing instruction, the positioning information acquired by the control module of the target user is shared to the first user, and the working frequency of the positioning module of the first user is reduced.
The control method for the positioning module provided by this embodiment can determine the target user according to the communication frequency between the second user and the first user, so as to determine the target user according to the position and the association degree, improve the accuracy of the determination of the target user, and further improve the accuracy of the positioning information.
Fig. 4 is a schematic flowchart of a control method of a positioning module according to an embodiment of the present application, which is used to further describe the foregoing embodiment, and includes:
step 410, first position information of the first user is obtained.
And step 420, determining second position information according to the position recording points corresponding to the first position information, wherein at least one position recording point in the second position information is the same as the first position information.
And step 430, determining the target user according to the second position information.
Step 440, if the first user triggers the photographing instruction, acquiring the relative position between the target user and the first user through a bluetooth communication protocol.
The bluetooth communication protocol provides an algorithm for measuring a terminal location fingerprint, by which a relative position between a target user and a first user can be calculated.
And step 450, determining shared positioning information according to the relative position and the positioning information acquired by the control module of the target user.
And after the relative position of the first user relative to the target user is measured, calculating the relative position and the positioning information to obtain the shared positioning information.
Step 460, sharing the shared positioning information to the first user.
And the first user receives the shared position information sent by the target terminal. Optionally, step 142 may also be performed by the first user, and at this time, after the target terminal sends the location information to the first user, the first user may calculate the shared location information.
Step 470, reducing the operating frequency of the positioning module of the first user.
The control method of the positioning module provided in this embodiment may determine the relative position between the target user and the first user according to the bluetooth signal, and determine the first user according to the positioning information of the target user and the relative position.
Fig. 5 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. 5, the apparatus includes: a first location information acquisition module 510, a second location information determination module 520, a target user determination module 530, and a sharing module 540.
The first location information acquiring module 510 is configured to acquire first location information of a first user.
A second location information determining module 520, configured to determine second location information according to a location record point corresponding to the first location information acquired by the first location information acquiring module 510, where at least one location record point in the second location information is the same as the first location information.
A target user determining module 530, configured to determine a target user according to the second location information determined by the second location information determining module 520.
The sharing module 540 is configured to, if the first user triggers the photographing instruction, share the positioning information acquired by the control module of the target user to the first user, and reduce the working frequency of the positioning module of the first user.
Further, the second location information determining module 520 is configured to:
and acquiring the base station currently registered by the first user.
And acquiring at least one second user registered to the base station and third position information thereof.
And determining second position information according to the position recording point corresponding to the first position information and the third position information.
Further, the second location information determining module 520 is configured to:
and determining the third position information as the second position information if at least one continuous recording point exists in the third position information and is the same as the first position information.
Further, the target user determination module 530 is configured to:
and determining a second user according to the second position information.
And acquiring the association degree of the second user and the first user.
And determining the target user according to the association degree.
Further, the target user determination module 530 is configured to:
and acquiring instant messaging information of the second user and the first user.
And acquiring communication frequency according to the instant communication information, and taking the communication frequency as the degree of association.
Further, the sharing module 540 is configured to:
and acquiring the relative position between the target user and the first user through a Bluetooth communication protocol.
And determining shared positioning information according to the relative position and the positioning information acquired by the control module of the target user.
Sharing the shared location information to the first user.
Further, the sharing module 540 is configured to:
and reducing the information acquisition frequency of the positioning module of the first user. Alternatively, the first and second electrodes may be,
the positioning module of the first user is turned off.
In the control apparatus of the positioning module provided in this embodiment, the first location information acquiring module 510 acquires first location information of a first user. Next, the second location information determining module 520 determines second location information according to a location record point corresponding to the first location information, where at least one location record point in the second location information is the same as the first location information. The target user determination module 530 determines the target user according to the second location information. The sharing module 540, if the first user triggers the photographing instruction, shares the positioning information acquired by the control module of the target user to the first user, and reduces the working frequency of the positioning module of the first user. Because the first user and the target user have a plurality of same position points, the target user and the first user can be considered to have the same action route, and the position information of the target user is shared to the first user, so that the accurate positioning of the first user can be ensured, and the power consumption of a positioning module of the first user can be 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. 6 is a schematic structural diagram of another terminal device provided in an embodiment of the present application. As shown in fig. 6, the terminal may include: a housing (not shown), a memory 601, a Central Processing Unit (CPU) 602 (also called a processor, hereinafter referred to as CPU), a computer program stored in the memory 601 and operable on the processor 602, a circuit board (not shown), and a power circuit (not shown). The circuit board is arranged in a space enclosed by the shell; the CPU602 and the memory 601 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 601 is used for storing executable program codes; the CPU602 executes a program corresponding to the executable program code by reading the executable program code stored in the memory 601.
The terminal further comprises: peripheral interfaces 603, RF (Radio Frequency) circuitry 605, audio circuitry 606, speakers 611, power management chip 608, input/output (I/O) subsystem 609, touch screen 612, other input/control devices 610, and external ports 604, which communicate via one or more communication buses or signal lines 607.
It should be understood that the illustrated terminal apparatus 600 is only one example of a terminal, and the terminal apparatus 600 may have more or less components than shown in the drawings, 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 601, the memory 601 being accessible by the CPU602, the peripheral interface 603, and the like, the memory 601 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 603, said peripheral interface 603 may connect input and output peripherals of the device to the CPU602 and the memory 601.
An I/O subsystem 609, the I/O subsystem 609 may connect input and output peripherals on the device, such as a touch screen 612 and other input/control devices 610, to the peripheral interface 603. The I/O subsystem 609 may include a display controller 6091 and one or more input controllers 6092 for controlling other input/control devices 610. Where one or more input controllers 6092 receive electrical signals from or transmit electrical signals to other input/control devices 610, the other input/control devices 610 may include physical buttons (push buttons, rocker buttons, etc.), dials, slide switches, joysticks, click wheels. It is noted that the input controller 6092 may be connected to any one of: a keyboard, an infrared port, a USB interface, and a pointing device such as a mouse.
The touch screen 612 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 612 may be: external hanging, internal or integral. Classified according to technical principles, the touch screen 612 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 612, which touch screen 612 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 612 sends an electrical signal (e.g., an electrical signal of the touch surface) triggered by the user on the touch screen to the processor 602.
The display controller 6091 in the I/O subsystem 609 receives electrical signals from the touch screen 612 or transmits electrical signals to the touch screen 612. The touch screen 612 detects a contact on the touch screen, and the display controller 6091 converts the detected contact into an interaction with a user interface object displayed on the touch screen 612, that is, to implement a human-computer interaction, where the user interface object displayed on the touch screen 612 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 605 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 606 is mainly used to receive audio data from the peripheral interface 603, convert the audio data into an electric signal, and transmit the electric signal to the speaker 611.
The speaker 611 is used to restore the voice signal received by the smart speaker from the wireless network through the RF circuit 605 to sound and play the sound to the user.
And a power management chip 608 for supplying power and managing power to the hardware connected to the CPU602, the I/O subsystem, and the peripheral interface.
In addition, the processor 602 is also connected to a positioning module, which is used for GPS positioning.
In this embodiment, the central processor 602 is configured to:
acquiring first position information of a first user;
determining second position information according to position recording points corresponding to the first position information, wherein at least one position recording point in the second position information is the same as the first position information;
determining a target user according to the second position information;
and if the first user triggers a photographing instruction, sharing the positioning information acquired by the control module of the target user to the first user, and reducing the working frequency of the positioning module of the first user.
Further, the determining the second location information according to the location record point corresponding to the first location information includes:
acquiring a base station currently registered by the first user;
acquiring at least one second user registered to the base station and third position information thereof;
and determining second position information according to the position recording point corresponding to the first position information and the third position information.
Further, the determining second location information according to the location record point corresponding to the first location information and the third location information includes:
and determining the third position information as the second position information if at least one continuous recording point exists in the third position information and is the same as the first position information.
Further, the determining a target user according to the second location information includes:
determining a second user according to the second position information;
acquiring the association degree of the second user and the first user;
and determining the target user according to the association degree.
Further, the obtaining of the association degree between the second user and the first user includes:
acquiring instant messaging information of the second user and the first user;
and acquiring communication frequency according to the instant communication information, and taking the communication frequency as the degree of association.
Further, the sharing the positioning information acquired by the control module of the target user to the first user includes:
acquiring the relative position between a target user and the first user through a Bluetooth communication protocol;
determining shared positioning information according to the relative position and positioning information acquired by a control module of the target user;
sharing the shared location information to the first user.
Further, reducing the operating frequency of the positioning module of the first user comprises:
reducing the information acquisition frequency of the positioning module of the first user; alternatively, the first and second electrodes may be,
the positioning module of the first user is turned off.
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:
acquiring first position information of a first user;
determining second position information according to position recording points corresponding to the first position information, wherein at least one position recording point in the second position information is the same as the first position information;
determining a target user according to the second position information;
and if the first user triggers a photographing instruction, sharing the positioning information acquired by the control module of the target user to the first user, and reducing the working frequency of the positioning module of the first user.
Further, the determining the second location information according to the location record point corresponding to the first location information includes:
acquiring a base station currently registered by the first user;
acquiring at least one second user registered to the base station and third position information thereof;
and determining second position information according to the position recording point corresponding to the first position information and the third position information.
Further, the determining second location information according to the location record point corresponding to the first location information and the third location information includes:
and determining the third position information as the second position information if at least one continuous recording point exists in the third position information and is the same as the first position information.
Further, the determining a target user according to the second location information includes:
determining a second user according to the second position information;
acquiring the association degree of the second user and the first user;
and determining the target user according to the association degree.
Further, the obtaining of the association degree between the second user and the first user includes:
acquiring instant messaging information of the second user and the first user;
and acquiring communication frequency according to the instant communication information, and taking the communication frequency as the degree of association.
Further, the sharing the positioning information acquired by the control module of the target user to the first user includes:
acquiring the relative position between a target user and the first user through a Bluetooth communication protocol;
determining shared positioning information according to the relative position and positioning information acquired by a control module of the target user;
sharing the shared location information to the first user.
Further, reducing the operating frequency of the positioning module of the first user comprises:
reducing the information acquisition frequency of the positioning module of the first user; alternatively, the first and second electrodes may be,
the positioning module of the first user is turned off.
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 control method of a positioning module is applied to a mobile terminal and comprises the following steps:
acquiring first position information of a first user;
determining second position information according to position recording points corresponding to the first position information, wherein at least one position recording point in the second position information is the same as the first position information;
determining a target user according to the second position information;
if the first user triggers a photographing instruction, sharing the positioning information acquired by the control module of the target user to the first user, and reducing the working frequency of the positioning module of the first user;
the determining second position information according to the position recording point corresponding to the first position information includes: the first user sends first position information to any second user within the coverage range of the base station through the base station, the second user feeds back response information according to the first position information, and the response information comprises second position information of the second user.
2. The method for controlling a positioning module according to claim 1, wherein the determining second position information according to the position recording point corresponding to the first position information comprises:
acquiring a base station currently registered by the first user;
acquiring at least one second user registered to the base station and third position information thereof;
and determining second position information according to the position recording point corresponding to the first position information and the third position information.
3. The method for controlling the positioning module according to claim 2, wherein the determining the second position information according to the position recording point corresponding to the first position information and the third position information comprises:
and determining the third position information as the second position information if at least one continuous recording point exists in the third position information and is the same as the first position information.
4. The method of claim 2, wherein the determining a target user according to the second location information comprises:
determining a second user according to the second position information;
acquiring the association degree of the second user and the first user;
and determining the target user according to the association degree.
5. The method for controlling the positioning module according to claim 4, wherein the obtaining the association degree between the second user and the first user comprises:
acquiring instant messaging information of the second user and the first user;
and acquiring communication frequency according to the instant communication information, and taking the communication frequency as the degree of association.
6. The method for controlling the positioning module according to claim 1, wherein the sharing the positioning information obtained by the control module of the target user to the first user comprises:
acquiring the relative position between a target user and the first user through a Bluetooth communication protocol;
determining shared positioning information according to the relative position and positioning information acquired by a control module of the target user;
sharing the shared location information to the first user.
7. The method of claim 1, wherein reducing the operating frequency of the first user's location module comprises:
reducing the information acquisition frequency of the positioning module of the first user; alternatively, the first and second electrodes may be,
the positioning module of the first user is turned off.
8. A control device of a positioning module is applied to a mobile terminal, and comprises:
the first position information acquisition module is used for acquiring first position information of a first user;
the second position information determining module is used for determining second position information according to the position recording point corresponding to the first position information acquired by the first position information acquiring module, wherein at least one position recording point in the second position information is the same as the first position information; the second location information determining module is further configured to send, by the first user, first location information to any one second user within a coverage area of the base station through the base station, where the second user feeds back response information according to the first location information, and the response information includes second location information of the second user;
the target user determining module is used for determining a target user according to the second position information determined by the second position information determining module;
and the sharing module is used for sharing the positioning information acquired by the control module of the target user to the first user and reducing the working frequency of the positioning module of the first user if the first user triggers a photographing instruction.
9. A terminal, characterized in that the terminal comprises:
one or more processors;
a storage device for storing one or more programs,
when executed by the one or more processors, cause the one or more processors to implement a method of controlling a positioning module as recited in any of claims 1-7.
10. 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.
CN201711325712.0A 2017-12-13 2017-12-13 Control method and device of positioning module, storage medium and terminal Active CN108093362B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201711325712.0A CN108093362B (en) 2017-12-13 2017-12-13 Control method and device of positioning module, storage medium and terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201711325712.0A CN108093362B (en) 2017-12-13 2017-12-13 Control method and device of positioning module, storage medium and terminal

Publications (2)

Publication Number Publication Date
CN108093362A CN108093362A (en) 2018-05-29
CN108093362B true CN108093362B (en) 2021-01-01

Family

ID=62175187

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201711325712.0A Active CN108093362B (en) 2017-12-13 2017-12-13 Control method and device of positioning module, storage medium and terminal

Country Status (1)

Country Link
CN (1) CN108093362B (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109040953B (en) * 2018-07-26 2020-11-27 南京博晟宇网络科技有限公司 Mobile terminal positioning control system based on Internet of things
CN108966134B (en) * 2018-07-26 2020-11-27 宁波海特技术转移有限公司 Mobile terminal positioning control method based on Internet of things
CN109040956B (en) * 2018-08-02 2020-08-14 深圳市中科信通信息技术有限公司 Mobile terminal energy-saving positioning method based on Internet of things
CN109618278B (en) * 2018-12-04 2020-10-13 维沃移动通信有限公司 Positioning method and mobile terminal

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103905986A (en) * 2014-04-02 2014-07-02 汪家祥 Method and system for sharing positions
CN104364730A (en) * 2012-03-09 2015-02-18 英特尔公司 Systems and methods for low power processing based on location information
CN104768127A (en) * 2014-01-07 2015-07-08 中兴通讯股份有限公司 Positioning method, device and server
CN104796468A (en) * 2015-04-14 2015-07-22 蔡宏铭 Method and system for realizing instant messaging of people travelling together and travel-together information sharing
CN105336165A (en) * 2015-10-28 2016-02-17 东莞酷派软件技术有限公司 Method and apparatus for obtaining driving information of vehicles

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9686649B2 (en) * 2015-03-13 2017-06-20 Intel IP Corporation Determination of device location in crowded indoor environments

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104364730A (en) * 2012-03-09 2015-02-18 英特尔公司 Systems and methods for low power processing based on location information
CN104768127A (en) * 2014-01-07 2015-07-08 中兴通讯股份有限公司 Positioning method, device and server
CN103905986A (en) * 2014-04-02 2014-07-02 汪家祥 Method and system for sharing positions
CN104796468A (en) * 2015-04-14 2015-07-22 蔡宏铭 Method and system for realizing instant messaging of people travelling together and travel-together information sharing
CN105336165A (en) * 2015-10-28 2016-02-17 东莞酷派软件技术有限公司 Method and apparatus for obtaining driving information of vehicles

Also Published As

Publication number Publication date
CN108093362A (en) 2018-05-29

Similar Documents

Publication Publication Date Title
CN109891934B (en) Positioning method and device
CN109479180B (en) Method and terminal for displaying current geographic position on emergency call interface
CN107667542B (en) Use the location determination of partner appliance
EP2962066B1 (en) Indoor positioning using disambiguation information from other mobile devices
KR101258013B1 (en) Location determination
CN108093362B (en) Control method and device of positioning module, storage medium and terminal
CN107508883B (en) Information pushing method and device, storage medium and mobile terminal
CN108055642B (en) Control method and device of positioning module, storage medium and mobile terminal
CN107688638B (en) Recommendation method and device for application list, storage medium and mobile terminal
US9838848B2 (en) Venue data prefetch
CN105284163A (en) Reduced power location determinations for detecting geo-fences
CN108681474B (en) Application preloading method and device, storage medium and terminal
CN108362310B (en) Method and device for determining geomagnetic accuracy, storage medium and terminal
CN108111974A (en) Control method, device, storage medium and the terminal of locating module
CN108055635B (en) Position information acquisition method and device, storage medium and terminal
CN113364490B (en) NFC application calling method, electronic equipment and NFC device
CN109219953A (en) A kind of alarm clock prompting method and terminal device
CN105850158B (en) Information processing device, information processing method, target terminal, communication method, and program
CN108055644B (en) Positioning control method and device, storage medium and terminal equipment
CN108093367B (en) Control method and device based on positioning module, storage medium and mobile terminal
CN110622528B (en) Information recommendation method and device
CN107809742A (en) Processing method, device, storage medium and the terminal of location information
KR20120137602A (en) Electronic device and method for social networking service
CN108093373B (en) Positioning control method and device, storage medium and terminal equipment
CN108112061B (en) Positioning control method and device, storage medium and terminal equipment

Legal Events

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

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

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

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

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

CB02 Change of applicant information
GR01 Patent grant
GR01 Patent grant