CN109067509B - Distributed node signaling transmission method and system, shared computing node and signaling gateway - Google Patents

Distributed node signaling transmission method and system, shared computing node and signaling gateway Download PDF

Info

Publication number
CN109067509B
CN109067509B CN201810959227.7A CN201810959227A CN109067509B CN 109067509 B CN109067509 B CN 109067509B CN 201810959227 A CN201810959227 A CN 201810959227A CN 109067509 B CN109067509 B CN 109067509B
Authority
CN
China
Prior art keywords
signaling
shared computing
server
task
channel
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
CN201810959227.7A
Other languages
Chinese (zh)
Other versions
CN109067509A (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.)
Shenzhen Onething Technology Co Ltd
Original Assignee
Shenzhen Onething 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 Shenzhen Onething Technology Co Ltd filed Critical Shenzhen Onething Technology Co Ltd
Priority to CN201810959227.7A priority Critical patent/CN109067509B/en
Publication of CN109067509A publication Critical patent/CN109067509A/en
Application granted granted Critical
Publication of CN109067509B publication Critical patent/CN109067509B/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
    • H04L5/00Arrangements affording multiple use of the transmission path
    • H04L5/003Arrangements for allocating sub-channels of the transmission path
    • H04L5/0053Allocation of signaling, i.e. of overhead other than pilot signals
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/14Session management
    • H04L67/141Setup of application sessions

Abstract

The invention discloses a distributed node signaling transmission method, which comprises the following steps: a shared computing node and an access server establish a signaling channel; the shared computing node sends a first signaling through a signaling channel; the access server receives the first signaling and transmits the first signaling to the signaling server; the signaling server forwards the first signaling to a shared computing server; the shared computing server receives a first signaling from the signaling server and sends a second signaling through the signaling server; the signaling server locates an access server to which the shared computing node corresponding to the second signaling belongs, and forwards the second signaling; the access server sends the second signaling to the corresponding shared computing node by using the signaling channel; the shared computing node receives the second signaling. The invention also provides a distributed node signaling transmission system, a shared computing node and a signaling gateway. The invention can realize real-time signaling communication by utilizing the signaling channel.

Description

