CN100512310C - System and method for supporting multiple protocol stacks - Google Patents

System and method for supporting multiple protocol stacks Download PDF

Info

Publication number
CN100512310C
CN100512310C CNB2006100663151A CN200610066315A CN100512310C CN 100512310 C CN100512310 C CN 100512310C CN B2006100663151 A CNB2006100663151 A CN B2006100663151A CN 200610066315 A CN200610066315 A CN 200610066315A CN 100512310 C CN100512310 C CN 100512310C
Authority
CN
China
Prior art keywords
protocol
service
business
access layer
parts
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.)
Expired - Fee Related
Application number
CNB2006100663151A
Other languages
Chinese (zh)
Other versions
CN1866964A (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.)
Global Innovation Polymerization LLC
Gw Partnership Co ltd
Original Assignee
Huawei 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 Huawei Technologies Co Ltd filed Critical Huawei Technologies Co Ltd
Priority to CNB2006100663151A priority Critical patent/CN100512310C/en
Publication of CN1866964A publication Critical patent/CN1866964A/en
Application granted granted Critical
Publication of CN100512310C publication Critical patent/CN100512310C/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Computer And Data Communications (AREA)
  • Communication Control (AREA)

Abstract

The invention relates to a system that supporting multi protocol stack, and a relative method. Wherein, said method comprises: starting the system, the access layer obtains the relationship between the service enable element and the protocol type; the protocol stack layer dynamically registers the access layer about the protocol type, the protocol version and the relationship between them and the protocol service; the service enable element sends an access request message loaded with the mark and version number of service enable element, to process version consultation, to assure the service relative to the protocol stack relative to said service enable element, according to the register information, and feedback the consulted version number; the service enable element sends server processing message; and the access layer processes following received service operation requests according to assured service. The invention can make the access layer support several protocol stacks.

Description

A kind of system and method for supporting a plurality of protocol stacks
Technical field
The present invention relates to communication technique field, relate in particular to a kind of system and method for supporting a plurality of protocol stacks.
Background technology
Along with developing rapidly of data value-added service, each office point service management demand difference, SMAP (Service Management Access Protocol) protocol extension becomes three kinds of SMAP, ISMAP, BSMAP protocol stack, and every kind of protocol stack also has different editions, will have the protocol stack of SMAP1.0, SMAP1.2, ISMAP1.1 and BSMAP1.0 or the like coexistence.Message inserts at Access Layer, distributes between a plurality of SMAP protocol stacks, how to have the problem of route.
At present, prior art solutions as shown in Figure 1, concrete treatment step comprises:
1) during system start-up, Access Layer reads out the protocol type of current configuration, for example SMAP, ISMAP, BSMAP;
2) external business enables parts and sends a request message to system, is with protocol version in the message;
3) Access Layer and protocol stack find the certain protocol stack according to the protocol type of configuration and the version number of information reporting, and particular protocol stack is to the request decoding;
4) particular protocol stack becomes inside story with described message conversion;
5) send inside story to the service logic key-course;
6) the service logic key-course is according to the protocol type of configuration, and completion logic is handled;
7) the service logic key-course returns the processing response message;
8) Access Layer and protocol stack find particular protocol stack according to the protocol type of configuration and the version number of information reporting, and particular protocol stack is encoded to described replying;
9) echo reply message enables parts to business.
In the technique scheme, system can only support simultaneously one type SMAP agreement, and in the actual motion in some office point, need system to support the agreement of two or more types simultaneously, therefore present scheme can not satisfy the demand of supporting multiple SMAP agreement.
Summary of the invention
The object of the present invention is to provide a kind of system and method for supporting a plurality of protocol stacks.
The objective of the invention is to be achieved through the following technical solutions:
A kind of method of supporting a plurality of protocol stacks comprises:
The corresponding relation that business enables parts and protocol type is obtained in A, system start-up, Access Layer, and protocol stack layers is dynamically to the corresponding relation of Access Layer log-in protocol type and protocol version and protocol stack corresponding with service;
B, Access Layer receive the professional login request message that parts send that enables, and enable according to described login request message and described business that the correspondence relationship information of the corresponding relation of parts and protocol type and protocol type and protocol version and protocol stack corresponding with service is definite to enable the corresponding service of parts corresponding protocols stack with described business;
C, definite enable the corresponding service of parts corresponding protocols stack with described business the business operation request that the follow-up described business that receives enables parts is handled according to described.
Described login request message comprises: business enables component identification and version number.
Described step B further comprises:
Access Layer returns with the professional identical or close protocol stack version number information of version number that parts provide that enables and enables parts to business.
Described step C further comprises:
Access Layer according to the business obtained enable parts and protocol type corresponding relation, and professional enable component identification, and protocol stack layers dynamically enable the corresponding service of parts corresponding protocols stack with described business to the corresponding relation of the protocol type of Access Layer registration and protocol version and protocol stack corresponding with service is definite, and preserve the correspondence relationship information that described business enables the parts service corresponding with described corresponding protocols stack.
Described step D specifically comprises:
The Access Layer business of receiving enables the request of parts business operation;
The decoding service of invocation protocol stack layer becomes inside story with the described request message conversion, sends to the service logic key-course afterwards;
After the service logic key-course is finished the respective logic processing, return inner response message and give protocol stack layers;
Protocol stack layers is replied the service of encoding to described, afterwards it is returned to Access Layer;
Access Layer enables parts with the described response message business of returning to.
The corresponding relation that described business enables the corresponding with service of parts and protocol stack comprises: business enables the corresponding relation of component identification and protocol type, protocol version, protocol stack corresponding with service.
A kind of system that supports a plurality of protocol stacks comprises:
The registration management module is arranged at protocol stack layers, is used for registering to Access Layer the corresponding relation of the service of current protocol type and protocol version and protocol stack;
The message maintenance module is arranged at Access Layer, and the interface with described registration management module is provided, and is used to receive the message that the registration management module reports, and safeguards that login back external business enables the corresponding relation of parts and protocol stack corresponding with service, and it is kept at Access Layer;
The information searching module is arranged at Access Layer, is used for enabling the configuration file that the component identification reading system is stored according to business, obtains with business and enables parts corresponding protocols type.
As seen from the above technical solution provided by the invention, the present invention is by setting in advance the corresponding relation that business enables parts and protocol stack at Access Layer, and the mode that adopts protocol stack layers initiatively to register to Access Layer, realized that system's Access Layer supports a plurality of protocol stacks simultaneously, satisfied the demand of current system operation, applying flexible, extensibility is strong.
Description of drawings
Fig. 1 is the process chart of prior art systems allocation plan;
Fig. 2 is a kind of embodiment module diagram of system of the present invention;
Fig. 3 is a kind of embodiment operational flowchart of the method for the invention.
Embodiment
Core concept of the present invention provides a kind of system and method for supporting a plurality of protocol stacks, adopt protocol stack layers initiatively to register to Access Layer, safeguard and the professional mapping relations that enable between parts and the protocol stack layers of preservation by Access Layer, make system's Access Layer can support the various protocols stack simultaneously.
The invention provides a kind of system that supports a plurality of protocol stacks, its a kind of embodiment module diagram as shown in Figure 2, described system is provided with the registration management module in protocol stack layers, is used for registering to Access Layer the corresponding relation of the service of current protocol type and protocol version and protocol stack; Described system is provided with the message maintenance module at Access Layer, interface with described registration management module is provided, is used to receive the message that the registration management module reports, enable the sign of parts according to the external business of login, safeguard described corresponding relation, and it is kept at Access Layer; The described corresponding relation of preserving in the described Access Layer can adopt the structure of following mapping table:
Field Explanation
The external entity sign Unique differentiation external business enables the sign of parts
Protocol type For example SMAP, ISMAP, BSMAP or the like
Protocol version 1.0
ServiceName Realize the service name of concrete protocol stack encoding and decoding
Described Access Layer also is provided with the information searching module, is used for the configuration file that reading system is stored when system start-up, enables component identification according to business and obtains the corresponding protocol type of corresponding protocols stack.
The invention provides a kind of method of supporting a plurality of protocol stacks, its operating process specifically comprises following operation as shown in Figure 3:
Step 1: system start-up, Access Layer reads configuration file, and obtain all business and enable parts and protocol type correspondence relationship information, as the external entity in the following table 1 sign corresponding relation with protocol type:
The external entity sign Protocol type
SMS?GW1 SMAP
SMS?GW2 ISMP
WAP?GW1 SMAP
During system start-up, protocol stack is registered described corresponding relation from the trend Access Layer, as following table 2:
Protocol type Protocol version The Servcie of protocol stack
SMAP 1.24 SMAPService1.24
ISMP 1.1 ISMPService1.1
SMAP 1.3 SMAPService1.3
Step 2: after the system start-up success, business enables parts and sends login request message to Access Layer;
The business of carrying enables the information such as version number of component identification, support in the described request message;
Step 3: after Access Layer receives described login request message, the information searching module enables component identification according to the business in the described request message, in the above-mentioned configuration file that reads, search corresponding protocols stack corresponding protocols type, return with business and enable the identical or immediate version number of component request;
System can safeguard the following table 3 of preserving in the Access Layer this moment:
The external entity sign Protocol type Protocol version
SMS?GW1 SMAP 1.24
SMS?GW2 ISMP 1.1
WAP?GW1 SMAP 1.3
Associative list 2 and table 3 obtain a complete table 4, preserve corresponding relation such as following table 4 that described external business enables parts and protocol stack corresponding with service:
The external entity sign Protocol type Protocol version The Servcie of protocol stack
SMS?GW1 SMAP 1.24 SMAPService1.24
SMS?GW2 ISMP 1.1 ISMPService1.1
WAP?GW1 SMAP 1.3 SMAPService1.3
Can find the service that enables the corresponding particular protocol stack of parts with the external business of logining according to last table;
Step 4: external business enables parts and sends Business Processing message to Access Layer, the table 4 that Access Layer obtains according to described maintenance, the decoding service of calling the particular protocol stack layer, the request decoding, that is, the described request message conversion is become inside story, send to the service logic key-course afterwards;
Step 5: after the service logic key-course receives described message, carry out corresponding logical process;
Mainly be to finish the corresponding business operational processes according to service request;
Step 6: after the service logic key-course is finished the respective logic processing, return inner response message and give protocol stack layers, comprise result;
Step 7: the particular protocol stack layer is replied the service of encoding to described, afterwards it is returned to Access Layer;
Step 8: Access Layer enables parts with the described response message business of returning to.
The present invention will be described with instantiation below:
Suppose two Short Message Service Gateway SMS GW1 and SMS GW2 are arranged at present, support SMAP1.24 and ISMP1.1 respectively, a WAP gateway WAP GW1 is arranged in addition, support SMAP1.3, and current DSMP supports four kinds of agreement SMAP1.24, SMAP1.3, ISMP1.1, BSMAP1.0.
When DSMP starts, read configuration file, obtain the correspondence relationship information that all business enable parts and protocol type, simultaneously, system supports the corresponding relation of all protocol stacks to the service of system registry protocol type and protocol version and protocol stack.When having received three gateways need connect up as client the time, three gateways at first send log messages, and Access Layer obtains the sign of three gateways, and protocol type and the protocol version supported respectively.The external entity of need safeguarding DSMP arrives the mapping table of protocol stack service, obtains the correspondence relationship information as following table:
The external entity sign Protocol type Protocol version Protocol stack Servcie
SMS?GW1 SMAP 1.24 SMAPService1.24
SMS?GW2 ISMP 1.1 ISMPService1.1
WAP?GW1 SMAP 1.3 SMAPService1.3
When SMS GW2 sends SMAP business operation message, can report external entity sign SMSGW2, Access Layer can find the unique ISMP Service1.1 correspondence of protocol stack layers, and ISMPServcie1.1 decodes to request message then, convert inside story to, send to the service logic key-course and handle; After the service logic key-course is handled, return result and give ISMP Service1.1, the response message coding returns to Access Layer, and Access Layer is transparent to SMS GW2 replying.This process is the message processing procedure of SMS GW2, and the operating process of other outside access parts in like manner.
In sum, the present invention is by setting in advance the corresponding relation that business enables parts and protocol stack at Access Layer, and the mode that adopts protocol stack layers initiatively to register to Access Layer, has realized that system's Access Layer supports a plurality of protocol stacks simultaneously.
The above; only for the preferable embodiment of the present invention, but protection scope of the present invention is not limited thereto, and anyly is familiar with those skilled in the art in the technical scope that the present invention discloses; the variation that can expect easily or replacement all should be encompassed within protection scope of the present invention.Therefore, protection scope of the present invention should be as the criterion with the protection range of claim.

Claims (7)

1, a kind of method of supporting a plurality of protocol stacks is characterized in that, comprising:
The corresponding relation that business enables parts and protocol type is obtained in A, system start-up, Access Layer, and protocol stack layers is dynamically to the corresponding relation of Access Layer log-in protocol type and protocol version and protocol stack corresponding with service;
B, Access Layer receive the professional login request message that parts send that enables, and enable according to described login request message and described business that the correspondence relationship information of the corresponding relation of parts and protocol type and protocol type and protocol version and protocol stack corresponding with service is definite to enable the corresponding service of parts corresponding protocols stack with described business;
C, definite enable the corresponding service of parts corresponding protocols stack with described business the business operation request that the follow-up described business that receives enables parts is handled according to described.
2, a kind of method of supporting a plurality of protocol stacks as claimed in claim 1, it is characterized in that described login request message comprises: business enables component identification and version number.
3, a kind of method of supporting a plurality of protocol stacks as claimed in claim 2 is characterized in that described step B further comprises:
Access Layer returns with the professional identical or close protocol stack version number information of version number that parts provide that enables and enables parts to business.
4, a kind of method of supporting a plurality of protocol stacks as claimed in claim 2 is characterized in that described step B further comprises:
Access Layer according to the business obtained enable parts and protocol type corresponding relation, and professional enable component identification, and protocol stack layers dynamically enable the corresponding service of parts corresponding protocols stack with described business to the corresponding relation of the protocol type of Access Layer registration and protocol version and protocol stack corresponding with service is definite, and preserve the correspondence relationship information that described business enables the parts service corresponding with described corresponding protocols stack.
5, a kind of method of supporting a plurality of protocol stacks as claimed in claim 1 is characterized in that described step C specifically comprises:
The Access Layer business of receiving enables the request of parts business operation;
The decoding service of invocation protocol stack layer becomes inside story with the described request message conversion, sends to the service logic key-course afterwards;
After the service logic key-course is finished the respective logic processing, return inner response message and give protocol stack layers;
Protocol stack layers is replied the service of encoding to described, afterwards it is returned to Access Layer;
Access Layer enables parts with the described response message business of returning to.
6, as each described a kind of method of supporting a plurality of protocol stacks in the claim 2 to 4, it is characterized in that the corresponding relation that described business enables the corresponding with service of parts and protocol stack comprises: business enables the corresponding relation of component identification and protocol type, protocol version, protocol stack corresponding with service.
7, a kind of system that supports a plurality of protocol stacks is characterized in that, comprising:
The registration management module is arranged at protocol stack layers, is used for registering to Access Layer the corresponding relation of the service of current protocol type and protocol version and protocol stack;
The message maintenance module is arranged at Access Layer, and the interface with described registration management module is provided, and is used to receive the message that the registration management module reports, and safeguards that login back external business enables the corresponding relation of parts and protocol stack corresponding with service, and it is kept at Access Layer;
The information searching module is arranged at Access Layer, is used for enabling the configuration file that the component identification reading system is stored according to business, obtains with business and enables parts corresponding protocols type.
CNB2006100663151A 2006-03-28 2006-03-28 System and method for supporting multiple protocol stacks Expired - Fee Related CN100512310C (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CNB2006100663151A CN100512310C (en) 2006-03-28 2006-03-28 System and method for supporting multiple protocol stacks

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CNB2006100663151A CN100512310C (en) 2006-03-28 2006-03-28 System and method for supporting multiple protocol stacks

Publications (2)

Publication Number Publication Date
CN1866964A CN1866964A (en) 2006-11-22
CN100512310C true CN100512310C (en) 2009-07-08

Family

ID=37425848

Family Applications (1)

Application Number Title Priority Date Filing Date
CNB2006100663151A Expired - Fee Related CN100512310C (en) 2006-03-28 2006-03-28 System and method for supporting multiple protocol stacks

Country Status (1)

Country Link
CN (1) CN100512310C (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113938858B (en) * 2021-12-17 2022-04-12 高新兴智联科技有限公司 Communication method of V2X protocol stack

Also Published As

Publication number Publication date
CN1866964A (en) 2006-11-22

Similar Documents

Publication Publication Date Title
US7774008B2 (en) MDN-less SMS messaging (network solution) for wireless M2M application
CN100421435C (en) Gateway for next-generation network, dynamic extending, and open interface technology
CN100477811C (en) Naming stipulation of different equipments, and apparatus and method using the same naming stipulation
CN1192665C (en) Server request including code for customizing service to requesting cellular mobile station
CN103647813B (en) The method and apparatus of Internet of Things unifying identifier code parsing
US7039403B2 (en) Method and apparatus to manage a resource
CN114448673A (en) Device access method, related platform and computer storage medium
CN104125208B (en) Data transmission method and device
CN1146267C (en) Method for administrating additional services in a communication network
CN101136943B (en) System and method for implementing extended Diameter protocol application
CN101533477A (en) Information search and information exchange search process of business network and internet of things
CN1667645A (en) Method and system for communicating with identification tags
US9602602B2 (en) Apparatus and method for identifying interoperability between object identifier-based heterogeneous identifier nodes for next generation network
CN100499590C (en) Message access controlling method and a network apparatus
US9712667B2 (en) Identifying network entities in a peer-to-peer network
EP2139193B1 (en) A method of performing data mediation, and an associated computer program product, data mediation device and information system
CN101729584A (en) Service adaptor for software service integration system and operation method thereof
CN100512310C (en) System and method for supporting multiple protocol stacks
WO2009114710A2 (en) Messaging interchange system
CN106028311A (en) Terminal register method and device
CN101094449A (en) Method for addressing user home gateway of short message, and service system of short message
CN101600182A (en) Method, system and equipment that roaming number distributes
CN104080099B (en) A kind of wireless controller communication means and wireless controller
CN102651859B (en) Method, equipment and network for identifying of operator ownership of number portability users
US8356006B2 (en) Method of effectively managing database system for mobile number portability

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
TR01 Transfer of patent right
TR01 Transfer of patent right

Effective date of registration: 20180427

Address after: California, USA

Patentee after: Global innovation polymerization LLC

Address before: London, England

Patentee before: GW partnership Co.,Ltd.

Effective date of registration: 20180427

Address after: London, England

Patentee after: GW partnership Co.,Ltd.

Address before: 518129 Bantian HUAWEI headquarters office building, Longgang District, Guangdong, Shenzhen

Patentee before: HUAWEI TECHNOLOGIES Co.,Ltd.

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: 20090708