CN108072885A - Collocation method, device, storage medium and the terminal of locating module - Google Patents

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

Info

Publication number
CN108072885A
CN108072885A CN201711344188.1A CN201711344188A CN108072885A CN 108072885 A CN108072885 A CN 108072885A CN 201711344188 A CN201711344188 A CN 201711344188A CN 108072885 A CN108072885 A CN 108072885A
Authority
CN
China
Prior art keywords
information
locating module
terminal
national information
current national
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
CN201711344188.1A
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 CN201711344188.1A priority Critical patent/CN108072885A/en
Publication of CN108072885A publication Critical patent/CN108072885A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G01MEASURING; TESTING
    • G01SRADIO DIRECTION-FINDING; RADIO NAVIGATION; DETERMINING DISTANCE OR VELOCITY BY USE OF RADIO WAVES; LOCATING OR PRESENCE-DETECTING BY USE OF THE REFLECTION OR RERADIATION OF RADIO WAVES; ANALOGOUS ARRANGEMENTS USING OTHER WAVES
    • G01S19/00Satellite radio beacon positioning systems; Determining position, velocity or attitude using signals transmitted by such systems
    • G01S19/01Satellite radio beacon positioning systems transmitting time-stamped messages, e.g. GPS [Global Positioning System], GLONASS [Global Orbiting Navigation Satellite System] or GALILEO
    • G01S19/13Receivers
    • G01S19/34Power consumption
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W64/00Locating users or terminals or network equipment for network management purposes, e.g. mobility management
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M2250/00Details of telephonic subscriber devices
    • H04M2250/10Details of telephonic subscriber devices including a GPS signal receiver
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

