CN104159211A - Data control method based on home location register (HLR), and data control device based on HLR - Google Patents

Data control method based on home location register (HLR), and data control device based on HLR Download PDF

Info

Publication number
CN104159211A
CN104159211A CN201410395766.4A CN201410395766A CN104159211A CN 104159211 A CN104159211 A CN 104159211A CN 201410395766 A CN201410395766 A CN 201410395766A CN 104159211 A CN104159211 A CN 104159211A
Authority
CN
China
Prior art keywords
hlr
equipment
hlr equipment
linking number
interface
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
CN201410395766.4A
Other languages
Chinese (zh)
Other versions
CN104159211B (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.)
HANGZHOU DONGFANG COMMUNICATION SOFTWARE TECHNOLOGY Co Ltd
Original Assignee
HANGZHOU DONGFANG COMMUNICATION SOFTWARE TECHNOLOGY 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 HANGZHOU DONGFANG COMMUNICATION SOFTWARE TECHNOLOGY Co Ltd filed Critical HANGZHOU DONGFANG COMMUNICATION SOFTWARE TECHNOLOGY Co Ltd
Priority to CN201410395766.4A priority Critical patent/CN104159211B/en
Priority claimed from CN201410395766.4A external-priority patent/CN104159211B/en
Publication of CN104159211A publication Critical patent/CN104159211A/en
Application granted granted Critical
Publication of CN104159211B publication Critical patent/CN104159211B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Mobile Radio Communication Systems (AREA)

Abstract

The present invention relates to a data control method based on an HLR, and a data control device based on the HLR. The method comprises the steps of using an HLR query interface to receive the parameter request information of an interface calling party; identifying the corresponding HLR of the interface calling party according to the parameter request information; using the HLR query interface to obtain the connection information of the HLR, wherein the connection information comprises a current connection number and a connection number threshold value; if the current connection number of the HLR reaches the connection number threshold value of the HLR, using the HLR query interface to put the parameter request information of the interface calling party in a priority queue. According to the present invention, and by controlling the connection number of the HLR, the searching difficulty when a problem occurs and the load excessive risk of the HLR are reduced. By carrying out the priority processing on the access requests, the access requests of the HLR are more reasonable.

Description

