CN105681289A - SIP-based intelligent terminal cluster intercom system - Google Patents
SIP-based intelligent terminal cluster intercom system Download PDFInfo
- Publication number
- CN105681289A CN105681289A CN201610005985.6A CN201610005985A CN105681289A CN 105681289 A CN105681289 A CN 105681289A CN 201610005985 A CN201610005985 A CN 201610005985A CN 105681289 A CN105681289 A CN 105681289A
- Authority
- CN
- China
- Prior art keywords
- module
- sip
- terminal
- intelligent terminal
- networking
- 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
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/1066—Session management
-
- 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/1073—Registration or de-registration
-
- 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/1101—Session protocols
- H04L65/1104—Session initiation protocol [SIP]
-
- 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/01—Protocols
- H04L67/10—Protocols in which an application is distributed across nodes in the network
- H04L67/104—Peer-to-peer [P2P] networks
- H04L67/1044—Group management mechanisms
-
- 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/01—Protocols
- H04L67/12—Protocols specially adapted for proprietary or special-purpose networking environments, e.g. medical networks, sensor networks, networks in vehicles or remote metering networks
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W84/00—Network topologies
- H04W84/18—Self-organising networks, e.g. ad-hoc networks or sensor networks
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W84/00—Network topologies
- H04W84/02—Hierarchically pre-organised networks, e.g. paging networks, cellular networks, WLAN [Wireless Local Area Network] or WLL [Wireless Local Loop]
- H04W84/04—Large scale networks; Deep hierarchical networks
- H04W84/08—Trunked mobile radio systems
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W84/00—Network topologies
- H04W84/02—Hierarchically pre-organised networks, e.g. paging networks, cellular networks, WLAN [Wireless Local Area Network] or WLL [Wireless Local Loop]
- H04W84/10—Small scale networks; Flat hierarchical networks
- H04W84/12—WLAN [Wireless Local Area Networks]
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- General Business, Economics & Management (AREA)
- Multimedia (AREA)
- Business, Economics & Management (AREA)
- Computing Systems (AREA)
- Physics & Mathematics (AREA)
- Mathematical Physics (AREA)
- Theoretical Computer Science (AREA)
- Health & Medical Sciences (AREA)
- General Health & Medical Sciences (AREA)
- Medical Informatics (AREA)
- Mobile Radio Communication Systems (AREA)
- Telephonic Communication Services (AREA)
Abstract
本发明公开了一种基于SIP的智能终端集群对讲系统,包括至少两个智能终端,其中,所述智能终端包括无线通信模块、SIP服务管理模块、对讲模块、数据库管理模块和用户监控模块;任意选取一个智能终端作为组网终端,其它智能终端均作为非组网终端;其中无线通信模块提供智能终端设备的无线网络的建立与连接;SIP服务管理模块用于SIP会话的管理;对讲模块提供局域网内的用户的集群对讲;用户监控模块用于监控局域网内的智能终端的电量和网络状态信息;智能终端还包括位置定位模块,用于定位同一组网中用户的地理位置信息。本发明实现了SIP服务器功能到智能终端的移植,并充分考虑到移动设备的易耗电性,实现了局域网内移动设备网络连接的自组织功能。
The invention discloses a SIP-based intelligent terminal cluster intercom system, which includes at least two intelligent terminals, wherein the intelligent terminal includes a wireless communication module, a SIP service management module, an intercom module, a database management module and a user monitoring module ;Arbitrarily select an intelligent terminal as a networking terminal, and other intelligent terminals are all as non-networking terminals; the wireless communication module provides the establishment and connection of the wireless network of the intelligent terminal equipment; the SIP service management module is used for the management of SIP sessions; the intercom The module provides cluster intercom for users in the local area network; the user monitoring module is used to monitor the power and network status information of the intelligent terminal in the local area network; the intelligent terminal also includes a location positioning module, which is used to locate the geographic location information of users in the same network. The invention realizes the transplantation of the SIP server function to the intelligent terminal, fully considers the easy power consumption of the mobile device, and realizes the self-organizing function of the network connection of the mobile device in the local area network.
Description
技术领域 technical field
本发明涉及无线通信的技术领域,特别是一种基于SIP的智能终端集群对讲系统。 The invention relates to the technical field of wireless communication, in particular to a SIP-based intelligent terminal cluster intercom system.
背景技术 Background technique
目前,无线通信技术随着人类的生活水平的提高不断发展。而伴随着智能手机的快速发展,通信方式和生活服务也开始进化,变得更加轻便、低成本和智能化。VoIP(voiceoverInternetprotocol,IP电话)这种将模拟信号数字化并将数据打包在全球互联的Internet上实时传递的通信方式逐渐得到了认可,各种应用在VoIP上的协议也获得了快速的发展。目前最流行的VoIP信令协议是SIP协议(SessionInitializationProtocol)。SIP协议是一个基于文本编码的IP应用层的信令控制协议,主要用于创建、修改和释放一个或多个参与者的会话。近年来,得益于简单、灵活、开放、易于扩展等优势SIP得到了越来越广泛的应用。而智能终端设备平台凭借强大的功能、良好的界面、广泛的商业支持。成为当今最流行的手机操作系统之一。虽然目前在智能终端上实现了很多集群对讲功能,但是总体而言都存在以下问题和不足: At present, wireless communication technology continues to develop along with the improvement of human living standards. With the rapid development of smart phones, communication methods and life services have also begun to evolve, becoming more portable, low-cost and intelligent. VoIP (voice over Internet protocol, IP phone), a communication method that digitizes analog signals and packages data in real time on the globally interconnected Internet, has gradually been recognized, and various protocols applied to VoIP have also achieved rapid development. Currently the most popular VoIP signaling protocol is the SIP protocol (SessionInitializationProtocol). The SIP protocol is a text-encoded IP application layer signaling control protocol, which is mainly used to create, modify and release sessions of one or more participants. In recent years, benefiting from advantages such as simplicity, flexibility, openness, and easy expansion, SIP has been more and more widely used. The intelligent terminal equipment platform relies on its powerful functions, good interface, and extensive commercial support. Become one of the most popular mobile phone operating systems today. Although many trunking intercom functions have been implemented on smart terminals, there are generally the following problems and deficiencies:
1.系统通常包括无线子系统、调度子系统、互联子系统三大部分,每一部分又包括各自相应的组成设备,因此网络构建复杂、维护费用高; 1. The system usually includes three parts: wireless subsystem, dispatching subsystem, and interconnection subsystem, and each part includes its corresponding component equipment, so the network construction is complicated and the maintenance cost is high;
2.智能设备耗电快,组网时电量如果得不到及时的补充,集群对讲系统则不能长时间使用; 2. The power consumption of smart devices is fast. If the power is not replenished in time during networking, the cluster intercom system cannot be used for a long time;
3.受环境影响大,在无线信号不太好的野外或突发现场,难以使用; 3. It is greatly affected by the environment, and it is difficult to use in the field or sudden scene with poor wireless signal;
4.现有智能终端设备对讲系统对远程服务依赖性强,网络受通信环境影响大以及在使用过程中遇到电量不足退出系统的问题。 4. The existing intelligent terminal equipment intercom system is highly dependent on remote services, the network is greatly affected by the communication environment, and the problem of exiting the system due to insufficient power during use.
发明内容 Contents of the invention
本发明所要解决的技术问题是克服现有技术的不足而提供一种基于SIP的智能终端集群对讲系统,该系统在智能终端上运行,采用分布式集群通信方式,集服务器和客户端于一体;在系统中加入SIP服务管理模块用来管理SIP会话,使用智能终端设备中的轻便数据库实现数据库服务器的功能,将远程服务器移至本地,降低系统对其他设备的依赖性;通过智能终端的无线通信模块实现局域网的组建和连接,并在系统中添加用户监控模块用来监控智能终端的电量,与无线通信模块实现智能终端的自组织网络功能。 The technical problem to be solved by the present invention is to overcome the deficiencies of the prior art and provide a SIP-based intelligent terminal cluster intercom system, which runs on intelligent terminals, adopts a distributed cluster communication mode, and integrates servers and clients ; Add a SIP service management module to the system to manage SIP sessions, use the portable database in the smart terminal device to realize the function of the database server, move the remote server to the local area, and reduce the system's dependence on other devices; The communication module realizes the establishment and connection of the local area network, and adds a user monitoring module to the system to monitor the power of the smart terminal, and realizes the self-organizing network function of the smart terminal with the wireless communication module.
本发明为解决上述技术问题采用以下技术方案: The present invention adopts the following technical solutions for solving the problems of the technologies described above:
根据本发明提出的一种基于SIP的智能终端集群对讲系统,包括至少两个智能终端,其中,所述智能终端包括无线通信模块、SIP服务管理模块、对讲模块、数据库管理模块和用户监控模块;任意选取一个智能终端作为组网终端,其它智能终端均作为非组网终端;其中, A SIP-based smart terminal cluster intercom system proposed according to the present invention includes at least two smart terminals, wherein the smart terminal includes a wireless communication module, a SIP service management module, an intercom module, a database management module and user monitoring module; arbitrarily select an intelligent terminal as a networking terminal, and other intelligent terminals as non-networking terminals; among them,
组网终端中的无线通信模块,用于启动无线热点建立无线局域网,并接收其它智能终端中无线通信模块的连接请求; The wireless communication module in the networking terminal is used to start the wireless hotspot to establish a wireless local area network, and receive connection requests from the wireless communication modules in other intelligent terminals;
组网终端中的SIP服务管理模块,用于当有其他智能终端加入该无线局域网时,随机产生一个SIP服务的用户名和密码,该用户名和密码与该智能终端的IP地址关联起来并注册SIP服务,注册成功后将该用户名、密码和IP地址存储在组网终端中的数据库管理模块; The SIP service management module in the networking terminal is used to randomly generate a user name and password for the SIP service when other smart terminals join the wireless local area network, and the user name and password are associated with the IP address of the smart terminal and registered for the SIP service , after successful registration, store the user name, password and IP address in the database management module in the networking terminal;
组网终端中的用户监控模块,用于实时监控当前组网终端的电量,若电量低于预设最低电量阀值时,输出检测信号至其它非组网终端中的用户监控模块; The user monitoring module in the networking terminal is used to monitor the power of the current networking terminal in real time, and if the power is lower than the preset minimum power threshold, output a detection signal to the user monitoring module in other non-networking terminals;
非组网终端中的用户监控模块,用于当接收到检测信号时,将各自监控的电量输出至数据库管理模块进行存储,组网终端中的用户监控模块读取数据库管理模块中的电量,并选取电量最多的智能终端作为新的组网终端重新组网,触发新的组网终端的SIP服务管理模块,更新新网络中所有智能终端的IP地址、电量信息、用户名和密码; The user monitoring module in the non-networking terminal is used to output the monitored power to the database management module for storage when receiving the detection signal, and the user monitoring module in the networking terminal reads the power in the database management module, and Select the smart terminal with the most power as the new networking terminal to re-network, trigger the SIP service management module of the new networking terminal, and update the IP addresses, power information, user names and passwords of all smart terminals in the new network;
对讲模块,用于发起对讲请求并通过无线通信模块输出至组网终端中的SIP服务管理模块;SIP服务管理模块收到对讲请求并通过无线通信模块向其他所有智能终端转发该对讲请求,建立所有智能终端的SIP会话连接。 The intercom module is used to initiate an intercom request and output it to the SIP service management module in the networking terminal through the wireless communication module; the SIP service management module receives the intercom request and forwards the intercom to all other intelligent terminals through the wireless communication module Request to establish SIP session connections for all smart terminals.
作为本发明所述的一种基于SIP的智能终端集群对讲系统进一步优化方案,所述智能终端还包括位置定位模块和显示模块;其中,位置定位模块,用于定位将该智能终端的地理位置,并将该地理位置通过无线通信模块传输至其它智能终端中的显示模块。 As a further optimization scheme of a SIP-based intelligent terminal cluster intercom system according to the present invention, the intelligent terminal also includes a position positioning module and a display module; wherein, the position positioning module is used to locate the geographical position of the intelligent terminal , and transmit the geographic location to the display modules in other smart terminals through the wireless communication module.
作为本发明所述的一种基于SIP的智能终端集群对讲系统进一步优化方案,所述对讲模块是通过SIP协议实现对讲功能,实现集群对讲时,采用的通信方式为单工通信;实现一个智能终端只与另一智能终端对讲时,采用的通信方式为双工通信。 As a further optimization scheme of a SIP-based intelligent terminal cluster intercom system according to the present invention, the intercom module realizes the intercom function through the SIP protocol, and when realizing the cluster intercom, the communication mode adopted is simplex communication; When one smart terminal only talks to another smart terminal, the communication mode adopted is duplex communication.
作为本发明所述的一种基于SIP的智能终端集群对讲系统进一步优化方案,所述对讲模块中的SIP协议实现是在开源SIP协议栈的基础上进行扩展并移植的,包括核心协议栈和信令控制两个部分。 As a further optimization scheme of a SIP-based intelligent terminal cluster intercom system described in the present invention, the implementation of the SIP protocol in the intercom module is expanded and transplanted on the basis of the open source SIP protocol stack, including the core protocol stack and signaling control two parts.
作为本发明所述的一种基于SIP的智能终端集群对讲系统进一步优化方案,所述无线通信模块进行用户信息数据的传输时,采用TCP协议进行传输。 As a further optimization scheme of the SIP-based intelligent terminal cluster intercom system of the present invention, when the wireless communication module transmits user information data, it uses the TCP protocol for transmission.
本发明采用以上技术方案与现有技术相比,具有以下技术效果: Compared with the prior art, the present invention adopts the above technical scheme and has the following technical effects:
(1)系统采用分布式集群对讲模式,无需专用服务器,网络中的各终端都可充当服务器功能,减少了系统对其他设备的依赖性和复杂性; (1) The system adopts a distributed cluster intercom mode, without a dedicated server, and each terminal in the network can act as a server function, reducing the dependence and complexity of the system on other devices;
(2)当检测到网络中组网设备电量不足时,可以选择网络中电量最高的智能终端设备作为新的组网设备重新组网,提高系统使用时间和可靠性; (2) When it is detected that the power of the networking equipment in the network is insufficient, the smart terminal device with the highest power in the network can be selected as the new networking equipment to re-network, improving the system usage time and reliability;
(3)系统轻巧便利,在通信环境较差的情况下可实现快速组网,维护方便。 (3) The system is light and convenient, and it can realize fast networking and easy maintenance in the case of poor communication environment.
附图说明 Description of drawings
图1是本发明集群对讲系统中的智能终端的模块示意图。 FIG. 1 is a block diagram of an intelligent terminal in the trunking intercom system of the present invention.
图2是本发明提供的基于智能终端设备的集群对讲系统的界面示意图。 Fig. 2 is a schematic interface diagram of the cluster intercom system based on the intelligent terminal equipment provided by the present invention.
图3是本发明运作的流程图。 Fig. 3 is a flowchart of the operation of the present invention.
图4是本发明用户监控模块的流程图。 Fig. 4 is a flow chart of the user monitoring module of the present invention.
具体实施方式 detailed description
下面结合附图对本发明的技术方案做进一步的详细说明: Below in conjunction with accompanying drawing, technical scheme of the present invention is described in further detail:
如图1所示,是本发明集群对讲系统中的智能终端的模块示意图。包括至少两个智能终端,其中,所述智能终端包括无线通信模块、SIP服务管理模块、对讲模块、数据库管理模块和用户监控模块;任意选取一个智能终端作为组网终端,其它智能终端均作为非组网终端;其中,图3是本发明运作的流程图。具体如下: As shown in FIG. 1 , it is a block diagram of an intelligent terminal in the trunking intercom system of the present invention. Including at least two intelligent terminals, wherein the intelligent terminal includes a wireless communication module, a SIP service management module, an intercom module, a database management module and a user monitoring module; any intelligent terminal is selected as a networking terminal, and other intelligent terminals are used as Non-networking terminal; wherein, FIG. 3 is a flow chart of the operation of the present invention. details as follows:
组网终端中的无线通信模块,用于启动无线热点建立无线局域网,并接收其它智能终端中无线通信模块的连接请求; The wireless communication module in the networking terminal is used to start the wireless hotspot to establish a wireless local area network, and receive connection requests from the wireless communication modules in other intelligent terminals;
组网终端中的SIP服务管理模块,用于当有其他智能终端加入该无线局域网时,随机产生一个SIP服务的用户名和密码,该用户名和密码与该智能终端的IP地址关联起来并注册SIP服务,注册成功后将该用户名、密码和IP地址存储在组网终端中的数据库管理模块; The SIP service management module in the networking terminal is used to randomly generate a user name and password for the SIP service when other smart terminals join the wireless local area network, and the user name and password are associated with the IP address of the smart terminal and registered for the SIP service , after successful registration, store the user name, password and IP address in the database management module in the networking terminal;
组网终端中的用户监控模块,用于实时监控当前组网终端的电量,若电量低于预设最低电量阀值时,输出检测信号至其它非组网终端中的用户监控模块; The user monitoring module in the networking terminal is used to monitor the power of the current networking terminal in real time, and if the power is lower than the preset minimum power threshold, output a detection signal to the user monitoring module in other non-networking terminals;
非组网终端中的用户监控模块,用于当接收到检测信号时,将各自监控的电量输出至数据库管理模块进行存储,组网终端中的用户监控模块读取数据库管理模块中的电量,并选取电量最多的智能终端作为新的组网终端重新组网,触发新的组网终端的SIP服务管理模块,更新新网络中所有智能终端的IP地址、电量信息、用户名和密码; The user monitoring module in the non-networking terminal is used to output the monitored power to the database management module for storage when receiving the detection signal, and the user monitoring module in the networking terminal reads the power in the database management module, and Select the smart terminal with the most power as the new networking terminal to re-network, trigger the SIP service management module of the new networking terminal, and update the IP addresses, power information, user names and passwords of all smart terminals in the new network;
对讲模块,用于发起对讲请求并通过无线通信模块输出至组网终端中的SIP服务管理模块;SIP服务管理模块收到对讲请求并通过无线通信模块向其他所有智能终端转发该对讲请求,建立所有智能终端的SIP会话连接。 The intercom module is used to initiate an intercom request and output it to the SIP service management module in the networking terminal through the wireless communication module; the SIP service management module receives the intercom request and forwards the intercom to all other intelligent terminals through the wireless communication module Request to establish SIP session connections for all smart terminals.
所述智能终端还包括位置定位模块和显示模块,显示模块在图1中未画出;其中,位置定位模块,用于定位将该智能终端的地理位置,并将该地理位置通过无线通信模块传输至其它智能终端中的显示模块。 The intelligent terminal also includes a position positioning module and a display module, and the display module is not shown in Fig. 1; wherein, the position positioning module is used to locate the geographical position of the intelligent terminal, and transmit the geographical position through the wireless communication module to the display modules in other smart terminals.
数据库管理模块用于存储所有用户信息如IP网络信息、电量信息、用户注册信息。 The database management module is used to store all user information such as IP network information, power information, and user registration information.
当整个系统运行时,组网终端中的SIP服务管理模块初始化,管理整个网络中的SIP服务,其他非组网终端通过无线通信模块连接至组网终端并通过对讲模块实现SIP对讲。 When the whole system is running, the SIP service management module in the networking terminal is initialized to manage the SIP service in the entire network. Other non-networking terminals are connected to the networking terminal through the wireless communication module and realize SIP intercom through the intercom module.
无线通信模块分为组网功能和网络连接功能;初次组网时,为手动组网,所选取的组网终端手动开启智能终端的热点功能建立无线局域网络。非组网终端手动接入该网络,连接成功后通过广播获取网络中其他终端的IP网络信息,然后与其他终端建立TCP连接获取电量信息和地理位置信息,并将获取的IP网络信息、电量信息、地理位置信息存储在数据库管理模块中。重新组网时,组网终端中的用户监控模块重新选取组网终端之后,触发新选取的组网终端中无线通信模块的组网功能,自动开启无线热点建立新的网络,其他非组网终端自动启动无线通信模块中的网络连接功能接入新的网络。 The wireless communication module is divided into networking function and network connection function; when networking for the first time, it is a manual networking, and the selected networking terminal manually turns on the hotspot function of the smart terminal to establish a wireless local area network. The non-networking terminal manually accesses the network. After the connection is successful, it obtains the IP network information of other terminals in the network through broadcasting, and then establishes a TCP connection with other terminals to obtain power information and geographic location information, and transfers the obtained IP network information and power information , The geographic location information is stored in the database management module. When re-networking, after the user monitoring module in the networking terminal reselects the networking terminal, it triggers the networking function of the wireless communication module in the newly selected networking terminal, automatically turns on the wireless hotspot to establish a new network, and other non-networking terminals Automatically start the network connection function in the wireless communication module to access a new network.
对讲模块中包含两个功能,集群对讲功能和好友对讲功能,这两个功能都是通过SIP服务管理模块实现的。用户发起集群对讲请求,组网终端中的SIP服务管理模块接收集群对讲请求并转发给网络中其他所有终端,并与他们建立SIP会话连接,开始集群对讲,采用的通信方式为单工通信。用户发起好友对讲请求,组网终端中的SIP服务管理模块接收该请求并转发给指定好友,然后与所请求的好友建立SIP会话连接,开始好友对讲,采用的通信方式为双工通信。 The intercom module includes two functions, the cluster intercom function and the friend intercom function, both of which are implemented through the SIP service management module. The user initiates a cluster intercom request, and the SIP service management module in the networking terminal receives the cluster intercom request and forwards it to all other terminals in the network, establishes a SIP session connection with them, and starts the cluster intercom. The communication mode adopted is simplex communication. The user initiates a friend intercom request, and the SIP service management module in the networking terminal receives the request and forwards it to a designated friend, then establishes a SIP session connection with the requested friend, and starts the friend intercom, using duplex communication.
对讲模块中的SIP协议实现是在开源SIP协议栈的基础上进行扩展并移植的,包括核心协议栈和信令控制两个部分。其中核心协议栈用于解析并生成符合SIP及其扩展协议格式的数据报;信令控制部分用于状态机控制消息的发送接收以及SIP会话的开始和结束。 The implementation of the SIP protocol in the intercom module is extended and transplanted on the basis of the open source SIP protocol stack, including the core protocol stack and signaling control. Among them, the core protocol stack is used to analyze and generate datagrams conforming to SIP and its extended protocol format; the signaling control part is used to send and receive state machine control messages and start and end SIP sessions.
位置定位模块在智能终端接入网络之后开始定位该智能终端的地理位置信息,并定时向网络中其他智能终端更新位置信息,当用户使用定位功能时能快速的在地图上显示网络中所有成员的位置信息。 The location positioning module starts to locate the geographic location information of the smart terminal after the smart terminal is connected to the network, and regularly updates the location information to other smart terminals in the network. When the user uses the positioning function, it can quickly display the location information of all members in the network on the map. location information.
以下是基于智能终端的集群对讲系统的一个实施方案: The following is an implementation of a smart terminal-based trunking intercom system:
选用装载有移动智能终端系统的智能终端A、终端B、终端C。终端均具有无线通信的功能,且均安装该集群对讲系统。 Select intelligent terminal A, terminal B, and terminal C loaded with mobile intelligent terminal systems. The terminals all have the function of wireless communication, and all of them are equipped with the trunking intercom system.
先选用终端C组建无线局域网络,启动该设备中的集群对讲系统,同时触发该系统的SIP服务管理模块的初始化,产生一个SIP服务的用户名和密码与终端C的IP地址关联起来并注册SIP服务。 First select terminal C to set up a wireless local area network, start the cluster intercom system in the device, and trigger the initialization of the SIP service management module of the system at the same time, generate a SIP service user name and password associated with the IP address of terminal C and register SIP Serve.
终端A与终端B连接终端C组建的无线局域网与终端C形成一个自组织网络,终端A、B在接入网络后,终端C的SIP服务管理模块会随机产生两个SIP服务的用户名和密码,根据入网先后顺序将这两个用户名和密码与A、B接入网络的IP地址关联起来并注册SIP服务,注册成功后将该用户信息保存在本地数据库系统中。终端A、B登陆成功之后进入主界面,A和B的无线通信模块通过广播的形式获取局域网内其他用户的IP地址,然后与其他用户建立连接获取各用户的电量状态信息、地理位置信息、用户注册信息并存储在本地数据库系统中。接着A和B的用户监控模块初始化,并监控着终端C的电量信息。 Terminal A and terminal B are connected to the wireless local area network formed by terminal C and terminal C to form an ad hoc network. After terminals A and B access the network, the SIP service management module of terminal C will randomly generate two user names and passwords for SIP services. According to the order of network access, associate the two user names and passwords with the IP addresses of A and B accessing the network and register for the SIP service. After successful registration, save the user information in the local database system. Terminals A and B enter the main interface after successful login. The wireless communication modules of A and B obtain the IP addresses of other users in the LAN through broadcasting, and then establish connections with other users to obtain the power status information, geographical location information, and user information of each user. Information is registered and stored in a local database system. Then the user monitoring modules of A and B are initialized and monitor the power information of terminal C.
终端A进入对讲界面如图2,按住麦克风发起群组呼叫,局域网内终端B和C都可从耳麦中收听到终端A传输过来的语音,讲完之后放下麦克风按钮可结束讲话。而在终端A、B、C锁屏的状态下,按音量键可以直接发起呼叫;对于终端B、C在待机的状态下收到终端A发来的呼叫时震动设备以提示用户,同时播放收到的语音;对于终端B、C处于通话状态下收到终端A发来的呼叫时,以提升音和震动的方式提示终端B、C,在终端B、C通话结束后,播放收到的呼叫语音。 Terminal A enters the intercom interface as shown in Figure 2. Press and hold the microphone to initiate a group call. Both terminals B and C in the LAN can listen to the voice transmitted from terminal A through the headset. After speaking, put down the microphone button to end the speech. When terminals A, B, and C are locked, press the volume button to initiate a call directly; when terminals B and C receive a call from terminal A in the standby state, they vibrate the device to prompt the user, and at the same time play the received call. Received voice; when terminals B and C receive a call from terminal A when they are in a conversation, the terminal B and C will be prompted with a boost tone and vibration, and the received call will be played after the terminal B and C end the call voice.
终端A在对讲界面如图2中的成员列表中显示终端B和C的用户名称,点击终端B进入与终端B一对一对讲的界面,按下麦克风向终端B单独发起呼叫。 Terminal A displays the user names of terminals B and C in the member list in the intercom interface as shown in Figure 2. Click terminal B to enter the one-to-one intercom interface with terminal B, and press the microphone to initiate a call to terminal B alone.
终端A在菜单中选择定位功能,局域网内的所有成员(即终端A、终端B、终端C)的位置都显示在地图上。 Terminal A selects the positioning function in the menu, and the positions of all members in the LAN (ie, terminal A, terminal B, and terminal C) are displayed on the map.
用户监控模块的流程图如图4所示,用户监控模块实时检测当前组网设备(当前为终端C)的电量信息,当检测到电量低于规定阀值时,在所有用户信息中选取当前网络中电量最高的终端A作为新的组网设备,此时终端A的无线通信模块的组网功能启动,开启终端A的无线热点组建新的局域网络,终端A的SIP服务管理模块激活,终端B和终端C通过无线通信模块中的网络连接功能按照各终端之前的网络连接规律重新接入终端A的网络,同时更新新网络中所有设备的IP网络信息,并将电量监控对象切换成终端A。 The flow chart of the user monitoring module is shown in Figure 4. The user monitoring module detects the power information of the current networking device (currently terminal C) in real time. When it detects that the power is lower than the specified threshold, it selects the current network from all user information. Terminal A with the highest battery power is used as a new networking device. At this time, the networking function of the wireless communication module of terminal A is started, and the wireless hotspot of terminal A is turned on to form a new local area network. The SIP service management module of terminal A is activated, and terminal B And terminal C reconnects to the network of terminal A through the network connection function in the wireless communication module according to the previous network connection rules of each terminal, and at the same time updates the IP network information of all devices in the new network, and switches the power monitoring object to terminal A.
以上所述的具体实施方案,对本发明的目的、技术方案和有益效果进行了进一步的详细说明,所应理解的是,以上所述仅为本发明的具体实施方案而已,并非用以限定本发明的范围,任何本领域的技术人员,在不脱离本发明的构思和原则的前提下所做出的等同变化与修改,均应属于本发明保护的范围。 The specific embodiments described above have further described the purpose, technical solutions and beneficial effects of the present invention in detail. It should be understood that the above descriptions are only specific embodiments of the present invention, and are not intended to limit the present invention. Any equivalent changes and modifications made by those skilled in the art without departing from the concepts and principles of the present invention shall fall within the protection scope of the present invention.
Claims (5)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610005985.6A CN105681289A (en) | 2016-01-05 | 2016-01-05 | SIP-based intelligent terminal cluster intercom system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610005985.6A CN105681289A (en) | 2016-01-05 | 2016-01-05 | SIP-based intelligent terminal cluster intercom system |
Publications (1)
Publication Number | Publication Date |
---|---|
CN105681289A true CN105681289A (en) | 2016-06-15 |
Family
ID=56299062
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201610005985.6A Pending CN105681289A (en) | 2016-01-05 | 2016-01-05 | SIP-based intelligent terminal cluster intercom system |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN105681289A (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108259857A (en) * | 2018-04-10 | 2018-07-06 | 广州峰火电子股份有限公司 | A kind of two-way intercommunication integral system of video monitoring public broadcasting and its control method |
CN112738028A (en) * | 2020-12-14 | 2021-04-30 | 福建星网天合智能科技有限公司 | Cloud talkback method, device and system for smart community |
CN114726705A (en) * | 2022-03-22 | 2022-07-08 | 厦门亿联网络技术股份有限公司 | Centralized management method, device and system for telephone |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20070280136A1 (en) * | 2006-05-31 | 2007-12-06 | Lucent Technologies Inc. | SIP-based instant messaging in mobile ad hoc networks |
CN103227965A (en) * | 2013-05-24 | 2013-07-31 | 吉林大学 | Android intercom system based on WiFi network |
CN104994247A (en) * | 2015-05-19 | 2015-10-21 | 苏州方位通讯科技有限公司 | Communication access method of SIP terminals serving as VoIP hot spots |
-
2016
- 2016-01-05 CN CN201610005985.6A patent/CN105681289A/en active Pending
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20070280136A1 (en) * | 2006-05-31 | 2007-12-06 | Lucent Technologies Inc. | SIP-based instant messaging in mobile ad hoc networks |
CN103227965A (en) * | 2013-05-24 | 2013-07-31 | 吉林大学 | Android intercom system based on WiFi network |
CN104994247A (en) * | 2015-05-19 | 2015-10-21 | 苏州方位通讯科技有限公司 | Communication access method of SIP terminals serving as VoIP hot spots |
Non-Patent Citations (1)
Title |
---|
代威: "基于安卓端移动自组织网络的实时通信系统研究", 《中国优秀硕士学位论文全文数据库信息科技辑》 * |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108259857A (en) * | 2018-04-10 | 2018-07-06 | 广州峰火电子股份有限公司 | A kind of two-way intercommunication integral system of video monitoring public broadcasting and its control method |
CN112738028A (en) * | 2020-12-14 | 2021-04-30 | 福建星网天合智能科技有限公司 | Cloud talkback method, device and system for smart community |
CN112738028B (en) * | 2020-12-14 | 2023-12-08 | 福建星网天合智能科技有限公司 | Cloud intercom system for intelligent community |
CN114726705A (en) * | 2022-03-22 | 2022-07-08 | 厦门亿联网络技术股份有限公司 | Centralized management method, device and system for telephone |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
TWI551112B (en) | Non-transitory tangible machine readable medium and client device for circuit switched audio calls and video call transitions | |
CN106303104B (en) | method for playing video color ring and calling user equipment | |
CN105139877B (en) | Connection method of multimedia playback equipment, main equipment, control terminal and system | |
CN110012366B (en) | Wide-narrow band converged communication system and method used under public and private network IP interconnection | |
CN102136918B (en) | Method, device and system for accessing broadcast remotely | |
US20100260173A1 (en) | Apparatus and methods for bridging calls or data between heterogenous network domains | |
CA2589094A1 (en) | Enabling combinational services in a communications network | |
CN105635945B (en) | A device communication method and system based on WI-FI Aware | |
CN105722020A (en) | Intelligent earphone, intelligent earphone system and communication method | |
CN102143203A (en) | System and method for realizing synchronous sharing of multimedia files between mobile terminals | |
WO2021057776A1 (en) | Internet protocol multimedia subsystem calling method, terminal and network function | |
CN105681289A (en) | SIP-based intelligent terminal cluster intercom system | |
CN105812185A (en) | A communication connection method for a playback device | |
CN103428057B (en) | Way system in the arenas of IP based network | |
CN103905483A (en) | Audio and video sharing method, equipment and system | |
CN113747604B (en) | Communication method, device and system | |
CN108353145A (en) | Video answers record communication means and terminal | |
CN109120771A (en) | A kind of ringing control method, equipment and storage medium | |
CN102595563A (en) | Telephone terminal with converged communication function and system as well as implementation method | |
US20200186636A1 (en) | Enabling call transfer using headset | |
WO2016082607A1 (en) | Call transfer method and device | |
CN113068135B (en) | Multicast service processing method, multicast service configuration method and related equipment | |
CN104754278A (en) | SIP protocol interaction method, device and system | |
CN101895545A (en) | Service request method, device and system | |
JP2001352341A (en) | Packet communication system and its method |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
WD01 | Invention patent application deemed withdrawn after publication |
Application publication date: 20160615 |
|
WD01 | Invention patent application deemed withdrawn after publication |