CN105786445A - Eliminating method of reflective memory real-time networking random number - Google Patents

Eliminating method of reflective memory real-time networking random number Download PDF

Info

Publication number
CN105786445A
CN105786445A CN201610138484.5A CN201610138484A CN105786445A CN 105786445 A CN105786445 A CN 105786445A CN 201610138484 A CN201610138484 A CN 201610138484A CN 105786445 A CN105786445 A CN 105786445A
Authority
CN
China
Prior art keywords
random number
man
hmi server
controller
machine interface
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
Application number
CN201610138484.5A
Other languages
Chinese (zh)
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.)
Shandong Iron and Steel Group Co Ltd SISG
Original Assignee
Shandong Iron and Steel Group Co Ltd SISG
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 Shandong Iron and Steel Group Co Ltd SISG filed Critical Shandong Iron and Steel Group Co Ltd SISG
Priority to CN201610138484.5A priority Critical patent/CN105786445A/en
Publication of CN105786445A publication Critical patent/CN105786445A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F7/00Methods or arrangements for processing data by operating upon the order or content of the data handled
    • G06F7/58Random or pseudo-random number generators
    • G06F7/588Random number generators, i.e. based on natural stochastic processes

Landscapes

  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Computational Mathematics (AREA)
  • Mathematical Analysis (AREA)
  • Mathematical Optimization (AREA)
  • Pure & Applied Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • Power Sources (AREA)

Abstract

The invention provides a technical scheme capable of eliminating a reflective memory real-time networking random number.By means of the method of the technical scheme, the random number is covered by correct state data and set value data, data messy codes and device maloperation are avoided, and the normal running of a device is ensured.After a man-machine interface HMI server and all L1 controllers are in communication through reflective memory real-time networking, if the networked device is powered off and restarted, the random number can be produced by uncertainty of storage area data on a reflective memory real-time networking card; by latching the normal running state data existing before the device is powered off and set value data from the HMI server at any time, with the normal signal restored after the HMI server or the L1 controllers are restarted as the triggering condition, the current state data existing before power-off and the set value data are written back to the L1 controllers, and therefore the random number problem is solved.

Description