Data control method based on HLR equipment and device
Technical field
The present invention relates to the communications field, particularly relate to a kind of data control method and device based on HLR equipment.
Background technology
Attaching position register (Home Location Register, HLR) equipment provides telnet interface, and client is carried out command communication and sent query statement to HLR equipment with it by this interface, and HLR equipment returns to the message information after inquiry to client.HLR equipment itself has Concurrency Access quantitative limitation, once reach requesting threshold, other clients just cannot be normally mutual with it.By telnet interface, connect HLR equipment at present, the concurrent connection number of same HLR equipment is not controlled.When processing inquiry request, be that then client and HLR equipment carry out instruction interaction by a newly-built connection to HLR equipment.
Due to HLR equipment, this can produce unpredictable response when processing a plurality of concurrent (such as more than 10), and prior art can cause correctly response instruction of partial session when how concurrent, cannot export the message of expection or cause access overtime.The problem too much causing for concurrent connection number is difficult to debugging and follows the tracks of, and need to trace and analyze a large amount of daily records, also causes the response timeout at interface, foreground simultaneously, and user is exported to disagreeableness interface.
Summary of the invention
The object of the invention is in order to solve HLR equipment and to reach requesting threshold, other clients cannot with its normal mutual problem.
For achieving the above object, on the one hand, the invention provides a kind of data control method based on HLR equipment, the method comprises:
The parameter request information of HLR query interface receiving interface called side;
According to described parameter request information, identify HLR equipment corresponding to described interface interchange side;
Described HLR query interface obtains the link information of described HLR equipment, and described link information comprises current linking number and linking number threshold value;
If the current linking number of described HLR equipment arrives the linking number threshold value of described HLR equipment, described HLR query interface is put into priority query by the parameter request information of described interface interchange side.
Further, the link information that described HLR query interface obtains described HLR equipment comprises: described HLR query interface obtains the link information of described HLR equipment according to redis buffer memory.
Further, described method also comprises: if the current linking number of described HLR equipment is less than the linking number threshold value of described HLR equipment, the parameter request information of described interface interchange side is sent to described HLR equipment.
Further, described HLR query interface comprises after the parameter request information of described interface interchange side is put into priority query:
When in threshold time, described HLR query interface is inquired about the link information of described HLR equipment, if the current linking number of described HLR equipment is less than the linking number threshold value of described HLR equipment, the parameter request information of interface interchange side is sent to described HLR equipment.
When arriving threshold time, if the current linking number of described HLR equipment arrives the linking number threshold value of described HLR equipment, described HLR query interface is waited in line, when waiting for that time slot finishes, if the current linking number of described HLR equipment arrives the linking number threshold value of described HLR equipment, return to interface interchange time-out information.
Further, describedly according to described parameter request information, identify HLR equipment corresponding to described interface interchange side and comprise: according to described parameter request information, from HLR equipment related information table, identify HLR equipment corresponding to described interface interchange side.
On the other hand, the invention provides a kind of data control unit based on HLR equipment, this device comprises:
Interface interchange side, for sending parameter request information;
HLR query interface, for identifying HLR equipment corresponding to described interface interchange side according to described parameter request information; And obtain the link information of described HLR equipment, described link information comprises current linking number and linking number threshold value; If the current linking number of described HLR equipment arrives the linking number threshold value of described HLR equipment, described HLR query interface is put into priority query by the parameter request information of described interface interchange side; If the current linking number of described HLR equipment is less than the linking number threshold value of described HLR equipment, the parameter request information of described interface interchange side is sent to described HLR equipment.
HLR equipment, the parameter request information sending for receiving described interface interchange side.
Advantage of the present invention is:
(1) HLR equipment is carried out to linking number control, reduced difficulty and the too high risk of HLR apparatus of load of while going wrong, searching.
(2) access request is carried out to processed, it is more reasonable to make the access request of HLR equipment.
Accompanying drawing explanation
The data control method flow chart based on HLR equipment that Fig. 1 provides for the embodiment of the present invention;
The data control unit schematic diagram based on HLR equipment that Fig. 2 provides for the embodiment of the present invention;
The particular flow sheet of the data control method based on HLR equipment that Fig. 3 provides for the embodiment of the present invention;
The priority call method particular flow sheet that Fig. 4 provides for the embodiment of the present invention.
Embodiment
Below by drawings and Examples, technical scheme of the present invention is described in further detail.
The data control method flow chart based on HLR equipment that Fig. 1 provides for the embodiment of the present invention.As shown in Figure 1, the method comprises the following steps:
Step 101, the parameter request information of HLR query interface receiving interface called side.
Step 102, according to HLR equipment corresponding to parameter request information recognition interface called side.
According to parameter request information HLR equipment corresponding to recognition interface called side from HLR equipment related information table.
Step 103, HLR query interface obtains the link information of HLR equipment, and link information comprises current linking number and linking number threshold value.
HLR query interface obtains the link information of HLR equipment according to redis buffer memory.
Step 104, if the current linking number of HLR equipment arrives the linking number threshold value of HLR equipment, HLR query interface is put into priority query by the parameter request information of described interface interchange side.
If the current linking number of HLR equipment is less than the linking number threshold value of HLR equipment, the parameter request information of interface interchange side is sent to described HLR equipment.
HLR query interface comprises after the parameter request information of interface interchange side is put into priority query:
When in threshold time, the link information of HLR query interface inquiry HLR equipment, if the current linking number of HLR equipment is less than the linking number threshold value of HLR equipment, sends to HLR equipment by the parameter request information of interface interchange side.
When arriving threshold time, if the current linking number of HLR equipment arrives the linking number threshold value of HLR equipment, HLR query interface is waited in line, when waiting for that time slot finishes, if the current linking number of HLR equipment arrives the linking number threshold value of HLR equipment, return to interface interchange time-out information.
The data control unit schematic diagram based on HLR equipment that Fig. 2 provides for the embodiment of the present invention.As shown in Figure 2, this device comprises: interface interchange side 201, HLR query interface 202 and HLR equipment 203.HLR query interface 202 is connected with HLR equipment 203 with interface interchange side 201 respectively.
Interface interchange side 201, for sending parameter request information;
HLR query interface 202, for according to the HLR equipment 203 of parameter request information recognition interface called side 201 correspondences; And obtain the link information of HLR equipment 203, link information comprises current linking number and linking number threshold value; If the current linking number of HLR equipment 203 arrives the linking number threshold value of HLR equipment 203, HLR query interface 202 is put into priority query by the parameter request information of interface interchange side 201; If the current linking number of HLR equipment 203 is less than the linking number threshold value of HLR equipment 203, the parameter request information of interface interchange side 201 is sent to HLR equipment 203.
HLR equipment 203, the parameter request information sending for receiving described interface interchange side 201.
The particular flow sheet of the data control method based on HLR equipment that Fig. 3 provides for the embodiment of the present invention.As shown in Figure 3, the method comprises the following steps:
Step 301, the solicited message of HLR query interface receiving interface called side.
Interface interchange can be thought client, and the solicited message of interface interchange side can be specially cell-phone number.
Step 302, determines according to the solicited message of described interface interchange side the HLR equipment that interface interchange side is corresponding.
HLR equipment corresponding to interface interchange side can be one of them the HLR equipment in HLR equipment.
Step 303, HLR query interface checks whether HLR equipment corresponding to interface interchange side has available connection, and according to redis buffer memory, obtains the link information of HLR equipment.
Link information comprises current linking number and linking number threshold value.
Step 304, if HLR equipment has available connection, HLR equipment and interface interchange side carry out instruction interaction.
After completing alternately, redis buffer memory is carried out the renewal of link information.
Step 305, if HLR equipment does not have available connection, HLR query interface is put into the solicited message of interface interchange side the priority query of redis buffer memory.
Step 306, when in threshold time, HLR query interface continues the link information of inquiry HLR equipment, if HLR equipment has available connection, HLR equipment carries out instruction interaction with the interface interchange side that meets default precedence information.
Meet default precedence information and refer to interface interchange side's solicited message that priority is the highest.
Step 307, when arriving threshold time, if HLR equipment does not have available connection, HLR query interface is waited in line, and when waiting for that time slot finishes, if the current linking number of HLR equipment arrives the linking number threshold value of HLR equipment, returns to interface interchange time-out information.
HLR query interface is put into the solicited message of interface interchange side the priority query of redis buffer memory, every certain cycle, remove to inquire about HLR equipment and whether have available connection, if HLR equipment has available connection, carry out instruction interaction with interface interchange side, if there is no available connection, just wait for that next cycle goes inquiry, through certain cycle, HLR equipment does not still have available connection, and HLR query interface returns to time-out information to interface interchange side.
The priority call method particular flow sheet that Fig. 4 provides for the embodiment of the present invention.As shown in Figure 4, the method comprises the following steps:
Step 401, HLR query interface checks that whether thread A and thread B are on queue top.
Step 402, if thread A on the top of queue, thread A and HLR equipment carry out instruction interaction.
Step 403, if thread B not on the top of queue, thread B continues to wait in line in redis buffer memory.
Further, if when the available connection of previous HLR equipment is occupied full, there are two threads of A and B to access same HLR equipment by HLR query interface simultaneously, and the ip that supposes thread A is 1.1.1.1, the ip of thread B is 1.1.2.1, if pre-configured rule be the priority of the 1.1.1 network segment higher than the 1.1.2 network segment, HLR query interface can preferentially guarantee that thread A carry out instruction interaction with thread A when HLR equipment has vacant connection so.
Above-described embodiment; object of the present invention, technical scheme and beneficial effect are further described; institute is understood that; the foregoing is only the specific embodiment of the present invention; the protection range being not intended to limit the present invention; within the spirit and principles in the present invention all, any modification of making, be equal to replacement, improvement etc., within all should being included in protection scope of the present invention.

