CN102207917A - Multi-node serial communication scanning method - Google Patents

Multi-node serial communication scanning method Download PDF

Info

Publication number
CN102207917A
CN102207917A CN2011101492194A CN201110149219A CN102207917A CN 102207917 A CN102207917 A CN 102207917A CN 2011101492194 A CN2011101492194 A CN 2011101492194A CN 201110149219 A CN201110149219 A CN 201110149219A CN 102207917 A CN102207917 A CN 102207917A
Authority
CN
China
Prior art keywords
communication
decision content
smart machine
count tag
overtime
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
Application number
CN2011101492194A
Other languages
Chinese (zh)
Other versions
CN102207917B (en
Inventor
吉木斯
周作宏
高松
张凯峰
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
ZHUHAI WANLIDA ELECTRICAL AUTOMATION CO., LTD.
Original Assignee
Zhuhai Wanlida Electric Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Zhuhai Wanlida Electric Co Ltd filed Critical Zhuhai Wanlida Electric Co Ltd
Priority to CN 201110149219 priority Critical patent/CN102207917B/en
Publication of CN102207917A publication Critical patent/CN102207917A/en
Application granted granted Critical
Publication of CN102207917B publication Critical patent/CN102207917B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

The invention discloses a multi-node serial communication scanning method. The time of the whole polling period is greatly reduced in a mode of counting marks and reducing the polling time of intelligent equipment in a halt or fault state, the communication speed is improved, and the influence on the whole bus communication speed due to the abnormity of the partial intelligent equipment is reduced; when multiple pieces of equipment are halted or failed in the system, the polling period can be shortened to 4 to 5 seconds by adopting the method; and the more the halted or failed equipment are, the more obvious the effect of the method is.

Description

A kind of multinode serial communication scan method
Technical field
The invention belongs to technology of serial communication, be specially a kind of multinode serial communication scan method.
Background technology
Under the serial communication situation, a large amount of stipulations adopt one main many from poll pattern, article one, articulate a plurality of smart machines on the bus, when there is one or more smart machine fault at the scene, reasons such as maintenance stop communication, and when being polled to this smart machine, communication is overtime to be judged by waiting, when having many smart machines to be in interruption status on the bus, communication speed reduces because of waiting overtime being affected of communication.When the scene has multiple devices to be in stopped status, polling cycle even can reach 50-60 second, whole bus communication speed can be affected.
Summary of the invention
At the problems referred to above, the invention provides the multinode serial communication scan method that a kind of communication speed increases, polling cycle reduces greatly.
The technical scheme that the present invention is adopted for its technical matters of solution is:
A kind of multinode serial communication scan method may further comprise the steps:
(1) overtime decision content of normal communication and the overtime decision content of short communication are set, the overtime decision content of short communication is less than the overtime decision content of normal communication;
(2) communication center to passage institute to some extent connection intelligent equipment call, utilize the overtime decision content of normal communication to judge the shutdown or the malfunction of smart machine, to taking place to shut down or the smart machine of malfunction carries out count tag;
Utilize the overtime decision content of normal communication to judge its shutdown or malfunction when (3) communication center is called the smart machine that does not have count tag next time; when calling the smart machine that count tag is arranged next time, communication center utilize the overtime decision content of short communication to judge whether to recover communication; remove count tag when recovering communication, circulate with this.
As preferred embodiment, communication center was all called the smart machine that does not have count tag in each cycle, and be separated by some cycles of communication center just call the smart machine that count tag is arranged.
The invention has the beneficial effects as follows: method of the present invention adopts count tag, reduce to shut down or the mode of malfunction smart machine poll time greatly reduces whole polling cycle and takes time; improve communication speed; reduction because of the part smart machine unusually to the influence of whole bus communication speed; after having many equipment downtimes or fault in the system; adopt method polling cycle of the present invention can shorten to 4-5 second, obvious more in the equipment effect how of the present invention more of shutdown or fault.
Embodiment
A kind of multinode serial communication scan method of the present invention may further comprise the steps:
(1) overtime decision content of normal communication and the overtime decision content of short communication are set, the overtime decision content of short communication is less than the overtime decision content of normal communication, during practical application, the size of the overtime decision content of normal communication can the several seconds, and the overtime decision content of short communication then can be set to tens of milliseconds;
(2) communication center to passage institute to some extent connection intelligent equipment call, utilize the overtime decision content of normal communication to judge the shutdown or the malfunction of smart machine, equipment just often equipment is beamed back at once and is recalled signal, the equipment that surpasses the overtime decision content of normal communication then is judged as the smart machine of shutdown or malfunction, and the smart machine that shutdown or malfunction take place is carried out count tag;
Utilize the overtime decision content of normal communication to judge its shutdown or malfunction when (3) communication center is called the smart machine that does not have count tag next time; when calling the smart machine that count tag is arranged next time, communication center utilize the overtime decision content of short communication to judge whether to recover communication; remove count tag when recovering communication; call according to normal condition after knowing the equipment of count tag, circulate with this.
In addition, in order further to increase sweep velocity, the present invention can be further mode by frequency reducing be optimized, promptly communication center was all called the smart machine that does not have count tag in each cycle, communication center some cycles of being separated by just call the smart machine that count tag is arranged.The method that this frequency reducing is called the smart machine that count tag is arranged can reduce unnecessary calling number of times, further reduces the polling cycle size.
Embodiments of the present invention are not restricted to the described embodiments, as long as it reaches technique effect of the present invention with essentially identical means, all should belong to protection scope of the present invention.

Claims (2)

1. multinode serial communication scan method is characterized in that may further comprise the steps:
(1) overtime decision content of normal communication and the overtime decision content of short communication are set, the overtime decision content of short communication is less than the overtime decision content of normal communication;
(2) communication center to passage institute to some extent connection intelligent equipment call, utilize the overtime decision content of normal communication to judge the shutdown or the malfunction of smart machine, to taking place to shut down or the smart machine of malfunction carries out count tag;
Utilize the overtime decision content of normal communication to judge its shutdown or malfunction when (3) communication center is called the smart machine that does not have count tag next time; when calling the smart machine that count tag is arranged next time, communication center utilize the overtime decision content of short communication to judge whether to recover communication; remove count tag when recovering communication, circulate with this.
2. a kind of multinode serial communication scan method according to claim 1, it is characterized in that communication center all calls the smart machine that does not have count tag in each cycle, communication center some cycles of being separated by just call the smart machine that count tag is arranged.
CN 201110149219 2011-06-03 2011-06-03 Multi-node serial communication scanning method Active CN102207917B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN 201110149219 CN102207917B (en) 2011-06-03 2011-06-03 Multi-node serial communication scanning method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN 201110149219 CN102207917B (en) 2011-06-03 2011-06-03 Multi-node serial communication scanning method

Publications (2)

Publication Number Publication Date
CN102207917A true CN102207917A (en) 2011-10-05
CN102207917B CN102207917B (en) 2013-09-11

Family

ID=44696758

Family Applications (1)

Application Number Title Priority Date Filing Date
CN 201110149219 Active CN102207917B (en) 2011-06-03 2011-06-03 Multi-node serial communication scanning method

Country Status (1)

Country Link
CN (1) CN102207917B (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106411655A (en) * 2016-11-04 2017-02-15 合肥工业大学 Communication processing method based on state diagnosis of serial communication equipment
CN111464372A (en) * 2019-01-18 2020-07-28 广东天创同工大数据应用有限公司 Method for improving communication refreshing speed

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20030018930A1 (en) * 2001-07-18 2003-01-23 Oscar Mora Peer-to-peer fault detection
CN101217415A (en) * 2008-01-18 2008-07-09 深圳国人通信有限公司 A method of polling devices in the repeater

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20030018930A1 (en) * 2001-07-18 2003-01-23 Oscar Mora Peer-to-peer fault detection
CN101217415A (en) * 2008-01-18 2008-07-09 深圳国人通信有限公司 A method of polling devices in the repeater

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
任桥伟等: "一种基于SNMP网管系统的动态轮询算法研究", 《计算机应用与软件》 *

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106411655A (en) * 2016-11-04 2017-02-15 合肥工业大学 Communication processing method based on state diagnosis of serial communication equipment
CN106411655B (en) * 2016-11-04 2019-08-02 合肥工业大学 Communication processing method based on the diagnosis of serial communication equipment state
CN111464372A (en) * 2019-01-18 2020-07-28 广东天创同工大数据应用有限公司 Method for improving communication refreshing speed
CN111464372B (en) * 2019-01-18 2021-09-24 广东天创同工大数据应用有限公司 Method for improving communication refreshing speed

Also Published As

Publication number Publication date
CN102207917B (en) 2013-09-11

Similar Documents

Publication Publication Date Title
CN101324855B (en) Method, system, component and multi-CPU equipment for detecting auxiliary CPU operating status
CN104242450B (en) Method for monitoring state of wireless module in power distribution system
CN104753710A (en) Main/standby switching system and method of dual-wan PORT network apparatus
CN102207917B (en) Multi-node serial communication scanning method
CN106411655A (en) Communication processing method based on state diagnosis of serial communication equipment
CN103684903B (en) The online test method that a kind of GOOSE message is abnormal
EP3247055A1 (en) Method and apparatus for hot standby of controllers in distributed protection
CN104468392B (en) A kind of transformer station process layer IED network storm suppressing method
CN104142869A (en) Monitoring method and watchdog module for car body control system
CN102902597B (en) A kind of method and chip improving chip security
CN104104542A (en) Real-time intelligent debugging method based on RS485
CN102098174A (en) Safety communication method and system for power grid monitoring system
CN101804725B (en) Software and hardware combination multi-grade exception processing method of full-automatic precise screen printer
CN102255760B (en) Quick protection switching method with business cards backing up each other
CN103118359A (en) Implement method and device of self-healing of base station equipment
CN104679710A (en) Software fault quick recovery method for semiconductor production line transportation system
CN104090525B (en) Machine control equipment and driving means thereof
CN103062030B (en) A kind of high voltage direct current valve cooling system main pump COMM communication, method and main pump system
CN104038387B (en) Line detecting method on frame-type switch business board
CN102632308B (en) Control method of electric discharge machining (EDM) machine
CN104202193A (en) Distributed protection link fault detection method
CN103911855B (en) A kind of silk fabric refining agent
CN203587997U (en) Multipath digital value input/output unit
CN201887561U (en) Safety communication system for power grid monitoring system
CN104348133B (en) Reactor protection system internal electric source interlocking controller

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
ASS Succession or assignment of patent right

Owner name: ZHUHAI WANLIDA ELECTRICAL AUTOMATION CO., LTD.

Free format text: FORMER OWNER: ZHUHAI WANLIDA ELECTRIC CO.,LTD.

Effective date: 20140930

C41 Transfer of patent application or patent right or utility model
COR Change of bibliographic data

Free format text: CORRECT: ADDRESS; FROM: 519085 ZHUHAI, GUANGDONG PROVINCE TO: 519000 ZHUHAI, GUANGDONG PROVINCE

TR01 Transfer of patent right

Effective date of registration: 20140930

Address after: 519000 Guangdong city of Zhuhai province high tech Zone Technology Innovation Coast technology way Wanlida Relay Protection Technology Park

Patentee after: ZHUHAI WANLIDA ELECTRICAL AUTOMATION CO., LTD.

Address before: 519085 Guangdong city of Zhuhai province high tech Zone Technology Innovation Coast Technology 1 road Wanlida Electric Co. Ltd.

Patentee before: Zhuhai Wanlida Electric Co., Ltd.