CN1578307A - Method for communicating between telecommunication equipment service terminal and customer terminal - Google Patents

Method for communicating between telecommunication equipment service terminal and customer terminal Download PDF

Info

Publication number
CN1578307A
CN1578307A CN 03144062 CN03144062A CN1578307A CN 1578307 A CN1578307 A CN 1578307A CN 03144062 CN03144062 CN 03144062 CN 03144062 A CN03144062 A CN 03144062A CN 1578307 A CN1578307 A CN 1578307A
Authority
CN
China
Prior art keywords
client
service end
redaction
protocol command
forwarding process
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN 03144062
Other languages
Chinese (zh)
Other versions
CN100474852C (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.)
Huawei Technologies 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 CNB031440622A priority Critical patent/CN100474852C/en
Publication of CN1578307A publication Critical patent/CN1578307A/en
Application granted granted Critical
Publication of CN100474852C publication Critical patent/CN100474852C/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Landscapes

  • Computer And Data Communications (AREA)

Abstract

The present invention is the communication method between the service end and the client end of telecomm equipment. Between the service end and the client end of telecomm equipment adopting protocol with unlimited order of various command fields for communication, the service end adopts new version service processing logic and provides protocol version transmitting course independent from the said service processing logic. During the communication, the new version protocol commands in the service end and the old version protocol commands in the client end are converted mutually. The present invention facilitates the upgrading in both the client end and the service end, saves the development cost in both the client end and the service end and can realize the smooth upgrading in the client end.

Description

The method that telecommunication apparatus service end and client communicate
Technical field
The present invention relates to communication technical field, relate in particular to the method that a kind of telecommunication apparatus service end and client communicate.
Background technology
MML (Man Machine Language, be the man-machine interface language) order be widely used order system in field of telecommunications, be responsible for to realize support of the efficient communication of the client of MML, as apply to the maintenance, management etc. of switch or intelligent equipment with server.
The following example of citation form of MML order:
ADD?VPN?GRP:GRPID=8888888888,PROVINCE=03,SERVAREA=03075501,GRPTYPE=0,GRPNAME=My?Group;
ADD VPN GRP is called command word or command code (Command Code) in the last example, and business operation sign indicating number majority is a syllogic, is made of verb+business name+operand, and command code is used for operation of unique identification.
Colon must also must have colon even without follow-up parameter followed by command code.A series of operating parameter is followed in the colon back, and form is the right of field name and value, i.e. NamedValue.Cut apart with comma between each parameter, parameter is divided essential and optional two kinds.The order of parameter is random in the MML order, not the branch of priority.
The operating result of MML order returns with the form of MML equally, and this class MML is called ACK MML (MML command response), and its form is:
ACK:ADD VPN GRP:RETN=0, the DESC=success;
In the service end and client operation system of utilizing the MML order to communicate as business interface, when the service end service logic is upgraded, will require all clients to follow and upgrade, otherwise will cause interface incompatible, cause business to carry out.At present in field of telecommunications, service end and client operation system great majority are finished by different company's exploitation, so the change on the interface needs each side to coordinate to finish, and often expend lot of manpower and material resources.
Be illustrated in figure 1 as in service end and move new and old two cover operation system structural representations, the prior art most systems adopts in service end and client utilizes two cover operation systems of new, old different editions service logic to move new, old two cover business respectively respectively, as: in the business of the existing V1.0 version of service end, the business that the V2.0 version is arranged again, and different editions adopts different Service names to realize, communicates with new, legacy version client by new, legacy version MML order respectively.
There is following drawback in this method new, that old service moves simultaneously:
1, increased the burden of service end, this system for the fertile service of thin client is especially obvious, and two cover operation systems can make that server can't bear the heavy load.
2, increased maintenance work,, not only will in redaction, revise, still will revise legacy version simultaneously for the defective of in the service logic of legacy version, finding.
3, client can't realize professional smooth upgrade, owing to adopt new and old edition two to overlap independently operation system, and client or be redaction, or be legacy version, can't be implemented in major part is under the situation of legacy version, uses the partial function of redaction.
4, to service end, if new, old service database table structure difference then can't realize shared database.
Prior art also can adopt the method that still keeps the old service interface in new business to realize, as shown in Figure 2, in fact a service provides two cover agreements, only move the redaction service logic in service end, and new, legacy version protocol interface are provided, communicate with new, legacy version client by new, legacy version MML order respectively.
The method that this new business system keeps the old service interface also can increase the development of service end undoubtedly, because service end must utilize a lot of judgements to differentiate the version of MML order.And after client was upgraded to redaction, old interface was originally peeled off from service end again, has increased complexity, thereby cause the rising of development cost.When requiring more than one of compatible legacy version, implement quite difficulty.
Summary of the invention
Technical problem to be solved by this invention is: overcome client and the service end shortcoming that realization is difficult, cost is high when upgrading that the existing MML of utilization language communicates, the method that provides a kind of telecommunication apparatus service end and client to communicate, make things convenient for the upgrading of client and service end, thereby save the development cost of client and service end, and realize smooth upgrade client.
The present invention solves the problems of the technologies described above the technical scheme that is adopted to be:
The method that this telecommunication apparatus service end and client communicate, it is characterized in that: it may further comprise the steps:
In the service end and the client of the telecommunication apparatus that adopts the unrestricted agreement of each order of the field of protocol command to communicate, service end adopts the redaction business processing logic, and provide with respect to described business processing logic independently protocol version transmit process;
Utilize described forwarding process when service end and client communication, the redaction protocol command of service end and the legacy version protocol command of each client are changed mutually.
Described protocol command is man-machine interface languages (MML) order.
The terminal iidentification that each different client configuration is different, service end is set up the corresponding relation of these terminal iidentifications and protocol version, when communicating, service end is carried out different forwardings by described forwarding process according to the difference of terminal iidentification and is handled according to terminal iidentification conclude a bargain version.
The legacy version protocol command that described forwarding process is sent each client is converted to and the corresponding redaction protocol command of service end.
For the newly-increased parameter of redaction protocol command, increase by described forwarding process, value is got suitable default value by the service end service logic; For the parameter of redaction protocol command deletion, by described forwarding process-kill.
For the parameter that redaction protocol command codomain is dwindled, by described forwarding process the value that surpasses the redaction scope is handled, give the value of an equivalence; The parameter that generation enlarges for redaction protocol command codomain, the forwarding process does not deal with.
For the increase of codomain in the response command of redaction protocol command, described forwarding process is carried out equivalence and is replaced processing.
Described forwarding process is converted to the redaction protocol command of service end and the corresponding legacy version protocol command of each client.
For the newly-increased parameter of redaction protocol command, delete by described forwarding process; Parameter for the deletion of redaction protocol command is increased by described forwarding process, and value is got suitable default value by the client service logic.
For the parameter that redaction protocol command codomain is dwindled, described forwarding process does not deal with; The parameter that generation enlarges for redaction protocol command codomain, the forwarding process is handled the value that surpasses the legacy version scope, gives the value of an equivalence.
Beneficial effect of the present invention is: the present invention finishes conversion new between telecommunication apparatus client and the service end, legacy version MML order by the forwarding process that is independent of the service end business processing logic, compliance logic and service logic have been separated, like this, the upgrading of very convenient client and service end, thereby saved service side and customer's development cost, and the mapping table by maintenance terminal sign in transponder and protocol version, realized the configurable of client protocol version, thereby can carry out smooth upgrade client.
Description of drawings
Fig. 1 is the existing structural representation that moves new and old two cover operation systems in service end;
Fig. 2 is the existing system configuration schematic diagram that keeps the old service interface in new business;
Fig. 3 carries out the system configuration schematic diagram of MML interface protocol version conversion for the present invention.
Embodiment
With embodiment the present invention is described in further detail with reference to the accompanying drawings below:
In order to save the cost of client and exploitation side to greatest extent, realize professional smooth upgrade simultaneously, the present invention solves compatibling problem by carry out MML interface protocol version conversion in service end, makes compliance logic separate with service logic, and service end only adopts the redaction service logic.
Be illustrated in figure 3 as the system configuration schematic diagram that the present invention carries out MML interface protocol version conversion, provide MML interface protocol version transponder in service end, transponder provides the process of independently transmitting, and separates with service logic, and the transponder process externally provides unified Service name.The service end operation system adopts the redaction service logic, and MML interface protocol version transponder is changed the redaction MML order of service end with the MML order of the different editions of each client.
The transponder process is changed at difference new, the legacy version agreement, eliminates incompatible place.Here the characteristics of MML order have been made full use of, MML order generally by a command code follow several parameters title and parameter value to forming, MML orders different situations to comprise: parameter name difference, increase or to have reduced the span of some parameter, parameter value not equal.Because the order of MML command parameter is random, the different situation of these MML orders of the not branch of priority, so different editions all can be ordered to make amendment to MML and be realized by MML interface protocol version transponder.Because modification itself can't consume a lot of processing times, therefore adopt this mode to handle the overall performance that compatibling problem can not influence system.
As to want client and service end all be the protocol command of redaction, and then transponder need not carry out protocol conversion process.
The protocol command that sends legacy version when client is during to service end, and repeating process is as follows:
1, for the newly-increased parameter of redaction MML order, increased by transponder, value is got suitable default value by the service end service logic.
2, for the parameter of redaction MML order deletion, delete by transponder.
3, the parameter of dwindling for redaction MML order codomain is carried out equivalence by transponder to the value that surpasses the redaction scope and is replaced processing, gives immediate value in the codomain scope.
4, the parameter of expansion takes place for redaction MML order codomain, and transponder does not deal with.
5, for the increase of codomain in the ACK order of redaction MML order, transponder carries out equivalence and replaces processing, gives immediate value in the codomain scope.
When service end was sent the redaction protocol command to the legacy version client, repeating process is opposite with said process, and was specific as follows:
1, for the newly-increased parameter of redaction MML order, newly-increased parameter is deleted by transponder.
2, for the parameter of redaction MML order deletion, increased by transponder, value is got suitable default value by the client service logic.
3, the parameter of dwindling for redaction MML order codomain, transponder does not deal with.
4, the parameter of expansion taking place for redaction MML order codomain, by transponder the value that surpasses the legacy version scope is carried out the equivalence replacement and handle, gives immediate value in the codomain scope.
Transponder provides the client release configurable functionality, the MML order that allows client to send different editions by additional information is provided in message.As shown in Figure 3, the terminal iidentification that each different client configuration is different, terminal iidentification is a standard component of MML interface protocol, be used for identifying uniquely a client, transponder is safeguarded a table, write down the corresponding relation of terminal iidentification and protocol version in the table, the content of this table is configurable.After client sent a message to transponder, transponder carried out different compatible processing according to terminal iidentification conclude a bargain version according to the difference of terminal iidentification.
Owing to separated compliance logic, only need keep new service end business release in service end, carry out bridges forward by transponder, realized protocol-compliant, reduced development cost, and, during upgrading, can make transponder to the different conversion of MML order carrying out to transmitting correspondingly to revise because the correspondence table of terminal iidentification and client is configurable.It is to use new function under the situation of old service in most of logic that the present invention allows client, has realized the smooth upgrade of client.
Except that MML was ordered, the present invention also was applicable to the unrestricted agreement of each order of the field of protocol command, because order is unrestricted, did not then have incompatible that new and old edition causes because of order of the field is inconsistent.

Claims (10)

1, the method that communicates of a kind of telecommunication apparatus service end and client, it is characterized in that: it may further comprise the steps:
In the service end and the client of the telecommunication apparatus that adopts the unrestricted agreement of each order of the field of protocol command to communicate, service end adopts the redaction business processing logic, and provide with respect to described business processing logic independently protocol version transmit process;
Utilize described forwarding process when service end and client communication, the redaction protocol command of service end and the legacy version protocol command of each client are changed mutually.
2, the method that communicates of telecommunication apparatus service end according to claim 1 and client is characterized in that: described protocol command is man-machine interface languages (MML) order.
3, the method that communicates of telecommunication apparatus service end according to claim 1 and 2 and client, it is characterized in that: the terminal iidentification that each different client configuration is different, service end is set up the corresponding relation of these terminal iidentifications and protocol version, when communicating, service end is carried out different forwardings by described forwarding process according to the difference of terminal iidentification and is handled according to terminal iidentification conclude a bargain version.
4, the method that communicates of telecommunication apparatus service end according to claim 1 and client, it is characterized in that: the legacy version protocol command that described forwarding process is sent each client is converted to and the corresponding redaction protocol command of service end.
5, the method that communicates of telecommunication apparatus service end according to claim 4 and client is characterized in that: for the newly-increased parameter of redaction protocol command, increased by described forwarding process, value is got suitable default value by the service end service logic; For the parameter of redaction protocol command deletion, by described forwarding process-kill.
6, the method that communicates of telecommunication apparatus service end according to claim 4 and client, it is characterized in that: the parameter of dwindling for redaction protocol command codomain, by described forwarding process the value that surpasses the redaction scope is handled, given the value of an equivalence; The parameter that generation enlarges for redaction protocol command codomain, the forwarding process does not deal with.
7, the method that communicates of telecommunication apparatus service end according to claim 4 and client is characterized in that: for the increase of codomain in the response command of redaction protocol command, described forwarding process is carried out equivalence and is replaced and handle.
8, the method that communicates of telecommunication apparatus service end according to claim 1 and client, it is characterized in that: described forwarding process is converted to the redaction protocol command of service end and the corresponding legacy version protocol command of each client.
9, the method that communicates of telecommunication apparatus service end according to claim 8 and client is characterized in that: for the newly-increased parameter of redaction protocol command, deleted by described forwarding process; Parameter for the deletion of redaction protocol command is increased by described forwarding process, and value is got suitable default value by the client service logic.
10, the method that communicates of telecommunication apparatus service end according to claim 8 and client, it is characterized in that: for the parameter that redaction protocol command codomain is dwindled, described forwarding process does not deal with; The parameter that generation enlarges for redaction protocol command codomain, the forwarding process is handled the value that surpasses the legacy version scope, gives the value of an equivalence.
CNB031440622A 2003-07-28 2003-07-28 Method for communicating between telecommunication equipment service terminal and customer terminal Expired - Fee Related CN100474852C (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CNB031440622A CN100474852C (en) 2003-07-28 2003-07-28 Method for communicating between telecommunication equipment service terminal and customer terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CNB031440622A CN100474852C (en) 2003-07-28 2003-07-28 Method for communicating between telecommunication equipment service terminal and customer terminal

Publications (2)

Publication Number Publication Date
CN1578307A true CN1578307A (en) 2005-02-09
CN100474852C CN100474852C (en) 2009-04-01

Family

ID=34579575

Family Applications (1)

Application Number Title Priority Date Filing Date
CNB031440622A Expired - Fee Related CN100474852C (en) 2003-07-28 2003-07-28 Method for communicating between telecommunication equipment service terminal and customer terminal

Country Status (1)

Country Link
CN (1) CN100474852C (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN100459630C (en) * 2005-09-30 2009-02-04 西安大唐电信有限公司 Method for dynamic loading service
CN104753874A (en) * 2013-12-25 2015-07-01 腾讯数码(天津)有限公司 Method and device for realizing Hadoop compatibility
JP2018088651A (en) * 2016-11-29 2018-06-07 パナソニックIpマネジメント株式会社 Relay device
CN108984321A (en) * 2018-06-29 2018-12-11 Oppo(重庆)智能科技有限公司 A kind of mobile terminal and its method for limiting, the storage medium of interprocess communication
CN110764807A (en) * 2019-10-29 2020-02-07 京东方科技集团股份有限公司 Upgrading method, system, server and terminal equipment

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN100459630C (en) * 2005-09-30 2009-02-04 西安大唐电信有限公司 Method for dynamic loading service
CN104753874A (en) * 2013-12-25 2015-07-01 腾讯数码(天津)有限公司 Method and device for realizing Hadoop compatibility
CN104753874B (en) * 2013-12-25 2019-07-30 腾讯数码(天津)有限公司 The method and apparatus for realizing Hadoop compatibility
JP2018088651A (en) * 2016-11-29 2018-06-07 パナソニックIpマネジメント株式会社 Relay device
CN108984321A (en) * 2018-06-29 2018-12-11 Oppo(重庆)智能科技有限公司 A kind of mobile terminal and its method for limiting, the storage medium of interprocess communication
CN110764807A (en) * 2019-10-29 2020-02-07 京东方科技集团股份有限公司 Upgrading method, system, server and terminal equipment
CN110764807B (en) * 2019-10-29 2021-10-29 京东方科技集团股份有限公司 Upgrading method, system, server and terminal equipment
US11907700B2 (en) 2019-10-29 2024-02-20 Boe Technology Group Co., Ltd. Upgrading method and system, server, and terminal device

Also Published As

Publication number Publication date
CN100474852C (en) 2009-04-01

Similar Documents

Publication Publication Date Title
CN1904885A (en) Database adapter
CN1545252A (en) A method for implementing foreground data configuration in network management system
CN1192548A (en) Query translation system
CN1859125A (en) System and its method for central remote automatic upgrading software
CN1928873A (en) System and method for database access for implementing load sharing
CN1283063C (en) Method and apparatus for layout data in communication equipment
CN1946226A (en) Method, device for upgrading telecommunication equipment and upgrading engine unit
CN1787000A (en) System and method for centralized managing and dispatching of batch work
CN1617600A (en) Data disaster tolerance method for attaching location registor
CN1909705A (en) Universal developing platform based on mobile terminal platform
CN101075192A (en) Method and apparatus for defining service flow in data system
CN1976301A (en) Data synchronizing method
CN1838666A (en) Byte sequence switching method for crossing operating system platform
CN100338912C (en) Management method for obtaining equipment MIB support capability
CN1578307A (en) Method for communicating between telecommunication equipment service terminal and customer terminal
CN1585343A (en) Method for providing data to members of network synchronously by gating system
CN1306755C (en) Service testing device and method
CN1260983C (en) A method of disaster recovery for home location register (HLR) with zero-time service take-over
CN1929405A (en) Off-line configuration management system and method based on client/server structure
CN1351299A (en) Method and device for accessing database
CN1975701A (en) Master machine driving external equipment method and system
CN1300979C (en) Fully dynamic distributed network service management system and service method thereof
CN1588411A (en) Flow custom managing platform
CN1819532A (en) Management information base processing method
CN1599388A (en) Equipment and method for adding network storage and search for phonebook of mobile phone

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

Granted publication date: 20090401

Termination date: 20140728

EXPY Termination of patent right or utility model