CN107135251B - Home location register instruction proxy forwarding method and system - Google Patents

Home location register instruction proxy forwarding method and system Download PDF

Info

Publication number
CN107135251B
CN107135251B CN201710252859.5A CN201710252859A CN107135251B CN 107135251 B CN107135251 B CN 107135251B CN 201710252859 A CN201710252859 A CN 201710252859A CN 107135251 B CN107135251 B CN 107135251B
Authority
CN
China
Prior art keywords
instruction
home location
location register
receiving server
database
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.)
Active
Application number
CN201710252859.5A
Other languages
Chinese (zh)
Other versions
CN107135251A (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 Si Tech Information Technology Co Ltd
Original Assignee
Beijing Si Tech Information 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 Beijing Si Tech Information Technology Co Ltd filed Critical Beijing Si Tech Information Technology Co Ltd
Priority to CN201710252859.5A priority Critical patent/CN107135251B/en
Publication of CN107135251A publication Critical patent/CN107135251A/en
Application granted granted Critical
Publication of CN107135251B publication Critical patent/CN107135251B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/56Provisioning of proxy services
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/2866Architectures; Arrangements
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/56Provisioning of proxy services
    • H04L67/561Adding application-functional data or data for application control, e.g. adding metadata

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Library & Information Science (AREA)
  • Telephonic Communication Services (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

The invention discloses a home location register instruction proxy forwarding method and a home location register instruction proxy forwarding system, wherein the method comprises the following steps that an agent client sends an instruction request to an instruction receiving server; the instruction receiving server side sends the instruction request to a database; scanning an instruction request in a database, and sending the scanned instruction request to a home location register; acquiring an instruction processing result returned by the home location register; sending the instruction processing result to a database; the database returns the processing result to the instruction receiving server for the agent client to obtain; the system comprises an agent client, an instruction receiving server, a database and a home location register. The invention realizes the function of opening the user service of each cooperative agent, shields the difference of platforms and services among different agents, provides real-time service development and establishes seamless connection between the client of the agent and the traditional operator.

Description

Home location register instruction proxy forwarding method and system
Technical Field
The invention relates to the technical field of home location registers, in particular to a home location register instruction proxy forwarding method and a home location register instruction proxy forwarding system.
Background
In the telecommunication industry, in order to maintain the market competitiveness and the low-cost and efficient operation state of the core, the traditional telecommunication operators often focus on the establishment and maintenance of the most adept core network, and for a large number of value-added services and functionalized services, the traditional telecommunication operators are resold to more professional enterprises, cooperate to develop service operations, so that a large number of cooperative operators, agents or subordinate virtual operators have been created, and from the viewpoint of business operation, the cooperative operators, agents or subordinate virtual operators of the traditional telecommunication operators do not have networks, but provide services for customers through leasing and using of networks, and put more energy into the fields of development, operation, popularization, sale and the like of new services, so that the customers can be provided with more professional services.
However, how to serve and make a plurality of cooperating operators, agents or lower-level virtual operators to fully develop the market development capability of the cooperating agents for the home location register of the traditional telecommunication operator is a technical problem to be solved and a focus of research is needed by those skilled in the art.
Disclosure of Invention
In order to solve the technical problem of how the home location register serves a large number of agent clients, the invention provides a home location register instruction proxy forwarding method and a home location register instruction proxy forwarding system, which meet the requirements of a large number of agent clients in a home location register instruction proxy forwarding mode, so that the agent clients can normally work and operate, and the market development capability of cooperative agents is fully exerted.
In order to achieve the above technical object, the present invention discloses a home location register instruction proxy forwarding method, comprising the steps of,
step 1, an agent client sends an instruction request to an instruction receiving server;
step 2, the instruction receiving server sends the instruction request to a database;
step 3, scanning the instruction request in the database, and sending the scanned instruction request to a home location register;
step 4, obtaining an instruction processing result returned by the home location register;
step 5, sending the instruction processing result to a database;
and 6, the database returns the processing result to the instruction receiving server for the agent client to obtain.
The invention innovatively adopts the modes of agent client request, instruction agent forwarding, home location register processing and processing result returning, meets the requirement of numerous cooperative operators, agents or subordinate virtual operators on home location register instruction processing, and realizes seamless connection between the agent client and the traditional operator.
Further, in step 1, the agent client establishes socket connection with the instruction receiving server, the instruction receiving server processes the sub-processes generated by the agent client, if the number of the sub-processes is greater than the maximum concurrent number of the instruction receiving server, a 'system busy' is returned to the agent client trying to connect, and the connected agent client keeps being connected with the instruction receiving server by sending a heartbeat instruction.
Based on a processing mechanism of the instruction receiving server for a plurality of sub-processes, the invention can remind the client of the agent of the current processing state of the instruction request, thereby leading the traditional operator to better serve the agent.
Further, in step 2, after the instruction receiving server obtains the instruction request, the instruction receiving server connects and logs in the Oracle database, and then inquires the agent code and authority of the current agent client and the account and password information of the connection home location register according to the IP address of the current agent client.
The invention acquires the relevant information of the agent client through the Oracle database, and has the advantages of accuracy, safety and the like.
Further, in step 2, the instruction request of the current agent client is checked according to the query result, and the instruction request passing the checking is written into an instruction worksheet table in the Oracle database.
By further screening the instruction requests of the agent client, the authority of the current agent client, the authority of the content such as the instruction string in the instruction request sent by the agent client and the like can be judged.
Further, in step 3, scanning the instruction request in the instruction worksheet in real time, acquiring the account and password information of the home location register in the instruction request, logging in and connecting the home location register, and sending the instruction request to the home location register in a message queue.
Further, in step 5, the instruction processing result is written into an instruction worksheet table in the Oracle database.
The invention innovatively realizes the writing and temporary storage of the content and the processing result in the instruction request in a mode of creating the instruction worksheet table by the database, and ensures the correspondence of the instruction request, the processing result and the processing state, so that the agent client can accurately acquire the processing result, and the invention has better stability and higher reliability.
Another objective of the present invention is to provide a home location register instruction proxy forwarding system, which includes an agent client, an instruction receiving server, a database, and a home location register; the agent client sends an instruction request to the instruction receiving server, the instruction receiving server sends the instruction request to the database, the instruction request in the database is sent to the home location register, the home location register returns an instruction processing result, the instruction processing result is sent to the database, and the database returns the processing result to the instruction receiving server for the agent client to obtain.
The invention innovatively adopts the modes of agent client request, instruction agent forwarding, home location register processing and processing result returning, meets the requirement of numerous cooperative operators, agents or subordinate virtual operators on home location register instruction processing, and realizes seamless connection between the agent client and the traditional operator.
Further, the agent client is connected with the instruction receiving server in a socket mode.
Furthermore, the database is an Oracle database, and an instruction worksheet table is arranged in the Oracle database.
Further, the forwarding system is based on the MM L protocol.
The invention has the beneficial effects that the invention innovatively adopts the instruction proxy forwarding method and the instruction proxy forwarding system, thereby achieving the purpose that the multi-agent client side simultaneously forwards the H L R instruction, and further realizing the user service opening function of each cooperative agent.
The invention can shield the difference of platforms and services among different agents by using the H L R instruction proxy forwarding of the MM L protocol, can provide real-time service development, and establishes seamless connection between the client of the agent and the traditional operator, thereby getting through the channel for the agent to directly provide services.
In addition, the invention strengthens the cooperative relationship between the agent and the traditional operator, improves the quality of service, further improves the acceptance and the dependence of customers and establishes a stable supply-demand relationship.
Drawings
Fig. 1 is a flowchart illustrating a method for forwarding an instruction proxy of a home location register.
Fig. 2 is a diagram of the working state of the home location register command agent forwarding system.
Fig. 3 is a flowchart illustrating the determination of the hlr-based forwarding procedure.
Detailed Description
The home location register command agent forwarding method and system of the present invention will be explained and explained in detail below with reference to the drawings of the specification.
The invention mainly aims at the service implementation scheme that the telecom operator cooperation operator, the agency or the lower level virtual operator in the telecom industry sends the H L R instruction, particularly describes the interface and the specific interaction process related in the instruction agency forwarding process, perfectly realizes the purpose that the multi-agency client simultaneously forwards the H L R instruction, and effectively realizes the user service opening function of each cooperation agency, wherein the H L R instruction refers to the home location register instruction.
As shown in fig. 1, 2 and 3, the invention discloses a home location register instruction proxy forwarding method, which comprises the following steps,
step 1, firstly, establishing socket connection with an instruction receiving server by an agent client, processing a sub-process generated by the agent client by the instruction receiving server, and at a monitoring interface, if the number of the sub-processes is greater than the maximum concurrent number of the instruction receiving server, namely, the instruction receiving server can only process an instruction request of the connected agent client currently, returning 'System busy' or 'System is busy' to the agent client trying to be connected, and keeping the connection with the instruction receiving server by sending a heartbeat instruction by the connected agent client; then, the agent client sends an instruction request to the instruction receiving server.
The method comprises the steps of 2, sending an instruction request to a database by an instruction receiving server, specifically, after the instruction receiving server obtains the instruction request, connecting and logging in an Oracle database, then inquiring an agent code, authority and account and password information of a connecting home location register of a current agent client according to an IP address of the current agent client, and for the authority of the current agent client, realizing the method through a peripheral access authority configuration table according to the IP address, and obtaining the type, account and password information of the agent client code and a connecting H L R.
The instruction receiving server side is responsible for carrying out program interaction with a peripheral agent client side, receiving an instruction request, verifying the authority of an agent client side IP, an instruction string and a number/IMSI parameter, carrying out a warehousing instruction worksheet for the verified instruction, setting timeout time to wait for a processing result, and returning the processing result to the client side.
In this embodiment, for the peripheral access authority configuration table, the table name may be H L RJUDGEINFO, the table defines the IP address of the access agent client and the H L R switch code, the present invention determines the connection H L R information according to the access information, and the table structure is as follows.
Figure BDA0001272574140000061
In this embodiment, for the instruction authority configuration table, the table name may be H L RJUDGECMD, the table receives the H L R instruction authority, and for different access terminals, the table limits the transmitted instruction to a certain range, the variable parameter in the instruction is extended by%% of two percentiles, the information in the two percentiles is automatically ignored during verification, and the table structure is as follows.
Figure BDA0001272574140000062
Figure BDA0001272574140000071
In this embodiment, for the number segment authority configuration table, the table name may be H L rjudgpa, the table receives the number segment authority in the H L R instruction, and limits the number segment and IMSI segment range appearing in the instruction for different access terminals, thereby avoiding the occurrence of numbers of other agents that are operated without the right, and the table structure is as follows.
Figure BDA0001272574140000072
Figure BDA0001272574140000081
In this embodiment, for the command worksheet table, the table name may be tinnexwork _ H, and the table records the information of the received command record of the agent client, the command processing state, the processing completion time, and the like.
Figure BDA0001272574140000082
Figure BDA0001272574140000091
Step 3, scanning a process, namely scanning instruction requests in a database, sending the scanned instruction requests to a home location register, specifically, circularly scanning the instruction work list in real time, if the state of the instruction work list is 'to be processed', acquiring the account and password information of the home location register in the instruction requests, distinguishing agent clients of different instruction work lists in the process, then logging and connecting the agent clients, sending the instruction requests to the home location register in a message queue mode, specifically, informing a sending process of an instruction string in a request message queue mode by the scanning process, logging and connecting the sending process to H L R, reading the instruction request message queue in real time, sending the instructions to H L R, in addition, setting the scanning result timeout time until all the instruction requests are inquired to be in a 'processing completion' state or timeout state, and returning the inquiry result to the agent clients.
And 4, acquiring an instruction processing result returned by the home location register, specifically, acquiring the returned instruction processing result by the sending process, and informing an instruction processing result string formed by a plurality of instruction processing results to the updating process in a form of a response message queue.
And step 5, updating the process: the system is used for reading a response message queue instruction processing result written by a sending process in real time, sending the instruction processing result to a database, writing the instruction processing result into an instruction work list table in an Oracle database, writing an instruction request corresponding to the instruction processing result into the instruction work list table in advance, wherein the instruction processing result comprises an instruction processing result code, an instruction processing result information field and a write-back instruction work list processing state.
And 6, the database returns the processing result to the instruction receiving server for the agent client to obtain.
As shown in the figures 2 and 3, the invention also discloses a home location register instruction proxy forwarding system, wherein the sequence number in the arrow in figure 2 represents the sequence of a forwarding process, the system comprises an agent client, an instruction receiving server, a database and a home location register, the agent client is connected with the instruction receiving server in a socket mode, the agent client sends an instruction request to the instruction receiving server, the instruction receiving server processes a sub-process generated by the agent client, the instruction receiving server is connected and logged in the database after obtaining the instruction request, the instruction receiving server sends the instruction request to the database, the instruction request in the database is sent to the home location register, the home location register returns the instruction processing result and sends the instruction processing result to the database, and the database returns the processing result to the instruction receiving server for the agent client to obtain.
In the present invention, unless otherwise expressly stated or limited, the terms "mounted," "connected," "secured," and the like are to be construed broadly and can, for example, be fixedly connected, detachably connected, or integrally formed; can be mechanically or electrically connected; they may be directly connected or indirectly connected through intervening media, or they may be connected internally or in any other suitable relationship, unless expressly stated otherwise. The specific meanings of the above terms in the present invention can be understood by those skilled in the art according to specific situations.
In the description herein, references to the description of the term "one embodiment," "some embodiments," "the present embodiment," "a specific example," or "some examples" or the like are intended to mean that a particular feature, structure, material, or characteristic described in connection with the embodiment or example is included in at least one embodiment or example of the present invention. In this specification, the schematic representations of the terms used above are not necessarily intended to refer to the same embodiment or example. Furthermore, the particular features, structures, materials, or characteristics described may be combined in any suitable manner in any one or more embodiments or examples. Furthermore, various embodiments or examples and features of different embodiments or examples described in this specification can be combined and combined by one skilled in the art without contradiction.
The above description is only for the purpose of illustrating the preferred embodiments of the present invention and is not to be construed as limiting the invention, and any modifications, equivalents and simplifications made in the spirit of the present invention are intended to be included in the scope of the present invention.

Claims (3)

1. A home location register instruction proxy forwarding method, characterized by: the method comprises the following steps of,
step 1, an agent client sends an instruction request to an instruction receiving server;
step 2, the instruction receiving server sends the instruction request to a database;
step 3, scanning the instruction request in the database, and sending the scanned instruction request to a home location register;
step 4, obtaining an instruction processing result returned by the home location register;
step 5, sending the instruction processing result to a database;
step 6, the database returns the processing result to the instruction receiving server for the agent client to obtain;
in the step 1, the agent client establishes socket connection with the instruction receiving server, the instruction receiving server processes the sub-processes generated by the agent client, if the number of the sub-processes is greater than the maximum concurrent number of the instruction receiving server, a 'system busy' is returned to the agent client trying to connect, and the connected agent client keeps being connected with the instruction receiving server by sending a heartbeat instruction;
in the step 2, after the instruction receiving server obtains the instruction request, the instruction receiving server connects and logs in an Oracle database, and then inquires the agent code and authority of the current agent client and the account and password information of the connection home location register according to the IP address of the current agent client;
in the step 2, the instruction request of the current agent client is checked according to the query result, and the instruction request passing the checking is written into an instruction worksheet table in the Oracle database.
2. The home location register order agent forwarding method of claim 1, wherein: and 3, scanning the instruction request in the instruction worksheet in real time, acquiring the account and password information of the home location register in the instruction request, logging in and connecting the home location register, and sending the instruction request to the home location register in a message queue manner.
3. The home location register order agent forwarding method of claim 1 or 2, wherein: and step 5, writing the instruction processing result into an instruction worksheet table in an Oracle database.
CN201710252859.5A 2017-04-18 2017-04-18 Home location register instruction proxy forwarding method and system Active CN107135251B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710252859.5A CN107135251B (en) 2017-04-18 2017-04-18 Home location register instruction proxy forwarding method and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710252859.5A CN107135251B (en) 2017-04-18 2017-04-18 Home location register instruction proxy forwarding method and system

Publications (2)

Publication Number Publication Date
CN107135251A CN107135251A (en) 2017-09-05
CN107135251B true CN107135251B (en) 2020-07-31

Family

ID=59715656

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710252859.5A Active CN107135251B (en) 2017-04-18 2017-04-18 Home location register instruction proxy forwarding method and system

Country Status (1)

Country Link
CN (1) CN107135251B (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1601984A (en) * 2003-09-22 2005-03-30 华为技术有限公司 Control method of user's business authority
CN101686453A (en) * 2008-09-24 2010-03-31 中国移动通信集团安徽有限公司 Management instruction processing method, system, instruction management centre and HLR
CN102300230A (en) * 2011-09-22 2011-12-28 华为技术有限公司 Method, device and system for realizing monitoring of Internet information

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100565589B1 (en) * 2003-04-11 2006-03-29 엘지전자 주식회사 Method of selecting parameters for a cell switching in a mobile communication network
CN100512528C (en) * 2004-11-15 2009-07-08 中兴通讯股份有限公司 Method for realizing imputation position registor user control
CN102833080A (en) * 2011-06-15 2012-12-19 康佳集团股份有限公司 Process-to-process communication method of application software and system

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1601984A (en) * 2003-09-22 2005-03-30 华为技术有限公司 Control method of user's business authority
CN101686453A (en) * 2008-09-24 2010-03-31 中国移动通信集团安徽有限公司 Management instruction processing method, system, instruction management centre and HLR
CN102300230A (en) * 2011-09-22 2011-12-28 华为技术有限公司 Method, device and system for realizing monitoring of Internet information

Also Published As

Publication number Publication date
CN107135251A (en) 2017-09-05

Similar Documents

Publication Publication Date Title
EP2357860B1 (en) Device management server, client and method for locating target operation object
US8972562B2 (en) Ordering tracing of wireless terminal activities
CN108055312B (en) Routing method and device thereof, computer device and readable storage medium thereof
CN111935738B (en) Method and system for multi-operator core network docking MEC
CN103475751B (en) A kind of method and device of IP address switching
WO2019223887A1 (en) Methods for processing encrypted domain name server, dns, queries received from user equipment in a telecommunication network
US20040142656A1 (en) Method and device for the broadcasting of multimedia contents to mobile terminals
CN112134730B (en) Network data acquisition method and device
JP2016511451A (en) System and method for opening network functions and associated network elements
DE102016105827A1 (en) A communication method, server and terminal
WO2016070633A1 (en) Network log generation method and device
CN111224901B (en) Data association method, device and distributed system
US20170026319A1 (en) Method and system for transferring messages between messaging systems
CN110519810B (en) Service relay switching method, terminal equipment, storage medium and device
WO2012151813A1 (en) Communication system and method for converging different access technologies
CN110087321B (en) Method and device for triggering terminal session, computer equipment and storage medium
CN107135251B (en) Home location register instruction proxy forwarding method and system
CN106411713A (en) Status notification method and server
CN102045182B (en) Service fault localization method, device and system
CN113423120A (en) Data distribution processing method and device based on private network terminal and electronic equipment
CN116719868A (en) Network asset identification method, device and equipment
EP4113943A1 (en) System and method for subscriber awareness in a 5g network
CN110753135A (en) IP address configuration method, configuration equipment and storage medium
EP2282603A1 (en) Method for erasing data of terminal and terminal device
CN107222392B (en) Communication method, device, system and computer storage medium

Legal Events

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