CN106406246B - The method and device of scheduling message transmission - Google Patents
The method and device of scheduling message transmission Download PDFInfo
- Publication number
- CN106406246B CN106406246B CN201510463516.4A CN201510463516A CN106406246B CN 106406246 B CN106406246 B CN 106406246B CN 201510463516 A CN201510463516 A CN 201510463516A CN 106406246 B CN106406246 B CN 106406246B
- Authority
- CN
- China
- Prior art keywords
- scheduling message
- message
- scheduling
- sent
- scheduler subsystem
- 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
Links
- 230000005540 biological transmission Effects 0.000 title claims abstract description 35
- 238000000034 method Methods 0.000 title claims abstract description 29
- 230000004044 response Effects 0.000 claims description 12
- 238000009826 distribution Methods 0.000 claims description 10
- 238000012545 processing Methods 0.000 claims description 9
- 230000000694 effects Effects 0.000 claims description 7
- 230000000977 initiatory effect Effects 0.000 claims description 3
- 239000002699 waste material Substances 0.000 abstract description 7
- 238000005516 engineering process Methods 0.000 abstract description 6
- 238000004891 communication Methods 0.000 abstract description 5
- 230000006870 function Effects 0.000 description 20
- 238000004422 calculation algorithm Methods 0.000 description 9
- 230000008569 process Effects 0.000 description 4
- 238000003860 storage Methods 0.000 description 4
- 238000011161 development Methods 0.000 description 3
- 238000010586 diagram Methods 0.000 description 3
- 230000003247 decreasing effect Effects 0.000 description 2
- 238000004519 manufacturing process Methods 0.000 description 2
- 238000004590 computer program Methods 0.000 description 1
- 238000013461 design Methods 0.000 description 1
- 230000004927 fusion Effects 0.000 description 1
- 238000013507 mapping Methods 0.000 description 1
- 230000006855 networking Effects 0.000 description 1
- 238000007781 pre-processing Methods 0.000 description 1
- 238000002360 preparation method Methods 0.000 description 1
- 230000011664 signaling Effects 0.000 description 1
- 238000006467 substitution reaction Methods 0.000 description 1
Classifications
-
- G—PHYSICS
- G05—CONTROLLING; REGULATING
- G05B—CONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
- G05B19/00—Programme-control systems
- G05B19/02—Programme-control systems electric
- G05B19/418—Total factory control, i.e. centrally controlling a plurality of machines, e.g. direct or distributed numerical control [DNC], flexible manufacturing systems [FMS], integrated manufacturing systems [IMS], computer integrated manufacturing [CIM]
- G05B19/4185—Total factory control, i.e. centrally controlling a plurality of machines, e.g. direct or distributed numerical control [DNC], flexible manufacturing systems [FMS], integrated manufacturing systems [IMS], computer integrated manufacturing [CIM] characterised by the network communication
-
- G—PHYSICS
- G05—CONTROLLING; REGULATING
- G05B—CONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
- G05B2219/00—Program-control systems
- G05B2219/30—Nc systems
- G05B2219/31—From computer integrated manufacturing till monitoring
- G05B2219/31218—Scheduling communication on bus
-
- Y—GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02P—CLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
- Y02P90/00—Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
- Y02P90/02—Total factory control, e.g. smart factories, flexible manufacturing systems [FMS] or integrated manufacturing systems [IMS]
Landscapes
- Engineering & Computer Science (AREA)
- General Engineering & Computer Science (AREA)
- Manufacturing & Machinery (AREA)
- Quality & Reliability (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Automation & Control Theory (AREA)
- Mobile Radio Communication Systems (AREA)
- Computer And Data Communications (AREA)
Abstract
The embodiment of the invention discloses a kind of method and devices of scheduling message transmission, it is related to field of communication technology, the problem of being able to solve the scheduling message for being not used in and indicating that scheduler subsystem is scheduled to be sent in scheduler subsystem, not only waste of resource, also increasing the workload of scheduler subsystem.The method comprise the steps that receiving the scheduling message that transmitting terminal is sent, transmitting terminal includes console and scheduler subsystem;Determine whether scheduling message needs to be sent to receiving end, wherein when transmitting terminal is console, receiving end is scheduler subsystem, and when transmitting terminal is scheduler subsystem, receiving end is console;When scheduling message needs to be sent to receiving end, scheduling message is sent to receiving end;When scheduling message is no need to send to receiving end, scheduling message is handled.The present invention is suitable for the scene that console is scheduled scheduler subsystem.
Description
Technical field
The present invention relates to the method and devices that field of communication technology more particularly to a kind of scheduling message transmit.
Background technique
In present society production, scheduling system is that enterprise is used to one of the important means of keep the safety in production and effectively manage, it
Scheduling message, high reliablity, strong real-time are sent by console.Traditional scheduling system, cannot due to the limitation of its technology
Integrated well with VoIP (Voice over Internet Protocol, the networking telephone), proprietary technology cause again when pair
New business introduce when, it is expensive and have the longer period, therefore, traditional scheduling system can not increasingly fit
The needs of the continuous development for the modern enterprise answered.With IP (Internet Protocol, the agreement interconnected between network) communication
The fast development of technology, the IP communication technology is also more and more mature, so that enterprise voice network and IP network fusion are new as industry
Demand, i.e. IP dispatch system.It meets the development trend of next generation network, and comprehensive communication solution party can be provided for enterprise
Case and diversified service.Current IP scheduling system is mostly towards medium-sized and small enterprises, and large and medium-sized enterprise needs the system of dispatching
Scale more than thousands of a users, then in large and medium-sized enterprise by multiple scheduler subsystems be implemented in combination with IP scheduling, each
Console controls a scheduler subsystem.But the scheduling message transmitted between console and scheduler subsystem is not used to refer to
Show that scheduler subsystem is scheduled, such as obtain the parameter etc. of each scheduler subsystem, these are not used in instruction scheduler subsystem
The scheduling message being scheduled is sent in scheduler subsystem, not only waste of resource, also increases the workload of scheduler subsystem.
Summary of the invention
The embodiment of the present invention provides a kind of method and device of scheduling message transmission, is able to solve and is not used in instruction scheduling
The scheduling message that subsystem is scheduled is sent in scheduler subsystem, not only waste of resource, also increases the work of scheduler subsystem
The problem of measuring.
In order to achieve the above objectives, the embodiment of the present invention adopts the following technical scheme that
In a first aspect, the embodiment of the present invention provides a kind of method of scheduling message transmission, for scheduling message transmission dress
It sets, the scheduling message transmitting device is connect with a console and at least one scheduler subsystem respectively, the console control
Make at least one described scheduler subsystem, comprising:
Scheduling message is received, the scheduling message is that the console or the scheduler subsystem are sent;
The scheduling message that transmitting terminal is sent is received, when the transmitting terminal includes the console and the scheduler subsystem;
Determine whether the scheduling message needs to be sent to receiving end, wherein when the transmitting terminal is the console,
The receiving end is the scheduler subsystem, and when the transmitting terminal is the scheduler subsystem, the receiving end is the control
Platform processed;
When the scheduling message needs to be sent to the receiving end, the receiving end Xiang Suoshu sends the scheduling message;
When the scheduling message is no need to send to the receiving end, the scheduling message is handled.
Second aspect, the embodiment of the present invention provide a kind of device of scheduling message transmission, described device respectively with one
Console is connected at least one scheduler subsystem, the console controls at least one described scheduler subsystem, described device
Include:
Receiving unit, for receiving the scheduling message of transmitting terminal transmission, the transmitting terminal includes the console and described
When scheduler subsystem;
Determination unit, for determining whether the scheduling message needs to be sent to receiving end, wherein when the transmitting terminal is
When the console, the receiving end is the scheduler subsystem, described to connect when the transmitting terminal is the scheduler subsystem
Receiving end is the console;
Transmission unit, for when the scheduling message needs to be sent to the receiving end, the receiving end Xiang Suoshu to send institute
State scheduling message;
Processing unit, for when the scheduling message is no need to send to the receiving end, to the scheduling message into
Row processing.
A kind of method and device of scheduling message transmission provided in an embodiment of the present invention, in the embodiment of the present invention, scheduling disappears
Breath transmitting device is connect with console and at least one scheduler subsystem respectively, and console controls at least one described scheduling subsystem
System determines whether scheduling message needs to be sent to connect after scheduling message transmitting device receives the scheduling message that transmitting terminal is sent
It receives, wherein when transmitting terminal is console, receiving end is scheduler subsystem, and when transmitting terminal is scheduler subsystem, receiving end is control
Platform processed;When scheduling message needs to be sent to receiving end, scheduling message is sent to receiving end;When no need to send extremely for scheduling message
When receiving end, scheduling message is handled.In this way, console and at least one scheduler subsystem are transmitted by scheduling message and are filled
The transmission for being scheduled message is set, scheduling message transmitting device carries out the scheduling message between console and scheduler subsystem pre-
Processing, the scheduling message for needing to be forwarded to scheduler subsystem or console is forwarded, without being forwarded to scheduling subsystem
The scheduling message of system is handled in scheduling message transmitting device, not only realizes that a console can control multiple scheduling simultaneously
Subsystem, and reduce the scheduling message for being not used in and indicating that scheduler subsystem is scheduled and be sent in scheduler subsystem, it avoids
Waste of resource lowers the workload of scheduler subsystem.
Detailed description of the invention
It to describe the technical solutions in the embodiments of the present invention more clearly, below will be to embodiment or description of the prior art
Needed in attached drawing be briefly described, it should be apparent that, the accompanying drawings in the following description is only of the invention some
Embodiment for those of ordinary skill in the art without creative efforts, can also be attached according to these
Figure obtains other attached drawings.
Fig. 1 is application architecture figure provided in an embodiment of the present invention;
Fig. 2 is the method flow diagram that one embodiment of the invention provides;
Fig. 3 is the method flow diagram that further embodiment of this invention provides;
Fig. 4 is the apparatus structure schematic diagram that further embodiment of this invention provides.
Specific embodiment
Following will be combined with the drawings in the embodiments of the present invention, and technical solution in the embodiment of the present invention carries out clear, complete
Site preparation description, it is clear that described embodiments are only a part of the embodiments of the present invention, instead of all the embodiments.It is based on
Embodiment in the present invention, it is obtained by those of ordinary skill in the art without making creative efforts all other
Embodiment shall fall within the protection scope of the present invention.
The advantages of to make technical solution of the present invention, is clearer, makees specifically to the present invention with reference to the accompanying drawings and examples
It is bright.
Embodiment is used for scheduling system as shown in Figure 1 in the present invention, and console is transmitted by scheduling message and filled in system
Set and control at least one scheduler subsystem, console and scheduling message transmitting device, scheduling message transmitting device and at least one
Scheduler subsystem can be by wired connection or wireless network connection, in order to carry out information exchange each other.
One embodiment of the invention provides a kind of method of scheduling message transmission, scheduling message transmitting device is used for, such as Fig. 2 institute
Show, which comprises
101, scheduling message transmitting device receives the scheduling message that transmitting terminal is sent.
Wherein, transmitting terminal includes console and scheduler subsystem, and scheduling message is that console or scheduler subsystem are sent,
Console controls at least one scheduler subsystem.
102, scheduling message transmitting device determines whether scheduling message needs to be sent to receiving end.
Wherein, when transmitting terminal is console, receiving end is scheduler subsystem, when transmitting terminal is scheduler subsystem, is connect
Receiving end is console.
In the embodiment of the present invention, before determining whether scheduling message needs to be sent to receiving end, scheduling message transmission dress
The type that can also determine scheduling message is set, the type of scheduling message includes session initiation protocol sip message and control message;So
Afterwards, determine whether scheduling message needs to be sent to receiving end according to the type of scheduling message.When the type of scheduling message disappears for SIP
When breath, determine that scheduling message needs to be sent to receiving end;When the type of scheduling message is control message, according to scheduling message
It acts on and determines whether scheduling message needs to be sent to scheduler subsystem.Scheduling message transmitting device can be according to reception scheduling message
Port-mark determine the type of scheduling message.
In the embodiment of the present invention, when the type of scheduling message is sip message, it is first determined the function of scheduling message, scheduling
The function of message includes request and response;When the function of scheduling message is request, determine that scheduling message is what console was sent,
It needs to be sent to scheduler subsystem;When the function of scheduling message is response, determine that scheduling message is what scheduler subsystem was sent,
It needs to be sent to console.
103, when scheduling message needs to be sent to receiving end, scheduling message is sent to receiving end.
In the embodiment of the present invention, when scheduling message type be control message and determination need to be sent to scheduler subsystem
When, before sending scheduling message to scheduler subsystem, determine what scheduling message needed to forward according to preset message distribution table
The mark of scheduler subsystem;Then, scheduling message is sent to scheduler subsystem according to mark.
104, when scheduling message is no need to send to receiving end, scheduling message is handled.
It should be noted that a console passes through scheduling message transmitting device control at least one in the embodiment of the present invention
A scheduler subsystem, when there are multiple scheduler subsystems, the embodiment of the present invention compared with prior art, reduces console
Quantity reduces the cost of scheduler subsystem.In addition, in the prior art, in scheduling process, if increasing or decreasing scheduling subsystem
System, then need to restart console, makes troubles to the work of scheduling system, and in the embodiment of the present invention, when increasing adds deduct
When few scheduler subsystem, it is only necessary to increase or delete the information of corresponding scheduler subsystem in scheduling message transmitting device,
Without restarting console, will not make troubles to the work of scheduling system.
In the embodiment of the present invention, scheduling message transmitting device is connect with console and at least one scheduler subsystem respectively,
Console controls at least one described scheduler subsystem, when scheduling message transmitting device receives console or scheduler subsystem transmission
Scheduling message after, determine whether scheduling message needs to be sent to scheduler subsystem or console;When scheduling message needs to send
When to scheduler subsystem or console, scheduling message is sent to scheduler subsystem or console;When scheduling message no need to send
When to scheduler subsystem or console, scheduling message is handled.In this way, console passes through at least one scheduler subsystem
Scheduling message transmitting device is scheduled the transmission of message, and scheduling message transmitting device will be between console and scheduler subsystem
Scheduling message is pre-processed, and the scheduling message for needing to be forwarded to scheduler subsystem or console is forwarded, without
The scheduling message for being forwarded to scheduler subsystem is handled in scheduling message transmitting device, not only realizes that a console can be same
When control multiple scheduler subsystems, and reduce and be not used in the scheduling message that instruction scheduler subsystem is scheduled and be sent to scheduling
In subsystem, waste of resource is avoided, lowers the workload of scheduler subsystem.
Further embodiment of this invention provides a kind of method of scheduling message transmission, as shown in Figure 3, which comprises
201, scheduling message transmitting device receives scheduling message.
202, scheduling message transmitting device judges whether scheduling message is control according to the port-mark for receiving scheduling message
Message executes step 203 if scheduling message is control message;If scheduling message is not control message, step 209 is executed.
Wherein, between console and scheduling message transmitting device, between scheduling message transmitting device and scheduler subsystem
Information is transmitted by agreement, carries IP address and port information, and the corresponding port of different types of message is different, then can basis
The port-mark for receiving scheduling message determines the type of scheduling message.In the embodiment of the present invention, the type of scheduling message includes control
Message processed and sip message.
It should be noted that control message is that console is sent in the received scheduling message of scheduling message transmitting device
, sip message is that console or scheduler subsystem are sent.
203, scheduling message transmitting device judges whether scheduling message needs to be forwarded to scheduling according to the effect of scheduling message
Subsystem thens follow the steps 204 if scheduling message needs to be forwarded to scheduler subsystem;If scheduling message does not need to be forwarded to tune
Subsystem is spent, thens follow the steps 208.
Wherein, scheduling message transmitting device parses it after receiving scheduling message, that is, can determine the specific of the scheduling message
Effect.
It should be noted that scheduling message, which can be console, obtains the attribute of scheduler subsystem or the message of number, also
It can be the command messages etc. of control scheduler subsystem.When scheduling message is that console obtains the attribute of scheduler subsystem or a
When this kind message such as several message, scheduling message transmitting device can be handled it, be filled for example, transmitting in scheduling message
It is stored in advance in setting chained list (a kind of linear data structure), the number of recording dispatching subsystem and some attribute informations in chained list,
Then scheduling message transmitting device is the information that can determine console and need by chained list, does not need for scheduling message to be transmitted to scheduling
Subsystem;When scheduling message is this kind of message such as the command messages of console control scheduler subsystem, scheduling message transmission
Device then needs scheduling message being forwarded to scheduler subsystem.
204, it is specific according to the effect of scheduling message to judge whether scheduling message needs to be forwarded to for scheduling message transmitting device
Scheduler subsystem thens follow the steps 205 if scheduling message needs to be forwarded to particular schedule subsystem;If scheduling message does not need
It is forwarded to particular schedule subsystem, thens follow the steps 207.
Wherein, some in scheduling message only need to be sent to particular schedule subsystem, for example, calling some scheduler subsystem
, some need to be sent to all scheduler subsystems, for example, obtaining CPU (the Central Processing of scheduler subsystem
Unit, central processing unit), the message of the operating statuses such as memory.
205, scheduling message transmitting device determines particular schedule subsystem identification according to message distribution table.
Wherein, distributing list mainly realizes distribution algorithms, and there are many distribution algorithms, for example, design is breathed out according to actual needs
Uncommon method perhaps determines scheduler subsystem etc. according to the first place number of the called prefix in message or adds according to demand
Other distribution algorithms.
It should be noted that can be there are two types of allocation plan between scheduler subsystem, one is be between scheduler subsystem
Mutually independent, message needs to be distributed to pre-configured scheduler subsystem in this case, i.e. distribution algorithms use basis
Pre-set rule determines the mode of the scheduler subsystem used;Another allocation plan is that each scheduler subsystem is total
It is stored with a sets of data, message can be dealt into some in scheduler subsystem according to distribution policy in this case, can there is one
Fixed load balancing effect, when the data sharing storage of scheduler subsystem, the distributing list in this system is similar to negative
Balanced device is carried, needs to select destination address for each message, should balance as far as possible, to improve the performance of whole system.
When the data sharing storage of scheduler subsystem, distribution table algorithm is due to that will guarantee that identical calling needs to be sent to phase
In same scheduler subsystem, when using scheduling algorithm is rotated, it is different for calling the scheduling system being sent to every time, therefore point
It sends out algorithm and uses hash algorithm, the protocol mapping of request is dispatched system to some using specific hash function by hash algorithm
In, keyword of the different conditions as Hash can choose according to unused application demand, such as the To field in SIP signaling
Deng.
206, scheduling message is forwarded to determining scheduling according to particular schedule subsystem identification by scheduling message transmitting device
Subsystem.
207, scheduling message is forwarded to all scheduler subsystems by scheduling message transmitting device.
208, scheduling message transmitting device handles scheduling message.
Wherein, in scheduling message scheduling message transmitting device some can carry out processing processing, for example, scheduling message be control
When platform processed obtains this kind of message such as the attribute of scheduler subsystem or the message of number, scheduling message transmitting device need to its into
Row processing;Some scheduling messages can be abandoned directly for example, after resolution scheduling message, obtain the port-mark for receiving this scheduling message
It is not pre-set port-mark, then can directly abandons.
209, scheduling message transmitting device judges whether scheduling message is request message, if scheduling message is request message,
Execute step 210;If scheduling message is not request message, step 204 is executed.
Wherein, scheduling message is sip message, parse message header, according to the determination of the mark of message header be request message or
Response message, request message are the message that console is sent to scheduler subsystem, and message header mark is request, and response disappears
Breath is that scheduler subsystem feeds back the message to come, and message header mark is answer.
If it is request message, then call back function (the letter before executing routing logic before the script that execution module is registered
Number), routing engine is executed, the call back function of each Module registers is executed, executes call back function after the script of each Module registers, if
It is in response to message, then call back function before the script of execution module registration, executes the response call back function of each Module registers, be forwarded back to
Message is answered, call back function after the script of each Module registers, last release message structural body are executed.Call back function before script, that is, exist
The function executed before routing logic is executed, for example, a new request message is often received in transaction model, it is first
Transaction resource must first be reset, the operation of front is avoided to have an impact new affairs;It filters some insignificant
ACK message etc..Call back function after script, i.e., the function executed after executing routing logic, for example, in transaction model
In, it is every to have handled a message it is necessary to judge whether to need to discharge corresponding transaction resource.
210, scheduling message is sent to console by scheduling message transmitting device.
It should be noted that a console passes through scheduling message transmitting device control at least one in the embodiment of the present invention
A scheduler subsystem, when there are multiple scheduler subsystems, the embodiment of the present invention compared with prior art, reduces console
Quantity reduces the cost of scheduler subsystem.In addition, in the prior art, in scheduling process, if increasing or decreasing scheduling subsystem
System, then need to restart console, makes troubles to the work of scheduling system, and in the embodiment of the present invention, when increasing adds deduct
When few scheduler subsystem, it is only necessary to increase or delete the information of corresponding scheduler subsystem in scheduling message transmitting device,
Without restarting console, will not make troubles to the work of scheduling system.
In the embodiment of the present invention, scheduling message transmitting device is connect with console and at least one scheduler subsystem respectively,
Console controls at least one described scheduler subsystem, when scheduling message transmitting device receives console or scheduler subsystem transmission
Scheduling message after, determine whether scheduling message needs to be sent to scheduler subsystem or console;When scheduling message needs to send
When to scheduler subsystem or console, scheduling message is sent to scheduler subsystem or console;When scheduling message no need to send
When to scheduler subsystem or console, scheduling message is handled.In this way, console passes through at least one scheduler subsystem
Scheduling message transmitting device is scheduled the transmission of message, and scheduling message transmitting device will be between console and scheduler subsystem
Scheduling message is pre-processed, and the scheduling message for needing to be forwarded to scheduler subsystem or console is forwarded, without
The scheduling message for being forwarded to scheduler subsystem is handled in scheduling message transmitting device, not only realizes that a console can be same
When control multiple scheduler subsystems, and reduce and be not used in the scheduling message that instruction scheduler subsystem is scheduled and be sent to scheduling
In subsystem, waste of resource is avoided, lowers the workload of scheduler subsystem.
Further embodiment of this invention provides a kind of device 30 of scheduling message transmission, as shown in figure 4, described device 30 is distinguished
It is connect with a console and at least one scheduler subsystem, the console controls at least one described scheduler subsystem, institute
Stating device 30 includes:
Receiving unit 31, for receiving the scheduling message of transmitting terminal transmission, the transmitting terminal includes the console and institute
State scheduler subsystem;
Determination unit 32, for determining whether the scheduling message needs to be sent to receiving end, wherein when the transmitting terminal
When for the console, the receiving end is the scheduler subsystem, described when the transmitting terminal is the scheduler subsystem
Receiving end is the console;
Transmission unit 34, for when the scheduling message needs to be sent to the receiving end, the receiving end Xiang Suoshu to be sent
The scheduling message;
Processing unit 35, for when the scheduling message is no need to send to the receiving end, to the scheduling message
It is handled.
Further, the determination unit 32 is also used to determine the type of the scheduling message, the class of the scheduling message
Type includes session initiation protocol sip message and control message;
The determination unit 32 is also used to judge whether the scheduling message needs to send out according to the type of the scheduling message
It send to the scheduler subsystem or the console;And for determining when the type of the scheduling message is sip message
The scheduling message needs to be sent to the receiving end;And for when the type of the scheduling message be control message when, root
Judge whether the scheduling message needs to be sent to the scheduler subsystem according to the effect of the scheduling message.
Further, the determination unit 32 is also used to determine the function of the scheduling message, the function of the scheduling message
It can include request and response;And for determining that the scheduling message needs to send out when the function of the scheduling message is request
It send to the scheduler subsystem;And for determining the scheduling message needs when the function of the scheduling message is response
It is sent to the console.
Further, the determination unit 32 is specifically used for determining the scheduling message need according to preset message distribution table
The mark for the scheduler subsystem to be forwarded;
The transmission unit 33 is also used to send the scheduling message according to described identify to the scheduler subsystem.
Further, the determination unit 32 is also used to determine the tune according to the port-mark for receiving the scheduling message
Spend the type of message.
In the embodiment of the present invention, device 30 is connect with console and at least one scheduler subsystem respectively, console control
At least one described scheduler subsystem is determined and is adjusted after device 30 receives the scheduling message of console or scheduler subsystem transmission
Whether degree message needs to be sent to scheduler subsystem or console;When scheduling message needs to be sent to scheduler subsystem or console
When, scheduling message is sent to scheduler subsystem or console;When no need to send to scheduler subsystem or console for scheduling message
When, scheduling message is handled.In this way, console and at least one scheduler subsystem are scheduled message by device 30
Scheduling message between console and scheduler subsystem is pre-processed, will need to be forwarded to scheduling subsystem by transmission, device 30
The scheduling message of system or console is forwarded, without being forwarded to the scheduling message of scheduler subsystem at device 30
Reason not only realizes that a console can control multiple scheduler subsystems simultaneously, but also reduces and be not used in instruction scheduler subsystem
The scheduling message being scheduled is sent in scheduler subsystem, avoids waste of resource, lowers the workload of scheduler subsystem.
The embodiment of the method for above-mentioned offer may be implemented in the device of scheduling message transmission provided in an embodiment of the present invention, specifically
Function realizes the explanation referred in embodiment of the method, and details are not described herein.Scheduling message transmission provided in an embodiment of the present invention
Method and device can be adapted for the scene that console is scheduled scheduler subsystem, but be not limited only to this.
Those of ordinary skill in the art will appreciate that realizing all or part of the process in above-described embodiment method, being can be with
Relevant hardware is instructed to complete by computer program, the program can be stored in a computer-readable storage medium
In, the program is when being executed, it may include such as the process of the embodiment of above-mentioned each method.Wherein, the storage medium can be magnetic
Dish, CD, read-only memory (Read-Only Memory, ROM) or random access memory (Random Access
Memory, RAM) etc..
The above description is merely a specific embodiment, but scope of protection of the present invention is not limited thereto, any
In the technical scope disclosed by the present invention, any changes or substitutions that can be easily thought of by those familiar with the art, all answers
It is included within the scope of the present invention.Therefore, protection scope of the present invention should be subject to the protection scope in claims.
Claims (8)
1. a kind of method of scheduling message transmission, which is characterized in that be used for scheduling message transmitting device, the scheduling message transmission
Device is connect with a console and at least one scheduler subsystem respectively, and the console controls at least one described described tune
Spend subsystem, which comprises
The scheduling message that transmitting terminal is sent is received, the transmitting terminal includes the console and the scheduler subsystem;
Determine that the type of the scheduling message, the type of the scheduling message include that session initiation protocol sip message and control disappear
Breath;
Determine whether the scheduling message needs to be sent to receiving end, wherein described when the transmitting terminal is the console
Receiving end is the scheduler subsystem, and when the transmitting terminal is the scheduler subsystem, the receiving end is the console,
It specifically includes:
Determine whether the scheduling message needs to be sent to the receiving end according to the type of the scheduling message;
When the type of the scheduling message is the sip message, determine that the scheduling message needs to be sent to the receiving end;
When the type of the scheduling message is the control message, determine that the scheduling disappears according to the effect of the scheduling message
Whether breath needs to be sent to the scheduler subsystem;
When the scheduling message needs to be sent to the receiving end, the receiving end Xiang Suoshu sends the scheduling message;
When the scheduling message is no need to send to the receiving end, the scheduling message is handled.
2. the method according to claim 1, wherein when the type of the scheduling message be the sip message when,
Before the determination scheduling message needs to be sent to the receiving end, the method also includes:
Determine that the function of the scheduling message, the function of the scheduling message include request and response;
The determination scheduling message needs to be sent to the receiving end and includes:
When the function of the scheduling message is request, determine that the scheduling message needs to be sent to the scheduler subsystem;
When the function of the scheduling message is response, determine that the scheduling message needs to be sent to the console.
3. the method according to claim 1, wherein when the type of the scheduling message is control message and needs
When being sent to the scheduler subsystem, before the scheduling message to scheduler subsystem transmission, the method is also
Include:
The mark for the scheduler subsystem that the scheduling message needs to forward is determined according to preset message distribution table;
It is described to include: to the scheduler subsystem transmission scheduling message
The scheduling message is sent according to described identify to the scheduler subsystem.
4. the method according to claim 1, wherein the type of the determination scheduling message includes:
The type of the scheduling message is determined according to the port-mark for receiving the scheduling message.
5. a kind of device of scheduling message transmission, which is characterized in that described device respectively with a console and at least one adjust
Subsystem connection is spent, the console controls at least one described scheduler subsystem, and described device includes:
Receiving unit, for receiving the scheduling message of transmitting terminal transmission, the transmitting terminal includes the console and the scheduling
Subsystem;
Determination unit, for determining whether the scheduling message needs to be sent to receiving end, wherein when the transmitting terminal is described
When console, the receiving end is the scheduler subsystem, when the transmitting terminal is the scheduler subsystem, the receiving end
For the console, specifically include:
The determination unit is also used to determine that the type of the scheduling message, the type of the scheduling message include conversation initial association
Discuss sip message and control message;
The determination unit is also used to determine whether the scheduling message needs to be sent to institute according to the type of the scheduling message
State scheduler subsystem or the console;And for determining the tune when the type of the scheduling message is sip message
Degree message needs to be sent to the receiving end;And for when the type of the scheduling message be control message when, according to described
The effect of scheduling message determines whether the scheduling message needs to be sent to the scheduler subsystem;
Transmission unit, for when the scheduling message needs to be sent to the receiving end, the receiving end Xiang Suoshu to send the tune
Spend message;
Processing unit, for when the scheduling message is no need to send to the receiving end, at the scheduling message
Reason.
6. device according to claim 5, which is characterized in that the determination unit is also used to determine the scheduling message
Function, the function of the scheduling message include request and response;And for when the function of the scheduling message be request when,
Determine that the scheduling message needs to be sent to the scheduler subsystem;And the function for working as the scheduling message is response
When, determine that the scheduling message needs to be sent to the console.
7. device according to claim 5, which is characterized in that the determination unit is specifically used for according to preset message point
Deliver the mark for the scheduler subsystem for determining that the scheduling message needs to forward;
The transmission unit is also used to send the scheduling message according to described identify to the scheduler subsystem.
8. device according to claim 5, which is characterized in that the determination unit is also used to be disappeared according to the reception scheduling
The port-mark of breath determines the type of the scheduling message.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510463516.4A CN106406246B (en) | 2015-07-31 | 2015-07-31 | The method and device of scheduling message transmission |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510463516.4A CN106406246B (en) | 2015-07-31 | 2015-07-31 | The method and device of scheduling message transmission |
Publications (2)
Publication Number | Publication Date |
---|---|
CN106406246A CN106406246A (en) | 2017-02-15 |
CN106406246B true CN106406246B (en) | 2019-09-20 |
Family
ID=58007743
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201510463516.4A Active CN106406246B (en) | 2015-07-31 | 2015-07-31 | The method and device of scheduling message transmission |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106406246B (en) |
Citations (20)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1866905A (en) * | 2005-05-17 | 2006-11-22 | 华为技术有限公司 | Method and apparatus for shaping transmission service stream in network |
CN101018138A (en) * | 2007-01-18 | 2007-08-15 | 华为技术有限公司 | Universal business system and device, network access system and business processing method |
CN101079730A (en) * | 2006-05-25 | 2007-11-28 | 中国移动通信集团公司 | Remote control system and control method of information appliance |
CN101127748A (en) * | 2006-08-15 | 2008-02-20 | 大唐移动通信设备有限公司 | Transmission method and device for uplink synchronization command word in OFDM mobile communication system |
CN101171805A (en) * | 2005-05-03 | 2008-04-30 | Lg电子株式会社 | Communicating control information in mobile communication system |
EP1771964B1 (en) * | 2004-07-30 | 2008-08-13 | Nokia Corporation | Point-to-point repair request mechanism for point-to-multipoint transmission systems |
CN101459602A (en) * | 2008-11-28 | 2009-06-17 | 烽火通信科技股份有限公司 | Apparatus and method for transmitting management and control information in packet transmission network |
CN101577048A (en) * | 2009-02-27 | 2009-11-11 | 泰瑞数创科技(北京)有限公司 | System of staffs and vehicle management in scenic areas |
CN101651615A (en) * | 2009-09-14 | 2010-02-17 | 中兴通讯股份有限公司 | Method and device for scheduling messages |
CN101710292A (en) * | 2009-12-21 | 2010-05-19 | 中国人民解放军信息工程大学 | Reconfigurable task processing system, scheduler and task scheduling method |
CN101841469A (en) * | 2010-03-24 | 2010-09-22 | 北京创毅视讯科技有限公司 | Data transmitting method, system and device in Internet of things |
KR20100117386A (en) * | 2009-04-24 | 2010-11-03 | 한국전자통신연구원 | Multicasting and Broadcasting Service Transmission Method in Mobile Communication System |
CN102196002A (en) * | 2010-03-17 | 2011-09-21 | 同济大学 | Data-stream-communication-based network control system |
CN102685235A (en) * | 2012-05-15 | 2012-09-19 | 苏州阔地网络科技有限公司 | Message dispatching method and system |
CN103618591A (en) * | 2013-12-05 | 2014-03-05 | 中国联合网络通信集团有限公司 | Method, device and system for data transmission |
CN103828445A (en) * | 2011-09-30 | 2014-05-28 | 富士通株式会社 | Wireless communication system, mobile station, base station, and wireless communication system control method |
CN103856300A (en) * | 2012-11-28 | 2014-06-11 | 电信科学技术研究院 | Method and device for transmitting user feedback information |
EP1919246B1 (en) * | 2006-11-03 | 2015-01-14 | NEC Corporation | Mobility management of mobile station in a mobile communications system |
CN104539503A (en) * | 2014-12-11 | 2015-04-22 | 中国航空工业集团公司第六三一研究所 | Method for achieving redundancy channel data cross transmission based on 1394 bus autonomous forwarding |
CN104683955A (en) * | 2013-11-26 | 2015-06-03 | 成都鼎桥通信技术有限公司 | Realization method for LTE-based full-service trunking communication |
Family Cites Families (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US6266646B1 (en) * | 1993-07-22 | 2001-07-24 | Texas Instruments Incorporated | Method and apparatus for providing choices for a facility |
US20040100982A1 (en) * | 1999-09-30 | 2004-05-27 | Sivaram Balasubramanian | Distributed real-time operating system |
JP4876138B2 (en) * | 2009-03-24 | 2012-02-15 | 株式会社日立産機システム | Control computer and control system |
US8498749B2 (en) * | 2009-08-21 | 2013-07-30 | Allure Energy, Inc. | Method for zone based energy management system with scalable map interface |
WO2013006844A1 (en) * | 2011-07-07 | 2013-01-10 | Cisco Technology, Inc. | System and method for providing a message and an event based video services control plane |
US8874781B2 (en) * | 2011-10-17 | 2014-10-28 | Qualcomm Incorporated | System and apparatus for power efficient delivery of social network updates to a receiver device in a broadcast network |
-
2015
- 2015-07-31 CN CN201510463516.4A patent/CN106406246B/en active Active
Patent Citations (21)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
EP1771964B1 (en) * | 2004-07-30 | 2008-08-13 | Nokia Corporation | Point-to-point repair request mechanism for point-to-multipoint transmission systems |
CN101171805A (en) * | 2005-05-03 | 2008-04-30 | Lg电子株式会社 | Communicating control information in mobile communication system |
KR101084134B1 (en) * | 2005-05-03 | 2011-11-17 | 엘지전자 주식회사 | Method for Transmitting Control Information, in a Mobile Communication System |
CN1866905A (en) * | 2005-05-17 | 2006-11-22 | 华为技术有限公司 | Method and apparatus for shaping transmission service stream in network |
CN101079730A (en) * | 2006-05-25 | 2007-11-28 | 中国移动通信集团公司 | Remote control system and control method of information appliance |
CN101127748A (en) * | 2006-08-15 | 2008-02-20 | 大唐移动通信设备有限公司 | Transmission method and device for uplink synchronization command word in OFDM mobile communication system |
EP1919246B1 (en) * | 2006-11-03 | 2015-01-14 | NEC Corporation | Mobility management of mobile station in a mobile communications system |
CN101018138A (en) * | 2007-01-18 | 2007-08-15 | 华为技术有限公司 | Universal business system and device, network access system and business processing method |
CN101459602A (en) * | 2008-11-28 | 2009-06-17 | 烽火通信科技股份有限公司 | Apparatus and method for transmitting management and control information in packet transmission network |
CN101577048A (en) * | 2009-02-27 | 2009-11-11 | 泰瑞数创科技(北京)有限公司 | System of staffs and vehicle management in scenic areas |
KR20100117386A (en) * | 2009-04-24 | 2010-11-03 | 한국전자통신연구원 | Multicasting and Broadcasting Service Transmission Method in Mobile Communication System |
CN101651615A (en) * | 2009-09-14 | 2010-02-17 | 中兴通讯股份有限公司 | Method and device for scheduling messages |
CN101710292A (en) * | 2009-12-21 | 2010-05-19 | 中国人民解放军信息工程大学 | Reconfigurable task processing system, scheduler and task scheduling method |
CN102196002A (en) * | 2010-03-17 | 2011-09-21 | 同济大学 | Data-stream-communication-based network control system |
CN101841469A (en) * | 2010-03-24 | 2010-09-22 | 北京创毅视讯科技有限公司 | Data transmitting method, system and device in Internet of things |
CN103828445A (en) * | 2011-09-30 | 2014-05-28 | 富士通株式会社 | Wireless communication system, mobile station, base station, and wireless communication system control method |
CN102685235A (en) * | 2012-05-15 | 2012-09-19 | 苏州阔地网络科技有限公司 | Message dispatching method and system |
CN103856300A (en) * | 2012-11-28 | 2014-06-11 | 电信科学技术研究院 | Method and device for transmitting user feedback information |
CN104683955A (en) * | 2013-11-26 | 2015-06-03 | 成都鼎桥通信技术有限公司 | Realization method for LTE-based full-service trunking communication |
CN103618591A (en) * | 2013-12-05 | 2014-03-05 | 中国联合网络通信集团有限公司 | Method, device and system for data transmission |
CN104539503A (en) * | 2014-12-11 | 2015-04-22 | 中国航空工业集团公司第六三一研究所 | Method for achieving redundancy channel data cross transmission based on 1394 bus autonomous forwarding |
Also Published As
Publication number | Publication date |
---|---|
CN106406246A (en) | 2017-02-15 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN103312528B (en) | A kind of heartbeat message sending method and user terminal | |
CN108124003B (en) | Network management equipment connection processing method, device and system | |
US10389801B2 (en) | Service request processing method, related apparatus, and system | |
US10834033B2 (en) | Method and system for transferring messages between messaging systems | |
CN109587071B (en) | Micro-service load balancing method based on SDN | |
CN110808948B (en) | Remote procedure calling method, device and system | |
EP2789147B1 (en) | Method and apparatus for load balancing in communication system | |
EP4270204A1 (en) | Multi-cloud interface adaptation method and system based on micro-service, and storage medium | |
CN108471629A (en) | The control method of business service quality, equipment and system in transmission network | |
CN106878197A (en) | A kind of management system and method for the transmission of cloud platform message | |
CN106612196B (en) | Obtain the method and device of resource | |
US10476746B2 (en) | Network management method, device, and system | |
CN103548315A (en) | Method and apparatus for high performance low latency real time notification delivery | |
WO2020098100A1 (en) | Method and apparatus for allocating resources on basis of data analysis, and computer device | |
CN111200606A (en) | Deep learning model task processing method, system, server and storage medium | |
JP2010538551A (en) | Method and system for automatically confirming connectivity status of an IP link on an IP network | |
US20170033978A1 (en) | Method and device for processing communication path | |
CN106970843B (en) | Remote calling method and device | |
CN113328906B (en) | Flow real-time monitoring method and device, storage medium and electronic equipment | |
CN106101468B (en) | Method and device for determining transmission link | |
US10511494B2 (en) | Network control method and apparatus | |
CN115550354A (en) | Data processing method and device and computer readable storage medium | |
CN109922012A (en) | A kind of method and relevant device for transmitting data | |
CN104580209A (en) | Device and method for implementing multi-platform message processing | |
CN106406246B (en) | The method and device of scheduling message transmission |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |