Mobile Unicom base station interface and telecom base station interface sharing

What is base station positioning?

Base station positioning refers to a function that the mobile phone transmitting base station calculates the geographic location of the mobile phone according to the distance from the mobile phone. Base station positioning is generally used for mobile phone users. The mobile phone base station positioning service is also called mobile location service (LBS service). The operator's network (such as the GSM network) obtains the location information (latitude and longitude coordinates) of the mobile terminal user, and with the support of the electronic map platform, provides users with a value-added service of corresponding services.

 

Mobile Unicom base station interface

The mobile Unicom base station interface will query the base station location through the cell number and base station number of the Mobile Unicom base station.

Interface address: http://v.juhe.cn/cell/get

Supported formats: json/xml

Request method: get/post

Request example: http://v.juhe.cn/cell/get?mnc=0&cell=28655&lac=17695&key=APPKEY you applied for

Description of request parameters:

name

Types of

Required

illustrate

mnc

int

Yes

Mobile base station: 0 Unicom base station: 1 Default: 0

lac

int

Yes

Cell number

cell

int

Yes

base station number

hex

INT

no

base type, 16 or 10, default: 10

dtype

string

no

Returned data format: json/xml/jsonp

callback

string

no

Must pass when jsonp format is selected

key

string

Yes

APPKEY

Return parameter description:

name

Types of

illustrate

error_code

int

return code

reason

string

Back to Instructions

data

-

return result set

  LAC

string

Cell number

  CELL

string

base station number

  LNG

string

longitude

  YEARS

string

latitude

  O_LNG

string

Corrected longitude (for google map display)

  O_LAT

string

Corrected latitude (for google map display)

  PRECISION

string

Base station signal coverage (unit: meters, radius)

  ADDRESS

string

address

JSON return example:

{
"resultcode":"200",
"reason":"Return Successd!",
"result":{
"data":[
        {
            "MCC":"460",
            "MNC":"1",
            "LNG":"120.721423",
            "LAT":"31.29854",
            "O_LNG":"120.72577772352",
            "O_LAT":"31.296529947917",
            "PRECISION":"1101",
            "ADDRESS":"No. 368, Jinji Lake Avenue, Wuzhong District, Suzhou City, Jiangsu Province"
        }
    ]
    }
}

 XML return example:

<root>
<resultcode>200</resultcode>
<reason>Return Successd!</reason>
<result>
<data>
<item>
<MCC>460</MCC>
<MNC>1</MNC>
<LNG>120.721423</LNG>
<LAT> 31.29854 </LAT>
<O_LNG>120.72577772352</O_LNG>
<O_LAT> 31.296529947917 </O_LAT>
<PRECISION>1101</PRECISION>
<ADDRESS>No. 368, Jinji Lake Avenue, Wuzhong District, Suzhou City, Jiangsu Province</ADDRESS>
</item>
</data>
</result>
</root>

 Demo:

 

 

Telecom base station interface

The base station location query is carried out through the system identification code, network identification code and base station number of the telecommunication base station.

Interface address: http://v.juhe.cn/cdma/

Supported formats: json/xml

Request method: get/post

Request example: http://v.juhe.cn/cdma/?sid=14123&cellid=1099&nid=73&key=APPKEY you applied for

Description of request parameters:

 

name

Types of

Required

illustrate

 

sid

int

Yes

SID system identification code (one for each region)

 

not

int

Yes

NID network identification code (1-3 in each region)

 

cellid

int

Yes

Base station number (bid)

 

hex

int

no

base type, 16 or 10, default: 10

 

dtype

string

no

Returned data format: json/xml/jsonp

 

callback

string

no

Must pass when jsonp format is selected

 

key

string

Yes

APP KEY

Return parameter description:

 

name

Types of

illustrate

 

error_code

int

return code

 

reason

string

Back to Instructions

 

data

-

return result set

 

  years

string

latitude

 

  lon

string

longitude

 

  address

string

address

 

radius

string

Coverage, unit M

JSON return example:

{
  "resultcode":"200",
  "reason":"Successed!",
  "result":{
    "years": 30.3688751,
    "lon":120.375296,
    "address":"G2501 Hangzhou Ring Expressway, Hangzhou City, Zhejiang Province",
        "radius": 946
  }
}

 XML return example:

<?xml version="1.0" encoding="utf-8" ?>
- <root>
    <resultcode>200</resultcode> 
    <reason>Successed!</reason> 
-   <result>
      <lat>30.3688751</lat> 
      <lon>120.375296</lon> 
      <address>浙江省杭州市G2501杭州绕城高速</address>
      <raggio>946</raggio> 
  </result>
  </root>

 演示:

中国电信CDMA-全国SID_NID分配对应参照表

http://wenku.baidu.com/view/727e4117c5da50e2524d7f34.html

 

Guess you like

Origin http://10.200.1.11:23101/article/api/json?id=326654464&siteId=291194637