CN105848105A - Positioning information processing method and device - Google Patents

Positioning information processing method and device Download PDF

Info

Publication number
CN105848105A
CN105848105A CN201610280009.1A CN201610280009A CN105848105A CN 105848105 A CN105848105 A CN 105848105A CN 201610280009 A CN201610280009 A CN 201610280009A CN 105848105 A CN105848105 A CN 105848105A
Authority
CN
China
Prior art keywords
information
virtual location
location information
virtual
location
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
CN201610280009.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.)
Hisense Mobile Communications Technology Co Ltd
Original Assignee
Hisense Mobile Communications Technology Co 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 Hisense Mobile Communications Technology Co Ltd filed Critical Hisense Mobile Communications Technology Co Ltd
Priority to CN201610280009.1A priority Critical patent/CN105848105A/en
Publication of CN105848105A publication Critical patent/CN105848105A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/02Services making use of location information
    • H04W4/025Services making use of location information using location based information parameters
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72448User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions
    • H04M1/72457User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions according to geographic location
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W64/00Locating 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)
  • Environmental & Geological Engineering (AREA)
  • Human Computer Interaction (AREA)
  • Navigation (AREA)

Abstract

An embodiment of the invention provides a positioning information processing method and device. The method includes inquiring the type of positioning information when monitoring a positioning request; when the type indicates virtual positioning information, reading predetermined virtual positioning information; and returning the virtual positioning information according to the positioning request. According to the embodiment of the invention, the virtual positioning information is set on a system level, so that geographic location modification is realized, geographic location modification on an application level is avoided and geographic location modification carried out by applications installed in a system is supported and a problem that a part of the applications do not support geographic location service is solved. Besides, since the virtual positioning information is set on the system level, no perception is achieved for the applications and later applications can use the virtual positioning information, so that manual geographic location modification on the application level is avoided and operation convenience is improved substantially.

Description