Distributed node signaling transmission method and system, shared computing node and signaling gateway
Technical Field
The present invention relates to the field of shared computing technologies, and in particular, to a distributed node signaling transmission method and system, a shared computing node, and a signaling gateway.
Background
At present, intelligent equipment is rapidly developed, the number of the intelligent equipment is rapidly increased, and sharing calculation based on the intelligent equipment is also rapidly developed. A core technology of the shared computing is how to quickly and efficiently interact with intelligent equipment, issue commands and collect states. The intelligent device serves as a distributed node, and the technology is equivalent to how the distributed node performs efficient signaling transmission. The existing signaling transmission method is mainly that an application program on a distributed node periodically initiates a request to a server end to inquire whether a command needs to be executed. However, this method has two problems as follows:
(1) since the issuing of the command is a relatively low frequency operation, the return result of most of the requests initiated by the application program is null, i.e. no further operation is required. Furthermore, a plurality of applications are generally run on the distributed node, and each application requires signaling transmission, so a large number of useless requests can be initiated on a single node. This approach can be a significant waste of computing resources of the server.
(2) Because the network conditions of the distributed nodes are various and complex, the request can be initiated only by the distributed nodes, and cannot be initiated by the server, so that the distributed nodes are not flexible.
Disclosure of Invention
In view of the above, the present invention provides a distributed node signaling transmission method and system, a shared computing node, and a signaling gateway, so as to solve at least one of the above technical problems.
First, in order to achieve the above object, the present invention provides a distributed node signaling transmission system, including:
the shared computing node comprises a local signaling agent and an application program, wherein the local signaling agent is used for maintaining long connection of a signaling channel between the local signaling agent and an access server in a signaling gateway; the application programs are used for executing shared computing tasks, and all the application programs on each shared computing node are uniformly sent and received by the signaling channel;
the signaling gateway comprises the access server and a signaling server, wherein the access server is used for maintaining long connection of the signaling channel between the access server and the local signaling proxy and transmitting the signaling channel to the signaling server when receiving the signaling sent by the shared computing node; the signaling server is used for receiving the signaling from the shared computing node from the access server and forwarding the signaling to the shared computing server;
the shared computing server is used for receiving the signaling sent from the shared computing node through the signaling server.
Optionally, the shared computing server is further configured to send a signaling to the corresponding shared computing node through the signaling server;
the signaling server is further configured to receive a signaling from the shared computing server, locate the access server to which the corresponding shared computing node belongs, and forward the signaling through the access server;
the access server is further configured to send the signaling to the corresponding shared computing node by using the signaling channel when receiving the signaling from the shared computing server forwarded by the signaling server.
Optionally, the system further comprises:
a shared compute manager including a task manager, the task manager to distribute shared compute tasks to the shared compute nodes through the signaling server;
the signaling server is further configured to receive the task distributed by the task manager, locate the access server to which the shared computing node corresponding to the task belongs, and forward the task to the access server; the access server is further used for sending the task to the corresponding shared computing node by using the signaling channel after receiving the task forwarded by the signaling server;
the local signaling proxy on the shared computing node is further configured to forward the task received from the signaling channel to the application;
the application program is also used for executing the received task.
Optionally, the shared computation manager further comprises a task state manager;
the application program on the shared computing node is also used for reporting a task state through the signaling channel;
the access server is further configured to receive the task state reported by the shared computing node from the signaling channel, and transmit the task state to the signaling server;
the signaling server is also used for reporting the task state to the task state manager after receiving the task state from the access server;
and the task state manager is used for receiving the reported task state from the signaling server and maintaining the task state.
Optionally, the access server is further configured to report node status information to the signaling server when the corresponding shared computing node is online, offline, and overtime; and the signaling server is also used for maintaining the node state of each shared computing node according to the node state information reported by the access server.
Optionally, the signaling channel is a long-connection bidirectional signaling transmission channel established between the access server and the local signaling proxy based on a remote procedure call protocol and a hypertext transfer protocol.
In addition, to achieve the above object, the present invention further provides a distributed node signaling transmission method, which is applied to the distributed node signaling transmission system, and the method includes:
a local signaling agent in a shared computing node and an access server in a signaling gateway establish a signaling channel;
the application programs in the shared computing nodes uniformly send first signaling through the signaling channel;
the access server receives the first signaling through the signaling channel and transmits the first signaling to a signaling server in the signaling gateway;
the signaling server receives the first signaling from the access server and forwards the first signaling to a shared computing server; and
the shared computing server receives the first signaling from the signaling server.
Optionally, the method further comprises:
the shared computing server sends a second signaling to the corresponding shared computing node through the signaling server;
the signaling server receives the second signaling from the shared computing server, locates the access server to which the shared computing node corresponding to the second signaling belongs, and forwards the second signaling to the access server;
when the access server receives the second signaling forwarded by the signaling server, the access server sends the second signaling to the corresponding shared computing node by using the signaling channel; and
the application in the shared computing node receives the second signaling over the signaling channel.
Optionally, the method further comprises:
a task manager in the shared computing managers distributes shared computing tasks to the corresponding shared computing nodes through the signaling server;
after receiving the task distributed by the task manager, the signaling server locates the access server to which the shared computing node corresponding to the task belongs, and forwards the task to the access server;
after receiving the task forwarded by the signaling server, the access server sends the task to the corresponding shared computing node by using the signaling channel;
the local signaling proxy on the shared compute node receives the task from the signaling channel and forwards it to the application, which executes the task.
Optionally, the method further comprises:
the application program on the shared computing node reports a task state through the signaling channel;
the access server receives the task state reported by the shared computing node from the signaling channel and transmits the task state to the signaling server;
after receiving the task state from the access server, the signaling server reports the task state to a task state manager in the shared computing manager;
and the task state manager receives the reported task state from the signaling server and maintains the task state.
Optionally, the signaling channel is a long-connection bidirectional signaling transmission channel established between the access server and the local signaling proxy based on a remote procedure call protocol and a hypertext transfer protocol.
Optionally, the method further comprises:
and when the access server connected with the shared computing node through the signaling channel is abnormal, the shared computing node is immediately reconnected to the normal access server.
Optionally, the method further comprises:
and each shared computing node of each machine room uses an independent domain name when being connected with the access server, and the access server finds the abnormal machine room through domain name polling and is quickly connected to the shared computing node of the normal machine room.
Optionally, the method further comprises:
each shared computing node simultaneously establishes a plurality of signaling channels with a plurality of access servers, monitors the quality of all the signaling channels, and immediately starts a new signaling channel when the current signaling channel is detected to be unstable; or, when the shared computing node sends the signaling each time, the signaling channel with the optimal quality is used for signaling transmission according to the quality priority of each monitored signaling channel.
Further, to achieve the above object, the present invention further provides a shared computing node, including:
the local signaling proxy is used for establishing a signaling channel with an access server in the signaling gateway;
the application program is used for sending a first signaling by the signaling channel so that the first signaling is forwarded to the shared computing server through the signaling gateway;
the local signaling proxy is further configured to receive second signaling from the shared computing server through the signaling channel and forward the second signaling to the application.
Further, to achieve the above object, the present invention further provides a distributed node signaling transmission method applied to a shared computing node, where the method includes:
a local signaling agent in the shared computing node and an access server in a signaling gateway establish a signaling channel;
the application programs in the shared computing nodes uniformly send first signaling through the signaling channel so that the first signaling is forwarded to a shared computing server through the signaling gateway; and
and the local signaling proxy receives second signaling from the shared computing server through the signaling channel and forwards the second signaling to the application program.
Further, to achieve the above object, the present invention further provides a signaling gateway, including:
the access server is used for establishing a signaling channel with a local signaling proxy in the shared computing node, receiving a first signaling sent by an application program in the shared computing node through the signaling channel and transmitting the first signaling to the signaling server in the signaling gateway;
the signaling server is used for receiving the first signaling from the access server and forwarding the first signaling to the shared computing server; receiving the second signaling from the shared computing server, locating the access server to which the shared computing node corresponding to the second signaling belongs, and forwarding the second signaling to the access server;
and the access server is further used for sending the second signaling to the corresponding shared computing node by using the signaling channel when receiving the second signaling forwarded by the signaling server.
Further, to achieve the above object, the present invention further provides a method for transmitting a distributed node signaling, which is applied to a signaling gateway, and the method includes:
an access server in the signaling gateway establishes a signaling channel with a local signaling proxy in a shared computing node;
the access server receives a first signaling sent by an application program in the shared computing node through the signaling channel and transmits the first signaling to a signaling server in the signaling gateway;
the signaling server receives the first signaling from the access server and forwards the first signaling to a shared computing server;
the signaling server receives the second signaling from the shared computing server, locates the access server to which the shared computing node corresponding to the second signaling belongs, and forwards the second signaling to the access server; and
and when receiving the second signaling forwarded by the signaling server, the access server sends the second signaling to the corresponding shared computing node by using the signaling channel.
Compared with the prior art, the distributed node signaling transmission method and system, the shared computing node and the signaling gateway provided by the invention can realize a long connecting channel based on an RPC protocol and an HTTP protocol between the access server and the shared computing node, plug-in supports are provided at two ends of the channel, a new device can be quickly accessed as long as the new device meets the protocol requirements, and real-time signaling communication is realized by using the channel. And the channel has high availability, and the success rate of signaling transmission can be ensured by quickly identifying disconnection and channel automatic redundancy.
Drawings
Fig. 1 is a schematic structural diagram of a distributed node signaling transmission system according to a first embodiment of the present invention;
fig. 2 is a flowchart illustrating a distributed node signaling transmission method according to a second embodiment of the present invention;
fig. 3 is a partial flowchart of a distributed node signaling transmission method according to a third embodiment of the present invention;
fig. 4 is a flowchart illustrating a distributed node signaling transmission method according to a fourth embodiment of the present invention;
fig. 5 is a flowchart illustrating a distributed node signaling transmission method according to a fifth embodiment of the present invention.
The implementation, functional features and advantages of the objects of the present invention will be further explained with reference to the accompanying drawings.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention more apparent, the present invention is described in further detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the 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.
It should be noted that the description relating to "first", "second", etc. in the present invention is for descriptive purposes only and is not to be construed as indicating or implying relative importance or implicitly indicating the number of technical features indicated. Thus, a feature defined as "first" or "second" may explicitly or implicitly include at least one such feature. In addition, technical solutions between various embodiments may be combined with each other, but must be realized by a person skilled in the art, and when the technical solutions are contradictory or cannot be realized, such a combination should not be considered to exist, and is not within the protection scope of the present invention.
First embodiment
Referring to fig. 1, a first embodiment of the present invention provides a distributed node signaling transmission system.
In this embodiment, the distributed node signaling transmission system 1 includes a shared computing node 2, a signaling gateway 4, and a shared computing server 6.
The shared computing node 2 is an intelligent device, can contribute to storage, bandwidth and CPU resources, and undertakes computing tasks. The shared computing node 2 includes a local signaling proxy 20 and a plurality of applications 22. The local signaling proxy 20 is used to maintain a long connection with the signaling channel between the access server 40 in the signaling gateway 4. The application program 22 is a computing program running on the distributed shared computing node 2 for performing shared computing tasks using storage, bandwidth and CPU resources on the shared computing node 2. All applications 22 on each shared computing node 2 are collectively signaled by and receive signaling from the signaling channels described above. Because the signaling channel is long-connected, any signaling can be sent out immediately, reducing delay.
The signaling channel is a long-connection bidirectional signaling transmission channel established between the access server 40 and the local signaling proxy 20 based on a Remote Procedure Call (RPC) Protocol and a HyperText Transfer Protocol (HTTP). The local signaling proxy 20 is a client of the signaling channel and the access server 40 is a server of the signaling channel.
The signalling gateway 4 comprises an access server 40 and a signalling server 42. The access server 40 is configured to maintain a long connection with the signaling channel between the local signaling proxy 20, perform authentication and filtering when receiving the signaling of the shared computing node 2, transfer effective signaling to the signaling server 42, and send the signaling to the corresponding shared computing node 2 by using the signaling channel when receiving the signaling from the shared computing server 6 forwarded by the signaling server 42. The signaling server 42 is configured to receive the signaling from the access server 40 from the shared computing node 2, forward the signaling to the shared computing server 6, receive the signaling from the shared computing server 6, quickly locate the access server 40 to which the corresponding shared computing node 2 belongs, and forward the signaling through the access server 40.
The shared computing server 6 is a server side of the shared computing service, and is configured to send a signaling to the corresponding shared computing node 2 through the signaling server 42 and the signaling channel, and receive the signaling sent from the shared computing node 2 at the same time.
Further, the distributed node signaling transmission system 1 further includes a shared computation manager 8, configured to distribute shared computation tasks and maintain task states. The shared computation manager 8 includes a task manager 80 and a task state manager 82. The task manager 80 is used to distribute shared computing tasks to the shared computing nodes 2 via the signaling server 42 and the signaling channels described above. The task state manager 82 is configured to receive a task report from the shared computing node 2 from the signaling server 42, and maintain a task state.
The signaling server 42 is further configured to receive the shared computing task pushed by the task manager 80, quickly locate the access server 40 to which the corresponding shared computing node 2 belongs, and forward the task to the access server 40. The access server 40 is further configured to, after receiving the task forwarded by the signaling server 42, send the task to the corresponding shared computing node 2 by using the signaling channel.
The local signaling proxy 20 on the shared computing node 2 is also used to forward the task received from the signaling channel to the application 22. The application 22 is also configured to execute the received shared computing task and report the task status.
The access server 40 is further configured to receive the task status reported by the shared computing node 2 from the signaling channel, and transmit the task status to the signaling server 42.
The signaling server 42 is further configured to report the task status to the task status manager 82 after receiving the task status from the access server 40.
In addition, the access server 40 is further configured to report node status information to the signaling server 42 when the corresponding shared computing node 2 is on-line, off-line, and overtime. The signaling server 42 is further configured to maintain the node status of each shared computing node 2 according to the node status information reported by the access server 40.
It should be noted that in the distributed node signaling transmission system 1, there may be multiple access servers 40 deployed across regions, so that the signaling channel may implement single-point disaster recovery and cross-machine-room disaster recovery. The single-point disaster recovery means that when an access server 40 to which the shared computing node 2 is connected is abnormal, the shared computing node 2 can be immediately reconnected to the normal access server 40. The cross-room disaster tolerance means that each shared computing node 2 of each room uses an independent domain name when being connected with the access server 40, and the access server 40 finds the abnormal room through domain name polling and quickly connects to the shared computing node 2 of the normal room.
In addition, each shared computing node 2 may establish a plurality of the above signaling channels with a plurality of access servers 40 at the same time, monitor the quality of all the signaling channels, and immediately start a new signaling channel when it is checked that the current signaling channel is unstable. Or, the shared computing node 2 uses the signaling channel with the best quality to transmit the signaling according to the quality priority of each monitored signaling channel when sending the signaling each time.
Second embodiment
Referring to fig. 2, a second embodiment of the present invention provides a distributed node signaling transmission method, which is applied to the distributed node signaling transmission system 1. In this embodiment, the execution order of the steps in the flowchart shown in fig. 2 may be changed and some steps may be omitted according to different requirements. In addition, conventional processing steps related to shared computing may be incorporated into the present invention depending on the actual application scenario. The method comprises the following steps:
s10, the local signaling proxy 20 in the shared computing node 2 establishes a signaling channel with the access server 40 in the signaling gateway 4.
The signaling channel is a long-connection bidirectional signaling transmission channel established between the access server 40 and the local signaling proxy 20 based on the RPC protocol and the HTTP protocol. The local signaling proxy 20 is a client of the signaling channel and the access server 40 is a server of the signaling channel.
It is noted that when an abnormality occurs in the access server 40 to which the shared computing node 2 is connected, the shared computing node 2 may immediately reconnect to the normal access server 40. And each shared computing node 2 of each computer room uses an independent domain name when connecting with the access server 40, and the access server 40 finds the abnormal computer room through domain name polling and quickly connects to the shared computing node 2 of the normal computer room.
In addition, each shared computing node 2 may establish a plurality of the above signaling channels with a plurality of access servers 40 at the same time, monitor the quality of all the signaling channels, and immediately start a new signaling channel when it is checked that the current signaling channel is unstable. Or, the shared computing node 2 uses the signaling channel with the best quality to transmit the signaling according to the quality priority of each monitored signaling channel when sending the signaling each time.
S11, the application 22 in the shared computing node 2 sends the first signaling through the signaling channel.
The first signaling is signaling sent from the shared computing node 2 to the shared computing server 6, and may be used to inquire whether any command needs to be executed. Because the signaling channel is long-connected, any signaling can be sent out immediately, reducing delay.
S12, the access server 40 in the signaling gateway 4 receives the first signaling sent by the shared computing node 2 through the signaling channel, and transmits the first signaling to the signaling server 42 in the signaling gateway 4.
S13, the signaling server 42 receives the first signaling from the shared computing node 2 from the access server 40, and forwards the first signaling to the shared computing server 6.
S14, the shared computing server 6 receives the first signaling from the shared computing node 2 from the signaling server 42, and sends the second signaling to the corresponding shared computing node 2 through the signaling server 42.
The second signaling is a signaling sent from the shared computing server 6 to the shared computing node 2, and may be configured to return a command that needs to be executed by the shared computing node 2 according to the first signaling, and send the command to the corresponding shared computing node, where when no command needs to be executed, a return result of the second signaling is a null value.
S15, the signaling server 42 receives the second signaling from the shared computing server 6, quickly locates to the access server 40 to which the corresponding shared computing node 2 belongs, and forwards the second signaling to the access server 40.
S16, the access server 40, upon receiving the second signaling from the shared computing server 6 forwarded by the signaling server 42, sends the second signaling to the corresponding shared computing node 2 by using the signaling channel.
S17, the application 22 in the shared computing node 2 receives the second signaling from the shared computing server 6 through the above signaling channel.
If a command to be executed is issued in the second signaling, the application 22 executes the command.
The distributed node signaling transmission method provided by this embodiment can realize a long connection channel based on the RPC protocol and the HTTP protocol between the access server and the shared computing node, and provide plug-in support at both ends of the channel, so long as the new device meets the protocol requirements, the new device can be accessed quickly, and real-time signaling communication is realized by using the channel. And the channel has high availability, and the success rate of signaling transmission can be ensured by quickly identifying disconnection and channel automatic redundancy.
Third embodiment
Referring to fig. 3, a third embodiment of the present invention provides a distributed node signaling transmission method. In this embodiment, the execution order of the steps in the flowchart shown in fig. 3 may be changed and some steps may be omitted according to different requirements. In this embodiment, the method for transmitting signaling of distributed nodes, based on the second embodiment, may further include:
s20, the task manager 80 in the shared computing manager 8 distributes the shared computing task to the corresponding shared computing node 2 via the signaling server 42.
S21, after receiving the shared computing task pushed by the task manager 80, the signaling server 42 quickly locates the access server 40 to which the corresponding shared computing node 2 belongs, and forwards the task to the access server 40.
S22, after receiving the task forwarded by the signaling server 42, the access server 40 sends the task to the corresponding shared computing node 2 by using the signaling channel.
S23, the local signaling proxy 20 on the shared computing node 2 receives the task from the signaling channel and forwards the task to the application 22, and the application 22 executes the shared computing task and reports the task status.
S24, the access server 40 receives the task state reported by the shared computing node 2 from the signaling channel, and transmits the task state to the signaling server 42, and the signaling server 42 reports the task state to the task state manager 82 in the shared computing manager 8 after receiving the task state from the access server 40.
S25, the task status manager 82 receives the reported task status from the signaling server 42 and performs maintenance.
The distributed node signaling transmission method provided by this embodiment may further perform task distribution and task state reporting by using the signaling channel, so as to ensure smooth execution and maintenance of the shared computation task.
Fourth embodiment
Referring to fig. 4, a fourth embodiment of the present invention provides a distributed node signaling transmission method, which is applied to the shared computing node 2. In this embodiment, the execution order of the steps in the flowchart shown in fig. 4 may be changed and some steps may be omitted according to different requirements. In addition, conventional processing steps related to shared computing may be incorporated into the present invention depending on the actual application scenario. The method comprises the following steps:
s30, the local signaling proxy 20 in the shared computing node 2 establishes a signaling channel with the access server 40 in the signaling gateway 4.
S31, the application 22 in the shared computing node 2 sends the first signaling through the signaling channel, so that the first signaling is forwarded to the shared computing server 6 through the signaling gateway.
S32, the local signaling proxy 20 receives the second signaling from the shared computing server 6 through the signaling channel and forwards the second signaling to the application 22.
S33, the local signaling proxy 20 receives the shared computation task distributed by the task manager 80 in the shared computation manager 8 through the above signaling channel, and forwards the shared computation task to the application 22.
S34, the application 22 performs the task received.
S35, the application 22 reports the task status through the signaling channel, so that the task status is forwarded to the task status manager 82 in the shared computation manager 8 through the signaling gateway 4.
For detailed descriptions of the above steps, please refer to the first to third embodiments, which are not repeated herein.
Fifth embodiment
Referring to fig. 5, a fifth embodiment of the present invention provides a distributed node signaling transmission method, which is applied to the signaling gateway 4. In this embodiment, the execution order of the steps in the flowchart shown in fig. 5 may be changed and some steps may be omitted according to different requirements. In addition, conventional processing steps related to shared computing may be incorporated into the present invention depending on the actual application scenario. The method comprises the following steps:
s40, the access server 40 in the signaling gateway 4 establishes a signaling channel with the local signaling proxy 20 in the shared computing node 2.
S41, the access server 40 receives the first signaling sent by the application program 22 in the shared computing node 2 through the signaling channel, and transmits the first signaling to the signaling server 42 in the signaling gateway 4.
S42, the signaling server 42 receives the first signaling from the access server 40 and forwards the first signaling to the shared computing server 6.
S43, the signaling server 42 receives the second signaling from the shared computing server 6, locates the access server 40 to which the shared computing node 2 belongs corresponding to the second signaling, and forwards the second signaling to the access server 40.
S44, the access server 40, upon receiving the second signaling forwarded by the signaling server 42, sends the second signaling to the corresponding shared computing node 2 by using the signaling channel.
S45, the signaling server 42 receives the shared computation task distributed by the task manager 80 in the shared computation manager 8, locates the access server 40 to which the shared computation node 2 corresponding to the task belongs, and forwards the task to the access server 40.
S46, after receiving the task forwarded by the signaling server 42, the access server 40 sends the task to the corresponding shared computing node 2 by using the signaling channel.
S47, the access server 40 receives the task status reported by the shared computing node 2 from the signaling channel, and transmits the task status to the signaling server 42.
S48, the signaling server 42 reports the task status received from the access server 40 to the task status manager 82 in the shared computing manager 8.
For detailed descriptions of the above steps, please refer to the first to third embodiments, which are not repeated herein.
Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner. Based on such understanding, the technical solutions of the present invention may be embodied in the form of a software product, which is stored in a storage medium (such as ROM/RAM, magnetic disk, optical disk) and includes instructions for enabling a client (such as a mobile phone, a computer, an electronic device, an air conditioner, or a network device) to execute the method according to the embodiments of the present invention.
The above description is only a preferred embodiment of the present invention, and not intended to limit the scope of the present invention, and all modifications of equivalent structures and equivalent processes, which are made by using the contents of the present specification and the accompanying drawings, or directly or indirectly applied to other related technical fields, are included in the scope of the present invention.

