CN114189503B - IP intercom method for public network and private network without center - Google Patents

IP intercom method for public network and private network without center Download PDF

Info

Publication number
CN114189503B
CN114189503B CN202111508217.XA CN202111508217A CN114189503B CN 114189503 B CN114189503 B CN 114189503B CN 202111508217 A CN202111508217 A CN 202111508217A CN 114189503 B CN114189503 B CN 114189503B
Authority
CN
China
Prior art keywords
session
intercom
seq
terminal
sequence number
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
CN202111508217.XA
Other languages
Chinese (zh)
Other versions
CN114189503A (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.)
Beijing Kaishida Information Technology Co ltd
Original Assignee
Beijing Kaishida Information Technology 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 Beijing Kaishida Information Technology Co ltd filed Critical Beijing Kaishida Information Technology Co ltd
Priority to CN202111508217.XA priority Critical patent/CN114189503B/en
Publication of CN114189503A publication Critical patent/CN114189503A/en
Application granted granted Critical
Publication of CN114189503B publication Critical patent/CN114189503B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L65/00Network arrangements, protocols or services for supporting real-time applications in data packet communication
    • H04L65/40Support for services or applications
    • H04L65/4061Push-to services, e.g. push-to-talk or push-to-video
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L65/00Network arrangements, protocols or services for supporting real-time applications in data packet communication
    • H04L65/1066Session management
    • H04L65/1069Session establishment or de-establishment
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L65/00Network arrangements, protocols or services for supporting real-time applications in data packet communication
    • H04L65/80Responding to QoS
    • YGENERAL 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
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE 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/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

Abstract

The invention discloses a method for IP intercom of public network and private network without center, which comprises the following steps: each intercom terminal is assigned with a digital id, and the digital id is increased from 1; the talkback terminal carries the current sequence number session seq when sending the voice data packet, the one-time talking sequence number of one talkback terminal is unchanged, and the priority of the data packet with smaller sequence number is higher; when each intercom terminal transmits data, the current sequence number session seq+id is used as the session seq to transmit, and the smaller the id is, the higher the priority is; the intercom terminal takes the minimum session seq number received as the current session seq and plays the same; and broadcasting a session seq end identifier after the talkback terminal finishes speaking, and judging that the session is invalid after other terminals receive the end identifier. The invention solves the problem that the existing remote intercom is too dependent on the control center and is easy to generate delay.

Description

IP intercom method for public network and private network without center
Technical Field
The invention relates to the technical field of remote intercom, in particular to a centerless public network and private network IP intercom method.
Background
The remote intercom POC system based on the IP network generally has the working mode that one person speaks, the other person receives and plays, the release channel is finished, and the other person can speak next. Similar to a traditional interphone, a button is pressed to speak, and other people can speak when the button is released.
Traditional interphones occupy a physical channel, so that other people cannot speak. The IP interphone has no physical channel, the IP network is shared and occupies the channel, the common implementation method is that a central terminal is used for arbitration, before each person (terminal) starts speaking, the central terminal is required to arbitrate whether the channel can be acquired, the central terminal answers yes or no, the voice transmission (or no transmission) is carried out, and other persons need to speak and also firstly request the central terminal. Thus, two problems are brought, namely, the request center end is required and waits for a reply, and delay is generated; second, if the central terminal is down, the whole system will not work.
Disclosure of Invention
Therefore, the invention provides a centerless public network and private network IP intercom method to solve the problems that the existing remote intercom is too dependent on a control center and is easy to generate delay.
In order to achieve the above object, the present invention provides the following technical solutions:
the invention discloses a method for IP intercom of public network and private network without center, which comprises the following steps:
each intercom terminal is assigned with a digital id, and the digital id is increased from 1;
the talkback terminal carries the current sequence number session seq when sending the voice data packet, the one-time talking sequence number of one talkback terminal is unchanged, and the priority of the data packet with smaller sequence number is higher;
when each intercom terminal transmits data, the current sequence number session seq+id is used as the session seq to transmit, and the smaller the id is, the higher the priority is;
the intercom terminal takes the minimum session seq received as the current session seq and plays the same;
and broadcasting a session seq end identifier after the talkback terminal finishes speaking, and judging that the session is invalid after other terminals receive the end identifier.
Further, the smaller the digital id number of the intercom terminal is, the higher the priority is, and the intercom terminal with high priority takes hold of the channel when intercom is performed.
Further, the voice data packet carries a current sequence number session seq, and when other terminals initiate intercom, the current sequence number session seq is only increased or not decreased.
Further, the number of the intercom terminals is multiple, when two intercom terminals simultaneously send voice data packets, the current sequence number session seq is small and effective, and if the current sequence number session seq is large, the current sequence number session seq is ignored.
Further, when the intercom terminals send data, the current sequence number session seq is added with the data id to be sent as a new session seq, and when two intercom terminals send data simultaneously, the smaller session seq acquires a channel preferentially.
Further, after the voice data packet is sent, the talkback terminal broadcasts an end identifier, other talkback terminals continuously receive signals, after the end identifier is received, the current session is judged to be invalid, and the remaining talkback terminals sequentially send the voice data packets from small to large according to the sequence of the session seq.
Further, after the talkback terminal loses the data packet, other terminals do not receive the end identification for a long time, and the current session is judged to be invalid.
Further, when the intercom terminal first accesses the network, firstly, data is received, if an active terminal exists in the network, the current session seq can be determined, if the active terminal does not exist for a long time, a command for requesting the current session is sent, and other terminals send the current session to the intercom terminal newly accessing the network after receiving the command.
The invention has the following advantages:
the invention discloses a centerless public network and private network IP intercom method, which allocates digital id for each intercom terminal, judges priority through the current sequence number session seq carried by the voice data packet when sending the voice data packet, and obtains a channel with higher priority to play when the packet with smaller sequence number has higher priority, when a plurality of intercom terminals speak at the same time, channel allocation and voice playing are carried out according to the priority of the current sequence number session seq in sequence, thereby avoiding the condition of delay. After the talkback terminal finishes talking, broadcasting the end identifier, and after receiving the end identifier, other talkback terminals broadcast according to the sequence, so as to realize decentralization and avoid over-dependence on a control center.
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 will be apparent to those skilled in the art from this disclosure that the drawings described below are merely exemplary and that other embodiments may be derived from the drawings provided without undue effort.
The structures, proportions, sizes, etc. shown in the present specification are shown only for the purposes of illustration and description, and are not intended to limit the scope of the invention, which is defined by the claims, so that any structural modifications, changes in proportions, or adjustments of sizes, which do not affect the efficacy or the achievement of the present invention, should fall within the ambit of the technical disclosure.
Fig. 1 is a flowchart of a method for IP intercom between public and private networks without a center according to an embodiment of the present invention;
Detailed Description
Other advantages and advantages of the present invention will become apparent to those skilled in the art from the following detailed description, which, by way of illustration, is to be read in connection with certain specific embodiments, but not all embodiments. All other embodiments, which can be made by those skilled in the art based on the embodiments of the invention without making any inventive effort, are intended to be within the scope of the invention.
Examples
The embodiment discloses a method for IP intercom of public network and private network without a center, which comprises the following steps:
each intercom terminal is assigned with a digital id, and the digital id is increased from 1;
the talkback terminal carries the current sequence number session seq when sending the voice data packet, the one-time talking sequence number of one talkback terminal is unchanged, and the priority of the data packet with smaller sequence number is higher;
when each intercom terminal transmits data, the current sequence number session seq+id is used as the session seq to transmit, and the smaller the id is, the higher the priority is;
the intercom terminal takes the minimum session seq received as the current session seq and plays the same;
and broadcasting a session seq end identifier after the talkback terminal finishes speaking, and judging that the session is invalid after other terminals receive the end identifier.
The smaller the digital id number of the intercom terminal is, the higher the priority is, and the intercom terminal with high priority is used for preempting a channel when intercom is carried out. The voice data packet carries the current sequence number session seq, when other terminals initiate intercom, the current sequence number session seq is only increased or not decreased, the situation that a plurality of intercom terminals occupy the same session seq is avoided, and the priority can be rapidly distinguished as the sequence number is increased, the more backward the priority is, the lower the priority is.
The talkback terminals are provided with a plurality of talkback terminals, when two talkback terminals simultaneously send voice data packets, the current sequence number session is small and effective, the current sequence number session is ignored if the current sequence number session is large, so that the occupation of a pseudo channel is realized, when the talkback terminals send data, the current sequence number session is added with a data id to be used as a new session for sending, and when the two talkback terminals simultaneously send data, the smaller session preferentially obtains a channel, and no conflict occurs. And after the channel is acquired, transmitting the voice data packet. When a terminal sends data and finds that the data of a smaller session seq is received, the terminal indicates that the terminal fails to acquire the channel, immediately stops sending, and is prevented from occupying too much bandwidth.
After the voice data packet is sent, the talkback terminal broadcasts an end mark, other talkback terminals continuously receive signals, after the end mark is received, the fact that the current session is invalid is judged, and the remaining talkback terminals sequentially send the voice data packets from small to large according to the sequence of the session seq. After the talkback terminal loses the data packet, other terminals do not receive the end identification for a long time, and the current session is judged to be invalid. When the intercom terminal first accesses the network, firstly receiving data, if the mobile terminal exists in the network, determining the current session seq, if the mobile terminal does not exist for a long time, sending a command for requesting the current session, and after receiving the command, sending the command to the intercom terminal newly accessing the network by other terminals. If the network is newly accessed, the time-out is long, and all terminals consider to start from 0.
In the IP talkback method for the public network and the private network without the center disclosed in the embodiment, a digital id is allocated to each talkback terminal, when a voice data packet is sent, the priority is judged through a current sequence number session seq carried by the voice data packet, the smaller the sequence number is, the higher the priority of the packet is, the higher the priority is, the channel is obtained for playing, and when a plurality of talkback terminals speak at the same time, the channel allocation and the voice playing are sequentially carried out according to the priority of the current sequence number session seq, so that the time delay is avoided. After the talkback terminal finishes talking, broadcasting the end identifier, and after receiving the end identifier, other talkback terminals broadcast according to the sequence, so as to realize decentralization and avoid over-dependence on a control center.
While the invention has been described in detail in the foregoing general description and specific examples, it will be apparent to those skilled in the art that modifications and improvements can be made thereto. Accordingly, such modifications or improvements may be made without departing from the spirit of the invention and are intended to be within the scope of the invention as claimed.

Claims (6)

1. A centerless public network and private network IP intercom method is characterized in that the method comprises the following steps:
each intercom terminal is assigned with a digital id, and the digital id is increased from 1;
the talkback terminal carries the current sequence number session seq when sending the voice data packet, the one-time talking sequence number of one talkback terminal is unchanged, and the priority of the data packet with smaller sequence number is higher;
when each intercom terminal transmits data, the current sequence number session seq+id is used as the session seq to transmit, and the smaller the number id is, the higher the priority is;
the voice data packet carries a current sequence number session seq, and when other terminals initiate intercom, the current sequence number session seq is only increased or not decreased;
the intercom terminal takes the minimum session seq received as the current session seq and plays the same;
and broadcasting a session seq end identifier after the talkback terminal finishes speaking, and judging that the session is invalid after other terminals receive the end identifier.
2. The method for IP intercom of public and private networks without center as claimed in claim 1, wherein said intercom terminals are provided with a plurality of, when two intercom terminals simultaneously transmit voice data packets, the validity of the current sequence number session seq is small, and the validity of the current sequence number session seq is ignored if it is large.
3. The method of claim 1, wherein when the intercom terminals send data, the current sequence number session seq is added to the data id to be sent as a new session seq, and when two intercom terminals send data simultaneously, a smaller session seq obtains a channel preferentially.
4. The method for IP intercom in public and private networks without center as claimed in claim 1, wherein after the transmission of the voice data packet is completed, the intercom terminals broadcast the end identifier, and after receiving the end identifier, the other intercom terminals continuously receive signals, and after receiving the end identifier, it is determined that the current session is invalid, the remaining intercom terminals sequentially transmit the voice data packet from small to large according to the sequence of the session seq.
5. The method for IP intercom with public and private networks without center as claimed in claim 4, wherein after said intercom terminal has lost the data packet, other terminals will also determine that the current session is invalid if they have not received the end identifier for a long time.
6. The method of claim 1, wherein when the intercom terminal first accesses the internet, the intercom terminal first receives data, if there is an active terminal in the internet, the intercom terminal can determine the current session seq, if there is no terminal in the internet, the intercom terminal sends a command requesting the current session, and the other terminals send the current session to the intercom terminal newly accessing the internet after receiving the command.
CN202111508217.XA 2021-12-10 2021-12-10 IP intercom method for public network and private network without center Active CN114189503B (en)

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 CN114189503A (en) 2022-03-15
CN114189503B true 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 (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2002026967A (en) * 2000-07-07 2002-01-25 Sony Corp Stream communication 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

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8705515B2 (en) * 2005-06-30 2014-04-22 Qualcomm Incorporated System and method for resolving conflicts in multiple simultaneous communications in a wireless system

Patent Citations (6)

* Cited by examiner, † Cited by third party
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
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)

