CN107959671B - Signaling transmission method and conference terminal - Google Patents

Signaling transmission method and conference terminal Download PDF

Info

Publication number
CN107959671B
CN107959671B CN201711077722.7A CN201711077722A CN107959671B CN 107959671 B CN107959671 B CN 107959671B CN 201711077722 A CN201711077722 A CN 201711077722A CN 107959671 B CN107959671 B CN 107959671B
Authority
CN
China
Prior art keywords
protocol
conference
request signaling
signaling
signaling based
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201711077722.7A
Other languages
Chinese (zh)
Other versions
CN107959671A (en
Inventor
韦国华
胡小鹏
万春雷
王超
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Suzhou Keda Technology Co Ltd
Original Assignee
Suzhou Keda Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Suzhou Keda Technology Co Ltd filed Critical Suzhou Keda Technology Co Ltd
Priority to CN201711077722.7A priority Critical patent/CN107959671B/en
Publication of CN107959671A publication Critical patent/CN107959671A/en
Application granted granted Critical
Publication of CN107959671B publication Critical patent/CN107959671B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L65/00Network arrangements, protocols or services for supporting real-time applications in data packet communication
    • H04L65/1066Session management
    • H04L65/1101Session protocols
    • H04L65/1106Call signalling protocols; H.323 and related
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L61/00Network arrangements, protocols or services for addressing or naming
    • H04L61/09Mapping addresses
    • H04L61/25Mapping addresses of the same type
    • H04L61/2503Translation of Internet protocol [IP] addresses
    • H04L61/256NAT traversal
    • H04L61/2564NAT traversal for a higher-layer protocol, e.g. for session initiation protocol [SIP]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/02Network architectures or network communication protocols for network security for separating internal from external traffic, e.g. firewalls
    • H04L63/0227Filtering policies
    • H04L63/0236Filtering by address, protocol, port number or service, e.g. IP-address or URL
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L65/00Network arrangements, protocols or services for supporting real-time applications in data packet communication
    • H04L65/40Support for services or applications
    • H04L65/403Arrangements for multi-party communication, e.g. for conferences

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Multimedia (AREA)
  • Business, Economics & Management (AREA)
  • General Business, Economics & Management (AREA)
  • Computer Hardware Design (AREA)
  • Computer Security & Cryptography (AREA)
  • Computing Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Telephonic Communication Services (AREA)

Abstract

The invention relates to the technical field of data transmission, and discloses a signaling transmission method and a conference terminal, wherein the signaling transmission method comprises the following steps: sending a request signaling based on an H.323 protocol to a conference entity through a first communication port; judging whether a request signaling based on an H.323 protocol is intercepted or not; and when the request signaling based on the H.323 protocol is intercepted, sending the request signaling based on the preset protocol to the conference entity by switching to the second communication port, wherein the preset protocol is different from the H.323 protocol only in the TPKT protocol header. According to the invention, the second communication port and the preset protocol are arranged, so that when the request signaling based on the standard H.323 protocol is intercepted by the NAT equipment, the request signaling based on the preset protocol can be sent to the conference entity through the second communication port, the request signaling based on the preset protocol can not be identified and intercepted by the NAT equipment, and the conference can be smoothly carried out.

Description

Signaling transmission method and conference terminal
Technical Field
The invention relates to the technical field of data transmission, in particular to a signaling transmission method and a conference terminal.
Background
The h.323 protocol is a standard audio/video transmission protocol, and is a communication protocol used by most video conferences at present. It consists of a set of protocols including h.225 for setting up calls, h.245 for control, h.323 for large conferences and h.450.x for supplementary services, etc.
Currently, for network security, most enterprises use NAT devices such as routers and firewalls when performing video conferencing using the h.323 protocol, and these NAT devices have the function of an h.323 Application Layer Gateway (ALG), so that the h.323 protocol can be automatically recognized and the h.323 signaling transmitted through the h.323 protocol can be managed, modified or limited. Because the security rules and the corresponding state tables in the traditional firewall are set by a network administrator, and the IP addresses and ports involved in H.323 communication are dynamically changed, the network administrator cannot accurately set the corresponding security rules in time, so that normal signaling is intercepted or tampered without any reason when signaling transmission is carried out between H.323 entities, and further, a video conference is carried out normally.
Disclosure of Invention
Therefore, the technical problem to be solved by the invention is as follows: the signaling of the existing H.323 entity is intercepted without reason during the communication process.
In order to solve the technical problems, the technical scheme adopted by the invention is as follows:
the invention provides a signaling transmission method, which comprises the following steps:
sending a request signaling based on an H.323 protocol to a conference entity through a first communication port;
judging whether the request signaling based on the H.323 protocol is intercepted or not;
when the request signaling based on the H.323 protocol is intercepted, sending the request signaling based on a preset protocol to the conference entity by switching to a second communication port, wherein the preset protocol is different from the H.323 protocol only in a TPKT protocol header.
Optionally, the step of determining whether the request signaling based on the h.323 protocol is intercepted includes:
judging whether the request signaling based on the H.323 protocol fails to be sent or not;
and when the judgment result is that the request signaling based on the H.323 protocol fails to be sent, determining that the request signaling based on the H.323 protocol is intercepted.
Optionally, the step of determining whether the request signaling based on the h.323 protocol fails to be sent includes:
judging whether receipt information of which the sending is failed is received or not;
when receiving the response piece information of failed transmission, determining that the request signaling based on the H.323 protocol fails to be transmitted.
Optionally, the method further comprises:
when the judgment result is that the request signaling based on the H.323 protocol is not intercepted, judging whether response signaling is received within preset time;
and when the judgment result is that the response signaling is not received within the preset time, determining that the response signaling is intercepted, and switching to a second communication port to send a request signaling based on a preset protocol to the conference entity.
Optionally, the conference entity is a conference terminal or a conference platform, wherein the step of sending the request signaling based on the h.323 protocol to the conference entity through the first communication port includes:
initiating an H.225 call request signaling based on an H.323 protocol to a conference terminal or a conference platform through the first communication port;
and initiating an H.245 request signaling based on an H.323 protocol to a conference terminal or a conference platform through the first communication port.
Optionally, the conference entity is a conference terminal, wherein before the step of sending the request signaling based on the h.323 protocol to the conference entity through the first communication port, the method further includes the following steps:
sending a query request to a conference platform, wherein the query request is used for querying the address of the conference terminal;
and receiving the address of the conference terminal returned by the conference platform and an identifier used for indicating that the conference terminal supports the preset protocol.
The present invention also provides a conference terminal, including:
the sending module is used for sending a request signaling based on an H.323 protocol to the conference entity through the first communication port;
the judging module is used for judging whether the request signaling based on the H.323 protocol is intercepted or not;
the sending module is further configured to send a request signaling based on a preset protocol to the conference entity by switching to a second communication port when the request signaling based on the h.323 protocol is intercepted, where the preset protocol is different from the h.323 protocol only in a TPKT protocol header.
Optionally, the determining module includes:
a first judging unit, configured to judge whether the request signaling based on the h.323 protocol fails to be sent;
a first determining unit, configured to determine that the request signaling based on the h.323 protocol is intercepted when the determination result is that the request signaling based on the h.323 protocol fails to be sent.
Optionally, the first judging unit includes:
a judging subunit, configured to judge whether receipt information of which transmission has failed is received;
a determining subunit, configured to determine that the request signaling based on the h.323 protocol fails to be sent when receiving response piece information with failed sending.
Optionally, the method further comprises:
a second judging unit, configured to judge whether a response signaling is received within a preset time when the request signaling based on the h.323 protocol is not intercepted;
the second determining unit is used for determining that the response signaling is intercepted when the judging result is that the response signaling is not received within the preset time;
the sending module is further configured to send a request signaling based on a preset protocol to the conference entity by switching to a second communication port when the response signaling is intercepted, where the preset protocol is different from the h.323 protocol only in that a TPKT protocol header is different.
Compared with the prior art, the technical scheme of the invention has the following advantages:
according to the signaling transmission method provided by the invention, the second communication port and the preset protocol are set, so that when the request signaling based on the standard H.323 protocol is intercepted by the NAT equipment supporting the H.323ALG (application layer gateway) function, the request signaling based on the preset protocol can be sent to the conference entity through the second communication port. Since the preset protocol only differs from the standard h.323 protocol in the TPKT protocol header, the entity contents are the same. Therefore, on one hand, the request signaling based on the preset protocol is ensured not to be identified and intercepted by the NAT equipment supporting the H.323ALG (application layer gateway) function, the request signaling can be smoothly transmitted to the conference entity of the opposite terminal, and the conference is ensured to be smoothly carried out, so that the conference cannot be unsuccessfully held or the established conference is disconnected without failure; on the other hand, the entity content of the request signaling can not be changed, and the accuracy in the signaling interaction process is ensured.
When the request signaling based on the H.323 protocol is judged not to be intercepted, whether the response signaling is received within the preset time is also judged, if the response signaling is not received, the response signaling is judged to be intercepted by the NAT equipment, and at the moment, the step of switching to the second communication port to send the request signaling based on the preset protocol to the conference entity is executed. Therefore, the invention judges whether the request signaling and the response signaling are intercepted respectively, ensures that when any signaling of the request signaling or the response signaling is intercepted, the preset protocol can be switched to in time to send the request signaling, and ensures that the conference is carried out smoothly.
The signaling transmission method provided by the invention is suitable for the situation that all the conference terminals are registered on the conference platform. At this time, before the local end sends a request signaling based on the h.323 protocol to the opposite end, it first needs to send an address of the opposite-end conference terminal to the conference platform, and when receiving the address of the opposite-end conference terminal returned by the conference platform, it sends the request signaling to the address. When the local terminal receives the identifier for the opposite terminal conference terminal to support the preset protocol at the same time, the local terminal indicates that the opposite terminal conference terminal supports the preset protocol, and when the subsequent judgment result is that the request signaling based on the H.323 protocol is intercepted, the local terminal can be directly switched to the second communication port to send the request signaling based on the preset protocol to the opposite terminal conference terminal.
According to the conference terminal provided by the invention, the sending module can be switched from the first communication port to the second communication port to send the request signaling based on the preset protocol to the conference entity when the judging module judges that the request signaling based on the H.323 protocol is intercepted. Since the preset protocol only differs from the standard h.323 protocol in the TPKT protocol header, the entity contents are the same. Therefore, on one hand, the request signaling based on the preset protocol is ensured not to be identified and intercepted by the NAT equipment supporting the H.323ALG (application layer gateway) function, and the request signaling can be smoothly transmitted to the conference entity of the opposite terminal, so that the conference is not disconnected without reason; on the other hand, the entity content of the request signaling can not be changed, and the accuracy in the signaling interaction process is ensured.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, and it is obvious that the drawings in the following description are some embodiments of the present invention, and other drawings can be obtained by those skilled in the art without creative efforts.
FIG. 1 is a schematic diagram of signaling interaction via the standard H.323 protocol;
fig. 2 is a flowchart of a signaling transmission method according to embodiment 1 of the present invention;
fig. 3 is a flowchart of a signaling transmission method according to embodiment 2 of the present invention;
fig. 4 is a schematic structural diagram of a conference terminal according to embodiment 6 of the present invention;
fig. 5 is a schematic structural diagram of a determining module in a conference terminal according to embodiment 6 of the present invention;
fig. 6 is a schematic structural diagram of a first determining unit in a conference terminal according to embodiment 6 of the present invention;
fig. 7 is a schematic structural diagram of a transmitting module in a conference terminal according to embodiment 6 of the present invention;
fig. 8 is a schematic structural diagram of a conference terminal according to embodiment 6 of the present invention;
fig. 9 is a schematic structural diagram of a conference terminal provided in embodiment 7 of the present invention.
Detailed Description
The technical solutions of the present invention will be described clearly and completely with reference to the accompanying drawings, and it should be understood that the described embodiments are some, but not all embodiments of the present invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
In the description of the present invention, it should be noted that the terms "first", "second", and "third" are used for descriptive purposes only and are not to be construed as indicating or implying relative importance.
In addition, the technical features involved in the different embodiments of the present invention described below may be combined with each other as long as they do not conflict with each other.
The embodiment of the invention is mainly applied to a conference carried out by adopting a standard H.323 protocol, fig. 1 shows a working process of carrying out signaling interaction by using the standard H.323 protocol, T1 and T2 are two conference entities in the conference, the conference entities can be a conference platform or a conference terminal, wherein the conference platform and the conference terminal can be a video conference platform and a video conference terminal, and the video conference terminal can be a mobile terminal or a computer terminal. The h.323 communication process is mainly divided into an h.225 signaling interaction process (including RAS signaling interaction and q.931 signaling interaction), an h.245 signaling interaction process, and a media streaming process.
For network full consideration, generally, in the h.323 signaling interaction process, the h.323 protocol is automatically recognized by the NAT device having the h.323 Application Layer Gateway (ALG) function shown in fig. 1, and the transmitted h.323 signaling is managed, modified or limited.
Example 1
The embodiment provides a signaling transmission method, which is specifically initiated by a conference terminal and executed by any one of the conference entities T1 and T2 shown in fig. 1, where an opposite end, that is, a conference entity corresponding to the execution subject, may be a conference terminal or a conference platform. As shown in fig. 2, the method comprises the following steps:
and step S11, sending a request signaling based on the H.323 protocol to the conference entity through the first communication port.
The first communication port is a TCP server port for transmitting H.323 signaling, and is further divided into different communication sub-ports according to different H.323 signaling types. For example, when the conference terminal sends the h.225 signaling, the transmission is performed through the corresponding h.225 signaling communication sub-port, and when the h.245 signaling is sent, the transmission is performed through the corresponding h.245 communication sub-port. Meanwhile, the conference entity also has a corresponding communication sub-port for receiving the request signaling based on the H.323 protocol.
And step S12, judging whether the request signaling based on the H.323 protocol is intercepted.
Since the signaling passes through the NAT device having an h.323 Application Layer Gateway (ALG) function during the signaling transmission process, it will automatically recognize the h.323 protocol and manage, modify or limit the transmitted h.323 signaling, so the request signaling based on the h.323 protocol has a risk of being intercepted.
And executing step S13 when the judgment result is that the request signaling based on the H.323 protocol is intercepted, otherwise executing other operations.
In this embodiment, the other operation may be waiting for a response of the conference entity of the opposite end.
And step S13, sending a request signaling based on a preset protocol to the conference entity by switching to the second communication port, wherein the preset protocol is different from the H.323 protocol only in the TPKT protocol header.
Specifically, the second communication port is a TCP server port for transmitting the request signaling based on the preset protocol, and for different signaling types based on the preset protocol, the second communication port is divided into different communication sub-ports, and meanwhile, the conference entity also has corresponding communication sub-ports for receiving the request signaling based on the different signaling types of the preset protocol.
The preset protocol and the h.323 protocol are different only in that the TPKT protocol header is different, and the two protocols have the same physical content, and in the embodiment of the present invention, the preset protocol is defined as kh.323. Specifically, the TPKT protocol header mainly includes the version number, the content type and the TPKT protocol length of the TPKT protocol, and in this embodiment, a plurality of bytes can be inserted into the byte section of the TPKT protocol length to change the original format of the TPKT protocol header of the standard h.323 protocol, so that when a signaling based on the preset protocol is transmitted, the NAT device cannot recognize the preset protocol and does not intercept the preset protocol.
It should be noted that other fields of the TPKT protocol header may also be modified, as long as the entity content is guaranteed to be unchanged.
The signaling transmission method provided in this embodiment ensures that, by setting the second communication port and the preset protocol, when a request signaling based on the standard h.323 protocol is intercepted by a NAT device supporting an h.323alg (application layer gateway) function, the request signaling based on the preset protocol can be sent to a conference entity through the second communication port. Since the preset protocol only differs from the standard h.323 protocol in the TPKT protocol header, the entity contents are the same. Therefore, on one hand, the request signaling based on the preset protocol is ensured not to be identified and intercepted by the NAT equipment supporting the H.323ALG (application layer gateway) function, and the request signaling can be smoothly transmitted to the conference entity of the opposite terminal, so that the conference is not disconnected without reason; on the other hand, the entity content of the request signaling can not be changed, and the accuracy in the signaling interaction process is ensured.
It should be noted that the separate arrangement of the first communication port and the second communication port is beneficial to separate the signaling based on the h.323 protocol from the signaling based on the preset protocol in the actual operation, but may also be combined into one communication port, which also can achieve the purpose of the present invention.
Example 2
The embodiment provides a signaling transmission method, which is specifically initiated by a conference terminal and executed by any one of the video conference entities T1 and T2 shown in fig. 1, where an opposite end, that is, a conference entity corresponding to the execution subject, may be a conference terminal or a conference platform. As shown in fig. 3, the method comprises the following steps:
and step S21, sending a request signaling based on the H.323 protocol to the conference entity through the first communication port. This step is the same as step S11 in embodiment 1, and is not described again here.
In this embodiment, step S21 specifically includes the following steps:
step S211, initiating an H.225 call request signaling based on the H.323 protocol to the conference terminal or the conference platform through the first communication port. As shown in fig. 1, the h.225 call request signaling includes Q931TCP connection signaling and h.225setup signaling.
Step S212, initiating an H.245 request signaling based on an H.323 protocol to the conference terminal or the conference platform through the first communication port. As shown in fig. 1, the h.245 request signaling includes h.24tcp connection signaling, h.245 capability exchange signaling, h.245 opening logical channel, and other signaling.
It should be noted that the different request signaling are sent one by one, and when the first request signaling receives a successful response from the conference entity at the opposite end, the second request signaling is sent.
And step S22, judging whether the request signaling based on the H.323 protocol is intercepted.
In this embodiment, step S22 includes the following steps:
step 221, determining whether the request signaling based on the h.323 protocol fails to be transmitted. When the judgment result is that the request signaling transmission based on the h.323 protocol fails, step S222 is executed; otherwise, it is determined that the request signaling based on the h.323 protocol is not intercepted, and step S23 is performed.
It should be noted that step S221 is generally performed when an h.225/h.24enetcp connection between the local end and the peer end is already established.
In this embodiment, step S221 includes the following steps:
step S2211, determining whether receipt information of failed transmission is received. When the determination result is that the receipt information failed to be sent is received, step S2212 is executed; otherwise, other operations are performed. In this embodiment, the other operation may be waiting for a response of the conference entity of the opposite end.
It should be noted that sending the acknowledgement information of success or failure means that the result of signaling using the network socket is success or failure.
Step S2212, determining that the request signaling based on the h.323 protocol fails to be transmitted.
Step S222, determining that the request signaling based on the h.323 protocol is intercepted, and step S25 is executed.
Step S23, determining whether a response signaling is received within a preset time. If the determination result is that the response signaling is not received within the preset time, performing step S24; otherwise, other operations are performed. In this embodiment, the other operation is to return to the execution of step S21.
Step S24, determining that the response signaling is intercepted, execute step S25.
And step S25, sending a request signaling based on a preset protocol to the conference entity by switching to the second communication port, wherein the preset protocol is different from the H.323 protocol only in the TPKT protocol header. This step is the same as step S13 in embodiment 1, and is not described again here.
When the request signaling based on the H.323 protocol is judged not to be intercepted, whether the response signaling is received within the preset time is also judged, if the response signaling is not received, the response signaling is judged to be intercepted by the NAT equipment, and at the moment, the step of switching to the second communication port to send the request signaling based on the preset protocol to the conference entity is executed. Therefore, the invention judges whether the request signaling and the response signaling are intercepted respectively, ensures that when any signaling of the request signaling or the response signaling is intercepted, the preset protocol can be switched to in time to send the request signaling, and ensures that the conference is carried out smoothly.
In this embodiment, step S25 is preceded by the following steps: and judging whether the conference entity of the opposite terminal supports the request signaling based on the preset protocol. And (4) when the judgment result is that the conference entity of the opposite terminal supports the request signaling based on the preset protocol, executing the step S25, otherwise, not executing the step S25, but disconnecting the conference terminal or the conference platform of the opposite terminal.
Specifically, it may be determined whether a response signaling sent by the conference entity of the opposite end carries nonstandard data nonstandard content, so as to identify support for the preset protocol. Thus, when the local side determines that the request signaling based on the h.323 protocol is intercepted, the local side can know the support condition of the end to the preset protocol in advance, and then determine whether to perform step S25.
Example 3
The embodiment provides a signaling transmission method, which is specifically initiated by a conference terminal and executed by any one of the conference entities T1 and T2 shown in fig. 1, where an opposite end is a conference entity corresponding to the execution subject, which is a conference terminal in this embodiment. The execution terminal and the opposite terminal in this embodiment are both conference terminals registered on the conference platform. Therefore, compared to the signaling transmission method in embodiment 1 or embodiment 2, the signaling transmission method provided in this embodiment further includes, before step S11 or step S21, the following steps:
and step S31, sending a query request to the conference platform, wherein the query request is used for querying the address of the conference terminal.
And step S32, receiving the address of the conference terminal returned by the conference platform and an identifier for indicating that the conference terminal supports the preset protocol. The identification which represents that the conference terminal supports the preset protocol is nonstandard data nonstandard content.
The signaling transmission method is suitable for the situation that all the conference terminals are registered on the conference platform. At this time, before the local end sends a request signaling based on the h.323 protocol to the opposite end, it first needs to send an address of the opposite-end conference terminal to the conference platform, and when receiving the address of the opposite-end conference terminal returned by the conference platform, it sends the request signaling to the address. When the local terminal receives the identifier for the opposite terminal conference terminal to support the preset protocol at the same time, the local terminal indicates that the opposite terminal conference terminal supports the preset protocol, and when the subsequent judgment result is that the request signaling based on the H.323 protocol is intercepted, the local terminal can be directly switched to the second communication port to send the request signaling based on the preset protocol to the opposite terminal conference terminal.
Example 4
The present embodiment provides a registration process of the conference terminal on the conference platform in the above embodiment 3, including the following steps:
1) the conference platform simultaneously binds and enables the service unit based on the standard H.323 protocol and the service unit based on the preset protocol. Specifically, the service unit based on the standard h.323 protocol and the service unit based on the preset protocol each have a set of hardware devices, including a Multipoint Control Unit (MCU), a Multipoint Controller (MC), a Multipoint Processor (MP), a gateway, a gatekeeper, and the like. Hardware devices of both protocols may also be deployed together. The conference platform is respectively connected with a first communication port for transmitting standard H.323 signaling and a second communication port for transmitting signaling based on a preset protocol so as to distinguish different service units.
2) The conference terminal sends a Registration Request (RRQ) to the gatekeeper, and a nonstandard data nonstandard content is carried in a registration request signaling to identify the support of the conference terminal to a preset protocol.
3) After receiving the registration request of the conference terminal, the gatekeeper sends a Registration Confirmation (RCF) to the conference terminal, and carries the address of a first communication port based on a standard H.323 protocol bound by the conference platform and the address of a second communication port based on a preset protocol bound by the conference platform in a registration confirmation signaling.
4) And the conference terminal saves the received address information for subsequent use.
Example 5
This embodiment is a specific implementation manner of the signaling transmission method provided in embodiment 3, where the local terminal is collectively referred to as a first conference terminal, and the opposite terminal is collectively referred to as a second conference terminal, and the method specifically includes the following steps:
1) the first conference terminal initiates an Access Request (ARQ) to the conference platform to query the address of the second conference terminal.
2) And the conference platform returns the address of the second conference terminal in an Access Confirmation (ACF) response and carries a support identifier of the second conference terminal to the preset protocol.
3) And the first conference terminal binds a default first communication port and sends H.225setup call request signaling based on the H.323 protocol to the second conference terminal.
4) And the second conference terminal receives the H.225SETUP call request of the first conference terminal, and initiates an Access Request (ARQ) to the conference platform to inquire the address of the first conference terminal.
5) And the conference platform returns the address of the first conference terminal in an Access Confirmation (ACF) response and carries a support identifier of the first conference terminal to the preset protocol.
6) The second conference terminal sends H.225CONNECT response signaling based on H.323 protocol to the first conference terminal, and optionally carries a non-standard data non-standard content therein to identify the support of the second conference terminal on the preset protocol.
7) The first conference terminal initiates H.245TCP connection signaling based on H.323 protocol to the second conference terminal and sends H.245 signaling request.
8) If the first conference terminal successfully sends the H.245 signaling request, skipping to step 9); if the first conference terminal fails to successfully send the h.245 signaling request, step 10) is executed.
9) After the second conference terminal receives the H.245 request signaling of the first conference terminal, if the second conference terminal successfully confirms and responds to the request signaling of the first conference terminal one by one, the call is established; and if the response is failed to be sent, jumping to the step 10).
10) The first conference terminal hangs up (disconnects the h.24enetcp connection with the first communication port and connects the hung up call through h.225), and marks that the reason for the call hanging up is that the second conference terminal does not receive the response or the signaling request fails to send the signaling (i.e. the signaling is intercepted), and the process goes to step 11.
11) And the first conference terminal binds the second communication port and sends a request signaling based on a preset protocol to the second conference terminal.
Example 6
The embodiment provides a conference terminal using the signaling transmission method provided in the above embodiment, and as shown in fig. 4, the conference terminal includes a sending module 61 and a determining module 62. Wherein the content of the first and second substances,
the sending module 61 is configured to send a request signaling based on an h.323 protocol to the conference entity through the first communication port. The first communication port is a TCP server port for transmitting H.323 signaling, and is further divided into different communication sub-ports according to different H.323 signaling types. For example, when the h.225 signaling is sent, the transmission is performed through the corresponding h.225 signaling communication sub-port, and when the h.245 signaling is sent, the transmission is performed through the corresponding h.245 communication sub-port. Meanwhile, the conference entity also has a corresponding communication sub-port for receiving the request signaling based on the H.323 protocol.
The judging module 62 is used for judging whether the request signaling based on the h.323 protocol is intercepted;
the sending module 61 is further configured to send a request signaling based on a preset protocol to the conference entity by switching to the second communication port when the request signaling based on the h.323 protocol is intercepted, where the preset protocol is different from the h.323 protocol only in the TPKT protocol header.
Specifically, the second communication port is a TCP server port for transmitting the request signaling based on the preset protocol, and for different signaling types based on the preset protocol, the second communication port is divided into different communication sub-ports, and meanwhile, the conference entity also has corresponding communication sub-ports for receiving the request signaling based on the different signaling types of the preset protocol.
The preset protocol and the H.323 protocol are different only in that the TPKT protocol header is different, and the entity content of the TPKT protocol header are the same. Specifically, the TPKT protocol header mainly includes the version number, the content type and the TPKT protocol length of the TPKT protocol, and in this embodiment, a plurality of bytes can be inserted into the byte section of the TPKT protocol length to change the original format of the TPKT protocol header of the standard h.323 protocol, so that when a signaling based on the preset protocol is transmitted, the NAT device cannot recognize the preset protocol and does not intercept the preset protocol.
The sending module 61 of the conference terminal can switch the first communication port to the second communication port to send the request signaling based on the preset protocol to the conference entity when the judging module 62 judges that the request signaling based on the h.323 protocol is intercepted. Since the preset protocol only differs from the standard h.323 protocol in the TPKT protocol header, the entity contents are the same. Therefore, on one hand, the request signaling based on the preset protocol is ensured not to be identified and intercepted by the NAT equipment supporting the H.323ALG (application layer gateway) function, and the request signaling can be smoothly transmitted to the conference entity of the opposite terminal, so that the conference is not disconnected without reason; on the other hand, the entity content of the request signaling can not be changed, and the accuracy in the signaling interaction process is ensured.
Preferably, as shown in fig. 5, the judging module 62 includes a first judging unit 621 and a first determining unit 622. Wherein the content of the first and second substances,
the first judging unit 621 is configured to judge whether the request signaling based on the h.323 protocol fails to be sent;
the first determining unit 622 is configured to determine that the request signaling based on the h.323 protocol is intercepted when the determination result is that the request signaling based on the h.323 protocol fails to be transmitted.
Preferably, as shown in fig. 6, the first judging unit 621 includes a judging subunit 6211 and a determining subunit 6212. Wherein the content of the first and second substances,
the judgment sub-unit 6211 is configured to judge whether or not receipt information of which transmission has failed is received.
The determination subunit 6212 is configured to determine that the request signaling transmission based on the h.323 protocol fails when receiving the response piece information of the transmission failure.
Preferably, a second judging unit and a second determining unit are further included.
The second judging unit is used for judging whether a response signaling is received within a preset time when the request signaling based on the H.323 protocol is not intercepted;
the second determining unit is used for determining that the response signaling is intercepted when the judging result is that the response signaling is not received within the preset time;
the sending module is further configured to send a request signaling based on a preset protocol to the conference entity by switching to the second communication port when the response signaling is intercepted, where the preset protocol is different from the h.323 protocol only in that the TPKT protocol header is different.
Preferably, the conference entity is another conference terminal or a conference platform, and as shown in fig. 7, the sending module 61 includes a first sending unit 611 and a second sending unit 612. Wherein the content of the first and second substances,
the first sending unit 611 is configured to initiate an h.225 call request signaling based on an h.323 protocol to another conference terminal or a conference platform through the first communication port;
the second sending unit 612 is configured to initiate an h.245 request signaling based on the h.323 protocol to another conference terminal or a conference platform through the first communication port.
Preferably, the conference entity is another conference terminal, and as shown in fig. 8, the embodiment further includes an inquiry unit 601 and a receiving unit 602. Wherein the content of the first and second substances,
the query unit 601 is configured to send a query request to the conference platform, where the query request is used to query addresses of other conference terminals;
the receiving unit 602 is configured to receive addresses of other conference terminals returned by the conference platform and an identifier indicating that the other conference terminals support a preset protocol.
Example 7
The embodiment provides a conference terminal, which includes one or more processors 71 and a memory 72, and one processor 71 is taken as an example in fig. 9.
The processor 71 may be a Central Processing Unit (CPU). The Processor 71 may also be other general purpose processors, Digital Signal Processors (DSPs), Application Specific Integrated Circuits (ASICs), Field Programmable Gate Arrays (FPGAs) or other Programmable logic devices, discrete Gate or transistor logic devices, discrete hardware components, or combinations thereof. A general purpose processor may be a microprocessor or the processor 71 may be any conventional processor or the like.
The memory 72, which is a non-transitory computer readable storage medium, may be used for storing non-transitory software programs, non-transitory computer executable programs, and modules, such as program instructions/modules corresponding to the signaling transmission method in the embodiment of the present invention. The processor 71 executes various functional applications of the server and data processing, i.e., implements the signaling transmission method in the above-described embodiment, by executing the non-transitory software programs, instructions, and modules stored in the memory 72.
The memory 72 may include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application program required for at least one function; the storage data area may store data created according to use of an operating device of the multi-service system, and the like. Further, the memory 72 may include high speed random access memory, and may also include non-transitory memory, such as at least one magnetic disk storage device, flash memory device, or other non-transitory solid state storage device. In some embodiments, the memory 72 may optionally include memory located remotely from the processor 71, and these remote memories may be connected over a network to the conference terminal using the above-described signaling method. Examples of such networks include, but are not limited to, the internet, intranets, local area networks, mobile communication networks, and combinations thereof.
The one or more modules are stored in the memory 72 and, when executed by the one or more processors 71, perform the signaling transmission method described in embodiment 1.
The product can execute the method provided by the embodiment of the invention, and has corresponding functional modules and beneficial effects of the execution method. For details of the technique not described in detail in the embodiment, reference may be made to the related description in the embodiment shown in fig. 2.
Example 8
The present embodiments provide a non-transitory computer storage medium having stored thereon computer-executable instructions that can perform the signaling transmission method described in embodiment 1. The storage medium may be a magnetic Disk, an optical Disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a Flash Memory (Flash Memory), a Hard Disk (Hard Disk Drive, abbreviated as HDD), a Solid State Drive (SSD), or the like; the storage medium may also comprise a combination of memories of the kind described above.
It will be understood by those skilled in the art that all or part of the processes of the methods of the embodiments described above can be implemented by a computer program, which can be stored in a computer-readable storage medium, and when executed, can include the processes of the embodiments of the methods described above. The storage medium may be a magnetic disk, an optical disk, a read-only memory (ROM), a Random Access Memory (RAM), or the like.
It should be understood that the above examples are only for clarity of illustration and are not intended to limit the embodiments. Other variations and modifications will be apparent to persons skilled in the art in light of the above description. And are neither required nor exhaustive of all embodiments. And obvious variations or modifications therefrom are within the scope of the invention.

