CN108471440A - Digital talkback method and system - Google Patents
Digital talkback method and system Download PDFInfo
- Publication number
- CN108471440A CN108471440A CN201810214098.9A CN201810214098A CN108471440A CN 108471440 A CN108471440 A CN 108471440A CN 201810214098 A CN201810214098 A CN 201810214098A CN 108471440 A CN108471440 A CN 108471440A
- Authority
- CN
- China
- Prior art keywords
- target
- address
- machine
- group
- intercommunication
- 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 34
- 230000004044 response Effects 0.000 claims description 18
- 238000006243 chemical reaction Methods 0.000 claims description 7
- 230000006870 function Effects 0.000 description 12
- 238000004364 calculation method Methods 0.000 description 10
- 238000010586 diagram Methods 0.000 description 4
- 206010033799 Paralysis Diseases 0.000 description 2
- 230000009286 beneficial effect Effects 0.000 description 1
- 230000001419 dependent effect Effects 0.000 description 1
- 230000002708 enhancing effect Effects 0.000 description 1
- 238000006467 substitution reaction Methods 0.000 description 1
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L61/00—Network arrangements, protocols or services for addressing or naming
- H04L61/45—Network directories; Name-to-address mapping
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/14—Session management
- H04L67/141—Setup of application sessions
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Interconnected Communication Systems, Intercoms, And Interphones (AREA)
- Telephonic Communication Services (AREA)
- Data Exchanges In Wide-Area Networks (AREA)
Abstract
Description
技术领域technical field
本发明涉及数字对讲领域,尤其涉及一种数字对讲方法及系统。The invention relates to the field of digital intercom, in particular to a digital intercom method and system.
背景技术Background technique
目前市场上的数字对讲系统一般都是运行于局域网,又或者基于局域网再扩展到广域网。无论何种形式的网络,数字通信首要解决的问题是如何让所有终端机在网络上具有唯一的标识,也即是确定所有终端机在TCP/IP协议中的IP地址。The digital intercom systems currently on the market generally operate on a LAN, or are based on a LAN and then extended to a WAN. No matter what kind of network, the primary problem to be solved in digital communication is how to make all terminals uniquely identified on the network, that is, to determine the IP addresses of all terminals in the TCP/IP protocol.
目前有很多现成的协议可用于解决数字对讲系统的IP地址问题,例如:DNS、DHCP之类。也有些数字对讲系统使用自定义的协议或自定义的方法来分配IP,而这些方法都免不了需要有中心服务器和中心数据库。另一方面,对讲系统的可靠性需求较高,一旦服务器故障,对讲系统整体瘫痪,造成很多人进不了门,保安人员会忙不过来,使得用户体验极差。而有些对讲系统会设计成对中心服务器弱依赖,一般是设置期间必须依赖服务器,运行期间即使服务器故障,终端机仍能继续运行部分基本功能,但是这种对讲系统也存在一定的局限性,此类对讲系统需使用很高端的服务器和后备系统,使得对讲系统不但成本高而且对讲系统变得更加复杂。At present, there are many ready-made protocols that can be used to solve the IP address problem of the digital intercom system, for example: DNS, DHCP and the like. There are also some digital intercom systems that use a custom protocol or a custom method to assign IP, and these methods inevitably require a central server and a central database. On the other hand, the reliability requirements of the intercom system are high. Once the server fails, the intercom system will be paralyzed as a whole, causing many people to be unable to enter the door, and the security personnel will be too busy, making the user experience extremely poor. Some intercom systems are designed to be weakly dependent on the central server. Generally, they must rely on the server during setup. Even if the server fails during operation, the terminal can still continue to run some basic functions. However, this intercom system also has certain limitations. However, this type of intercom system needs to use very high-end servers and backup systems, which makes the intercom system not only costly but also more complicated.
发明内容Contents of the invention
本发明实施例提供了一种数字对讲方法及系统,在不增加成本和系统复杂性的前提下,降低对讲系统对中心服务器的依赖,提高对讲系统的可靠性。The embodiment of the present invention provides a digital intercom method and system, which reduces the dependence of the intercom system on the central server and improves the reliability of the intercom system without increasing the cost and system complexity.
第一方面,本发明实施例提供了一种数字对讲方法,包括:In the first aspect, the embodiment of the present invention provides a digital intercom method, including:
响应于终端机的对讲请求,获取用户通过所述终端机输入的目标机的对讲号码;In response to the intercom request of the terminal, acquire the intercom number of the target machine input by the user through the terminal;
基于运算公式将所述目标机的对讲号码转换成预设网段内的IP地址,基于该IP地址实现终端机与目标机的对讲连接。The intercom number of the target machine is converted into an IP address in a preset network segment based on an operation formula, and the intercom connection between the terminal machine and the target machine is realized based on the IP address.
第二方面,本发明实施例还提供了一种数字对讲系统,包括:In the second aspect, the embodiment of the present invention also provides a digital intercom system, including:
第一响应获取单元,用于响应于终端机的对讲请求,获取用户通过所述终端机输入的目标机的对讲号码;The first response obtaining unit is used to obtain the intercom number of the target machine input by the user through the terminal in response to the intercom request of the terminal;
第一转换连接单元,用于基于运算公式将所述目标机的对讲号码转换成预设网段内的IP地址,基于该IP地址实现终端机与目标机的对讲连接。The first conversion and connection unit is used to convert the intercom number of the target machine into an IP address in a preset network segment based on an operation formula, and realize the intercom connection between the terminal machine and the target machine based on the IP address.
本发明实施例提供的一种数字对讲方法及系统,通过获取用户通过终端机输入的目标机的对讲号码,并将该对讲号码根据运算公式转换成预设网段内的IP地址,以便基于该IP地址实现终端机与目标机的对讲连接。由此,在不增加成本和系统复杂性的前提下,降低对讲系统对中心服务器的依赖,提高对讲系统的可靠性。In the digital intercom method and system provided by the embodiments of the present invention, the intercom number of the target machine input by the user through the terminal is acquired, and the intercom number is converted into an IP address in the preset network segment according to the calculation formula, In order to realize the intercom connection between the terminal machine and the target machine based on the IP address. Therefore, without increasing the cost and complexity of the system, the dependence of the intercom system on the central server is reduced, and the reliability of the intercom system is improved.
附图说明Description of drawings
图1是本发明实施例一提供的一种数字对讲方法的流程示意图;FIG. 1 is a schematic flowchart of a digital intercom method provided in Embodiment 1 of the present invention;
图2是本发明实施例一提供的对讲号码转换成IPv6地址的示意图;Fig. 2 is a schematic diagram of converting an intercom number into an IPv6 address provided by Embodiment 1 of the present invention;
图3是本发明实施例二提供的一种数字对讲方法的流程示意图;FIG. 3 is a schematic flowchart of a digital intercom method provided in Embodiment 2 of the present invention;
图4是本发明实施例二提供的目标组号转换成IPv6地址的示意图;FIG. 4 is a schematic diagram of converting a target group number into an IPv6 address according to Embodiment 2 of the present invention;
图5是本发明实施例三提供的一种数字对讲方法的流程示意图;Fig. 5 is a schematic flow chart of a digital intercom method provided by Embodiment 3 of the present invention;
图6是本发明实施例四提供的一种数字对讲系统的结构示意图。Fig. 6 is a schematic structural diagram of a digital intercom system provided by Embodiment 4 of the present invention.
具体实施方式Detailed ways
下面结合附图和实施例对本发明作进一步的详细说明。可以理解的是,此处所描述的具体实施例仅仅用于解释本发明,而非对本发明的限定。另外还需要说明的是,为了便于描述,附图中仅示出了与本发明相关的部分而非全部结构。The present invention will be further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described here are only used to explain the present invention, but not to limit the present invention. In addition, it should be noted that, for the convenience of description, only some structures related to the present invention are shown in the drawings but not all structures.
实施例一Embodiment one
图1是本发明实施例一提供的一种数字对讲方法的流程图,本实施例可适用于终端机与目标机之间进行一对一呼叫的情况,该方法可以由一种数字对讲系统来执行,具体包括如下步骤:Fig. 1 is a flow chart of a digital intercom method provided by Embodiment 1 of the present invention. This embodiment is applicable to the situation of one-to-one calls between a terminal machine and a target machine. The method can be implemented by a digital intercom system, which specifically includes the following steps:
步骤110、响应于终端机的对讲请求,获取用户通过所述终端机输入的目标机的对讲号码。Step 110, in response to the intercom request of the terminal, acquire the intercom number of the target machine input by the user through the terminal.
在数字对讲系统中,每台终端机都有一个唯一的对讲号码,其中,该对讲号码可被用户理解记忆,但不能直接被终端机理解并用于网络通讯,还需要将对讲号码转换成能够进行网络通信的IP地址。数字对讲系统中,常见的终端机的对讲号码一般由三部分组成,包括终端类型、数字段及分机号,如图2所示。其中,终端类型与分机号都是由1位26进制的数组成,数字段由不超过16位的10进制数字组成,示例性的,为了方便用户记忆,数字段可以设置为3-6位的10进制数字。在进行终端机与目标机之间呼叫时,首先获取用户通过终端机输入的目标机的对讲号码,以便将对讲号码进行转换成能够进行网络通信的IP地址。In the digital intercom system, each terminal has a unique intercom number, which can be understood and memorized by the user, but cannot be directly understood by the terminal and used for network communication. It is converted into an IP address that enables network communication. In a digital intercom system, the intercom number of a common terminal generally consists of three parts, including terminal type, digit field and extension number, as shown in Figure 2. Among them, the terminal type and extension number are composed of 1-digit 26-digit numbers, and the number field is composed of no more than 16-digit decimal numbers. For example, in order to facilitate user memory, the number field can be set to 3-6 A decimal number of digits. When making a call between the terminal and the target machine, first obtain the intercom number of the target machine input by the user through the terminal, so as to convert the intercom number into an IP address capable of network communication.
步骤120、基于运算公式将所述目标机的对讲号码转换成预设网段内的IP地址,基于该IP地址实现终端机与目标机的对讲连接。Step 120: Convert the intercom number of the target machine into an IP address in a preset network segment based on the calculation formula, and realize the intercom connection between the terminal machine and the target machine based on the IP address.
目前常见的数字对讲系统,将对讲号码转换成为IP地址方法有穷举法和公式法。其中,穷举法即是根据所有终端机的对讲号码及与其对应的IP地址建立包含对讲号码与IP地址的对应关系列表,基于中心服务器与中心数据库,动态或静态的为每个终端机分配对应的IP地址。而公式法由于局域网中IPv4编码空间的容量限制,很少在对讲系统中使用。In the current common digital intercom system, there are exhaustive methods and formula methods to convert the intercom number into an IP address. Among them, the exhaustive method is to establish a list of corresponding relationships between intercom numbers and IP addresses based on the intercom numbers of all terminals and their corresponding IP addresses. Based on the central server and the central database, each terminal is dynamically or statically Assign the corresponding IP address. The formula method is rarely used in the intercom system due to the capacity limitation of the IPv4 encoding space in the local area network.
由于IPv6编码空间大,可以容纳任何数字对讲系统中对讲号码对应的IP地址的可能值的数量。因此,在本申请的数字对讲系统中,可利用公式法将终端机的对讲号码转换成对应的IPv6地址。具体的,首先需要根据不同的业务需求,预先划分网段,示例性的,可划分出服务段(FEC0:3::x/64段)、对讲段(FEC0:4::x/64段)和基本段(FE80::x/64段)。其中,服务段可用于智能楼宇系统对讲以外的其他业务,具体的,可用于与终端机的终端序列号相关联的业务;对讲段可用于终端机之间对讲,与对讲号码对应;基本段可用于链路本地地址,与网卡的MAC地址对应。相应的,每台终端机有3个IPv6地址分别为:(1)FEC0:3::x/64,根据每台终端机的终端序列号生成,用于与终端序列号相关联的业务;(2)FEC0:4::x/64,根据对讲号码生成,用于对讲通讯;(3)FE80::x/64,链路本地地址,由网络底层自动生成,该IP与业务无关,用于上述两个IP之外的其他用途。Due to the large encoding space of IPv6, it can accommodate the number of possible values of the IP address corresponding to the intercom number in any digital intercom system. Therefore, in the digital intercom system of the present application, the intercom number of the terminal can be converted into a corresponding IPv6 address by using a formula. Specifically, it is first necessary to pre-divide network segments according to different business requirements. For example, it can be divided into service segment (FEC0:3::x/64 segment), intercom segment (FEC0:4::x/64 segment ) and the basic segment (FE80::x/64 segment). Among them, the service section can be used for other services other than the intercom of the intelligent building system, specifically, it can be used for services associated with the terminal serial number of the terminal; the intercom section can be used for intercom between terminals, corresponding to the intercom number ; The basic segment can be used for link-local addresses, corresponding to the MAC address of the network card. Correspondingly, each terminal has three IPv6 addresses: (1) FEC0:3::x/64, which is generated according to the terminal serial number of each terminal and used for services associated with the terminal serial number; ( 2) FEC0:4::x/64, generated according to the intercom number, used for intercom communication; (3) FE80::x/64, link local address, automatically generated by the bottom layer of the network, the IP has nothing to do with the business, For purposes other than the above two IPs.
由于每台终端机都有唯一的对讲号码,根据对讲号码预先为每台终端机设置好各自对应的IP地址,示例性的,可根据运算公式将每台终端机各自的对讲号码换算成与其对应的预设网段内IPv6地址。在获得目标机的对讲号码之后,根据运算公式将其转换成二进制数,并存放在对讲段内的IPv6地址的低64位,示例性的,转换过程可见图2,根据运算公式转换时,将对讲号码的26进制的终端类型转换成二进制数,并存放在IPv6地址的第59-63位;将对讲号码的10进制数字段转换成二进制数,并对应的存放在IPv6地址的第5-58位;将对讲号码的26进制的分机号转换成二进制数,并存放在IPv6地址的第0-4位。由此,将目标机的对讲号码转换成与其对应的IPv6地址,同时由于每一台终端机对讲号码的唯一性,则转换后的IPv6地址唯一对应一台目标机,基于该IPv6地址可连接到对应的目标机,由于终端机与目标机的IP地址在同一网段,终端机与目标机可直接进行对讲。由此,本发明的数字对讲系统不依赖于中心服务器分配IP地址,不会出现因中心服务器故障而导致系统瘫痪,增强对讲系统的可靠性。Since each terminal has a unique intercom number, according to the intercom number, set the corresponding IP address for each terminal in advance. For example, the respective intercom numbers of each terminal can be converted according to the calculation formula into the corresponding IPv6 address in the preset network segment. After obtaining the intercom number of the target machine, convert it into a binary number according to the calculation formula, and store it in the lower 64 bits of the IPv6 address in the intercom segment. For example, the conversion process can be seen in Figure 2. When converting according to the calculation formula , convert the 26-ary terminal type of the intercom number into a binary number, and store it in the 59th-63rd bits of the IPv6 address; convert the decimal number field of the intercom number into a binary number, and store it in the corresponding IPv6 The 5th-58th digit of the address; convert the 26-digit extension number of the intercom number into a binary number, and store it in the 0-4th digit of the IPv6 address. Thus, the intercom number of the target machine is converted into its corresponding IPv6 address. At the same time, due to the uniqueness of the intercom number of each terminal machine, the converted IPv6 address uniquely corresponds to one target machine. Based on this IPv6 address, it can be Connect to the corresponding target machine, since the IP addresses of the terminal machine and the target machine are in the same network segment, the terminal machine and the target machine can communicate directly. Therefore, the digital intercom system of the present invention does not rely on the central server to assign IP addresses, and the system will not be paralyzed due to the failure of the central server, thereby enhancing the reliability of the intercom system.
在本实施例中,通过获取用户通过终端机输入的目标机的对讲号码,并将该对讲号码根据运算公式转换成预设网段内的IPv6地址,以便基于该IPv6地址实现终端机与目标机的对讲连接。由此,在不增加成本和系统复杂性的前提下,降低对讲系统对中心服务器的依赖,提高对讲系统的可靠性。In this embodiment, the intercom number of the target machine input by the user through the terminal is obtained, and the intercom number is converted into an IPv6 address in the preset network segment according to the calculation formula, so as to realize the communication between the terminal and the target machine based on the IPv6 address. The intercom connection of the target machine. Therefore, without increasing the cost and complexity of the system, the dependence of the intercom system on the central server is reduced, and the reliability of the intercom system is improved.
实施例二Embodiment two
图3为本发明实施例二提供的一种数字对讲方法的流程示意图。本实施例可适用于终端机与多个目标机之间进行一对多呼叫的情况,该方法可以一种数字对讲系统来执行,具体包括如下步骤:FIG. 3 is a schematic flowchart of a digital intercom method provided by Embodiment 2 of the present invention. This embodiment is applicable to the situation where a one-to-many call is made between a terminal machine and multiple target machines. The method can be performed by a digital intercom system, and specifically includes the following steps:
步骤210、将多个终端机划分到目标组中,所述目标组对应一个组号。Step 210: Divide multiple terminals into target groups, where the target group corresponds to a group number.
在数字对讲系统中,根据实际的业务需要,划分多个目标组,并根据不同的业务为每个目标组设置与其对应的功能码,以便根据功能码准确的知晓每个目标组的功能,示例性的,可根据功能码确定目标组是进行一对多呼叫、搜索同一个单元内的门口机还是搜索小区范围内所有围墙机。同时,还为每个目标组设置一个对应的组号,以便根据组号直接查找某一功能的目标组,即可通过目标组号查找该目标组的功能码。其中,每个目标组都包括多个终端机。In the digital intercom system, according to the actual business needs, divide multiple target groups, and set corresponding function codes for each target group according to different services, so as to accurately know the function of each target group according to the function code, Exemplarily, it can be determined according to the function code whether the target group is making a one-to-many call, searching for door phones in the same unit, or searching for all fence phones within the cell range. At the same time, a corresponding group number is also set for each target group, so that the target group of a certain function can be directly searched according to the group number, and the function code of the target group can be found through the target group number. Wherein, each target group includes multiple terminals.
步骤220、响应于终端机向目标组内的多个目标机的呼叫请求,获取所述目标组的组号。Step 220, in response to the call request from the terminal to multiple target machines in the target group, acquire the group number of the target group.
当目标组内的任一终端机向组内其它多个目标机发出呼叫请求时,获取该目标组的组号。When any terminal in the target group sends a call request to other multiple target machines in the group, the group number of the target group is acquired.
步骤230、基于运算公式将所述目标机的组号转换成预设网段内的IP组播地址,基于该IP组播地址实现所述终端机与目标组内的多个目标机的对讲连接。Step 230: Convert the group number of the target machine into an IP multicast address in the preset network segment based on the calculation formula, and realize the intercom between the terminal machine and multiple target machines in the target group based on the IP multicast address connect.
根据运算公式,将获取的目标机的组号转换成对讲段的IPv6组播地址,示例性的,如图4所示,本发明的数字对讲系统应用的所有组播地址由同一种算法实现,IP地址的格式为:FF72:0240:x::y,其中x为功能码,可随着业务的需要而进行扩展。y为组ID,根据各种不同功能,会有各种不同的定义,具体转换时将组号转换成二进制数,并存放在IPv6组播地址的低32位。除此,还可根据目标组的组号查找该目标组的功能码,并将该功能码也转换成二进制数并存放到IPv6组播地址的第80-95位。由于IPv6组播地址可识别不同的接口,也即可识别目标组内的终端机。基于该IPv6组播地址可实现目标组内的终端机同时与该组内的多个目标机的对讲连接。According to the operational formula, convert the group number of the target machine obtained into the IPv6 multicast address of the intercom segment, exemplary, as shown in Figure 4, all multicast addresses used by the digital intercom system of the present invention are by the same algorithm Realization, the format of the IP address is: FF72:0240:x::y, where x is the function code, which can be expanded according to the needs of the business. y is the group ID. According to different functions, there will be various definitions. When converting, the group number is converted into a binary number and stored in the lower 32 bits of the IPv6 multicast address. In addition, the function code of the target group can also be searched according to the group number of the target group, and the function code is also converted into a binary number and stored in the 80th-95th bits of the IPv6 multicast address. Since the IPv6 multicast address can identify different interfaces, it can also identify the terminals in the target group. Based on the IPv6 multicast address, the intercom connection between the terminal machine in the target group and multiple target machines in the group can be realized at the same time.
在本实施例中,通过获取用户通过终端机输入的目标组的组号,并将该组号根据运算公式转换成预设网段内的IPv6地址,并根据组号查找该组的功能码以便基于该IP地址实现终端机与多个目标机的对讲连接。由此,在不增加成本和系统复杂性的前提下,降低对讲系统对中心服务器的依赖,提高对讲系统的可靠性。In this embodiment, the group number of the target group input by the user through the terminal is obtained, and the group number is converted into an IPv6 address in the preset network segment according to the calculation formula, and the function code of the group is searched according to the group number so that Based on the IP address, the intercom connection between the terminal machine and multiple target machines is realized. Therefore, without increasing the cost and complexity of the system, the dependence of the intercom system on the central server is reduced, and the reliability of the intercom system is improved.
实施例三Embodiment Three
图5为本发明实施例三提供的一种数字对讲方法的流程示意图,本实施例适用于数字对讲系统中的各终端机不依据中心数据库即可了解各自在系统中角色的情况,如图5所示,该方法包括以下步骤:Figure 5 is a schematic flow chart of a digital intercom method provided by Embodiment 3 of the present invention. This embodiment is applicable to each terminal in the digital intercom system without relying on the central database to understand the situation of their respective roles in the system, such as As shown in Figure 5, the method includes the following steps:
步骤310、将多个终端机划分到目标组中,所述目标组对应一个组号。Step 310: Divide multiple terminals into target groups, where the target group corresponds to a group number.
步骤320、在获取所述目标组的组号后,基于运算公式将所述目标机的组号转换成预设网段内的IP组播地址。Step 320, after acquiring the group number of the target group, convert the group number of the target machine into an IP multicast address in a preset network segment based on an operation formula.
上述步骤310至步骤320的实现原理与具体执行过程可参见图3对应的实施例中的描述,在此不再赘述。For the implementation principle and specific execution process of the above steps 310 to 320, refer to the description in the embodiment corresponding to FIG. 3 , and details are not repeated here.
步骤330、响应于所述目标组内的终端机通过所述IP组播地址进行的握手通讯请求。Step 330: Respond to the handshake communication request made by the terminals in the target group through the IP multicast address.
数字对讲系统均具有组织架构,而现有数字对讲系统的组织架构的数据常存放于中心数据库中,终端机依赖中心数据库获取其所在对讲系统的组织架构信息。本发明的数字对讲系统中,目标组内的终端机通过IPv6组播地址进行的握手通讯,以获取目标组内其它终端机的信息,由此降低终端机对中心数据库的依赖。在空闲时或必要时,目标组内的终端机发出握手通讯请求。All digital intercom systems have an organizational structure, and the data of the organizational structure of the existing digital intercom system is often stored in the central database, and the terminal relies on the central database to obtain the organizational structure information of the intercom system where it is located. In the digital intercom system of the present invention, the terminals in the target group perform handshake communication through the IPv6 multicast address to obtain information about other terminals in the target group, thereby reducing the dependence of the terminals on the central database. When idle or necessary, the terminals in the target group send out handshake communication requests.
步骤340、将所述目标组的组织架构信息发送至所述目标组内的终端机。Step 340, sending the organizational structure information of the target group to the terminals in the target group.
目标组内的任一终端机可通过IPv6组播地址与组内其它终端机进行握手通讯,以获取该目标组的组织架构信息,如目标组内全部的终端机类型以及每台终端机在该目标组所担任的角色。示例性的,如目标组内的一台室内机,通过IPv6组播地址与组内其它终端机进行握手通讯,可了解该终端机所在的房间存在的其它室内机及其所在的楼栋单元门口机的信息。Any terminal in the target group can perform handshake communication with other terminals in the group through the IPv6 multicast address to obtain the organizational structure information of the target group, such as the types of all terminals in the target group and the location of each terminal in the target group. The role played by the target group. Exemplarily, if an indoor unit in the target group performs handshake communication with other terminal units in the group through the IPv6 multicast address, it can learn about other indoor units in the room where the terminal unit is located and the door of the building unit where the terminal unit is located. machine information.
在本实施例中,通过获取用户通过终端机输入的目标组的组号,并将该组号根据运算公式转换成预设网段内的IPv6地址,以便目标组内的终端机在空闲或必要时进行握手通信,以了解目标组的组织架构信息。由此,低对讲系统对中心数据库的依赖,提高对讲系统的可靠性。In this embodiment, by obtaining the group number of the target group input by the user through the terminal, and converting the group number into an IPv6 address in the preset network segment according to the calculation formula, so that the terminal in the target group is idle or necessary Handshake communication is carried out in order to understand the organizational structure information of the target group. Thus, the intercom system's dependence on the central database is reduced, and the reliability of the intercom system is improved.
实施例四Embodiment four
图6是本发明实施例四提供的一种数字对讲系统的结构示意图,如图4所示,所述系统包括:Fig. 6 is a schematic structural diagram of a digital intercom system provided in Embodiment 4 of the present invention. As shown in Fig. 4, the system includes:
第一响应获取单元,用于响应于终端机的对讲请求,获取用户通过所述终端机输入的目标机的对讲号码;The first response obtaining unit is used to obtain the intercom number of the target machine input by the user through the terminal in response to the intercom request of the terminal;
第一转换连接单元,用于基于运算公式将所述目标机的对讲号码转换成预设网段内的IP地址,基于该IP地址实现终端机与目标机的对讲连接。The first conversion and connection unit is used to convert the intercom number of the target machine into an IP address in a preset network segment based on an operation formula, and realize the intercom connection between the terminal machine and the target machine based on the IP address.
本发明实施例提供的一种数字对讲系统,通过获取用户通过终端机输入的目标机的对讲号码,并将该对讲号码根据运算公式转换成预设网段内的IPv6地址,以便基于该IPv6地址实现终端机与目标机的对讲连接。由此,在不增加成本和系统复杂性的前提下,降低对讲系统对中心服务器的依赖,提高对讲系统的可靠性。A digital intercom system provided by an embodiment of the present invention obtains the intercom number of the target machine input by the user through the terminal, and converts the intercom number into an IPv6 address in the preset network segment according to the calculation formula, so as to be based on The IPv6 address realizes the intercom connection between the terminal machine and the target machine. Therefore, without increasing the cost and complexity of the system, the dependence of the intercom system on the central server is reduced, and the reliability of the intercom system is improved.
在上述各实施例的基础上,所述系统还包括:On the basis of the above-mentioned embodiments, the system also includes:
分组单元,用于将多个终端机划分到目标组中,所述目标组对应一个组号;a grouping unit, configured to divide multiple terminals into target groups, and the target group corresponds to a group number;
第二响应获取单元,用于响应于终端机向目标组内的多个目标机的呼叫请求,获取所述目标组的组号;The second response obtaining unit is used to obtain the group number of the target group in response to the call request from the terminal to multiple target machines in the target group;
第二转换连接单元,用于基于运算公式将所述目标机的组号转换成预设网段内的IP组播地址,基于该IP组播地址实现所述终端机与目标组内的多个目标机的对讲连接。The second conversion and connection unit is used to convert the group number of the target machine into an IP multicast address in a preset network segment based on an operation formula, and based on the IP multicast address, realize the connection between the terminal machine and multiple terminals in the target group The intercom connection of the target machine.
在上述各实施例的基础上,所述系统还包括:On the basis of the above-mentioned embodiments, the system also includes:
响应请求单元,用于响应于所述目标组内的终端机通过所述IP组播地址进行的握手通讯请求;A response request unit, configured to respond to the handshake communication request performed by the terminals in the target group through the IP multicast address;
通信单元,用于将所述目标组的组织架构信息发送至所述目标组内的终端机。A communication unit, configured to send the organizational structure information of the target group to the terminals in the target group.
在上述各实施例的基础上,所述第一转换连接单元具体用于:On the basis of the above-mentioned embodiments, the first converting and connecting unit is specifically used for:
将组成对讲号码的终端类型、数字段及分机号基于公式转换成二进制数,并存放在预设网段内的IP地址的相应数位上,基于该IP地址实现终端机与目标机的对讲连接。Convert the terminal type, digital field and extension number that make up the intercom number into binary numbers based on the formula, and store them in the corresponding digits of the IP address in the preset network segment, and realize the intercom between the terminal and the target machine based on the IP address connect.
在上述各实施例的基础上,所述IP地址为IPV6地址,相应的,所述IP组播地址为IPV6组播地址。On the basis of the foregoing embodiments, the IP address is an IPV6 address, and correspondingly, the IP multicast address is an IPV6 multicast address.
本发明实施例所提供的一种数字对讲系统可执行本发明任意实施例所提供的一种数字对讲方法,具备执行方法相应的功能模块和有益效果。A digital intercom system provided in an embodiment of the present invention can execute a digital intercom method provided in any embodiment of the present invention, and has corresponding functional modules and beneficial effects for executing the method.
注意,上述仅为本发明的较佳实施例及所运用技术原理。本领域技术人员会理解,本发明不限于这里所述的特定实施例,对本领域技术人员来说能够进行各种明显的变化、重新调整和替代而不会脱离本发明的保护范围。因此,虽然通过以上实施例对本发明进行了较为详细的说明,但是本发明不仅仅限于以上实施例,在不脱离本发明构思的情况下,还可以包括更多其他等效实施例,而本发明的范围由所附的权利要求范围决定。Note that the above are only preferred embodiments of the present invention and applied technical principles. Those skilled in the art will understand that the present invention is not limited to the specific embodiments described herein, and that various obvious changes, readjustments and substitutions can be made by those skilled in the art without departing from the protection scope of the present invention. Therefore, although the present invention has been described in detail through the above embodiments, the present invention is not limited to the above embodiments, and can also include more other equivalent embodiments without departing from the concept of the present invention, and the present invention The scope is determined by the scope of the appended claims.
Claims (10)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810214098.9A CN108471440B (en) | 2018-03-15 | 2018-03-15 | Digital talkback method and system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810214098.9A CN108471440B (en) | 2018-03-15 | 2018-03-15 | Digital talkback method and system |
Publications (2)
Publication Number | Publication Date |
---|---|
CN108471440A true CN108471440A (en) | 2018-08-31 |
CN108471440B CN108471440B (en) | 2021-04-30 |
Family
ID=63264465
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201810214098.9A Active CN108471440B (en) | 2018-03-15 | 2018-03-15 | Digital talkback method and system |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN108471440B (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110891096A (en) * | 2019-11-15 | 2020-03-17 | 珠海数字动力科技股份有限公司 | Building intercom networking system and networking method |
CN112187715A (en) * | 2020-08-25 | 2021-01-05 | 杭州叙简科技股份有限公司 | Multicast-based POC (Point of sale) large-scale cluster distribution method and system |
CN113766436A (en) * | 2021-07-27 | 2021-12-07 | 上海纳雅智能科技有限公司 | Wireless intercom method and system |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1868178A (en) * | 2003-10-22 | 2006-11-22 | 松下电器产业株式会社 | Packet Distribution Control Method |
CN101888456A (en) * | 2009-05-14 | 2010-11-17 | Tcl集团股份有限公司 | Terminal device for intercom system, intercom system and method thereof |
CN101931791A (en) * | 2009-06-24 | 2010-12-29 | Tcl集团股份有限公司 | Intercom system terminal device as well as intercom system and communication method thereof |
US8364129B1 (en) * | 2006-12-22 | 2013-01-29 | Advanced Ground Information Systems, Inc. | Method to provide ad hoc and password protected digital and voice networks |
-
2018
- 2018-03-15 CN CN201810214098.9A patent/CN108471440B/en active Active
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1868178A (en) * | 2003-10-22 | 2006-11-22 | 松下电器产业株式会社 | Packet Distribution Control Method |
US8364129B1 (en) * | 2006-12-22 | 2013-01-29 | Advanced Ground Information Systems, Inc. | Method to provide ad hoc and password protected digital and voice networks |
CN101888456A (en) * | 2009-05-14 | 2010-11-17 | Tcl集团股份有限公司 | Terminal device for intercom system, intercom system and method thereof |
CN101931791A (en) * | 2009-06-24 | 2010-12-29 | Tcl集团股份有限公司 | Intercom system terminal device as well as intercom system and communication method thereof |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110891096A (en) * | 2019-11-15 | 2020-03-17 | 珠海数字动力科技股份有限公司 | Building intercom networking system and networking method |
CN112187715A (en) * | 2020-08-25 | 2021-01-05 | 杭州叙简科技股份有限公司 | Multicast-based POC (Point of sale) large-scale cluster distribution method and system |
CN113766436A (en) * | 2021-07-27 | 2021-12-07 | 上海纳雅智能科技有限公司 | Wireless intercom method and system |
CN113766436B (en) * | 2021-07-27 | 2022-08-30 | 上海纳雅智能科技有限公司 | Wireless intercom method and system |
Also Published As
Publication number | Publication date |
---|---|
CN108471440B (en) | 2021-04-30 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN100409217C (en) | Internetwork protocol address distribution equipment and method | |
CN104137518B (en) | Internet protocol connection in Service-Oriented Architecture Based bus | |
CN101175000A (en) | Method and device for automatic IP address detection | |
JP4948839B2 (en) | Method and apparatus for allocating network subscriber device addresses in a ProfitetIO network | |
CN108471440B (en) | Digital talkback method and system | |
CN101610295B (en) | Stateless IPv4/IPv6 grouping transformation method using non-specific IPv6 address | |
KR101319418B1 (en) | How to Provide Information, Home Gateways, and Home Network Systems | |
CN109194525A (en) | A kind of network node configuration method and management node | |
RU2008138577A (en) | NETWORK SYSTEM | |
CN101827311A (en) | Method for realizing interconnection of mobile communication terminals in AD-HOC network | |
CN102035899B (en) | Method and device for determining addresses in IPv6 (internet protocol version 6) based LAN (local area network) | |
CN105245629A (en) | DHCP-based host communication method and device | |
CN107124337A (en) | Equipment configuration method, device, system and centralized control terminal | |
CN112235175A (en) | Access method and access device of network bridge equipment and network bridge equipment | |
CN101009692A (en) | Hardware address parsing method and communication processing device, and message processing method | |
US10581638B2 (en) | Assign tunnel tag identifying virtual local area network tunnel | |
CN1398474A (en) | Method for internet communication | |
CN107483313B (en) | Data acquisition method and system based on cascade Ethernet equipment | |
CN105357329A (en) | Business data transmission method, device and system for use in cross-Internet data center (IDC) network environment | |
WO2012021827A1 (en) | Systems and methods for managing network address information | |
CN111010425A (en) | Server connection method, load balancing equipment and electronic equipment | |
CN104506405B (en) | The method and device of cross-domain access | |
CN105357332B (en) | A kind of method for network address translation and device | |
CN100479457C (en) | Implementation method for transferring data in virtual private network | |
CN115174310B (en) | PDN dialing and configuration method, system, device, equipment and storage medium |
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 | ||
TR01 | Transfer of patent right | ||
TR01 | Transfer of patent right |
Effective date of registration: 20210526 Address after: 523000 room 805, unit 2, building 1, No.2, headquarters 2nd Road, Songshanhu Park, Dongguan City, Guangdong Province Patentee after: Guangdong Kedi Intelligent Engineering Co., Ltd Address before: 523000 Building 1, Caiyi Plaza, Dongcheng Science Park, Dongcheng District, Dongguan City, Guangdong Province Patentee before: GUANGDONG TRI-SUN ELECTRONICS TECHNOLOGY Co.,Ltd. |