CN1658704A - Managing method for user contex of multi-object positioning in GMLC - Google Patents

Managing method for user contex of multi-object positioning in GMLC Download PDF

Info

Publication number
CN1658704A
CN1658704A CN 200510018459 CN200510018459A CN1658704A CN 1658704 A CN1658704 A CN 1658704A CN 200510018459 CN200510018459 CN 200510018459 CN 200510018459 A CN200510018459 A CN 200510018459A CN 1658704 A CN1658704 A CN 1658704A
Authority
CN
China
Prior art keywords
context
user
double
multiple target
contextual
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
Application number
CN 200510018459
Other languages
Chinese (zh)
Other versions
CN100334919C (en
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.)
Beijing Northern Fiberhome Technologies Co Ltd
Original Assignee
Beijing Northern Fiberhome Technologies 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 Beijing Northern Fiberhome Technologies Co Ltd filed Critical Beijing Northern Fiberhome Technologies Co Ltd
Priority to CNB2005100184595A priority Critical patent/CN100334919C/en
Publication of CN1658704A publication Critical patent/CN1658704A/en
Application granted granted Critical
Publication of CN100334919C publication Critical patent/CN100334919C/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Mobile Radio Communication Systems (AREA)

Abstract

This invention relates to a user's context management method as the multi-object orientation in GMLC, which is mainly used in the gateway of the mobile location center (GMLC). The method is based on the bidirectional circular linked list structure. It includes the foundation of the multi-object users' contexts, the state transfer and the context deletion. In this invention, the several object users' contexts are linked by an unattached bidirectional circular linked list in one orientation request, and every context has its state and sign bit segment. The program control the flow through the context state. When all the context states are transferred to the completed state, the program will go through the bidirectional circular linked list, and release the contexts and their related system source in turn. This invention reduces the searching time to the context, greatly improves the management efficiency of the multi-object users' contexts, and increases the program running stability.

Description

The management method of user's context when multiple target is located among a kind of GMLC
Technical field
The present invention relates to the upper-layer service flow process in a kind of mobile location centre Chinese gateway (GMLC) equipment, specifically is the management method of user's context when multiple target is located among a kind of GMLC.
Background technology
GMLC is when handling the Location Request of client, usually will be to each independently memory block of one of Target Assignment that is positioned, with CAMEL-Subscription-Information, routing iinformation, the positional information of preserving this target, and other information that need use when carrying out operation flow, we claim that such memory block is a user's context.After the authentication of a Location Request was passed through, GMLC will set up a context respectively to each target in this request, inserted necessary information, and the operation flow that begins to be correlated with at each context.After flow process finished, GMLC will in time delete context, free system resources.
Typical Location Request is initiated single target.After GMLC executes relevant flow process and obtains the positional information of this target, with this information copy in response message and return to the requestor, after finishing in internal memory the context of this target of deletion.
Current in GMLC for multiobject Location Request, usually this time request is converted into typical Location Request, for each user distributes context.According to the location-based service requirement, the multiple target location returns to the requestor with whole positional informations, disposable then these contexts of deletion after will waiting for that whole context flow processs of this time location all finish in a response message.After a contextual flow process finishes, search for all user's contexts in the internal memory, all need to find out the whole contexts that belong to this time request, judge whether all process ends, the great like this cpu resource of having wasted, search efficiency is very low.
Summary of the invention
The technical problem to be solved in the present invention is to provide the management method of user's context when multiple target is located among a kind of reasonable GMLC efficiently.
The technical scheme that the present invention solves the problems of the technologies described above is: the management method of user's context when multiple target is located among a kind of GMLC, it is characterized in that: adopt double-linked circular list a plurality of context linkings in the Location Request, under the control of state machine and attribute field, context is carried out flow process control; Described flow process control comprises the contextual foundation of multiple target Location Request, state transitions and deletion;
The contextual method for building up of multiple target Location Request: when GMLC receives the multiple target Location Request, being followed successively by each target sets up user's context and adds double-linked circular list, multiple target user's context in once asking is linked into an independently circular linked list, after foundation is finished, the traversal double-linked circular list;
The contextual state transitions of multiple target Location Request: when GMLC receive the multiple target Location Request the response of position or since the contextual flow process of some abnormal conditions finish, all will be with this contextual state transition to completion status, and attribute field is set to analog value and represents flow process success or unusual;
The contextual delet method of multiple target Location Request: certain context state in double-linked circular list is moved to completion status, program will travel through the double-linked circular list at its place, whether the state of judging each user's context is completion status, if, all contexts of representing this double-linked circular list dispose, the traversal double-linked circular list, successively each contextual positional information is dealt with, discharge related resources such as internal memory, all context deletions finish in double-linked circular list; If also having contextual state in the double-linked circular list is non-completion status, expression also has context etc. pending, and program will finish to travel through.
Principle of the present invention:
The present invention adopts double-linked circular list with a plurality of context linkings in the Location Request, under the control of state machine and attribute field, context is carried out flow process control.After flow process finished in certain context in the double-linked circular list, state transition was to completion status, and attribute field is set to success; If certain contextual flow process failure, state transition is to completion status, and attribute field is set to the corresponding error sign indicating number.Each time all can trigger traversal double-linked circular list to the migration of completion status by non-completion status, judge whether each contextual state all moves to completion status in this circular linked list, if not, show that the context flow process is not finished in addition, program will withdraw from traversal, carries out same traversal up to next time; If the program user's context of each from circular linked list is successively got relevant information, deletes this user's context, discharge the system resource relevant with this user's context.All user's contexts are issued the requestor with response message after all having discharged and having finished at last.So just realized the contextual effective management of multiple target consumer positioning.
Beneficial effect
Adopt the method among the present invention, can well manage multiple target requesting users context, only need search the context of this time request, significantly reduced the time of searching, improved execution efficient.
Description of drawings
Fig. 1 is the navigation system structure chart.
Fig. 2 is the user's context managerial structure figure among the GMLC.
Fig. 3 is the user's context state transition diagram.
Fig. 4 sets up multiple target user's context flow chart.
Fig. 5 is a deletion multiple target user's context flow chart.
Embodiment
Below in conjunction with accompanying drawing multiple target user's context management method of the present invention is described.
In order to realize the effective management to the multiple target user's context, a kind of context management method based on double-linked circular list is suggested.Each context has 4 main states in the present invention: initial condition, wait state and completion status.Wait state can be divided into two sub-states such as waiting for routing iinformation state and holding fix information state again.Each user's context all can be moved to completion status through wait state from initial condition under the normal condition, can directly migrate to completion status without wait state under the specified conditions.
The present invention includes following method:
1) the contextual method for building up of multiple target Location Request
2) the contextual state transitions of multiple target Location Request
3) the contextual delet method of multiple target Location Request
Fig. 1 is the navigation system structure chart.Navigation system related among the present invention is made up of outside Location Request client (External LCS Client) 100, mobile location centre Chinese gateway (GMLC) 101, attaching position register (HLR) 102, GPRS serving GPRS support node (SGSN) 103, mobile switching centre (MSC) 104, Le interface 105, Lh interface 106, Lg interface 107.
Situation corresponding to the present invention's description, the multiple target user positioning request that mobile location centre Chinese gateway 101 receives from external position requesting client 100 by Le interface 105, mobile location centre Chinese gateway 101 is set up user's context for target, and by the routing iinformation of Lh interface 106 to each targets of attaching position register 102 inquiry, then by Lg interface 107 to GPRS serving GPRS support node 103 or mobile switching centre 104 positional information of request target one by one.After obtaining the position response of GPRS serving GPRS support node 103 or mobile switching centre 104, mobile location centre Chinese gateway 101 is formed a piece of news with the positional information of each target and is sent to external position requesting client 100 by Le interface 105, discharges system resources such as internal memory simultaneously.
Fig. 2 is corresponding the present invention, the managerial structure figure of user's context in the mobile location centre Chinese gateway 101.All link between single goal user's context 201, the multiple target user's context 202,203,204 with main chain table 205.The head pointer 207 of client context 200 points to first user's context of this client, and tail pointer 208 points to last user's context of this client.Multiple target user's context management method corresponding to the present invention describes is linked by double-linked circular list 206 between 202,203,204.
Fig. 3 is corresponding the present invention, the user's context state transition diagram.User's context just is in initial condition 300 in case set up, and when mobile location centre Chinese gateway 101 during to attaching position register 102 these targeted customers' of inquiry routing iinformation, state transition is to the sub-state 302 of wait routing iinformation of wait state 301.After angelica location register 102 returned correct routing iinformation, when mobile location centre Chinese gateway 101 sends position request information to GPRS serving GPRS support node 103 or mobile switching centre 104, state transition was to the sub-state 303 of holding fix information.After GPRS serving GPRS support node 103 or mobile switching centre 104 returned correct positional information, state transition was to completion status 304, and the attribute field of user's context will be set to successfully.
If program judges that the targeted customer stops positioning flow to be proceeded under the initial condition, state directly migrates to completion status 304 by initial condition 300; If the positional information that routing iinformation that attaching position register 102 returns or GPRS serving GPRS support node 103 or mobile switching centre 104 return is invalid, state is also moved to completion status 304.In these cases, the attribute field in the user's context will be invested the corresponding error code value.
Fig. 4 is corresponding the present invention, sets up multiple target user's context flow chart.
As discussed above, mobile location centre Chinese gateway 101 will be handled the Location Request from external position requesting client 100.Handling process starts from step 401, and in this step, mobile location centre Chinese gateway 101 is received the multiple target Location Request of client 100, and to the request authentication.In step 402, calculate targeted customer's number, continue step 403, first target is set up user's context, step 404 adds the main chain table with user's context, and step 405 adds double-linked circular list with user's context.Step 406 judges whether to have or not the target of processing, if having, returns step 403; If dispose, enter step 407, begin to travel through double-linked circular list, find a user's context, continue step 408, send the routing iinformation request, step 409 arrives the sub-state of wait routing iinformation, step 410 with state transition, judge whether traversal is finished, if no, return step 407, if traversal is finished, enter step 411, finish the context creation flow process.
Fig. 5 is corresponding the present invention, deletion multiple target user's context flow chart.
As discussed above, mobile location centre Chinese gateway 101 is received the position response of GPRS serving GPRS support node 103 or mobile switching centre 104.Handling process starts from step 501, in this step, mobile location centre Chinese gateway 101 is received certain user's of GPRS serving GPRS support node 103 or mobile switching centre 104 position response, and find the context of this user's correspondence and the circular linked list at place thereof, judge in step 502 whether positional information is correct, if it is correct, enter step 503, preserve positional information to this user's context, step 504, completion status is arrived in this user's context state transition, step 505, the context attribute field is set to success.Enter step 506 then, judge in the circular linked list that whether the state of all user's contexts is all moved to completion status, if, enter step 507, the traversal circular linked list, step 508 is taken out contextual positional information or error code, step 509, this user's context of deletion from the main chain table, step 510 discharges this context internal memory and related resource, judge in step 511 whether traversal is finished, if finish, enter 512, send the position response message to external position requesting client 100, step 513, process ends.
If positional information is incorrect in the step 502, enter step 514, completion status is arrived in user's context state transition, step 515, the context attribute field is set to the corresponding error sign indicating number, enters step 506.
If in the step 506, find to be in addition in the circular linked list user's context of non-completion status, enter step 516, finish, program withdraws from the traversal flow process.
Above the invention has been described in conjunction with example, should point out, those skilled in the art can make the change on various forms of and the details, and do not depart from by the determined the spirit and scope of the present invention of claims.