Claims (10)

1. A signaling transmission method, comprising the steps of:
sending a request signaling based on an H.323 protocol to a conference entity through a first communication port;
judging whether the request signaling based on the H.323 protocol is intercepted or not;
when the request signaling based on the H.323 protocol is intercepted, sending the request signaling based on a preset protocol to the conference entity by switching to a second communication port, wherein the preset protocol is different from the H.323 protocol only in a TPKT protocol header.
2. The signaling transmission method according to claim 1, wherein said step of determining whether said h.323 protocol-based request signaling is intercepted comprises:
judging whether the request signaling based on the H.323 protocol fails to be sent or not;
and when the judgment result is that the request signaling based on the H.323 protocol fails to be sent, determining that the request signaling based on the H.323 protocol is intercepted.
3. The signaling transmission method according to claim 2, wherein said step of determining whether the transmission of the h.323 protocol-based request signaling fails comprises:
judging whether receipt information of which the sending is failed is received or not;
when receiving the response piece information of failed transmission, determining that the request signaling based on the H.323 protocol fails to be transmitted.
4. The signaling transmission method according to claim 1, further comprising:
when the judgment result is that the request signaling based on the H.323 protocol is not intercepted, judging whether response signaling is received within preset time;
and when the judgment result is that the response signaling is not received within the preset time, determining that the response signaling is intercepted, and switching to a second communication port to send a request signaling based on a preset protocol to the conference entity.
5. The signaling transmission method according to claim 1, wherein the conference entity is a conference terminal or a conference platform, and the step of sending the request signaling based on the h.323 protocol to the conference entity through the first communication port comprises:
initiating an H.225 call request signaling based on an H.323 protocol to a conference terminal or a conference platform through the first communication port;
after the h.225 call request signaling based on the h.323 protocol receives a successful response of the conference entity, the h.245 request signaling based on the h.323 protocol is initiated to the conference terminal or the conference platform through the first communication port.
6. The signaling transmission method according to claim 1, wherein the conference entity is a conference terminal, and wherein before the step of sending the request signaling based on the h.323 protocol to the conference entity through the first communication port, the method further comprises the following steps:
sending a query request to a conference platform, wherein the query request is used for querying the address of the conference terminal;
and receiving the address of the conference terminal returned by the conference platform and an identifier used for indicating that the conference terminal supports the preset protocol.
7. A conference terminal, comprising:
the sending module is used for sending a request signaling based on an H.323 protocol to the conference entity through the first communication port;
the judging module is used for judging whether the request signaling based on the H.323 protocol is intercepted or not;
the sending module is further configured to send a request signaling based on a preset protocol to the conference entity by switching to a second communication port when the request signaling based on the h.323 protocol is intercepted, where the preset protocol is different from the h.323 protocol only in a TPKT protocol header.
8. The conference terminal of claim 7, wherein said determining module comprises:
a first judging unit, configured to judge whether the request signaling based on the h.323 protocol fails to be sent;
a first determining unit, configured to determine that the request signaling based on the h.323 protocol is intercepted when the determination result is that the request signaling based on the h.323 protocol fails to be sent.
9. The conference terminal according to claim 8, wherein said first judgment unit comprises:
the judging subunit is used for judging whether receipt information of which the sending is failed is received within preset time;
a determining subunit, configured to determine that the request signaling based on the h.323 protocol fails to be sent when receiving response piece information of a failed sending within a preset time.
10. The conference terminal of claim 7, further comprising:
a second judging unit, configured to judge whether a response signaling is received within a preset time when the request signaling based on the h.323 protocol is not intercepted;
the second determining unit is used for determining that the response signaling is intercepted when the judging result is that the response signaling is not received within the preset time;
the sending module is further configured to send a request signaling based on a preset protocol to the conference entity by switching to a second communication port when the response signaling is intercepted, where the preset protocol is different from the h.323 protocol only in that a TPKT protocol header is different.
CN201711077722.7A 2017-11-06 2017-11-06 Signaling transmission method and conference terminal Active CN107959671B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201711077722.7A CN107959671B (en) 2017-11-06 2017-11-06 Signaling transmission method and conference terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201711077722.7A CN107959671B (en) 2017-11-06 2017-11-06 Signaling transmission method and conference terminal