Claims (23)

1. A method for signaling a distributed node, the method comprising:
establishing a signaling channel between a local signaling proxy in a shared computing node and an access server in a signaling gateway, wherein the signaling channel is a long-connection bidirectional signaling transmission channel established between the access server and the local signaling proxy on the basis of a remote procedure call protocol and a hypertext transfer protocol;
the application programs in the shared computing nodes are uniformly sent by the signaling channel to form first signaling, and the first signaling is used for inquiring whether commands need to be executed or not;
the access server receives the first signaling through the signaling channel and transmits the first signaling to a signaling server in the signaling gateway;
the signaling server receives the first signaling from the access server and forwards the first signaling to a shared computing server; and
the shared computing server receiving the first signaling from the signaling server;
the method further comprises the following steps:
each shared computing node simultaneously establishes a plurality of signaling channels with a plurality of access servers, monitors the quality of all the signaling channels, and immediately starts a new signaling channel when the current signaling channel is detected to be unstable; or, when the shared computing node sends the signaling each time, the signaling channel with the optimal quality is used for signaling transmission according to the quality priority of each monitored signaling channel.
2. The distributed node signaling transmission method of claim 1, wherein the method further comprises:
the shared computing server sends a second signaling to the corresponding shared computing node through the signaling server;
the signaling server receives the second signaling from the shared computing server, locates the access server to which the shared computing node corresponding to the second signaling belongs, and forwards the second signaling to the access server;
when the access server receives the second signaling forwarded by the signaling server, the access server sends the second signaling to the corresponding shared computing node by using the signaling channel;
the application in the shared computing node receives the second signaling over the signaling channel.
3. The distributed node signaling transmission method of claim 2, wherein the method further comprises:
a task manager in the shared computing managers distributes shared computing tasks to the corresponding shared computing nodes through the signaling server;
after receiving the task distributed by the task manager, the signaling server locates the access server to which the shared computing node corresponding to the task belongs, and forwards the task to the access server;
after receiving the task forwarded by the signaling server, the access server sends the task to the corresponding shared computing node by using the signaling channel;
the local signaling proxy on the shared compute node receives the task from the signaling channel and forwards it to the application, which executes the task.
4. The distributed node signaling transmission method of claim 3, wherein the method further comprises:
the application program on the shared computing node reports a task state through the signaling channel;
the access server receives the task state reported by the shared computing node from the signaling channel and transmits the task state to the signaling server;
after receiving the task state from the access server, the signaling server reports the task state to a task state manager in the shared computing manager;
and the task state manager receives the reported task state from the signaling server and maintains the task state.
5. The distributed node signaling transmission method of any of claims 1-4, wherein the method further comprises:
and when the access server connected with the shared computing node through the signaling channel is abnormal, the shared computing node is immediately reconnected to the normal access server.
6. The distributed node signaling transmission method of any of claims 1-4, wherein the method further comprises:
and each shared computing node of each machine room uses an independent domain name when being connected with the access server, and the access server finds the abnormal machine room through domain name polling and is quickly connected to the shared computing node of the normal machine room.
7. A distributed node signaling transmission system, the system comprising:
the shared computing node comprises a local signaling agent and an application program, wherein the local signaling agent is used for maintaining long connection of a signaling channel between the local signaling agent and an access server in a signaling gateway; the application programs are used for executing shared computing tasks, and all the application programs on each shared computing node are uniformly sent and received by the signaling channel; each shared computing node simultaneously establishes a plurality of signaling channels with a plurality of access servers, monitors the quality of all the signaling channels, and immediately starts a new signaling channel when the current signaling channel is detected to be unstable; or, when the shared computing node sends the signaling each time, the signaling channel with the optimal quality is used for signaling transmission according to the quality priority of each monitored signaling channel;
the signaling gateway comprises the access server and a signaling server, wherein the access server is used for maintaining long connection of the signaling channel between the access server and the local signaling proxy and transmitting the signaling channel to the signaling server when receiving the signaling sent by the shared computing node; the signaling server is used for receiving the signaling from the shared computing node from the access server and forwarding the signaling to the shared computing server;
the shared computing server is used for receiving the signaling sent by the shared computing node through the signaling server;
the signaling channel is a long-connection bidirectional signaling transmission channel established between the access server and the local signaling proxy on the basis of a remote procedure call protocol and a hypertext transfer protocol.
8. The distributed node signaling transport system of claim 7 wherein:
the shared computing server is also used for sending a signaling to the corresponding shared computing node through the signaling server;
the signaling server is further configured to receive a signaling from the shared computing server, locate the access server to which the corresponding shared computing node belongs, and forward the signaling through the access server;
the access server is further configured to send the signaling to the corresponding shared computing node by using the signaling channel when receiving the signaling from the shared computing server forwarded by the signaling server.
9. The distributed node signaling transport system of claim 8 wherein the system further comprises:
a shared compute manager including a task manager, the task manager to distribute shared compute tasks to the shared compute nodes through the signaling server;
the signaling server is further configured to receive the task distributed by the task manager, locate the access server to which the shared computing node corresponding to the task belongs, and forward the task to the access server;
the access server is further used for sending the task to the corresponding shared computing node by using the signaling channel after receiving the task forwarded by the signaling server;
the local signaling proxy on the shared computing node is further configured to forward the task received from the signaling channel to the application;
the application program is also used for executing the received task.
10. The distributed node signaling transport system of claim 9 wherein the shared computation manager further comprises a task state manager;
the application program on the shared computing node is also used for reporting a task state through the signaling channel;
the access server is further configured to receive the task state reported by the shared computing node from the signaling channel, and transmit the task state to the signaling server;
the signaling server is also used for reporting the task state to the task state manager after receiving the task state from the access server;
and the task state manager is used for receiving the reported task state from the signaling server and maintaining the task state.
11. The distributed node signaling transmission system of claim 10 wherein the access server is further configured to report node status information to the signaling server when the corresponding shared computing node is online, offline, and overtime; and the signaling server is also used for maintaining the node state of each shared computing node according to the node state information reported by the access server.
12. A distributed node signaling transmission method is applied to a shared computing node, and is characterized by comprising the following steps:
a local signaling proxy in the shared computing node and an access server in a signaling gateway establish a signaling channel, wherein the signaling channel is a long-connection bidirectional signaling transmission channel established between the access server and the local signaling proxy on the basis of a remote procedure call protocol and a hypertext transfer protocol;
the application programs in the shared computing nodes uniformly send first signaling through the signaling channel so that the first signaling is forwarded to a shared computing server through the signaling gateway, and the first signaling is used for inquiring whether commands need to be executed or not; and
the local signaling agent receives a second signaling from the shared computing server through the signaling channel and forwards the second signaling to the application program;
the method further comprises the following steps:
each shared computing node simultaneously establishes a plurality of signaling channels with a plurality of access servers, monitors the quality of all the signaling channels, and immediately starts a new signaling channel when the current signaling channel is detected to be unstable; or, when the shared computing node sends the signaling each time, the signaling channel with the optimal quality is used for signaling transmission according to the quality priority of each monitored signaling channel.
13. The distributed node signaling transmission method of claim 12, wherein the method further comprises:
the local signaling agent receives the shared computing task distributed by the task manager in the shared computing manager through the signaling channel and forwards the shared computing task to the application program;
the application executes the received task.
14. The distributed node signaling transmission method of claim 13, wherein the method further comprises:
and the application program reports the task state through the signaling channel so that the task state is forwarded to a task state manager in the shared computing manager through the signaling gateway.
15. A shared computing node, the shared computing node comprising:
the local signaling proxy is used for establishing a signaling channel with an access server in a signaling gateway, wherein the signaling channel is a long-connection bidirectional signaling transmission channel established between the access server and the local signaling proxy on the basis of a remote procedure call protocol and a hypertext transfer protocol;
the application program is used for sending a first signaling through the signaling channel so as to enable the first signaling to be forwarded to the shared computing server through the signaling gateway, and the first signaling is used for inquiring whether a command needs to be executed or not;
the local signaling proxy is further used for receiving a second signaling from the shared computing server through the signaling channel and forwarding the second signaling to the application program;
the local signaling proxy is also used for establishing a plurality of signaling channels with a plurality of access servers at the same time, monitoring the quality of all the signaling channels, and starting a new signaling channel immediately when the current signaling channel is detected to be unstable; or, when sending signaling, according to the quality priority of each monitored signaling channel, using the signaling channel with the best quality to transmit signaling.
16. The shared computing node of claim 15, wherein:
the local signaling agent is also used for receiving the shared computing task distributed by the task manager in the shared computing manager through the signaling channel and forwarding the shared computing task to the application program;
the application program is also used for executing the received task.
17. The shared computing node of claim 16, wherein:
and the application program is also used for reporting a task state through the signaling channel so as to forward the task state to a task state manager in the shared computing manager through the signaling gateway.
18. A distributed node signaling transmission method is applied to a signaling gateway, and is characterized in that the method comprises the following steps:
an access server in the signaling gateway establishes a signaling channel with a local signaling proxy in a shared computing node, wherein the signaling channel is a long-connection bidirectional signaling transmission channel established between the access server and the local signaling proxy on the basis of a remote procedure call protocol and a hypertext transmission protocol;
the access server receives a first signaling sent by an application program in the shared computing node through the signaling channel and transmits the first signaling to a signaling server in the signaling gateway, wherein the first signaling is used for inquiring whether a command needs to be executed;
the signaling server receives the first signaling from the access server and forwards the first signaling to a shared computing server;
the signaling server receives a second signaling from the shared computing server, locates the access server to which the shared computing node corresponding to the second signaling belongs, and forwards the second signaling to the access server; and
when the access server receives the second signaling forwarded by the signaling server, the access server sends the second signaling to the corresponding shared computing node by using the signaling channel;
the method further comprises the following steps:
a plurality of access servers in the signaling gateway and each shared computing node establish a plurality of signaling channels, monitor the quality of all the signaling channels, and immediately start a new signaling channel when the current signaling channel is detected to be unstable; or, when sending signaling, according to the quality priority of each monitored signaling channel, using the signaling channel with the best quality to transmit signaling.
19. The distributed node signaling transmission method of claim 18, wherein the method further comprises:
the signaling server receives a shared computing task distributed by a task manager in a shared computing manager, locates the access server to which the shared computing node corresponding to the task belongs, and forwards the task to the access server;
and after receiving the task forwarded by the signaling server, the access server sends the task to the corresponding shared computing node by using the signaling channel.
20. The distributed node signaling transmission method of claim 19, wherein the method further comprises:
the access server receives the task state reported by the shared computing node from the signaling channel and transmits the task state to the signaling server;
and after receiving the task state from the access server, the signaling server reports the task state to a task state manager in the shared computing manager.
21. A signaling gateway, characterized in that the signaling gateway comprises:
the access server is used for establishing a signaling channel with a local signaling proxy in a shared computing node, receiving a first signaling sent by an application program in the shared computing node through the signaling channel and transmitting the first signaling to the signaling server in the signaling gateway, wherein the signaling channel is a long-connection bidirectional signaling transmission channel established between the access server and the local signaling proxy on the basis of a remote procedure call protocol and a hypertext transfer protocol, and the first signaling is used for inquiring whether a command needs to be executed;
the signaling server is used for receiving the first signaling from the access server and forwarding the first signaling to the shared computing server; receiving a second signaling from the shared computing server, positioning to the access server to which the shared computing node corresponding to the second signaling belongs, and forwarding the second signaling to the access server;
the access server is further configured to send the second signaling to the corresponding shared computing node by using the signaling channel when receiving the second signaling forwarded by the signaling server;
the access server is also used for simultaneously establishing a plurality of signaling channels with each shared computing node by a plurality of access servers, monitoring the quality of all the signaling channels, and immediately starting a new signaling channel when the current signaling channel is not stable; or, when sending signaling, according to the quality priority of each monitored signaling channel, using the signaling channel with the best quality to transmit signaling.
22. The signaling gateway of claim 21, wherein:
the signaling server is further configured to receive a shared computing task distributed by a task manager in a shared computing manager, locate the access server to which the shared computing node corresponding to the task belongs, and forward the task to the access server;
and the access server is also used for sending the task to the corresponding shared computing node by using the signaling channel after receiving the task forwarded by the signaling server.
23. The signaling gateway of claim 22, wherein:
the access server is also used for receiving the task state reported by the shared computing node from the signaling channel and transmitting the task state to the signaling server;
and the signaling server is also used for reporting the task state to a task state manager in the shared computing manager after receiving the task state from the access server.
CN201810959227.7A 2018-08-22 2018-08-22 Distributed node signaling transmission method and system, shared computing node and signaling gateway Active CN109067509B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810959227.7A CN109067509B (en) 2018-08-22 2018-08-22 Distributed node signaling transmission method and system, shared computing node and signaling gateway

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810959227.7A CN109067509B (en) 2018-08-22 2018-08-22 Distributed node signaling transmission method and system, shared computing node and signaling gateway

