CN109067509A - Distributed node signal transmission method and system, shared calculate node and signaling gateway - Google Patents
Distributed node signal transmission method and system, shared calculate node and signaling gateway Download PDFInfo
- Publication number
- CN109067509A CN109067509A CN201810959227.7A CN201810959227A CN109067509A CN 109067509 A CN109067509 A CN 109067509A CN 201810959227 A CN201810959227 A CN 201810959227A CN 109067509 A CN109067509 A CN 109067509A
- Authority
- CN
- China
- Prior art keywords
- signaling
- shared
- server
- task
- calculate node
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L5/00—Arrangements affording multiple use of the transmission path
- H04L5/003—Arrangements for allocating sub-channels of the transmission path
- H04L5/0053—Allocation of signaling, i.e. of overhead other than pilot signals
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/14—Session management
- H04L67/141—Setup of application sessions
Landscapes
- Engineering & Computer Science (AREA)
- Signal Processing (AREA)
- Computer Networks & Wireless Communication (AREA)
- Data Exchanges In Wide-Area Networks (AREA)
Abstract
The invention discloses a kind of distributed node signal transmission methods, this method comprises: shared calculate node and access server establish signalling path;Shared calculate node sends the first signaling by signalling path;Access server receives the first signaling, is transferred to signal server;First signaling is forwarded to shared calculation server by signal server;Shared calculation server receives the first signaling from signal server, and sends the second signaling by signal server;Signal server navigates to access server belonging to the corresponding shared calculate node of the second signaling, and forwards the second signaling;Second signaling is sent to corresponding shared calculate node using signalling path by access server;Shared calculate node receives the second signaling.The present invention also provides a kind of distributed node signaling transmission system, shared calculate node and signaling gateway.The present invention can realize real-time signalling communication using the signalling path.
Description
Technical field
The present invention relates to shared computing technique field more particularly to a kind of distributed node signal transmission method and system,
Shared calculate node and signaling gateway.
Background technique
Present smart machine is quickly grown, and quantity is skyrocketed through, and the shared calculating based on smart machine progress is also quick
In development.The shared core technology calculated is how quickly and efficiently to interact with smart machine, and transmitting order to lower levels is received
Collection state.And smart machine, as distributed node, this technology is also just equivalent to how distributed apparatus carries out efficient signaling
Transmission.Existing signal transmission method is mainly that the application program on distributed node periodically is initiated to request to server end, is ask
Whether ask has order to need to be implemented.But this mode has following two:
(1) due to order issue be a rather low-frequency operation, so application program initiate the overwhelming majority request
To return the result all be null value, that is, do not need to operate in next step.And multiple application programs can be generally run on distributed node,
Each application program requires signalling, so can initiate a large amount of useless requests in single node.This mode can a large amount of waves
Take the computing resource of server.
(2) more complicated since the network condition of distributed node is varied, therefore generally can only be by distributed node
Request is initiated, can not be initiated by server end, it is inflexible.
Summary of the invention
In view of this, the present invention proposes a kind of distributed node signal transmission method and system, shared calculate node and letter
Gateway is enabled, to solve at least one above-mentioned technical problem.
Firstly, to achieve the above object, the present invention proposes a kind of distributed node signaling transmission system, the system packet
It includes:
Shared calculate node, including local signaling proxy and application program, the local signaling proxy is for maintaining and believing
Enable the long connection of the signalling path between the access server in gateway;The application program is used to execute shared calculating task,
And all application programs unification in each shared calculate node sends and receives signaling by the signalling path;
The signaling gateway, including the access server and signal server, the access server for maintain and
The long connection of the signalling path between the local signaling proxy, in the signaling for receiving the shared calculate node transmission
When, it is transferred to the signal server;The signal server is used to received from the access server from described shared
The signaling of calculate node is forwarded to shared calculation server;
The shared calculation server, for being received by the signal server from the shared calculate node transmission
Signaling.
Optionally, the shared calculation server is also used to through the signal server to the corresponding shared calculating
Node sends signaling;
The signal server is also used to receive the signaling from the shared calculation server, navigates to corresponding described
The access server belonging to shared calculate node, and the signaling is forwarded by the access server;
The access server is also used to receiving servicing from the shared calculating for the signal server forwarding
When the signaling of device, the signaling is sent to the corresponding shared calculate node using the signalling path.
Optionally, the system also includes:
Shared management of computing device, including task manager, the task manager are used for through the signal server point
Shared calculating task is sent out to the shared calculate node;
The signal server is also used to receive the task of the task manager distribution, navigates to the task pair
The access server belonging to the shared calculate node answered, is forwarded to the access server for the task;It is described
Access server is also used to after the task for receiving the signal server forwarding, will be described using the signalling path
Task is sent to the corresponding shared calculate node;
Described in the local signaling proxy in the shared calculate node is also used to receive from the signalling path
Task, and it is forwarded to the application program;
The application program is also used to execute the task received.
Optionally, the shared management of computing device further includes task status manager;
The application program in the shared calculate node is also used to report task status by the signalling path;
The access server is also used to receive the task that the shared calculate node reports from the signalling path
State, and it is transferred to the signal server;
After the signal server is also used to receive the task status from the access server, by the task shape
State is reported to the task status manager;
The task status manager is used to receive the task status reported from the signal server and be tieed up
Shield.
Optionally, the access server is also used to online, offline and overtime in the corresponding shared calculate node
When to the signal server report node status information;The signal server is also used to according to the access server
The node status information reported safeguards the node state of each shared calculate node.
Optionally, the signalling path is between the access server and the local signaling proxy with remote process
The long two-way signaling transmission channel of connection established based on invocation protocol and hypertext transfer protocol.
In addition, to achieve the above object, the present invention also provides a kind of distributed node signal transmission methods, it is applied to described
Distributed node signaling transmission system, which comprises
Local signaling proxy in shared calculate node and the access server in signaling gateway establish signalling path;
Application program in the shared calculate node is unified by the signalling path the first signaling of transmission;
The access server receives first signaling by the signalling path, is transferred in the signaling gateway
Signal server;
The signal server receives first signaling from the access server, is forwarded to shared calculate and services
Device;And
The shared calculation server receives first signaling from the signal server.
Optionally, the method also includes:
The shared calculation server sends second to the corresponding shared calculate node by the signal server
Signaling;
The signal server receives second signaling from the shared calculation server, navigates to described second
The access server belonging to the corresponding shared calculate node of signaling, and second signaling is forwarded to the access
Server;
The access server utilizes the signaling when receiving second signaling of the signal server forwarding
Second signaling is sent to the corresponding shared calculate node by channel;And
The application program in the shared calculate node receives second signaling by the signalling path.
Optionally, the method also includes:
Task manager in shared management of computing device distributes shared calculating task to correspondence by the signal server
The shared calculate node;
After the signal server receives the task of the task manager distribution, it is corresponding to navigate to the task
The task is forwarded to the access server by the access server belonging to the shared calculate node;
The access server utilizes the signalling path after the task for receiving the signal server forwarding
The task is sent to the corresponding shared calculate node;
The task that the local signaling proxy in the shared calculate node is received from the signalling path, and
It is forwarded to the application program, the application program executes the task.
Optionally, the method also includes:
The application program in the shared calculate node reports task status by the signalling path;
The access server receives the task status that the shared calculate node reports from the signalling path, and
It is transferred to the signal server;
After the signal server receives the task status from the access server, it is reported to the shared calculating
Task status manager in manager;
The task status manager receives the task status reported and is safeguarded from the signal server.
Optionally, the signalling path is between the access server and the local signaling proxy with remote process
The long two-way signaling transmission channel of connection established based on invocation protocol and hypertext transfer protocol.
Optionally, the method also includes:
When the shared calculate node occurs abnormal by the access server that the signalling path is connected, institute
The reconnection immediately of shared calculate node is stated to normal access server.
Optionally, the method also includes:
Each shared calculate node of each computer room uses independent domain name, institute when connecting the access server
It states access server and abnormal computer room occurs by the discovery of domain name poll, and be quickly connected to the shared calculating section of normal computer room
Point.
Optionally, the method also includes:
Each shared calculate node establishes a plurality of signalling path with multiple access servers simultaneously, and supervises
The quality for controlling all signalling paths, when check current signalling path it is unstable when, start new signalling path immediately;Or
Person, the shared calculate node, according to the quality priority of each signalling path monitored, are used when sending signaling every time
The signalling path of optimal quality carries out signalling.
Further, to achieve the above object, the present invention also provides a kind of shared calculate node, the shared calculate nodes
Include:
Local signaling proxy, for establishing signalling path with the access server in signaling gateway;
Application program, for sending the first signaling by the signalling path, so that first signaling passes through the signaling
Gateway forwards are to shared calculation server;
The local signaling proxy is also used to receive the from the shared calculation server by the signalling path
Two signalings, and it is forwarded to the application program.
Further, to achieve the above object, the present invention also provides a kind of distributed node signal transmission method, it is applied to
Shared calculate node, which comprises
The access server in local signaling proxy and signaling gateway in the shared calculate node establishes signalling path;
Application program in the shared calculate node is unified to send the first signaling by the signalling path, so that described the
One signaling is forwarded to shared calculation server by the signaling gateway;And
The local signaling proxy receives the second signaling from the shared calculation server by the signalling path,
And it is forwarded to the application program.
Further, to achieve the above object, the present invention also provides a kind of signaling gateway, the signaling gateway includes:
Access server passes through the letter for establishing signalling path with the local signaling proxy in shared calculate node
The first signaling for enabling the application program shared in calculate node described in channel reception send, and be transferred in the signaling gateway
Signal server;
The signal server is forwarded to shared calculating for receiving first signaling from the access server
Server;And second signaling from the shared calculation server is received, it is corresponding to navigate to second signaling
The access server belonging to the shared calculate node, and second signaling is forwarded to the access server;
The access server is also used to utilize institute when receiving second signaling of the signal server forwarding
It states signalling path and second signaling is sent to the corresponding shared calculate node.
Further, to achieve the above object, the present invention also provides a kind of distributed node signal transmission method, it is applied to
Signaling gateway, which comprises
The local signaling proxy in access server and shared calculate node in the signaling gateway establishes signalling path;
The access server receives the transmission of the application program in the shared calculate node by the signalling path
First signaling, and the signal server being transferred in the signaling gateway;
The signal server receives first signaling from the access server, is forwarded to shared calculate and services
Device;
The signal server receives second signaling from the shared calculation server, navigates to described second
The access server belonging to the corresponding shared calculate node of signaling, and second signaling is forwarded to the access
Server;And
The access server utilizes the signaling when receiving second signaling of the signal server forwarding
Second signaling is sent to the corresponding shared calculate node by channel.
Compared to the prior art, distributed node signal transmission method proposed by the invention and system, shared calculate are saved
Point and signaling gateway, can realize the length based on RPC agreement and http protocol between access server and shared calculate node
Interface channel both provides plug-in unitization at channel both ends and supports, as long as new device meets protocol requirement, can quickly access,
Real-time signalling communication is realized using channel.Also, the channel availabity is high, can be by quickly identifying that disconnection and channel are automatically superfluous
Yu Hua guarantees signalling success rate.
Detailed description of the invention
Fig. 1 is a kind of configuration diagram for distributed node signaling transmission system that first embodiment of the invention proposes;
Fig. 2 is a kind of flow diagram for distributed node signal transmission method that second embodiment of the invention proposes;
Fig. 3 is a kind of part process signal for distributed node signal transmission method that third embodiment of the invention proposes
Figure;
Fig. 4 is a kind of flow diagram for distributed node signal transmission method that fourth embodiment of the invention proposes;
Fig. 5 is a kind of flow diagram for distributed node signal transmission method that fifth embodiment of the invention proposes.
The embodiments will be further described with reference to the accompanying drawings for the realization, the function and the advantages of the object of the present invention.
Specific embodiment
In order to make the objectives, technical solutions, and advantages of the present invention clearer, with reference to the accompanying drawings and embodiments, right
The present invention is further elaborated.It should be appreciated that described herein, specific examples are only used to explain the present invention, not
For limiting the present invention.Based on the embodiments of the present invention, those of ordinary skill in the art are not before making creative work
Every other embodiment obtained is put, shall fall within the protection scope of the present invention.
It should be noted that the description for being related to " first ", " second " etc. in the present invention is used for description purposes only, and cannot
It is interpreted as its relative importance of indication or suggestion or implicitly indicates the quantity of indicated technical characteristic.Define as a result, " the
One ", the feature of " second " can explicitly or implicitly include at least one of the features.In addition, the skill between each embodiment
Art scheme can be combined with each other, but must be based on can be realized by those of ordinary skill in the art, when technical solution
Will be understood that the combination of this technical solution is not present in conjunction with there is conflicting or cannot achieve when, also not the present invention claims
Protection scope within.
First embodiment
As shown in fig.1, first embodiment of the invention proposes a kind of distributed node signaling transmission system.
In the present embodiment, distributed node signaling transmission system 1 includes shared calculate node 2, signaling gateway 4, shares
Calculation server 6.
Shared calculate node 2 is a smart machine, can contribute storage, bandwidth and cpu resource, undertake calculating task.
Shared calculate node 2 includes local signaling proxy 20 and multiple application programs 22.Local signaling proxy 20 is for maintenance and signaling
The long connection of the signalling path between access server 40 in gateway 4.Application program 22 is to operate in Distributed sharing calculating
Calculation procedure on node 2, for executing shared calculate and appointing using storage, bandwidth and the cpu resource in shared calculate node 2
Business.The unification of all application programs 22 in each shared calculate node 2 sends and receives signaling by above-mentioned signalling path.Because should
Signalling path is long connection, so any signaling can be sent immediately, reduces delay.
Above-mentioned signalling path is between access server 40 and local signaling proxy 20 with remote procedure call (Remote
Procedure Call, RPC) agreement and hypertext transfer protocol (HyperText Transfer Protocol, HTTP) be base
The long two-way signaling transmission channel of connection that plinth is established.Local signaling proxy 20 is the client of the signalling path, access server
40 be the server-side of the signalling path.
Signaling gateway 4 includes access server 40 and signal server 42.Wherein, access server 40 is for maintenance and this
The long connection of signalling path between ground signaling proxy 20 carries out authentication and mistake when receiving the signaling of shared calculate node 2
Efficient signaling is transmitted to signal server 42, and shares calculating clothes receiving coming from for the forwarding of signal server 42 by filter
When the signaling of business device 6, the signaling is sent to corresponding shared calculate node 2 using the signalling path.Signal server 42 is used for
The signaling from shared calculate node 2 is received from access server 40, is forwarded to shared calculation server 6, and receive and come from
The signaling of shared calculation server 6 quickly navigates to access server 40 belonging to corresponding shared calculate node 2, and by being somebody's turn to do
Access server 40 forwards the signaling.
Shared calculation server 6 is the shared server end for calculating service, for passing through signal server 42 and above-mentioned letter
It enables channel send signaling to corresponding shared calculate node 2, while receiving the signaling sent from shared calculate node 2.
Further, above-mentioned distributed node signaling transmission system 1 further includes shared management of computing device 8, for distributing altogether
Enjoy calculating task and maintenance task state.Shared management of computing device 8 includes task manager 80 and task status manager 82.Appoint
Manager 80 be engaged in for distributing shared calculating task to shared calculate node 2 by signal server 42 and above-mentioned signalling path.
Task status manager 82 is used to receive the task from shared calculate node 2 from signal server 42 and report, maintenance task shape
State.
Signal server 42 is also used to receive the shared calculating task of the push of task manager 80, quickly navigates to corresponding total
Access server 40 belonging to calculate node 2 is enjoyed, which is forwarded to the access server 40.Access server 40 is also used to
After the receiving the forwarding of signal server 42 of the task, the task is sent to corresponding shared calculate using above-mentioned signalling path and is saved
Point 2.
The task that local signaling proxy 20 in shared calculate node 2 is also used to receive from above-mentioned signalling path, and
It is forwarded to application program 22.Application program 22 is also used to execute the shared calculating task received, and reports task status.
Access server 40 is also used to receive the task status that shared calculate node 2 reports from above-mentioned signalling path, and passes
It is handed to signal server 42.
After signal server 42 is also used to receive the task status from access server 40, it is reported to task status management
Device 82.
In addition, above-mentioned access server 40 is also used to when corresponding shared calculate node 2 is online, offline and overtime
It waits to signal server 42 and reports node status information.Signal server 42 is also used to the node reported according to access server 40
The node state of each shared calculate node 2 of state information maintenance.
It is worth noting that, access server 40 can have more in above-mentioned distributed node signaling transmission system 1,
Cross-region deployment simultaneously, therefore single-point disaster tolerance and across computer room disaster tolerance may be implemented in above-mentioned signalling path.Wherein, single-point disaster tolerance is
Refer to, when the access server 40 that shared calculate node 2 is connected occurs abnormal, which can reconnection immediately
To normal access server 40.Across computer room disaster tolerance refers to that each shared calculate node 2 of each computer room is in connection access service
Independent domain name is used when device 40, which abnormal computer room occurs by the discovery of domain name poll, and quickly connects
To the shared calculate node 2 of normal computer room.
In addition, each shared calculate node 2 can establish a plurality of above-mentioned signalling path with multiple access servers 40 simultaneously,
And monitor the quality of all signalling paths, when check current signalling path it is unstable when, new signaling can be started immediately
Channel.Alternatively, shared calculate node 2 is when sending signaling every time, according to the quality priority of each signalling path monitored,
Signalling is carried out using the signalling path of optimal quality.
Second embodiment
As shown in fig.2, second embodiment of the invention proposes a kind of distributed node signal transmission method, it is applied to above-mentioned
Distributed node signaling transmission system 1.In the present embodiment, step in flow chart shown in Fig. 2 according to different requirements,
Execution sequence can change, and certain steps can be omitted.In addition, in relation to the shared Conventional processing steps calculated, it can be according to reality
Border application scenarios are included in the present invention.This method comprises:
S10, shares the local signaling proxy 20 in calculate node 2 and the access server 40 in signaling gateway 4 is established and believed
Enable channel.
Above-mentioned signalling path is between access server 40 and local signaling proxy 20
The long of Foundation connects two-way signaling transmission channel.Local signaling proxy 20 is the client of the signalling path, access service
Device 40 is the server-side of the signalling path.
It is worth noting that, when the access server 40 that shared calculate node 2 is connected occurs abnormal, the shared calculating
Node 2 can reconnection immediately to normal access server 40.Also, each shared calculate node 2 of each computer room is connecting
Independent domain name is used when access server 40, which there is abnormal computer room by the discovery of domain name poll, and
It is quickly connected to the shared calculate node 2 of normal computer room.
In addition, each shared calculate node 2 can establish a plurality of above-mentioned signalling path with multiple access servers 40 simultaneously,
And monitor the quality of all signalling paths, when check current signalling path it is unstable when, new signaling can be started immediately
Channel.Alternatively, shared calculate node 2 is when sending signaling every time, according to the quality priority of each signalling path monitored,
Signalling is carried out using the signalling path of optimal quality.
S11, the application program 22 shared in calculate node 2 are unified by above-mentioned signalling path the first signaling of transmission.
Above-mentioned first signaling is that the signaling of shared calculation server 6 is sent to from shared calculate node 2, can be used for inquiring
Whether there is order to need to be implemented.Because the signalling path is long connection, any signaling can be sent immediately, be dropped
Low latency.
S12, the access server 40 in signaling gateway 4 pass through above-mentioned signalling path and receive what shared calculate node 2 was sent
First signaling, the signal server 42 being transferred in signaling gateway 4.
S13, signal server 42 receive the first signaling from shared calculate node 2 from access server 40, are forwarded to
Shared calculation server 6.
S14 shares calculation server 6 from signal server 42 and receives the first signaling from shared calculate node 2, and leads to
It crosses signal server 42 and sends the second signaling to corresponding shared calculate node 2.
Above-mentioned second signaling is that the signaling of shared calculate node 2 is sent to from shared calculation server 6, can be used for basis
First signaling returns to the order that the shared calculate node 2 needs to be implemented, and is issued to corresponding shared calculate node, when not ordering
When order needs to be implemented, second signaling is returned the result as null value.
S15, signal server 42 receive the second signaling from shared calculation server 6, quickly navigate to corresponding shared
Access server 40 belonging to calculate node 2, and second signaling is forwarded to the access server 40.
S16, access server 40 is in the second letter from shared calculation server 6 for receiving the forwarding of signal server 42
When enabling, second signaling is sent to corresponding shared calculate node 2 using above-mentioned signalling path.
S17, the application program 22 shared in calculate node 2 are received by above-mentioned signalling path from shared calculation server
6 second signaling.
If having issued the order needed to be implemented in second signaling, application program 22 executes the order.
Distributed node signal transmission method provided in this embodiment, can access server and shared calculate node it
Between realize the long interface channel based on RPC agreement and http protocol, channel both ends both provide plug-in unitization support, new device
It as long as meeting protocol requirement, can quickly access, realize real-time signalling communication using channel.Also, the channel availabity is high, can
To guarantee signalling success rate by quickly identifying disconnection and the automatic redundant in channel.
3rd embodiment
As shown in fig.3, third embodiment of the invention proposes a kind of distributed node signal transmission method.In the present embodiment
In, the execution sequence of the step in flow chart shown in Fig. 3 can change according to different requirements, and certain steps can be omitted.
In the present embodiment, which can also include: on the basis of above-mentioned second embodiment
S20, the task manager 80 shared in management of computing device 8 are arrived by the shared calculating task of the distribution of signal server 42
Corresponding shared calculate node 2.
S21 quickly navigates to correspondence after signal server 42 receives the shared calculating task that task manager 80 pushes
Access server 40 belonging to shared calculate node 2, is forwarded to the access server 40 for the task.
S22, access server 40, should using above-mentioned signalling path after the receiving the forwarding of signal server 42 of the task
Task is sent to corresponding shared calculate node 2.
S23, the local signaling proxy 20 shared in calculate node 2 receives the task from above-mentioned signalling path, and is forwarded to
Application program 22, application program 22 executes the shared calculating task, and reports task status.
S24, access server 40 receives the task status that shared calculate node 2 reports from above-mentioned signalling path, and transmits
To signal server 42, after signal server 42 receives the task status from access server 40, it is reported to shared computer tube
Manage the task status manager 82 in device 8.
S25, task status manager 82 receive the task status reported and are safeguarded from signal server 42.
Distributed node signal transmission method provided in this embodiment can further be appointed using above-mentioned signalling path
Business distribution and task status report, and ensure the smooth execution and maintenance of shared calculating task.
Fourth embodiment
As shown in fig.4, fourth embodiment of the invention proposes a kind of distributed node signal transmission method, it is applied to above-mentioned
Shared calculate node 2.In the present embodiment, the execution sequence of the step in flow chart shown in Fig. 4 can according to different requirements,
To change, certain steps be can be omitted.In addition, in relation to the shared Conventional processing steps calculated, it can be according to practical application scene
It is included in the present invention.This method comprises:
S30, shares the local signaling proxy 20 in calculate node 2 and the access server 40 in signaling gateway 4 is established and believed
Enable channel.
S31, the application program 22 shared in calculate node 2 is unified by above-mentioned signalling path the first signaling of transmission, so that should
First signaling is forwarded to shared calculation server 6 by above-mentioned signaling gateway.
S32, local signaling proxy 20 receive the second signaling from shared calculation server 6 by above-mentioned signalling path,
And it is forwarded to application program 22.
S33, local signaling proxy 20 receive the task manager 80 in shared management of computing device 8 by above-mentioned signalling path
The shared calculating task of distribution, and it is forwarded to application program 22.
S34, application program 22 execute the task received.
S35, application program 22 report task status by above-mentioned signalling path, so that the task status passes through signaling gateway
4 are forwarded to the task status manager 82 in shared management of computing device 8.
The detailed description of above-mentioned steps refers to above-mentioned first embodiment to 3rd embodiment, and details are not described herein.
5th embodiment
As shown in fig.5, fifth embodiment of the invention proposes a kind of distributed node signal transmission method, it is applied to above-mentioned
Signaling gateway 4.In the present embodiment, the execution sequence of the step in flow chart shown in fig. 5 can change according to different requirements,
Become, certain steps can be omitted.In addition, can be included according to practical application scene in relation to the shared Conventional processing steps calculated
The present invention.This method comprises:
S40, the local signaling proxy 20 in access server 40 and shared calculate node 2 in signaling gateway 4, which is established, to be believed
Enable channel.
S41, access server 40 receive what the application program 22 in shared calculate node 2 was sent by above-mentioned signalling path
First signaling, and the signal server 42 being transferred in signaling gateway 4.
S42, signal server 42 receive first signaling from access server 40, are forwarded to shared calculation server 6.
S43, signal server 42 receive the second signaling from shared calculation server 6, navigate to second signaling pair
Access server 40 belonging to the shared calculate node 2 answered, and second signaling is forwarded to the access server 40.
S44, access server 40 are logical using above-mentioned signaling when receiving second signaling of the forwarding of signal server 42
Second signaling is sent to corresponding shared calculate node 2 by road.
S45, signal server 42 receive the shared calculating that the task manager 80 in shared management of computing device 8 is distributed and appoint
Business, navigates to access server 40 belonging to the corresponding shared calculate node 2 of the task, which is forwarded to the access service
Device 40.
S46, access server 40, will using above-mentioned signalling path after the task for receiving the forwarding of signal server 42
The task is sent to corresponding shared calculate node 2.
S47, access server 40 receives the task status that shared calculate node 2 reports from above-mentioned signalling path, and transmits
To signal server 42.
S48 is reported to shared management of computing device after signal server 42 receives the task status from access server 40
Task status manager 82 in 8.
The detailed description of above-mentioned steps refers to above-mentioned first embodiment to 3rd embodiment, and details are not described herein.
Through the above description of the embodiments, those skilled in the art can be understood that above-described embodiment side
Method can be realized by means of software and necessary general hardware platform, naturally it is also possible to by hardware, but in many cases
The former is more preferably embodiment.Based on this understanding, technical solution of the present invention substantially in other words does the prior art
The part contributed out can be embodied in the form of software products, which is stored in a storage medium
In (such as ROM/RAM, magnetic disk, CD), including some instructions are used so that a client (can be mobile phone, computer, electronics
Device, air conditioner or network equipment etc.) execute method described in each embodiment of the present invention.
The above is only a preferred embodiment of the present invention, is not intended to limit the scope of the invention, all to utilize this hair
Equivalent structure or equivalent flow shift made by bright specification and accompanying drawing content is applied directly or indirectly in other relevant skills
Art field, is included within the scope of the present invention.
Claims (30)
1. a kind of distributed node signal transmission method, which is characterized in that the described method includes:
Local signaling proxy in shared calculate node and the access server in signaling gateway establish signalling path;
Application program in the shared calculate node is unified by the signalling path the first signaling of transmission;
The access server receives first signaling, the signaling being transferred in the signaling gateway by the signalling path
Server;
The signal server receives first signaling from the access server, is forwarded to shared calculation server;And
The shared calculation server receives first signaling from the signal server.
2. distributed node signal transmission method as described in claim 1, which is characterized in that the method also includes:
The shared calculation server sends the second signaling to the corresponding shared calculate node by the signal server;
The signal server receives second signaling from the shared calculation server, navigates to second signaling
The access server belonging to the corresponding shared calculate node, and second signaling is forwarded to the access service
Device;
The access server utilizes the signalling path when receiving second signaling of the signal server forwarding
Second signaling is sent to the corresponding shared calculate node;
The application program in the shared calculate node receives second signaling by the signalling path.
3. distributed node signal transmission method as claimed in claim 2, which is characterized in that the method also includes:
Task manager in shared management of computing device distributes shared calculating task to corresponding institute by the signal server
State shared calculate node;
After the signal server receives the task of the task manager distribution, it is corresponding described to navigate to the task
The access server belonging to shared calculate node, is forwarded to the access server for the task;
The access server is after the task for receiving signal server forwarding, using the signalling path by institute
The task of stating is sent to the corresponding shared calculate node;
The local signaling proxy in the shared calculate node receives the task from the signalling path, and is forwarded to institute
Application program is stated, the application program executes the task.
4. distributed node signal transmission method as claimed in claim 3, which is characterized in that the method also includes:
The application program in the shared calculate node reports task status by the signalling path;
The access server receives the task status that the shared calculate node reports from the signalling path, and transmits
To the signal server;
After the signal server receives the task status from the access server, it is reported to the shared management of computing
Task status manager in device;
The task status manager receives the task status reported and is safeguarded from the signal server.
5. distributed node signal transmission method according to any one of claims 1-4, which is characterized in that the signalling path
To be with remote procedure call protocol and hypertext transfer protocol between the access server and the local signaling proxy
The long of Foundation connects two-way signaling transmission channel.
6. distributed node signal transmission method according to any one of claims 1-4, which is characterized in that the method is also wrapped
It includes:
It is described total when the shared calculate node occurs abnormal by the access server that the signalling path is connected
Calculate node reconnection immediately is enjoyed to normal access server.
7. distributed node signal transmission method according to any one of claims 1-4, which is characterized in that the method is also wrapped
It includes:
Each shared calculate node of each computer room uses independent domain name when connecting the access server, described to connect
Enter server and abnormal computer room occur by the discovery of domain name poll, and is quickly connected to the shared calculate node of normal computer room.
8. distributed node signal transmission method according to any one of claims 1-4, which is characterized in that the method is also wrapped
It includes:
Each shared calculate node establishes a plurality of signalling path with multiple access servers simultaneously, and monitors institute
Have the quality of signalling path, when check current signalling path it is unstable when, start new signalling path immediately;Alternatively, institute
Shared calculate node is stated when sending signaling every time, according to the quality priority of each signalling path monitored, uses quality
Optimal signalling path carries out signalling.
9. a kind of distributed node signaling transmission system, which is characterized in that the system comprises:
Shared calculate node, including local signaling proxy and application program, the local signaling proxy is for maintenance and signaling network
The long connection of signalling path between the access server in the Central Shanxi Plain;The application program is used to execute shared calculating task, and
All application programs unification in each shared calculate node sends and receives signaling by the signalling path;
The signaling gateway, including the access server and signal server, the access server for maintain and it is described
The long connection of the signalling path between local signaling proxy, when receiving the signaling that the shared calculate node is sent,
It is transferred to the signal server;The signal server, which is used to receive from the access server, comes from the shared calculating
The signaling of node is forwarded to shared calculation server;
The shared calculation server, for receiving the letter sent from the shared calculate node by the signal server
It enables.
10. distributed node signaling transmission system as claimed in claim 9, it is characterised in that:
The shared calculation server is also used to send letter to the corresponding shared calculate node by the signal server
It enables;
The signal server is also used to receive the signaling from the shared calculation server, navigates to corresponding described shared
The access server belonging to calculate node, and the signaling is forwarded by the access server;
The access server be also used to receive signal server forwarding from the shared calculation server
When signaling, the signaling is sent to the corresponding shared calculate node using the signalling path.
11. distributed node signaling transmission system as claimed in claim 10, which is characterized in that the system also includes:
Shared management of computing device, including task manager, the task manager are used for through signal server distribution altogether
Calculating task is enjoyed to the shared calculate node;
The signal server is also used to receive the task of the task manager distribution, and it is corresponding to navigate to the task
The task is forwarded to the access server by the access server belonging to the shared calculate node;
The access server is also used to after the task for receiving the signal server forwarding, logical using the signaling
The task is sent to the corresponding shared calculate node by road;
The task that the local signaling proxy in the shared calculate node is also used to receive from the signalling path,
And it is forwarded to the application program;
The application program is also used to execute the task received.
12. distributed node signaling transmission system as claimed in claim 11, which is characterized in that the shared management of computing device
It further include task status manager;
The application program in the shared calculate node is also used to report task status by the signalling path;
The access server is also used to receive the task status that the shared calculate node reports from the signalling path,
And it is transferred to the signal server;
It, will be in the task status after the signal server is also used to receive the task status from the access server
Offer the task status manager;
The task status manager is used to receive the task status reported from the signal server and be safeguarded.
13. distributed node signaling transmission system as claimed in claim 12, which is characterized in that the access server is also used
In reporting node state to the signal server when the corresponding shared calculate node is online, offline and overtime
Information;The node status information maintenance that the signal server is also used to be reported according to the access server is each described shared
The node state of calculate node.
14. such as the described in any item distributed node signaling transmission systems of claim 9-13, which is characterized in that the signaling is logical
Road is between the access server and the local signaling proxy with remote procedure call protocol and hypertext transfer protocol
Based on establish long connect two-way signaling transmission channel.
15. a kind of distributed node signal transmission method is applied to shared calculate node, which is characterized in that the described method includes:
The access server in local signaling proxy and signaling gateway in the shared calculate node establishes signalling path;
Application program in the shared calculate node is unified by the signalling path the first signaling of transmission, so that first letter
It enables and shared calculation server is forwarded to by the signaling gateway;And
The local signaling proxy receives the second signaling from the shared calculation server by the signalling path, and turns
It is sent to the application program.
16. distributed node signal transmission method as claimed in claim 15, which is characterized in that the method also includes:
The local signaling proxy receives being total to for the task manager distribution in shared management of computing device by the signalling path
Calculating task is enjoyed, and is forwarded to the application program;
The application program executes the task received.
17. distributed node signal transmission method as claimed in claim 16, which is characterized in that the method also includes:
The application program reports task status by the signalling path, so that the task status passes through the signaling gateway
The task status manager being forwarded in the shared management of computing device.
18. such as the described in any item distributed node signal transmission methods of claim 15-17, which is characterized in that the signaling
Channel is to be assisted between the access server and the local signaling proxy with remote procedure call protocol and Hyper text transfer
The long two-way signaling transmission channel of connection established based on view.
19. a kind of shared calculate node, which is characterized in that the shared calculate node includes:
Local signaling proxy, for establishing signalling path with the access server in signaling gateway;
Application program, for sending the first signaling by the signalling path, so that first signaling passes through the signaling gateway
It is forwarded to shared calculation server;
The local signaling proxy is also used to receive the second letter from the shared calculation server by the signalling path
It enables, and is forwarded to the application program.
20. shared calculate node as claimed in claim 19, it is characterised in that:
The local signaling proxy is also used to receive the task manager point in shared management of computing device by the signalling path
The shared calculating task of hair, and it is forwarded to the application program;
The application program is also used to execute the task received.
21. shared calculate node as claimed in claim 20, it is characterised in that:
The application program is also used to report task status by the signalling path, so that the task status passes through the letter
Enable task status manager of the gateway forwards into the shared management of computing device.
22. such as the described in any item shared calculate nodes of claim 19-21, which is characterized in that the signalling path is in institute
It states and is built based on remote procedure call protocol and hypertext transfer protocol between access server and the local signaling proxy
The vertical long two-way signaling transmission channel of connection.
23. a kind of distributed node signal transmission method is applied to signaling gateway, which is characterized in that the described method includes:
The local signaling proxy in access server and shared calculate node in the signaling gateway establishes signalling path;
The access server receives the first of the transmission of the application program in the shared calculate node by the signalling path
Signaling, and the signal server being transferred in the signaling gateway;
The signal server receives first signaling from the access server, is forwarded to shared calculation server;
The signal server receives the second signaling from the shared calculation server, and it is corresponding to navigate to second signaling
The shared calculate node belonging to the access server, and second signaling is forwarded to the access server;
And
The access server utilizes the signalling path when receiving second signaling of the signal server forwarding
Second signaling is sent to the corresponding shared calculate node.
24. distributed node signal transmission method as claimed in claim 23, which is characterized in that the method also includes:
The signal server receives the shared calculating task of the task manager distribution in shared management of computing device, navigates to institute
The access server belonging to the corresponding shared calculate node of task is stated, the task is forwarded to the access service
Device;
The access server is after the task for receiving signal server forwarding, using the signalling path by institute
The task of stating is sent to the corresponding shared calculate node.
25. distributed node signal transmission method as claimed in claim 24, which is characterized in that the method also includes:
The access server receives the task status that the shared calculate node reports from the signalling path, and is transferred to institute
State signal server;
After the signal server receives the task status from the access server, it is reported to the shared management of computing
Task status manager in device.
26. such as the described in any item distributed node signal transmission methods of claim 23-25, which is characterized in that the signaling
Channel is to be assisted between the access server and the local signaling proxy with remote procedure call protocol and Hyper text transfer
The long two-way signaling transmission channel of connection established based on view.
27. a kind of signaling gateway, which is characterized in that the signaling gateway includes:
Access server is logical by the signaling for establishing signalling path with the local signaling proxy in shared calculate node
Road receives the first signaling of the transmission of the application program in the shared calculate node, and the signaling being transferred in the signaling gateway
Server;
The signal server is forwarded to shared calculate and services for receiving first signaling from the access server
Device;And the second signaling from the shared calculation server is received, it is corresponding described shared to navigate to second signaling
The access server belonging to calculate node, and second signaling is forwarded to the access server;
The access server is also used to utilize the letter when receiving second signaling of the signal server forwarding
Enable channel that second signaling is sent to the corresponding shared calculate node.
28. signaling gateway as claimed in claim 27, it is characterised in that:
The signal server is also used to receive the shared calculating task of the distribution of the task manager in shared management of computing device, fixed
The task is forwarded to described connect by the access server belonging to position to the corresponding shared calculate node of the task
Enter server;
The access server is also used to after the task for receiving the signal server forwarding, logical using the signaling
The task is sent to the corresponding shared calculate node by road.
29. signaling gateway as claimed in claim 28, it is characterised in that:
The access server is also used to receive the task status that the shared calculate node reports from the signalling path, and passes
It is handed to the signal server;
After the signal server is also used to receive the task status from the access server, it is reported to the shared meter
Calculate the task status manager in manager.
30. such as the described in any item signaling gateway of claim 27-29, which is characterized in that the signalling path is to connect described
Enter and is established based on remote procedure call protocol and hypertext transfer protocol between server and the local signaling proxy
It is long to connect two-way signaling transmission channel.
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 true CN109067509A (en) | 2018-12-21 |
CN109067509B 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) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109725856A (en) * | 2018-12-29 | 2019-05-07 | 深圳市网心科技有限公司 | A kind of shared node management method, device, electronic equipment and storage medium |
CN113918644A (en) * | 2020-07-07 | 2022-01-11 | 华为技术有限公司 | Method and related device for managing data of application program |
CN117579679A (en) * | 2024-01-15 | 2024-02-20 | 海马云(天津)信息技术有限公司 | Signaling interaction method and device, electronic equipment and storage medium |
Citations (8)
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 |
US20030149774A1 (en) * | 2002-02-07 | 2003-08-07 | Mcconnell Von K. | Method and system for facilitating services in a communication network through data-publication by a signaling server |
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 |
US20170359422A1 (en) * | 2014-07-07 | 2017-12-14 | Twilio, Inc. | System and method for managing media and signaling in a communication platform |
CN108282825A (en) * | 2017-01-05 | 2018-07-13 | 电信科学技术研究院 | A kind of information processing method and device |
-
2018
- 2018-08-22 CN CN201810959227.7A patent/CN109067509B/en active Active
Patent Citations (8)
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 |
US20030149774A1 (en) * | 2002-02-07 | 2003-08-07 | Mcconnell Von K. | Method and system for facilitating services in a communication network through data-publication by a signaling server |
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 |
US20170359422A1 (en) * | 2014-07-07 | 2017-12-14 | Twilio, Inc. | System and method for managing media and signaling in a communication platform |
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)
Title |
---|
YAKIR OVADIA,SHRAGA I. BROSS: ""ON THE RELIABILITY EXPONENT OF THE EXPONENTIAL TELEPHONE SIGNALING CHANNEL"", 《2004 23RD IEEE CONVENTION OF ELECTRICAL AND ELECTRONICS ENGINEERS IN ISRAEL》 * |
曹锐: ""VoIP系统中的信令通道及其功能"", 《海南省通信学会学术年会》 * |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109725856A (en) * | 2018-12-29 | 2019-05-07 | 深圳市网心科技有限公司 | A kind of shared node management method, device, electronic equipment and storage medium |
CN113918644A (en) * | 2020-07-07 | 2022-01-11 | 华为技术有限公司 | Method and related device for managing data of application program |
CN117579679A (en) * | 2024-01-15 | 2024-02-20 | 海马云(天津)信息技术有限公司 | Signaling interaction 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 |
Also Published As
Publication number | Publication date |
---|---|
CN109067509B (en) | 2021-08-06 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN107528891B (en) | Websocket-based automatic clustering method and system | |
CN109067509A (en) | Distributed node signal transmission method and system, shared calculate node and signaling gateway | |
US20060069777A1 (en) | Request message control method for using service and service providing system | |
CN103312593B (en) | A kind of message distributing system and method | |
EP2421259B1 (en) | Method, system and home stream media server for implementing video on demand service | |
EP3057287A1 (en) | Node allocation method, device and system | |
CN107835257B (en) | Session management method and device | |
CN101702666A (en) | Method and system for realizing load balance of media transcoding network and media transcoding units | |
CN113612640A (en) | Data communication method and device, electronic equipment and storage medium | |
US20120072604A1 (en) | technique for delivering content to a user | |
CN101917406B (en) | Data transmission method and data transmission system | |
CA2397114A1 (en) | Communications network | |
CN116319732A (en) | Message queue centralized configuration management system and method based on RabbitMQ | |
CN102439946B (en) | Data transmission method and device | |
KR101236729B1 (en) | Apparatus and method of automatically selecting packet transmission method for data distribution service | |
US9871929B2 (en) | Communication method and user equipment | |
CN112671914A (en) | IOT (Internet of things) equipment communication method and system based on actor model | |
CN104683881A (en) | VCDN (virtual content distribution network) resource control method, device and system | |
CN114143569B (en) | Webpage recording and live broadcasting method and system | |
CN105306442A (en) | Proxy server and command transmission methods | |
CN112311759B (en) | Equipment connection switching method and system under hybrid network | |
CN101127589A (en) | A system, device and method for dynamically selecting transmission path | |
CN109962967A (en) | The method of data synchronization subscribed to based on increment | |
JP2007183714A (en) | Content distribution system, relay server and relay management server | |
CN106533760A (en) | Method and apparatus for constructing CDN system in CM network |
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 |