CN105530332B - The processing method and processing device of location information - Google Patents
The processing method and processing device of location information Download PDFInfo
- Publication number
- CN105530332B CN105530332B CN201510955278.9A CN201510955278A CN105530332B CN 105530332 B CN105530332 B CN 105530332B CN 201510955278 A CN201510955278 A CN 201510955278A CN 105530332 B CN105530332 B CN 105530332B
- Authority
- CN
- China
- Prior art keywords
- mark
- terminal
- account
- current
- wireless connectivity
- 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
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L2101/00—Indexing scheme associated with group H04L61/00
- H04L2101/60—Types of network addresses
- H04L2101/69—Types of network addresses using geographic information, e.g. room number
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W64/00—Locating users or terminals or network equipment for network management purposes, e.g. mobility management
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Mobile Radio Communication Systems (AREA)
- Telephonic Communication Services (AREA)
Abstract
The disclosure is directed to a kind of processing method and processing device of location information, this method includes:Receive position inquiry request;Local data base is judged with the presence or absence of the current connected wireline connected device mark of terminal, wireless connectivity devices mark or is wirelessly connected account;The local data base includes the first mapping relations, which is the mapping relations of the location information of wireline connected device mark, wireless connectivity devices mark or wireless connection account and terminal;If local data base is there are the current connected wireline connected device mark of terminal, wireless connectivity devices mark or is wirelessly connected account, identifying or be wirelessly connected account according to the first mapping relations and current connected wireline connected device mark, wireless connectivity devices obtains the current location information of terminal.To improve the search efficiency of location information, meanwhile, reduce flow consumption and the electric quantity consumption of intelligent terminal.
Description
Technical field
This disclosure relates to the terminal with alignment sensor, more particularly to a kind of processing method and processing device of location information.
Background technology
With the continuous development of intelligent terminal, user is frequently necessary to present position.Currently, user it is usually used be
The mode of global positioning system (Global Positioning System, abbreviation GPS) or web search on intelligent terminal
Etc. obtaining current location information, either by way of GPS or web search, intelligent terminal is required for connect net
Network, so that the current location information of user is sent to intelligent terminal by location-server.
Therefore, the consumption of flow, while the acquisition process of location information can be all caused by way of GPS and web search
The consumption that intelligent terminal electricity can be caused too fast.
Disclosure
To overcome the problems in correlation technique, the disclosure provides a kind of processing method and processing device of location information.Institute
It is as follows to state technical solution:
According to the first aspect of the embodiments of the present disclosure, a kind of processing method of location information is provided, including:
Receive position inquiry request;
Judge local data base with the presence or absence of the current connected wireline connected device mark of terminal, wireless connectivity devices mark
Know or be wirelessly connected account;Local data base include the first mapping relations, the first mapping relations be wireline connected device mark,
Wireless connectivity devices identify or are wirelessly connected the mapping relations of the location information of account and terminal;
If local data base there are terminal it is current connected wireline connected device mark, wireless connectivity devices mark or
It is wirelessly connected account, then according to the first mapping relations and current connected wireline connected device mark, wireless connectivity devices mark
Know or be wirelessly connected account and obtains the current location information of terminal.
The technical scheme provided by this disclosed embodiment can include the following benefits:Judge whether local data base is deposited
In the current connected wireline connected device mark of terminal, wireless connectivity devices mark or it is wirelessly connected account;If local number
In the current connected wireline connected device mark of terminal, wireless connectivity devices mark or it is wirelessly connected account according to inventory, then
According to the first mapping relations and current connected wireline connected device mark, wireless connectivity devices mark or it is wirelessly connected account
Number the current location information of terminal is obtained, to improve the search efficiency of location information, and then reduces the flow of intelligent terminal
Consumption and electric quantity consumption.
Further, this method further includes:If there is no the current connected wireline connected devices of terminal for local data base
Mark, wireless connectivity devices mark are wirelessly connected account, then trigger GPS startups, to obtain the current position of terminal by GPS
Confidence ceases.
Optionally, if there is no the current connected wireline connected device mark of terminal, wireless connections to set for local data base
It is standby to identify or be wirelessly connected account, then GPS startups are triggered, after obtaining the current location information of terminal by GPS, the party
Method further includes:The current connected wireline connected device mark of terminal, wireless connectivity devices mark are preserved in the local database
Or it is wirelessly connected the mapping relations of account and the current location information of terminal.Can subsequently to have in local data library inquiry
Line connects device identification, wireless connectivity devices mark or is wirelessly connected account.
Optionally, if there is no the current connected wireline connected device mark of terminal, wireless connections to set for local data base
It is standby to identify or be wirelessly connected account, then GPS startups are triggered, after obtaining the current location information of terminal by GPS, the party
Method further includes:If identifying or being wirelessly connected account to current connected wireline connected device mark, wireless connectivity devices
Inquiry times are more than predetermined threshold value, then preserve the current connected wireline connected device mark of terminal, nothing in the local database
Line connects device identification or the mapping relations for being wirelessly connected account and the current location information of terminal.So as to subsequently can this
Ground data base querying wireline connected device mark, wireless connectivity devices mark are wirelessly connected account, can also reduce to this
The occupancy of ground databases.
Further, this method further includes:RX path inquiry request;The path query is asked:Purpose terrestrial reference
Know;
Judge local data base with the presence or absence of the current connected wireline connected device mark of terminal, wireless connectivity devices mark
Know or be wirelessly connected account;Wherein local data base further includes the second mapping relations, and the second mapping relations set for wired connection
Standby mark, wireless connectivity devices mark or the mapping relations for being wirelessly connected account and routing information;
If local data base there are terminal it is current connected wireline connected device mark, wireless connectivity devices mark or
Be wirelessly connected account, and be corresponding at least one routing information, then judge whether include purpose mark path letter
Breath;If in the presence of the routing information for including purpose mark, acquisition includes the routing information of purpose mark.
In this way, the inquiry from the current position of terminal to the routing information of purpose mark position is improved
Efficiency, meanwhile, reduce flow consumption and the electric quantity consumption of intelligent terminal.
Optionally, above-mentioned wireless connectivity devices are bluetooth equipment or wireless access point AP.
Optionally, above-mentioned wireline connected device be automotive seats fill, computer or the charging socket with USB.
Inventive embodiments are explained below, a kind of processing unit of location information, wherein device part and the above method are provided
Corresponding, corresponding content technique effect is identical, and details are not described herein.
According to the second aspect of the embodiment of the present disclosure, a kind of processing unit of location information is provided, including:
Receiving module is configured as receiving position inquiry request;
Judgment module is configured as judging local data base with the presence or absence of the current connected wireline connected device mark of terminal
Know, wireless connectivity devices identify or are wirelessly connected account;Local data base includes the first mapping relations, and the first mapping relations are
The mapping relations of the location information of wireline connected device mark, wireless connectivity devices mark or wireless connection account and terminal;
Acquisition module, if being configured as local data base, there are the current connected wireline connected device mark of terminal, nothings
Line connects device identification or is wirelessly connected account, then according to the first mapping relations and current connected wireline connected device mark
Know, wireless connectivity devices mark or wireless connection account obtain the current location information of terminal.
Further, which further includes:Trigger module, if being configured as local data base, there is no terminals currently to connect
Wireline connected device mark, wireless connectivity devices mark or the wireless connection account connect, then trigger GPS startups, so as to obtain
Module obtains the current location information of terminal by GPS.
Optionally, which further includes:First preserving module is configured as preserving the current institute of terminal in the local database
Wireline connected device mark, wireless connectivity devices mark or the wireless connection account and the current location information of terminal of connection
Mapping relations.
Optionally, which further includes:Second preserving module, if being configured as to current connected wireline connected device
The inquiry times of mark, wireless connectivity devices mark or wireless connection account are more than predetermined threshold value, then in the local database
It preserves the current connected wireline connected device mark of terminal, wireless connectivity devices mark or wireless connection account and terminal is worked as
The mapping relations of preceding location information.
Further, receiving module is additionally configured to RX path inquiry request;Path query is asked:Destination
Mark;
Judgment module is additionally configured to judge local data base with the presence or absence of the current connected wireline connected device of terminal
Mark, wireless connectivity devices mark are wirelessly connected account;Wherein local data base further includes the second mapping relations, and second reflects
It is wireline connected device mark, wireless connectivity devices mark or the mapping pass for being wirelessly connected account and routing information to penetrate relationship
System;
If local data base there are terminal it is current connected wireline connected device mark, wireless connectivity devices mark or
It is wirelessly connected account, and is corresponding at least one routing information, then judgment module judges whether to include purpose mark
Routing information;Acquisition module, if being additionally configured in the presence of the routing information for including the purpose mark, acquisition includes
The routing information of purpose mark.
According to the third aspect of the embodiment of the present disclosure, a kind of processing unit of location information is provided, which includes:
Processor;
Memory for the executable instruction for storing processor;
Wherein, which is configured as:
Receive position inquiry request;
Judge local data base with the presence or absence of the current connected wireline connected device mark of terminal, wireless connectivity devices mark
Know or be wirelessly connected account;Local data base include the first mapping relations, the first mapping relations be wireline connected device mark,
Wireless connectivity devices identify or are wirelessly connected the mapping relations of the location information of account and terminal;
If local data base there are terminal it is current connected wireline connected device mark, wireless connectivity devices mark or
It is wirelessly connected account, then according to the first mapping relations and current connected wireline connected device mark, wireless connectivity devices mark
Know or be wirelessly connected account and obtains the current location information of terminal.
The technical scheme provided by this disclosed embodiment can include the following benefits:A kind of processing side of location information
Method and device, this method include:Receive position inquiry request;Judge that local data base has with the presence or absence of terminal is current connected
Line connects device identification, wireless connectivity devices mark or is wirelessly connected account;The local data base includes the first mapping relations,
First mapping relations are wireline connected device mark, wireless connectivity devices mark or the position for being wirelessly connected account and terminal
The mapping relations of information;If there are the current connected wireline connected device mark of terminal, wireless connectivity devices for local data base
Mark is wirelessly connected account, then is identified according to the first mapping relations and current connected wireline connected device, wirelessly connected
It connects device identification or is wirelessly connected account and obtain the current location information of terminal.In this way, location information is improved
Search efficiency, meanwhile, reduce intelligent terminal flow consumption and electric quantity consumption.
It should be understood that above general description and following detailed description is only exemplary and explanatory, not
The disclosure can be limited.
Description of the drawings
The drawings herein are incorporated into the specification and forms part of this specification, and shows the implementation for meeting the disclosure
Example, and together with specification for explaining the principles of this disclosure.
Fig. 1 is a kind of flow chart of the processing method of location information shown according to an exemplary embodiment;
Fig. 2 is a kind of flow chart of the processing method of the location information shown according to another exemplary embodiment;
Fig. 3 is a kind of block diagram of the processing unit of location information shown according to an exemplary embodiment;
Fig. 4 A are a kind of block diagrams of the processing unit of the location information shown according to another exemplary embodiment;
Fig. 4 B are a kind of block diagrams of the processing unit of location information shown according to another exemplary embodiment;
Fig. 5 is a kind of block diagram of the processing unit 500 of location information shown according to an exemplary embodiment.
Through the above attached drawings, it has been shown that the specific embodiment of the disclosure will be hereinafter described in more detail.These attached drawings
It is not intended to limit the scope of this disclosure concept by any means with verbal description, but is by referring to specific embodiments
Those skilled in the art illustrate the concept of the disclosure.
Specific implementation mode
Example embodiments are described in detail here, and the example is illustrated in the accompanying drawings.Following description is related to
When attached drawing, unless otherwise indicated, the same numbers in different drawings indicate the same or similar elements.Following exemplary embodiment
Described in embodiment do not represent all implementations consistent with this disclosure.On the contrary, they be only with it is such as appended
The example of the consistent device and method of some aspects be described in detail in claims, the disclosure.
Fig. 1 is a kind of flow chart of the processing method of location information shown according to an exemplary embodiment, the present embodiment
Be applied to the processing method of the location information include alignment sensor terminal in illustrate.The processing of the location information
Method may include the following steps:
S101:Receive position inquiry request;
S102:Judge local data base with the presence or absence of the current connected wireline connected device mark of terminal, wireless connection
Device identification is wirelessly connected account;The local data base includes the first mapping relations, which is wired company
Device identification is connect, wireless connectivity devices identify or is wirelessly connected the mapping relations of the location information of account and terminal;
S103:If there are the current connected wireline connected device mark of terminal, wireless connectivity devices marks for local data base
Know or be wirelessly connected account, then according to the first mapping relations and current connected wireline connected device mark, wireless connection
Device identification is wirelessly connected the current location information of account acquisition terminal.
Specifically, position enquiring request can be the manual input operation of user, can also be one section of voice of user etc..
Wherein, wireless connectivity devices are bluetooth equipment or wireless access point (Access Point, abbreviation AP) etc..Wireline connected device
Filled for automotive seats, computer or with universal serial bus (Universal Serial Bus, abbreviation USB) charging socket
Deng.Usually when intelligent terminal was once obtained under wireless connection pattern or wired connection pattern by positioning systems such as GPS
The location information of terminal, intelligent terminal can store the location information of the terminal to local data base, wherein row may be used
The mode of table stores wired connection device identification, wireless connectivity devices mark or is wirelessly connected account and matching position
Confidence ceases.Specifically it is shown in Table 1:
Table 1
Wireline connected device mark, wireless connectivity devices mark are wirelessly connected account | The location information of terminal |
(account is WIFI:ccc) | Xi'an Outcome of Scientific Researches |
(account is WIFI:135xc) | Swimming center of province |
…… | …… |
Therefore, if desired fixed after intelligent terminal is connect with some wireline connected device or wireless connectivity devices again
The location information of position present terminal inquires local data base first, judges that local data base is current connected with the presence or absence of terminal
Wireline connected device mark, wireless connectivity devices mark or be wirelessly connected account;If that there are terminals is current for local data base
Wireline connected device mark, wireless connectivity devices mark or the wireless connection account connected, then according to the first mapping relations
With current connected wireline connected device mark, wireless connectivity devices mark or be wirelessly connected account to obtain terminal current
Location information.
The processing method for the location information that the disclosure provides, including:Receive position inquiry request;Judging local data base is
The no wireline connected device mark current connected there are terminal, wireless connectivity devices mark are wirelessly connected account;This
Ground database include the first mapping relations, first mapping relations be wireline connected device mark, wireless connectivity devices mark or
Person is wirelessly connected the mapping relations of the location information of account and terminal;If there are current connected wired of terminal for local data base
It connects device identification, wireless connectivity devices mark or is wirelessly connected account, then according to the first mapping relations and current connected
Wireline connected device mark, wireless connectivity devices mark or be wirelessly connected account and obtain the current location information of terminal.It is logical
This mode is crossed, the search efficiency of location information is improved, meanwhile, reduce flow consumption and the electric quantity consumption of intelligent terminal.
Further, the processing method of above-mentioned location information further includes:If there is no terminals currently to connect for local data base
Wireline connected device mark, wireless connectivity devices mark or the wireless connection account connect, then trigger GPS startups, to pass through GPS
Obtain the current location information of terminal.
The first optional mode, if there is no the current connected wireline connected device mark of terminal, nothings for local data base
Line connects device identification or is wirelessly connected account, then GPS startups is triggered, to obtain the current position of the terminal by GPS
After information, the method further includes:The current connected wireline connected device mark of terminal, nothing are preserved in the local database
Line connects device identification or the mapping relations for being wirelessly connected account and the current location information of the terminal.
Second of optional mode, if to current connected wireline connected device mark, wireless connectivity devices mark or
The inquiry times for being wirelessly connected account are more than predetermined threshold value, then preserve the current connected wired company of terminal in the local database
Connect device identification, wireless connectivity devices mark or the mapping relations for being wirelessly connected account and the current location information of terminal.
Second of optional mode of generally use, can reduce the occupancy to local data base memory.
Fig. 2 is a kind of flow chart of the processing method of the location information shown according to another exemplary embodiment, this implementation
Example be applied to the processing method of the location information include alignment sensor terminal in illustrate.The place of the location information
Reason method may include the following steps:
S201:RX path inquiry request;The path query is asked:Destination mark;
S202:Judge local data base with the presence or absence of the current connected wireline connected device mark of terminal, wireless connection
Device identification is wirelessly connected account;Wherein local data base further includes the second mapping relations, which is to have
Line connects device identification, wireless connectivity devices mark or the mapping relations for being wirelessly connected account and routing information;
S203:If there are the current connected wireline connected device mark of terminal, wireless connectivity devices marks for local data base
Know or be wirelessly connected account, and be corresponding at least one routing information, then judges whether to include purpose mark
Routing information;
S204:If in the presence of the routing information for including purpose mark, acquisition includes the routing information of purpose mark.
Specifically, path query request can be the manual input operation of user, can also be one section of voice of user etc..
Wherein, wireless connectivity devices are bluetooth equipment or AP etc..Wireline connected device be automotive seats fill, computer or with USB's
Charging socket etc..Usually when intelligent terminal in the case where being wirelessly connected pattern or wired connection pattern by positioning systems such as GPS once
Through obtaining the routing information in certain place, intelligent terminal can be by the path information storage to local data base, wherein can adopt
With the mode of list store wired connection device identification, wireless connectivity devices mark or be wirelessly connected account with to it is matched extremely
A few routing information.Therefore, after intelligent terminal is connect with some wireline connected device or wireless connectivity devices again, if
It needs to position from the current location information of terminal to the corresponding routing information of destination mark, first, inquires local data base, sentence
Disconnected local data base is identified with the presence or absence of the current connected wireline connected device of terminal, wireless connectivity devices identify or wireless
Connect account;If local data base there are terminal it is current connected wireline connected device mark, wireless connectivity devices mark or
Person is wirelessly connected account, and is corresponding at least one routing information, then judge whether include purpose mark path
Information;If in the presence of the routing information for including purpose mark, acquisition includes the routing information of purpose mark.
The disclosure provide location information processing method, further include:RX path inquiry request;The path query is asked
Including:Destination mark;Judge that local data base identifies with the presence or absence of the current connected wireline connected device of terminal, wirelessly connects
It connects device identification or is wirelessly connected account;Wherein local data base further includes the second mapping relations, which is
Wireline connected device mark, wireless connectivity devices mark or the mapping relations for being wirelessly connected account and routing information;If local
Database is there are the current connected wireline connected device mark of terminal, wireless connectivity devices mark or is wirelessly connected account,
And be corresponding at least one routing information, then judge whether include purpose mark routing information;If in the presence of including
The routing information purposefully identified, then acquisition includes the routing information of purpose mark.In this way, it improves from terminal
Current position to the routing information of purpose mark position search efficiency, meanwhile, reduce intelligent terminal flow consumption
And electric quantity consumption.
Further, the processing method of above-mentioned location information further includes:If there is no terminals currently to connect for local data base
Wireline connected device mark, wireless connectivity devices mark or the wireless connection account connect;Alternatively, if local data base exists eventually
It holds current connected wireline connected device to identify, wireless connectivity devices mark or be wirelessly connected account, but currently connect
Wireline connected device mark, wireless connectivity devices mark or the wireless connection account connect, and corresponding all and path is believed
Breath does not include destination mark, then triggers GPS startups, to obtain the routing information for including purpose mark by GPS.
Further, the first optional mode, this method further include:Terminal is preserved in the local database currently to connect
The wireline connected device mark, wireless connectivity devices mark or the wireless connection account that connect and the path letter for including purpose mark
The mapping relations of breath.
Second of optional mode, if to include purpose mark routing information inquiry times be more than predetermined threshold value,
The current connected wireline connected device mark of terminal, wireless connectivity devices mark are preserved in the local database or are wirelessly connected
Connect the mapping relations of account and the routing information for including purpose mark.Second of optional mode of generally use, can reduce pair
The occupancy of local data base memory.
Following is embodiment of the present disclosure, can be used for executing embodiments of the present disclosure.It is real for disclosure device
Undisclosed details in example is applied, embodiments of the present disclosure is please referred to.
Fig. 3 is a kind of block diagram of the processing unit of location information shown according to an exemplary embodiment, the location information
Processing unit can by software, hardware or both be implemented in combination with as the terminal comprising alignment sensor part or
Person is whole.The processing unit of the location information may include:
Receiving module 301 is configured as receiving position inquiry request;
Judgment module 302 is configured as judging that local data base is set with the presence or absence of the current connected wired connection of terminal
Standby mark, wireless connectivity devices mark are wirelessly connected account;Local data base includes the first mapping relations, and the first mapping is closed
System is that the mapping of the location information of wireline connected device mark, wireless connectivity devices mark or wireless connection account and terminal is closed
System;
Acquisition module 303, if be configured as local data base there are terminal it is current connected wireline connected device mark,
Wireless connectivity devices identify or are wirelessly connected account, then according to the first mapping relations and current connected wireline connected device
Mark, wireless connectivity devices mark are wirelessly connected the current location information of account acquisition terminal.
Wherein, wireless connectivity devices are bluetooth equipment or wireless access point AP etc..Wireline connected device be automotive seats fill,
Computer or charging socket etc. with general-purpose serial bus USB.
The processing unit for the location information that the disclosure provides, including:Receiving module is configured as reception position enquiring and asks
It asks;Judgment module is configured as judging local data base with the presence or absence of the current connected wireline connected device mark of terminal, nothing
Line connects device identification or is wirelessly connected account;Local data base includes the first mapping relations, and the first mapping relations are wired
Device identification is connected, wireless connectivity devices identify or is wirelessly connected the mapping relations of the location information of account and terminal;It obtains
Module, if being configured as local data base, there are the current connected wireline connected device mark of terminal, wireless connectivity devices marks
Know or be wirelessly connected account, then according to the first mapping relations and current connected wireline connected device mark, wireless connection
Device identification is wirelessly connected the current location information of account acquisition terminal.To improve the search efficiency of location information,
Meanwhile reducing the electric quantity consumption of flow consumption and intelligent terminal.
Fig. 4 A are a kind of block diagrams of the processing unit of the location information shown according to another exemplary embodiment.With reference to figure
4A, on the basis of the structure block diagram shown in Fig. 3 of the device, which further includes:
Trigger module 304, if being configured as local data base, there is no the current connected wireline connected device marks of terminal
Knowledge, wireless connectivity devices mark are wirelessly connected account, then GPS startups are triggered, so that acquisition module obtains terminal by GPS
Current location information.
Further, which further includes:First preserving module 305, is configured as preserving terminal in the local database
Current connected wireline connected device mark, wireless connectivity devices mark or to be wirelessly connected account and the terminal current
The mapping relations of location information.
About the device in above-described embodiment, wherein modules execute the concrete mode of operation in related this method
Embodiment in be described in detail, explanation will be not set forth in detail herein.
Fig. 4 B are a kind of block diagrams of the processing unit of location information shown according to another exemplary embodiment.With reference to figure
4B, on the basis of the structure block diagram shown in Fig. 3 of the device, which further includes:
Trigger module 304, if being configured as local data base, there is no the current connected wireline connected device marks of terminal
Knowledge, wireless connectivity devices mark are wirelessly connected account, then GPS startups are triggered, so that acquisition module obtains terminal by GPS
Current location information.
Further, which further includes:Second preserving module 306, if being configured as to current connected wired company
The inquiry times for connecing device identification, wireless connectivity devices mark or wireless connection account are more than predetermined threshold value, then in local number
According in library preserve terminal it is current connected wireline connected device mark, wireless connectivity devices mark or be wirelessly connected account with
The mapping relations of the current location information of terminal.
About the device in above-described embodiment, wherein modules execute the concrete mode of operation in related this method
Embodiment in be described in detail, explanation will be not set forth in detail herein.
Optionally, receiving module 301 are additionally configured to RX path inquiry request;Path query is asked:Destination
Mark;Judgment module 302 is additionally configured to judge local data base with the presence or absence of the current connected wireline connected device of terminal
Mark, wireless connectivity devices mark are wirelessly connected account;Wherein local data base further includes the second mapping relations, and second reflects
It is wireline connected device mark, wireless connectivity devices mark or the mapping pass for being wirelessly connected account and routing information to penetrate relationship
System;If there are the current connected wireline connected devices of terminal to identify for local data base, wireless connectivity devices mark or wireless
Account is connected, and is corresponding at least one routing information, then judgment module 302 judges whether to include the purpose mark
The routing information of knowledge;Acquisition module 303, if being additionally configured to, in the presence of the routing information for including the purpose mark, obtain
It include the routing information of the purpose mark.
Fig. 5 is a kind of block diagram of the processing unit 500 of location information shown according to an exemplary embodiment.For example, dress
It can be mobile phone, computer, digital broadcast terminal, messaging devices, game console, tablet device, medical treatment to set 500
Equipment, body-building equipment, personal digital assistant etc..
With reference to Fig. 5, device 500 may include following one or more components:Processing component 502, memory 504, power supply
Component 506, multimedia component 508, audio component 510, the interface 512 of input/output (I/O), sensor module 514, and
Communication component 516.
The integrated operation of 502 usual control device 500 of processing component, such as with display, call, data communication, phase
Machine operates and record operates associated operation.Processing component 502 may include that one or more processors 520 refer to execute
It enables, to perform all or part of the steps of the methods described above.In addition, processing component 502 may include one or more modules, just
Interaction between processing component 502 and other assemblies.For example, processing component 502 may include multi-media module, it is more to facilitate
Interaction between media component 508 and processing component 502.
Memory 504 is configured as storing various types of data to support the operation in device 500.These data are shown
Example includes instruction for any application program or method that operate on device 500, contact data, and telephone book data disappears
Breath, picture, video etc..Memory 504 can be by any kind of volatibility or non-volatile memory device or their group
It closes and realizes, such as static RAM (SRAM), electrically erasable programmable read-only memory (EEPROM) is erasable to compile
Journey read-only memory (EPROM), programmable read only memory (PROM), read-only memory (ROM), magnetic memory, flash
Device, disk or CD.
Power supply module 506 provides electric power for the various assemblies of device 5300.Power supply module 506 may include power management system
System, one or more power supplys and other generated with for device 500, management and the associated component of distribution electric power.
The touch-control that multimedia component 508 is included in one output interface of offer between described device 500 and user is shown
Screen.In some embodiments, touching display screen may include liquid crystal display (LCD) and touch panel (TP).Touch panel packet
One or more touch sensors are included to sense the gesture on touch, slide, and touch panel.The touch sensor can not
The boundary of a touch or slide action is only sensed, but also detects duration associated with the touch or slide operation and pressure
Power.In some embodiments, multimedia component 508 includes a front camera and/or rear camera.At device 500
In operation mode, when such as screening-mode or video mode, front camera and/or rear camera can receive external more matchmakers
Volume data.Each front camera and rear camera can be a fixed optical lens system or have focal length and optics
Zoom capabilities.
Audio component 510 is configured as output and/or input audio signal.For example, audio component 510 includes a Mike
Wind (MIC), when device 500 is in operation mode, when such as call model, logging mode and speech recognition mode, microphone by with
It is set to reception external audio signal.The received audio signal can be further stored in memory 504 or via communication set
Part 516 is sent.In some embodiments, audio component 510 further includes a loud speaker, is used for exports audio signal.
I/O interfaces 512 provide interface between processing component 502 and peripheral interface module, and above-mentioned peripheral interface module can
To be keyboard, click wheel, button etc..These buttons may include but be not limited to:Main button, volume button, start button and lock
Determine button.
Sensor module 514 includes one or more sensors, and the state for providing various aspects for device 500 is commented
Estimate.For example, sensor module 514 can detect the state that opens/closes of device 500, and the relative positioning of component, for example, it is described
Component is the display and keypad of device 500, and sensor module 514 can be with 500 1 components of detection device 500 or device
Position change, the existence or non-existence that user contacts with device 500,500 orientation of device or acceleration/deceleration and device 500
Temperature change.Sensor module 514 may include proximity sensor, be configured to detect without any physical contact
Presence of nearby objects.Sensor module 514 can also include optical sensor, such as CMOS or ccd image sensor, at
As being used in application.In some embodiments, which can also include acceleration transducer, gyro sensors
Device, Magnetic Sensor, pressure sensor or temperature sensor.
Communication component 516 is configured to facilitate the communication of wired or wireless way between device 500 and other equipment.Device
500 can access the wireless network based on communication standard, such as WiFi, 2G or 3G or combination thereof.In an exemplary implementation
In example, communication component 516 receives broadcast singal or broadcast related information from external broadcasting management system via broadcast channel.
In one exemplary embodiment, the communication component 516 further includes near-field communication (NFC) module, to promote short range communication.Example
Such as, NFC module can be based on radio frequency identification (RFID) technology, Infrared Data Association (IrDA) technology, ultra wide band (UWB) technology,
Bluetooth (BT) technology and other technologies are realized.
In the exemplary embodiment, device 500 can be believed by one or more application application-specific integrated circuit (ASIC), number
Number processor (DSP), digital signal processing appts (DSPD), programmable logic device (PLD), field programmable gate array
(FPGA), controller, microcontroller, microprocessor or other electronic components are realized, for executing above-mentioned session display methods.
In the exemplary embodiment, it includes the non-transitorycomputer readable storage medium instructed, example to additionally provide a kind of
Such as include the memory 504 of instruction, above-metioned instruction can be executed by the processor 520 of device 500 to complete the above method.For example,
The non-transitorycomputer readable storage medium can be ROM, random access memory (RAM), CD-ROM, tape, floppy disk
With optical data storage devices etc..
A kind of non-transitorycomputer readable storage medium, when the instruction in the storage medium is by the processing of device 500
When device executes so that device 500 is able to carry out a kind of processing method of location information.
The method includes:Position inquiry request is received, the position enquiring request includes:Destination address;
Receive position inquiry request;
Judge local data base with the presence or absence of the current connected wireline connected device mark of terminal, wireless connectivity devices mark
Know or be wirelessly connected account;Local data base include the first mapping relations, the first mapping relations be wireline connected device mark,
Wireless connectivity devices identify or are wirelessly connected the mapping relations of the location information of account and terminal;
If local data base there are terminal it is current connected wireline connected device mark, wireless connectivity devices mark or
It is wirelessly connected account, then according to the first mapping relations and current connected wireline connected device mark, wireless connectivity devices mark
Know or be wirelessly connected account and obtains the current location information of terminal.
Those skilled in the art will readily occur to its of the disclosure after considering specification and putting into practice disclosure disclosed herein
Its embodiment.This application is intended to cover any variations, uses, or adaptations of the disclosure, these modifications, purposes or
Person's adaptive change follows the general principles of this disclosure and includes the undocumented common knowledge in the art of the disclosure
Or conventional techniques.The description and examples are only to be considered as illustrative, and the true scope and spirit of the disclosure are by following
Claim is pointed out.
It should be understood that the present disclosure is not limited to the precise structures that have been described above and shown in the drawings, and
And various modifications and changes may be made without departing from the scope thereof.The scope of the present disclosure is only limited by the accompanying claims.
Claims (13)
1. a kind of processing method of location information, which is characterized in that including:
Receive position inquiry request;
Judge local data base with the presence or absence of terminal it is current connected wireline connected device mark, wireless connectivity devices mark or
Person is wirelessly connected account;The local data base includes the first mapping relations, and first mapping relations are wireline connected device
The mapping relations of the location information of mark, wireless connectivity devices mark or wireless connection account and terminal;
If the local data base there are terminal it is current connected wireline connected device mark, wireless connectivity devices mark or
It is wirelessly connected account, then identified according to first mapping relations and the current connected wireline connected device, wirelessly connected
It connects device identification or is wirelessly connected account and obtain the current location information of terminal;
The method further includes:
RX path inquiry request;The path query is asked:Destination mark;
Judge the local data base with the presence or absence of the current connected wireline connected device mark of terminal, wireless connectivity devices mark
Know or be wirelessly connected account;The wherein described local data base further includes the second mapping relations, and second mapping relations are to have
Line connects device identification, wireless connectivity devices mark or the mapping relations for being wirelessly connected account and routing information;
If the local data base there are terminal it is current connected wireline connected device mark, wireless connectivity devices mark or
Be wirelessly connected account, and be corresponding at least one routing information, then judge whether include the purpose mark road
Diameter information;
If in the presence of the routing information for including the purpose mark, acquisition includes the routing information of the purpose mark.
2. according to the method described in claim 1, it is characterized in that, the method further includes:
If the local data base there is no terminal it is current connected wireline connected device mark, wireless connectivity devices mark or
Person is wirelessly connected account, then GPS startups is triggered, to obtain the current location information of the terminal by the GPS.
3. if according to the method described in claim 2, it is characterized in that, the current institute of terminal is not present in the local data base
Wireline connected device mark, wireless connectivity devices mark or the wireless connection account of connection, then trigger GPS startups, to pass through
After the GPS obtains the current location information of the terminal, the method further includes:
In the local data base preserve terminal it is current connected wireline connected device mark, wireless connectivity devices mark or
Person is wirelessly connected the mapping relations of account and the current location information of the terminal.
4. if according to the method described in claim 2, it is characterized in that, the current institute of terminal is not present in the local data base
Wireline connected device mark, wireless connectivity devices mark or the wireless connection account of connection, then trigger GPS startups, to pass through
After the GPS obtains the current location information of the terminal, the method further includes:
If current connected wireline connected device mark, wireless connectivity devices are identified or are wirelessly connected with the inquiry time of account
Number is more than predetermined threshold value, then preserves the current connected wireline connected device of terminal in the local data base and identify, is wireless
It connects device identification or is wirelessly connected the mapping relations of account and the current location information of the terminal.
5. according to claim 1-4 any one of them methods, which is characterized in that wireless connectivity devices are bluetooth equipment or nothing
Line access point AP.
6. according to claim 1-4 any one of them methods, which is characterized in that the wireline connected device be automotive seats fill,
Computer or charging socket with USB.
7. a kind of processing unit of location information, which is characterized in that including:
Receiving module is configured as receiving position inquiry request;
Judgment module, be configured as judging local data base with the presence or absence of the current connected wireline connected device mark of terminal,
Wireless connectivity devices identify or are wirelessly connected account;The local data base includes the first mapping relations, first mapping
Relationship is the mapping of the location information of wireline connected device mark, wireless connectivity devices mark or wireless connection account and terminal
Relationship;
Acquisition module, if being configured as the local data base, there are the current connected wireline connected device mark of terminal, nothings
Line connects device identification or is wirelessly connected account, then according to first mapping relations and current connected wired company
It connects device identification, wireless connectivity devices mark or is wirelessly connected account and obtain the current location information of terminal;
The receiving module is additionally configured to RX path inquiry request;The path query is asked:Destination mark;
The judgment module is additionally configured to judge the local data base with the presence or absence of the current connected wired connection of terminal
Device identification, wireless connectivity devices mark are wirelessly connected account;The wherein described local data base further includes that the second mapping is closed
System, second mapping relations are wireline connected device mark, wireless connectivity devices mark or are wirelessly connected account and path
The mapping relations of information;
If the local data base there are terminal it is current connected wireline connected device mark, wireless connectivity devices mark or
It is wirelessly connected account, and is corresponding at least one routing information, then the judgment module judges whether to include described
The routing information of purpose mark;
The acquisition module, if being additionally configured in the presence of the routing information for including the purpose mark, it includes to obtain
State the routing information of purpose mark.
8. device according to claim 7, which is characterized in that described device further includes:
Trigger module, if be configured as the local data base there is no terminal it is current connected wireline connected device mark,
Wireless connectivity devices identify or are wirelessly connected account, then GPS startups are triggered, so that the acquisition module is obtained by the GPS
The location information for taking the terminal current.
9. device according to claim 8, which is characterized in that described device further includes:
First preserving module is configured as preserving the current connected wireline connected device mark of terminal in the local data base
Know, the mapping relations of wireless connectivity devices mark or wireless connection account and the current location information of the terminal.
10. device according to claim 8, which is characterized in that described device further includes:
Second preserving module, if be configured as to current connected wireline connected device mark, wireless connectivity devices mark or
The inquiry times that person is wirelessly connected account are more than predetermined threshold value, then it is current connected that terminal is preserved in the local data base
Wireline connected device mark, wireless connectivity devices mark are wirelessly connected reflecting for the account location information current with the terminal
Penetrate relationship.
11. according to claim 7-10 any one of them devices, which is characterized in that wireless connectivity devices be bluetooth equipment or
Wireless access point AP.
12. according to claim 7-10 any one of them devices, which is characterized in that the wireline connected device is automotive seats
It fills, computer or the charging socket with USB.
13. a kind of processing unit of location information, which is characterized in that described device includes:
Processor;
Memory for the executable instruction for storing the processor;
Wherein, the processor is configured as:
Receive position inquiry request;
Judge local data base with the presence or absence of terminal it is current connected wireline connected device mark, wireless connectivity devices mark or
Person is wirelessly connected account;The local data base includes the first mapping relations, and first mapping relations are wireline connected device
The mapping relations of the location information of mark, wireless connectivity devices mark or wireless connection account and terminal;
If the local data base there are terminal it is current connected wireline connected device mark, wireless connectivity devices mark or
It is wirelessly connected account, then identified according to first mapping relations and the current connected wireline connected device, wirelessly connected
It connects device identification or is wirelessly connected account and obtain the current location information of terminal;
Further include:
RX path inquiry request;The path query is asked:Destination mark;
Judge the local data base with the presence or absence of the current connected wireline connected device mark of terminal, wireless connectivity devices mark
Know or be wirelessly connected account;The wherein described local data base further includes the second mapping relations, and second mapping relations are to have
Line connects device identification, wireless connectivity devices mark or the mapping relations for being wirelessly connected account and routing information;
If the local data base there are terminal it is current connected wireline connected device mark, wireless connectivity devices mark or
Be wirelessly connected account, and be corresponding at least one routing information, then judge whether include the purpose mark road
Diameter information;
If in the presence of the routing information for including the purpose mark, acquisition includes the routing information of the purpose mark.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510955278.9A CN105530332B (en) | 2015-12-17 | 2015-12-17 | The processing method and processing device of location information |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510955278.9A CN105530332B (en) | 2015-12-17 | 2015-12-17 | The processing method and processing device of location information |
Publications (2)
Publication Number | Publication Date |
---|---|
CN105530332A CN105530332A (en) | 2016-04-27 |
CN105530332B true CN105530332B (en) | 2018-09-11 |
Family
ID=55772304
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201510955278.9A Active CN105530332B (en) | 2015-12-17 | 2015-12-17 | The processing method and processing device of location information |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN105530332B (en) |
Families Citing this family (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105827315A (en) * | 2016-05-24 | 2016-08-03 | 中国人民解放军信息工程大学 | Positioning method, terminal, LED (Light-Emitting Diode) control equipment and system |
CN107976171B (en) * | 2016-10-21 | 2021-09-14 | 北京搜狗科技发展有限公司 | Information processing method, device and equipment |
CN112788531B (en) * | 2021-03-08 | 2024-07-09 | 北京小米移动软件有限公司 | Positioning method, positioning device, mobile terminal, server and storage medium |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2011124132A1 (en) * | 2010-04-07 | 2011-10-13 | 中兴通讯股份有限公司 | Data communications system and method |
CN103533635A (en) * | 2012-07-03 | 2014-01-22 | 希姆通信息技术(上海)有限公司 | Mobile terminal positioning method and mobile terminal |
CN103906235A (en) * | 2014-04-04 | 2014-07-02 | 小米科技有限责任公司 | Terminal positioning method and terminal |
CN103916940A (en) * | 2014-03-28 | 2014-07-09 | 小米科技有限责任公司 | Method and device for acquiring photographing position |
-
2015
- 2015-12-17 CN CN201510955278.9A patent/CN105530332B/en active Active
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2011124132A1 (en) * | 2010-04-07 | 2011-10-13 | 中兴通讯股份有限公司 | Data communications system and method |
CN103533635A (en) * | 2012-07-03 | 2014-01-22 | 希姆通信息技术(上海)有限公司 | Mobile terminal positioning method and mobile terminal |
CN103916940A (en) * | 2014-03-28 | 2014-07-09 | 小米科技有限责任公司 | Method and device for acquiring photographing position |
CN103906235A (en) * | 2014-04-04 | 2014-07-02 | 小米科技有限责任公司 | Terminal positioning method and terminal |
Also Published As
Publication number | Publication date |
---|---|
CN105530332A (en) | 2016-04-27 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN109547987A (en) | The call method and device of nfc card | |
CN106484199B (en) | Thresholding setting method and device | |
CN105323244B (en) | Network Recognition method and apparatus | |
CN104105169A (en) | Method and device for automatically connecting with wireless local area network | |
CN104270727A (en) | Information transmission method and device | |
CN104320774A (en) | Updating method, device and facility | |
CN106157602A (en) | The method and apparatus of calling vehicle | |
CN106203650A (en) | Call a taxi and ask sending method and device | |
CN105376412A (en) | Information processing method and device | |
CN104427130A (en) | Mobile terminal and controlling method thereof | |
CN109451811A (en) | Unmanned plane management method and device, electronic equipment and computer readable storage medium | |
CN105530332B (en) | The processing method and processing device of location information | |
CN105407160B (en) | Interface display method and device | |
CN105188027A (en) | Nearby user searching method and device | |
KR20140118111A (en) | Method for displaying contact information in electronic device | |
CN105491518A (en) | Method and device for social reminding based on wearable devices | |
CN108572979A (en) | A kind of position service method and device, a kind of device for location-based service | |
CN103957502A (en) | Location-based service program selecting method, device and terminal | |
CN105843894A (en) | Information recommending method and device | |
CN104063423B (en) | A kind of method and device for determining position | |
CN105677435A (en) | Function invoking method, apparatus and terminal | |
CN109451295A (en) | A kind of method and system obtaining virtual information | |
CN106657573B (en) | Reminding method and device | |
CN108234764A (en) | Display methods, device and the terminal of terminal | |
CN107169042A (en) | A kind of method, device and the computer-readable recording medium of shared picture |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |