CN109327333A - A kind of message stops paying out method and device - Google Patents
A kind of message stops paying out method and device Download PDFInfo
- Publication number
- CN109327333A CN109327333A CN201811155145.3A CN201811155145A CN109327333A CN 109327333 A CN109327333 A CN 109327333A CN 201811155145 A CN201811155145 A CN 201811155145A CN 109327333 A CN109327333 A CN 109327333A
- Authority
- CN
- China
- Prior art keywords
- paying out
- message
- controller
- stopping
- preset
- 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.)
- Pending
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L41/00—Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
- H04L41/06—Management of faults, events, alarms or notifications
- H04L41/0654—Management of faults, events, alarms or notifications using network fault recovery
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L43/00—Arrangements for monitoring or testing data switching networks
- H04L43/16—Threshold monitoring
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Mobile Radio Communication Systems (AREA)
Abstract
The embodiment of the invention discloses a kind of messages to stop paying out method and device, if including: that the quantity of the first object message comprising stopping paying out signal that admission controller receives is inscribed in a detection cycle has been more than preset amount threshold, triggers first object message and stop paying out mechanism.Alternatively, after receiving controller and powering within a preset period of time, not receiving the second object message, then triggering the second object message and stop paying out mechanism.After message stops paying out mechanism triggering, then sends controller and receive controller.Stopping paying out by message in this way reduces traffic load rate, improves communication speed, and by shielding message fault detection, has also ensured being normally carried out for communication.
Description
Technical field
The present invention relates to data processing fields more particularly to a kind of message to stop paying out method and device.
Background technique
Currently, controller includes sending controller and reception controller there are more and more controllers in full-vehicle control,
And as control process becomes increasingly complex, the exchange data frames for sending controller and receiving between controller are also more and more,
Such that traffic load rate is excessively high, to influence communication speed.
Summary of the invention
In view of this, the embodiment of the invention discloses a kind of messages to stop paying out method and device, solve in the prior art by
Frequent interaction data causes traffic rate low so that traffic load rate is excessively high between transmission controller and reception controller
The problem of.
The invention discloses a kind of messages to stop paying out method, and the method is applied to receive controller, comprising:
Count the quantity of the first object message comprising stopping paying out signal received in a detection cycle;One inspection
Surveying the period includes multiple sending cycles;
Whether the quantity of first object message of the judgement comprising stopping paying out signal has reached preset first amount threshold;
If the quantity of the first object message comprising stopping paying out signal has reached preset first amount threshold, trigger
The object message stops paying out mechanism.
Optionally, comprising: after the triggering message stops paying out mechanism, further includes:
Open message fault detection mask pattern.
Optionally, further includes:
When receiving first object message again, releases message and stop paying out mechanism.
Optionally, the message stop paying out signal be it is preset stop paying out id signal or it is preset to controller without demand
Message frame.
Optionally, further includes:
The second object message is not received in the preset time period after the reception controller powers on, then triggers described the
Two object messages stop paying out mechanism.
The embodiment of the invention also discloses a kind of messages to stop paying out device, and described device is applied to receive controller, comprising:
Signal statistics unit is stopped paying out, for counting the first object comprising stopping paying out signal received in a detection cycle
The quantity of message;One detection cycle includes multiple sending cycles;
Judging unit, for judging whether the quantity of the first object message comprising stopping paying out signal has reached preset quantity
Threshold value;
Mechanism unit is stopped paying out in first triggering, if the quantity for the message comprising stopping paying out signal has reached preset number
Threshold value is measured, then triggers message and stops paying out mechanism.
Optionally, further includes:
Mechanism subelement is stopped paying out in first triggering, for not receiving in the preset time period after the reception controller powers on
To object message, then triggers object message and stop paying out mechanism.
Optionally, further includes:
Osculating element is stopped paying out, stops paying out mechanism for when receiving first object message again, releasing message.
The embodiment of the invention also discloses a kind of messages to stop paying out method, and the method is applied to send controller, comprising:
The first object message comprising stopping paying out signal is sent to controller is received;
When the quantity of the message comprising stopping paying out signal of transmission reaches preset second amount threshold, first object is triggered
Message stops paying out mechanism.
The embodiment of the invention discloses a kind of messages to stop paying out device, and described device is applied to send controller, comprising:
Transmission unit, for including the first object message for stopping paying out signal to receiving controller and sending;
Mechanism unit is stopped paying out in second triggering, for reaching preset second number when the quantity of the message for stopping paying out signal sent
When measuring threshold value, triggering first object message stops paying out mechanism.
The embodiment of the invention discloses a kind of messages to stop paying out method and device, comprising: if receiving in a detection cycle
What controller received has been more than preset amount threshold comprising stopping paying out the quantity of the first object message of signal, then triggers first
Object message stops paying out mechanism.Alternatively, after receiving controller and powering within a preset period of time, the second object message is not received,
It then triggers the second object message and stops paying out mechanism.After message stops paying out mechanism triggering, then sends controller and receive controller.In this way
By stopping paying out for message, traffic load rate is reduced, improves communication speed, and by shielding message fault detection, is also ensured
Communication is normally carried out.
Detailed description of the invention
In order to more clearly explain the embodiment of the invention or the technical proposal in the existing technology, to embodiment or will show below
There is attached drawing needed in technical description to be briefly described, it should be apparent that, the accompanying drawings in the following description is only this
The embodiment of invention for those of ordinary skill in the art without creative efforts, can also basis
The attached drawing of offer obtains other attached drawings.
Fig. 1 shows the flow diagram that a kind of message provided in an embodiment of the present invention stops paying out method;
Fig. 2 shows the another flow diagrams that a kind of message provided in an embodiment of the present invention stops paying out method;
Fig. 3 shows the structure journey schematic diagram that a kind of message provided in an embodiment of the present invention stops paying out device;
Fig. 4 shows the another structural schematic diagram that a kind of message provided in an embodiment of the present invention stops paying out device.
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 every other
Embodiment shall fall within the protection scope of the present invention.
Applicant it has been investigated that, send controller and receive controller between interaction message frame it is more and more so that
Traffic load rate is excessively high, to reduce communication speed.To solve the above-mentioned problems, applicant is provided with new message transmissions and advises
Then, for certain messages for executing relevant operation without receiving controller, setting message stops paying out mechanism, stops paying out machine in triggering message
After system, the message is stopped paying out whithin a period of time.
Specifically, the condition that triggering message stops paying out mechanism is set to transmission controller and reception controller in advance, in nothing
When need to receive controller execution relevant operation, controller is sent to controller is received and sends multiple messages comprising stopping paying out signal,
Then it sends controller triggering and stops paying out mechanism;When reception controller receives multiple messages comprising stopping paying out signal, then trigger
Stop paying out mechanism.(quantity for wherein, receiving the message comprising stopping paying out signal that controller receives is less than or equal to send controller hair
The quantity of the message comprising stopping paying out signal sent.) in this way, stopping paying out by message, reduces traffic load rate, improves communication
Rate.
With reference to Fig. 1, the flow diagram that a kind of message provided in an embodiment of the present invention stops paying out method is shown, in this implementation
In example, this method is applied to send control, this method comprises:
S101: the first object message comprising stopping paying out signal is sent to controller is received;
Wherein, first object message is the report for sending controller and receiving any one type transmitted between controller
Text.S102: when the quantity of the message comprising stopping paying out signal of transmission reaches preset second amount threshold, first object is triggered
Message stops paying out mechanism.
In the present embodiment, signal is stopped paying out to be preset and stops paying out id signal or the preset message to controller without demand
Frame.In the case where executing relevant operation without receiving controller, it is multiple comprising stopping to controller transmission is received to send controller
The first object message of signalling, when the quantity of the first object message comprising stopping paying out signal of transmission reaches preset second number
When measuring threshold value, triggering first object message stops paying out mechanism, does not retransmit first object message.
For example: it receives in message, if the value of the control model of TSC1 is 0, then it represents that not any to controller
It needs or limits, therefore the case where value of the control model of TSC1 is 0 can be used as message and stop paying out signal.
In the present embodiment, by stopping paying out for message, traffic load rate is reduced, communication speed is improved.
With reference to Fig. 2, the flow diagram that a kind of message provided in an embodiment of the present invention stops paying out method is shown, in this implementation
In example, this method comprises:
S201: the quantity of the first object message comprising stopping paying out signal received in one detection cycle of statistics;It is described
One detection cycle includes multiple sending cycles;
In the present embodiment, detection cycle start mark include: send controller and receive controller power on when, or
It is received for the first time when receiving first object message after triggering the mechanism of stopping paying out for the first time, or after a upper detection cycle
When to message.
Wherein, first object message is the report for sending controller and receiving any one type transmitted between controller
Text.
In the present embodiment, signal is stopped paying out to be preset and stops paying out id signal or the preset message to controller without demand
Information.
Wherein, to stop paying out the message frame of signal identification be one randomly selected from message frame and message information comprising default
Unrelated message frame.
The preset message to controller without demand is not play any restrictions or controller without basis to controller
Message information is adjusted.
For example: it receives in message, if the value of the control model of TSC1 is 0, then it represents that not any to controller
It needs or limits, therefore the case where value of the control model of TSC1 is 0 can be used as message and stop paying out signal.
S202: whether the quantity of first object message of the judgement comprising stopping paying out signal has reached preset first quantity threshold
Value;
In the present embodiment, preset first amount threshold can be what technical staff was rule of thumb arranged.
S203: it if the quantity of the first object message comprising stopping paying out signal has reached preset amount threshold, touches
Hair first object message stops paying out mechanism.
In the present embodiment, having reached preset amount threshold can be understood as being more than or equal to preset amount threshold.
In the present embodiment, message can be sent to receiving to control by sending controller at interval of a sending cycle, receive control
Device, which receives, sends the message that controller is sent, but for some reason it is possible that the case where message loss.In order to avoid
The quantity and reception controller for the message comprising stopping paying out signal that the transmission controller as caused by message loss is sent receive
The message comprising stopping paying out signal the inconsistent situation of quantity, influence to receive the triggering that controller stops paying out mechanism, setting second
Amount threshold is greater than the first amount threshold.
For example: the process cycle of message is certain, if receiving controller in the N number of sending cycle for sending controller
M message is inside received, then receives controller triggering message and stops paying out mechanism.Wherein, N >=M.
In addition to this, the triggering that mechanism is stopped paying out for message further includes another embodiment, specifically, also wrapping
It includes:
The second object message is not received in the preset time period after the reception controller powers on, then triggers described the
Two object messages stop paying out mechanism.
Wherein, preset time period is a period of time after powering on, and the length of the preset time period can be technical staff's root
According to experience setting, it is also possible to be calculated, to the length of the preset time period without limiting.
Wherein, the second object message is the report for sending controller and receiving any type transmitted between controller
Text.
In summary, the condition that triggering message is stopped paying out may include two kinds: 1, sending controller and receiving on controller
After electricity, within preset a period of time, if not receiving certain type of message, triggers message and stop paying out mechanism;2, continuous
Multiple sending cycles in, the quantity for receiving the message for stopping paying out signal comprising message that controller receives reaches preset first
When amount threshold, mechanism is stopped paying out in triggering.
Wherein, after message stops paying out mechanism triggering, it sends controller and receives control automatic shield message fault detection,
It is not considered as that there are failures for message transmissions, and then without downgrade processing.
In the present embodiment, if the quantity of the first object message comprising stopping paying out signal received in a detection cycle
It has been more than preset amount threshold, then has triggered first object message and stop paying out mechanism.Alternatively, default after receiving controller and powering on
In period, the second object message is not received, then triggers the second object message and stop paying out mechanism.Mechanism triggering is stopped paying out in message
Afterwards, then it sends controller and receives controller.Stopping paying out by message in this way reduces traffic load rate, improves communication speed,
And by shielding message fault detection, being normally carried out for communication is also ensured.
With reference to Fig. 3, show that the embodiment of the invention discloses the structural schematic diagrams that a kind of message stops paying out device, in this implementation
In example, which includes:
Transmission unit 301, for including the first object message for stopping paying out signal to receiving controller and sending;
Mechanism unit 302 is stopped paying out in second triggering, for reaching preset the when the quantity of the message for stopping paying out signal sent
When two amount thresholds, triggering first object message stops paying out mechanism.
In the present embodiment, by stopping paying out for message, traffic load rate is reduced, improves communication speed, and pass through shielding
Message fault detection has also ensured being normally carried out for communication.
With reference to Fig. 4, show that the embodiment of the invention discloses the structural schematic diagrams that a kind of message stops paying out device, in this implementation
In example, which includes:
Stop paying out signal statistics unit 401, for count received in a detection cycle comprising stopping paying out the first of signal
The quantity of object message;One detection cycle includes multiple reception periods;
Judging unit 402, for judging whether the quantity of the first object message comprising stopping paying out signal has reached preset
Amount threshold;
Mechanism unit 403 is stopped paying out in first triggering, if the quantity for the message comprising stopping paying out signal has reached default
Amount threshold, then trigger message and stop paying out mechanism.
Optionally, further includes:
Fault detection screen unit, for opening message fault detection mask pattern.
Optionally, further includes:
Message stops paying out mechanism lifting unit, stops paying out mechanism for when receiving first object message again, releasing message.
Optionally, the message stop paying out signal be it is preset stop paying out id signal or it is preset to controller without demand
Message frame.
Optionally, further includes:
The second object message is not received in the preset time period after the reception controller powers on, then triggers described the
Two object messages stop paying out mechanism.
Device through this embodiment, if the first object report comprising stopping paying out signal received in a detection cycle
The quantity of text has been more than preset amount threshold, then triggers first object message and stop paying out mechanism.Alternatively, being powered on receiving controller
Afterwards within a preset period of time, the second object message is not received, then triggers the second object message and stop paying out mechanism.Machine is stopped paying out in message
After system triggering, then sends controller and receive controller.Stopping paying out by message in this way reduces traffic load rate, improves logical
Rate is interrogated, and by shielding message fault detection, has also ensured being normally carried out for communication.
It should be noted that all the embodiments in this specification are described in a progressive manner, each embodiment weight
Point explanation is the difference from other embodiments, and the same or similar parts between the embodiments can be referred to each other.
The foregoing description of the disclosed embodiments enables those skilled in the art to implement or use the present invention.
Various modifications to these embodiments will be readily apparent to those skilled in the art, as defined herein
General Principle can be realized in other embodiments without departing from the spirit or scope of the present invention.Therefore, of the invention
It is not intended to be limited to the embodiments shown herein, and is to fit to and the principles and novel features disclosed herein phase one
The widest scope of cause.
Claims (10)
1. a kind of message stops paying out method, which is characterized in that the method is applied to receive controller, comprising:
Count the quantity of the first object message comprising stopping paying out signal received in a detection cycle;One detection week
Phase includes multiple sending cycles;
Whether the quantity of first object message of the judgement comprising stopping paying out signal has reached preset first amount threshold;
If the quantity of the first object message comprising stopping paying out signal has reached preset first amount threshold, described in triggering
Object message stops paying out mechanism.
2. the method according to claim 1, wherein including: after the triggering message stops paying out mechanism, further includes:
Open message fault detection mask pattern.
3. the method according to claim 1, wherein further include:
When receiving first object message again, releases message and stop paying out mechanism.
4. the method according to claim 1, wherein
The message stops paying out signal and stops paying out id signal or the preset message frame to controller without demand to be preset.
5. the method according to claim 1, wherein further include:
The second object message is not received in the preset time period after the reception controller powers on, then triggers second mesh
Mark message stops paying out mechanism.
6. a kind of message stops paying out device, which is characterized in that described device is applied to receive controller, comprising:
Signal statistics unit is stopped paying out, for counting the first object message comprising stopping paying out signal received in a detection cycle
Quantity;One detection cycle includes multiple sending cycles;
Judging unit, for judging whether the quantity of the first object message comprising stopping paying out signal has reached preset quantity threshold
Value;
Mechanism unit is stopped paying out in first triggering, if the quantity for the message comprising stopping paying out signal has reached preset quantity threshold
Value, then trigger message and stop paying out mechanism.
7. device according to claim 6, which is characterized in that further include:
Mechanism subelement is stopped paying out in first triggering, for not receiving mesh in the preset time period after the reception controller powers on
Message is marked, then triggers object message and stops paying out mechanism.
8. device according to claim 6, which is characterized in that further include:
Osculating element is stopped paying out, stops paying out mechanism for when receiving first object message again, releasing message.
9. a kind of message stops paying out method, which is characterized in that the method is applied to send controller, comprising:
The first object message comprising stopping paying out signal is sent to controller is received;
When the quantity of the message comprising stopping paying out signal of transmission reaches preset second amount threshold, first object message is triggered
Stop paying out mechanism.
10. a kind of message stops paying out device, which is characterized in that described device is applied to send controller, comprising:
Transmission unit, for including the first object message for stopping paying out signal to receiving controller and sending;
Mechanism unit is stopped paying out in second triggering, for reaching preset second quantity threshold when the quantity of the message for stopping paying out signal sent
When value, triggering first object message stops paying out mechanism.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811155145.3A CN109327333A (en) | 2018-09-30 | 2018-09-30 | A kind of message stops paying out method and device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811155145.3A CN109327333A (en) | 2018-09-30 | 2018-09-30 | A kind of message stops paying out method and device |
Publications (1)
Publication Number | Publication Date |
---|---|
CN109327333A true CN109327333A (en) | 2019-02-12 |
Family
ID=65265007
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201811155145.3A Pending CN109327333A (en) | 2018-09-30 | 2018-09-30 | A kind of message stops paying out method and device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109327333A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113347272A (en) * | 2021-06-29 | 2021-09-03 | 潍柴动力股份有限公司 | Message processing method, device, storage medium and equipment |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101039264A (en) * | 2007-03-22 | 2007-09-19 | 华为技术有限公司 | Method, equipment and system for realizing designated router to register at convergence point |
CN101404599A (en) * | 2008-11-12 | 2009-04-08 | 华为技术有限公司 | Network fault detection method, primary device, slave device, control terminal and system |
CN104396162A (en) * | 2012-06-20 | 2015-03-04 | 瑞典爱立信有限公司 | Devices and methods for flow control of messages in passive optical network (PON) and methods therein |
CN106708761A (en) * | 2015-11-12 | 2017-05-24 | 杭州华为数字技术有限公司 | Service message processing method and device |
CN107404393A (en) * | 2016-05-20 | 2017-11-28 | 北京信威通信技术股份有限公司 | A kind of method and system for judging link failure |
CN107704421A (en) * | 2017-09-12 | 2018-02-16 | 新华三信息安全技术有限公司 | A kind of polycaryon processor and message processing method |
-
2018
- 2018-09-30 CN CN201811155145.3A patent/CN109327333A/en active Pending
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101039264A (en) * | 2007-03-22 | 2007-09-19 | 华为技术有限公司 | Method, equipment and system for realizing designated router to register at convergence point |
CN101404599A (en) * | 2008-11-12 | 2009-04-08 | 华为技术有限公司 | Network fault detection method, primary device, slave device, control terminal and system |
CN104396162A (en) * | 2012-06-20 | 2015-03-04 | 瑞典爱立信有限公司 | Devices and methods for flow control of messages in passive optical network (PON) and methods therein |
CN106708761A (en) * | 2015-11-12 | 2017-05-24 | 杭州华为数字技术有限公司 | Service message processing method and device |
CN107404393A (en) * | 2016-05-20 | 2017-11-28 | 北京信威通信技术股份有限公司 | A kind of method and system for judging link failure |
CN107704421A (en) * | 2017-09-12 | 2018-02-16 | 新华三信息安全技术有限公司 | A kind of polycaryon processor and message processing method |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113347272A (en) * | 2021-06-29 | 2021-09-03 | 潍柴动力股份有限公司 | Message processing method, device, storage medium and equipment |
CN113347272B (en) * | 2021-06-29 | 2022-04-26 | 潍柴动力股份有限公司 | Message processing method, device, storage medium and equipment |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN103209439B (en) | The method of a kind of data traffic monitoring, device and equipment | |
CN103002426B (en) | Method and device for controlling PCC (policy control and charging) rules in Preload mode | |
CN103220173B (en) | A kind of alarm monitoring method and supervisory control system | |
CA2564649A1 (en) | System and method for efficient configuration in a fixed network automated meter reading system | |
CN103200048B (en) | A kind of network processing unit method for detecting abnormality, device and network processing device | |
CN107040674B (en) | Charging method, device and system | |
CN106487612A (en) | A kind of server node monitoring method, monitoring server and system | |
CN109327333A (en) | A kind of message stops paying out method and device | |
EP2983327A1 (en) | Counting control method for counter, and network chip | |
CN107948157A (en) | A kind of message processing method and device | |
CN104052676B (en) | A kind of data processing method of transmission path device and transmission path | |
CN105527564A (en) | Self-diagnosis method and system for internal functions of FPGA (Field Programmable Gate Array) | |
CA2668671A1 (en) | Serial communications protocol for safety critical systems | |
CN102882805A (en) | Method and device for preventing link aggregation group from state transition | |
CN109982430A (en) | A kind of method and apparatus being scheduled request | |
CN104243343B (en) | A kind of method and the network equipment for determining message impact | |
CN101826981A (en) | Method for processing event message, north interface and operation support system | |
CN107580349A (en) | A kind of reorientation method and device | |
CN112995060B (en) | Flow control method based on hardware counter | |
CN104486787A (en) | Method and device for detecting wireless link fault | |
CN102701006A (en) | Take-up device | |
CN106506279A (en) | Network lock-up condition detection method and device | |
JP4541007B2 (en) | Network interrupt control method, information processing apparatus, and image forming apparatus | |
KR101164029B1 (en) | Method for managing pc on network based on calculation velocity information of pc, and web-server used therein | |
CN109040064A (en) | A kind of server seals and stops method, apparatus, equipment and readable storage medium storing program for executing |
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 | ||
RJ01 | Rejection of invention patent application after publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20190212 |