Publications (2)

Publication Number Publication Date
CN109067509A CN109067509A (en) 2018-12-21
CN109067509B true CN109067509B (en) 2021-08-06

Family

ID=64687773

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810959227.7A Active CN109067509B (en) 2018-08-22 2018-08-22 Distributed node signaling transmission method and system, shared computing node and signaling gateway

Country Status (1)

Country Link
CN (1) CN109067509B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109725856B (en) * 2018-12-29 2022-04-29 深圳市网心科技有限公司 Shared node management method and device, electronic equipment and storage medium
CN117579679B (en) * 2024-01-15 2024-04-19 海马云(天津)信息技术有限公司 Signaling interaction method and device, electronic equipment and storage medium

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1171688A (en) * 1996-06-28 1998-01-28 朗迅科技公司 ISDN D channel restration without loss of signaling or packet data
CN101009588A (en) * 2006-01-24 2007-08-01 华为技术有限公司 Method and system for configuring the distributed proxy server information
CN201114596Y (en) * 2007-09-29 2008-09-10 广州维德科技有限公司 Distributed cluster channel controller
CN106488568A (en) * 2012-07-20 2017-03-08 华为技术有限公司 A kind of data transmission method, device and communication system
CN107231372A (en) * 2017-06-28 2017-10-03 深圳市欧乐在线技术发展有限公司 A kind of Dynamic VPN network method for building up and device
CN108282825A (en) * 2017-01-05 2018-07-13 电信科学技术研究院 A kind of information processing method and device

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7634568B2 (en) * 2002-02-07 2009-12-15 Sprint Spectrum L.P. Method and system for facilitating services in a communication network through data-publication by a signaling server
US9774687B2 (en) * 2014-07-07 2017-09-26 Twilio, Inc. System and method for managing media and signaling in a communication platform

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1171688A (en) * 1996-06-28 1998-01-28 朗迅科技公司 ISDN D channel restration without loss of signaling or packet data
CN101009588A (en) * 2006-01-24 2007-08-01 华为技术有限公司 Method and system for configuring the distributed proxy server information
CN201114596Y (en) * 2007-09-29 2008-09-10 广州维德科技有限公司 Distributed cluster channel controller
CN106488568A (en) * 2012-07-20 2017-03-08 华为技术有限公司 A kind of data transmission method, device and communication system
CN108282825A (en) * 2017-01-05 2018-07-13 电信科学技术研究院 A kind of information processing method and device
CN107231372A (en) * 2017-06-28 2017-10-03 深圳市欧乐在线技术发展有限公司 A kind of Dynamic VPN network method for building up and device

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
"ON THE RELIABILITY EXPONENT OF THE EXPONENTIAL TELEPHONE SIGNALING CHANNEL";Yakir Ovadia,Shraga I. Bross;《2004 23rd IEEE Convention of Electrical and Electronics Engineers in Israel》;20040907;全文 *
"VoIP系统中的信令通道及其功能";曹锐;《海南省通信学会学术年会》;20071201;全文 *

