CN1780461A - Method for realizing positioning service interface in wireless telecommunication network system - Google Patents
Method for realizing positioning service interface in wireless telecommunication network system Download PDFInfo
- Publication number
- CN1780461A CN1780461A CN 200410065402 CN200410065402A CN1780461A CN 1780461 A CN1780461 A CN 1780461A CN 200410065402 CN200410065402 CN 200410065402 CN 200410065402 A CN200410065402 A CN 200410065402A CN 1780461 A CN1780461 A CN 1780461A
- Authority
- CN
- China
- Prior art keywords
- connection
- request
- service interface
- positioning service
- processing mode
- 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.)
- Granted
Links
Images
Abstract
The method includes following steps: the location service interface receives the location request from SP, and analyzes the HTTP message header to confirm the connection mode; makes authentication for the connection mode, decides if the connection mode is consistent; if not, then rejecting it directly, and the router distributes the content including ''Connection-Keep-Alive'' in self-adaptive way, and adopts long connection mode; otherwise, uses short connection mode.
Description
Technical field
The present invention relates to a kind of implementation of positioning service interface in wireless telecommunication network system, relate in particular to the implementation of PHS wireless local telephone system positioning service interface.
Background technology
Along with growing stronger day by day of PHS Personal Handyphone System(PHS) market, China Telecom and China Netcom have begun to consider to provide the value-added service service of radio local telephone network.The location-based service business becomes the focus of new business gradually along with the development in mobile communication technology and market.In order to help the business development of PHS network site, make things convenient in the business of PHS network site interconnected between each network element device and make things convenient for business function to provide, China Telecom has worked out the interface specification of each network element device in the business of PHS network site in succession.As the communications protocol-Le interface protocol between location service management platform (LSMC) and the location services client (Location Service Client comprises the location service application content SP of provider).Communications protocol-Ln interface protocol between location service management platform (LSMC) and the location gateway (GLC).
Interface protocol has been stipulated protocol transmission carrying employing http protocol, and message content adopts the XML form.But do not do regulation for the concrete connected mode between the network element device.
There are two kinds based on the connected mode between the interconnected network entity of ICP/IP protocol, long connected mode and short connected mode.So-called long the connection refers to can send a plurality of packets continuously on a TCP connects, and during the TCP connection keeps, if there is not packet to send, needs both sides to send out the link detecting bag to keep this connection.And short the connection is meant when communicating pair has data interaction, just sets up a TCP and connects, and after data are sent completely, then disconnect this TCP and connects.
Http protocol is the application layer protocol that is carried on the TCP/IP, is a kind of stateless agreement, and its 1.1 regulation and stipulation acquiescence adopts long connected mode, and its 1.0 regulation and stipulation acquiescence is to adopt short connected mode.
Adopt the long following advantage that is connected with:
A, reduced each establishment, closed the system resource overhead (CPU, internal memory) of connection.
B, can in a connection, send, receive a plurality of requests, save time.
C, because TCP connect to reduce, reduce network congestion.
But adopt long connected mode, system need increase the management for connection resource, need to take some system resources, and the concurrent performance of system is bad more.
Adopt short connected mode, can make and realize simply, after the intact once-through operation of each connection processing, connection closed is got final product, and can obtain reasonable concurrent performance.Shortcoming is all to want newly-built TCP to connect at every turn, causes a bit influence on performance time response.
Through retrieval, do not find that positioning service interface length connects the document and the patent of self adaptation correlation technique at present as yet.
Summary of the invention
The objective of the invention is in order to overcome the drawback that employing merely in the prior art " the long connection " mode or simple employing the " weak point connects " mode exist, the present invention proposes a kind of business interface length and connects adaptive implementation, no matter it still is " the short connection " that client is initiated " the long connection ", system can both transparent processing.User (operator) can dispose the access connected mode of SP neatly according to the environment of reality use, solves the inflexible problem of access connected mode that exists in the prior art.
Implementation method of the present invention is as follows:
The first step: positioning service interface receives Location Request there from location service application content provider;
Second step: the HTTP message header that the positioning service interface analysis receives, determine the connected mode of being asked;
The 3rd step: the connected mode authentication, whether consistently see with the connected mode that allows; If inconsistent, then directly refuse;
The 4th step: the routing self-adaption distribution, if comprise " Connection:Keep-Alive " content, then walk long connection processing mode; Otherwise walk short connection processing mode;
The 5th step: long connection processing mode is handled or short connection processing mode is handled.
Adopt business interface length to connect adaptive processing method, can allow user (operator), adopt different strategies flexibly according to the actual conditions of using.The SP of Jie Ruing is fewer if desired, can consider to adopt the access way that connects based on long.If SP is many, can adopt the access way that connects based on short.Also can adopt long connected mode by wherein a part of SP, all the other SP adopt short connected mode.Compared with prior art, need not increase new investment, just can reach the purpose that differentiation inserts, for carrying out of location-based service business provides strong assurance.
Description of drawings
Fig. 1 is a wireless network location system business interface building-block of logic;
Fig. 2 is a flow chart of the present invention;
Fig. 3 is long connection processing flow chart;
Fig. 4 is short connection processing flow chart.
Embodiment
Be described in further detail below in conjunction with the enforcement of accompanying drawing technical scheme:
Fig. 1 is a wireless network location system business interface logic diagram, as shown in the figure, SP carries by HTTP, send the locating request message of XML form to navigation system, navigation system is resolved after receiving message, then message is mail to Radio Network System, the infinite network system returns to navigation system to positioning result, by http protocol the result is returned to SP again by navigation system.
What Fig. 2 described is that business interface length connects the self adaptation realization flow, and treatment step is as follows:
The first step: that receives Location Request to positioning service interface from SP;
Second step: the HTTP message header that the positioning service interface analysis receives;
The 3rd step: the connected mode authentication, whether consistently see with the connected mode that allows; If inconsistent, then directly refuse;
The 4th step: the routing self-adaption distribution, if comprise " Connection:Keep-Alive " content, then walk long connection processing mode; Otherwise walk short connection processing mode;
The 5th step: long connection processing mode is handled or short connection processing mode is handled.
What Fig. 3 described is long connection processing flow process, and treatment step is as follows:
Step 1, from HTTP message body, isolate locating request message to be processed, do not close the bottom communication and connect.
Step 2, communication is connected handle be saved in the connection pool, generate connection identifier ID simultaneously.Connection pool is a data structure, preserves connection identifier ID and connects handle, also has other some timers etc.
Step 3, preservation user ask ID, connection identifier ID in user data area.User data area also is an internal storage data structure, the state of user information of in store current active.
Step 4, send Location Request (carrying request ID) to wireless network.
Step 5, receive positioning result (carrying request ID) from wireless network.
Step 6, according to the request ID search user data area, obtain connection identifier ID.
Step 7, according to connection identifier ID, from connection pool, obtain communication and connect.
Step 8, communication connection transmission positioning result by obtaining.
Consider the abnormal conditions in the communication process, for each long connection all timer being set, if surpass certain hour, this does not have transfer of data on connecting, and then disconnects connecting.If connecting in cycle of activity, occur unusually in addition, then connection pool also discharges related resource, and the wait client is initiated connection request once more.
What Fig. 4 described is short connection processing flow process, and treatment step is as follows:
Step 1, from HTTP message body, isolate locating request message to be processed, close the bottom communication immediately and connect.
Step 2, preservation user ask ID in user data area.
Step 3, transmission Location Request (carrying request ID).
Step 4, reception positioning result (carrying request ID).
Step 5, according to the request ID search user data area.
Step 6, initiatively initiate HTTP request and connect,
Step 7, send positioning result by newly-established connection.
Step 8, close connection.
Claims (3)
1, a kind of implementation method of positioning service interface in wireless telecommunication network system may further comprise the steps:
The first step: positioning service interface receives Location Request there from content supplier;
Second step: the HTTP message header that the positioning service interface analysis receives, determine the connected mode of being asked;
The 3rd step: the connected mode authentication, whether consistently see with the connected mode that allows; If inconsistent, then directly refuse;
The 4th step: the routing self-adaption distribution, if comprise " Connection:Keep-Alive " content, then walk long connection processing mode; Otherwise walk short connection processing mode;
The 5th step: long connection processing mode is handled or short connection processing mode is handled.
2, the implementation method of the described positioning service interface in wireless telecommunication network system of claim 1 is characterized in that, described long connection processing mode comprises the following steps:
HTTP message body that step 1, processing receive does not close the bottom communication and connects;
Step 2, preservation are connected in the connection pool, generate connection identifier ID simultaneously;
Step 3, preservation user ask ID, connection identifier ID in user data area;
Step 4, transmission Location Request are carried request ID;
Step 5, reception positioning result carry request ID;
Step 6, according to the request ID search user data area, obtain connection identifier ID;
Step 7, according to connection identifier ID, from connection pool, obtain communication and connect;
Step 8, communication connection transmission positioning result by obtaining.
3, the implementation method of the described positioning service interface in wireless telecommunication network system of claim 1 is characterized in that, described short connection processing mode comprises the following steps:
HTTP message body that step 1, processing receive closes the bottom communication immediately and connects;
Step 2, preservation user ask ID in user data area;
Step 3, transmission Location Request are carried request ID;
Step 4, reception positioning result carry request ID;
Step 5, according to the request ID search user data area;
Step 6, initiatively initiate HTTP request and connect;
Step 7, send positioning result by newly-established connection;
Step 8, close connection.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CNB2004100654026A CN100401839C (en) | 2004-11-28 | 2004-11-28 | Method for realizing positioning service interface in wireless telecommunication network system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CNB2004100654026A CN100401839C (en) | 2004-11-28 | 2004-11-28 | Method for realizing positioning service interface in wireless telecommunication network system |
Publications (2)
Publication Number | Publication Date |
---|---|
CN1780461A true CN1780461A (en) | 2006-05-31 |
CN100401839C CN100401839C (en) | 2008-07-09 |
Family
ID=36770534
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CNB2004100654026A Expired - Fee Related CN100401839C (en) | 2004-11-28 | 2004-11-28 | Method for realizing positioning service interface in wireless telecommunication network system |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN100401839C (en) |
Cited By (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101938803A (en) * | 2010-09-08 | 2011-01-05 | 宇龙计算机通信科技(深圳)有限公司 | Communication link maintaining method, communication link maintaining system and mobile terminal |
CN102938782A (en) * | 2012-10-30 | 2013-02-20 | 中兴通讯股份有限公司 | Message processing method, device and system |
CN103312593A (en) * | 2013-06-06 | 2013-09-18 | 青岛海信传媒网络技术有限公司 | Message distribution system and message distribution method |
CN103312731A (en) * | 2012-03-06 | 2013-09-18 | 杭州华为企业通信技术有限公司 | Processing method supporting both TLS short connection and long connection, processing system supporting both TLS short connection and long connection, and equipment |
CN104348826A (en) * | 2013-07-26 | 2015-02-11 | 中兴通讯股份有限公司 | Session management method, AF (application function) entity, policy server and PC (protocol converter) |
CN107547484A (en) * | 2016-06-29 | 2018-01-05 | 上海连尚网络科技有限公司 | Message obtains, method, equipment and the system of push |
CN111614752A (en) * | 2020-05-19 | 2020-09-01 | 北京百度网讯科技有限公司 | Method and device for data transmission |
Family Cites Families (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2000287273A (en) * | 1999-03-31 | 2000-10-13 | Kansai Nippon Denki Tsushin System Kk | Automatic time correction method for personal handy phone system |
CN100388843C (en) * | 2002-10-22 | 2008-05-14 | 华为技术有限公司 | Realizing method based on position service and position service intermediate part |
-
2004
- 2004-11-28 CN CNB2004100654026A patent/CN100401839C/en not_active Expired - Fee Related
Cited By (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101938803A (en) * | 2010-09-08 | 2011-01-05 | 宇龙计算机通信科技(深圳)有限公司 | Communication link maintaining method, communication link maintaining system and mobile terminal |
CN103312731A (en) * | 2012-03-06 | 2013-09-18 | 杭州华为企业通信技术有限公司 | Processing method supporting both TLS short connection and long connection, processing system supporting both TLS short connection and long connection, and equipment |
CN102938782A (en) * | 2012-10-30 | 2013-02-20 | 中兴通讯股份有限公司 | Message processing method, device and system |
CN102938782B (en) * | 2012-10-30 | 2015-08-12 | 中兴通讯股份有限公司 | A kind of message processing method, device and system |
CN103312593A (en) * | 2013-06-06 | 2013-09-18 | 青岛海信传媒网络技术有限公司 | Message distribution system and message distribution method |
CN103312593B (en) * | 2013-06-06 | 2016-04-27 | 青岛海信传媒网络技术有限公司 | A kind of message distributing system and method |
CN104348826A (en) * | 2013-07-26 | 2015-02-11 | 中兴通讯股份有限公司 | Session management method, AF (application function) entity, policy server and PC (protocol converter) |
CN107547484A (en) * | 2016-06-29 | 2018-01-05 | 上海连尚网络科技有限公司 | Message obtains, method, equipment and the system of push |
CN111614752A (en) * | 2020-05-19 | 2020-09-01 | 北京百度网讯科技有限公司 | Method and device for data transmission |
Also Published As
Publication number | Publication date |
---|---|
CN100401839C (en) | 2008-07-09 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN1221155C (en) | Method for monitoring communications in cellular radio communication system, and network core therefor | |
CN1155901C (en) | Intercept method and system for compensating shortage of communicatiojn protocol | |
CN1188983C (en) | Method of altering network equipment IP address via network managing equipment | |
CN102469124B (en) | Based on the implementation method of the mobile Internet business of AOG, gateway, agency and system | |
CN1878180A (en) | Synchronization method | |
CN1756237A (en) | Active session mobility solution for point-to-point protocol | |
CN101030959A (en) | Telecommunication for determining realtime Ethernet transmission | |
CN1353526A (en) | Mobile network and IP group transmitting method | |
CN101516066B (en) | Data flow transmission method and mobile communication system | |
CN101635744B (en) | Method and system for transmitting data and relative equipment | |
CN1496651A (en) | Method and apparatus for dynamically assigning network endpoint to network region | |
WO2006097031A1 (en) | A method for transmitting the message in the mobile internet protocol network | |
CN1780461A (en) | Method for realizing positioning service interface in wireless telecommunication network system | |
CN109451539B (en) | Service quality improving method and device | |
KR20150100926A (en) | Offload method, device and system | |
CN102801692A (en) | Transmission control protocol (TCP) optimization method and system based on split connection | |
CN1992761A (en) | Dynamic registration method of IP extension telephone roaming | |
CN102340828A (en) | Method for improving terminal processing performance through base station and base station thereof | |
CN1157909C (en) | Connection handle | |
CN1859422A (en) | Method for processing user terminal cut-in evolution network | |
CN101039514A (en) | Method for accessing positioning engine of positioning service to service management platform | |
CN1633096A (en) | A method of short message value-added service access | |
CN1816204A (en) | Method for transmitting message to mobile node by other-place agent in mobile IP network | |
CN1210970C (en) | Reat-time charging method in block domain | |
CN1992959A (en) | Method and apparatus for supporting location service access mobile location center |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C14 | Grant of patent or utility model | ||
GR01 | Patent grant | ||
CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20080709 Termination date: 20151128 |
|
EXPY | Termination of patent right or utility model |