CN101610279A - The method for routing of database manipulation, route entity and data storage network - Google Patents

The method for routing of database manipulation, route entity and data storage network Download PDF

Info

Publication number
CN101610279A
CN101610279A CNA2008101152612A CN200810115261A CN101610279A CN 101610279 A CN101610279 A CN 101610279A CN A2008101152612 A CNA2008101152612 A CN A2008101152612A CN 200810115261 A CN200810115261 A CN 200810115261A CN 101610279 A CN101610279 A CN 101610279A
Authority
CN
China
Prior art keywords
entity
routing iinformation
request message
database manipulation
storage
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
CNA2008101152612A
Other languages
Chinese (zh)
Other versions
CN101610279B (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.)
China Mobile Communications Group Co Ltd
Original Assignee
China Mobile Communications Group 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 China Mobile Communications Group Co Ltd filed Critical China Mobile Communications Group Co Ltd
Priority to CN2008101152612A priority Critical patent/CN101610279B/en
Publication of CN101610279A publication Critical patent/CN101610279A/en
Application granted granted Critical
Publication of CN101610279B publication Critical patent/CN101610279B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The invention discloses a kind of method for routing of database manipulation, this method comprises: the database manipulation request message that route entity is sent according to application entity, obtain the routing iinformation of described database manipulation request message from storage entity; Route entity is carried out the database manipulation of asking with the storage entity that described database manipulation request message routes to described routing iinformation indication.The present invention discloses route entity, the data storage network in a kind of database simultaneously.Adopt the present invention can reduce the inconsistent possibility of routing iinformation.

Description

The method for routing of database manipulation, route entity and data storage network
Technical field
The present invention relates to communication technical field, relate in particular to method for routing, route entity and the data storage network of database manipulation.
Background technology
In the communication network, HLR (Home Location Register, attaching position register) and HSS (HomeSubscriber Server, home subscriber server) be used to store user's CAMEL-Subscription-Information, authentication information, multidate information data such as (for example customer locations).Along with network and professional continuous development, HLR and HSS are towards the data storage network evolution with big capacity, distributed, high reliability, separation architecture, unified data model and open interface.Traditional HLR and HSS no longer occur with the physical form of triangular web, but the data storage network with difference in functionality layer architecture.
As shown in Figure 1, data storage network generally is made up of application entity, route entity and storage entity three-decker, adopts load sharing and redundancy backup mechanism to carry out alternately to improve reliability between the entity of different layers.A plurality of storage entity can be formed a plurality of backup entity setses, storage entity in same backup entity sets storage identical data and back up in realtime mutually, professional load sharing, to improve the safety and the availability of storage; The different data of the general storage of storage entity in the different backup entity setses.Wherein, provide a plurality of route entities and a plurality of storage entity composition datas storehouse of open interface, for different application entity (as business platform) provides unified storage and access services.
In the data storage network shown in Figure 1, storage entity has storing data information, according to the function of database manipulation request message operating data information, route entity has the database manipulation request message from application entity is carried out route, is forwarded to the function of storage entity.Route entity storage routing iinformation is so that carry out route according to the relevant information that comprises in the database manipulation request message to it.
The database manipulation method for routing of prior art is described below.
For convenience, the routing iinformation that can suppose route entity storage here is made of the route entry of numerous quantity, and the form of each route entry is<user ID the storage entity identifier 〉.In mobile communications network, user ID can be IMSI (International Mobile Subscriber Identifier, international mobile subscriber identifier) or MSISDN (Mobile Station Integrated Services DigitalNumber, mobile site integrated service digital coding), application entity can be STP (Signaling TransferPoint, Signalling Transfer Point) or MSC (Mobile Switching Center, mobile switching centre), the database manipulation request message can be MAP (Mobile Application Part, a mobile application part) message.As shown in Figure 2, the database manipulation method for routing of prior art can be as follows:
The database manipulation request message that step 201, route entity receiving application entity are sent.
Step 202, route entity are handled database operation requests message, obtain the user ID of this message.
Step 203, route entity are searched for the route entry of this user ID correspondence in the routing iinformation of this locality storage according to user ID.
Step 204, route entity are forwarded to this database manipulation request message the storage entity of storage entity identifier correspondence in the route entry.
The inventor finds that there is following deficiency in above-mentioned prior art by analysis:
Along with diverse network and professional continuous fusion, customer volume constantly increases, and the data volume of routing iinformation increases day by day, complexity.Routing iinformation in the database may cause the big cost height of single-point storage data volume, data cost height, route and storage inconsistent easily, that manage operation maintenance independently to bind problems such as the disaster tolerance ability is low by route entity full dose, redundant storage a plurality of, that distribute.
Summary of the invention
The embodiment of the invention provides a kind of method for routing of database manipulation, and in order to reduce the inconsistent possibility of routing iinformation, this method comprises:
The database manipulation request message that route entity is sent according to application entity obtains the routing iinformation of described database manipulation request message from storage entity;
Route entity is carried out the database manipulation of asking with the storage entity that described database manipulation request message routes to described routing iinformation indication.
The embodiment of the invention also provides the route entity in a kind of database, and in order to reduce the inconsistent possibility of routing iinformation, this route entity comprises:
Receiver module is used for the database manipulation request message that receiving application entity is sent;
Acquisition module is used for obtaining the routing iinformation of described database manipulation request message from storage entity according to described database manipulation request message;
Routing module is used for the database manipulation of request that the storage entity that described database manipulation request message routes to the indication of described routing iinformation is carried out.
The embodiment of the invention also provides a kind of data storage network, and in order to reduce the inconsistent possibility of routing iinformation, this data storage network comprises application entity, route entity, storage entity, wherein:
Application entity is used to send the database manipulation request message;
Route entity is used for receiving and according to described database manipulation request message, obtaining the routing iinformation of described database manipulation request message from storage entity; And, described database manipulation request message is routed to the storage entity that described routing iinformation is indicated;
Storage entity is used for storage and described routing iinformation is provided; And, receive the next described database manipulation request message of described route entity route and carry out the database manipulation of asking.
In the embodiment of the invention, the database manipulation request message that route entity is sent according to application entity obtains the routing iinformation of described database manipulation request message from storage entity; Route entity is carried out the database manipulation of asking with the storage entity that described database manipulation request message routes to described routing iinformation indication, wherein, the routing iinformation of described database manipulation request message is not to be stored in the route entity as prior art, but be stored in storage entity in the database, thereby can reduce the inconsistent possibility of routing iinformation.
Description of drawings
Fig. 1 is the structural representation of data storage network in the background technology;
Fig. 2 is the flow chart of database manipulation method for routing in the background technology;
Fig. 3 is the flow chart of database manipulation method for routing in the embodiment of the invention;
Fig. 4 is the flow chart of an instantiation of database manipulation method for routing in the embodiment of the invention;
Fig. 5 is the structural representation of route entity in the database in the embodiment of the invention;
Fig. 6 is the structural representation of acquisition module in the embodiment of the invention;
Fig. 7 is the structural representation of acquiring unit in the embodiment of the invention;
Fig. 8, Fig. 9 are the structural representation of data storage network in the embodiment of the invention.
Embodiment
Below in conjunction with Figure of description the embodiment of the invention is elaborated.
As shown in Figure 3, in the embodiment of the invention, the method for routing flow process of database manipulation is as follows:
The database manipulation request message that step 301, route entity are sent according to application entity obtains the routing iinformation of database manipulation request message from storage entity.
Step 302, route entity are carried out the database manipulation of asking with the storage entity that the database manipulation request message routes to the routing iinformation indication.
In the embodiment of the invention, the storage entity in the database is a plurality of, and wherein, each storage entity can storaging user data, and promptly the database manipulation object also can be stored routing iinformation, and routing iinformation is stored with the form of general data.During concrete enforcement, can be according to the part or all of storage entity storage of policy selection routing iinformation.The storage entity of storage routing iinformation simultaneously also can storaging user data.The storage entity of storage routing iinformation can be different entities with the storage entity of routing iinformation indication, can certainly be same entity.
When step 301 was implemented, route entity can extract user ID from the database manipulation request message; And, according to user ID, obtain routing iinformation from storage entity.One of ordinary skill in the art will appreciate that, this user ID only is an example, can utilize the identification information (as the numbering of database object, title etc.) of database object of the solicit operation of other form during enforcement, carry out related with the routing iinformation of database manipulation request message, and be carried in the database manipulation request message, obtain the routing iinformation of operation requests message from storage entity to make things convenient for route entity.
In the enforcement, route entity obtains routing iinformation according to user ID from storage entity and can comprise:
Route entity generates the routing iinformation request message and is sent to storage entity, carries user ID in the routing iinformation request message;
Storage entity is extracted user ID from the routing iinformation request message, search routing iinformation according to user ID;
Storage entity is returned the routing iinformation response message to route entity, carries routing iinformation in the routing iinformation response message.
Routing iinformation can comprise the identifier of the storage entity of user ID and routing iinformation indication; Storage entity is searched routing iinformation according to user ID and is meant: storage entity is searched the identifier of the storage entity of routing iinformation indication according to user ID.Wherein, the identifier of the storage entity of routing iinformation indication can be the numbering, title of the storage entity of routing iinformation indication etc.
Route entity is according to routing iinformation, the storage entity that the database manipulation request message is routed to the routing iinformation indication is meant: route entity routes to the database manipulation request message storage entity of routing iinformation indication according to the identifier of the storage entity of routing iinformation indication in the routing iinformation.
In the instantiation, suppose that routing iinformation is made of the route entry of numerous quantity, the form of each route entry is<user ID the storage entity identifier〉(only be example with the user ID in this example, the identification information by other form obtains routing iinformation similarly).Unlike the prior art be that routing iinformation is not stored in route entity, is stored in the storage entity but be regarded as general data.As shown in Figure 4, in this example, the method for routing flow process of database manipulation is as follows:
The database manipulation request message that step 401, route entity receiving application entity are sent.
Step 402, route entity extract user ID from the database manipulation request message.
Step 403, route entity generate the routing iinformation request message and are sent to storage entity according to user ID, carry user ID in the routing iinformation request message.
Step 404, storage entity are extracted user ID from the routing iinformation request message, search the route entry of route correspondence according to user ID.
Step 405, storage entity are returned the routing iinformation response message to route entity, wherein comprise the route entry that finds.
Step 406, route entity extract route entry from the routing iinformation response message that receives, obtain the identifier of the storage entity of routing iinformation indication.
Step 407, route entity route to this database manipulation request message the storage entity of routing iinformation indication according to the identifier of the storage entity of routing iinformation indication.
Among the embodiment, also can the storage area routing iinformation in the route entity, part routing iinformation in addition is stored in storage entity, and be not to store whole routing iinformations by route entity in the prior art, in this case, route entity earlier according to the database manipulation request message, searches in this locality whether routing iinformation is arranged after receiving the database manipulation request that application entity sends; If have, then obtain routing iinformation in this locality; If do not have, then obtain routing iinformation from storage entity.
Based on same inventive concept, the embodiment of the invention also provides the route entity in a kind of database, and its structure can comprise as shown in Figure 5:
Receiver module 501 is used for the database manipulation request message that receiving application entity is sent;
Acquisition module 502 is used for obtaining the routing iinformation of database manipulation request message from storage entity according to the database manipulation request message;
Routing module 503 is used for the database manipulation of request that the storage entity that the database manipulation request message routes to routing iinformation indication is carried out.
As shown in Figure 6, among the embodiment, acquisition module 502 can comprise:
Extraction unit 601 is used for extracting user ID from the database manipulation request message;
Acquiring unit 602 is used for obtaining routing iinformation according to user ID from storage entity.
As shown in Figure 7, among the embodiment, acquiring unit 602 can comprise:
Generate subelement 701, be used to generate the routing iinformation request message, carry user ID in the routing iinformation request message;
Send subelement 702, be used for the routing iinformation request message is sent to storage entity;
Receive subelement 703, be used to receive the routing iinformation response message that storage entity is returned, carry routing iinformation in the routing iinformation response message.
Among the embodiment, routing module 503 can also be used for the identifier according to the routing iinformation storage entity, the database manipulation request message is routed to the storage entity of routing iinformation indication.
Based on same inventive concept, the embodiment of the invention also provides a kind of data storage network, and its structure comprises application entity 801, route entity 802, storage entity 803 wherein as shown in Figure 8:
Application entity 801 is used to send the database manipulation request message;
Route entity 802 is used for receiving and according to the database manipulation request message, obtaining the routing iinformation of database manipulation request message from storage entity; And, according to routing iinformation, the database manipulation request message is routed to the storage entity of routing iinformation indication;
Storage entity 803 is used for storage and routing iinformation is provided; And, receive the next database manipulation request message of route entity route and carry out the database manipulation of asking.
Among the embodiment, data storage network shown in Figure 8 can also comprise:
At least one is used for the described routing iinformation of back-up storage entity stores and the backup entity of database object.
As shown in Figure 9, routing iinformation is peeled off from route entity, and with the storage general data method store: with the routing iinformation redundant storage in one the backup entity sets a plurality of storage entity in, back up in realtime between these a plurality of storage entity, business carried out load sharing.Operation and general data to route information are as good as.Route entity is to the existence of used solid shield routing iinformation redundant storage and traffic load sharing, for administering and maintaining of routing iinformation provides unification, easy operation-interface.
The embodiment of the invention has following beneficial effect:
One, reduces storage, equipment, the design cost of route entity, reduce the operation maintenance management cost.In the prior art, each route entity is safeguarded a routing iinformation, and the entire database system has the identical routing iinformation of n part (wherein n is the number of route entity in the Database Systems).And in the embodiment of the invention, route entity is not stored routing iinformation, by the storage entity storage of Database Systems a or two parts (for disaster tolerance safety, general two parts, three parts enough).Like this, the carrying cost of routing iinformation declines to a great extent, and the equipment of route entity, software design complexity also will reduce, and also can reduce the operation maintenance management cost simultaneously.The routing iinformation of database manipulation request message is stored in storage entity with the form of general data, need not during enforcement storage entity is transformed; Because route entity also can use the original interface of storage entity to obtain routing iinformation, thereby also need not the interface of route entity is transformed, thereby can further reduce implementation cost.
Two, reduce the inconsistent possibility of routing iinformation, increase fail safe, reliability and disaster tolerance ability.In the prior art, each route entity is safeguarded a routing iinformation, the identical routing iinformation needs of n part that the entire database system has keep synchronously in real time, synchronised automatic will strengthen route entity equipment, software design complexity, manually will increase maintenance cost synchronously, and the inconsistent situation of data still may appear in n part routing iinformation, bring hidden danger, when its routing iinformation visit was lost efficacy, whole route entity lost efficacy; And in the embodiment of the invention, route entity is not stored routing iinformation, store a or two parts by the storage entity of Database Systems, each part routing iinformation adopts the intrinsic mechanism of storage entity to carry out real-time backed up in synchronization, its reliability and fail safe have clear superiority than prior art, therefore greatly reduce to occur the inconsistent possibility of routing iinformation, route entity also reduces the complexity of operation maintenance management because the possibility that routing iinformation lost efficacy reduces greatly.
Obviously, those skilled in the art can carry out various changes and modification to the present invention and not break away from the spirit and scope of the present invention.Like this, if of the present invention these are revised and modification belongs within the scope of claim of the present invention and equivalent technologies thereof, then the present invention also is intended to comprise these changes and modification interior.

Claims (9)

1, a kind of method for routing of database manipulation is characterized in that, this method comprises:
The database manipulation request message that route entity is sent according to application entity obtains the routing iinformation of described database manipulation request message from storage entity;
Route entity is carried out the database manipulation of asking with the storage entity that described database manipulation request message routes to described routing iinformation indication.
2, the method for claim 1 is characterized in that, route entity obtains described routing iinformation from storage entity and comprises according to described database manipulation request message:
Route entity extracts the identification information of the database object of solicit operation from described database manipulation request message;
Route entity obtains described routing iinformation according to described identification information from storage entity.
3, method as claimed in claim 2 is characterized in that, route entity obtains described routing iinformation from storage entity and comprises according to described identification information:
Route entity generates the routing iinformation request message and is sent to storage entity, carries described identification information in the described routing iinformation request message;
Storage entity is extracted described identification information from described routing iinformation request message, search described routing iinformation according to described identification information;
Storage entity is returned the routing iinformation response message to route entity, carries described routing iinformation in the described routing iinformation response message.
4, method as claimed in claim 3 is characterized in that, described routing iinformation comprises the identifier of the storage entity of described identification information and the indication of described routing iinformation;
Storage entity is searched described routing iinformation according to described identification information and is meant: storage entity is searched the identifier of the storage entity of described routing iinformation indication according to described identification information.
5, as each described method of claim 1 to 4, it is characterized in that this method further comprises:
Route entity searches in this locality whether described routing iinformation is arranged according to described database manipulation request message; If have, then obtain described routing iinformation in this locality; If do not have, then obtain described routing iinformation from storage entity.
6, the route entity in a kind of database is characterized in that, comprising:
Receiver module is used for the database manipulation request message that receiving application entity is sent;
Acquisition module is used for obtaining the routing iinformation of described database manipulation request message from storage entity according to described database manipulation request message;
Routing module is used for the database manipulation of request that the storage entity that described database manipulation request message routes to the indication of described routing iinformation is carried out.
7, route entity as claimed in claim 6 is characterized in that, described acquisition module comprises:
Extraction unit is used for extracting user ID from described database manipulation request message;
Acquiring unit is used for obtaining described routing iinformation according to described user ID from storage entity.
8, a kind of data storage network is characterized in that, comprises application entity, route entity, storage entity, wherein:
Application entity is used to send the database manipulation request message;
Route entity is used for receiving and according to described database manipulation request message, obtaining the routing iinformation of described database manipulation request message from storage entity; And, described database manipulation request message is routed to the storage entity that described routing iinformation is indicated;
Storage entity is used for storage and described routing iinformation is provided; And, receive the next described database manipulation request message of described route entity route and carry out the database manipulation of asking.
9, data storage network as claimed in claim 8 is characterized in that, also comprises:
At least one is used for the described routing iinformation of back-up storage entity stores and the backup entity of database object.
CN2008101152612A 2008-06-19 2008-06-19 Routing method for database operation, routing entity and data storage network Expired - Fee Related CN101610279B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2008101152612A CN101610279B (en) 2008-06-19 2008-06-19 Routing method for database operation, routing entity and data storage network

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2008101152612A CN101610279B (en) 2008-06-19 2008-06-19 Routing method for database operation, routing entity and data storage network

Publications (2)

Publication Number Publication Date
CN101610279A true CN101610279A (en) 2009-12-23
CN101610279B CN101610279B (en) 2012-06-06

Family

ID=41483858

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2008101152612A Expired - Fee Related CN101610279B (en) 2008-06-19 2008-06-19 Routing method for database operation, routing entity and data storage network

Country Status (1)

Country Link
CN (1) CN101610279B (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108055312A (en) * 2017-12-07 2018-05-18 畅捷通信息技术股份有限公司 Method for routing and its device and computer installation and its readable storage medium storing program for executing
WO2020182177A1 (en) * 2019-03-13 2020-09-17 华为技术有限公司 Routing information management method and device, and computer storage medium
US12040962B2 (en) 2019-03-13 2024-07-16 Huawei Technologies Co., Ltd. Routing information management method and apparatus, and computer storage medium

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5839072A (en) * 1996-03-26 1998-11-17 Ericsson Inc. Routing an incoming call to a ported mobile station within a telecommunications network
DE60142413D1 (en) * 2001-05-11 2010-07-29 Nokia Corp DATA ELEMENT INFORMATION MANAGEMENT IN A NETWORK ENVIRONMENT

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108055312A (en) * 2017-12-07 2018-05-18 畅捷通信息技术股份有限公司 Method for routing and its device and computer installation and its readable storage medium storing program for executing
WO2020182177A1 (en) * 2019-03-13 2020-09-17 华为技术有限公司 Routing information management method and device, and computer storage medium
US12040962B2 (en) 2019-03-13 2024-07-16 Huawei Technologies Co., Ltd. Routing information management method and apparatus, and computer storage medium

Also Published As

Publication number Publication date
CN101610279B (en) 2012-06-06

Similar Documents

Publication Publication Date Title
CN103079191B (en) Synchronizing call feature data between IMS network and legacy network
CN102148850B (en) Cluster system and service processing method thereof
CA2198215C (en) Distributed service management system and method for personal communication services
CN100438696C (en) Method and system for indicating roam status of called party
CN103634775B (en) The method and device that user is flowed between a kind of acquisition administrative region
US20120047244A1 (en) Distributed Network Management System, Network Element Management Server, and Data Configuration Management Method
CN105471960A (en) Information interaction system and method between private clouds and public cloud
CN101815255B (en) Query method and system for group scheduling area information
CN101626563A (en) Data storage system in communication network and information processing method
CN104618127A (en) Master and standby storage node switching method and system
CN101473664A (en) Local calling area determination in wireless networks
CN101344882B (en) Data query method, insertion method and deletion method
CN102209020B (en) Service routing method, apparatus and system thereof
CN101150781B (en) Called recovery method, device and system for mobile switching center pool
CN101610279B (en) Routing method for database operation, routing entity and data storage network
CN103281115A (en) Communication system and method applied to satellite communication network
CN100544465C (en) Realize system, platform and the method for SMS value-added service
EP2124487A1 (en) Service processing method and processing system and service control point
CN102186244B (en) Wireless heterogeneous network system and uniform position management method for wireless heterogeneous networks
CN101834914B (en) Method for realizing mapping relation between identity and position
CN102647334B (en) A kind of data routing method and device
JP2003518887A (en) Wireless mobility service platform
CN101176368B (en) Method for recognizing mobile terminal validity
CN101345648B (en) Solution method of data inconsistency
CN104349287A (en) Method for roaming among vehicular independent networks

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
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20120606

Termination date: 20200619