Claims (1)

  1. The management method of user's context when 1, multiple target is located among a kind of GMLC is characterized in that: adopt double-linked circular list with a plurality of context linkings in the Location Request, under the control of state machine and attribute field, context is carried out flow process control; Described flow process control comprises the contextual foundation of multiple target Location Request, state transitions and deletion;
    The contextual method for building up of multiple target Location Request: when GMLC receives the multiple target Location Request, being followed successively by each target sets up user's context and adds double-linked circular list, multiple target user's context in once asking is linked into an independently circular linked list, after foundation is finished, the traversal double-linked circular list;
    The contextual state transitions of multiple target Location Request: when GMLC receive the multiple target Location Request the response of position or since the contextual flow process of some abnormal conditions finish, all will be with this contextual state transition to completion status, and attribute field is set to analog value and represents flow process success or unusual;
    The contextual delet method of multiple target Location Request: certain context state in double-linked circular list is moved to completion status, program will travel through the double-linked circular list at its place, whether the state of judging each user's context is completion status, if, all contexts of representing this double-linked circular list dispose, the traversal double-linked circular list, successively each contextual positional information is dealt with, discharge related resources such as internal memory, all context deletions finish in double-linked circular list; If also having contextual state in the double-linked circular list is non-completion status, expression also has context etc. pending, and program will finish to travel through.
CNB2005100184595A 2005-03-25 2005-03-25 Managing method for user contex of multi-object positioning in GMLC Expired - Fee Related CN100334919C (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CNB2005100184595A CN100334919C (en) 2005-03-25 2005-03-25 Managing method for user contex of multi-object positioning in GMLC

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CNB2005100184595A CN100334919C (en) 2005-03-25 2005-03-25 Managing method for user contex of multi-object positioning in GMLC

Publications (2)

Publication Number Publication Date
CN1658704A true CN1658704A (en) 2005-08-24
CN100334919C CN100334919C (en) 2007-08-29

Family

ID=35007907

Family Applications (1)

Application Number Title Priority Date Filing Date
CNB2005100184595A Expired - Fee Related CN100334919C (en) 2005-03-25 2005-03-25 Managing method for user contex of multi-object positioning in GMLC

Country Status (1)

Country Link
CN (1) CN100334919C (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101305631B (en) * 2005-11-11 2011-02-02 中兴通讯股份有限公司 Gateway mobile locating center and implementing method
CN101499065B (en) * 2008-02-01 2011-11-02 华为技术有限公司 Table item compression method and device based on FA, table item matching method and device
CN103593606A (en) * 2013-11-20 2014-02-19 北京经纬恒润科技有限公司 Contextual information managing method and system
CN108655400A (en) * 2018-03-15 2018-10-16 大族激光科技产业集团股份有限公司 A kind of powdering formula laser 3D printing system and its multi-processing task control method

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101299197B (en) * 2008-06-30 2011-09-28 无锡中星微电子有限公司 Method and unit for adding and deleting task
CN107330945A (en) * 2017-07-05 2017-11-07 合肥工业大学 A kind of examing heartbeat fastly method based on video

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1185872C (en) * 2002-11-01 2005-01-19 清华大学 In-site program-requesting method based on real-time flow medium
CN100388830C (en) * 2003-01-28 2008-05-14 华为技术有限公司 A position locating system and method
CN1298135C (en) * 2003-07-01 2007-01-31 中兴通讯股份有限公司 A method for timing online subscriber by broad band switch-in server
CN1269327C (en) * 2003-07-22 2006-08-09 中兴通讯股份有限公司 A processing method for sharing cluster data link

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101305631B (en) * 2005-11-11 2011-02-02 中兴通讯股份有限公司 Gateway mobile locating center and implementing method
CN101499065B (en) * 2008-02-01 2011-11-02 华为技术有限公司 Table item compression method and device based on FA, table item matching method and device
US8244693B2 (en) 2008-02-01 2012-08-14 Huawei Technologies Co., Ltd. Method and device for compressing table based on finite automata, method and device for matching table
CN103593606A (en) * 2013-11-20 2014-02-19 北京经纬恒润科技有限公司 Contextual information managing method and system
CN103593606B (en) * 2013-11-20 2016-06-01 北京经纬恒润科技有限公司 Context information management method and system
CN108655400A (en) * 2018-03-15 2018-10-16 大族激光科技产业集团股份有限公司 A kind of powdering formula laser 3D printing system and its multi-processing task control method

Also Published As

Publication number Publication date
CN100334919C (en) 2007-08-29

Similar Documents

Publication Publication Date Title
US7092971B2 (en) Prefetch appliance server
JP2021108151A (en) Support for cloud-based multi-tenant environments using connection labeling
CN1658704A (en) Managing method for user contex of multi-object positioning in GMLC
CN1967487A (en) Cooperative scheduling using coroutines and threads
CN107783985B (en) Distributed database query method, device and management system
CN1829964A (en) A method, apparatus and computer program for processing a queue of messages
CN1928873A (en) System and method for database access for implementing load sharing
CN1333507A (en) Non-interrupt migration for coordination unit service in distrubted computer system
CN105589881B (en) Data processing method and device
CN1379872A (en) Method and apparatus for maintaining context while executing translated instructions
CN104636502A (en) Accelerated data query method of query system
WO2020143181A1 (en) Data storage method, apparatus, computer device and storage medium
WO2012119436A1 (en) Method, device and system for migrating resources
CN110647542A (en) Data acquisition method and device
CN1825306A (en) XML data storage and access method based on relational database
JP4019817B2 (en) Distributed object control method and its implementation system
CN1652109A (en) Method and apparatus replication of binary large object data
CN112069207B (en) Multi-table joint query efficiency improving method
CN100341270C (en) Method for reflecting task progress of message based distributed platform client
CN116483556A (en) Data processing method and accelerator system
US11928093B2 (en) Object data stored out of line vector engine
CN114442961B (en) Data processing method, device, computer equipment and storage medium
CN113596177B (en) Method and device for resolving IP address of intelligent household equipment
CN1650288A (en) Method for fetching data from a non-volatile memory in an integrated circuit and corresponding integrated circuit
CN100336025C (en) Method and apparatus for internal memory data base synchronous data

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
EE01 Entry into force of recordation of patent licensing contract

Assignee: Hongxu Information Technology Co., Ltd., Wuhan

Assignor: Beifang Fenghuo Tech Co., Ltd., Beijing

Contract fulfillment period: 2007.9.24 to 2017.9.24 contract change

Contract record no.: 2008420010003

Denomination of invention: Managing method for user contex of multi-object positioning in GMLC

Granted publication date: 20070829

License type: Exclusive license

Record date: 2008.9.17

LIC Patent licence contract for exploitation submitted for record

Free format text: EXCLUSIVE LICENCE; TIME LIMIT OF IMPLEMENTING CONTACT: 2007.9.24 TO 2017.9.24

Name of requester: WUHAN-HONG XU INFORMATION TECHNOLOGY LIMITED LIAB

Effective date: 20080917

EC01 Cancellation of recordation of patent licensing contract

Assignee: Hongxu Information Technology Co., Ltd., Wuhan

Assignor: Beifang Fenghuo Tech Co., Ltd., Beijing

Contract record no.: 2008420010003

Date of cancellation: 20120328

C17 Cessation of patent right
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20070829

Termination date: 20140325