A kind of removing method of memory mapping net random number
Technical field
The present invention relates to a kind of hot continuous rolling automatic field, the removing method of especially a kind of memory mapping net random number for hot continuous rolling automated system.
Background technology
nullIn the prior art,Known technology is to ensure that the control cycle of hot continuous rolling automated system is less than 1ms,Memory mapping net is have employed between each controller of Basic automation level L1 and between L1 controller and production controlled stage L2 server,Before 2005 the memory mapping net mechanics of communication of this high speed be only limitted between each controller of L1 and with the communication of L2 model server,And the communication between man-machine interface HMI server (being also called picture service device) and L1 controller still adopts the Ethernet mode of comparative maturity,When the Ethernet interface adopting L1 controller built-in completes communication,The cpu load of L1 controller can be increased,Serious conditions can cause that CPU crashes,Thus affecting the stability of control system,In order to solve this problem,And also to simplify the network structure of hot continuous rolling automated system,The design that after 2005, a lot of hot continuous rollings control system begins at and adopts memory mapping Netcom news between HMI server and L1 controller,But the application of this technology also brings the random number problem making technical staff perplex simultaneously,The root that it produces is exactly that (namely in program, some do not have the variable of logical assignment to some " headless data " in control system,Such as upper setting value,The initial value etc. of some communication variables) when picture service has been thought highly of or each shelf controller restarts,Owing to memory mapping network interface card causes in the uncertainty of powered on moment memory block thresholding,Once produce random number controlling internal system,It directly affects the setting data mess code just originating from upper monitoring computer,More serious impact is to cause that equipment malfunction is made,Even jeopardize equipment and run safety,This is the weak point existing for prior art.
Summary of the invention
The purpose of the present invention is aiming at the deficiency existing for prior art, and a kind of technical scheme eliminating memory mapping net random number is provided, the method of the program is to cover random number by correct status data and set-point data, avoid data mess code and equipment malfunction, it is ensured that equipment properly functioning.
This programme is achieved by the following technical measures: the removing method of a kind of memory mapping net random number, it is characterised in that comprise the steps:
1) status data when storage control system is properly functioning and the set-point data from man-machine interface HMI server;
2) judge whether each controller of man-machine interface HMI server and Basic automation level produces random number, if produced, then enter step 3), otherwise repeat step 1);
3) with stored properly functioning time status data and from HMI server set-point data by random number cover.
In described step 1), arrange in each controller of Basic automation level L1 can the depositor of power-off protection, for storage control system status data time properly functioning with from the set-point data judging man-machine interface HMI server.
In described step 1), under the premise normal at each controller, man-machine interface HMI server normal, three flag registers do not produce random number, think that control system is in normal condition, then current just data be recorded at any time can power-off keep depositor in.
Described step 2) in, judge when whether man-machine interface HMI server produces random number, man-machine interface HMI server is worked out " heartbeat signal " that a Response calculation machine is working properly, as long as " heartbeat signal " breaks, the electricity went off to decide that man-machine interface HMI server, " heartbeat signal " is recovered normal rising edge and comes interim, it is determined that random number will be produced for the memory mapping network interface card on man-machine interface HMI server.
Described step 2) in, it is judged that when whether each controller of Basic automation level L1 produces random number, scan signal with the first time within each controller of Basic automation level L1 and arrive, as judging that controller power-off restarts, it will produce the mark of random number.
The program of L1 controller sets three flag registers, compares the value of twice sweep before and after these three flag register at any time, as long as it is unequal to be determined with twice sweep before and after the value of two or more depositor, be considered as creating random number.
The beneficial effect of this programme can be learnt according to the narration of such scheme, after judging that control system produces random number in this scenario, at once with status data correct in retainable depositor and set-point data retrography, namely by correct data, random number is covered.As can be seen here, the present invention compared with prior art, has prominent substantive distinguishing features and significant progressive, and the beneficial effect of its enforcement is also apparent from.
Detailed description of the invention
For the technical characterstic that this programme is described can be known, below by a detailed description of the invention, this programme is illustrated.
The removing method of the memory mapping net random number of this programme, it is characterised in that comprise the steps:
1) arrange in each controller of Basic automation level L1 can the depositor of power-off protection, for storage control system status data time properly functioning with from the set-point data judging man-machine interface HMI server.Under the premise normal when each controller, man-machine interface HMI server is normal, three flag registers do not produce random number, it is believed that control system is in normal condition, in the depositor that then be recorded at any time by current just data.
2) judge whether each controller of man-machine interface HMI server and Basic automation level produces random number, if produced, then enter step 3), otherwise repeat step 1);Described step 2) in, judge when whether man-machine interface HMI server produces random number, man-machine interface HMI server is worked out " heartbeat signal " that a Response calculation machine is working properly, as long as " heartbeat signal " breaks, the electricity went off to decide that man-machine interface HMI server, " heartbeat signal " is recovered normal rising edge and comes interim, it is determined that random number will be produced for the memory mapping network interface card on man-machine interface HMI server.Described step 2) in, it is judged that when whether each controller of Basic automation level L1 produces random number, scan signal with the first time within each controller of Basic automation level L1 and arrive, as judging that controller power-off restarts, it will produce the mark of random number.The program of L1 controller sets three flag registers, compares the value of twice sweep before and after these three flag register at any time, as long as it is unequal to be determined with twice sweep before and after the value of two or more depositor, be considered as creating random number.
3) after producing random number in control system, random number is covered by the set-point data with status data time properly functioning with from HMI server.
Communication between man-machine interface HMI server and each L1 controller have employed memory mapping net, but when this online connected device power-off restarts, understand because on memory mapping network interface card, the uncertainty of memory area data causes random number, this patent is by properly functioning status data and the set-point data from HMI server before latching device power-off at any time, then after HMI server restarts or L1 controller restarts, normal signal is recovered for trigger condition, status data correct before power-off and set-point data retrography are returned L1 controller, thus solving random number problem.
The present invention is not limited in above-mentioned detailed description of the invention, change, remodeling, interpolation or the replacement that those of ordinary skill in the art make in the essential scope of the present invention, also should belong to protection scope of the present invention.

Claims (6)

1. the removing method of a memory mapping net random number, it is characterised in that comprise the steps:
1) status data when storage control system is properly functioning and the set-point data from man-machine interface HMI server;
2) judge whether each controller of man-machine interface HMI server and Basic automation level produces random number, if produced, then enter step 3), otherwise repeat step 1);
3) with stored properly functioning time status data and from HMI server set-point data by random number cover.
2. the removing method of memory mapping net random number according to claim 1; it is characterized in that: in described step 1); each controller of Basic automation level L1 is arranged can the depositor of power-off protection, for storage control system status data time properly functioning with from the set-point data of man-machine interface HMI server.
3. the removing method of memory mapping net random number according to claim 2, it is characterized in that: in described step 1), under the premise normal at each controller, man-machine interface HMI server normal, three flag registers do not produce random number, think that control system is in normal condition, then current just data be recorded at any time can power-off keep depositor in.
4. the removing method of memory mapping net random number according to claim 1, it is characterized in that: described step 2) in, judge when whether man-machine interface HMI server produces random number, man-machine interface HMI server is worked out " heartbeat signal " that a Response calculation machine is working properly, as long as " heartbeat signal " breaks, the electricity went off to decide that man-machine interface HMI server, " heartbeat signal " is recovered normal rising edge and comes interim, it is determined that random number will be produced for the memory mapping network interface card on man-machine interface HMI server.
5. the removing method of the memory mapping net random number according to claim 1 or 4, it is characterized in that: described step 2) in, when whether each controller of judgement basis automatization level L1 produces random number, scan signal with the first time within each controller of Basic automation level L1 to arrive, as judging that controller power-off restarts, it will produce the mark of random number.
6. the removing method of memory mapping net random number according to claim 5, it is characterized in that: in the program of L1 controller, set three flag registers, compare the value of twice sweep before and after these three flag register at any time, as long as it is unequal to be determined with twice sweep before and after the value of two or more depositor, it is considered as creating random number.
CN201610138484.5A 2016-03-11 2016-03-11 Eliminating method of reflective memory real-time networking random number Pending CN105786445A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610138484.5A CN105786445A (en) 2016-03-11 2016-03-11 Eliminating method of reflective memory real-time networking random number

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610138484.5A CN105786445A (en) 2016-03-11 2016-03-11 Eliminating method of reflective memory real-time networking random number

