CN114189503A - IP intercommunication method for centreless public network and private network - Google Patents
IP intercommunication method for centreless public network and private network Download PDFInfo
- Publication number
- CN114189503A CN114189503A CN202111508217.XA CN202111508217A CN114189503A CN 114189503 A CN114189503 A CN 114189503A CN 202111508217 A CN202111508217 A CN 202111508217A CN 114189503 A CN114189503 A CN 114189503A
- Authority
- CN
- China
- Prior art keywords
- session
- seq
- intercom
- terminal
- current
- 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
Links
- 238000000034 method Methods 0.000 title claims abstract description 20
- 230000005540 biological transmission Effects 0.000 claims description 2
- 230000003247 decreasing effect Effects 0.000 claims description 2
- 230000001419 dependent effect Effects 0.000 abstract description 2
- 238000012986 modification Methods 0.000 description 3
- 230000004048 modification Effects 0.000 description 3
- 230000000694 effects Effects 0.000 description 1
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L65/00—Network arrangements, protocols or services for supporting real-time applications in data packet communication
- H04L65/40—Support for services or applications
- H04L65/4061—Push-to services, e.g. push-to-talk or push-to-video
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L65/00—Network arrangements, protocols or services for supporting real-time applications in data packet communication
- H04L65/1066—Session management
- H04L65/1069—Session establishment or de-establishment
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L65/00—Network arrangements, protocols or services for supporting real-time applications in data packet communication
- H04L65/80—Responding to QoS
-
- Y—GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02D—CLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
- Y02D30/00—Reducing energy consumption in communication networks
- Y02D30/70—Reducing energy consumption in communication networks in wireless communication networks
Landscapes
- Engineering & Computer Science (AREA)
- Multimedia (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Business, Economics & Management (AREA)
- General Business, Economics & Management (AREA)
- Telephonic Communication Services (AREA)
- Data Exchanges In Wide-Area Networks (AREA)
Abstract
The invention discloses a centerless public network and private network IP intercommunication method, which comprises the following steps: allocating a digital id to each talkback terminal, wherein the digital id is increased from 1; when the talkback terminal sends a voice data packet, the talkback terminal carries a current sequence number seq, the one-time speech sequence number of one talkback terminal is unchanged, and the priority of the data packet with the smaller sequence number is higher; when each talkback terminal sends data, the current serial number session seq + id is used as the session seq to send, and the smaller the id, the higher the priority; the intercom terminal takes the received minimum session seq number as the current session seq and plays the session seq; and after the talkback terminal finishes speaking, broadcasting the session seq ending identifier, and judging that the session is invalid after other terminals receive the ending identifier. The invention solves the problems that the existing remote talkback is too dependent on a control center and is easy to generate time delay.
Description
Technical Field
The invention relates to the technical field of remote talkback, in particular to a centerless public network and private network IP talkback method.
Background
In the remote talkback POC system based on the IP network, a person generally speaks in a working mode, other persons receive and play the voice and finish speaking the release channel, and the other person can speak next. Like a traditional interphone, the button is pressed to speak, and other people can speak when the button is released.
The traditional interphone occupies a physical channel, so that other people cannot speak. The IP interphone has no description of a physical channel, an IP network is shared, and needs to occupy a channel, a common realization method is that a central end is used for arbitration, before each person (terminal) starts speaking, the central end is requested to arbitrate whether the channel can be acquired, the central end replies yes or no to perform voice transmission (or not), and other people need to speak and request the central end first. Two problems are caused, the first is that the central terminal is required to be requested and waits for reply, and time delay is generated; secondly, if the central end is down, the whole system cannot work.
Disclosure of Invention
Therefore, the invention provides a centerless public network and private network IP intercom method, which aims to solve the problems that the existing remote intercom is too dependent on a control center and is easy to generate time delay.
In order to achieve the above purpose, the invention provides the following technical scheme:
the invention discloses a centerless public network and private network IP intercommunication method, which comprises the following steps:
allocating a digital id to each talkback terminal, wherein the digital id is increased from 1;
when the talkback terminal sends a voice data packet, the talkback terminal carries a current sequence number seq, the one-time speech sequence number of one talkback terminal is unchanged, and the priority of the data packet with the smaller sequence number is higher;
when each talkback terminal sends data, the current serial number session seq + id is used as the session seq to send, and the smaller the id, the higher the priority;
the intercom terminal takes the received minimum session seq as the current session seq and plays the session seq;
and after the talkback terminal finishes speaking, broadcasting the session seq ending identifier, and judging that the session is invalid after other terminals receive the ending identifier.
Further, the lower the number of the digital id of the talkback terminal is, the higher the priority is, the talkback terminal with the higher priority preempts the channel when talkbacking.
Further, the voice data packet carries a current sequence seq, and the current sequence seq is only increased but not decreased when other terminals initiate talkback.
Furthermore, the number of the talkback terminals is multiple, and when two talkback terminals simultaneously transmit the voice data packets, the current sequence number session seq is valid when small, and the current sequence number session seq when large is ignored.
Further, when the intercom terminal transmits data, the current sequence number session seq is added to the data id to be used as a new session seq to transmit, and when two intercom terminals transmit data simultaneously, the smaller session seq preferentially acquires the channel.
Further, after the voice data packet is sent, the talkback terminal broadcasts the end identifier, other talkback terminals receive signals continuously, after the end identifier is received, the current session is judged to be invalid, and the remaining talkback terminals send the voice data packet in sequence from small to large according to the sequence of the session seq.
Further, after the data packet is lost, if the other terminals do not receive the end identifier for a long time, the current session is also determined to be invalid.
Furthermore, when the talkback terminal accesses the network for the first time, the data is received firstly, if an active terminal exists in the network, the current session seq can be determined, if the active terminal does not exist in the network for a long time, a command for requesting the current session is sent, and other terminals send the current session to the new talkback terminal after receiving the command.
The invention has the following advantages:
the invention discloses a centerless public network and private network IP (Internet protocol) talkback method, which is characterized in that a digital id is distributed to each talkback terminal, when a voice data packet is sent, the priority is judged through a current serial number session seq carried by the voice data packet, the priority of the packet with the smaller serial number is higher, the priority of the packet with the higher serial number is higher, a channel with the higher priority is obtained to be played, when a plurality of talkback terminals talk simultaneously, the channel distribution and the voice playing are carried out according to the priority of the current serial number session seq, and the condition of time delay is avoided. After the talkback terminal finishes talking, the end mark is broadcasted, and other talkback terminals broadcast in sequence after receiving the end mark, so that decentralization is realized, and excessive dependence on a control center is avoided.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below. It should be apparent that the drawings in the following description are merely exemplary, and that other embodiments can be derived from the drawings provided by those of ordinary skill in the art without inventive effort.
The structures, ratios, sizes, and the like shown in the present specification are only used for matching with the contents disclosed in the specification, so as to be understood and read by those skilled in the art, and are not used to limit the conditions that the present invention can be implemented, so that the present invention has no technical significance, and any structural modifications, changes in the ratio relationship, or adjustments of the sizes, without affecting the effects and the achievable by the present invention, should still fall within the range that the technical contents disclosed in the present invention can cover.
Fig. 1 is a flowchart of a centerless public network and private network IP intercom method according to an embodiment of the present invention;
Detailed Description
The present invention is described in terms of particular embodiments, other advantages and features of the invention will become apparent to those skilled in the art from the following disclosure, and it is to be understood that the described embodiments are merely exemplary of the invention and that it is not intended to limit the invention to the particular embodiments disclosed. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
Examples
The embodiment discloses a centerless public network and private network IP intercommunication method, which comprises the following steps:
allocating a digital id to each talkback terminal, wherein the digital id is increased from 1;
when the talkback terminal sends a voice data packet, the talkback terminal carries a current sequence number seq, the one-time speech sequence number of one talkback terminal is unchanged, and the priority of the data packet with the smaller sequence number is higher;
when each talkback terminal sends data, the current serial number session seq + id is used as the session seq to send, and the smaller the id, the higher the priority;
the intercom terminal takes the received minimum session seq as the current session seq and plays the session seq;
and after the talkback terminal finishes speaking, broadcasting the session seq ending identifier, and judging that the session is invalid after other terminals receive the ending identifier.
The lower the number of the digital id of the talkback terminal is, the higher the priority is, and the talkback terminal with the high priority preempts the channel when talkback. The voice data packet carries the current sequence number session seq, and the current sequence number session seq is only added and not subtracted when other terminals initiate talkback, so that the situation that a plurality of talkback terminals occupy the same session seq is avoided.
The number of the talkback terminals is multiple, when two talkback terminals send voice data packets simultaneously, the current sequence number session seq is small and effective, and the current sequence number session seq is large and can be ignored, so that pseudo channel occupation is realized. And after the channel is obtained, sending the voice data packet. When a terminal sends data and finds that data of a smaller session seq is received, the terminal indicates that the terminal fails to acquire the channel and stops sending immediately, so that the terminal is prevented from occupying too much bandwidth.
And after the talkback terminal finishes sending the voice data packet, broadcasting an end identifier, continuously receiving signals by other talkback terminals, judging that the current session is invalid after receiving the end identifier, and sending the voice data packet by the remaining talkback terminals from small to large according to the sequence of the session seq. After the data packet is lost, other terminals do not receive the ending identifier for a long time, and the current session is also judged to be invalid. When the talkback terminal accesses the network for the first time, the data is received firstly, if an active terminal exists in the network, the current session seq can be determined, if the active terminal does not exist in the network for a long time, a command for requesting the current session is sent, and other terminals receive the command and send the current session to the new talkback terminal accessing the network. If the terminals are newly accessed, the time is overtime for a long time, and all the terminals can start from 0.
In the IP intercom method for the centreless public network and private network disclosed in this embodiment, a digital id is allocated to each intercom terminal, when a voice data packet is sent, the priority is judged according to the current serial number session seq carried by the voice data packet, the priority of the packet with the smaller serial number is higher, the priority of the packet with the higher priority is higher, a channel with the higher priority is obtained for playing, when a plurality of intercom terminals speak simultaneously, channel allocation and voice playing are performed in sequence according to the priority of the current serial number session seq, and the occurrence of a delay condition is avoided. After the talkback terminal finishes talking, the end mark is broadcasted, and other talkback terminals broadcast in sequence after receiving the end mark, so that decentralization is realized, and excessive dependence on a control center is avoided.
Although the invention has been described in detail above with reference to a general description and specific examples, it will be apparent to one skilled in the art that modifications or improvements may be made thereto based on the invention. Accordingly, such modifications and improvements are intended to be within the scope of the invention as claimed.
Claims (8)
1. A centerless public network and private network IP intercommunication method is characterized in that the method comprises the following steps:
allocating a digital id to each talkback terminal, wherein the digital id is increased from 1;
when the talkback terminal sends a voice data packet, the talkback terminal carries a current sequence number seq, the one-time speech sequence number of one talkback terminal is unchanged, and the priority of the data packet with the smaller sequence number is higher;
when each talkback terminal sends data, the current serial number session seq + id is used as the session seq to send, and the smaller the id, the higher the priority;
the intercom terminal takes the received minimum session seq as the current session seq and plays the session seq;
and after the talkback terminal finishes speaking, broadcasting the session seq ending identifier, and judging that the session is invalid after other terminals receive the ending identifier.
2. The IP intercom method between a public network and a private network without center according to claim 1, wherein the lower the number id of the intercom terminal, the higher the priority of the intercom terminal in the channel is preempted when the intercom terminal in the high priority talks.
3. The IP intercom method between the centreless public network and the private network according to claim 1, characterized in that the voice data packet carries a current sequence number seq, and the current sequence number seq is only increased but not decreased when other terminals initiate intercom.
4. The IP intercom method for a centerless public network and a private network according to claim 1, wherein a plurality of intercom terminals are provided, when two intercom terminals transmit voice data packets simultaneously, the current sequence number session seq is valid and ignored when the current sequence number session seq is large.
5. The IP intercom method of a centerless public network and private network as defined in claim 1, wherein when the intercom terminal transmits data, the session seq of the current serial number is added to the data id to be transmitted as a new session seq, and when two intercom terminals transmit data at the same time, the smaller session seq preferentially acquires the channel.
6. The IP intercom method of the centreless public network and the private network, according to claim 1, characterized in that the intercom terminal broadcasts an end identifier after the transmission of the voice data packet is completed, other intercom terminals receive signals uninterruptedly, after the end identifier is received, the current session is judged to be invalid, and the remaining intercom terminals transmit the voice data packet in sequence from small to large according to the sequence of the session seq.
7. The IP intercom method between the centreless public network and the private network according to claim 6, characterized in that after the data packet loss occurs in the intercom terminal, other terminals do not receive the ending mark for a long time, and then the current session is also judged to be invalid.
8. The IP intercom method between a non-central public network and a private network according to claim 1, wherein when said intercom terminal accesses the network for the first time, it first receives the data, if there is an active terminal in the network, it can determine the current session seq, if there is no active terminal in the network for a long time, it sends the command requesting the current session, and other terminals receive the command and send the current session to the new access intercom terminal.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202111508217.XA CN114189503B (en) | 2021-12-10 | 2021-12-10 | IP intercom method for public network and private network without center |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202111508217.XA CN114189503B (en) | 2021-12-10 | 2021-12-10 | IP intercom method for public network and private network without center |
Publications (2)
Publication Number | Publication Date |
---|---|
CN114189503A true CN114189503A (en) | 2022-03-15 |
CN114189503B CN114189503B (en) | 2024-03-19 |
Family
ID=80543169
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202111508217.XA Active CN114189503B (en) | 2021-12-10 | 2021-12-10 | IP intercom method for public network and private network without center |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN114189503B (en) |
Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2002026967A (en) * | 2000-07-07 | 2002-01-25 | Sony Corp | Stream communication system |
US20070002836A1 (en) * | 2005-06-30 | 2007-01-04 | Lindner Mark A | System and method for resolving conflicts in multiple simultaneous communications in a wireless system |
US7231207B1 (en) * | 1999-12-20 | 2007-06-12 | Agere Systems Inc. | Intelligent incoming call management during cordless intercom mode |
JP2014068148A (en) * | 2012-09-25 | 2014-04-17 | Panasonic Corp | Communication system |
CN108495369A (en) * | 2018-03-20 | 2018-09-04 | 浙江大华技术股份有限公司 | A kind of method of channel management and device |
CN108600869A (en) * | 2018-03-19 | 2018-09-28 | 深圳市宝尔爱迪科技有限公司 | A kind of mixing intercom system and method for supporting public network intercommunication, private network talkback and digital intercom |
JP2019080244A (en) * | 2017-10-26 | 2019-05-23 | 株式会社ナカヨ | Intercom control device, intercom system, computer-readable program, and intercom control method |
-
2021
- 2021-12-10 CN CN202111508217.XA patent/CN114189503B/en active Active
Patent Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US7231207B1 (en) * | 1999-12-20 | 2007-06-12 | Agere Systems Inc. | Intelligent incoming call management during cordless intercom mode |
JP2002026967A (en) * | 2000-07-07 | 2002-01-25 | Sony Corp | Stream communication system |
US20070002836A1 (en) * | 2005-06-30 | 2007-01-04 | Lindner Mark A | System and method for resolving conflicts in multiple simultaneous communications in a wireless system |
JP2014068148A (en) * | 2012-09-25 | 2014-04-17 | Panasonic Corp | Communication system |
JP2019080244A (en) * | 2017-10-26 | 2019-05-23 | 株式会社ナカヨ | Intercom control device, intercom system, computer-readable program, and intercom control method |
CN108600869A (en) * | 2018-03-19 | 2018-09-28 | 深圳市宝尔爱迪科技有限公司 | A kind of mixing intercom system and method for supporting public network intercommunication, private network talkback and digital intercom |
CN108495369A (en) * | 2018-03-20 | 2018-09-04 | 浙江大华技术股份有限公司 | A kind of method of channel management and device |
Non-Patent Citations (2)
Title |
---|
HAIPENG LIU; CHUANFANG ZHANG: "A New Type of Small Size and Multiband Antenna For Interphone Communication", 《 2018 12TH INTERNATIONAL SYMPOSIUM ON ANTENNAS, PROPAGATION AND EM THEORY (ISAPE)》, 7 February 2019 (2019-02-07) * |
牟佳;: "公网对讲在专业移动通信领域警务工作中的应用探讨", 警察技术, no. 05, 7 September 2018 (2018-09-07) * |
Also Published As
Publication number | Publication date |
---|---|
CN114189503B (en) | 2024-03-19 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US8032169B2 (en) | System and method for providing low overhead floor control in a distributed peer-to-peer communications network | |
EP0606282B1 (en) | Method for realising a group call in a digital radio network | |
US6771618B1 (en) | Packet transfer method and system | |
FI101923B (en) | Distribution of speech tours to the mobile stations operating on direct channel | |
US7136663B2 (en) | Method for controlling a communications channel shared by several stations | |
US20090303909A1 (en) | Point-to-multipoint data communication | |
JPH06188912A (en) | Method for receiving at least one data packet by receiver | |
US20060154681A1 (en) | Method and system for controlling talk time for PoC user | |
EP2063652A1 (en) | A method, system and poc server for granting talk burst to terminals | |
JPH01195728A (en) | Transmission trunk radio system with voice buffering and off-line dialing | |
CN101610385A (en) | A kind of realization system and method for wireless video conference | |
CA2563029A1 (en) | Method 0f uplink preemption by users in a trunking group | |
JPH0681113B2 (en) | Time division multiplex wireless communication system | |
WO2005115031A1 (en) | Push-to-talk reverse channel establishment | |
JP2003525553A (en) | Method and apparatus for allocating channels to remote units in a communication system | |
WO2005120103A1 (en) | A system of group communication and a method of group call processing based on cdma 2000 high-speed packet data network | |
US7738480B2 (en) | Hybrid access to a contention-free period channel | |
CN114189503A (en) | IP intercommunication method for centreless public network and private network | |
US20090017787A1 (en) | Charging method in poc service | |
CN114727232B (en) | Method and device for duplex group calling in direct mode DMO communication | |
CN114866727B (en) | Method, system and storage medium for establishing video group call service | |
CN112039924B (en) | Communication equipment and communication system | |
CN114727387A (en) | Method, system and equipment for bidirectional transmission of wireless audio from point to multipoint | |
CN111385744A (en) | Dynamic channel access method based on polling | |
KR20030058267A (en) | An IP Automatic Assignment's Method in the way of Central IP Management thorugh Intermediate DHCP Server |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |