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

Board to board communication between distribution system objects Download PDF

Info

Publication number
CN1472945A
CN1472945A CNA021363730A CN02136373A CN1472945A CN 1472945 A CN1472945 A CN 1472945A CN A021363730 A CNA021363730 A CN A021363730A CN 02136373 A CN02136373 A CN 02136373A CN 1472945 A CN1472945 A CN 1472945A
Authority
CN
China
Prior art keywords
board
communication
physical board
physical
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.)
Granted
Application number
CNA021363730A
Other languages
Chinese (zh)
Other versions
CN100407728C (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

Landscapes

  • Multi Processors (AREA)

Abstract

The present invention discloses a method of the inter-board communication between the targets of a distributing type of system. The method creates an overall targets registering table, an overall physical single-boards registering table and an overall single-board communication chain-circuits registering table by uniformly and respectively registering all the targets and the physical single-boards in the distributing type of system and registering the communication manners between the various physical single-boards, and designs a uniform routing target on the various physical single-boards, so that the source and the destination routing target can complete uniformly the transmission of messages to the targets outside the boards by inquiring the information in three tables described above.

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, realizes that described step is:
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 can adopt the TCP/P 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 can adopt 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 true CN1472945A (en) 2004-02-04
CN100407728C 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)

Cited By (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
CN102291333A (en) * 2011-09-26 2011-12-21 袁明 Communication system and method based on distributed information exchange device
CN101505234B (en) * 2009-03-17 2012-01-11 中兴通讯股份有限公司 System and method for inter-board communication
CN102780613A (en) * 2012-06-19 2012-11-14 瑞斯康达科技发展股份有限公司 Method and device for communication of boards of distributed device
CN104038449A (en) * 2014-06-11 2014-09-10 华为技术有限公司 Business single board communication method, business single board and communication device

Family Cites Families (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
KR100543768B1 (en) * 1996-10-25 2006-01-23 아이피에프 인코포레이션 System and method for managing and serving consumer product related information over the internet
US6918123B1 (en) * 1998-10-02 2005-07-12 Koninklijke Philips Electronics N.V. Calls identify scenario for control of software objects via property routes

Cited By (7)

* 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
CN102780613A (en) * 2012-06-19 2012-11-14 瑞斯康达科技发展股份有限公司 Method and device for communication of boards of distributed device
CN104038449A (en) * 2014-06-11 2014-09-10 华为技术有限公司 Business single board communication method, business single board and communication device
CN104038449B (en) * 2014-06-11 2017-09-29 华为技术有限公司 A kind of method, service board and the communication equipment of service board communication

Also Published As

Publication number Publication date
CN100407728C (en) 2008-07-30

Similar Documents

Publication Publication Date Title
US5983233A (en) Process for managing the naming of objects, process for mapping an object name to a CORBA object reference, program module, computer unit, and computer system
US6317428B1 (en) Method of providing a service to users of a telecommunication network, service control facility, and processing node
CN1304247A (en) Frame system and method for testing server performance
WO2008040257A1 (en) Method, device and system for end to end tracking
CN1083193C (en) Data storage device
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
CN110321236B (en) OpenDDS-based remote method call implementation method
JP2001257738A (en) Protocol stack generating apparatus and method
CN1633129A (en) A media server based on soft switch
CN1437358A (en) Relay management method of network equipment based on Telnet protocol
CN1258902C (en) Multiple-signalling point and multiple-protocal method
Bocking Object-oriented network protocols
CN1610298A (en) System for realizing open telecommunication business based on XML file and thereof
CN1905476A (en) Managing system and method for terminal products
CN1630853A (en) Method for constructing distributed software components
CN1332528C (en) Implement method for loading tree of information management base in standard agent of network management
CN115065720B (en) Method and device for automatically adapting multiple external registries to service grid Istio
CN1968288A (en) Data communication system and method for distributed system
CN101217413A (en) A centralized debugging system and centralized debugging method of extensible unit in the extensible system
CN1251079C (en) Method for realizing data interaction between different systems
CN1537392A (en) Service application architecture for integrated network service providers
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
CN1266870C (en) Method for realizing traffic load sharing in user adaptation layer of signaling network layer
CN1471018A (en) Universal interface machine system and method for realising same

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