A kind for the treatment of method and apparatus positioning information
Technical field
The present invention relates to the technical field of computer disposal, particularly relate to a kind of process side positioning information Method and a kind of processing means positioning information.
Background technology
Along with the development of science and technology, various terminals, the most such as the mobile device such as mobile phone, panel computer exists The utilization rate of each side such as the work of people, study, daily exchange is more and more higher.
In many sights, mobile device it is frequently necessary to use positioning function.
Such as, position in electronic chart, and retrieve near POI (Point of Interest, Information point), such as, hotel, restaurant etc..
The most such as, position in shopping website, and know the goods that city, place is sold.
But, current location mode is both for mobile device itself and positions, if user is the most right The geographical position of itself positions, then need manual modification geographical position, complex operation, some application Even do not support the amendment in geographical position.
Such as, user prepares to go on business, tourism etc., if wanting to understand goes on business, the weather in city traveled, meal The situations such as drink, lodging, need in map application or other related application, arrange this city continually Position.
Summary of the invention
In view of the above problems, in order to solve, above-mentioned positioning action is loaded down with trivial details, position, status is not supported in certain applications The problem of amendment, the embodiment of the present invention proposes a kind of processing method positioning information and corresponding a kind of The processing means of location information.
In order to solve the problems referred to above, the embodiment of the invention discloses a kind of processing method positioning information, bag Include:
When listening to Location Request, the type of querying positioning information;
When described type is virtual location information, read the virtual location information preset;
Described virtual location information is returned according to described Location Request.
Preferably, also include:
When described type is true location information, read carry out positioning action acquisition truly position letter Breath;
Described true location information is returned according to described Location Request.
Preferably, also include:
Obtain virtual location information;
In the including level information assembly that information write in described virtual location is preset.
Preferably, the step of the virtual location information that described reading is preset includes:
Virtual location information is read from described including level information assembly;
Preferably, the step of the true location information that described reading carries out positioning action acquisition includes:
Read from default actual position information assembly and carry out the true location information that positioning action obtains;
Wherein, described including level information assembly is the mirror image of described actual position information assembly.
Preferably, also include:
Described virtual location information is stored to virtual location object.
Preferably, described virtual location information includes longitude information, latitude information, elevation information, speed One or more in information;
The step of described acquisition virtual location information includes:
When receiving administrative information region, load the electronic chart that described administrative information region is corresponding;
The target icon is shown in described electronic chart;
When the mobile operation for described the target icon being detected, according to described mobile operation at described electricity Mobile described the target icon in sub-map;
Inquire about longitude information corresponding to described the target icon, latitude information;
And/or,
Generate elevation information and/or velocity information arranges information;
When detecting for the described confirmation arranging information operation, receive input elevation information and / or velocity information;
When detecting for the described cancellation arranging information operation, extract acquiescence elevation information and / or the velocity information of acquiescence;
And/or,
Call virtual location object, the virtual location information prestored with reading;
And/or,
Carry out positioning action, it is thus achieved that truly position information;
Described true location information is offset, it is thus achieved that virtual location information.
The embodiment of the invention also discloses a kind of processing means positioning information, including:
Type queries module, is used for when listening to Location Request, the type of querying positioning information;
Virtual location information reading module, for when described type is virtual location information, reads and presets Virtual location information;
Virtual location information returns module, for returning described virtual location letter according to described Location Request Breath.
Preferably, also include:
Truly positioning information reading module, for when described type is true location information, reading is carried out The information that truly positions that positioning action obtains;
True location information returns module, for returning described true location letter according to described Location Request Breath.
Preferably, also include:
Virtual location data obtaining module, is used for obtaining virtual location information;
Virtual location information writing module, for virtual location information write in described virtual location preset In information assembly.
Preferably, described virtual location information reading module includes:
Including level information assembly reading submodule, for reading void from described including level information assembly Draft an information;
Preferably, the step of described true location information reading module includes:
Actual position information assembly reading submodule, for reading from default actual position information assembly Carry out the true location information of positioning action acquisition;
Wherein, described including level information assembly is the mirror image of described actual position information assembly.
Preferably, also include:
Virtual location information storage module, right for described virtual location information is stored to virtual location As.
Preferably, described virtual location information includes longitude information, latitude information, elevation information, speed One or more in information;
Described virtual location data obtaining module includes:
Electronic chart records submodule, for when receiving administrative information region, loads described administrative area The electronic chart that domain information is corresponding;
The target icon display sub-module, for showing the target icon in described electronic chart;
The target icon mover module, is used for when the mobile operation for described the target icon being detected, According to described mobile operation mobile described the target icon in described electronic chart;
Longitude and latitude inquiry submodule, for inquiring about longitude information corresponding to described the target icon, latitude information;
And/or,
Information is set and generates submodule, prompting is set for generate elevation information and/or velocity information Information;
Input information receives submodule, for detecting for the described confirmation operation arranging information Time, receive elevation information and/or the velocity information of input;
Default information extracts submodule, for detecting for the described cancellation operation arranging information Time, extract elevation information and/or the velocity information of acquiescence of acquiescence;
And/or,
Virtual location object reference submodule, is used for calling virtual location object, prestores with reading Virtual location information;
And/or,
Locator module, is used for carrying out positioning action, it is thus achieved that truly position information;
Skew submodule, for offseting described true location information, it is thus achieved that virtual location information.
The embodiment of the present invention includes advantages below:
The embodiment of the present invention is when listening to Location Request, and the type of querying positioning information, if demand is virtual Location information, then can read default virtual location information, and return this virtual location information and carry out phase The operation closed, by arranging virtual location information in system level, it is achieved that the amendment to geographical position, Avoid carrying out at application the amendment in geographical position, support that the application installed in systems is to geographical position Amendment, solve certain applications and do not support the problem in geographical position, additionally, due to set in system level Putting virtual location information, be unaware for application, posterior application can use, it is to avoid Manually is modified in geographical position at application, substantially increase the simplicity of operation.
The embodiment of the present invention when demand truly positions information, then can carry out positioning action, it is thus achieved that true Location information, and return the operation that this true location information carries out being correlated with, make by oneself by arranging switching flexibly Justice location and true location, it is ensured that the normal work of true location.
Accompanying drawing explanation
Fig. 1 is the flow chart of steps of a kind of processing method embodiment 1 positioning information of the present invention;
Fig. 2 is the flow chart of steps of a kind of processing method embodiment 2 positioning information of the present invention;
Fig. 3 is the flow chart of steps of a kind of processing method embodiment 3 positioning information of the present invention;
Fig. 4 is the example architecture figure of a kind of android system of the embodiment of the present invention;
Fig. 5 is the structured flowchart of a kind of processing means embodiment positioning information of the present invention.
Detailed description of the invention
Understandable, below in conjunction with the accompanying drawings for enabling the above-mentioned purpose of the present invention, feature and advantage to become apparent from The present invention is further detailed explanation with detailed description of the invention.
With reference to Fig. 1, it is shown that the step stream of a kind of processing method embodiment 1 positioning information of the present invention Cheng Tu, specifically may include steps of:
Step 101, when listening to Location Request, the type of querying positioning information;
Step 102, when described type is virtual location information, reads the virtual location information preset;
Step 103, returns described virtual location information according to described Location Request.
It should be noted that the embodiment of the present invention can be applied in the electronic equipment with display screen, permissible Move including mobile phone, panel computer, personal digital assistant, wearable device (such as glasses, wrist-watch etc.) etc. Equipment, it is also possible to include the fixing equipment such as TV, PC.
The operating system of these electronic equipments can include Android (Android), IOS, Windows Phone, Windows etc..
In these operating systems, generally provide the API (Application of positioning service Programming Interface, application programming interface) interface is applied for system, third-party application Call, to obtain location information.
If system application, third-party application call this api interface, then be equivalent to send Location Request.
The application embodiment of the present invention, user can arrange true location by modes such as function buttons, or Person is, self-defined location.
Wherein, self-defined location, is to arrange self-defining location information, the most virtual location information.
If listening to system application or the Location Request of third-party application, then can inquire about required location letter The type of breath.
If the location information needed for Cha Xun is virtual location information, then can read pre-set virtual fixed Position information, returns to system application or third-party application, operates accordingly.
Such as, in electronic chart, virtual location information can be applied to carry out the mark in place, road is set POI near line, inquiry etc..
The most such as, in the application of shopping website, the city that this virtual location information is corresponding can be switched to, Show the goods that this city is sold.
The embodiment of the present invention is when listening to Location Request, and the type of querying positioning information, if demand is virtual Location information, then can read default virtual location information, and return this virtual location information and carry out phase The operation closed, by arranging virtual location information in system level, it is achieved that the amendment to geographical position, Avoid carrying out at application the amendment in geographical position, support that the application installed in systems is to geographical position Amendment, solve certain applications and do not support the problem in geographical position, additionally, due to set in system level Putting virtual location information, be unaware for application, posterior application can use, it is to avoid Manually is modified in geographical position at application, substantially increase the simplicity of operation.
With reference to Fig. 2, it is shown that the step stream of a kind of processing method embodiment 2 positioning information of the present invention Cheng Tu, specifically may include steps of:
Step 201, when listening to Location Request, the type of querying positioning information;
Step 202, when described type is virtual location information, reads the virtual location information preset;
Step 203, returns described virtual location information according to described Location Request;
Step 204, when described type is true location information, reads and carries out the true of positioning action acquisition Real location information;
Step 205, returns described true location information according to described Location Request.
In embodiments of the present invention, if listening to system application or the Location Request of third-party application, then may be used The type of the location information needed for inquiry.
If the location information needed for Cha Xun is for truly to position information, then can carry out positioning action, it is thus achieved that true Real location information, returns to system application or third-party application, operates accordingly.
Wherein, true location is location mode comparatively speaking with self-defined location, and true location is to pass through Positioning module in mobile device, such as GPS (Global Positioning System, global positioning system) Module (includes GPS chip, antenna etc.), or, by network, carry out positioning action.
In implementing, positioning action can be carried out by one or more location modes following:
1, satellite fix mode;
The position signalling of terminal can be sent to position backstage and position by satellite fix mode.At present Spendable global position system includes GPS, GLONASS, dipper system, Galileo system etc..
2, Wireless Fidelity location mode;
Wireless Fidelity (Wi-Fi) location mode can send according to the Wi-Fi Hotspot being deployed in each place Signal strength signal intensity and the whole world unique mac address (Media Access Control Address, media interviews Control address, or referred to as hardware address, for defining the position of the network equipment) position.
3, architecture mode;
Architecture mode can be to utilize operator (such as mobile operator, operator of UNICOM, telecommunications fortune Battalion business etc.) base station the measuring and calculating distance of the distance of terminal is determined the position of terminal.
4, cell ID location mode;
Cell ID (Cell ID) location mode can be passed through wireless network (such as cellular network) and report Cell id (can estimate according to the base station of service) residing for terminal, location service platform is cell id Translate into latitude and longitude coordinates.
5, advanced forward link triangle polyester fibre mode.
Advanced forward link triangle polyester fibre mode (AFLT) is when carrying out positioning action, and terminal is supervised simultaneously Listen the pilot frequency information of multiple base station (at least 3 base stations), utilize chip time delay near determining that terminal arrives The distance of base station, finally calculates the position of terminal with triangulation location.
In implementing, can be with satellite fix mode, architecture mode, Wireless Fidelity location mode Deng, position mode, advanced forward link triangle in conjunction with other several location mode, such as cell ID Location modes etc., position.
Such as, can be to use satellite fix mode, architecture mode, Wireless Fidelity location on mobile phone The mixed positioning mode that mode combines positions.
Certainly, above-mentioned location mode is intended only as example, when implementing the embodiment of the present invention, and can basis Actual conditions arrange other location modes, and this is not any limitation as by the embodiment of the present invention.It addition, except upper Stating outside the mode of location, those skilled in the art can be to use other location mode according to actual needs, this This is not any limitation as by inventive embodiments.
The embodiment of the present invention when demand truly positions information, then can carry out positioning action, it is thus achieved that true Location information, and return the operation that this true location information carries out being correlated with, make by oneself by arranging switching flexibly Justice location and true location, it is ensured that the normal work of true location.
With reference to Fig. 3, it is shown that the step stream of a kind of processing method embodiment 3 positioning information of the present invention Cheng Tu, specifically may include steps of:
Step 301, obtains virtual location information;
In embodiments of the present invention, if desired carry out self-defined location, setting of system can be entered user Put menu, in self-defined position functions setting option, open and self-defined position functions are opened.
Now, it is 1 that system can arrange user-defined identification flag, is otherwise 0.
Wherein, 1 mark opens self-defined position functions, carries out self-defined location, the class of location information Type is virtual location information, and 0 expression closes self-defined position functions, the most truly positions, location Type be true location.
In the virtual location information of self-defined location, can obtain in the following way:
In a kind of mode, virtual location information includes longitude information, latitude information, elevation information, speed One or more in degree information;
When receiving administrative information region, such as country, city, street name, its Chinese Home, city General is not empty, and street name can be empty.And country, city have default value, in addition to manually writing Country that can also be the most integrated in choice box, city list in select freely.
Then can load the electronic chart that administrative information region is corresponding, this electronic chart shows location figure Mark.
When detecting that the mobile operation for the target icon is (as dragged location figure with finger on touch screen Mark) time, according to mobile operation running fix icon in electronic chart.
Certainly, if user need not running fix icon, it is also possible to do not trigger mobile operation.
Then, by modes such as geocodings, longitude information that Query Location icon is corresponding, latitude information.
Further, it is also possible to generate elevation information and/or velocity information arranges information.
When detect for arrange information confirmation operate time, receive input elevation information and/or speed Degree information.
When detecting for the described cancellation arranging information operation, extract acquiescence elevation information and / or the velocity information of acquiescence.
In a further mode of operation, virtual location object can be called, the virtual location prestored with reading Information.
Wherein, virtual location is to liking virtual positioning component, it is provided that virtual location information.
It should be noted that primary system typically has truly positions object, i.e. true positioning component, carry For truly positioning information, and what virtual location object non-protogenous system were had.
Such as, in android system, virtual location object is VirtualLocationProvider, very Real location object is LocationProvider, and it typically can use LocationProviderInterface Interface describes, and the class that realizes of this LocationProviderInterface includes that GpsLocationProvider (makes Position with gps satellite), LocationProviderProxy (use generation of service of real-time performance location Reason, network positions depends on the base station of mobile phone signal or the Wifi access point basis as location).
In a further mode of operation, virtual positioning component can be called, carry out positioning action, it is thus achieved that be truly fixed Position information, offsets true location information, it is thus achieved that virtual location information.
Certainly, the acquisition mode of above-mentioned virtual location information is intended only as example, implements implementing the present invention During example, the acquisition mode of other virtual location information, the embodiment of the present invention can be set according to actual conditions This is not any limitation as.It addition, in addition to the acquisition mode of above-mentioned virtual location information, art technology Personnel can be to use the acquisition mode of other virtual location information, the embodiment of the present invention according to actual needs This is not any limitation as.
Step 302, in the including level information assembly preset the write of described virtual location information;
In embodiments of the present invention, including level information assembly is the encapsulation of virtual location information.
It should be noted that primary system typically has actual position information assembly, it is the information that truly positions Encapsulation, predominant package obtains the correlation technique of true location.
And the mirror image that including level information assembly is actual position information assembly, and non-protogenous system had 's.
Such as, in android system, actual position information assembly is Location, and relate to is true Location information is generally mTime (positioning time), mLatitude (longitude information), mLongitude (latitude information), whether mHasAlititude (has elevation information), mAltitude (elevation information), MHasSpeed (whether this location has velocity information), mSpeed (velocity information of this location).
Including level information assembly is VirtualLocation, and for the mirror image of Location, virtual location is believed Breath could be arranged to mTime (positioning time), mLatitude (longitude information), mLongitude (latitude Degree information), whether mHasAlititude (has elevation information), mAltitude (elevation information), mHasSpeed (whether this location has velocity information), mSpeed (velocity information of this location).
Step 303, when listening to Location Request, the type of querying positioning information;
In android system, for the api interface called, generally comprise LocationManager Class and LocationListener interface.
Wherein, LocationManager class is generally used for obtaining and calling positioning service, LocationListener interface is generally used for accepting notice when positional information changes.
In implementing, generally call upon in LocationManager class OnLocationChanged in getLastKnownLocation function and LocationListener interface Call back function, therefore, it can by listening to calling of above-mentioned two function, monitoring system application or the The Location Request of tripartite's application.
If listening to calling of above-mentioned two function, then can inquire about the flag formerly arranged.
Step 304, when described type is true location information, from default actual position information assembly Middle reading carries out the true location information of positioning action acquisition;
Step 305, returns described true location information according to described Location Request;
In android system, when being 0 for flag, then return actual position information assembly (class) The information that truly positions of Location.
Furthermore, obtain the process of true location information approximately as:
1, the LocationManager object of system is obtained;
2, by LocationManager, true location is obtained by the LocationProvider specified Information, true location information is represented by Location object;
3, from Location object, the information that truly positions is obtained.
Step 306, when described type is virtual location information, from described including level information assembly Read virtual location information;
Step 307, returns described virtual location information according to described Location Request;
In android system, when being 1 for flag, then return including level information assembly (class) The virtual location information of VirtualLocation.
Step 308, stores described virtual location information to virtual location object.
In embodiments of the present invention, the virtual location information in this including level information object can be carried out Storage, the content of storage is put in the object of virtual location, such as VirtualLocationProvider, is carried out The fixed storage of virtual location information, it is ensured that the virtual location information of setting is not because the reasons such as switching on and shutting down are lost Lose.
As shown in Figure 4, in android system, framework typically divides into Java applications (should With layer), Framework (application framework layer), Hardware (hardware abstraction layer), Linux Kernel (Linux inner core) etc., LocationProvider, Location can be arranged on the Framework of system In, call for system application or third-party application, therefore, accordingly, VirtualLocationProvider, VirtualLocation can also be arranged in the Framework of system, should for system application or third party With calling.
It should be noted that for embodiment of the method, in order to be briefly described, therefore it is all expressed as one it be The combination of actions of row, but those skilled in the art should know, and the embodiment of the present invention is not by described The restriction of sequence of movement because according to the embodiment of the present invention, some step can use other orders or Person is carried out simultaneously.Secondly, those skilled in the art also should know, embodiment described in this description Belong to preferred embodiment, necessary to the involved action not necessarily embodiment of the present invention.
With reference to Fig. 5, it is shown that the structured flowchart of a kind of processing means embodiment positioning information of the present invention, Specifically can include such as lower module:
Type queries module 501, is used for when listening to Location Request, the type of querying positioning information;
Virtual location information reading module 502, for when described type is virtual location information, reads The virtual location information preset;
Virtual location information returns module 503, for returning to described virtual location according to described Location Request Information.
In one embodiment of the invention, this device can also include such as lower module:
Truly positioning information reading module, for when described type is true location information, reading is carried out The information that truly positions that positioning action obtains;
True location information returns module, for returning described true location letter according to described Location Request Breath.
In one embodiment of the invention, this device can also include such as lower module:
Virtual location data obtaining module, is used for obtaining virtual location information;
Virtual location information writing module, for virtual location information write in described virtual location preset In information assembly.
In one embodiment of the invention, described virtual location information reading module 502 can include as Lower submodule:
Including level information assembly reading submodule, for reading void from described including level information assembly Draft an information;
The step of described true location information reading module includes:
Actual position information assembly reading submodule, for reading from default actual position information assembly Carry out the true location information of positioning action acquisition;
Wherein, described including level information assembly is the mirror image of described actual position information assembly.
In one embodiment of the invention, this device can also include such as lower module:
Virtual location information storage module, right for described virtual location information is stored to virtual location As.
In an example of the embodiment of the present invention, described virtual location information includes longitude information, latitude One or more in information, elevation information, velocity information;
Described virtual location data obtaining module can include following submodule:
Electronic chart records submodule, for when receiving administrative information region, loads described administrative area The electronic chart that domain information is corresponding;
The target icon display sub-module, for showing the target icon in described electronic chart;
The target icon mover module, is used for when the mobile operation for described the target icon being detected, According to described mobile operation mobile described the target icon in described electronic chart;
Longitude and latitude inquiry submodule, for inquiring about longitude information corresponding to described the target icon, latitude information;
And/or,
Information is set and generates submodule, prompting is set for generate elevation information and/or velocity information Information;
Input information receives submodule, for detecting for the described confirmation operation arranging information Time, receive elevation information and/or the velocity information of input;
Default information extracts submodule, for detecting for the described cancellation operation arranging information Time, extract elevation information and/or the velocity information of acquiescence of acquiescence;
And/or,
Virtual location object reference submodule, is used for calling virtual location object, prestores with reading Virtual location information;
And/or,
Locator module, is used for carrying out positioning action, it is thus achieved that truly position information;
Skew submodule, for offseting described true location information, it is thus achieved that virtual location information.
For device embodiment, due to itself and embodiment of the method basic simlarity, so the comparison described Simply, relevant part sees the part of embodiment of the method and illustrates.
Each embodiment in this specification all uses the mode gone forward one by one to describe, and each embodiment stresses Be all the difference with other embodiments, between each embodiment, identical similar part sees mutually ?.
Those skilled in the art are it should be appreciated that the embodiment of the embodiment of the present invention can be provided as method, dress Put or computer program.Therefore, the embodiment of the present invention can use complete hardware embodiment, completely Software implementation or the form of the embodiment in terms of combining software and hardware.And, the embodiment of the present invention Can use and can be situated between with storage at one or more computers wherein including computer usable program code The upper computer journey implemented of matter (including but not limited to magnetic disc store, CD-ROM, optical memory etc.) The form of sequence product.
The embodiment of the present invention is with reference to method according to embodiments of the present invention, terminal device (system) and meter The flow chart of calculation machine program product and/or block diagram describe.It should be understood that can be by computer program instructions Each flow process in flowchart and/or block diagram and/or square frame and flow chart and/or square frame Flow process in figure and/or the combination of square frame.Can provide these computer program instructions to all-purpose computer, The processor of special-purpose computer, Embedded Processor or other programmable data processing terminal equipment is to produce One machine so that performed by the processor of computer or other programmable data processing terminal equipment Instruction produce for realizing at one flow process of flow chart or multiple flow process and/or one square frame of block diagram or The device of the function specified in multiple square frames.
These computer program instructions may be alternatively stored in and computer or other programmable datas can be guided to process In the computer-readable memory that terminal device works in a specific way so that be stored in this computer-readable Instruction in memory produces the manufacture including command device, and this command device realizes flow chart one The function specified in flow process or multiple flow process and/or one square frame of block diagram or multiple square frame.
These computer program instructions also can be loaded into computer or other programmable data processing terminals set Standby upper so that on computer or other programmable terminal equipment, to perform sequence of operations step in terms of producing The process that calculation machine realizes, thus the instruction performed on computer or other programmable terminal equipment provides and uses In realizing in one flow process of flow chart or multiple flow process and/or one square frame of block diagram or multiple square frame The step of the function specified.
Although having been described for the preferred embodiment of the embodiment of the present invention, but those skilled in the art being once Know basic creative concept, then these embodiments can be made other change and amendment.So, Claims are intended to be construed to include preferred embodiment and fall into the institute of range of embodiment of the invention There are change and amendment.
Finally, in addition it is also necessary to explanation, in this article, the relational terms of such as first and second or the like It is used merely to separate an entity or operation with another entity or operating space, and not necessarily requires Or imply relation or the order that there is any this reality between these entities or operation.And, art Language " includes ", " comprising " or its any other variant are intended to comprising of nonexcludability, so that Process, method, article or terminal device including a series of key elements not only include those key elements, and Also include other key elements being not expressly set out, or also include for this process, method, article or The key element that person's terminal device is intrinsic.In the case of there is no more restriction, statement " include one It is individual ... " key element that limits, it is not excluded that including the process of described key element, method, article or end End equipment there is also other identical element.
Above to a kind of processing method positioning information provided by the present invention and a kind of place positioning information Reason device, is described in detail, and specific case used herein is to the principle of the present invention and embodiment party Formula is set forth, and the explanation of above example is only intended to help to understand method and the core thereof of the present invention Thought;Simultaneously for one of ordinary skill in the art, according to the thought of the present invention, it is being embodied as All will change in mode and range of application, in sum, it is right that this specification content should not be construed as The restriction of the present invention.

