CN101202733B - Communication system based on case distribution - Google Patents

Communication system based on case distribution Download PDF

Info

Publication number
CN101202733B
CN101202733B CN2006101195089A CN200610119508A CN101202733B CN 101202733 B CN101202733 B CN 101202733B CN 2006101195089 A CN2006101195089 A CN 2006101195089A CN 200610119508 A CN200610119508 A CN 200610119508A CN 101202733 B CN101202733 B CN 101202733B
Authority
CN
China
Prior art keywords
communication
application services
services module
layer
incident
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.)
Active
Application number
CN2006101195089A
Other languages
Chinese (zh)
Other versions
CN101202733A (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.)
Shanghai B Star Technology Co ltd
Original Assignee
Shanghai B Star 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 Shanghai B Star Co Ltd filed Critical Shanghai B Star Co Ltd
Priority to CN2006101195089A priority Critical patent/CN101202733B/en
Publication of CN101202733A publication Critical patent/CN101202733A/en
Application granted granted Critical
Publication of CN101202733B publication Critical patent/CN101202733B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

The invention relates to a communication system based on event dispatching, which includes a service application layer, an event dispatching layer taken as an event dispatching center, a platform-spanning sealing layer for an operation system and a commercial or open source operation system layer. The service application layer finishes message communication by the event dispatching layer. The event dispatching layer adopts a socket mechanism used for inter process communication provided by the platform-spanning sealing layer for the operation system. The communication system opens up a memory-sharing area in a memory. Compared with the prior art, the invention can provide reliable and effective inter process communication for telecom equipment products and finish a communication transmission platform of the telecom equipment products, which has an easily used interface and shortens the developing time for the application services on the telecom equipment.

Description

Communication system based on the incident distribution
Technical field
The present invention relates to the communications field, particularly relate to communication system based on the incident distribution.
Background technology
The technology of the Inter-Process Communication existence in the telecommunication apparatus product comprises at present: the interprocess communication mode of distributed interprocess communication mode, bus type.
Distributed interprocess communication mode, its basic principle is to be used as finite state machine to communication entity, the communication routing mode of mail system has been adopted in the communication between the finite state machine.The location recognition of finite state machine adopts the addressing mode of physical address and name word address.
The interprocess communication mode of bus type; Its basic principle is to combine share memory technology and signal lamp integrated technology, in internal memory, opens up one and shares region of memory, and this area dividing is some memory slots; One memory slot is as Status Flag word group storage area, and all the other are as the deposit data district of process communication; Come the communication between the completion process to use through memory slot.
Above-mentioned inter-process communication techniques all exists following defective: can't accomplish the broadcasting to communication information, also not have simultaneously to realize the communication mechanism based on event number, the information size of interprocess communication is that restriction is arranged.
Summary of the invention
The object of the invention is exactly for the defective that overcomes above-mentioned prior art existence the communication system based on the incident distribution to be provided.
The object of the invention can be realized through following technical scheme: based on the communication system of incident distribution; It is characterized in that; Comprise service application layer, as the cross-platform encapsulated layer of incident distributing layer, operating system, commercialization or the operating system layer of increasing income at Distribution Events center; Described service application layer is accomplished message communicating through the incident distributing layer; The socket mechanism that is used for interprocess communication that described incident distributing layer adopts the cross-platform encapsulated layer of operating system to provide, described communication system is opened up one and is shared region of memory in internal memory.
Described system makes communication target transmit communication with the form of five-tuple information.
Described five-tuple information comprises application services module number, event number, communication type, communication buffer, communication length.
Described incident distributing layer comprises communication interface, communication backbone center, communication table; Described communication backbone center comprises that the message of broadcast issue, the application services module of unicast messages issue, the application services module of registration, the application services module of application services module is ordered, the message order cancellation of application services module; Described communication table is located at the shared drive zone; This communication table comprises five-tuple information; Promptly comprise application services module number, event number, communication type, communication buffer, communication length; When communicating, communication system is come the opposite end of obtaining communication through event number, and accomplishes the transmission of Content of Communication through event number, communication type, communication buffer, communication length.
Registering as of described application services module when application services module general-purpose interface function call is registered, is logged into the module No. of application services module, communication description symbol in the communication table.
The unicast messages of described application services module is issued as; When application services module general-purpose interface function call issue unicast messages; Application services module is pass to the communication backbone center communication objectively, and the communication backbone center is the index search communication table with this communication objectively, the communication description symbol of obtaining communication destination; And initiate the connection of socket, send message.
The broadcast of described application services module is issued as; When application services module general-purpose interface function call issue broadcast, application services module is passed to the communication backbone center to event number, simultaneously be made as the communication backbone center communication objectively; The communication backbone center is after receiving broadcast; The broadcast of receiving is relayed to the business module of ordering event number, and the communication backbone center is the index search communication table through event number, obtains the communication description symbol of the application services module of ordering this event number; And initiate the connection of socket, send message.
The message of described application services module order into; When application services module general-purpose interface function call order message; Application services module is passed to the communication backbone center with the event number of ordering, and the communication backbone center number is put for the corresponding event in the communication table and ordered sign, upgrades communication table.
The message order cancellation of described application services module does; When application services module general-purpose interface function call unsubscription message; Application services module is passed to the communication backbone center with the event number of ordering, and the corresponding event that the communication backbone center will be in communication table number is put sky, upgrades communication table.
Compared with prior art, the present invention has the following advantages:
1. support point-to-point traffic model
2. support the traffic model of one-to-many
3. support many-to-one traffic model
4. support synchronous communication mode
5. support asynchronous communication mode
6. support the BOTTOM LAYER ENVIRONMENT of various soft or hard platforms
7. support the message of endless size to transmit
8. support to order/message communicating of unsubscription
Description of drawings
Fig. 1 is a structural representation of the present invention;
Fig. 2 is the schematic diagram of incident distributing layer of the present invention.
Embodiment
Below in conjunction with accompanying drawing the present invention is described further.
Like Fig. 1~shown in Figure 2; Communication system based on the incident distribution; Comprise service application layer, as the cross-platform encapsulated layer of incident distributing layer, operating system, commercialization or the operating system layer of increasing income at Distribution Events center; Described service application layer is accomplished message communicating through the incident distributing layer, the socket mechanism that is used for interprocess communication that described incident distributing layer adopts the cross-platform encapsulated layer of operating system to provide, and described communication system is opened up one and is shared region of memory in internal memory.
Present embodiment is designed a kind of realization technology of the interprocess communication based on incident distribution; The basis of promptly accomplishing interprocess communication is based on event number; Through adopting communication target the form of five-tuple to transmit communication; Five-tuple is to be accomplished by module No., event number, communication type, communication buffer, communication length, and because a plurality of process can be ordered same incident simultaneously, accomplishes broadcast communication like this.
Present embodiment has adopted the design philosophy of structure hierarchies, and whole communication system is divided into the structure like Fig. 1, the concrete composition: the commercialization or the operating system layer of increasing income, the cross-platform encapsulated layer of operating system, incident distributing layer, service application layer.
Service application layer: application program, accomplish corresponding business.
Incident distributing layer: accomplish interprocess communication based on the incident distribution.
The cross-platform encapsulated layer of operating system: the operate services interface that operating system is provided carries out cross-platform encapsulation.
The commercialization or the operating system layer of increasing income: operating system.
In the present embodiment, the incident distributing layer is accomplished the message communicating in the service application layer, supports synchronously and asynchronous communication mechanism; Support point-to-point, one-to-many, many-to-one traffic model; Support orders/message communicating of unsubscription, support the transmission of messages of endless size, simultaneously owing to exist the cross-platform encapsulated layer of operating system; The platform constraints of hardware and software under not receiving, this communication system can be operated in the environment of various platforms fully.The incident distributing layer is as the center of Distribution Events; The socket that inner realization mechanism has adopted the cross-platform encapsulated layer of operating system to provide and has been used for interprocess communication is machine-processed; So just improve stability property, reliability, the extensibility of incident message center, simplified the message communicating of service application layer.
The technical scheme of the incident distributing layer in the present embodiment is as shown in Figure 2:
Communication table: be arranged in the communication description table of shared drive, the information that comprises has:
Application services module number, event number, event type, communication buffer, communication length.When communicating, come the opposite end of obtaining communication, and accomplish the transmission of the particular content of communication through event number, communication type, communication buffer, communication length through module No..
Communication backbone center: the core of incident distributing layer.Major function:
Accomplish registration, issue unicast messages, issue broadcasting, message order message, the unsubscription message of application services module.
The realization principle at communication backbone center:
1. accomplish the registration of application services module:
When application services module general-purpose interface function call is registered, be logged into the module No. of application services module in the communication description table that is arranged in shared drive.
2. accomplish the issue unicast messages of application services module:
When application services module general-purpose interface function call issue unicast messages, application services module is passed to the communication objective ground at communication backbone center.The communication backbone center is the index search communication table through this communication objectively, comes the communication description symbol of obtaining communication destination, and initiates the connection of socket, sends message.
3. accomplish the issue broadcast of application services module:
When application services module general-purpose interface function call issue broadcast, application services module is passed to the communication event number at communication backbone center, and simultaneously be changed to the communication backbone center communication objectively.Broadcast that transfer receives is accomplished to the business module of ordering event number in the communication backbone center after receiving broadcast.The communication backbone center number be the index search communication table through communication event, obtains the communication description symbol of the application services module of ordering this event number, and initiates the connection of socket, transmission message.
4. the message of accomplishing application services module is ordered:
When application services module general-purpose interface function call order message, application services module is passed to the event number of ordering at communication backbone center.The communication backbone center is put through this incident number of ordering in communication table and is ordered sign, upgrades communication table.
5. accomplish the message unsubscription of application services module:
When application services module general-purpose interface function call unsubscription message, application services module is passed to the event number of ordering at communication backbone center.Sky is put through this incident number of ordering in communication table in the communication backbone center, upgrades communication table.

Claims (7)

1. the communication system of distributing based on incident; It is characterized in that; Comprise service application layer, as the cross-platform encapsulated layer of incident distributing layer, operating system, commercialization or the operating system layer of increasing income at Distribution Events center; Described service application layer is accomplished message communicating through the incident distributing layer, the socket mechanism that is used for interprocess communication that described incident distributing layer adopts the cross-platform encapsulated layer of operating system to provide, and described communication system is opened up one and is shared region of memory in internal memory; Described incident distributing layer comprises communication interface, communication backbone center and communication table; The function at described communication backbone center comprises that the message of broadcast issue, the application services module of unicast messages issue, the application services module of registration, the application services module of application services module orders the message order cancellation with application services module; Described communication table is located at the shared drive zone; This communication table comprises five-tuple information; Promptly comprise application services module number, event number, communication type, communication buffer, communication length; When communicating, communication system is come the opposite end of obtaining communication through module No., and accomplishes the transmission of Content of Communication through event number, communication type, communication buffer, communication length.
2. the communication system based on the incident distribution according to claim 1 is characterized in that described system makes communication target transmit communication with the form of five-tuple information.
3. the communication system based on the incident distribution according to claim 1; It is characterized in that; Registering as of described application services module when application services module general-purpose interface function call is registered, is logged into the module No. of application services module, communication description symbol in the communication table.
4. the communication system based on the incident distribution according to claim 1 is characterized in that the unicast messages of described application services module is issued as; When application services module general-purpose interface function call issue unicast messages; Application services module is pass to the communication backbone center communication objectively, and the communication backbone center is the index search communication table with this communication objectively, the communication description symbol of obtaining communication destination; And initiate the connection of socket, send message.
5. the communication system based on the incident distribution according to claim 1 is characterized in that the broadcast of described application services module is issued as; When application services module general-purpose interface function call issue broadcast, application services module is passed to the communication backbone center to event number, simultaneously be made as the communication backbone center communication objectively; The communication backbone center is after receiving broadcast; The broadcast of receiving is relayed to the business module of ordering event number, and the communication backbone center is the index search communication table through event number, obtains the communication description symbol of the application services module of ordering this event number; And initiate the connection of socket, send message.
6. the communication system based on the incident distribution according to claim 1; It is characterized in that; The message of described application services module order into, when application services module general-purpose interface function call order message, application services module is passed to the communication backbone center with the event number of ordering; The communication backbone center number is put for the corresponding event in the communication table and is ordered sign, upgrades communication table.
7. the communication system based on the incident distribution according to claim 1; It is characterized in that; The message order cancellation of described application services module is that when application services module general-purpose interface function call unsubscription message, application services module is passed to the communication backbone center with the event number of ordering; The communication backbone center will be in communication table corresponding event number put sky, upgrade communication table.
CN2006101195089A 2006-12-12 2006-12-12 Communication system based on case distribution Active CN101202733B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2006101195089A CN101202733B (en) 2006-12-12 2006-12-12 Communication system based on case distribution

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2006101195089A CN101202733B (en) 2006-12-12 2006-12-12 Communication system based on case distribution

Publications (2)

Publication Number Publication Date
CN101202733A CN101202733A (en) 2008-06-18
CN101202733B true CN101202733B (en) 2012-02-08

Family

ID=39517699

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2006101195089A Active CN101202733B (en) 2006-12-12 2006-12-12 Communication system based on case distribution

Country Status (1)

Country Link
CN (1) CN101202733B (en)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102662776B (en) * 2012-04-01 2014-05-28 杭州格畅科技有限公司 Inter-application communication method, client side and application process manager of online application platform
CN102693163A (en) * 2012-04-28 2012-09-26 杭州格畅科技有限公司 Response communication method in application on on-line application platform and on-line application platform
CN103995751B (en) * 2014-05-30 2019-06-07 上海斐讯数据通信技术有限公司 A kind of Overpassing Platform by Using system and method
CN105204936A (en) * 2015-09-30 2015-12-30 山东乾云启创信息科技有限公司 Universal resident process management platform and method
CN105677495B (en) * 2016-02-24 2019-07-05 京信通信系统(中国)有限公司 Inter-process communication methods and system

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1325217A (en) * 2000-08-29 2001-12-05 深圳市中兴通讯股份有限公司 Distributed communication system and method
EP1296238A2 (en) * 2001-09-04 2003-03-26 SAMSUNG ELECTRONICS Co. Ltd. Unified interprocess communication

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1325217A (en) * 2000-08-29 2001-12-05 深圳市中兴通讯股份有限公司 Distributed communication system and method
EP1296238A2 (en) * 2001-09-04 2003-03-26 SAMSUNG ELECTRONICS Co. Ltd. Unified interprocess communication

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
全文.

Also Published As

Publication number Publication date
CN101202733A (en) 2008-06-18

Similar Documents

Publication Publication Date Title
CN101488928B (en) Internet enterprise group communication device and internet enterprise group communication method
CN101202733B (en) Communication system based on case distribution
CN100518099C (en) Method and system for monitoring server events in a node configuration by using direct communication between servers
CN101409670B (en) Management component transport protocol interconnect filtering and routing
CN101442493B (en) Method for distributing IP message, cluster system and load equalizer
US8346209B2 (en) Remote meter reading using the existing mobile network
WO2006105202A3 (en) Making a payment via financial service provider
RU2008132463A (en) RADIO MESSAGE MANAGEMENT SYSTEM CONTAINING MESSAGE SEQUENCE INFORMATION
KR20160043020A (en) Software updating method, system, and device
CN100581177C (en) Method and system for obtaining internet protocol address and establishing operation maintenance link
WO2001065431A3 (en) System for delivery and receipt of dispatches especially useful for e-commerce
CN101453487A (en) Memory to storage communication for hybrid systems
CN103561386A (en) Advertising information release system of mobile WiFi network
CN101627582A (en) Multicast/broadcast extension to a point-to-point unicast-only packet switch system
CN104813288A (en) Apparatus and method for segregating tenant specific data when using mpls in OPENFLOW-enabled cloud computing
CN101771960A (en) Service invoking method for mobile network, and service gateway, service platform and system thereof
CN103731513A (en) Base station forwarding method, base station and base station forwarding system
CN1496509A (en) Information control system, server for information control system, and information terminal for the same
CN100407619C (en) Method for implementing switching between main and standby port by network processor
CN101626348B (en) System and method for realizing service support of enterprise convergence communication
CN105814852A (en) Transmission and reception devices for reducing the delay in end-to-end delivery of network packets
CN108768727A (en) Access method, electronic device and the readable storage medium storing program for executing of third party's service
CN201417309Y (en) Bus positioning query system
CN101237338A (en) System and method for distributing information to building visual inter-speaking system via network
CN201069867Y (en) A communication device based on event distribution

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
C56 Change in the name or address of the patentee

Owner name: SHANGHAI B-STAR BROADBAND TECHNOLOGY CO., LTD.

Free format text: FORMER NAME: SHANGHAI B-STAR BROADBAND TECHNOLOGY + APPLICATION ENGINEERING RESEARCH CENTER CO., LTD.

CP03 Change of name, title or address

Address after: 200336 Shanghai city Changning District Honggu Road No. 150

Patentee after: SHANGHAI B-STAR TECHNOLOGY CO.,LTD.

Address before: 200336 Shanghai City Honggu Road No. 150

Patentee before: Shanghai B-STAR Co.,Ltd.

PE01 Entry into force of the registration of the contract for pledge of patent right
PE01 Entry into force of the registration of the contract for pledge of patent right

Denomination of invention: Communication system based on event distribution

Effective date of registration: 20210914

Granted publication date: 20120208

Pledgee: Industrial Bank Co.,Ltd. Shanghai Hongkou sub branch

Pledgor: SHANGHAI B-STAR TECHNOLOGY Co.,Ltd.

Registration number: Y2021980009305

PC01 Cancellation of the registration of the contract for pledge of patent right
PC01 Cancellation of the registration of the contract for pledge of patent right

Date of cancellation: 20231030

Granted publication date: 20120208

Pledgee: Industrial Bank Co.,Ltd. Shanghai Hongkou sub branch

Pledgor: SHANGHAI B-STAR TECHNOLOGY CO.,LTD.

Registration number: Y2021980009305

PE01 Entry into force of the registration of the contract for pledge of patent right
PE01 Entry into force of the registration of the contract for pledge of patent right

Denomination of invention: Communication System Based on Event Distribution

Effective date of registration: 20231113

Granted publication date: 20120208

Pledgee: Jiangsu Bank Co.,Ltd. Shanghai Huinan Branch

Pledgor: SHANGHAI B-STAR TECHNOLOGY CO.,LTD.

Registration number: Y2023310000728