Also Published As

Publication number Publication date
CN109067509A (en) 2018-12-21

Similar Documents

Publication Publication Date Title
CN102195825B (en) A kind of client and the complete mutual supervisory control system of server and method for supervising thereof
CN109067509B (en) Distributed node signaling transmission method and system, shared computing node and signaling gateway
CN107528891B (en) Websocket-based automatic clustering method and system
CN103312593B (en) A kind of message distributing system and method
CN112910981B (en) Control method and device
CN105554099A (en) Method and device for balancing load of acquisition servers
CN114328115A (en) Cloud monitoring and edge operation and maintenance method and system
CN102307194B (en) Graceful restarting method and device for universal protocol process
CN109525620B (en) Message pushing system, method and device
CN116886497A (en) Service grid business centralized proxy switching method and processing system based on DPU
CN116319732A (en) Message queue centralized configuration management system and method based on RabbitMQ
CN103312558B (en) In computer clients server system, network is connected with validity monitoring method and system
CN105554150A (en) Network logging-in method and apparatus
CN113783961A (en) Remote terminal management method and device, computer equipment and storage medium
CN103036724A (en) State information transmission method and network equipment and combination equipment
CN107231401B (en) Session monitoring method, device and system
CN114143569B (en) Webpage recording and live broadcasting method and system
US20090198768A1 (en) Asynchronous request-response communication method
CN111064618B (en) Method, device, equipment and storage medium for realizing high availability of server
US20120072545A1 (en) Remote maintenance and monitoring service framework for heterogeneous device and system
CN114095759B (en) Stream media redirection method and related device
CN108964955A (en) A kind of loss Trap message lookup method and Network Management System and a kind of SNMP agent
CN109660613B (en) File transmission method and system
CN113098792B (en) Interface data communication method and system based on token binding
CN110636098B (en) Monitoring data sharing method, monitoring device, server and system

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