Publications (2)

Publication Number Publication Date
CN107959671A CN107959671A (en) 2018-04-24
CN107959671B true CN107959671B (en) 2021-03-09

Family

ID=61964174

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201711077722.7A Active CN107959671B (en) 2017-11-06 2017-11-06 Signaling transmission method and conference terminal

Country Status (1)

Country Link
CN (1) CN107959671B (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2005057882A1 (en) * 2003-12-11 2005-06-23 Tandberg Telecom As Communication systems for traversing firewalls and network address translation (nat) installations
CN1780288A (en) * 2004-11-26 2006-05-31 上海博达数据通信有限公司 Method for penetrating NAT router or proxy server communication by H323 protocol
CN105120204A (en) * 2015-08-06 2015-12-02 苏州科达科技股份有限公司 Multi-protocol compatible method of sharing double stream audios in conference, apparatus and system
CN107241565A (en) * 2017-05-02 2017-10-10 苏州科达科技股份有限公司 Multimedia conference system and its means of communication

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6934534B1 (en) * 2001-04-25 2005-08-23 At&T Corp. Common mobility management protocol for multimedia applications, systems and services

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2005057882A1 (en) * 2003-12-11 2005-06-23 Tandberg Telecom As Communication systems for traversing firewalls and network address translation (nat) installations
CN1780288A (en) * 2004-11-26 2006-05-31 上海博达数据通信有限公司 Method for penetrating NAT router or proxy server communication by H323 protocol
CN105120204A (en) * 2015-08-06 2015-12-02 苏州科达科技股份有限公司 Multi-protocol compatible method of sharing double stream audios in conference, apparatus and system
CN107241565A (en) * 2017-05-02 2017-10-10 苏州科达科技股份有限公司 Multimedia conference system and its means of communication

Also Published As

Publication number Publication date
CN107959671A (en) 2018-04-24

Similar Documents

Publication Publication Date Title
US8838771B2 (en) Enabling VoIP calls to be initiated when a call server is unavailable
US8650312B2 (en) Connection establishing management methods for use in a network system and network systems using the same
US8332532B2 (en) Connectivity over stateful firewalls
US20090175165A1 (en) Method for Enabling Communication Between Two Network Nodes via a Network Address Translation Device (NAT)
EP1871043B1 (en) VoIP communication control method and access point apparatus
US10367893B1 (en) Method and apparatus of performing peer-to-peer communication establishment
WO2016177056A1 (en) Data transmission method, device and system for video conference
US20210044570A1 (en) Packet transmission method and system thereof
CN106101297B (en) A kind of message answer method and device
US7564848B2 (en) Method for the establishing of connections in a communication system
US8254370B2 (en) Method for redirecting network communication ports and network communication system thereof
US8082580B1 (en) Session layer pinhole management within a network security device
JP5841262B2 (en) SIP proxy failover method
EP2987295B1 (en) Local control of additional media session for a packet based call
US8149842B2 (en) Automated discovery of network devices supporting particular transport layer protocols
JP4433206B2 (en) How to establish and maintain a connection
WO2010148723A1 (en) Telnet method for external terminal and master device, slave device thereof
US10375175B2 (en) Method and apparatus for terminal application accessing NAS
CN107959671B (en) Signaling transmission method and conference terminal
EP1593230B1 (en) Terminating a session in a network
WO2017161866A1 (en) Network connection method and device
CN107454178B (en) Data transmission method and device
EP1575236A1 (en) Connectivity confirmation method for network storage device and host computer
US8812694B2 (en) Dialog establishment over a peer-to-peer architecture
Cisco Commands: debug ppp bap through debug sdllc

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