Cross-domain bridging method based on SIP building intercom technology
By using indoor unit SIP bridge as a transit solution in the SIP building intercom system and encrypting it during data transmission, the connection compatibility problem in cross-domain communication is solved, and communication efficiency and data security are improved.
Patent Information
- Application Number
- CN202411859950.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-12-17
- Publication Date
- 2025-03-21
AI Technical Summary
The existing SIP building intercom system faces the problem of connection compatibility between different networks when communicating across domains, and the security and stability of data transmission are not ideal.
SIP bridge in the indoor unit is used as a transit solution, and the indoor unit is placed at the edge of the internal and external network network, and the session signaling and media stream are processed through the bridge module and the routing module, and encrypted during the data transmission process.
It improves the compatibility and communication efficiency of SIP building intercom system during cross-domain communication, enhances the security and stability of data transmission, and solves the connection compatibility problem between different networks.
Smart Images

Figure CN119676590A_ABST
Abstract
Description
Technical Field
[0001] The invention relates to the technical field of SIP building intercom, and in particular to a cross-domain bridging method based on the SIP building intercom technology. Background Art
[0002] In the current building intercom system, traditional analog intercom technology has limitations such as limited transmission distance, poor scalability, and high maintenance cost. With the development of network technology, building intercom technology based on SIP (Session Initiation Protocol) has attracted attention due to its openness, flexibility and scalability. However, the existing SIP building intercom system faces connection compatibility issues between different networks in cross-domain communication (such as communication with residents' mobile phones). In addition, the security and stability of its data transmission are not ideal. For this reason, this application proposes a cross-domain bridging method based on SIP building intercom technology. Summary of the invention
[0003] Based on the technical problems existing in the background technology, the present invention proposes a cross-domain bridging method based on SIP building intercom technology.
[0004] The present invention proposes a cross-domain bridging method based on SIP building intercom technology, comprising the following steps:
[0005] S1: Place the indoor unit at the edge of the internal and external networks. The internal network is connected to the intercom system terminal device through the network, and the external network is connected to the user network through WIFI to register to the public network SIP server and communicate with the external network SIP device;
[0006] S2: The intranet door phone calls the indoor phone, and the indoor phone receives the session signaling and media stream from the building intercom terminal;
[0007] S3: The indoor unit forwards the session signaling and media stream received in S2 to the APP and mobile phone number of the public network SIP server according to the preset routing rules, and encrypts the session signaling forwarded to the external network through the encryption module;
[0008] S4: The public network SIP server calls the APP, and selects the SIP trunk to call the IMS phone, APP, and phone ringing according to the mobile phone number;
[0009] S5: APP answers the call, the indoor unit and IMS mobile phone stop ringing, and the APP and the intranet door machine establish a call;
[0010] S6: The APP or the intranet device hangs up, and the peer end hangs up.
[0011] Preferably, in S2, the indoor unit has a built-in bridge module and a routing module, and the indoor unit receives session signaling and media streams from different networks through the bridge module, and the session signaling includes but is not limited to SIP and RTSP.
[0012] Preferably, in S3, the indoor unit selects corresponding session signaling and media mode to forward the media stream to the target network domain through a routing module according to preset rules.
[0013] Preferably, in S5, the intranet door phone belongs to the intranet device, and the intranet device also includes a management machine, a third-party SIP device and a network camera, which are in the same intranet as the indoor unit, establish a media session through SIP or RTSP, and transmit audio and video media through RTP.
[0014] Preferably, in S3, the public network SIP server is located in the external network, receives registrations from indoor units and other SIP terminals, processes SIP signaling and media streams, and supports SIP relay to the IMS network.
[0015] Preferably, in S4, a SIP relay is selected according to the mobile phone number to call an IMS mobile phone, an APP, and when the mobile phone rings, the mobile phone can also answer the call. When the mobile phone answers the call, the indoor unit and the APP stop ringing, and the mobile phone establishes a call with the intranet device.
[0016] Compared with the prior art, the present invention has the following beneficial effects:
[0017] The present invention adopts indoor unit SIP bridging as a transit solution, which improves the compatibility and communication efficiency of the SIP building intercom system in cross-domain communication, solves the connection compatibility problem between different networks faced by the SIP building intercom system in cross-domain communication, and at the same time cooperates with the encryption technology in the data transmission process to enhance the security and stability of data transmission and meet the usage requirements. BRIEF DESCRIPTION OF THE DRAWINGS
[0018] Figure 1 A connection block diagram of a cross-domain bridging method based on SIP building intercom technology proposed by the present invention;
[0019] Figure 2 The present invention is a flowchart of a cross-domain bridging method based on SIP building intercom technology proposed in the first embodiment of the present invention. DETAILED DESCRIPTION
[0020] The present invention will be further explained below in conjunction with specific embodiments.
[0021] Embodiment 1
[0022] Reference Figure 1-2This embodiment proposes a cross-domain bridging method based on SIP building intercom technology. When the intranet door phone calls the indoor phone, the indoor phone and the bound external network mobile phone and APP ring, and the APP answers, the following steps are included:
[0023] S1: Place the indoor unit at the edge of the internal and external networks. The internal network is connected to the intercom system terminal device through the network, and the external network is connected to the user network through WIFI to register to the public network SIP server and communicate with the external network SIP device;
[0024] S2: The intranet door phone calls the indoor phone, and the indoor phone receives the session signaling and media stream from the building intercom terminal. The indoor phone has a built-in bridge module and routing module. The indoor phone receives session signaling and media streams from different networks through the bridge module. The session signaling includes but is not limited to SIP and RTSP.
[0025] S3: The indoor unit bridges and forwards the session signaling and media stream received in S2 to the APP and mobile phone number of the public network SIP server according to the preset routing rules. The indoor unit selects the corresponding session signaling and media mode to forward the media stream to the target network domain according to the preset rules through the routing module;
[0026] At the same time, the session signaling forwarded to the external network is encrypted by the encryption module. For example, SIP uses TLS transmission, and RTP uses SRTP encrypted transmission. After transmission, it is decrypted by the encryption module to ensure the security of data transmission.
[0027] The public network SIP server is located in the external network, receives registrations from indoor units and other SIP terminals, processes SIP signaling and media streams, and supports SIP relay to the IMS network;
[0028] S4: The public network SIP server calls the APP, and selects the SIP trunk to call the IMS phone, APP, and phone ringing according to the mobile phone number;
[0029] S5: APP answers the call, the indoor unit and IMS mobile phone stop ringing, and the APP establishes a call with the intranet door phone. The intranet door phone belongs to the intranet device. The intranet device also includes the management machine, third-party SIP devices and network cameras, which are in the same intranet as the indoor unit. A media session is established through SIP or RTSP, and audio and video media are transmitted through RTP.
[0030] S6: APP or intranet device hangs up, and the other end hangs up;
[0031] This embodiment adopts indoor unit SIP bridging as a transit solution, which improves the compatibility and communication efficiency of the SIP building intercom system during cross-domain communication, solves the connection compatibility problem between different networks faced by the SIP building intercom system in cross-domain communication, and at the same time cooperates with the encryption technology in the data transmission process to enhance the security and stability of data transmission and meet the usage requirements.
[0032] Embodiment 2
[0033] Reference Figure 1 This embodiment proposes a cross-domain bridging method based on SIP building intercom technology. When the intranet door phone calls the indoor phone, the indoor phone and the bound external network mobile phone and APP ring, and the mobile phone answers, the following steps are included:
[0034] S1: Place the indoor unit at the edge of the internal and external networks. The internal network is connected to the intercom system terminal device through the network, and the external network is connected to the user network through WIFI to register to the public network SIP server and communicate with the external network SIP device;
[0035] S2: The intranet door phone calls the indoor phone, and the indoor phone receives the session signaling and media stream from the building intercom terminal. The indoor phone has a built-in bridge module and routing module. The indoor phone receives session signaling and media streams from different networks through the bridge module. The session signaling includes but is not limited to SIP and RTSP.
[0036] S3: The indoor unit bridges and forwards the session signaling and media stream received in S2 to the APP and mobile phone number of the public network SIP server according to the preset routing rules. The indoor unit selects the corresponding session signaling and media mode to forward the media stream to the target network domain according to the preset rules through the routing module;
[0037] At the same time, the session signaling forwarded to the external network is encrypted by the encryption module. For example, SIP uses TLS transmission, and RTP uses SRTP encrypted transmission. After transmission, it is decrypted by the encryption module to ensure the security of data transmission.
[0038] The public network SIP server is located in the external network, receives registrations from indoor units and other SIP terminals, processes SIP signaling and media streams, and supports SIP relay to the IMS network;
[0039] S4: The public network SIP server calls the APP, and selects the SIP trunk to call the IMS phone, APP, and phone ringing according to the mobile phone number;
[0040] S5: The mobile phone answers the call, the indoor unit and the APP stop ringing, and the mobile phone and the intranet door phone establish a call. The intranet door phone belongs to the intranet device. The intranet device also includes the management machine, third-party SIP devices and network cameras, which are in the same intranet as the indoor unit. A media session is established through SIP or RTSP, and audio and video media are transmitted through RTP.
[0041] S6: The mobile phone or intranet device hangs up, and the other end hangs up;
[0042] This embodiment adopts indoor unit SIP bridging as a transit solution, which improves the compatibility and communication efficiency of the SIP building intercom system during cross-domain communication, solves the connection compatibility problem between different networks faced by the SIP building intercom system in cross-domain communication, and at the same time cooperates with the encryption technology in the data transmission process to enhance the security and stability of data transmission and meet the usage requirements.
[0043] Embodiment 3
[0044] Reference Figure 1 This embodiment proposes a cross-domain bridging method based on SIP building intercom technology. When a public network APP calls an indoor unit bridging account and establishes a call with the door machine through the indoor unit, the following steps are included:
[0045] S1: Place the indoor unit at the edge of the internal and external networks. The internal network is connected to the intercom system terminal device through the network, and the external network is connected to the user network through WIFI to register to the public network SIP server and communicate with the external network SIP device;
[0046] S2: The bridge module for the public network APP SIP to call the indoor station, carrying the outdoor station information to be monitored;
[0047] S3: The indoor unit searches for the internal network outdoor station device based on the outdoor station information carried by the APP, and the SIP bridge makes a point-to-point call to the outdoor station;
[0048] S4: The door phone answers the call, and the door phone and the APP establish a conversation;
[0049] S5: The APP or the outdoor station hangs up, and the other end hangs up.
[0050] Embodiment 4
[0051] Reference Figure 1 This embodiment proposes a cross-domain bridging method based on SIP building intercom technology. After the public network APP establishes a call with the outdoor station through the indoor station, when the outdoor station is unlocked by pressing a button, the following steps are included:
[0052] S1: Place the indoor unit at the edge of the internal and external networks. The internal network is connected to the intercom system terminal device through the network, and the external network is connected to the user network through WIFI to register to the public network SIP server and communicate with the external network SIP device;
[0053] S2: The public network APP establishes a call with the door phone through the indoor phone SIP transfer;
[0054] S3: APP presses the button, and the button information is transmitted to the indoor unit via RTP RFC2833;
[0055] S4: The indoor unit converts the key information into unlocking relay information for the outdoor unit and sends it to the outdoor unit to unlock the door.
[0056] Embodiment 5
[0057] Reference Figure 1 This embodiment proposes a cross-domain bridging method based on SIP building intercom technology. When a public network APP views the internal network camera screen through an indoor unit, the following steps are included:
[0058] S1: Place the indoor unit at the edge of the internal and external networks. The internal network is connected to the intercom system terminal device through the network, and the external network is connected to the user network through WIFI to register to the public network SIP server and communicate with the external network SIP device;
[0059] S2: The public network APP SIP calls the bridge module of the indoor unit, carrying the camera information to be viewed;
[0060] S3: The indoor unit finds the device through the routing module based on the camera information carried by the APP;
[0061] S4: The indoor unit establishes a media channel with the camera through RTSP, and forwards the camera's media to the APP through the bridge module. The APP can see the camera's image.
[0062] The above description is only a preferred specific implementation manner of the present invention, but the protection scope of the present invention is not limited thereto. Any technician familiar with the technical field can make equivalent replacements or changes according to the technical scheme and inventive concept of the present invention within the technical scope disclosed by the present invention, which should be covered by the protection scope of the present invention.
Claims
1. A cross-domain bridging method based on SIP building intercom technology, characterized in that: The following steps are involved: S1: Place the indoor unit at the edge of the internal and external networks. The internal network is connected to the intercom system terminal device through the network, and the external network is connected to the user network through WIFI to register to the public network SIP server and communicate with the external network SIP device; S2: The intranet door phone calls the indoor phone, and the indoor phone receives the session signaling and media stream from the building intercom terminal; S3: The indoor unit forwards the session signaling and media stream received in S2 to the APP and mobile phone number of the public network SIP server according to the preset routing rules, and encrypts the session signaling forwarded to the external network through the encryption module; S4: The public network SIP server calls the APP, and selects the SIP trunk to call the IMS phone, APP, and phone ringing according to the mobile phone number; S5: APP answers the call, the indoor unit and IMS mobile phone stop ringing, and the APP and the intranet door machine establish a call; S6: The APP or the intranet device hangs up, and the peer end hangs up.
2. According to claim 1, a cross-domain bridging method based on SIP building intercom technology is characterized in that: In S2, the indoor unit has a built-in bridge module and a routing module. The indoor unit receives session signaling and media streams from different networks through the bridge module. The session signaling includes but is not limited to SIP and RTSP.
3. According to claim 2, a cross-domain bridging method based on SIP building intercom technology is characterized in that: In S3, the indoor unit selects corresponding session signaling and media mode through the routing module according to preset rules to forward the media stream to the target network domain.
4. According to claim 1, a cross-domain bridging method based on SIP building intercom technology is characterized in that: In S5, the intranet door phone belongs to the intranet device, and the intranet device also includes the management machine, the third-party SIP device and the network camera, which are in the same intranet as the indoor unit, establish a media session through SIP or RTSP, and transmit audio and video media through RTP.
5. According to claim 1, a cross-domain bridging method based on SIP building intercom technology is characterized in that: In S3, the public network SIP server is located in the external network, receives registrations from indoor units and other SIP terminals, processes SIP signaling and media streams, and supports SIP relay to the IMS network.
6. According to claim 1, a cross-domain bridging method based on SIP building intercom technology is characterized in that: In S4, when the SIP trunk is selected according to the mobile phone number to call the IMS mobile phone, APP and the mobile phone rings, when the mobile phone is answered, the indoor unit and APP stop ringing, and the mobile phone establishes a call with the intranet device.