Claims (10)

1. the processing method positioning information, it is characterised in that including:
When listening to Location Request, the type of querying positioning information;
When described type is virtual location information, read the virtual location information preset;
Described virtual location information is returned according to described Location Request.
Method the most according to claim 1, it is characterised in that also include:
When described type is true location information, read carry out positioning action acquisition truly position letter Breath;
Described true location information is returned according to described Location Request.
Method the most according to claim 1 and 2, it is characterised in that also include:
Obtain virtual location information;
In the including level information assembly that information write in described virtual location is preset.
Method the most according to claim 3, it is characterised in that
The step of the virtual location information that described reading is preset includes:
Virtual location information is read from described including level information assembly;
The step of the true location information that described reading carries out positioning action acquisition includes:
Read from default actual position information assembly and carry out the true location information that positioning action obtains;
Wherein, described including level information assembly is the mirror image of described actual position information assembly.
Method the most according to claim 3, it is characterised in that also include:
Described virtual location information is stored to virtual location object.
Method the most according to claim 3, it is characterised in that described virtual location information includes One or more in longitude information, latitude information, elevation information, velocity information;
The step of described acquisition virtual location information includes:
When receiving administrative information region, load the electronic chart that described administrative information region is corresponding;
The target icon is shown in described electronic chart;
When the mobile operation for described the target icon being detected, according to described mobile operation at described electricity Mobile described the target icon in sub-map;
Inquire about longitude information corresponding to described the target icon, latitude information;
And/or,
Generate elevation information and/or velocity information arranges information;
When detecting for the described confirmation arranging information operation, receive input elevation information and / or velocity information;
When detecting for the described cancellation arranging information operation, extract acquiescence elevation information and / or the velocity information of acquiescence;
And/or,
Call virtual location object, the virtual location information prestored with reading;
And/or,
Carry out positioning action, it is thus achieved that truly position information;
Described true location information is offset, it is thus achieved that virtual location information.
7. the processing means positioning information, it is characterised in that including:
Type queries module, is used for when listening to Location Request, the type of querying positioning information;
Virtual location information reading module, for when described type is virtual location information, reads and presets Virtual location information;
Virtual location information returns module, for returning described virtual location letter according to described Location Request Breath.
Device the most according to claim 7, it is characterised in that also include:
Truly positioning information reading module, for when described type is true location information, reading is carried out The information that truly positions that positioning action obtains;
True location information returns module, for returning described true location letter according to described Location Request Breath.
9. according to the device described in claim 7 or 8, it is characterised in that also include:
Virtual location data obtaining module, is used for obtaining virtual location information;
Virtual location information writing module, for virtual location information write in described virtual location preset In information assembly.
Device the most according to claim 9, it is characterised in that
Described virtual location information reading module includes:
Including level information assembly reading submodule, for reading void from described including level information assembly Draft an information;
The step of described true location information reading module includes:
Actual position information assembly reading submodule, for reading from default actual position information assembly Carry out the true location information of positioning action acquisition;
Wherein, described including level information assembly is the mirror image of described actual position information assembly.
CN201610280009.1A 2016-04-28 2016-04-28 Positioning information processing method and device Pending CN105848105A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610280009.1A CN105848105A (en) 2016-04-28 2016-04-28 Positioning information processing method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610280009.1A CN105848105A (en) 2016-04-28 2016-04-28 Positioning information processing method and device