Publications (1)

Publication Number Publication Date
CN105786445A true CN105786445A (en) 2016-07-20

Family

ID=56392514

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610138484.5A Pending CN105786445A (en) 2016-03-11 2016-03-11 Eliminating method of reflective memory real-time networking random number

Country Status (1)

Country Link
CN (1) CN105786445A (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP3534064B2 (en) * 2000-11-10 2004-06-07 いわき電子株式会社 Random number generation method
CN202309749U (en) * 2011-10-28 2012-07-04 唐山钢铁集团微尔自动化有限公司 Hot rolling line three-network integration system with favorable communication performance
CN102553937A (en) * 2011-12-07 2012-07-11 鞍钢股份有限公司 Basic automation control system for tandem cold rolling unit with five frames
CN102637008A (en) * 2012-03-26 2012-08-15 唐山钢铁集团微尔自动化有限公司 Tracking method of hot rolling basic automation control data security timeliness

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP3534064B2 (en) * 2000-11-10 2004-06-07 いわき電子株式会社 Random number generation method
CN202309749U (en) * 2011-10-28 2012-07-04 唐山钢铁集团微尔自动化有限公司 Hot rolling line three-network integration system with favorable communication performance
CN102553937A (en) * 2011-12-07 2012-07-11 鞍钢股份有限公司 Basic automation control system for tandem cold rolling unit with five frames
CN102637008A (en) * 2012-03-26 2012-08-15 唐山钢铁集团微尔自动化有限公司 Tracking method of hot rolling basic automation control data security timeliness

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
李倩: "光纤内存映像网的随机数处理", 《山东冶金》 *

Similar Documents

Publication Publication Date Title
CN105157294B (en) A kind of control method, system and the multiple on-line system of the oil return of multi-connected machine intelligence
CN104714406B (en) Input/output module redundancy switching method
CN111219942A (en) Refrigerator fault prediction method and device
CN105159285B (en) CAN controller bus failure treating method and apparatus
CN101420350A (en) Master node failure tolerant method for TTCAN bus network time
CN103680655B (en) Nuclear plant digital I&C system default value method to set up and system
CN109798703B (en) Heat pump unit and defrosting control method and device thereof
CN104676836A (en) Method for determining operation mode of multi-split air-conditioning system
WO2016155996A1 (en) Production system and method for controlling same
CN104104542B (en) A kind of real-time intelligent troubleshooting method based on RS485
CN102956399A (en) Method for eliminating adhesion of relay contact
US10281886B2 (en) Method and device for the energy-efficient control of a plant
CN105045224B (en) The method and apparatus of data transfer
CN105786445A (en) Eliminating method of reflective memory real-time networking random number
CN113467365A (en) PLC monitoring system and method based on CAN bus
CN109633335A (en) Fault recognition method and device
CN105201808A (en) Pump controller, PLC platform and sea water desalting plant
CN115037651A (en) RDMA bandwidth transmission testing method, system and storage medium
CN103812744A (en) Bidirectional double-loop alarm communication control system based on RS-422 bus structure
CN110336380B (en) Parameter pushing method for distributed intelligent power distribution terminal system
CN114446226A (en) LED display screen dynamic display remote monitoring system
CN111600382A (en) Power grid power scheduling system, method and device and storage medium
CN105357064A (en) Node fault recording method of high-end fault tolerance server
CN105281778B (en) Monitoring data self-adapting compressing method and system
CN204066311U (en) Many redundancies variable principal and subordinate's fire alarm supervisory system

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
AD01 Patent right deemed abandoned

Effective date of abandoning: 20181204

AD01 Patent right deemed abandoned