* Cited by examiner, † Cited by third party
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)》.2019,全文. *
公网对讲在专业移动通信领域警务工作中的应用探讨;牟佳;;警察技术;20180907(第05期);全文 *

Also Published As

Publication number Publication date
CN114189503A (en) 2022-03-15

Similar Documents

Publication Publication Date Title
EP0606282B1 (en) Method for realising a group call in a digital radio network
US6970926B1 (en) Dispatch call server in a packet based communication network
US8437791B2 (en) Method and system for controlling talk time for PoC user
US20090137263A1 (en) System and method for providing low overhead floor control in a distributed peer-to-peer communications network
JPH06188912A (en) Method for receiving at least one data packet by receiver
US6771618B1 (en) Packet transfer method and system
EP2448173A1 (en) System and method for realizing wireless video conference
US8468382B2 (en) Methods and equipment for fault tolerant IP service
US20090197625A1 (en) Method and system for granting a client talk burst and push to talk over cellular server
US10951670B2 (en) System, method, and apparatus for floor control during push to talk
US8830898B2 (en) Fast inter system push to talk operation
KR20160045618A (en) Method and system for handling device to device (d2d) communication
CN114189503B (en) IP intercom method for public network and private network without center
JPWO2021029083A5 (en)
US7787877B2 (en) Method and apparatus of avoiding audio truncation in trunked systems
US11503164B2 (en) Media interaction method in DECT network cluster
US6944455B2 (en) Selective networking method for mobile ad hoc networks
US7649893B2 (en) Group calls in a mobile radio system
US20120275396A1 (en) Method for setting up a communication connection
WO2006108346A1 (en) Method of transmitting uplink access request by a user in a trunked group
JPH06269004A (en) Method for controlling video conference communication in inter communicating system
CN113259865B (en) Cluster talkback talk right seizing method and device for mesh ad hoc network
JP5828071B2 (en) Simultaneous communication system, call control server, and communication method
KR101905421B1 (en) radio communication apparatus for walkie-talkie using a wireless network and method therefor
CN106559753B (en) Method and system for granting speaking right

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