-
Notifications
You must be signed in to change notification settings - Fork 37
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
External interface to CGI latitude/longitude database #22
Comments
On SS7 based mobile core networks, agreed for 2G (GSM), as we only have MAP ATI to retrieve GCI (Global Cell Identification) including CI (Cell Id), LAC (Location Area Code) and other location information parameters like MCC, MNC, age of location info (as we are already achieving with GMLC). So, the only way to provide geographic coordinates in that scenario (with a big accuracy error margin) is the way you mention. However, for 3G (UMTS and beyond), we need to implement two further SS7 operations: MAP SRIforLCS (Send Routing Information for Location Services) and MAP PSL (Provide Subscriber Location) and MAP SLR (Subscriber Location Report). If there's a Standalone SMLC in the MNO's core network, the MAP PSL will trigger procedures between the SMLC and UTRAN (UMTS Terrestrial Radio Access Network) to obtain location information including geographic coordinates of the involved user equipment (not the base station) and will inform it back to the GMLC. For 4G LTE, it's conceptually the same, but in this context Diameter procedures are needed as per 3GPP TS 29.172/29.173. |
I'm interested in seeing some progress on this so I've started researching what an RA for this might look like. Is there a good reference for a preferred "restcomm style" JCA RA? Is this one https://github.com/RestComm/jain-slee.javaee? |
@monix I'd like to suggest we start by creating an interface to MLS (https://location.services.mozilla.com/api) Their API is open, easy to use, and has a great stumbler mobile app for assisting users with adding local cells to the database. |
OK @angrygreenfrogs. Just to be clear, this issue will only involve CGI - lat/long conversion, right? I just don´t want to mix up concerns when we have location estimate and CGI data on 3G and LTE location services (in best case scenario, we'll both have lat/long of the target mobile equipment and CGI information -Cell ID, LAC, MCC, MNC- of the base station or (e)nodeB which is providing radio service, which are different geographic points). Having this clear, this enhancement could be very powerful and cover many use cases covered in Restcomm Geolocation API definition. |
All good, Firefox MLS sounds fine. Frankly though, choosing and implementing the EIS is the easy part. Am I right in assuming we should be using the JCA Resource Adapter architecture for this? |
@FerUy You might need to clarify that sorry! Are you talking about keeping the cell x/y from this integration separate from any other location that may be returned by the other protocols? |
Hi @monix, what I am saying is that either in 3G or LTE location procedures, the response may contain a location estimate in latitude/longitude which is the calculation of the current position of the user equipment made by several antennas. Along with that location information in geographic coordinates, the GCI (Cell Id, LAC, MCC, MNC) may also come in the response. So, you will have the information of a regular MAP ATI plus a location estimate of the current position of the target equipment. Hence, we must take into consideration this so we don't mix concerns. The implementation regarding this issue is about matching GCI with their latitude/longitude. Are we on the same page now? |
@FerUy Yep, totally on the same page here. CGI -> lon/lat is the scope of this task and the proposed RA. |
Hi @monix... I guess you are referring to the JCA RA, right? |
@FerUy Yep! |
OK... @vetss do you agree in using JCA Resource Adapter architecture for this? |
when we are thinking how to implement it we need to undestand sources from which we can obtain data. For access to SQL databases like MySQL we usually use JDBC Resource Adaptor: |
@vetss Exactly my thinking regarding the mixed types of sources. I was hoping we could get away with a generic RA that wouldn't have to care about the actual implementation of the adapter. Is it possible to use a JDBC RA for a local db and an external API (which are the 2 main usecases I think)? |
I think it is achievable. Which kind of "external API" are you going to use ? |
@vetss I think we were considering Edit: I need to stop saying Firefox |
@vetss MLS is a RESTful API (HTTPS call out w/ a JSON return). I think Lucas is suggesting we could create a cell-id RA that takes in cell information and returns a lat/lon, where internally it could be retrieving that data from a local DB or from the external API. Does that sound like a good approach to you? Note: Direct to OpenCellID is a fine choice too, but MLS is even better really since it already has opencellid as a data source and also aggregates in other sources. |
I like it... @angrygreenfrogs @monix how much time do you foresee it will take to implement it? |
OK @angrygreenfrogs... Planned for Milestone 2.0.0, just asking for planning sake. |
Thanks for clarifying for me @angrygreenfrogs :) |
GMLC now can only obtain LAC / CellId values from GSM network for mobile suscribers.
If we need to get lattitude / longitude valies for a subscriber we need to get somehow lattitude / longitude values for each cell with LAC / CellId.
I suggest to implement for this an external interface that will request such data fom an external database.
The details of the interface API we need still to discuss.
The text was updated successfully, but these errors were encountered: