CN103532948A - Binary system communication structure - Google Patents
Binary system communication structure Download PDFInfo
- Publication number
- CN103532948A CN103532948A CN201310470816.6A CN201310470816A CN103532948A CN 103532948 A CN103532948 A CN 103532948A CN 201310470816 A CN201310470816 A CN 201310470816A CN 103532948 A CN103532948 A CN 103532948A
- Authority
- CN
- China
- Prior art keywords
- message
- binary signaling
- signaling structure
- opposite end
- server
- 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.)
- Pending
Links
Abstract
The invention discloses a binary system communication structure, and is applicable to a universal conference video software communication library. The binary system communication structure adopts binary coding, encapsulates the used bottom layer invoking and is used for communication among network terminal points. UDP messages are used for carrying communication messages, a heartbeat mechanism is used for guaranteeing the normal connection of networks, and an ACK response is used for ensuring a message loss retransmission function. Through adopting the mode, the binary system communication structure has the advantages that the software development efficiency can be improved, and the stability and the reliability are enhanced.
Description
Technical field
The present invention relates to a kind of general meeting audio frequency and video software communication storehouse, be applicable to the conference software of different system platform, for the intercommunication mutually between network endpoint.
Background technology
At the net environment based on TCP/IP, binary signaling structure can be used for the communication between terminal and server.Between the terminal and server of office under collaborative platform, and the communication between server do not mate, and causing cannot be general, communication pool that need to be different for the software development of different system platform.Think and adapt to different system platforms, need to set up an Overpassing Platform by Using storehouse and adopt general platform library technology, make can be in different system terminal and server software application.
Summary of the invention
The technical problem that the present invention mainly solves is to provide a kind of binary signaling structure, can improve software development efficiency, strengthens stability and reliability.
For solving the problems of the technologies described above, the technical scheme that the present invention adopts is: a kind of binary signaling structure is provided, it is characterized in that: described binary signaling structure guarantees the network endpoint connecting with heartbeat mechanism, and remain contact, the mutual timed sending heartbeat message of communication pool end points connecting, reply after receiving heartbeat immediately opposite end, and after the former receives reply message, handle can judge that the other side is normal condition; When both sides' end points out of touch overtime after, both sides are interrupted to upper strata report contact;
Described binary signaling structure is guaranteed possible packet loss problem of UDP when communication by ACK acknowledgement mechanism, after every message is sent, all to wait for that opposite end returns to ACK message authentication and receive, if do not receive the ACK message of opposite end, retransmit original message, until receive ACK or overtime, if overtime, confirm that opposite end goes wrong or Network Abnormal, and report to upper strata;
Described binary signaling structure is used burst mechanism, excessive message is carried out to burst automatically, the message that is packaged into small pieces is sent, the communication pool of opposite end is according to the original message of automatically recombinating back of the sequence number on burst, report to upper layer software (applications), upper layer software (applications) can need not be concerned about this, only need messaging again, avoid the Bao Tai great of each UDP, and cause makeing mistakes in the middle of transmitting procedure;
The message that described binary signaling structure is received to upper strata software report by the mode of call back function, the exception reporting that binary signaling inside configuration produces also completes by the mode of call back function, each module of upper layer software (applications) can be by the call back function of oneself being concerned about to the registration of Overpassing Platform by Using storehouse, guarantee the message of receiving that oneself needs, to unwanted message, can not adjust back upper strata.
In a preferred embodiment of the present invention, described network endpoint comprises between terminal and server, between server and server.
The invention has the beneficial effects as follows: the present invention adopts UDP to carry out bearer messages, by heartbeat and ack mechanism, guarantee that automatic Sampling network is abnormal and lose the function of retransmitting; The details that binary signaling structure makes terminal and server no longer need consideration to communicate by letter, also without the different communication pool of the software development that is different system platform.
Embodiment
Below preferred embodiment of the present invention is described in detail, thereby so that advantages and features of the invention can be easier to be it will be appreciated by those skilled in the art that, protection scope of the present invention is made to more explicit defining.
The specific embodiment of the invention: upper layer software (applications) receives by registered callbacks function the message that receive in Overpassing Platform by Using storehouse, the connection of lower floor on Ethernet is responsible in Overpassing Platform by Using storehouse, in the present embodiment, with UDP message, carry out the message of two end points of bearer network.
The structural representation in the Overpassing Platform by Using storehouse that the present embodiment provides mainly comprises the compositions such as interface module, network process module, client transmissions module, service end transport module, Frame processing module, log management module.
The heartbeat request flow process in the Overpassing Platform by Using storehouse that the present embodiment provides is after Overpassing Platform by Using storehouse starts, and timer is also activated, and makes communication pool to send heartbeat message with identical interval by timed message.
The transmission message flow in the Overpassing Platform by Using storehouse that the present embodiment provides, Overpassing Platform by Using storehouse requires to initiate a message according to upper strata, and the message sending is counted and sent in history lists, and sending times and time-out count are set; After each timed message comes, check and send message history table, sending times is not 0 message, again retransmits and the sending times that successively decreases, the message that time-out count is 0, proceeds to timeout treatment.
The function that binary signaling structure of the present invention completes has: (1) has been responsible for the function about user management between terminal and server; (2) be responsible for account management function; (3) be responsible for the Conference Calling between terminal and server and controlled function; (4) be responsible for the chat feature between terminal; (5) described communication pool can, between the terminal and server at heterogeneous networks end points, be used heartbeat mechanism between server and server; (6) when using UDP as underlying protocol, by exploitation ack affirmation mechanism, communication pool is possessed and lose the function retransmitting, using under the expense that UDP is less like this, possessed the ability of reliable connection, can be applicable to different network environments; (7) use allocation methods to process oversize message, automatically carry out burst and recombination, met the requirement of transport network layer, simplified again the work for the treatment of of upper layer software (applications), make upper layer software (applications) without the details of being concerned about low layer.
The foregoing is only embodiments of the invention; not thereby limit the scope of the claims of the present invention; every equivalent structure or conversion of equivalent flow process that utilizes description of the present invention to do; or be directly or indirectly used in other relevant technical fields, be all in like manner included in scope of patent protection of the present invention.
Claims (2)
1. a binary signaling structure, it is characterized in that: described binary signaling structure guarantees the network endpoint connecting with heartbeat mechanism, and remain contact, the mutual timed sending heartbeat message of communication pool end points connecting, reply after receiving heartbeat immediately opposite end, and after the former receives reply message, handle can judge that the other side is normal condition; When both sides' end points out of touch overtime after, both sides are interrupted to upper strata report contact;
Described binary signaling structure is guaranteed possible packet loss problem of UDP when communication by ACK acknowledgement mechanism, after every message is sent, all to wait for that opposite end returns to ACK message authentication and receive, if do not receive the ACK message of opposite end, retransmit original message, until receive ACK or overtime, if overtime, confirm that opposite end goes wrong or Network Abnormal, and report to upper strata;
Described binary signaling structure is used burst mechanism, excessive message is carried out to burst automatically, the message that is packaged into small pieces is sent, the communication pool of opposite end is according to the original message of automatically recombinating back of the sequence number on burst, report to upper layer software (applications), upper layer software (applications) can need not be concerned about this, only need messaging again, avoid the Bao Tai great of each UDP, and cause makeing mistakes in the middle of transmitting procedure;
The message that described binary signaling structure is received to upper strata software report by the mode of call back function, the exception reporting that binary signaling inside configuration produces also completes by the mode of call back function, each module of upper layer software (applications) can be by the call back function of oneself being concerned about to the registration of Overpassing Platform by Using storehouse, guarantee the message of receiving that oneself needs, to unwanted message, can not adjust back upper strata.
2. binary signaling structure according to claim 1, is characterized in that: described network endpoint comprises between terminal and server, between server and server.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201310470816.6A CN103532948A (en) | 2013-10-11 | 2013-10-11 | Binary system communication structure |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201310470816.6A CN103532948A (en) | 2013-10-11 | 2013-10-11 | Binary system communication structure |
Publications (1)
Publication Number | Publication Date |
---|---|
CN103532948A true CN103532948A (en) | 2014-01-22 |
Family
ID=49934627
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201310470816.6A Pending CN103532948A (en) | 2013-10-11 | 2013-10-11 | Binary system communication structure |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN103532948A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103957084A (en) * | 2014-05-20 | 2014-07-30 | 艾诺通信系统(苏州)有限责任公司 | Cross-platform communication library and communication method thereof |
Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20040243702A1 (en) * | 2003-05-27 | 2004-12-02 | Vainio Jukka A. | Data collection in a computer cluster |
CN1794625A (en) * | 2005-12-26 | 2006-06-28 | 中兴通讯股份有限公司 | Method of implementing HSDPA in time division synchronous (CDMA) system |
CN101159520A (en) * | 2007-10-29 | 2008-04-09 | 中兴通讯股份有限公司 | Data transmission method |
CN101572624A (en) * | 2009-01-04 | 2009-11-04 | 四川川大智胜软件股份有限公司 | Cross-platform cross-method SNMP extension MIB realization method |
CN102316116A (en) * | 2011-09-29 | 2012-01-11 | 广东高新兴通信股份有限公司 | System for supporting multiple platform network communication processing and method thereof |
CN102455910A (en) * | 2010-10-15 | 2012-05-16 | 中国科学院沈阳自动化研究所 | GUI (Graphical User Interface) platformization realization method orienting to IC (Integrated Circuit) equipment control software |
CN102866925A (en) * | 2012-09-06 | 2013-01-09 | 深圳市九洲电器有限公司 | Communication method and system for middleware and user interface |
-
2013
- 2013-10-11 CN CN201310470816.6A patent/CN103532948A/en active Pending
Patent Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20040243702A1 (en) * | 2003-05-27 | 2004-12-02 | Vainio Jukka A. | Data collection in a computer cluster |
CN1794625A (en) * | 2005-12-26 | 2006-06-28 | 中兴通讯股份有限公司 | Method of implementing HSDPA in time division synchronous (CDMA) system |
CN101159520A (en) * | 2007-10-29 | 2008-04-09 | 中兴通讯股份有限公司 | Data transmission method |
CN101572624A (en) * | 2009-01-04 | 2009-11-04 | 四川川大智胜软件股份有限公司 | Cross-platform cross-method SNMP extension MIB realization method |
CN102455910A (en) * | 2010-10-15 | 2012-05-16 | 中国科学院沈阳自动化研究所 | GUI (Graphical User Interface) platformization realization method orienting to IC (Integrated Circuit) equipment control software |
CN102316116A (en) * | 2011-09-29 | 2012-01-11 | 广东高新兴通信股份有限公司 | System for supporting multiple platform network communication processing and method thereof |
CN102866925A (en) * | 2012-09-06 | 2013-01-09 | 深圳市九洲电器有限公司 | Communication method and system for middleware and user interface |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103957084A (en) * | 2014-05-20 | 2014-07-30 | 艾诺通信系统(苏州)有限责任公司 | Cross-platform communication library and communication method thereof |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN110995697B (en) | Big data transmission method and system | |
CN103036904B (en) | A kind of udp protocol that uses in a communication network carries out the method for reliable data transmission | |
US9717035B2 (en) | Methods and system in supporting real time services with spectrum efficiency in a satellite network | |
CN108377427A (en) | A kind of method for real-time video transmission and system | |
US10284340B2 (en) | Multicast sending apparatus, multicast receiving apparatus, and multicast transmission determining method | |
CN100496043C (en) | Method and system for acquiring initial protocol network node status of a session | |
JP2004236297A (en) | Apparatus and method for establishing session in radio network organized with mobile nodes | |
CN106453356B (en) | The bilateral acceleration transmission method of wireless network and system | |
CN103973414B (en) | A kind of data transmission method and device | |
KR100666946B1 (en) | Network System for status Test of the Terminal and Test Method thereof | |
CN103856304A (en) | Reliable file transmission protocol with selectable safety levels | |
CN1627725A (en) | Method for guaranteeing reliability of data transmission from one point to multiple points | |
CN103957084A (en) | Cross-platform communication library and communication method thereof | |
CN103532948A (en) | Binary system communication structure | |
CN105792147A (en) | Short message delivery failure processing method, device and system | |
CN102984145B (en) | With the method for serial communication and the communication equipment with multiple extension set | |
CN105391518B (en) | A kind of document transmission method towards deep space network | |
CN103368923B (en) | Message method for transmission processing and device | |
Wang et al. | Applying PR-SCTP to transport SIP traffic | |
CN101094241B (en) | Transmission method and device of hybrid automatic requesting retransmission | |
US20110034173A1 (en) | Transmitting fax in mobile networks | |
Santos et al. | A new ARQ mechanism for multicast traffic over IEEE 802.11 WLANs | |
CN101106463A (en) | An offline billing control method and system | |
CN106789696B (en) | Congestion control-based non-connection-oriented reliable redundant network transmission method | |
CN101159746B (en) | Self-adaptive method and system |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20140122 |
|
RJ01 | Rejection of invention patent application after publication |