Claims (6)

1. the data control method based on HLR equipment, is characterized in that, described method comprises:
The parameter request information of attaching position register HLR query interface receiving interface called side;
According to described parameter request information, identify HLR equipment corresponding to described interface interchange side;
Described HLR query interface obtains the link information of described HLR equipment, and described link information comprises current linking number and linking number threshold value;
If the current linking number of described HLR equipment arrives the linking number threshold value of described HLR equipment, described HLR query interface is put into priority query by the parameter request information of described interface interchange side.
2. method according to claim 1, is characterized in that, the link information that described HLR query interface obtains described HLR equipment comprises: described HLR query interface obtains the link information of described HLR equipment according to redis buffer memory.
3. the data control method based on HLR equipment according to claim 1, it is characterized in that, described method also comprises: if the current linking number of described HLR equipment is less than the linking number threshold value of described HLR equipment, the parameter request information of described interface interchange side is sent to described HLR equipment.
4. the data control method based on HLR equipment according to claim 1, is characterized in that, described HLR query interface comprises after the parameter request information of described interface interchange side is put into priority query:
When in threshold time, described HLR query interface is inquired about the link information of described HLR equipment, if the current linking number of described HLR equipment is less than the linking number threshold value of described HLR equipment, the parameter request information of interface interchange side is sent to described HLR equipment.
When arriving threshold time, if the current linking number of described HLR equipment arrives the linking number threshold value of described HLR equipment, described HLR query interface is waited in line, when waiting for that time slot finishes, if the current linking number of described HLR equipment arrives the linking number threshold value of described HLR equipment, return to interface interchange time-out information.
5. the data control method based on HLR equipment according to claim 1, it is characterized in that, describedly according to described parameter request information, identify HLR equipment corresponding to described interface interchange side and comprise: according to described parameter request information, from HLR equipment related information table, identify HLR equipment corresponding to described interface interchange side.
6. the data control unit based on HLR equipment, is characterized in that, described device comprises:
Interface interchange side, for sending parameter request information;
HLR query interface, for identifying HLR equipment corresponding to described interface interchange side according to described parameter request information; And obtain the link information of described HLR equipment, described link information comprises current linking number and linking number threshold value; If the current linking number of described HLR equipment arrives the linking number threshold value of described HLR equipment, described HLR query interface is put into priority query by the parameter request information of described interface interchange side; If the current linking number of described HLR equipment is less than the linking number threshold value of described HLR equipment, the parameter request information of described interface interchange side is sent to described HLR equipment.
HLR equipment, the parameter request information sending for receiving described interface interchange side.
CN201410395766.4A 2014-08-12 Data control method based on HLR equipment and device Active CN104159211B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410395766.4A CN104159211B (en) 2014-08-12 Data control method based on HLR equipment and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410395766.4A CN104159211B (en) 2014-08-12 Data control method based on HLR equipment and device

Publications (2)

Publication Number Publication Date
CN104159211A true CN104159211A (en) 2014-11-19
CN104159211B CN104159211B (en) 2018-08-31

Family

ID=

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101001466A (en) * 2006-12-30 2007-07-18 华为技术有限公司 Method, system and MSC server and HLR of processing calling service
CN101552989A (en) * 2009-05-20 2009-10-07 中国电信股份有限公司 A user data configuration method, system and mobile line configuration gateway
CN101730069A (en) * 2008-10-31 2010-06-09 中国移动通信集团天津有限公司 Method, system and device for querying HLR user data
WO2010094198A1 (en) * 2009-02-20 2010-08-26 刘建 Apparatus and method for controlling amount of concurrent calls
CN102395212A (en) * 2011-11-18 2012-03-28 百度在线网络技术(北京)有限公司 Gateway access control method, system and device
CN103002069A (en) * 2012-12-25 2013-03-27 北京小米科技有限责任公司 Domain name resolution method, device and system
CN103051717A (en) * 2012-12-25 2013-04-17 北京小米科技有限责任公司 Method, device and equipment for processing http request
CN103379040A (en) * 2012-04-24 2013-10-30 阿里巴巴集团控股有限公司 Device and method for controlling concurrency number in high concurrency system
CN103873509A (en) * 2012-12-12 2014-06-18 中国移动通信集团浙江有限公司 EJB service overload protection method and system thereof

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101001466A (en) * 2006-12-30 2007-07-18 华为技术有限公司 Method, system and MSC server and HLR of processing calling service
CN101730069A (en) * 2008-10-31 2010-06-09 中国移动通信集团天津有限公司 Method, system and device for querying HLR user data
WO2010094198A1 (en) * 2009-02-20 2010-08-26 刘建 Apparatus and method for controlling amount of concurrent calls
CN101552989A (en) * 2009-05-20 2009-10-07 中国电信股份有限公司 A user data configuration method, system and mobile line configuration gateway
CN102395212A (en) * 2011-11-18 2012-03-28 百度在线网络技术(北京)有限公司 Gateway access control method, system and device
CN103379040A (en) * 2012-04-24 2013-10-30 阿里巴巴集团控股有限公司 Device and method for controlling concurrency number in high concurrency system
CN103873509A (en) * 2012-12-12 2014-06-18 中国移动通信集团浙江有限公司 EJB service overload protection method and system thereof
CN103002069A (en) * 2012-12-25 2013-03-27 北京小米科技有限责任公司 Domain name resolution method, device and system
CN103051717A (en) * 2012-12-25 2013-04-17 北京小米科技有限责任公司 Method, device and equipment for processing http request

Similar Documents

Publication Publication Date Title
CN110839084B (en) Session management method, device, equipment and medium
CN105516086B (en) Method for processing business and device
CN103139157B (en) A kind of based on the network communication method of socket, Apparatus and system
CN107995286B (en) Automatic service starting and stopping method based on dubbo platform, server and storage medium
CN104239130B (en) Control method and terminal for responding to operation instruction by human-computer interaction interface
US20190351545A1 (en) Cluster control method, cluster control system, and terminal device
CN105592141B (en) A kind of connection number control method and device
CN102685257A (en) Data synchronous processing system, data synchronous processing method and server system
CN103685083A (en) Communication method in asynchronous management network
EP3667495A1 (en) Task scheduling method, apparatus and device, and storage medium
EP2760161A1 (en) Policy processing method and device
CN108259605B (en) Data calling system and method based on multiple data centers
CN101707622A (en) Method for realizing remote data monitoring
CN108121221B (en) Robot command interface control system and method
CN106875664A (en) A kind of exclusive formula collecting method based on CAN
CN104951373B (en) The message queue processing method of scheduling system
CN109120731B (en) Universal communication method, system and device
CN104159211A (en) Data control method based on home location register (HLR), and data control device based on HLR
CN104159211B (en) Data control method based on HLR equipment and device
CN114513383B (en) Real-time Ethernet field bus data packet processing method based on original socket
CN101320359A (en) Control circuit and method of serial port equipment
CN105447136A (en) Method and system for improving database writing speed on the basis of WiFi (Wireless Fidelity) smart socket
CN104869018A (en) Cloud-based terminal equipment maintenance method and system
CN101815273B (en) Communication support method and system based on number portability
CN106254619B (en) Automatic management system and management method for office telephone

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant