CN100407728C - Board to board communication between distribution system objects - Google Patents

Board to board communication between distribution system objects Download PDF

Info

Publication number
CN100407728C
CN100407728C CN021363730A CN02136373A CN100407728C CN 100407728 C CN100407728 C CN 100407728C CN 021363730 A CN021363730 A CN 021363730A CN 02136373 A CN02136373 A CN 02136373A CN 100407728 C CN100407728 C CN 100407728C
Authority
CN
China
Prior art keywords
board
communication
physical
physical board
message
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 - Lifetime
Application number
CN021363730A
Other languages
Chinese (zh)
Other versions
CN1472945A (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.)
ZTE Corp
Original Assignee
ZTE Corp
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 ZTE Corp filed Critical ZTE Corp
Priority to CN021363730A priority Critical patent/CN100407728C/en
Publication of CN1472945A publication Critical patent/CN1472945A/en
Application granted granted Critical
Publication of CN100407728C publication Critical patent/CN100407728C/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Images

Abstract

The present invention discloses a board-to-board communication method between distribution system objects. All objects and physical single boards in a distribution system are respectively uniformly registered and signed up, and the communication modes between every two physical single boards are also registered so that a global object registration form, a global physical single board registration form and a global single board communication link registration form are generated, each physical single board is provided with a uniform routing object, and the message passing of the objects outside the plate is uniformly completed by a source and a purpose routing object by enquiring the information of the three tables so as to realize the communication between the objects on every two different single boards. The communication method of the present invention realizes the direct communication of the objects on every two different physical single boards, does not need product supports offered by the third party, satisfies the distribution and real time requirements of large-scale equipment in the communication field, and provides guarantee for wide application of the object oriented technology in the communication field.

Description

Interplate communication method between a kind of distributed system object
Affiliated technical field
When the present invention relates in the communication field to adopt OO design, communication means between the different objects on the different Physical board in the main equipment, this method also is fit to the distributed real-time system of other large-scale employing Object-Oriented Design realizations.
Background technology
Since the eighties, the Object-Oriented Design technology gradually with the Great War of Structured Design technology in get the upper hand, one of wherein most important, as to have epoch-making important meaning achievement is exactly the appearance of UML (UML:Unified Modeling Language).Object-oriented Technique with its easily reuse, encapsulation property is good etc., and characteristics also are used widely in communication field gradually.In communication field, many main equipments all are Embedded, distributed, the exigent system of real-time.It is made up of multiple Physical board usually, therefore the software that moves on the veneer has been proposed quite high requirement, and code is succinct, the operational efficiency height, and real-time responsiveness is good, and the software entity on each veneer (being object) interactivity is good.For example, on hardware single board, there are various hardware, need the software unified management, can design a hardware management object,, make the upper layer application object only carry out interacting message with this hardware management object by its responsible various operation to hardware.
Adopt the object oriented analysis method for designing, many objects must be distributed on each Physical board, and CORBA (the common objectrequest broker architecture) standard of OMG (Object Management Group:OMG) proposition at present provides a kind of scheme preferably.It provides the multiple objects services that comprises Event Service etc.The sender of the message is referred to as the supplier, and message recipient is referred to as the consumer.The push-model of CORBA and pull-mode need EVENT CHANNEL (event channel) object to carry out alternately, just consumer and supplier are essential by EVENT CHANNEL object, obtain the agent object of representing the other side: a supplier obtains a consumer agency; A consumer obtains a supplier agency.EVENT CHANNEL object is realized mutual between message event by these agent objects.This is a kind of Client-Server pattern, can only realize the object communication between Client and the Server, can not direct communication between each Client, and need Server to transmit, just can finish the communication between the Client.Simultaneously, CORBA also needs to provide some other high-rise service, and it is very complicated to cause CORBA to implement, and the dedicated development instrument that needs the third party to provide needs the interface between the IDL language definition object.IDL itself is not a kind of programming language, and it is independent of on any concrete language, but it has adopted the C++ grammer.And the C language is more succinct than C Plus Plus because of it, execution efficient is higher, it is more flexible to use, and is widely used in the various device of communication field.In sum, it is inappropriate adopting this CORBA method in the distributed system in the communications field.
Summary of the invention
The invention provides the communication between the distributed objects in a kind of succinct effective method realization communication field, satisfy distributed, the real-time requirement of main equipment when adopting the Object-Oriented Design method.
The treatment step of the method for the invention is as follows:
The first step, with the unified registration of objects all in the system, unified numbering, and on affiliated Physical board, register, generate global object's registration form;
In second step, the unified registration of Physical board all in the system, unified numbering generates an overall Physical board registration form;
In the 3rd step, determine the message header form of communicating by letter between the object, definition Physical board number, object identity number, message id number and message-length;
In the 4th step, determine the communication mode between each Physical board, and generate an overall single board communication link registration form; As TCP/IP, a bit stop-and-wait protocol etc.;
The 5th step, a routing object all is set on each Physical board, the message of object is sent on the routing object of target physical veneer by the routing object of this Physical board on each Physical board, and the routing object of target physical veneer receives message and is transmitted to the purpose object.
(size of code of realization is little with very little expense for communication means of the present invention, carry out the efficient height), realized that the object on the different Physical board directly communicates by letter, do not need the third party that product support is provided, satisfied the requirement of the medium-and-large-sized device distribution formula of communication field, real-time, for the extensive use of Object-oriented Technique in communication field provides powerful guarantee.
Description of drawings
Fig. 1 is source object of the present invention sends a communication flow diagram from message to the purpose object;
Fig. 2 is the structural representation of the distributed system of the embodiment of the invention;
Embodiment
The object-oriented analysis designing technique becomes a kind of mainstream technology already, particularly in the appearance of object oriented language C++, has finished Object-oriented Technique from analyzing, be designed into the whole process of realization.But for the large-scale embedded system in the communication field, it is not the best approach that C Plus Plus is adopted in the final realization of system.In fact, the C language also is to realize Object oriented programming (object-oriented programm:OOP), thereby makes system have reusability (OO characteristic), real-time and high efficiency (requirement of communication apparatus itself) preferably.
Basic thought of the present invention is, all unified registration of Physical board, registration in the system, and all objects also need unified registration, registration.Unified routing object of design on each Physical board unify the pair of panel message transmission of object outward by routing object, thereby realizes the communication between the object on the different Physical board.Because the design of unified registration, registration and the unified routing object of all Physical board and object realizes, makes all Physical board, the object overall situation as seen, rather than adopts the Client-Server pattern.
Further specify interplate communication method between the distributed system object of the present invention below in conjunction with drawings and Examples.
Message communicating flow process between source of the present invention as shown in Figure 1, the purpose object, routing object need be searched three tables in this process, global object's registration form, overall Physical board registration form and overall single board communication link registration form, and do corresponding decision.
Embodiment below in conjunction with Fig. 2 specifies communication means of the present invention, is illustrated in figure 2 as the structural representation of the distributed system of the embodiment of the invention.
Adopt earlier OO method, needed various objects of the system that designs and class, and the correspondence between them, and they are deployed on the different Physical board veneers.Among Fig. 2, object a1, a2 and a3 are deployed on the Physical board A, object b1, b2 are deployed in Physical board B, object c1, c2 are deployed on the Physical board C, wherein on the veneer A a3 object need with c1 object communication (two-way) on the C veneer, on the veneer A a1 object need with a2 object communication on the A veneer, the object a2 on the veneer A need communicate by letter with the object b2 on the board B (two-way).Communication link between Physical board A, B, the C is undertaken by routing object A, B, C separately, can adopt TCP/IP, a bit stop-and-wait protocol etc.
The first step at first, all objects need be unified registration in the system, unified numbering, and on affiliated Physical board, register, generate global object's registration form.Among Fig. 2, a1, a2, a3, b1, b2, c1 and c2 need unify registration, unified numbering, and its numbering is followed successively by 1 to 7; Object a1, a2 on the Physical board A and a3 need register on node A.
In second step, all Physical board need be unified registration in the system, and unified numbering generates overall Physical board registration form.Among Fig. 2, the unified registration of Physical board A, B and C, unified numbering, its numbering is followed successively by 1 to 3.
In the 3rd step, the communication link registration between each Physical board generates overall single board communication link registration form.As, veneer A is 1 to the link of board B, veneer A is 2 to the link of veneer C.
The object b2 that sends a message on the board B with the object a2 on the Physical board A is the communication process of object between example explanation plate below:
Object a2 on the Physical board A sends message to the object b2 on the Physical board B, the intercommunication primitive between the allocating object at first, fill in the object identity numbers 5 of purpose object b2, the veneer of target physical board B numbers 2, message id number etc., giving routing object A handles, routing object A at first searches the Physical board registration form, find that target physical board B (ID number is 2) is not this Physical board A (ID number is 1), routing object A is by searching the communication link that the single board communication link table searches out target physical board B correspondence, find the link 1 that reaches board B, this message is sent to the routing object B of target physical board B by link 1, routing object B searches two tables, Physical board registration form and object registration form, determine that the Physical board under own has purpose object b2, directly message is sent to object b2, object b2 receives that this message carries out respective handling like this.
Routing object in the system is mainly finished two functions as can be seen, the first sends to needs the message of object on other Physical board, directly be sent on the routing object of target physical veneer, it two is to receive other Physical board object to send message that (passing through routing object) gives this Physical board object, and find this object, this message is sent to the purpose object.
In same Physical board, or is one-way communication or two-way communication between the source, purpose object to source, purpose object, and its communication process is basic identical, repeats no more.

Claims (5)

1. the interplate communication method between the distributed system object is characterized in that, comprises following steps:
The first step, with the unified registration of objects all in the system, unified numbering, and on affiliated Physical board, register, generate global object's registration form;
In second step, the unified registration of Physical board all in the system, unified numbering generates an overall Physical board registration form;
In the 3rd step, determine the message header form of communicating by letter between the object, definition Physical board number, object identity number, message id number and message-length;
In the 4th step, determine the communication mode between each Physical board, and generate an overall single board communication link registration form;
The 5th step, a routing object all is set on each Physical board, the message of object is sent on the routing object of target physical veneer by the routing object of this Physical board on each Physical board, and the routing object of target physical veneer receives message and is transmitted to the purpose object.
2. the interplate communication method between the distributed system object according to claim 1 is characterized in that, the communication of each Physical board is to be undertaken by the routing object communication on each Physical board in the step 4.
3. the interplate communication method between the distributed system object according to claim 2 is characterized in that, the communication link of each routing object adopts ICP/IP protocol communication.
4. the interplate communication method between the distributed system object according to claim 2 is characterized in that, the communication link of each routing object adopts a bit stop-and-wait protocol communication.
5. the interplate communication method between the distributed system object according to claim 1, it is characterized in that, in the step 5, to carry out interacting message be to search relevant global object's registration form, overall Physical board registration form and overall single board communication link registration form by the routing object on source, the purpose veneer to the message of object on each Physical board, and carry out that corresponding decision finishes.
CN021363730A 2002-08-02 2002-08-02 Board to board communication between distribution system objects Expired - Lifetime CN100407728C (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN021363730A CN100407728C (en) 2002-08-02 2002-08-02 Board to board communication between distribution system objects

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN021363730A CN100407728C (en) 2002-08-02 2002-08-02 Board to board communication between distribution system objects

Publications (2)

Publication Number Publication Date
CN1472945A CN1472945A (en) 2004-02-04
CN100407728C true CN100407728C (en) 2008-07-30

Family

ID=34146434

Family Applications (1)

Application Number Title Priority Date Filing Date
CN021363730A Expired - Lifetime CN100407728C (en) 2002-08-02 2002-08-02 Board to board communication between distribution system objects

Country Status (1)

Country Link
CN (1) CN100407728C (en)

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN100373973C (en) * 2004-08-23 2008-03-05 中兴通讯股份有限公司 Mobile communication system monoboard predefined timer managing method
CN101159583B (en) * 2007-08-28 2010-07-14 华为技术有限公司 Inter-plate communication method, system and device
CN101505234B (en) * 2009-03-17 2012-01-11 中兴通讯股份有限公司 System and method for inter-board communication
CN102291333A (en) * 2011-09-26 2011-12-21 袁明 Communication system and method based on distributed information exchange device
CN102780613B (en) * 2012-06-19 2015-12-09 瑞斯康达科技发展股份有限公司 A kind of method and apparatus of distributed apparatus communication between plates
CN104038449B (en) * 2014-06-11 2017-09-29 华为技术有限公司 A kind of method, service board and the communication equipment of service board communication

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5615400A (en) * 1993-06-30 1997-03-25 Apple Computer, Inc. System for object oriented dynamic linking based upon a catalog of registered function set or class identifiers
CN1244933A (en) * 1996-10-25 2000-02-16 Ipf股份有限公司 System and method for managing and serving consumer product related information over the internet
CN1289418A (en) * 1998-10-02 2001-03-28 皇家菲利浦电子有限公司 Calls identify scenario for control of software objects via property poutes

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5615400A (en) * 1993-06-30 1997-03-25 Apple Computer, Inc. System for object oriented dynamic linking based upon a catalog of registered function set or class identifiers
CN1244933A (en) * 1996-10-25 2000-02-16 Ipf股份有限公司 System and method for managing and serving consumer product related information over the internet
CN1289418A (en) * 1998-10-02 2001-03-28 皇家菲利浦电子有限公司 Calls identify scenario for control of software objects via property poutes

Also Published As

Publication number Publication date
CN1472945A (en) 2004-02-04

Similar Documents

Publication Publication Date Title
CN1142491C (en) Frame system and method for testing server performance
Bhatia et al. WebFlow–a visual programming paradigm for Web/Java based coarse grain distributed computing
CN1050916C (en) System for implementation-independent interface specification
CN100421435C (en) Gateway for next-generation network, dynamic extending, and open interface technology
US6201862B1 (en) Method for providing at least one service to users of a telecommunication network, service control facility and server node
US6317428B1 (en) Method of providing a service to users of a telecommunication network, service control facility, and processing node
CN100531090C (en) Method for implementing universal message bus based universal service system structure
CN100466552C (en) NGN system and end to end tracing method and device applied in this system
DE60214191D1 (en) PROXY AND DEVICE FOR ROUTING CALLS THROUGH PROXY USING VIRTUAL TRANSACTION SERVERS IN A MULTI-MONEY COMMUNICATION CENTER
JPH10187637A (en) Method for managing naming of object, method for dislaying logical address of object on physical corba address of object, program module, and computer unit and computer system
CN100407728C (en) Board to board communication between distribution system objects
US6266406B1 (en) Method for communicating between a service switching exchange of a telecommunication network and service control facility
CA2226251A1 (en) Method and system for correlating usage data in a distributed architecture
CN105516250B (en) Internet of Things service call platform and system
JP2001257738A (en) Protocol stack generating apparatus and method
CN101895441A (en) Service debugging device and method for JAVA application of terminal of Internet of things
WO2002058367A3 (en) Network-assisted communication method and system therefor
CN103684904A (en) Tri-networks integration network monitoring system based on IP
CN101217413A (en) A centralized debugging system and centralized debugging method of extensible unit in the extensible system
CN1630853A (en) Method for constructing distributed software components
CN102271167B (en) A kind of proxy server (Agent) method for parallel processing and structure being applicable to distributed communication middleware
CN1218534C (en) Method for verifying the authentication of a manager application in a telecommunications management network operating system by means of a network element and network element suitable therefor
CN1312891C (en) System and method of managing communication network-dedicated architecture on a terminal
WO2003023613A3 (en) Distributed service component systems
CN1537392A (en) Service application architecture for integrated network service providers

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
CX01 Expiry of patent term

Granted publication date: 20080730

CX01 Expiry of patent term