文件名称:SafetyNetMobile
-
所属分类:
- 标签属性:
- 上传时间:2012-11-16
-
文件大小:131.01kb
-
已下载:0次
-
提 供 者:
-
相关连接:无下载说明:别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容来自于网络,使用问题请自行百度
通过Web页面获取基站位置Web端源码
首先要清楚一点的是,每一个基站都能够通过请求http://www.google.com/loc/json获取到一个经纬度。如果用户能够在短时间内获取到较多的基站信息,比如4个或5个,可以通过这几个基站的经纬度计算出比较准确的用户位置。
举个例子,比如我在WM上取到4个基站信息:
50554,9513,460,1
50325,9513,460,1
50584,9513,460,1
50041,9513,460,1
每一行的4个数值分别对应:CID, LAC, MCC, MNC
CID——CellID,表示基站号
LAC——Location Area Code,表示区域编号
MCC——Mobile Country Code,表示国家编号,中国是460
MNC——Mobile Network Code,表示移动网络编号,移动是0,联通是1
然后向Google发送基站信息是通过JSON串以Post的形式发送到http://www.google.com/loc/json,然后它会返回一个包含经纬度信息的JSON串-Web page for the base station location by Web-side source
First of all must be aware that each base station can request http://www.google.com/loc/json get through to a latitude and longitude. If the user can quickly access to the base station more information, such as 4 or 5, these base stations can be calculated more accurate latitude and longitude of the user location.
For example, such as WM, I get to 4 on the base station information:
50554,9513,460,1
50325,9513,460,1
50584,9513,460,1
50041,9513,460,1
Each line of the four values correspond to: CID, LAC, MCC, MNC
CID- CellID, said base station No.
LAC- Location Area Code, said regional code
MCC- Mobile Country Code, said the national numbers, China is 460
MNC- Mobile Network Code, said the mobile network number, mobile is 0, Unicom is a
Base station then sends the information to the Google JSON string through the form to send to the Post http://www.google.com/loc/json, then it will re
首先要清楚一点的是,每一个基站都能够通过请求http://www.google.com/loc/json获取到一个经纬度。如果用户能够在短时间内获取到较多的基站信息,比如4个或5个,可以通过这几个基站的经纬度计算出比较准确的用户位置。
举个例子,比如我在WM上取到4个基站信息:
50554,9513,460,1
50325,9513,460,1
50584,9513,460,1
50041,9513,460,1
每一行的4个数值分别对应:CID, LAC, MCC, MNC
CID——CellID,表示基站号
LAC——Location Area Code,表示区域编号
MCC——Mobile Country Code,表示国家编号,中国是460
MNC——Mobile Network Code,表示移动网络编号,移动是0,联通是1
然后向Google发送基站信息是通过JSON串以Post的形式发送到http://www.google.com/loc/json,然后它会返回一个包含经纬度信息的JSON串-Web page for the base station location by Web-side source
First of all must be aware that each base station can request http://www.google.com/loc/json get through to a latitude and longitude. If the user can quickly access to the base station more information, such as 4 or 5, these base stations can be calculated more accurate latitude and longitude of the user location.
For example, such as WM, I get to 4 on the base station information:
50554,9513,460,1
50325,9513,460,1
50584,9513,460,1
50041,9513,460,1
Each line of the four values correspond to: CID, LAC, MCC, MNC
CID- CellID, said base station No.
LAC- Location Area Code, said regional code
MCC- Mobile Country Code, said the national numbers, China is 460
MNC- Mobile Network Code, said the mobile network number, mobile is 0, Unicom is a
Base station then sends the information to the Google JSON string through the form to send to the Post http://www.google.com/loc/json, then it will re
(系统自动生成,下载前可以参看下载内容)
下载文件列表
App_Code/CellInfocs.cs
App_Code/LocationService.cs
Bin/Newtonsoft.Json.Net20.dll
Bin/Newtonsoft.Json.Net20.dll.refresh
Default.aspx
Default.aspx.cs
index.html
RequestTest.aspx
RequestTest.aspx.cs
Web.Config
51aspx源码必读.txt
from.gif
最新Asp.Net源码下载.url
SafetyNetMobile.sln
SafetyNetMobile.suo
App_Code
App_Data
Bin
App_Code/LocationService.cs
Bin/Newtonsoft.Json.Net20.dll
Bin/Newtonsoft.Json.Net20.dll.refresh
Default.aspx
Default.aspx.cs
index.html
RequestTest.aspx
RequestTest.aspx.cs
Web.Config
51aspx源码必读.txt
from.gif
最新Asp.Net源码下载.url
SafetyNetMobile.sln
SafetyNetMobile.suo
App_Code
App_Data
Bin
本网站为编程资源及源代码搜集、介绍的搜索网站,版权归原作者所有! 粤ICP备11031372号
1999-2046 搜珍网 All Rights Reserved.