Publications (1)

Publication Number Publication Date
CN105848105A true CN105848105A (en) 2016-08-10

Family

ID=56590467

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610280009.1A Pending CN105848105A (en) 2016-04-28 2016-04-28 Positioning information processing method and device

Country Status (1)

Country Link
CN (1) CN105848105A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106339266A (en) * 2016-08-31 2017-01-18 深圳市金立通信设备有限公司 Virtual positioning method and terminal
CN107018491A (en) * 2017-03-29 2017-08-04 联想(北京)有限公司 The treating method and apparatus of position data
CN107545192A (en) * 2016-12-23 2018-01-05 上海闻泰电子科技有限公司 Mobile terminal device positional information protects system and method
CN114422944A (en) * 2021-11-12 2022-04-29 北京华云安信息技术有限公司 Method, device, equipment and storage medium for providing virtual position data

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20130012237A1 (en) * 2006-01-09 2013-01-10 Nokia Corporation Displaying network objects in mobile devices based on geolocation
CN103596124A (en) * 2012-08-13 2014-02-19 中兴通讯股份有限公司 A network side device, a positioning server, a mobile terminal and a positioning method
CN104035948A (en) * 2013-09-29 2014-09-10 腾讯科技(深圳)有限公司 Geographic position display method and device
CN104639729A (en) * 2013-11-14 2015-05-20 展讯通信(上海)有限公司 Mobile terminal setting switching system

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20130012237A1 (en) * 2006-01-09 2013-01-10 Nokia Corporation Displaying network objects in mobile devices based on geolocation
CN103596124A (en) * 2012-08-13 2014-02-19 中兴通讯股份有限公司 A network side device, a positioning server, a mobile terminal and a positioning method
CN104035948A (en) * 2013-09-29 2014-09-10 腾讯科技(深圳)有限公司 Geographic position display method and device
CN104639729A (en) * 2013-11-14 2015-05-20 展讯通信(上海)有限公司 Mobile terminal setting switching system

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
百度经验: "《https://jingyan.baidu.com/article/1612d50058c586e20f1eee7b.html》", 22 January 2015 *

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106339266A (en) * 2016-08-31 2017-01-18 深圳市金立通信设备有限公司 Virtual positioning method and terminal
CN107545192A (en) * 2016-12-23 2018-01-05 上海闻泰电子科技有限公司 Mobile terminal device positional information protects system and method
CN107018491A (en) * 2017-03-29 2017-08-04 联想(北京)有限公司 The treating method and apparatus of position data
CN107018491B (en) * 2017-03-29 2020-01-31 联想(北京)有限公司 Method and device for processing position data
CN114422944A (en) * 2021-11-12 2022-04-29 北京华云安信息技术有限公司 Method, device, equipment and storage medium for providing virtual position data