Landscapes

  • Engineering & Computer Science (AREA)
  • Radar, Positioning & Navigation (AREA)
  • Remote Sensing (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Signal Processing (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

The embodiment of the present application, which discloses a kind of collocation method of locating module, device, storage medium and terminal, this method, to be included:Judge whether the corresponding current national information of terminal changes;If the corresponding current national information of terminal changes, satellite system information is obtained;Locating module is configured according to the satellite system information.The control program of the locating module provided in the embodiment of the present application, first determines whether the corresponding current national information of terminal changes;If the corresponding current national information of terminal changes, satellite system information is obtained;Then locating module is configured according to the satellite system information, can be carried out according to national information searching star during star is searched, reduce the power consumption of locating module.

Description

Collocation method, device, storage medium and the terminal of locating module
Technical field
The invention relates to the collocation method of mobile terminal positioning technology field more particularly to locating module, device, Storage medium and terminal.
Background technology
As the electronic equipments such as the continuous development of electronic equipment, mobile terminal can provide positioning service to the user.Mobile phone Locating module is installed in advance in the terminal by manufacturer, and locating module passes through Global Navigation Satellite System (GNSS, Global Navigation Satellite System) obtain mobile terminal location information.Location-based service is based in mobile terminal The positioning that the application program (APP, Application) of (LBS, Location Based Service) is provided by locating module Information realization positions.
As the correlator of chip hardware, locating module is used for search of satellite, current location can be searched by searching star Corresponding satellite.Then locating module is configured according to the satellite searched.But star process power consumption is searched in the prior art Amount is higher.
The content of the invention
The purpose of the embodiment of the present application is to provide a kind of collocation method of locating module, device, storage medium and terminal, can The power consumption of locating module during star is searched with reduction.
In a first aspect, the embodiment of the present application provides a kind of collocation method of locating module, including:
Judge whether the corresponding current national information of terminal changes;
If the corresponding current national information of terminal changes, satellite system information is obtained;
Locating module is configured according to the satellite system information.
Second aspect, the embodiment of the present application provide a kind of configuration device of locating module, including:
Judgment module, for judging whether the corresponding current national information of terminal changes;
Acquisition module if judging that the corresponding current national information of terminal changes for the judgment module, obtains Take satellite system information;
Configuration module, the satellite system information for being obtained according to the acquisition module match somebody with somebody locating module It puts.
The third aspect, the embodiment of the present application provide a kind of computer readable storage medium, are stored thereon with computer journey Sequence realizes the collocation method of the locating module as shown in first aspect when the program is executed by processor.
Fourth aspect, the embodiment of the present application provide a kind of terminal, and including memory, processor and storage are on a memory And the computer program that can be run in processor, the processor are realized when performing the computer program as shown in first aspect Locating module collocation method.
The control program of the locating module provided in the embodiment of the present application first determines whether the corresponding current national information of terminal Whether change;If the corresponding current national information of terminal changes, satellite system information is obtained;Then according to institute It states satellite system information to configure locating module, can search star according to national information during star is searched, it is fixed to reduce The power consumption of position module.
Description of the drawings
Fig. 1 is a kind of flow diagram of the collocation method of locating module provided by the embodiments of the present application;
Fig. 2 is the flow diagram of the collocation method of another locating module provided by the embodiments of the present application;
Fig. 3 is the flow diagram of the collocation method of another locating module provided by the embodiments of the present application;
Fig. 4 is the flow diagram of the collocation method of another locating module provided by the embodiments of the present application;
Fig. 5 is a kind of structure diagram of the configuration device of locating module provided by the embodiments of the present application;
Fig. 6 is a kind of structure diagram of mobile terminal provided by the embodiments of the present application.
Specific embodiment
Further illustrate the technical solution of the application below with reference to the accompanying drawings and specific embodiments.It is appreciated that It is that specific embodiment described herein is used only for explaining the application rather than the restriction to the application.It further needs exist for illustrating , part relevant with the application rather than entire infrastructure are illustrated only for ease of description, in attached drawing.
It should be mentioned that some exemplary embodiments are described as before exemplary embodiment is discussed in greater detail The processing described as flow chart or method.Although each step is described as the processing of order, many of which by flow chart Step can be implemented concurrently, concomitantly or simultaneously.In addition, the order of each step can be rearranged.When its operation The processing can be terminated during completion, it is also possible to have the additional step being not included in attached drawing.The processing can be with Corresponding to method, function, regulation, subroutine, subprogram etc..
With the development of electronic equipment, electronic equipment can provide positioning service to the user.With the generation of positioning service Use of the application program of installation on an electronic device to providing the locating module of location information is also more and more frequent.At present, GPS Satellite system uses 24 satellites to be positioned for Global Subscriber, and Beidou satellite system uses 35 satellites to be carried out for Global Subscriber Positioning.GPS satellite system and Beidou satellite system can position terminal by four satellites, obtain the coordinate of terminal. In general, terminal, when being positioned, first choice needs at least four satellites that can be communicated by searching star search, then by defending Star obtains location information.But during carrying out searching star, since every satellite corresponds to a frequency range, it is therefore desirable to whole frequencies The signal of section is detected, and can be obtained the satellite that can search for, will be generated substantial amounts of energy expenditure at this time.Based on this, this Shen A kind of when the national information of terminal changes, acquisition satellite system information please be provide, and then in the national information of terminal It when not changing, avoids the problem that the satellite-signal of terminal-pair full frequency band is detected and causes the wasting of resources, searching the reduction of star stage The power consumption of locating module.Concrete scheme is as follows:
Fig. 1 is the flow diagram of the collocation method of locating module provided by the embodiments of the present application, and this method can be by carrying It is performed for the device of positioning service, wherein the device can generally be integrated in the terminal by software and/or hardware realization, Mobile terminal can be smart mobile phone, tablet computer, wearable device etc., as shown in Figure 1, this method includes:
Step 110 judges whether the corresponding current national information of terminal changes.
Terminal records current national information according to prefixed time interval, and the current national information that terminal judges once is remembered with preceding Whether the national information of record is identical, does not change if the same, changes if differing.
Current national information can be obtained by locating module.After locating module starts, can once it be recorded by preceding The corresponding satellite of national information is configured, and locating module carries out, with acquisition coordinate is postponed, state's letter from home being can obtain according to the coordinate Breath.If mistake occurs for the preceding national information once recorded, satellite positioning can not be correctly carried out, and then can determine that terminal-pair The current national information answered changes.
If the corresponding current national information of step 120, terminal changes, satellite system information is obtained.
When the corresponding current national information of terminal changes, can carry out searching star by full frequency band.Can also, pass through Network positions obtain the national information where present terminal, then determine that corresponding satellite system is believed according to the national information Breath.For example, terminal is located at China, then the satellite for China services be satellite A, satellite B, satellite C and satellite D.Terminal is located at Japan, then the satellite for Japan's service be satellite D, satellite E, satellite F and satellite G.By inquiring about country and being taken for country The satellite information of business, it may be determined that the corresponding satellite system information of current national information, satellite system information include at least one defend Star information.
Step 130 configures locating module according to satellite system information.
According to satellite system information locating module can be controlled to be sent and received signals on the corresponding wave band of satellite information, Satellite information is for the current national corresponding satellite of mark and terminal.Locating module is configured according to satellite system information Afterwards, data transmit-receive can be carried out in the corresponding frequency range of satellite information, realizes positioning.
The collocation method of locating module provided by the embodiments of the present application first determines whether that the corresponding current national information of terminal is It is no to change;If the corresponding current national information of terminal changes, satellite system information is obtained;Then according to Satellite system information configures locating module.Compared with big, the application that search star power consumption in full frequency band in correlation technique It can be carried out according to national information searching star during star is searched, reduce the power consumption of locating module.
Fig. 2 is the flow diagram of the collocation method of another locating module provided by the embodiments of the present application, as to upper The further explanation of embodiment is stated, including:
Step 210, when receive location information obtain instruction when, obtain current national information.
In order to reduce power consumption, terminal starts locating module and is positioned when receiving location information acquisition instruction.If Location information is not received and obtains instruction, then does not start locating module.Location information is obtained there are many triggerings of instruction, can be wrapped Include at least one of following manner or a variety of combinations:When user starts camera applications, triggering location information obtains instruction; Alternatively, when user clicks on taking pictures in camera applications or shooting push button, triggering location information obtains instruction;Alternatively, work as user When starting navigation, triggering location information obtains instruction.
Illustratively, camera icon triggering location information can be clicked in user and obtains instruction.It can also pass through in user Shortcut startup is taken pictures and is triggered when applying.For example, in locking screen interface, if user in preset direction (such as from direction under screen It is mobile above screen) on carry out slide, then start application of taking pictures.It can also be user in instant chat, shopping application, letter Breath is recommended in application, when starting camera function, triggers photographing instruction.
Optionally, when user, which clicks on, takes pictures button or record button, photographing instruction is triggered.Button of taking pictures can be to take pictures Button of taking pictures (white color knobs) or camera shooting button (red button) in, or the combination button in terminal.Combination Button can also be to double-click screen or double-click HOME keys etc..
After user starts navigation application or map application, user can input start position and final position, terminal root Navigation routine is drawn out according to start position and final position.It is navigated if user confirms according to navigation routine, triggering is fixed Position acquisition of information instruction.
Terminal can obtain current national information by locating module.When obtaining current national information by locating module, Can corresponding satellite information be searched according to the preceding national information once recorded, with accordingly defending in the corresponding frequency range of satellite information Star carries out data interaction and realizes positioning, gets satellite positioning information.Satellite positioning information can be a coordinate information, by this Country where coordinate information is determined as current national information.
Terminal can also obtain current national information by network positions.Due to by locating module carry out positioning need with Satellite communicates, and needs to start locating module and locating module is configured, therefore power consumption is higher.Determined by network The current national information in position can obtain current national information quickly using less electricity.Following manner can specifically be passed through In the combination of any one or more obtain current national information:It is obtained by the physical address for the base station currently registered current National information;Alternatively, current national information is obtained by the physical address of wireless router.
It can currently be registered by the set expression terminal of position area number (lac) and cell ID (ci) in Android system Base station information.Further, base station identity code (BSIC) is can also use each base station is identified.It can according to base station information To access base station, the physical address of base station is obtained.Each base station has its unique physical address, can be with according to the physical address Base station the country one belongs to is inquired, and then base station the country one belongs to is determined as current national information.
Terminal may be coupled to Wireless Fidelity WIFI network, and each WIFI network is carried by one or more wireless routers For, terminal the physical address of the gateway can be inquired about by accessing the gateway of local wireless local area network, it can according to the physical address To inquire about its country one belongs to, and then the country is determined as current national information.
Step 220 judges whether current national information and the preceding national information once stored are consistent.
Terminal stores the current national information got every time, obtains national information list.National information list In preserve obtain national information time and acquisition national information.It, will when getting this current national information Current national information is compared with the preceding national information once stored.If if it is not the same, then perform step 230, identical, Then perform step 250.
If step 230, current national information and the preceding national information once stored are inconsistent, satellite system letter is obtained Breath.
If current national information and the preceding national information once stored are inconsistent, can not using original satellite information It is successfully positioned, it is therefore desirable to satellite system information be obtained according to current national information, which includes current The corresponding satellite information of national information.Then step 240 is performed.
Step 240 configures locating module according to satellite system information.
If step 250, current national information are consistent with the preceding national information once stored, once stored using preceding The corresponding satellite system information of national information configures locating module.
Optionally, if locating module it is each complete to preserve after positioning before the data that once configure, step 250 can be with Behavior, if current national information is consistent with the preceding national information once stored, positioned using locating module.
The collocation method of locating module provided in this embodiment can be obtained by network positions and satellite positioning two ways National information is taken, so that the national information got is more accurate or more energy saving quick acquisition national information.
Fig. 3 is the flow diagram of the collocation method of another locating module provided by the embodiments of the present application, as to upper The further explanation of embodiment is stated, including:
Step 310 judges whether current residual electricity is less than default power threshold.
Optionally, power consumption rate is estimated according to terminal current power consumption, is used according to the power consumption rate calculations terminal residual Time, if the residue usage time is less than preset duration, it is determined that current residual electricity is less than default power threshold.Wherein, Preset duration can be 30 minutes -2 it is small when, be chosen as 1 it is small when.
Optionally, default power threshold can be 10-30%, after obtaining terminal current residual electricity, judge that the electricity is It is no to be less than default power threshold.
If step 320, current residual electricity are less than default power threshold, the corresponding current national information of terminal is judged Whether change.
If the corresponding current national information of step 330, terminal changes, satellite system information is obtained.
Step 340 configures locating module according to satellite system information.
The collocation method of control module provided in this embodiment, can be relatively low in terminal power (being less than default power threshold) When, the acquisition frequency range of satellite-signal is targetedly determined according to national information, avoids detecting whole satellite bands and causes resource The problem of waste, further improves the power consumption that locating module is reduced using duration of terminal.
When user and another user take action together, if the terminal of two users is positioned, cause resource unrestrained Take.Fig. 4 is the flow diagram of the collocation method of another locating module provided by the embodiments of the present application, as to above-mentioned implementation The further explanation of example, including:
Step 410 judges whether the corresponding current national information of terminal changes.
If the corresponding current national information of step 420, terminal changes, satellite system information is obtained.
Step 430 configures locating module according to satellite system information.
Step 440, by the position information share that locating module is got to another terminal.
First, establish position with another terminal and share and be connected, the position share connection in the current device and Sharing position information between the target device.Then, location information is shared to the current device, finally, reduced another The working frequency of the locating module of terminal.
Wherein, it can be that bluetooth (BT) connects that connection is shared in position;Alternatively, close range wireless communication (NFC) connects.
It can be set in bluetooth connection by object storage specification (Object Push Profile, OPP) agreement currently The standby sharing position information between target device.
It, can be between current device and target device with the sender of location information when carrying out sharing position information Alternately.Such as the locating module of current device closes preset time, while connection is shared until using target device The location information of transmission.In next preset time after preset time, the locating module of current device starts, and is target Equipment provides location information, while target device closes its location information.
Optionally, the sender of location information is determined according to the current electric quantity of current device and target device.It such as will be surplus The higher equipment of remaining electricity is determined as the sender of location information.Optionally, the transmission of location information is determined according to charged state Person.If one is being charged that another is uncharged among current device and target device, the equipment of charging is determined as position The sender of confidence breath, recipient of another equipment as location information.The recipient of location information reduces the positioning of itself The working frequency of module.
Further, after establishing position and sharing connection, transmission of location information, image data, multimedia are needed when simultaneously Data are when other data, preferred transmission of location information.
Further, it can also be Wireless Fidelity WIFI connections or mobile cellular network (such as mobile phone that connection is shared in position 2G, 3G, 4G or 5G network used etc.) connection.For example, terminal and another terminal are established position and are shared by accessing server Connection.
It, can be according to prefixed time interval by target device if terminal with another terminal is established position and shared and is connected The location information that locating module obtains is shared to terminal.Prefixed time interval can be 1 time/second.
The working frequency of locating module is reduced, can be the acquisition of information frequency for reducing locating module.Can also be to close Locating module.Locating module can be for the functional module group that is positioned in terminal, the module can be GPS positioning module or Person's global navigation satellite system GNSS locating module etc..The frequency that locating module obtains location information is reduced, positioning can be reduced The power consumption of module.Location information can be cached during temporary close locating module, when other application accesses locating module poll bit confidence During breath, the location information of caching is sent to other application.
The collocation method of locating module provided in this embodiment, the location information that can get terminal are shared to another Terminal realizes the shared of location information between two station terminals, and then reduces the power consumption of a wherein station terminal, and it is fixed further to reduce The power consumption of position module.
Fig. 5 is a kind of structure diagram of the configuration device of locating module provided by the embodiments of the present application.As shown in figure 5, The device includes:Judgment module 510, acquisition module 520, configuration module 530, national information acquisition module 540, sharing module 550。
Judgment module 510, for judging whether the corresponding current national information of terminal changes;
Acquisition module 520, if judging that the corresponding current national information of terminal becomes for the judgment module 510 Change, then obtain satellite system information;
Configuration module 530, for according to the satellite system information that the acquisition module 520 obtains to locating module into Row configuration.
Further, national information acquisition module 540 is further included.
National information acquisition module 540, for when receiving location information acquisition instruction, it is corresponding current to obtain terminal National information;
Correspondingly, judgment module 510 is used for, judge current national information and the preceding national information once stored whether one It causes.
Further, national information acquisition module 540 is used for:Current national information is obtained by network positions.
Further, national information acquisition module 540 is used for:It is obtained by the physical address for the base station currently registered current National information;Alternatively,
Current national information is obtained by the physical address of wireless router.
Further, national information acquisition module 540, for when receive location information obtain instruction when, including:
When user starts camera applications, triggering location information obtains instruction;Alternatively,
When user clicks on taking pictures in camera applications or shooting push button, triggering location information obtains instruction;Alternatively,
When user, which starts, to navigate, triggering location information obtains instruction.
Further, judgment module 510 is used for:
Judge whether current residual electricity is less than default power threshold;
If current residual electricity is less than default power threshold, judge whether the corresponding current national information of terminal occurs Variation.
Further, sharing module 550 is further included.
Sharing module 550, for by the position information share that locating module is got to another terminal.
The configuration device of locating module provided by the embodiments of the present application first determines whether that module 510 judges that terminal is corresponding and works as Whether preceding national information changes;If the corresponding current national information of terminal changes, the acquisition of acquisition module 520 is defended Star system information;Then configuration module 530 configures locating module according to the satellite system information.Compared with related skill It is big in full frequency band search star power consumption in art, the application can carry out during star is searched according to national information searching star, and it is fixed to reduce The power consumption of position module.
Above device can perform the method that the foregoing all embodiments of the application are provided, and it is corresponding to possess the execution above method Function module and advantageous effect.The not technical detail of detailed description in the present embodiment, reference can be made to the foregoing all implementations of the application The method that example is provided.
Fig. 6 is the structure diagram of another terminal device provided by the embodiments of the present application.As shown in fig. 6, the terminal can To include:Housing (not shown), memory 601, central processing unit (Central Processing Unit, CPU) 602 (also known as processor, hereinafter referred to as CPU), the computer program that is stored on memory 601 and can be run on processor 602, Circuit board (not shown) and power circuit (not shown).The circuit board is placed in the space that the housing surrounds Portion;The CPU602 and the memory 601 are arranged on the circuit board;The power circuit, for for the terminal Each circuit or device power supply;The memory 601, for storing executable program code;The CPU602 is by reading The executable program code that is stored in memory 601 is stated to run program corresponding with the executable program code.
The terminal further includes:Peripheral Interface 603, RF (Radio Frequency, radio frequency) circuit 605, voicefrequency circuit 606th, loud speaker 611, power management chip 608, input/output (I/O) subsystem 609, touch-screen 612, other input/controls Equipment 610 and outside port 604, these components are communicated by one or more communication bus or signal wire 607.
It should be understood that graphic terminal 600 is only an example of terminal, and terminal device 600 can be with With than more or less components shown in figure, two or more components can be combined or can be had Different component configurations.Various parts shown in figure can be including one or more signal processings and/or special integrated Hardware, software including circuit are realized in the combination of hardware and software.
Just provided in this embodiment below to be described in detail for a kind of terminal device, the terminal device is with intelligent hand Exemplified by machine.
Memory 601, the memory 601 can be by access such as CPU602, Peripheral Interfaces 603, and the memory 601 can To include high-speed random access memory, nonvolatile memory can also be included, such as one or more disk memory, Flush memory device or other volatile solid-state parts.
The peripheral hardware that outputs and inputs of equipment can be connected to CPU602 and deposited by Peripheral Interface 603, the Peripheral Interface 603 Reservoir 601.
I/O subsystems 609, the I/O subsystems 609 can be by the input/output peripherals in equipment, such as touch-screen 612 With other input/control devicess 610, Peripheral Interface 603 is connected to.I/O subsystems 609 can include 6091 He of display controller For controlling one or more input controllers 6092 of other input/control devicess 610.Wherein, one or more input controls Device 6092 processed receives electric signal from other input/control devicess 610 or sends electric signal to other input/control devicess 610, Other input/control devicess 610 can include physical button (pressing button, rocker buttons etc.), dial, slide switch, behaviour Vertical pole clicks on idler wheel.What deserves to be explained is input controller 6092 can with it is following any one be connected:Keyboard, infrared port, The instruction equipment of USB interface and such as mouse.
Wherein, according to touch-screen operation principle and transmission information medium classification, touch-screen 612 can be resistance-type, Capacitor induction type, infrared-type or surface acoustic wave type.Classify according to mounting means, touch-screen 612 can be:It is external hanging type, built-in Formula or monoblock type.Classify according to technical principle, touch-screen 612 can be:Vector pressure sensing technology touch-screen, resistive technologies are touched Touch screen, capacitance technology touch-screen, infrared technology touch-screen or surface acoustic wave technique touch-screen.
Touch-screen 612, the touch-screen 612 are the input interface and output interface between user terminal and user, can User is shown to depending on output, visual output can include figure, text, icon, video etc..Optionally, touch-screen 612 is by user The electric signal (electric signal of such as contact surface) triggered on touch screen curtain, is sent to processor 602.
Display controller 6091 in I/O subsystems 609 receives electric signal from touch-screen 612 or is sent out to touch-screen 612 Electric signals.Touch-screen 612 detects the contact on touch-screen, and the contact detected is converted to and shown by display controller 6091 The interaction of user interface object on touch-screen 612, that is, realize human-computer interaction, the user interface being shown on touch-screen 612 Icon that object can be the icon of running game, be networked to corresponding network etc..What deserves to be explained is equipment can also include light Mouse, light mouse are the extensions for not showing the touch sensitive surface visually exported or the touch sensitive surface formed by touch-screen.
RF circuits 605 are mainly used for establishing the communication of intelligent sound box and wireless network (i.e. network side), realize intelligent sound box Data receiver and transmission with wireless network.Such as transmitting-receiving short message, Email etc..
Voicefrequency circuit 606 is mainly used for receiving voice data from Peripheral Interface 603, which is converted to telecommunications Number, and the electric signal is sent to loud speaker 611.
Loud speaker 611 for the voice signal for receiving intelligent sound box from wireless network by RF circuits 605, is reduced to Sound simultaneously plays the sound to user.
Power management chip 608, the hardware for being connected by CPU602, I/O subsystem and Peripheral Interface are powered And power management.
In the present embodiment, central processing unit 602 is used for:
Judge whether the corresponding current national information of terminal changes;
If the corresponding current national information of terminal changes, satellite system information is obtained;
Locating module is configured according to the satellite system information.
Further, before judging whether the corresponding current national information of terminal changes, further include:
When receiving location information acquisition instruction, the corresponding current national information of terminal is obtained;
Judge whether the corresponding current national information of terminal changes correspondingly, described, including:
Judge whether current national information and the preceding national information once stored are consistent.
Further, it is described to obtain current national information, including:
Current national information is obtained by network positions.
Further, it is described to obtain current national information by network positions, including:
Current national information is obtained by the physical address for the base station currently registered;Alternatively,
Current national information is obtained by the physical address of wireless router.
Further, when receiving location information acquisition instruction, including:
When user starts camera applications, triggering location information obtains instruction;Alternatively,
When user clicks on taking pictures in camera applications or shooting push button, triggering location information obtains instruction;Alternatively,
When user, which starts, to navigate, triggering location information obtains instruction.
Further, it is described to judge whether the corresponding current national information of terminal changes, including:
Judge whether current residual electricity is less than default power threshold;
If current residual electricity is less than default power threshold, judge whether the corresponding current national information of terminal occurs Variation.
Further, after being configured according to the satellite system information to locating module, further include:
By the position information share that the locating module is got to another terminal.
The embodiment of the present application also provides a kind of storage medium for including terminal device executable instruction, and the terminal device can It executes instruction when being performed by terminal device processor for performing a kind of collocation method of locating module, this method includes:
Judge whether the corresponding current national information of terminal changes;
If the corresponding current national information of terminal changes, satellite system information is obtained;
Locating module is configured according to the satellite system information.
Further, before judging whether the corresponding current national information of terminal changes, further include:
When receiving location information acquisition instruction, the corresponding current national information of terminal is obtained;
Judge whether the corresponding current national information of terminal changes correspondingly, described, including:
Judge whether current national information and the preceding national information once stored are consistent.
Further, it is described to obtain current national information, including:
Current national information is obtained by network positions.
Further, it is described to obtain current national information by network positions, including:
Current national information is obtained by the physical address for the base station currently registered;Alternatively,
Current national information is obtained by the physical address of wireless router.
Further, when receiving location information acquisition instruction, including:
When user starts camera applications, triggering location information obtains instruction;Alternatively,
When user clicks on taking pictures in camera applications or shooting push button, triggering location information obtains instruction;Alternatively,
When user, which starts, to navigate, triggering location information obtains instruction.
Further, it is described to judge whether the corresponding current national information of terminal changes, including:
Judge whether current residual electricity is less than default power threshold;
If current residual electricity is less than default power threshold, judge whether the corresponding current national information of terminal occurs Variation.
Further, after being configured according to the satellite system information to locating module, further include:
By the position information share that the locating module is got to another terminal.
The arbitrary of one or more computer-readable media may be employed in the computer storage media of the embodiment of the present application Combination.Computer-readable medium can be computer-readable signal media or computer readable storage medium.It is computer-readable Storage medium for example may be-but not limited to-the system of electricity, magnetic, optical, electromagnetic, infrared ray or semiconductor, device or Device or arbitrary above combination.The more specific example (non exhaustive list) of computer readable storage medium includes:Tool There are one or the electrical connections of multiple conducting wires, portable computer diskette, hard disk, random access memory (RAM), read-only memory (ROM), erasable programmable read only memory (EPROM or flash memory), optical fiber, portable compact disc read-only memory (CD- ROM), light storage device, magnetic memory device or above-mentioned any appropriate combination.In this document, computer-readable storage Medium can be any tangible medium for including or storing program, which can be commanded execution system, device or device Using or it is in connection.
Computer-readable signal media can include in a base band or as carrier wave a part propagation data-signal, Wherein carry computer-readable program code.Diversified forms may be employed in the data-signal of this propagation, including but it is unlimited In electromagnetic signal, optical signal or above-mentioned any appropriate combination.Computer-readable signal media can also be that computer can Any computer-readable medium beyond storage medium is read, which can send, propagates or transmit and be used for By instruction execution system, device either device use or program in connection.
The program code included on computer-readable medium can be transmitted with any appropriate medium, including --- but it is unlimited In wireless, electric wire, optical cable, RF etc. or above-mentioned any appropriate combination.
It can be with one or more programming languages or its computer for combining to write to perform the application operation Program code, programming language include object oriented program language-such as Java, Smalltalk, C++, also wrap Include conventional procedural programming language-such as " C " language or similar programming language.Program code can be complete Ground is performed, partly performed on the user computer on the user computer, the software package independent as one performs, partly exists Part performs or performs on a remote computer or server completely on the remote computer on subscriber computer.It is being related to In the situation of remote computer, remote computer can pass through the network of any kind --- including LAN (LAN) or wide area Net (WAN)-be connected to subscriber computer or, it may be connected to outer computer (such as utilizes ISP To pass through Internet connection).
Certainly, a kind of storage medium for including computer executable instructions that the embodiment of the present application is provided, computer Operation is recommended in the application that executable instruction is not limited to the described above, and can also carry out the application that the application any embodiment is provided Relevant operation in recommendation method.
Note that it above are only the preferred embodiment of the application and institute's application technology principle.It will be appreciated by those skilled in the art that The application is not limited to specific embodiment described here, can carry out for a person skilled in the art it is various it is apparent variation, The protection domain readjusted and substituted without departing from the application.Therefore, although being carried out by above example to the application It is described in further detail, but the application is not limited only to above example, in the case where not departing from the application design, also It can include other more equivalent embodiments, and scope of the present application is determined by scope of the appended claims.

Claims (10)

1. a kind of collocation method of locating module, which is characterized in that including:
Judge whether the corresponding current national information of terminal changes;
If the corresponding current national information of terminal changes, satellite system information is obtained;
Locating module is configured according to the satellite system information.
2. the collocation method of locating module according to claim 1, which is characterized in that judging the corresponding current state of terminal Before whether family's information changes, further include:
When receiving location information acquisition instruction, the corresponding current national information of terminal is obtained;
Judge whether the corresponding current national information of terminal changes correspondingly, described, including:
Judge whether current national information and the preceding national information once stored are consistent.
3. the collocation method of locating module according to claim 2, which is characterized in that it is described to obtain current national information, Including:
Current national information is obtained by network positions.
4. the collocation method of locating module according to claim 3, which is characterized in that described obtained by network positions is worked as Preceding national information, including:
Current national information is obtained by the physical address for the base station currently registered;Alternatively,
Current national information is obtained by the physical address of wireless router.
5. the collocation method of locating module according to claim 2, which is characterized in that refer to when receiving location information acquisition When making, including:
When user starts camera applications, triggering location information obtains instruction;Alternatively,
When user clicks on taking pictures in camera applications or shooting push button, triggering location information obtains instruction;Alternatively,
When user, which starts, to navigate, triggering location information obtains instruction.
6. the collocation method of locating module according to claim 1, which is characterized in that the judgement terminal is corresponding current Whether national information changes, including:
Judge whether current residual electricity is less than default power threshold;
If current residual electricity is less than default power threshold, judge whether the corresponding current national information of terminal becomes Change.
7. the collocation method of locating module according to claim 1, which is characterized in that according to the satellite system information After being configured to locating module, further include:
By the position information share that the locating module is got to another terminal.
8. a kind of configuration device of locating module, which is characterized in that including:
Judgment module, for judging whether the corresponding current national information of terminal changes;
Acquisition module, if judging that the corresponding current national information of terminal changes for the judgment module, acquisition is defended Star system information;
Configuration module, the satellite system information for being obtained according to the acquisition module configure locating module.
9. a kind of computer readable storage medium, is stored thereon with computer program, which is characterized in that the program is held by processor The collocation method of the locating module as described in any in claim 1-7 is realized during row.
10. a kind of terminal, including memory, processor and storage are on a memory and can be in the computer journey of processor operation Sequence, which is characterized in that the processor realizes the positioning mould as described in claim 1-7 is any when performing the computer program The collocation method of block.
CN201711344188.1A 2017-12-13 2017-12-13 Collocation method, device, storage medium and the terminal of locating module Pending CN108072885A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201711344188.1A CN108072885A (en) 2017-12-13 2017-12-13 Collocation method, device, storage medium and the terminal of locating module

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201711344188.1A CN108072885A (en) 2017-12-13 2017-12-13 Collocation method, device, storage medium and the terminal of locating module

Publications (1)

Publication Number Publication Date
CN108072885A true CN108072885A (en) 2018-05-25

Family

ID=62158695

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201711344188.1A Pending CN108072885A (en) 2017-12-13 2017-12-13 Collocation method, device, storage medium and the terminal of locating module

Country Status (1)

Country Link
CN (1) CN108072885A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113759405A (en) * 2020-06-04 2021-12-07 深圳市万普拉斯科技有限公司 GPS positioning acceleration system, method, device, computer equipment and storage medium

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102036165A (en) * 2010-12-16 2011-04-27 中兴通讯股份有限公司 Positioning method and user terminal supporting multiple positioning modes
CN102231772A (en) * 2011-05-23 2011-11-02 惠州Tcl移动通信有限公司 Mobile terminal capable of automatically recording photographing position
CN104917895A (en) * 2015-06-09 2015-09-16 小米科技有限责任公司 Positioning system selection method and device and terminal
CN105682218A (en) * 2016-01-13 2016-06-15 广东欧珀移动通信有限公司 Positioning method and device of mobile terminal and mobile terminal
CN105682030A (en) * 2016-01-13 2016-06-15 广东欧珀移动通信有限公司 Method and device for selecting location server and intelligent terminal
CN105813015A (en) * 2014-12-31 2016-07-27 环达电脑(上海)有限公司 Positioning sharing method
US20160278087A1 (en) * 2015-03-17 2016-09-22 General Motors Llc Location-controlled wi-fi module
CN107005465A (en) * 2015-01-27 2017-08-01 三菱电机株式会社 National identification information attachment device, national identification information addition method and program

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102036165A (en) * 2010-12-16 2011-04-27 中兴通讯股份有限公司 Positioning method and user terminal supporting multiple positioning modes
CN102231772A (en) * 2011-05-23 2011-11-02 惠州Tcl移动通信有限公司 Mobile terminal capable of automatically recording photographing position
CN105813015A (en) * 2014-12-31 2016-07-27 环达电脑(上海)有限公司 Positioning sharing method
CN107005465A (en) * 2015-01-27 2017-08-01 三菱电机株式会社 National identification information attachment device, national identification information addition method and program
US20160278087A1 (en) * 2015-03-17 2016-09-22 General Motors Llc Location-controlled wi-fi module
CN104917895A (en) * 2015-06-09 2015-09-16 小米科技有限责任公司 Positioning system selection method and device and terminal
CN105682218A (en) * 2016-01-13 2016-06-15 广东欧珀移动通信有限公司 Positioning method and device of mobile terminal and mobile terminal
CN105682030A (en) * 2016-01-13 2016-06-15 广东欧珀移动通信有限公司 Method and device for selecting location server and intelligent terminal

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113759405A (en) * 2020-06-04 2021-12-07 深圳市万普拉斯科技有限公司 GPS positioning acceleration system, method, device, computer equipment and storage medium

Similar Documents

Publication Publication Date Title
CN106062763B (en) Method and device for displaying application and picture and electronic equipment
CN107835033B (en) Antenna tuning switch control method and device, terminal equipment and storage medium
CN104243517B (en) Content share method and device between different terminals
CN108111974A (en) Control method, device, storage medium and the terminal of locating module
CN108702602B (en) Image sharing method, electronic device and system
CN106778175B (en) Interface locking method and device and terminal equipment
CN105487389A (en) Method and device for controlling intelligent equipment
CN103563415A (en) Over-the-air device configuration
CN104618440A (en) Intelligent equipment control method and device
CN106714103B (en) A kind of network locating method and terminal device
CN111192578B (en) Application control method and device, storage medium and electronic equipment
CN108710515A (en) Using preloading method, apparatus, storage medium and terminal
CN108681474B (en) Application preloading method and device, storage medium and terminal
CN106056001A (en) Private data protection method and apparatus based on mobile terminal and mobile terminal
CN103916468A (en) System upgrading method, terminal, server and upgrading system
WO2014183655A1 (en) Apparatuses and methods for inputting a uniform resource locator
CN108055635B (en) Position information acquisition method and device, storage medium and terminal
CN108093362A (en) Control method, device, storage medium and the terminal of locating module
CN105704106B (en) A kind of visualization IVR implementation method and mobile terminal
CN106375182B (en) Voice communication method and device based on instant messaging application
CN104135504B (en) A kind of service providing method, Apparatus and system based on application
CN107809742A (en) Processing method, device, storage medium and the terminal of location information
CN104811904A (en) Contact setting method and device
CN104301824A (en) Drive-by-wire device, controller, method and device
WO2014183439A1 (en) Method, apparatus and system for switching function mode

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

RJ01 Rejection of invention patent application after publication