Similar Documents

Publication Publication Date Title
US10932091B2 (en) Method and apparatus for location notification using location context information
Kushwaha et al. Location based services using android mobile operating system
CN102105809B (en) Method providing positioning and navigation inside large buildings
US7035647B2 (en) Efficient location determination for mobile units
US9247386B2 (en) Location-based mobile application and service selection
US8856671B2 (en) Route selection by drag and drop
US9049547B2 (en) Displaying place-related content on a mobile device
US7769894B2 (en) Determining and presenting communication device proximity information
US9562783B2 (en) Identifying future location and providing path crossing indications
US20090191892A1 (en) Integrating position-determining and wi-fi functions
CN103119966A (en) Language dependent positioning and signalling
CN104782222A (en) Location-aware mobile application management
CA2701998C (en) Method and apparatus for location notification using location context information
CN105848105A (en) Positioning information processing method and device
KR20090116526A (en) Logistics information system using position information of logistics vehicle
CN102238472A (en) Method for updating position information stored in server through current position of mobile device
Ogawa et al. Toward seamless indoor-outdoor applications: Developing stakeholder-oriented location-based services
US9031978B1 (en) Provision of location-based business information
Tiwari et al. A survey on LBS: system architecture, trends and broad research areas
WO2001033825A1 (en) Spatial toolkits for wireless location based services
US20120034929A1 (en) System and method for showing dynamic location for a plurality of users
CN110376625A (en) For warehousing system method for rapidly positioning
KR100671164B1 (en) System and method for providing position information using mobile phone
CN116709501A (en) Service scene identification method, electronic equipment and storage medium
KR20170059716A (en) Voice calls only System that can provide real-time location information And Way

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20160810